.q-sheet-layer {
  position: fixed;
  inset: 0;
  right: var(--q-scrollbar-gap, 0px);
  z-index: 200;
  pointer-events: none;
}
.q-sheet-layer[data-modal='true'] {
  pointer-events: auto;
}
.q-sheet-layer[data-overlay='true']::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #f2f2f2;
  opacity: 0.8;
  animation: q-sheet-backdrop-in 150ms both;
}
.q-sheet {
  box-sizing: border-box;
  position: absolute;
  z-index: 200;
  padding: 24px;
  gap: 16px;
  background: var(--ss-surface-light);
  color: #171717;
  outline: none;
  pointer-events: auto;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 32px 72px -12px rgba(0, 0, 0, 0.06),
    0 8px 32px -12px rgba(0, 0, 0, 0.08),
    0 8px 24px -12px rgba(0, 0, 0, 0.12);
  animation: q-sheet-in 200ms cubic-bezier(0.4, 0, 0.2, 1) both;
  font:
    400 16px/24px QuoterGeist,
    Arial,
    sans-serif;
}
.q-sheet[data-side='right'],
.q-sheet[data-side='left'] {
  top: 0;
  bottom: 0;
  height: 100%;
  width: 75%;
}
.q-sheet[data-side='right'] {
  right: 0;
  --q-sheet-x: 20px;
  --q-sheet-y: 0px;
}
.q-sheet[data-side='left'] {
  left: 0;
  --q-sheet-x: -20px;
  --q-sheet-y: 0px;
}
.q-sheet[data-side='top'],
.q-sheet[data-side='bottom'] {
  left: 0;
  right: 0;
  --q-sheet-x: 0px;
}
.q-sheet[data-side='top'] {
  top: 0;
  --q-sheet-y: -20px;
}
.q-sheet[data-side='bottom'] {
  bottom: 0;
  --q-sheet-y: 20px;
}
.q-sheet__header {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.q-sheet__title {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.q-sheet__subtitle,
.q-sheet__description {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #4d4d4d;
}
.q-sheet__footer {
  display: flex;
  flex-direction: column-reverse;
}
.q-sheet[data-inset='true'] {
  margin: 12px;
  height: calc(100% - 24px);
  width: calc(100% - 24px);
  max-width: none;
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.q-sheet[data-inset='true'] .q-sheet__header {
  padding: 24px;
  text-align: left;
}
.q-sheet[data-inset='true'] .q-sheet__description {
  padding: 16px 24px;
}
.q-sheet[data-inset='true'] .q-sheet__footer {
  padding: 24px;
  gap: 8px;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: auto;
}
.q-sheet-layer[data-state='closing'] .q-sheet {
  animation: q-sheet-out 200ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
.q-sheet-layer[data-state='closing']::before {
  animation: q-sheet-backdrop-out 150ms both;
}
[data-theme='dark'] .q-sheet {
  background: #0a0a0a;
  color: #ededed;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 32px 72px -12px rgba(0, 0, 0, 0.06),
    0 8px 32px -12px rgba(0, 0, 0, 0.08),
    0 8px 24px -12px rgba(0, 0, 0, 0.12);
}
[data-theme='dark'] .q-sheet__subtitle,
[data-theme='dark'] .q-sheet__description {
  color: #a1a1a1;
}
[data-theme='dark'] .q-sheet-layer::before {
  background: #000;
}
@media (min-width: 401px) {
  .q-sheet[data-side='left'],
  .q-sheet[data-side='right'] {
    max-width: 384px;
  }
  .q-sheet[data-inset='true'] {
    max-width: none;
  }
  .q-sheet__header {
    text-align: left;
  }
  .q-sheet__footer {
    flex-direction: row;
    justify-content: flex-end;
  }
  .q-sheet__footer > * + * {
    margin-left: 8px;
  }
}
@media (min-width: 961px) {
  .q-sheet[data-inset='true'] {
    width: 512px;
  }
}
@keyframes q-sheet-in {
  from {
    opacity: 0;
    transform: translate(var(--q-sheet-x), var(--q-sheet-y));
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes q-sheet-out {
  from {
    opacity: 1;
    transform: translate(0, 0);
  }
  to {
    opacity: 0;
    transform: translate(calc(var(--q-sheet-x) * 2), calc(var(--q-sheet-y) * 2));
  }
}
@keyframes q-sheet-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.8;
  }
}
@keyframes q-sheet-backdrop-out {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 0;
  }
}
.q-sheet[data-inset='true'] .q-sheet__footer > * + * {
  margin-left: 0;
}
