#near-view {
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
#near-view.dragging {
  cursor: grabbing;
}
.panel .subheading {
  margin-top: 14px;
}
.build-menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  gap: 4px;
  margin: 0 0 12px;
}
.list + .build-menu {
  margin-top: 10px;
}
.build-button {
  display: grid;
  place-items: center;
  height: 30px;
  padding: 0;
  color: var(--muted);
}
.build-button:hover {
  color: var(--accent-hover);
}
.object-glyph {
  width: 18px;
  height: 18px;
}
.object-icon {
  display: inline-grid;
  place-items: center;
  color: var(--muted);
}
.object-icon .object-glyph {
  width: 18px;
  height: 18px;
}
.card[aria-selected="true"] .object-icon {
  color: var(--accent);
}
.situations .build-button {
  border: 1px dashed var(--edge);
  box-shadow: none;
}
.situations .build-button:hover {
  border-color: var(--accent);
}
.build-button[aria-checked="true"],
.build-button[aria-pressed="true"] {
  --button-edge: var(--accent);
  border-color: var(--accent);
  color: var(--accent);
}
.build-button[hidden] {
  display: none;
}
.mic-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
}
.rig-button {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.rig-badge {
  min-width: 28px;
  margin-right: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}
.source-badge {
  min-width: 14px;
  margin: 0 4px;
  color: var(--source);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.rig-badge .object-glyph {
  width: 16px;
  height: 16px;
}
.panel .caption {
  margin: 4px 0 6px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-group {
  margin-top: 10px;
  padding-top: 8px;
}
.card-group:first-of-type {
  padding-top: 2px;
}
.card-group .caption {
  margin: 0 0 8px;
}
.tile-row {
  margin: 0 0 10px;
}
.card .macros {
  row-gap: 8px;
}
.macros label i {
  margin-right: 4px;
  font-size: 10px;
}
.row-select {
  min-width: 0;
}
.card-actions {
  margin-top: 12px;
}
.panel section + section {
  margin-top: 22px;
}
@media (min-width: 701px) {
  .panel section + section::before,
  .panel .list + .caption::before {
    content: '';
    display: block;
    height: 4px;
    margin: 0 -12px 16px;
    background: var(--bg);
  }
  .panel .list + .caption::before {
    margin-top: 16px;
  }
}
.results figcaption {
  left: auto;
  right: 10px;
}

.file-name {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-button {
  justify-self: start;
}

.plugin-grip {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
  background: linear-gradient(135deg, transparent 50%, var(--muted) 50%, var(--muted) 58%, transparent 58%, transparent 72%, var(--muted) 72%, var(--muted) 80%, transparent 80%);
  z-index: 100;
}

.scenes {
  display: flex;
  align-items: center;
  gap: 2px;
  pointer-events: auto;
}
.scene {
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  background: color-mix(in srgb, var(--raised) 80%, transparent);
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.scene.empty {
  color: var(--faint);
  opacity: .55;
}
.scene[aria-pressed="true"] {
  color: var(--accent);
}
.scene-remove {
  margin-left: 4px;
  color: var(--faint);
}
.scene-name {
  margin-left: 6px;
  color: var(--ink);
  white-space: nowrap;
}
.scene-name-input {
  width: 12ch;
  height: 22px;
  margin-left: 4px;
  padding: 0 6px;
  font-size: 11px;
}
