/* Editorial and classic WordPress front-end forms share the same control. */
:is(#shipping-digest, #page) input[type="checkbox"] {
  appearance: none;
  box-sizing: border-box;
  width: clamp(18px, calc(18 * var(--sd-unit, 1px)), 24px);
  height: clamp(18px, calc(18 * var(--sd-unit, 1px)), 24px);
  flex: none;
  margin: 0;
  padding: 0;
  border: 1px solid #738aa4;
  border-radius: 0;
  background: #fff center / 100% 100% no-repeat;
  vertical-align: middle;
  cursor: pointer;
}
:is(#shipping-digest, #page) input[type="checkbox"]:hover:not(:disabled) {
  border-color: #0078bf;
}
:is(#shipping-digest, #page) input[type="checkbox"]:is(:checked, :indeterminate) {
  border-color: #04295e;
  background-color: #04295e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3.2 3.2L14 5.8' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}
:is(#shipping-digest, #page) input[type="checkbox"]:indeterminate {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9h10' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}
:is(#shipping-digest, #page) input[type="checkbox"]:focus-visible {
  outline: 2px solid #0078bf;
  outline-offset: 3px;
}
:is(#shipping-digest, #page) input[type="checkbox"]:disabled {
  opacity: .5;
  cursor: not-allowed;
}
@media (forced-colors: active) {
  :is(#shipping-digest, #page) input[type="checkbox"] {
    appearance: auto;
    forced-color-adjust: auto;
  }
}
