/* The slide. Nothing here reads a theme variable: the deck looks the same
   whatever the workspace is wearing. */

.slide {
  position: relative;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #000;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-font-smoothing: auto;
  color-scheme: light;
}
.slide *, .slide *::before, .slide *::after { box-sizing: border-box; }
.slide .layer { position: absolute; inset: 0; }
.slide .layer.under { pointer-events: none; }
.slide .shape { position: absolute; transform-origin: 50% 50%; }
.slide .alt { position: absolute; inset: 0; pointer-events: none; }
.slide .alt > .shape { pointer-events: auto; }
.slide svg.geo { position: absolute; left: 0; top: 0; overflow: visible; transform-origin: 50% 50%; }

.slide .txt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  outline: none;
}
.slide .txt.nowrap { white-space: pre; }
.slide .txt .p { margin: 0; min-width: 0; }
.slide .txt .p[data-bu]::before {
  content: attr(data-bu);
  display: inline-block;
  min-width: var(--bu-w, 0);
  text-indent: 0;
  white-space: pre;
  font-family: var(--bu-font);
  font-size: var(--bu-size);
  color: var(--bu-color);
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
}

.slide .txt.editing { cursor: text; user-select: text; -webkit-user-select: text; z-index: 3; }
.slide .shape.editing { z-index: 3; }

/* editor aids - never in thumbnails */
.slide:not(.is-thumb) .shape.ph-empty { outline: 1px dashed rgba(90, 90, 90, .45); outline-offset: -1px; }
.slide .prompt { pointer-events: none; }
.slide .prompt .r { color: #8c8c8c !important; }
.slide .shape.editing > .prompt { display: none; }

.slide .pic .clip { position: absolute; inset: 0; overflow: hidden; }
.slide .pic img { position: absolute; max-width: none; user-select: none; -webkit-user-drag: none; }
.slide .pic .clip.missing, .slide .frame .kept {
  display: grid;
  place-items: center;
  padding: 6px;
  text-align: center;
  font: 12px/1.3 Arial, sans-serif;
  color: #666;
  background: repeating-linear-gradient(45deg, #f4f4f4 0 10px, #e9e9e9 10px 20px);
  border: 1px dashed #b5b5b5;
}
.slide.is-thumb .frame .kept, .slide.is-thumb .pic .clip.missing { font-size: 0; }
.slide .frame .kept { position: absolute; inset: 0; }

.slide .group-inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

.slide .tbl { border-collapse: collapse; table-layout: fixed; width: 100%; height: 100%; }
.slide .tbl td { position: relative; padding: 0; vertical-align: top; overflow: hidden; }
.slide .tbl td > .txt { position: relative; inset: auto; min-height: 100%; height: 100%; }

.slide .chart-svg { position: absolute; left: 0; top: 0; }
