/* Global utility variables */
/* Input styles */
/* Transition variables */
pn-counter {
  display: inline-block;
}

pn-counter .pn-counter {
  display: flex;
  flex-direction: column;
}
pn-counter .pn-counter-label {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-weight: 400;
  color: #2d2013;
  margin: 0 0 0.25em 0;
  gap: 0.5em;
  -webkit-tap-highlight-color: transparent;
  transition-property: color, transform;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  pn-counter .pn-counter-label {
    transition-duration: 0s;
    transition-delay: 0s;
  }
}
pn-counter .pn-counter-label[data-compact] {
  position: absolute;
  top: 1.5625em;
  left: calc(var(--pn-input-offset-left, 0px) + 0.75em + 0.0625em);
  margin: 0;
  pointer-events: none;
  align-items: center;
  height: 1.5em;
  max-width: calc(100% - (var(--pn-input-offset-left, 0px) + 0.75em) - (var(--pn-input-offset-right, 0px) + 0.75em));
  transform: translateY(-50%) scale(1) translateZ(0);
  transform-origin: 0 0;
  transition-delay: 0.2s;
}
pn-counter .pn-counter-label[data-compact] > span {
  font-size: 1em;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.5em;
}
pn-counter .pn-counter-label > span {
  font-size: 0.875em;
}
pn-counter .pn-counter-input {
  position: relative;
  flex: 1 1 auto;
}
pn-counter .pn-counter-element {
  text-align: center;
  width: 100%;
  appearance: textfield;
  color: #2d2013;
  background-color: #ffffff;
  border: 0.0625em solid #969087;
  border-radius: 0.5em;
  padding: 0.75em;
  font-family: inherit;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.5em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
pn-counter .pn-counter-element:-webkit-autofill, pn-counter .pn-counter-element:-webkit-autofill:hover, pn-counter .pn-counter-element:-webkit-autofill:focus, pn-counter .pn-counter-element:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 10em #e0f8ff inset;
  -webkit-text-fill-color: #2d2013;
}
pn-counter .pn-counter-element {
  outline: 0.2rem solid transparent;
  outline-offset: 0.2rem;
}
pn-counter .pn-counter-element:focus-visible {
  outline-color: #005d92;
  background-color: #ffffff;
  border-color: #005d92;
}
pn-counter .pn-counter-element {
  transition-property: outline-color, background-color, border-color, color;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  pn-counter .pn-counter-element {
    transition-duration: 0s;
    transition-delay: 0s;
  }
}
pn-counter .pn-counter-element[data-compact] {
  text-align: left;
  padding-top: 1.125em;
  padding-bottom: 0.375em;
  max-width: unset;
}
pn-counter .pn-counter-element[data-compact]::placeholder {
  color: transparent;
}
pn-counter .pn-counter-element[data-compact]:focus + .pn-counter-label, pn-counter .pn-counter-element[data-compact]:not(:placeholder-shown) + .pn-counter-label {
  transform: translateY(-85%) scale(0.75);
  transition-delay: 0s;
}
pn-counter .pn-counter-element::placeholder {
  color: #5e554a;
  font-weight: normal;
}
pn-counter .pn-counter-element:hover {
  border-color: #005d92;
}
pn-counter .pn-counter-element:disabled {
  color: #5e554a;
  background-color: #f3f2f2;
  border-color: #f3f2f2;
}
pn-counter .pn-counter-element:read-only {
  border-color: #ffffff;
}
pn-counter .pn-counter-element:disabled {
  color: #5e554a;
  background-color: #f3f2f2;
  border-color: #f3f2f2;
}
pn-counter .pn-counter-element:out-of-range {
  border-color: #a70707;
}
pn-counter .pn-counter-element:out-of-range:hover {
  border-color: #500715;
}
pn-counter .pn-counter-element:out-of-range:focus-visible {
  background-color: #ffffff;
  border-color: #a70707;
  outline-color: #a70707;
}
pn-counter .pn-counter-element:out-of-range:-webkit-autofill, pn-counter .pn-counter-element:out-of-range:-webkit-autofill:hover, pn-counter .pn-counter-element:out-of-range:-webkit-autofill:focus, pn-counter .pn-counter-element:out-of-range:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 10em #fef7f6 inset;
  -webkit-text-fill-color: #2d2013;
}
pn-counter .pn-counter-element::-webkit-inner-spin-button, pn-counter .pn-counter-element::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
pn-counter .pn-counter-items {
  display: inline-flex;
  flex-direction: row;
  gap: 0.5em;
  transition-property: gap;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  pn-counter .pn-counter-items {
    transition-duration: 0s;
    transition-delay: 0s;
  }
}
pn-counter .pn-counter-items[data-hidebuttons] {
  gap: 0;
}
pn-counter .pn-counter-items[data-hidebuttons] > pn-button {
  transform: scale(0) translateZ(0);
  width: 0;
}
pn-counter .pn-counter-items > pn-button {
  transform: scale(1) translateZ(0);
  transform-origin: center center;
  width: 3em;
  will-change: width, transform;
  transition-property: transform, width;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  pn-counter .pn-counter-items > pn-button {
    transition-duration: 0s;
    transition-delay: 0s;
  }
}
pn-counter .pn-counter-helpertext {
  color: #5e554a;
  font-size: 0.875em;
  font-weight: 400;
  margin: 0.25em 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}
pn-counter .pn-counter-sr-only {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  margin: -1px;
  white-space: nowrap;
}