/* Presenter layer: hot corner, token login, right slide-over drawer.
 * The projector layout stays intact; the drawer overlays the side column. */

.presenter-corner {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 30;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--bh-line);
  background: var(--bh-surface);
  color: var(--bh-ink-soft);
  font-size: 18px;
  cursor: pointer;
  opacity: 0.35;
}

.presenter-corner:hover {
  opacity: 1;
}

.drawer-rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 34px;
  height: 88px;
  border: 1px solid var(--bh-line);
  border-right: none;
  border-radius: var(--bh-radius-m) 0 0 var(--bh-radius-m);
  background: var(--bh-surface);
  color: var(--bh-amber);
  font-size: 18px;
  cursor: pointer;
}

.presenter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  z-index: 35;
  background: var(--bh-surface);
  border-left: 1px solid var(--bh-line);
  box-shadow: -24px 0 60px rgba(16, 11, 7, 0.55);
  display: flex;
  flex-direction: column;
  font-size: 15px;
}

.drawer-head {
  display: flex;
  align-items: center;
  gap: var(--bh-space-2);
  padding: var(--bh-space-3) var(--bh-space-4);
  border-bottom: 1px solid var(--bh-line);
}

.drawer-title {
  font-weight: 700;
  font-size: 20px;
  flex: 1;
}

.drawer-ws {
  font-size: 12.5px;
  color: var(--bh-offline);
}

.drawer-ws.live {
  color: var(--bh-ok);
}

.drawer-tabs {
  display: flex;
  border-bottom: 1px solid var(--bh-line);
}

.drawer-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--bh-ink-soft);
  font-family: var(--bh-font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 0;
  cursor: pointer;
}

.drawer-tab.active {
  color: var(--bh-amber);
  border-bottom-color: var(--bh-amber);
}

.drawer-status {
  margin: var(--bh-space-2) var(--bh-space-4) 0;
  padding: 6px 10px;
  border-radius: var(--bh-radius-s);
  background: var(--bh-ok-tint);
  color: var(--bh-ok);
  font-size: 12.5px;
  word-break: break-word;
}

.drawer-status.error {
  background: var(--bh-fault-tint);
  color: var(--bh-fault);
}

.drawer-pane {
  display: none;
  flex-direction: column;
  gap: var(--bh-space-3);
  padding: var(--bh-space-4);
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.drawer-pane.active {
  display: flex;
}

.pane-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bh-ink-soft);
  margin-top: var(--bh-space-2);
}

.drawer-pane .form-row {
  display: flex;
  align-items: center;
  gap: var(--bh-space-2);
}

.drawer-pane .form-row.wrap {
  flex-wrap: wrap;
}

.drawer-pane input,
.drawer-pane select,
.drawer-pane textarea {
  background: var(--bh-bg);
  border: 1px solid var(--bh-line);
  border-radius: var(--bh-radius-s);
  color: var(--bh-ink);
  font-size: 14px;
  padding: 7px 9px;
  min-width: 0;
}

.drawer-pane input:focus,
.drawer-pane select:focus,
.drawer-pane textarea:focus {
  outline: 2px solid var(--bh-amber);
  outline-offset: -1px;
}

.drawer-pane .btn-primary {
  min-height: 36px;
  font-size: 14.5px;
  padding: 0 var(--bh-space-4);
}

.drawer-pane .btn-quiet {
  min-height: 36px;
  font-size: 14.5px;
  border: 1px solid var(--bh-line);
}

.inline-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--bh-ink-soft);
}

.inline-label input {
  width: 84px;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
}

.round-current {
  font-size: 13px;
  color: var(--bh-ink-soft);
}

.round-btn,
.fault-btn {
  flex: 1 1 45%;
}

.target-select {
  flex: 1;
}

.feature-checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--bh-font-mono);
  font-size: 13px;
}

.quiz-adhoc {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-2);
}

.quiz-adhoc summary {
  cursor: pointer;
  color: var(--bh-ink-soft);
  margin-bottom: var(--bh-space-2);
}

.quiz-adhoc input,
.quiz-adhoc textarea {
  width: 100%;
  margin-bottom: 4px;
}

/* Session tab */
.entry-row {
  display: flex;
  align-items: center;
  gap: var(--bh-space-2);
  margin-bottom: 6px;
}

.entry-row .entry-name {
  flex: 1;
}

.entry-expert {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--bh-ink-soft);
}

.entry-remove {
  min-height: 30px !important;
  padding: 0 8px !important;
}

.file-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.session-warning {
  color: var(--bh-warn);
  font-size: 13.5px;
}

.team-card {
  background: var(--bh-bg);
  border: 1px solid var(--bh-line);
  border-radius: var(--bh-radius-m);
  padding: var(--bh-space-3);
  margin-bottom: var(--bh-space-2);
}

.team-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

.team-member {
  font-size: 14px;
  padding: 2px 0 2px 20px;
}

/* Debrief tab */
.debrief-empty {
  color: var(--bh-ink-soft);
  font-size: 13.5px;
}

.debrief-list {
  display: flex;
  flex-direction: column;
  gap: var(--bh-space-2);
}

.anchor-card {
  background: var(--bh-bg);
  border: 1px solid var(--bh-line);
  border-left: 4px solid var(--bh-amber);
  border-radius: var(--bh-radius-m);
  padding: var(--bh-space-3);
}

.anchor-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.anchor-expert {
  font-weight: 700;
  font-size: 15px;
}

.anchor-title {
  font-size: 13px;
  color: var(--bh-ink-soft);
}

.anchor-cue {
  font-size: 14.5px;
  font-style: italic;
}

.ledger-row {
  font-size: 12.5px;
  color: var(--bh-ink-soft);
  word-break: break-word;
}
