/* ===== Facilitator Guide Screen ===== */
#screen-facilitator-guide {
  overflow-y: auto;
}

.guide-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
}
.guide-title {
  font-size: 1.8rem;
  text-align: center;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}
.guide-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.guide-phases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-void);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.guide-phase-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.guide-phase-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.guide-phase-btn.active {
  background: var(--cyan);
  color: var(--bg-primary);
  border-color: var(--cyan);
  font-weight: 700;
}
.guide-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.guide-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.guide-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.guide-section-header:hover {
  background: rgba(0, 232, 255, 0.05);
}
.guide-section-icon {
  font-size: 1.3rem;
}
.guide-section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: 1;
}
.guide-section-time {
  font-size: 0.75rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  padding: 2px 8px;
  border: 1px solid var(--cyan);
  border-radius: 3px;
}
.guide-section-toggle {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.guide-section.open .guide-section-toggle {
  transform: rotate(90deg);
}
.guide-section-body {
  display: none;
  padding: 0 20px 20px;
  line-height: 1.7;
}
.guide-section.open .guide-section-body {
  display: block;
}
.guide-say {
  background: rgba(0, 232, 255, 0.08);
  border-left: 3px solid var(--cyan);
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
}
.guide-actions {
  margin: 12px 0;
}
.guide-actions li {
  margin: 6px 0;
  padding-left: 4px;
}
.guide-warn {
  background: rgba(255, 200, 0, 0.1);
  border-left: 3px solid #ffc800;
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 0 6px 6px 0;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.85rem;
}
.guide-table th {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 2px solid var(--border);
  color: var(--cyan);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.guide-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.guide-table tr:hover td {
  background: rgba(0, 232, 255, 0.03);
}
.guide-qa {
  margin: 16px 0;
}
.guide-qa dt {
  font-weight: 700;
  color: var(--cyan);
  margin-top: 16px;
}
.guide-qa dd {
  margin: 4px 0 0 0;
  color: var(--text-primary);
}
.guide-footer {
  margin-top: 32px;
  text-align: center;
}

/* Light theme overrides */
[data-theme="light"] .guide-phases {
  background: var(--bg-void);
}
[data-theme="light"] .guide-phase-btn.active {
  color: #fff;
}
[data-theme="light"] .guide-say {
  background: rgba(8, 145, 178, 0.08);
}
[data-theme="light"] .guide-warn {
  background: rgba(234, 179, 8, 0.1);
}
[data-theme="light"] .guide-section-header:hover {
  background: rgba(8, 145, 178, 0.05);
}
[data-theme="light"] .guide-table tr:hover td {
  background: rgba(8, 145, 178, 0.03);
}
