/* HLAB input surfaces v1.1.1 / 2026-11-20
 * The template's editable surface is white (#fff), separated from warm panels
 * by a visible brown border. Specific tool styles remain authoritative.
 * Do not change Chrome autofill blue, keyboard focus, validation or disabled UI.
 */
:where(.hlab-root) :where(
  input:not([type]):not([readonly]):not(:disabled),
  input[type="text"]:not([readonly]):not(:disabled),
  input[type="email"]:not([readonly]):not(:disabled),
  input[type="password"]:not([readonly]):not(:disabled),
  input[type="search"]:not([readonly]):not(:disabled),
  input[type="tel"]:not([readonly]):not(:disabled),
  input[type="url"]:not([readonly]):not(:disabled),
  input[type="number"]:not([readonly]):not(:disabled),
  input[type="date"]:not([readonly]):not(:disabled),
  input[type="time"]:not([readonly]):not(:disabled),
  input[type="datetime-local"]:not([readonly]):not(:disabled),
  input[type="month"]:not([readonly]):not(:disabled),
  input[type="week"]:not([readonly]):not(:disabled),
  textarea:not([readonly]):not(:disabled),
  select:not([readonly]):not(:disabled)
) {
  background-color: #fff;
  border: 1px solid #8a6b55;
}

/* Fallback for validation errors; a specific page error rule takes priority. */
:where(.hlab-root) :where(
  input:not([type]),
  input[type="text"], input[type="email"], input[type="password"],
  input[type="search"], input[type="tel"], input[type="url"],
  input[type="number"], input[type="date"], input[type="time"],
  input[type="datetime-local"], input[type="month"], input[type="week"],
  textarea, select
):is([aria-invalid="true"], .pmpro_error):not([readonly]):not(:disabled) {
  border-color: #a52b23;
}
