/* Existing plugin markup/behavior; these overrides never reach the chat root. */
/* The billing radio's visible label receives the same neutral keyboard focus. */
.ar-site .wpcf7 { color: var(--ar-text); }
.ar-site .wpcf7 form { margin: 0; }
.ar-site .wpcf7 form > p { margin: 0 0 24px; }
.ar-site .wpcf7 form > p:last-of-type { margin-bottom: 0; }
.ar-site .ar-contact__form .wpcf7 form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.ar-site .ar-contact__form .wpcf7 form > p { grid-column: 1 / -1; margin: 0; }
.ar-site .ar-contact__form .wpcf7 form > p:nth-of-type(-n+2) { grid-column: auto; }
.ar-site .ar-contact__form .wpcf7 form > :not(p) { grid-column: 1 / -1; }
.ar-site .wpcf7 label { display: block; color: var(--ar-text); font-size: 15px; line-height: 1.5; font-weight: 600; }
.ar-site .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 9px; }
.ar-site .wpcf7 :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
   min-height: var(--ar-control-min-height, 52px);
  padding: 14px 16px;
  border: 0;
  border-radius: var(--ar-radius);
  box-shadow: none;
  background: var(--ar-field-bg);
  color: var(--ar-field-text);
  color-scheme: var(--ar-field-scheme);
  font: 400 16px/1.5 var(--ar-font-body);
}
.ar-site .wpcf7 textarea { resize: vertical; height: 148px; --ar-control-min-height: 120px; }
.ar-site .wpcf7 input[type="submit"] { display: inline-flex; width: auto; min-height: 48px; padding: 12px 28px; border: 0; border-radius: 999px; box-shadow: none; background: var(--ar-accent); color: var(--ar-button-text); font: 600 16px/1.3 var(--ar-font-body); cursor: pointer; }
.ar-site .wpcf7 input[type="submit"]:hover { background: var(--ar-button-hover); }
.ar-site .wpcf7 :is(input, textarea, select):focus-visible { outline: 2px solid var(--ar-focus); outline-offset: 4px; }
.ar-site .wpcf7 .wpcf7-not-valid-tip { color: var(--ar-error); font-size: 13px; margin-top: 8px; }
.ar-site .wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 18px 20px; border: 0; border-radius: 14px; background: var(--ar-notice-bg); color: var(--ar-text); font-size: 14px; }
.ar-site .wpcf7 form .wpcf7-response-output:empty { display: none; }
.ar-site .wpcf7 .wpcf7-spinner { vertical-align: middle; }

/* AlphaRecall Partners stays plugin-owned, including application form behavior. */
.ar-site .ar93p {
  --ar93p-bg: var(--ar-bg);
  --ar93p-surface: var(--ar-surface-raised);
  --ar93p-ink: var(--ar-text);
  --ar93p-muted: var(--ar-muted);
  --ar93p-brand: var(--ar-accent);
  --ar93p-button-ink: var(--ar-button-text);
  --ar93p-line: var(--ar-line);
  --ar93p-control-line: var(--ar-field-line);
  --ar93p-error: var(--ar-error);
  color-scheme: inherit;
  background: none;
  color: var(--ar-text);
  font-family: var(--ar-font-body);
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  container-type: normal;
}
.ar-site .ar93p :is(h2, h3) { font-family: var(--ar-font-heading); font-weight: 700; letter-spacing: var(--ar-tracking-title); }
.ar-site .ar93p .ar93p-title { font-size: clamp(38px, 5.6vw, 80px); font-weight: 700; line-height: 1.02; letter-spacing: var(--ar-tracking-display); }
.ar-site .ar93p .ar93p-title span { color: var(--ar-accent-strong); }
.ar-site .ar93p .ar93p-eyebrow { color: var(--ar-accent-strong); font-family: var(--ar-font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ar-site .ar93p .ar93p-hero > div > .ar93p-eyebrow { display: none; }
.ar-site .ar93p .ar93p-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); padding: 0 0 72px; align-items: center; }
.ar-site .ar93p .ar93p-note { position: relative; padding: 36px; border: 0; border-radius: var(--ar-bubble); background: var(--ar-surface-accent); overflow: hidden; }
.ar-site .ar93p .ar93p-note::before { content: ""; display: block; width: 64px; height: 64px; margin: 0 0 40px; border: 2px solid var(--ar-accent); border-radius: 50%; }
.ar-site .ar93p .ar93p-note::after { content: ""; position: absolute; top: 36px; left: 77px; width: 64px; height: 64px; border: 2px solid var(--ar-accent); border-radius: 50%; }
.ar-site .ar93p .ar93p-note-title { font-family: var(--ar-font-heading); font-size: 30px; font-weight: 700; letter-spacing: var(--ar-tracking-title); }
.ar-site .ar93p .ar93p-caption { border: 0; padding-top: 12px; color: var(--ar-accent-strong); }
.ar-site .ar93p .ar93p-section { border: 0; padding-block: 64px; }
.ar-site .ar93p .ar93p-section:last-child { padding-bottom: 0; }
.ar-site .ar93p .ar93p-grid { gap: 24px; margin-top: 36px; }
.ar-site .ar93p .ar93p-card { border: 0; border-radius: var(--ar-radius-lg); background: var(--ar-surface); padding: clamp(28px, 3.4vw, 44px); box-shadow: var(--ar-shadow); }
.ar-site .ar93p .ar93p-card:nth-child(2) { background: var(--ar-surface-raised); }
.ar-site .ar93p .ar93p-card h3 { max-width: 430px; font-size: clamp(28px, 2.6vw, 36px); }
.ar-site .ar93p .ar93p-detail { border: 0; padding-top: 0; }
.ar-site .ar93p .ar93p-card ul { margin-block: 12px 24px; }
.ar-site .ar93p .ar93p-card .ar93p-button { margin-top: auto; width: 100%; }
.ar-site .ar93p .ar93p-button { border: 0; border-radius: 999px; box-shadow: none; font-family: var(--ar-font-body); font-size: 16px; font-weight: 600; background: var(--ar-accent); color: var(--ar-button-text); min-height: 52px; }
.ar-site .ar93p .ar93p-button:hover { background: var(--ar-button-hover); color: var(--ar-button-text); filter: none; }
.ar-site .ar93p .ar93p-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); }
.ar-site .ar93p .ar93p-steps { list-style: none; padding: 0; counter-reset: partner-step; }
.ar-site .ar93p .ar93p-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 20px; border: 0; padding: 24px; margin: 0 0 12px; border-radius: 20px; background: var(--ar-surface); counter-increment: partner-step; }
.ar-site .ar93p .ar93p-steps li:last-child { padding: 24px; }
.ar-site .ar93p .ar93p-steps li::before { content: counter(partner-step, decimal-leading-zero); grid-row: span 2; font-size: 14px; font-weight: 600; color: var(--ar-accent-strong); padding-top: 3px; }
.ar-site .ar93p .ar93p-steps h3 { font-size: 22px; }
.ar-site .ar93p .ar93p-steps p { font-size: 14px; }
.ar-site .ar93p .ar93p-commission-note::before, .ar-site .ar93p .ar93p-commission-note::after { display: none; }
.ar-site .ar93p .ar93p-commission-note .ar93p-commission { font-size: clamp(80px, 8vw, 112px); font-family: var(--ar-font-heading); letter-spacing: var(--ar-tracking-display); font-variant-numeric: lining-nums tabular-nums; color: var(--ar-accent-strong); }
.ar-site .ar93p .ar93p-benefits h3, .ar-site .ar93p .ar93p-kit h3 { font-size: clamp(23px, 2vw, 28px); }
.ar-site .ar93p .ar93p-referral { background: var(--ar-surface); }
.ar-site .ar93p .ar93p-final { background: var(--ar-surface-accent); }
.ar-site .ar93p .ar93p-form-card { border: 0; border-radius: var(--ar-bubble); padding: clamp(24px, 3.3vw, 44px); background: var(--ar-form-bg); box-shadow: var(--ar-shadow); }
.ar-site .ar93p .ar93p-form-card > .ar93p-small:first-child { margin-top: 0; }
.ar-site .ar93p .ar93p-field label { font-family: var(--ar-font-body); }
.ar-site .ar93p .ar93p-field :is(input, select, textarea) { border: 0; border-radius: var(--ar-radius); min-height: 52px; padding: 14px; background: var(--ar-field-bg); color: var(--ar-field-text); color-scheme: var(--ar-field-scheme); font-family: var(--ar-font-body); }
.ar-site .ar93p .ar93p-privacy input { accent-color: var(--ar-accent-strong); }
.ar-site .ar93p .ar93p-notice { border: 0; border-radius: 14px; background: var(--ar-notice-bg); color: var(--ar-text); }
.ar-site .ar93p :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--ar-focus); outline-offset: 4px; }
.ar-site[data-ar-color-scheme="light"] .ar93p a[href]:not(.ar93p-button),
.ar-site[data-ar-color-scheme="light"] .ar93p .ar93p-eyebrow { color: var(--ar-text); }

/* One field-state contract for CF7, partners, search and native comment forms.
   Exclude submit/checkbox/radio/hidden controls; no plugin IDs or behavior change. */
.ar-site :is(.wpcf7, .ar93p-field, .ar-search-form, .ar-comments) :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select) {
  caret-color: var(--ar-field-text);
  opacity: 1;
}
.ar-site :is(.wpcf7, .ar93p-field, .ar-search-form, .ar-comments) :is(input, textarea)::placeholder {
  color: var(--ar-field-placeholder);
  opacity: 1;
}
.ar-site :is(.wpcf7, .ar93p-field, .ar-search-form, .ar-comments) :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select):not(:disabled):hover {
  background: var(--ar-field-hover);
}
.ar-site :is(.wpcf7, .ar93p-field, .ar-comments) select:required:invalid { color: var(--ar-field-placeholder); }
.ar-site :is(.wpcf7, .ar93p-field, .ar-comments) select option { background: var(--ar-field-bg); color: var(--ar-field-text); }
.ar-site :is(.wpcf7, .ar93p-field, .ar-comments) select option:checked { background: var(--ar-field-hover); color: var(--ar-field-text); }
.ar-site :is(.wpcf7, .ar93p-field, .ar-search-form, .ar-comments) :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select):disabled {
  color: var(--ar-field-placeholder);
  -webkit-text-fill-color: var(--ar-field-placeholder);
}
.ar-site :is(.ar-button, .ar93p-button, .wpcf7 input[type="submit"], .ar-comments input[type="submit"]):is(:disabled, [aria-disabled="true"]) {
  background: var(--ar-disabled-bg);
  color: var(--ar-disabled-text);
  -webkit-text-fill-color: var(--ar-disabled-text);
  opacity: 1;
  filter: none;
  transform: none;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .ar-site .ar93p .ar93p-hero,
  .ar-site .ar93p .ar93p-split { grid-template-columns: 1fr; }
  .ar-site .ar93p .ar93p-note { max-width: none; }
  .ar-site .ar93p .ar93p-hero { padding-bottom: 48px; }
}
@media (max-width: 680px) {
  .ar-site .ar93p .ar93p-hero { padding-top: 0; }
  .ar-site .ar93p .ar93p-grid { grid-template-columns: 1fr; gap: 20px; }
  .ar-site .ar93p .ar93p-section { padding-block: 40px; }
  .ar-site .ar93p .ar93p-note { padding: 24px; }
  .ar-site .ar93p .ar93p-note::after { top: 24px; left: 65px; }
  .ar-site .ar93p .ar93p-fields { grid-template-columns: 1fr; }
  .ar-site .ar-contact__form .wpcf7 form { grid-template-columns: 1fr; }
  .ar-site .ar-contact__form .wpcf7 input[type="submit"] { width: 100%; }
}
