/* RoMi Forms 1.2 — isolated styling, theme inheritance */
.romi-forms{font:inherit;color:inherit;width:100%;max-width:none;box-sizing:border-box}.romi-forms *{box-sizing:border-box}.romi-forms .rf-form{width:100%;margin:0}.romi-forms .rf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.romi-forms .rf-field{grid-column:span 2;min-width:0}.romi-forms .rf-field.rf-half{grid-column:span 1}.romi-forms .rf-field label{display:block;margin:0 0 8px;font:inherit;font-weight:600;font-size:.96em}.romi-forms .rf-field input:not([type=checkbox]),.romi-forms .rf-field select,.romi-forms .rf-field textarea{display:block;width:100%;max-width:100%;min-width:0;margin:0;padding:13px 15px;font:inherit;line-height:1.5;min-height:49px;border:1px solid var(--rf-border,#cbd5e1);border-radius:var(--rf-theme-radius,8px);background:var(--rf-input-bg,#fff);color:inherit;box-shadow:none;transition:border-color .2s,box-shadow .2s}.romi-forms .rf-field textarea{resize:vertical;min-height:130px}.romi-forms .rf-field input:focus-visible,.romi-forms .rf-field textarea:focus-visible,.romi-forms .rf-field select:focus-visible{outline:2px solid var(--rf-theme-accent,currentColor);outline-offset:2px}.romi-forms .rf-check label{display:flex;align-items:flex-start;gap:10px;font-weight:400}.romi-forms .rf-check input{margin-top:4px;accent-color:var(--rf-theme-accent,currentColor);width:18px;height:18px;flex:none}.romi-forms .rf-submit{display:inline-flex;align-items:center;justify-content:center;gap:20px;margin-top:20px;min-height:48px;padding:13px 24px;font:inherit;font-weight:700;cursor:pointer;border-radius:var(--rf-theme-radius,8px);border:1px solid currentColor;background:var(--rf-theme-accent,#21262b);color:var(--rf-theme-button-text,#fff);width:auto}.romi-forms .rf-submit:hover{opacity:.88}.romi-forms .rf-disclaimer{font-size:.84em;opacity:.85;margin:12px 0}.romi-forms .rf-success{border-left:3px solid currentColor;padding:14px 18px;margin-bottom:20px;background:rgba(127,127,127,.08)}.romi-forms .rf-hp{position:absolute!important;left:-99999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.romi-forms.rf-appearance-custom .rf-field input:not([type=checkbox]),.romi-forms.rf-appearance-custom .rf-field select,.romi-forms.rf-appearance-custom .rf-field textarea,.romi-forms.rf-appearance-custom .rf-submit{border-radius:var(--rf-radius)}.romi-forms.rf-appearance-custom .rf-submit{background:var(--rf-accent);color:#fff;border-color:var(--rf-accent)}.romi-forms.rf-appearance-custom .rf-check input{accent-color:var(--rf-accent)}@media(max-width:640px){.romi-forms .rf-grid{grid-template-columns:1fr;gap:16px}.romi-forms .rf-field.rf-half{grid-column:span 2}.romi-forms .rf-submit{width:100%}}

/* Version 1.2.1: better integration with active WordPress theme. Scoped entirely to forms. */
.romi-forms{--rf-theme-accent:var(--wp--preset--color--accent,var(--wp--preset--color--primary,var(--theme-accent,#179b8c)));--rf-theme-radius:var(--theme-radius,10px);font-family:inherit!important}
.romi-forms .rf-field input:not([type=checkbox]),.romi-forms .rf-field select,.romi-forms .rf-field textarea{font-family:inherit!important;font-size:1rem;border-color:var(--wp--preset--color--contrast-3,#cfd6da);background:var(--wp--preset--color--base,#fff);color:var(--wp--preset--color--contrast,inherit)}
.romi-forms.rf-appearance-inherit .rf-submit{background:var(--rf-theme-accent);border-color:var(--rf-theme-accent);color:var(--wp--preset--color--base,#fff)}
.romi-forms .rf-hp,.romi-forms .rf-hp *{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;pointer-events:none!important}

/* v1.2.4 Universal field contrast safety: works with any theme, preserves explicit custom appearance. */
.romi-forms:not(.rf-appearance-custom) .rf-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
  background:var(--rf-input-bg,var(--wp--preset--color--base,#ffffff));
  color:var(--rf-input-text,var(--wp--preset--color--contrast,#18231f));
  -webkit-text-fill-color:var(--rf-input-text,var(--wp--preset--color--contrast,#18231f));
}
.romi-forms:not(.rf-appearance-custom) .rf-field :is(input,select,textarea)::placeholder{
  color:var(--rf-placeholder,#5c6771);opacity:1;
}
.romi-forms .rf-field :is(input,select,textarea):focus-visible{outline-offset:2px}

/* 1.2.12: Let the active theme style the submit button in inherit mode.
   Prefer the theme's actual button colours supplied by the small frontend adapter.
   Custom appearance remains unchanged. */
.romi-forms.rf-appearance-inherit .rf-submit {
  background-color:var(--rf-detected-button-bg,var(--rf-theme-accent,var(--wp--preset--color--primary,#2563eb)));
  color:var(--rf-detected-button-text,var(--rf-theme-button-text,#fff));
  border-color:var(--rf-detected-button-border,var(--rf-detected-button-bg,var(--rf-theme-accent,#2563eb)));
  border-radius:var(--rf-detected-button-radius,var(--rf-theme-radius,8px));
  font-family:inherit;
}
.romi-forms.rf-appearance-inherit .rf-submit:hover,
.romi-forms.rf-appearance-inherit .rf-submit:focus-visible {
  background-color:var(--rf-detected-button-hover-bg,var(--rf-detected-button-bg,var(--rf-theme-accent,#2563eb)));
  color:var(--rf-detected-button-hover-text,var(--rf-detected-button-text,#fff));
  opacity:1;
}
.romi-forms .rf-disclaimer a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* 1.2.13: Universal theme-aware consent, controls and accessible colour matching. */
.romi-forms.rf-appearance-inherit {
  --rf-universal-accent:var(--rf-detected-button-bg,var(--rf-theme-accent,var(--wp--preset--color--primary,currentColor)));
  --rf-universal-text:var(--rf-detected-readable-text,var(--wp--preset--color--contrast,#1b2227));
}
.romi-forms.rf-appearance-inherit .rf-check input[type="checkbox"] {
  appearance:auto;-webkit-appearance:checkbox;
  accent-color:var(--rf-universal-accent) !important;
  inline-size:18px;block-size:18px;min-inline-size:18px;flex:none;
}
.romi-forms.rf-appearance-inherit .rf-check label,
.romi-forms.rf-appearance-inherit .rf-check label span {
  color:var(--rf-universal-text) !important;
  -webkit-text-fill-color:var(--rf-universal-text) !important;
  opacity:1;
}
.romi-forms.rf-appearance-inherit .rf-disclaimer {
  color:var(--rf-universal-text) !important;
  -webkit-text-fill-color:var(--rf-universal-text) !important;
  opacity:1;
}
.romi-forms.rf-appearance-inherit .rf-disclaimer a,
.romi-forms.rf-appearance-inherit .rf-check a {
  color:var(--rf-detected-link-color,var(--rf-universal-text)) !important;
  -webkit-text-fill-color:currentColor;
  text-decoration:underline;
  text-underline-offset:2px;
}
.romi-forms.rf-appearance-inherit .rf-field :is(input,select,textarea):focus-visible {
  outline:2px solid var(--rf-universal-accent) !important;
  outline-offset:2px;
}
.romi-forms.rf-appearance-inherit .rf-field select:focus,
.romi-forms.rf-appearance-inherit .rf-field :is(input:not([type="checkbox"]),textarea):focus {
  border-color:var(--rf-universal-accent) !important;
}
.romi-forms.rf-appearance-inherit .rf-submit:focus-visible {
  outline:2px solid var(--rf-universal-accent);
  outline-offset:3px;
}
/* Explicit custom form appearance remains selectable and independent of theme changes. */
.romi-forms.rf-appearance-custom .rf-check label,
.romi-forms.rf-appearance-custom .rf-check label span,
.romi-forms.rf-appearance-custom .rf-disclaimer { opacity:1; }

/* Compact contextual enquiry panel */
.romi-forms.rf-compact{max-width:none;width:100%}
.romi-forms.rf-compact .rf-context-title{font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.25;margin:0 0 1rem}
.romi-forms.rf-compact .rf-grid{gap:12px}
.romi-forms.rf-compact .rf-field textarea{min-height:75px;max-height:180px}
.romi-forms .rf-captcha{margin:14px 0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.romi-forms .rf-captcha input[type=number]{max-width:130px;box-sizing:border-box}
.romi-forms .rf-whatsapp{display:inline-flex;padding:.55rem 1rem;border:1px solid currentColor;border-radius:var(--rf-radius,8px);text-decoration:none}
@media(max-width:600px){.romi-forms.rf-compact .rf-field{grid-column:1/-1}}

/* v1.2.20: Force the visible CAPTCHA-answer control to remain accessible even
   when Salient and other themes apply global input/number-field styling.
   The anti-spam honeypot remains hidden independently under .rf-hp. */
.romi-forms .rf-form > .rf-captcha{
  display:flex !important;visibility:visible !important;opacity:1 !important;
  position:relative !important;width:100% !important;max-width:100% !important;
  height:auto !important;min-height:0 !important;overflow:visible !important;
  flex-direction:column;align-items:flex-start;gap:8px;margin:18px 0;
}
.romi-forms .rf-form > .rf-captcha > label{
  display:block !important;visibility:visible !important;opacity:1 !important;
  font-family:inherit !important;font-weight:600 !important;
  line-height:1.45 !important;color:var(--rf-universal-text,#20252b) !important;
  -webkit-text-fill-color:var(--rf-universal-text,#20252b) !important;
  margin:0 0 4px !important;
}
.romi-forms .rf-form > .rf-captcha > input[name="rf_challenge_answer"]{
  box-sizing:border-box !important;display:block !important;visibility:visible !important;
  opacity:1 !important;position:relative !important;float:none !important;
  width:100% !important;min-width:130px !important;max-width:180px !important;
  height:auto !important;min-height:48px !important;padding:12px 14px !important;
  margin:0 !important;overflow:visible !important;background:#fff !important;
  color:#1d252a !important;-webkit-text-fill-color:#1d252a !important;
  border:1px solid #9aa5ae !important;border-radius:8px !important;
  font:inherit !important;font-size:16px !important;line-height:1.4 !important;
  appearance:none !important;-webkit-appearance:none !important;
}
.romi-forms .rf-form > .rf-captcha > input[name="rf_challenge_answer"]:focus-visible{
  outline:2px solid var(--rf-universal-accent,#f5b400) !important;outline-offset:2px;
}

/* v1.2.21: text always contrasts with the actual form-section background.
   Text follows background brightness; fields remain an opaque light control. */
.romi-forms.rf-appearance-inherit {
  --rf-universal-text:var(--rf-adaptive-text,#20252b);
  --rf-detected-link-color:var(--rf-adaptive-text,#20252b);
  color:var(--rf-adaptive-text,#20252b) !important;
  -webkit-text-fill-color:var(--rf-adaptive-text,#20252b) !important;
}
.romi-forms.rf-appearance-inherit :is(.rf-field>label,.rf-check label,.rf-check label span,.rf-captcha>label,.rf-context-title,.rf-disclaimer,.rf-disclaimer a,.rf-check a){
  color:var(--rf-adaptive-text,#20252b) !important;
  -webkit-text-fill-color:var(--rf-adaptive-text,#20252b) !important;
  text-shadow:none !important;opacity:1 !important;
  background:transparent !important; background-image:none !important;
}
.romi-forms.rf-appearance-inherit .rf-form>.rf-captcha>label{
  color:var(--rf-adaptive-text,#20252b) !important;
  -webkit-text-fill-color:var(--rf-adaptive-text,#20252b) !important;
  background:transparent !important;display:block !important;
  position:static !important;clip:auto !important;white-space:normal !important;
  font-size:16px !important;line-height:1.5 !important;font-weight:600 !important;
  height:auto !important;max-height:none !important;width:auto !important;
}
/* Protect input readability regardless of the surrounding section background. */
.romi-forms.rf-appearance-inherit :is(.rf-field input:not([type=checkbox]),.rf-field select,.rf-field textarea,.rf-captcha input[name=rf_challenge_answer]){
 background:#ffffff !important;color:#20252b !important;-webkit-text-fill-color:#20252b !important;
}
.romi-forms.rf-appearance-inherit .rf-disclaimer a,.romi-forms.rf-appearance-inherit .rf-check a{text-decoration:underline !important;}

/* v1.2.22: Salient-safe visible labels. All copy follows detected section contrast.
   Reset theme label letter-spacing, text clipping and transparency without
   touching the honeypot or any submission/verification logic. */
.romi-forms.rf-appearance-inherit .rf-form .rf-grid > .rf-field > label,
.romi-forms.rf-appearance-inherit .rf-form .rf-grid > .rf-field.rf-check > label,
.romi-forms.rf-appearance-inherit .rf-form .rf-grid > .rf-field.rf-check > label > span,
.romi-forms.rf-appearance-inherit .rf-form > .rf-captcha > label {
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  color:var(--rf-adaptive-text,#20252b) !important;
  -webkit-text-fill-color:var(--rf-adaptive-text,#20252b) !important;
  -webkit-background-clip:border-box !important;
  background-clip:border-box !important;
  background-image:none !important;
  text-shadow:none !important;
  letter-spacing:normal !important;
  word-spacing:normal !important;
  text-transform:none !important;
  text-indent:0 !important;
  font-family:inherit !important;
  font-size:15px !important;
  line-height:1.45 !important;
  font-style:normal !important;
  font-variant:normal !important;
  white-space:normal !important;
  overflow:visible !important;
  clip-path:none !important;
  -webkit-mask-image:none !important;
  mask-image:none !important;
  filter:none !important;
  mix-blend-mode:normal !important;
}
.romi-forms.rf-appearance-inherit .rf-form .rf-grid > .rf-field > label,
.romi-forms.rf-appearance-inherit .rf-form > .rf-captcha > label {font-weight:600 !important;margin-bottom:8px !important;}
.romi-forms.rf-appearance-inherit .rf-form .rf-grid > .rf-field.rf-check > label {
  display:flex !important;align-items:flex-start !important;gap:10px !important;
  font-weight:400 !important;
}
.romi-forms.rf-appearance-inherit .rf-form .rf-grid > .rf-field.rf-check > label > span {font-weight:400 !important;}
.romi-forms.rf-appearance-inherit .rf-form .rf-grid > .rf-field.rf-check input[type=checkbox]{
  display:inline-block !important;opacity:1 !important;visibility:visible !important;
  width:18px !important;height:18px !important;flex:none !important;
}
.romi-forms.rf-appearance-inherit .rf-form > .rf-captcha > label{letter-spacing:0 !important;}

/* v1.2.23: genuinely compact CTA variant. Only [romi_form ... compact="yes"]
   changes; the main contact form keeps its original spacious layout. */
.romi-forms.rf-compact { margin:0 !important; padding:0 !important; max-width:100% !important; }
.romi-forms.rf-compact .rf-form { margin:0 !important; padding:0 !important; }
.romi-forms.rf-compact .rf-grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px 14px !important; }
.romi-forms.rf-compact .rf-grid>.rf-field { grid-column:span 2; margin:0 !important; }
.romi-forms.rf-compact .rf-grid>.rf-field.rf-half { grid-column:span 1 !important; }
.romi-forms.rf-compact .rf-grid>.rf-field>label { margin:0 0 4px !important; font-size:14px !important; line-height:1.3 !important; }
.romi-forms.rf-compact .rf-grid>.rf-field input:not([type=checkbox]),
.romi-forms.rf-compact .rf-grid>.rf-field select { min-height:40px !important; height:40px !important; padding:8px 11px !important; font-size:14px !important; }
.romi-forms.rf-compact .rf-grid>.rf-field textarea { min-height:70px !important; max-height:120px !important; padding:9px 11px !important; font-size:14px !important; }
.romi-forms.rf-compact .rf-grid>.rf-field.rf-check>label { font-size:13px !important; margin:3px 0 !important; }
.romi-forms.rf-compact .rf-context-title { display:none !important; }
.romi-forms.rf-compact .rf-form>.rf-captcha { margin:9px 0 2px !important; gap:3px !important; }
.romi-forms.rf-compact .rf-form>.rf-captcha>label { font-size:14px !important; line-height:1.35 !important; margin:0 !important; letter-spacing:normal !important; }
.romi-forms.rf-compact .rf-form>.rf-captcha input[name=rf_challenge_answer] { width:125px !important; max-width:125px !important; height:40px !important; min-height:40px !important; padding:8px 10px !important; }
.romi-forms.rf-compact .rf-submit { min-height:41px !important; margin:8px 0 0 !important; padding:8px 18px !important; font-size:14px !important; }
.romi-forms.rf-compact .rf-disclaimer { font-size:12px !important; line-height:1.4 !important; margin:7px 0 0 !important; }
@media(max-width:640px){
 .romi-forms.rf-compact .rf-grid { grid-template-columns:1fr !important; gap:10px !important; }
 .romi-forms.rf-compact .rf-grid>.rf-field.rf-half { grid-column:1/-1 !important; }
 .romi-forms.rf-compact .rf-submit { width:100% !important; }
}

/* v1.2.24: true fourth-column footer variant. Other forms unchanged. */
.romi-forms.rf-footer{width:100%!important;max-width:100%!important;color:#f7f7f7!important;--rf-universal-text:#f7f7f7;--rf-detected-readable-text:#f7f7f7}
.romi-forms.rf-footer .rf-grid{grid-template-columns:1fr!important;gap:9px!important}
.romi-forms.rf-footer .rf-grid>.rf-field,.romi-forms.rf-footer .rf-grid>.rf-field.rf-half{grid-column:1/-1!important}
.romi-forms.rf-footer .rf-grid>.rf-field>label,.romi-forms.rf-footer .rf-grid>.rf-field.rf-check label,.romi-forms.rf-footer .rf-grid>.rf-field.rf-check label span{font-size:12px!important;line-height:1.35!important;color:#f7f7f7!important;-webkit-text-fill-color:#f7f7f7!important;letter-spacing:normal!important;opacity:1!important;display:block!important;margin:0 0 3px!important;text-transform:none!important}
.romi-forms.rf-footer .rf-grid>.rf-field.rf-check label{display:flex!important;align-items:flex-start!important;gap:8px!important}
.romi-forms.rf-footer .rf-grid>.rf-field.rf-check input[type=checkbox]{margin:2px 0 0!important;flex:0 0 15px!important;width:15px!important;height:15px!important;min-width:15px!important}
.romi-forms.rf-footer .rf-grid>.rf-field input:not([type=checkbox]){width:100%!important;height:36px!important;min-height:36px!important;padding:6px 9px!important;border:1px solid #c9d2d8!important;background:#fff!important;color:#15191d!important;-webkit-text-fill-color:#15191d!important;border-radius:7px!important;font-size:13px!important;box-sizing:border-box!important}
.romi-forms.rf-footer .rf-grid>.rf-field input::placeholder{color:#5a6570!important}
.romi-forms.rf-footer .rf-form>.rf-captcha{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin:8px 0!important}
.romi-forms.rf-footer .rf-form>.rf-captcha>label{font-size:12px!important;line-height:1.25!important;letter-spacing:0!important;word-spacing:normal!important;white-space:normal!important;text-transform:none!important;color:#f7f7f7!important;-webkit-text-fill-color:#f7f7f7!important;margin:0!important;font-weight:600!important;max-width:100%!important}
.romi-forms.rf-footer .rf-form>.rf-captcha>input[name=rf_challenge_answer]{width:68px!important;max-width:68px!important;height:34px!important;min-height:34px!important;padding:5px 8px!important;background:#fff!important;color:#15191d!important;-webkit-text-fill-color:#15191d!important;font-size:13px!important;border-radius:7px!important}
.romi-forms.rf-footer .rf-submit{min-height:36px!important;width:100%!important;padding:7px 12px!important;margin:7px 0 0!important;font-size:13px!important;letter-spacing:0!important;gap:8px!important;border-radius:7px!important}
.romi-forms.rf-footer .rf-disclaimer,.romi-forms.rf-footer .rf-context-title{display:none!important}
.romi-forms.rf-footer .rf-success,.romi-forms.rf-footer .rf-whatsapp{color:#f7f7f7!important}


/* 1.2.25 | Premium universal full-page forms.
   Presentation only: no new fields, submission routes or verification changes.
   Explicitly excludes compact and footer forms. */
.romi-forms:not(.rf-compact):not(.rf-footer){
  --rf-premium-ink:#172027;
  --rf-premium-muted:#55616a;
  --rf-premium-edge:#dfe5e9;
  --rf-premium-surface:#fff;
  position:relative!important;
  width:100%!important;
  max-width:980px!important;
  margin:0 auto!important;
  padding:clamp(22px,3.5vw,46px)!important;
  border:1px solid #e2e6e9!important;
  border-top:4px solid var(--rf-universal-accent,var(--rf-accent,#f4b400))!important;
  border-radius:18px!important;
  background:var(--rf-premium-surface)!important;
  box-shadow:0 16px 48px rgba(19,33,44,.095)!important;
  color:var(--rf-premium-ink)!important;
  -webkit-text-fill-color:var(--rf-premium-ink)!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-form{margin:0!important;padding:0!important}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:19px 20px!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field{
  min-width:0!important;margin:0!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field>label,
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-form>.rf-captcha>label,
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field.rf-check label,
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field.rf-check label span,
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-disclaimer,
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-disclaimer a{
  color:var(--rf-premium-ink)!important;
  -webkit-text-fill-color:var(--rf-premium-ink)!important;
  letter-spacing:normal!important;text-transform:none!important;
  text-shadow:none!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field>label{
  font-size:13px!important;font-weight:650!important;line-height:1.4!important;
  margin:0 0 7px!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field :is(input:not([type=checkbox]),select,textarea){
  background:#f8fafb!important;
  color:#172027!important;-webkit-text-fill-color:#172027!important;
  border:1px solid #d6dfe4!important;
  border-radius:10px!important;
  padding:12px 15px!important;
  min-height:50px!important;height:auto!important;
  font-size:15px!important;line-height:1.45!important;
  box-shadow:none!important;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field textarea{
  min-height:126px!important;resize:vertical!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field :is(input:not([type=checkbox]),select,textarea):focus{
  background:#fff!important;border-color:var(--rf-universal-accent,var(--rf-accent,#e2aa00))!important;
  box-shadow:0 0 0 3px rgba(225,172,0,.15)!important;
  outline:0!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field :is(input,textarea)::placeholder{
  color:#64717b!important;-webkit-text-fill-color:#64717b!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field.rf-check{
  margin-top:1px!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field.rf-check label{
  display:flex!important;align-items:flex-start!important;gap:10px!important;
  font-size:13px!important;line-height:1.55!important;font-weight:400!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field.rf-check label span{
  font-size:13px!important;line-height:1.55!important;font-weight:400!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-form>.rf-captcha{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  flex-wrap:wrap!important;gap:10px 14px!important;
  margin:20px 0 8px!important;padding:14px 16px!important;
  border:1px solid #e4e9ed!important;border-radius:12px!important;
  background:#f8fafb!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-form>.rf-captcha>label{
  display:block!important;position:static!important;width:auto!important;
  margin:0!important;font-size:13px!important;line-height:1.4!important;
  font-weight:600!important;word-spacing:normal!important;white-space:normal!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-form>.rf-captcha>input[name=rf_challenge_answer]{
  width:90px!important;max-width:90px!important;min-height:40px!important;height:40px!important;
  padding:8px 11px!important;background:#fff!important;color:#172027!important;
  -webkit-text-fill-color:#172027!important;border:1px solid #cbd5da!important;
  border-radius:8px!important;font-size:15px!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-submit{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:52px!important;min-width:190px!important;
  padding:13px 27px!important;margin:14px 0 0!important;
  border-radius:10px!important;font-size:15px!important;font-weight:700!important;
  line-height:1.3!important;letter-spacing:.01em!important;
  box-shadow:0 8px 18px rgba(20,28,33,.12)!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-submit:hover{
  transform:translateY(-1px)!important;box-shadow:0 11px 22px rgba(20,28,33,.17)!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-disclaimer{
  font-size:12px!important;line-height:1.55!important;opacity:.8!important;margin:14px 0 0!important;
}
.romi-forms:not(.rf-compact):not(.rf-footer) .rf-success{
  color:#172027!important;-webkit-text-fill-color:#172027!important;
  background:#f8fafb!important;border-color:var(--rf-universal-accent,var(--rf-accent,#f4b400))!important;
}
@media(max-width:700px){
  .romi-forms:not(.rf-compact):not(.rf-footer){
    padding:24px 18px!important;border-radius:14px!important;
  }
  .romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid{
    grid-template-columns:1fr!important;gap:15px!important;
  }
  .romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field,
  .romi-forms:not(.rf-compact):not(.rf-footer) .rf-grid>.rf-field.rf-half{grid-column:1/-1!important}
  .romi-forms:not(.rf-compact):not(.rf-footer) .rf-submit{width:100%!important}
}

/* 1.2.26 | Deterministic brand colour. Inherit typography/layout from the site,
   but never sample arbitrary theme buttons for the configured form accent.
   Applies to full and footer variants; keep accessible contrast in inline PHP variable. */
.romi-forms{
  --rf-universal-accent:var(--rf-accent,#2563eb)!important;
  --rf-theme-accent:var(--rf-accent,#2563eb);
}
.romi-forms .rf-submit,
.romi-forms.rf-appearance-inherit .rf-submit,
.romi-forms.rf-appearance-custom .rf-submit{
  background-color:var(--rf-accent,#2563eb)!important;
  border-color:var(--rf-accent,#2563eb)!important;
  color:var(--rf-brand-button-text,#fff)!important;
  -webkit-text-fill-color:var(--rf-brand-button-text,#fff)!important;
}
.romi-forms .rf-submit:hover,
.romi-forms .rf-submit:focus-visible{
  background-color:var(--rf-accent,#2563eb)!important;
  border-color:var(--rf-accent,#2563eb)!important;
  color:var(--rf-brand-button-text,#fff)!important;
  -webkit-text-fill-color:var(--rf-brand-button-text,#fff)!important;
}
.romi-forms .rf-check input[type=checkbox]{accent-color:var(--rf-accent,#2563eb)!important}

/* 1.2.27 Universal theme defaults. Custom appearance and existing theme/layout overrides remain independent. */
.romi-forms.rf-appearance-inherit {
 --rf-universal-accent:var(--rf-detected-button-bg,var(--wp--preset--color--primary,var(--wp--preset--color--accent,var(--theme-accent,var(--rf-accent,#2563eb)))))!important;
 --rf-theme-accent:var(--rf-universal-accent);
 font-family:var(--rf-theme-body-font,inherit)!important;
}
.romi-forms.rf-appearance-inherit .rf-submit,
.romi-forms.rf-appearance-inherit .rf-submit:hover,
.romi-forms.rf-appearance-inherit .rf-submit:focus-visible {
 background:var(--rf-detected-button-bg,var(--rf-universal-accent))!important;
 border-color:var(--rf-detected-button-border,var(--rf-universal-accent))!important;
 border-radius:var(--rf-detected-button-radius,var(--rf-theme-radius,8px))!important;
 color:var(--rf-detected-button-text,var(--rf-brand-button-text,#fff))!important;
 -webkit-text-fill-color:var(--rf-detected-button-text,var(--rf-brand-button-text,#fff))!important;
 font-family:inherit!important;
}
.romi-forms.rf-appearance-inherit .rf-grid>.rf-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
.romi-forms.rf-appearance-inherit .rf-captcha input[name=rf_challenge_answer]{
 font-family:inherit!important;
 font-size:var(--rf-theme-label-size,1rem)!important;
 background:var(--rf-detected-input-bg,var(--wp--preset--color--base,#fff))!important;
 color:var(--rf-detected-input-text,var(--wp--preset--color--contrast,#20252b))!important;
 -webkit-text-fill-color:var(--rf-detected-input-text,var(--wp--preset--color--contrast,#20252b))!important;
 border-color:var(--rf-detected-input-border,#cbd5da)!important;
 border-radius:var(--rf-detected-input-radius,var(--rf-theme-radius,8px))!important;
}
.romi-forms.rf-appearance-inherit .rf-form .rf-grid>.rf-field>label,
.romi-forms.rf-appearance-inherit .rf-form>.rf-captcha>label {
 font-size:var(--rf-theme-label-size,1rem)!important;
 font-family:inherit!important;
}
.romi-forms.rf-appearance-inherit .rf-check input[type=checkbox],
.romi-forms.rf-appearance-inherit .rf-radio-option input[type=radio] {accent-color:var(--rf-universal-accent)!important;}
.romi-forms .rf-radio-options{display:flex;flex-wrap:wrap;gap:10px 20px;margin:8px 0 5px}
.romi-forms .rf-radio-option{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;font-size:inherit!important;font-weight:400!important;}
.romi-forms .rf-radio-option input[type=radio]{width:18px;height:18px;min-height:0;flex:none;}
.romi-forms .rf-intro{font:inherit;margin:0 0 16px;line-height:1.55;}
.romi-forms .rf-submission-status{margin:12px 0 0;line-height:1.4;color:inherit;font-weight:600;}
.romi-forms .rf-submit:disabled{opacity:.7;cursor:wait;}
@media(max-width:640px){.romi-forms .rf-radio-options{flex-direction:column;gap:12px;}}


/* 1.2.28 - single effective theme-contrast layer; covers full page + footer + compact.
   Derived per instance from its rendered background, not from a hard-coded Kintech palette.
   Custom appearance remains owned by the site administrator. */
.romi-forms.rf-appearance-inherit{
  font-family:var(--rf-ui-font,inherit)!important;
  color:var(--rf-ui-ink,var(--rf-detected-readable-text,inherit))!important;
  -webkit-text-fill-color:var(--rf-ui-ink,var(--rf-detected-readable-text,inherit))!important;
}
.romi-forms.rf-appearance-inherit .rf-form .rf-grid>.rf-field>label,
.romi-forms.rf-appearance-inherit .rf-form .rf-grid>.rf-field.rf-check>label,
.romi-forms.rf-appearance-inherit .rf-form .rf-grid>.rf-field.rf-check label>span,
.romi-forms.rf-appearance-inherit .rf-form>.rf-captcha>label,
.romi-forms.rf-appearance-inherit .rf-radio-option,
.romi-forms.rf-appearance-inherit .rf-disclaimer,
.romi-forms.rf-appearance-inherit .rf-disclaimer a,
.romi-forms.rf-appearance-inherit .rf-intro,
.romi-forms.rf-appearance-inherit .rf-context-title,
.romi-forms.rf-appearance-inherit .rf-submission-status{
  font-family:var(--rf-ui-font,inherit)!important;
  color:var(--rf-ui-ink,inherit)!important;
  -webkit-text-fill-color:var(--rf-ui-ink,inherit)!important;
  opacity:1!important;
  text-shadow:none!important;
}
.romi-forms.rf-appearance-inherit .rf-form .rf-grid>.rf-field :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select),
.romi-forms.rf-appearance-inherit .rf-form>.rf-captcha>input[name="rf_challenge_answer"]{
  font-family:var(--rf-ui-font,inherit)!important;
  color:var(--rf-ui-field-ink,#172027)!important;
  -webkit-text-fill-color:var(--rf-ui-field-ink,#172027)!important;
  background:var(--rf-ui-field-bg,#fff)!important;
  border-color:var(--rf-ui-border,#cbd5da)!important;
  border-radius:var(--rf-ui-radius,var(--rf-radius,8px))!important;
  opacity:1!important;
}
.romi-forms.rf-appearance-inherit .rf-form .rf-grid>.rf-field :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select)::placeholder,
.romi-forms.rf-appearance-inherit .rf-form>.rf-captcha>input[name="rf_challenge_answer"]::placeholder{
  color:var(--rf-ui-muted,#5c6771)!important;
  -webkit-text-fill-color:var(--rf-ui-muted,#5c6771)!important;
  opacity:1!important;
}
.romi-forms.rf-appearance-inherit .rf-submit,
.romi-forms.rf-appearance-inherit .rf-submit:hover,
.romi-forms.rf-appearance-inherit .rf-submit:focus-visible{
  font-family:var(--rf-ui-font,inherit)!important;
  color:var(--rf-ui-button-ink,#fff)!important;
  -webkit-text-fill-color:var(--rf-ui-button-ink,#fff)!important;
  background:var(--rf-ui-accent,var(--rf-accent,#2563eb))!important;
  border-color:var(--rf-ui-accent,var(--rf-accent,#2563eb))!important;
}
.romi-forms.rf-appearance-inherit .rf-check input[type=checkbox],
.romi-forms.rf-appearance-inherit .rf-radio-option input[type=radio]{accent-color:var(--rf-ui-accent,var(--rf-accent,#2563eb))!important;}
.romi-forms.rf-appearance-inherit .rf-success{
  color:var(--rf-ui-ink,inherit)!important;
  -webkit-text-fill-color:var(--rf-ui-ink,inherit)!important;
  border-left-color:var(--rf-ui-accent,var(--rf-accent,#2563eb))!important;
  font-family:var(--rf-ui-font,inherit)!important;
}
.romi-forms.rf-complete .rf-success{margin:0 0 12px!important;line-height:1.55}
.romi-forms.rf-complete .rf-after-success{margin:10px 0 0;font-size:.9em;line-height:1.5}
.romi-forms.rf-appearance-inherit .rf-reset{color:var(--rf-ui-ink,inherit)!important;-webkit-text-fill-color:var(--rf-ui-ink,inherit)!important;text-decoration:underline;text-underline-offset:3px}
.romi-forms.rf-appearance-inherit .rf-reset:focus-visible{outline:2px solid var(--rf-ui-accent,var(--rf-accent,#2563eb));outline-offset:4px}


/* v1.2.29: accessible white field surface across full, compact and footer forms.
   Uses a per-installation setting, not site/brand hardcoding. The surrounding
   typography, labels, button branding and site CSS remain theme-aware. */
.romi-forms.rf-fields-white{
 --rf-ui-field-bg:#ffffff!important;
 --rf-ui-field-ink:#141414!important;
 --rf-ui-muted:#59616a!important;
 color-scheme:normal;
}
.romi-forms.rf-fields-white .rf-form .rf-grid > .rf-field :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
.romi-forms.rf-fields-white .rf-form > .rf-captcha > input[name="rf_challenge_answer"]{
 background:#fff!important;
 background-color:#fff!important;
 color:#141414!important;
 -webkit-text-fill-color:#141414!important;
 caret-color:#141414!important;
 opacity:1!important;
 color-scheme:light!important;
 border-color:#c4cad0!important;
}
.romi-forms.rf-fields-white .rf-form .rf-grid > .rf-field :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea)::placeholder,
.romi-forms.rf-fields-white .rf-form > .rf-captcha > input[name="rf_challenge_answer"]::placeholder{
 color:#59616a!important;
 -webkit-text-fill-color:#59616a!important;
 opacity:1!important;
}
.romi-forms.rf-fields-white .rf-form .rf-grid > .rf-field :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus,
.romi-forms.rf-fields-white .rf-form > .rf-captcha > input[name="rf_challenge_answer"]:focus{
 background:#fff!important;
 color:#141414!important;
 -webkit-text-fill-color:#141414!important;
}
/* Chrome's saved/autofilled inputs otherwise repaint the white surface blue. */
.romi-forms.rf-fields-white .rf-form .rf-grid > .rf-field input:-webkit-autofill,
.romi-forms.rf-fields-white .rf-form .rf-grid > .rf-field input:-webkit-autofill:hover,
.romi-forms.rf-fields-white .rf-form .rf-grid > .rf-field input:-webkit-autofill:focus,
.romi-forms.rf-fields-white .rf-form > .rf-captcha > input:-webkit-autofill{
 -webkit-box-shadow:0 0 0 1000px #fff inset!important;
 box-shadow:0 0 0 1000px #fff inset!important;
 -webkit-text-fill-color:#141414!important;
 caret-color:#141414!important;
}
