/**
 * Do not edit directly
 * Generated on Fri, 02 Aug 2024 20:03:08 GMT
 */
/**
 * Do not edit directly
 * Generated on Fri, 02 Aug 2024 20:03:08 GMT
 */
/**
 * Do not edit directly
 * Generated on Fri, 02 Aug 2024 20:03:08 GMT
 */
/**
 * Do not edit directly
 * Generated on Fri, 02 Aug 2024 20:03:08 GMT
 */
/**
 * Do not edit directly
 * Generated on Fri, 02 Aug 2024 20:03:06 GMT
 */
/* mixins & extensions */
/* helper to properly scale internal durations */
/**
* Currently only used in Checkbox.
*/
/**
* CSS Custom Properties
*
* These properties can be overridden using the component's tag as selector.
*
* @prop --calcite-shell-panel-width: Specifies the width of the component.
* @prop --calcite-shell-panel-max-width: Specifies the maximum width of the component.
* @prop --calcite-shell-panel-min-width: Specifies the minimum width of the component.
* @prop --calcite-shell-panel-height: When `layout` is `horizontal`, or `layout` is `vertical` and `displayMode` is `float-content` or `float`, specifies the height of the component.
* @prop --calcite-shell-panel-max-height: When `layout` is `horizontal`, or `layout` is `vertical` and `displayMode` is `float-content` or `float`, specifies the maximum height of the component.
* @prop --calcite-shell-panel-min-height: When `layout` is `horizontal`, or `layout` is `vertical` and `displayMode` is `float-content` or `float`, specifies the minimum height of the component.
* @prop --calcite-shell-panel-detached-max-height: [Deprecated] Use the `heightScale` property instead. When `displayMode` is `float-content` or `float`, specifies the maximum height of the component.
* @prop --calcite-shell-panel-z-index: Specifies the z-index value for the component.
*
*/
:host {
  pointer-events: none;
  position: relative;
  display: flex;
  flex: 0 1 auto;
  align-items: stretch;
  z-index: var(--calcite-shell-panel-z-index, var(--calcite-z-index));
  --calcite-shell-panel-detached-max-height: unset;
  --calcite-shell-panel-max-height: unset;
  --calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, 0.08),
    0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, 0.08),
    0 -2px 4px -1px rgba(0, 0, 0, 0.04);
  --calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, 0.08),
    2px 0 4px -1px rgba(0, 0, 0, 0.04);
  --calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, 0.08),
    -2px 0 4px -1px rgba(0, 0, 0, 0.04);
}

.calcite--rtl.content--overlay {
  --calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, 0.08),
    -2px 0 4px -1px rgba(0, 0, 0, 0.04);
  --calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, 0.08),
    2px 0 4px -1px rgba(0, 0, 0, 0.04);
}

:host([layout=vertical]) {
  z-index: var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1));
}

:host([layout=vertical][display-mode=overlay]) {
  z-index: var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1));
}

:host([layout=vertical][display-mode=float-all]) .content {
  flex: 2;
}

:host([layout=vertical][width-scale=s]:not([display-mode=float-all])) .content {
  --calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);
  --calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);
  --calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px);
}

:host([layout=vertical][width-scale=s][display-mode=float-all]) .content {
  --calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);
  --calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px);
}

:host([layout=vertical][width-scale=m]:not([display-mode=float-all])) .content {
  --calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);
  --calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);
  --calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px);
}

:host([layout=vertical][width-scale=m][display-mode=float-all]) .content {
  --calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);
  --calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px);
}

:host([layout=vertical][width-scale=l]:not([display-mode=float-all])) .content {
  --calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);
  --calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);
  --calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px);
}

:host([layout=vertical][width-scale=l][display-mode=float-all]) .content {
  --calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);
  --calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px);
}

:host([layout=horizontal][height-scale=s]) .content {
  --calcite-internal-shell-panel-max-height: var(
    --calcite-shell-panel-max-height,
    var(--calcite-shell-panel-detached-max-height, 20vh)
  );
}

:host([layout=horizontal]) .content {
  --calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);
  --calcite-internal-shell-panel-max-height: var(
    --calcite-shell-panel-max-height,
    var(--calcite-shell-panel-detached-max-height, 30vh)
  );
}

:host([layout=horizontal][height-scale=l]) .content {
  --calcite-internal-shell-panel-max-height: var(
    --calcite-shell-panel-max-height,
    var(--calcite-shell-panel-detached-max-height, 40vh)
  );
}

.container {
  pointer-events: none;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  background-color: transparent;
  font-size: var(--calcite-font-size--1);
  color: var(--calcite-color-text-2);
}
.container * {
  box-sizing: border-box;
}
.container.float-all {
  margin-block: 0.5rem;
  margin-inline: 0.5rem;
}

:host([layout=horizontal]) .container {
  flex-direction: column;
}

:host(:hover) .separator:not(:hover):not(:focus),
:host(:focus-within) .separator:not(:hover):not(:focus) {
  opacity: 1;
  background-color: var(--calcite-color-border-3);
}

.separator {
  pointer-events: auto;
  position: absolute;
  display: flex;
  background-color: transparent;
  opacity: 0;
  transition: background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
  cursor: col-resize;
  outline: none;
}
.separator:hover {
  opacity: 1;
  background-color: var(--calcite-color-border-2);
}
.separator:focus {
  background-color: var(--calcite-color-brand);
  opacity: 1;
}

:host([layout=vertical]) .separator {
  inset-block: 0px;
  block-size: 100%;
  inline-size: 0.125rem;
  cursor: col-resize;
}

:host([layout=horizontal][position=start]) .separator {
  inset-block-end: 0px;
}

:host([layout=horizontal][position=end]) .separator {
  inset-block-start: 0px;
}

:host([layout=horizontal]) .separator {
  inset-inline-end: 0px;
  block-size: 0.125rem;
  inline-size: 100%;
  cursor: row-resize;
}

:host([layout=vertical][position=start]) .separator {
  inset-inline-end: -2px;
}

:host([layout=horizontal][position=start]) .separator {
  inset-block-end: -2px;
}

:host([layout=vertical][position=end]) .separator {
  inset-inline-start: -2px;
}

:host([layout=horizontal][position=end]) .separator {
  inset-block-start: -2px;
}

::slotted(calcite-panel),
::slotted(calcite-flow) {
  block-size: 100%;
  inline-size: 100%;
  flex: 1 1 auto;
  max-block-size: unset;
  max-inline-size: unset;
}

::slotted(.calcite-match-height) {
  display: flex;
  flex: 1 1 auto;
  overflow: hidden;
}

.content {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  align-self: stretch;
  background-color: var(--calcite-color-background);
  padding: 0px;
  transition: max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);
}

:host([layout=vertical]:not([display-mode=float-all])) .content {
  inline-size: var(--calcite-internal-shell-panel-width);
  max-inline-size: var(--calcite-internal-shell-panel-max-width);
  min-inline-size: var(--calcite-internal-shell-panel-min-width);
}

:host([layout=vertical][display-mode=float-all]) .content {
  inline-size: var(--calcite-internal-shell-panel-width);
  min-inline-size: var(--calcite-internal-shell-panel-min-width);
}

:host([layout=horizontal]) .content {
  block-size: var(--calcite-internal-shell-panel-height);
  max-block-size: var(--calcite-internal-shell-panel-max-height);
  min-block-size: var(--calcite-internal-shell-panel-min-height);
}

.content__header {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
}

.content__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}

.content--overlay {
  position: absolute;
  --tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

:host([layout=vertical]) .content--overlay {
  inset-block-start: 0px;
  block-size: 100%;
}

:host([layout=horizontal]) .content--overlay {
  inset-inline-start: 0px;
  inline-size: 100%;
}

:host([layout=vertical][position=start]) .content--overlay {
  inset-inline-start: 100%;
  box-shadow: var(--calcite-internal-shell-panel-shadow-inline-start);
}

:host([layout=vertical][position=end]) .content--overlay {
  inset-inline-end: 100%;
  box-shadow: var(--calcite-internal-shell-panel-shadow-inline-end);
}

:host([layout=horizontal][position=start]) .content--overlay {
  inset-block-start: 100%;
  box-shadow: var(--calcite-internal-shell-panel-shadow-block-start);
}

:host([layout=horizontal][position=end]) .content--overlay {
  inset-block-end: 100%;
  box-shadow: var(--calcite-internal-shell-panel-shadow-block-end);
}

.float--content {
  margin-inline: 0.5rem;
  margin-block: 0.5rem auto;
  block-size: auto;
  overflow: hidden;
  border-radius: 0.25rem;
  --tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  max-block-size: var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem));
}
.float--content ::slotted(calcite-panel),
.float--content ::slotted(calcite-flow) {
  max-block-size: unset;
}

:host([layout=horizontal]) .float--content {
  margin-block: 0.5rem;
}

:host([position=start]) .float--content ::slotted(calcite-panel),
:host([position=start]) .float--content ::slotted(calcite-flow),
:host([position=end]) .float--content ::slotted(calcite-panel),
:host([position=end]) .float--content ::slotted(calcite-flow) {
  border-style: none;
}

.content[hidden] {
  display: none;
}

slot[name=action-bar]::slotted(calcite-action-bar),
.content ::slotted(calcite-flow),
.content ::slotted(calcite-panel:not([closed])) {
  border-width: 1px;
  border-style: solid;
  border-color: var(--calcite-color-border-3);
}

:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar),
:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-flow),
:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-panel),
:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),
:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),
:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel) {
  border-inline-start: none;
}

:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),
:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),
:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),
:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),
:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),
:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel) {
  border-inline-end: none;
}

:host([layout=horizontal]:not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar) {
  border-inline: 0;
}

:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-flow),
:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-panel) {
  border-inline: 0;
  border-block-start: 0;
}

:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),
:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel) {
  border-inline: 0;
  border-block-end: 0;
}

:host([hidden]) {
  display: none;
}

[hidden] {
  display: none;
}