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

* {
  box-sizing: border-box;
}

:host {
  display: block;
  user-select: none;
}

.grid-container {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(var(--grid-columns), auto);
  align-content: start;
  grid-template-rows: min-content min-content 1fr;
}

.grid-container.has-selection-column {
    grid-template-columns:
      var(
        --selection-column-width,
        var(--menu-navigation-components-table-item-touch-target-size)
      )
      repeat(var(--grid-columns-rest), minmax(0, 1fr));
  }

.grid-container .grid-header {
    grid-row: 1;
    display: grid;
    grid-column: 1/-1;
    grid-template-columns: subgrid;
    padding: 0 var(--menu-navigation-components-table-header-row-margin);
  }

.grid-container .grid-header .selection-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: var(
      --selection-column-width,
      var(--menu-navigation-components-table-item-touch-target-size)
    );
    min-height: var(
      --menu-navigation-components-table-header-item-touch-target-size
    );
  }

.grid-container .grid-header-divider {
    grid-row: 2;
    grid-column: 1/-1;
    margin: 0 8px;
    border-bottom: 1px solid var(--border-divider-color);
  }

.grid-container .grid-column-divider {
    grid-row: 1/-1;
    width: 1px;
    background: var(--border-divider-color);
    height: 100%;
    right: 0;
    margin-left: auto;
    z-index: 1;
    pointer-events: none;
  }

.grid-container {

  --offset: calc(
    (
        var(--obc-scrollbar-touch-target-size) -
          var(--obc-scrollbar-visual-target-size)
      ) /
      2
  );
}

.grid-container ::-webkit-scrollbar {
    width: var(--obc-scrollbar-touch-target-size);
    height: var(--obc-scrollbar-touch-target-size);
  }

.grid-container ::-webkit-scrollbar-track-piece {
    border: var(--offset) solid transparent;
    border-radius: 9999px;
    background-color: var(--indent-enabled-background-color);
    margin-top: calc(-1 * var(--offset));
    margin-bottom: calc(-1 * var(--offset));
    box-sizing: border-box;
    background-clip: content-box;
  }

.grid-container ::-webkit-scrollbar-track-piece:vertical:start {
    border-bottom-width: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

.grid-container ::-webkit-scrollbar-track-piece:vertical:end {
    border-top-width: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

.grid-container ::-webkit-scrollbar-track-piece:hover {
    outline-color: var(--indent-hover-border-color);
    background-color: var(--indent-hover-background-color);
  }

.grid-container ::-webkit-scrollbar-track-piece:active {
    outline-color: var(--indent-pressed-border-color);
    background-color: var(--indent-pressed-background-color);
  }

.grid-container ::-webkit-scrollbar-thumb {
    border: calc(var(--offset) + 1px) solid transparent;
    outline: 1px solid var(--obc-scrollbar-thumb-border-color);
    outline-offset: calc(-1 * var(--offset) - 1px);
    background-clip: content-box;
    border-radius: 9999px;
    background-color: var(--obc-scrollbar-thumb-background-color);
    min-height: calc(var(--obc-scrollbar-touch-target-size) * 1.5);
  }

.grid-container ::-webkit-scrollbar-thumb:hover {
    outline-color: var(--obc-scrollbar-thumb-hover-border-color);
    background-color: var(--obc-scrollbar-thumb-hover-background-color);
  }

.grid-container ::-webkit-scrollbar-thumb:active {
    outline-color: var(--obc-scrollbar-thumb-active-border-color);
    background-color: var(--obc-scrollbar-thumb-active-background-color);
  }

.grid-container ::-webkit-scrollbar-button:start:decrement,.grid-container ::-webkit-scrollbar-button:end:increment {
    display: var(--obc-scrollbar-button-display);
    height: var(--obc-scrollbar-button-size);
    width: var(--obc-scrollbar-button-size);
    box-sizing: border-box;
    background-clip: content-box;
    background-repeat: no-repeat;
    background-position: center;
    border: var(--obc-scrollbar-button-margin) solid transparent;
    border-radius: var(--obc-scrollbar-button-radius);
    background-clip: padding-box;
    background-color: var(--flat-enabled-background-color);
  }

.grid-container ::-webkit-scrollbar-button:start:decrement:hover,.grid-container ::-webkit-scrollbar-button:end:increment:hover {
    background-color: var(--flat-hover-background-color);
  }

.grid-container ::-webkit-scrollbar-button:start:decrement:active,.grid-container ::-webkit-scrollbar-button:end:increment:active {
    background-color: var(--flat-pressed-background-color);
  }

.grid-container ::-webkit-scrollbar-button:vertical:start:decrement {
    background-image: var(--icon-02-chevron-up);
  }

.grid-container ::-webkit-scrollbar-button:vertical:end:increment {
    background-image: var(--icon-02-chevron-down);
  }

.grid-container .grid-body {
    grid-row: 3;
    overflow: auto;
    scrollbar-gutter: stable;
    display: grid;
    grid-column: 1/-1;
    grid-template-columns: subgrid;
    padding: 0 var(--menu-navigation-components-table-header-row-margin);
  }

.grid-container .grid-row {
    display: grid;
    grid-column: 1/-1;
    grid-template-columns: subgrid;
    min-height: var(--menu-navigation-components-table-item-touch-target-size);
    will-change: transform, opacity;
    position: relative;
    padding: 0;
  }

.striped:is(.grid-container .grid-row) {
      background: var(--container-section-color);
    }

:is(.grid-container .grid-row) {
            border-color: var(--flat-enabled-border-color);
            background-color: var(--flat-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--flat-enabled-border-color);
            --base-background-color: var(--flat-enabled-background-color);
}

:is(.grid-container .grid-row):focus {
            outline: none;
}

.activated:is(.grid-container .grid-row) {
            border-color: var(--flat-activated-border-color);
            background-color: var(--flat-activated-background-color);
            --base-border-color: var(--flat-activated-border-color);
            --base-background-color: var(--flat-activated-background-color);
}

@media (hover:hover) {

:is(.grid-container .grid-row):hover {
                        border-color: color-mix(in srgb, var(--flat-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--flat-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

:is(.grid-container .grid-row):active {
            border-color: var(--flat-pressed-border-color);
            background-color: var(--flat-pressed-background-color);
}

:is(.grid-container .grid-row):focus-visible {
            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;
}

:is(.grid-container .grid-row):disabled {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.disabled:is(.grid-container .grid-row) {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.grid-container .grid-row {
    border: 1px solid transparent;
    --flat-active-background-color: transparent;
  }

:is(.grid-container .grid-row):focus-visible {
    outline-offset: -2px;
  }

.grid-container .grid-row {
    border-radius: var(--global-border-radius-border-radius-base);
  }

.selected:is(.grid-container .grid-row) {
            border-color: var(--amplified-enabled-border-color);
            background-color: var(--amplified-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--amplified-enabled-border-color);
            --base-background-color: var(--amplified-enabled-background-color);
}

.selected:is(.grid-container .grid-row):focus {
            outline: none;
}

.selected.activated:is(.grid-container .grid-row) {
            border-color: var(--amplified-activated-border-color);
            background-color: var(--amplified-activated-background-color);
            --base-border-color: var(--amplified-activated-border-color);
            --base-background-color: var(--amplified-activated-background-color);
}

@media (hover:hover) {

.selected:is(.grid-container .grid-row):hover {
                        border-color: color-mix(in srgb, var(--amplified-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--amplified-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.selected:is(.grid-container .grid-row):active {
            border-color: var(--amplified-pressed-border-color);
            background-color: var(--amplified-pressed-background-color);
}

.selected:is(.grid-container .grid-row):focus-visible {
            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;
}

.selected:is(.grid-container .grid-row):disabled {
            border-color: var(--amplified-disabled-border-color);
            background-color: var(--amplified-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-amplified-disabled-color) !important;
}

.selected.disabled:is(.grid-container .grid-row) {
            border-color: var(--amplified-disabled-border-color);
            background-color: var(--amplified-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-amplified-disabled-color) !important;
}

.selected-with-prev:is(.grid-container .grid-row) {
      border-top-color: transparent;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }

.selected-with-next:is(.grid-container .grid-row) {
      border-bottom-color: transparent;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }

.selected-with-next:is(.grid-container .grid-row) .grid-row-divider {
      display: none;
    }

.animating:is(.grid-container .grid-row) {
      pointer-events: none;
    }

:is(.grid-container .grid-row) .grid-cell {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 0 var(--menu-navigation-components-table-item-padding-horizontal);
      min-height: 100%;
      min-width: var(--menu-navigation-components-table-item-touch-target-size);
      gap: var(--menu-navigation-components-table-item-label-spacing);
      font-family: var(--font-family-main);
      font-weight: var(--global-typography-ui-body-font-weight);
      font-size: var(--global-typography-ui-body-font-size);
      line-height: var(--global-typography-ui-body-line-height);
      font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
      color: var(--on-flat-active-color);
    }

.selection:is(:is(.grid-container .grid-row) .grid-cell) {
        min-width: var(
          --selection-column-width,
          var(--menu-navigation-components-table-item-touch-target-size)
        );
        width: var(
          --selection-column-width,
          var(--menu-navigation-components-table-item-touch-target-size)
        );
        max-width: var(
          --selection-column-width,
          var(--menu-navigation-components-table-item-touch-target-size)
        );
        padding: 0;
      }

.neutral:is(:is(.grid-container .grid-row) .grid-cell) {
        color: var(--on-flat-neutral-color);
      }

.vertical:is(:is(.grid-container .grid-row) .grid-cell) {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding-top: var(--menu-navigation-components-table-item-label-spacing);
        padding-bottom: var(
          --menu-navigation-components-table-item-label-spacing
        );
      }

.align-center:is(:is(.grid-container .grid-row) .grid-cell) {
        justify-content: center;
      }

.align-right:is(:is(.grid-container .grid-row) .grid-cell) {
        justify-content: flex-end;
      }

.align-left:is(:is(.grid-container .grid-row) .grid-cell) {
        justify-content: flex-start;
      }

.no-wrap:is(:is(.grid-container .grid-row) .grid-cell) > * {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

.no-wrap:is(:is(.grid-container .grid-row) .grid-cell) {
        width: 100%;
      }

.no-wrap:is(:is(.grid-container .grid-row) .grid-cell) .title {
          flex-shrink: 0;
        }

.no-wrap:is(:is(.grid-container .grid-row) .grid-cell) .text {
          flex-shrink: 10000;
        }

:is(:is(.grid-container .grid-row) .grid-cell) .icon {
        width: var(--menu-navigation-components-table-item-icon-size);
        height: var(--menu-navigation-components-table-item-icon-size);
        flex-shrink: 0;
      }

.large-icon:is(:is(.grid-container .grid-row) .grid-cell) .icon {
        min-width: var(--menu-navigation-components-table-item-icon-size-large);
        min-height: var(
          --menu-navigation-components-table-item-icon-size-large
        );
        width: fit-content;
        height: fit-content;
        display: grid;
      }

:is(:is(.grid-container .grid-row) .grid-cell) .title {
        font-family: var(--font-family-main);
        font-weight: var(--font-weight-bold);
        font-size: var(--global-typography-ui-body-active-font-size);
        line-height: var(--global-typography-ui-body-active-line-height);
        font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
      }

.button:is(:is(.grid-container .grid-row) .grid-cell) obc-button {
          width: 100%;
        }

.checkbox:is(:is(.grid-container .grid-row) .grid-cell) {
        min-width: 0;
      }

.checkbox:is(:is(.grid-container .grid-row) .grid-cell) {
            border-color: var(--flat-enabled-border-color);
            background-color: var(--flat-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            --base-border-color: var(--flat-enabled-border-color);
            --base-background-color: var(--flat-enabled-background-color);
        background: transparent;
        --flat-active-background-color: transparent;
        --flat-hover-background-color: transparent;
}

.horizontal-bar:is(:is(.grid-container .grid-row) .grid-cell) {
        padding: 0
          var(--menu-navigation-components-table-item-padding-horizontal);
      }

.horizontal-bar:is(:is(.grid-container .grid-row) .grid-cell) obc-bar-horizontal {
        display: block;
        width: 100%;
        height: 100%;
      }

.tags:is(:is(.grid-container .grid-row) .grid-cell) {
        gap: calc(
          var(--menu-navigation-components-table-item-badge-spacing) * 2
        );
      }

.tags:is(:is(.grid-container .grid-row) .grid-cell) .tag-overflow {
          font-family: var(--font-family-main);
          font-weight: var(--font-weight-regular);
          font-size: var(--global-typography-ui-label-font-size);
          line-height: var(--global-typography-ui-label-line-height);
          font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
          color: var(--on-flat-neutral-color);
          white-space: nowrap;
          margin: 0;
        }

.tags.wrap:is(:is(.grid-container .grid-row) .grid-cell) {
          flex-wrap: wrap;
          align-content: center;
        }

.grid-container .grid-row-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 8px;
    border-radius: 100px;
    background: var(--border-divider-color);
    height: 1px;
    margin-bottom: -1.5px;
    z-index: -1;
  }
`;
export {
  compentStyle as default
};
//# sourceMappingURL=table.css.js.map
