html {
  scrollbar-gutter: stable;
}

.panel {
  overflow-x: hidden;
  overflow-x: clip;
}

.rail {
  align-items: start;
}

.workspace {
  min-height: max(var(--workspace-height-floor, 0px), calc(100vh - 142px));
}

.panel.context-section {
  padding: 20px;
}

.question-panel .question-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.panel > .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.panel > .section-heading > .action-row,
.panel > .section-heading > .quiet-button {
  justify-self: start;
  margin-top: 0;
}

.panel .kicker {
  min-height: 42px;
  display: flex;
  align-items: flex-start;
  padding-bottom: 13px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.panel .kicker::after {
  left: -20px;
  right: -20px;
}

.panel .kicker::selection {
  background: transparent;
}

.panel .kicker:focus-visible {
  outline: 3px solid rgba(34, 107, 209, 0.22);
  outline-offset: 5px;
  border-radius: 3px;
}

.panel.is-folded {
  min-height: 0;
  padding-bottom: 4px;
}

.panel.is-folded > :not(.kicker):not(.section-heading) {
  display: none !important;
}

.panel.is-folded > .section-heading {
  margin-bottom: 0;
}

.panel.is-folded > .section-heading > :not(:first-child),
.panel.is-folded > .section-heading > div > :not(.kicker) {
  display: none !important;
}

.panel.is-folded .kicker {
  margin-bottom: 0;
}
