/* The studio's own additions to the Form Studio kit's onshape.css. */

.studio-canvas {
  cursor: crosshair;
  touch-action: none;
}
.studio-canvas--brush {
  cursor: none;
}
.studio-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.studio-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  color: var(--os-text-secondary);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.studio-empty[hidden] {
  display: none;
}
.studio-empty__about {
  max-width: 440px;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  color: var(--os-text-tertiary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

/* The heat legend's parts (studio.js drawHeatLegend), inside the legend workbench.css places: the ramp, hot at
   the top, a decade per row */
.studio-legend__scale {
  display: grid;
  grid-template-columns: 14px auto 1fr;
  column-gap: 8px;
  align-items: center;
}
.studio-legend__bar {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  border-radius: 2px;
}
.studio-legend__tick {
  grid-column: 2;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.studio-legend__note {
  grid-column: 3;
  color: var(--os-text-secondary);
}
.studio-legend__keys {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  column-gap: 8px;
  align-items: center;
  margin-top: 6px;
}
.studio-legend__swatch {
  width: 14px;
  height: 12px;
  border-radius: 2px;
}
.studio-legend__value {
  color: var(--os-text-secondary);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.studio-legend__counts {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--os-panel-border);
}

.os-stage.studio-dropping {
  box-shadow: inset 0 0 0 2px #b98cff;
}
