:root {
  --leeuw-control-height: 48px;
  --leeuw-control-touch-target: 44px;
  --leeuw-control-radius: var(--leeuw-radius-md);
  --leeuw-control-border: rgba(7, 17, 22, 0.12);
  --leeuw-control-focus:
    0 0 0 3px rgba(0, 223, 229, 0.28);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  min-height: var(--leeuw-control-touch-target);
  touch-action: manipulation;
}

input,
select,
textarea {
  max-width: 100%;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select {
  min-height: var(--leeuw-control-height);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: none;
  box-shadow: var(--leeuw-control-focus);
}

:is(
  .iconBtn,
  .customer-detail__back,
  .customer-requests__back,
  .receive-overview__back,
  .new-request-v2__back,
  .product-selection__back,
  .material-check__back,
  .leeuw-assist__back,
  .customer-history-header__back,
  .assist-overview__back,
  .assist-detail__back,
  .pulse-v2__back,
  .oc-back-button,
  .oc-assist-back,
  .oc-detail-hero__back,
  .oc-position-hero__back,
  .oc-tenants-hero__back,
  .oc-customer-detail-hero__back,
  .oc-user-detail-hero__back
) {
  display: inline-grid;
  flex: 0 0 var(--leeuw-control-touch-target);
  place-items: center;
  width: var(--leeuw-control-touch-target);
  min-width: var(--leeuw-control-touch-target);
  height: var(--leeuw-control-touch-target);
  min-height: var(--leeuw-control-touch-target);
  padding: 0;
  border: 1px solid var(--leeuw-control-border);
  border-radius: var(--leeuw-control-radius);
  background: var(--leeuw-color-surface);
  color: var(--leeuw-color-text-dark);
  box-shadow: 0 8px 22px rgba(7, 17, 22, 0.08);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transition:
    transform var(--leeuw-motion-fast) var(--leeuw-motion-ease),
    border-color var(--leeuw-motion-fast) var(--leeuw-motion-ease),
    box-shadow var(--leeuw-motion-fast) var(--leeuw-motion-ease);
}

:is(
  .iconBtn,
  .customer-detail__back,
  .customer-requests__back,
  .receive-overview__back,
  .new-request-v2__back,
  .product-selection__back,
  .material-check__back,
  .leeuw-assist__back,
  .customer-history-header__back,
  .assist-overview__back,
  .assist-detail__back,
  .pulse-v2__back,
  .oc-back-button,
  .oc-assist-back,
  .oc-detail-hero__back,
  .oc-position-hero__back,
  .oc-tenants-hero__back,
  .oc-customer-detail-hero__back,
  .oc-user-detail-hero__back
)::before {
  content: "←";
  font-size: 20px;
  font-weight: var(--leeuw-font-weight-bold);
  line-height: 1;
}

:is(
  .iconBtn,
  .customer-detail__back,
  .customer-requests__back,
  .receive-overview__back,
  .new-request-v2__back,
  .product-selection__back,
  .material-check__back,
  .leeuw-assist__back,
  .customer-history-header__back,
  .assist-overview__back,
  .assist-detail__back,
  .pulse-v2__back,
  .oc-back-button,
  .oc-assist-back,
  .oc-detail-hero__back,
  .oc-position-hero__back,
  .oc-tenants-hero__back,
  .oc-customer-detail-hero__back,
  .oc-user-detail-hero__back
):hover {
  border-color: var(--leeuw-color-primary-strong);
  transform: translateY(-1px);
}

:is(
  .iconBtn,
  .customer-detail__back,
  .customer-requests__back,
  .receive-overview__back,
  .new-request-v2__back,
  .product-selection__back,
  .material-check__back,
  .leeuw-assist__back,
  .customer-history-header__back,
  .assist-overview__back,
  .assist-detail__back,
  .pulse-v2__back,
  .oc-back-button,
  .oc-assist-back,
  .oc-detail-hero__back,
  .oc-position-hero__back,
  .oc-tenants-hero__back,
  .oc-customer-detail-hero__back,
  .oc-user-detail-hero__back
):active {
  transform: translateY(0);
}

@media (max-width: 430px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea {
    width: 100%;
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  button,
  input,
  select,
  textarea,
  [role="button"] {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}
