import { css } from "lit";
const compentStyle = css`
          * {
            -webkit-tap-highlight-color: transparent;
          }

* {
  box-sizing: border-box;
}

.wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  appearance: none;
  background: none;
  border: none;
}

.wrapper {
            cursor: pointer;
}

.wrapper:focus {
            outline: none;
}

.wrapper .visible-wrapper {
            border-color: var(--normal-enabled-border-color);
            background-color: var(--normal-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--normal-enabled-border-color);
            --base-background-color: var(--normal-enabled-background-color);
}

.wrapper.activated .visible-wrapper {
            border-color: var(--normal-activated-border-color);
            background-color: var(--normal-activated-background-color);
            --base-border-color: var(--normal-activated-border-color);
            --base-background-color: var(--normal-activated-background-color);
}

@media (hover:hover) {

.wrapper:hover .visible-wrapper {
                        border-color: color-mix(in srgb, var(--normal-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--normal-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.wrapper:active .visible-wrapper {
            border-color: var(--normal-pressed-border-color);
            background-color: var(--normal-pressed-background-color);
}

.wrapper:focus-visible .visible-wrapper {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.wrapper:disabled .visible-wrapper {
            border-color: var(--normal-disabled-border-color);
            background-color: var(--normal-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-normal-disabled-color) !important;
}

.wrapper.disabled .visible-wrapper {
            border-color: var(--normal-disabled-border-color);
            background-color: var(--normal-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-normal-disabled-color) !important;
}

.wrapper:disabled {
            cursor: not-allowed;
}

.wrapper.disabled {
            cursor: not-allowed;
}

.wrapper.position-bottom {
    top: calc(1px + var(--offset));
    transform: translateX(-50%);
  }

.wrapper.position-top {
    transform: translate(-50%, calc(-100% - 1px - var(--offset)));
  }

.wrapper::before {
    content: "";
    display: block;
    position: absolute;
    border: var(--normal-enabled-border-color) solid 1px;
  }

.wrapper.position-bottom::before,.wrapper.position-top::before {
    width: 0;
    height: 8px;
  }

.wrapper.position-bottom::before {
    top: -1px;
  }

.wrapper.position-top::before {
    bottom: -1px;
  }

.wrapper.position-left {
    transform: translate(calc(-100% - 4px - var(--offset)), -50%);
  }

.wrapper.position-right {
    transform: translateY(-50%);
    right: calc(-4px - var(--offset));
  }

.wrapper.position-left::before,.wrapper.position-right::before {
    height: 0;
    width: 8px;
  }

.wrapper.position-left::before {
    right: -4px;
  }

.wrapper.position-right::before {
    left: -4px;
  }

.wrapper .visible-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    width: fit-content;
    padding: 3px 7px;
    border-radius: 6px;

    font-family: var(--global-typography-font-family);

    font-weight: var(
    --global-typography-instrument-value-regular-font-weight-regular
  );

    font-size: var(--global-typography-instrument-value-regular-font-size);

    line-height: var(--global-typography-instrument-value-regular-line-height);

    font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  }

:is(.wrapper .visible-wrapper) .value {
      color: var(--instrument-enhanced-secondary-color);
      text-align: right;
    }

:is(.wrapper .visible-wrapper) .unit {
      font-family: var(--global-typography-font-family);
      font-weight: var(--global-typography-instrument-unit-font-weight);
      font-size: var(--global-typography-instrument-unit-font-size);
      line-height: var(--global-typography-instrument-unit-line-height);
      font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
      margin-left: 2px;
      color: var(--on-normal-neutral-color);
    }
`;
export {
  compentStyle as default
};
//# sourceMappingURL=automation-readout.css.js.map
