.terminal.meeting {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  height: 100%;
}

.nav-link {
  color: #9a9a9a;
  text-decoration: none;
}

.nav-link:hover {
  color: #c8c8c8;
}

.meeting-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #3a3a3a;
}

.mode-label {
  color: #777;
  font-size: 12px;
  text-transform: lowercase;
}

#meetingMode {
  background: #333;
  color: #c8c8c8;
  border: 1px solid #555;
  font: inherit;
  font-size: 12px;
  padding: 0.2rem 0.4rem;
}

.mode-hint {
  color: #666;
  font-size: 11px;
}

.meeting-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #444;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #9a9a9a;
  font-size: 12px;
}

.status {
  margin-left: auto;
  color: #888;
  font-size: 12px;
}

.status.recording {
  color: #c97a7a;
}

.meeting-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  padding-top: 0.75rem;
}

@media (max-width: 800px) {
  .meeting-panels {
    grid-template-columns: 1fr;
  }
}

.panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel h2 {
  margin: 0 0 0.5rem;
  font-size: 12px;
  font-weight: normal;
  color: #777;
  text-transform: lowercase;
}

.transcript-hint {
  margin: 0 0 0.35rem;
  font-size: 10px;
  color: #666;
}

.panel .terminal-log {
  flex: 1;
  max-height: 50vh;
  border: 1px solid #444;
  padding: 0.75rem;
}

.line.transcript-line {
  cursor: context-menu;
}

.line.transcript-line:hover {
  background: #3a3a3a;
}

.speaker-menu {
  position: fixed;
  z-index: 2000;
  min-width: 11rem;
  padding: 0.25rem 0;
  background: #2e2e2e;
  border: 1px solid #555;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.speaker-menu button {
  display: block;
  width: 100%;
  padding: 0.45rem 0.75rem;
  border: none;
  background: transparent;
  color: #c8c8c8;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.speaker-menu button:hover:not(:disabled) {
  background: #444;
}

.speaker-menu button:disabled {
  color: #666;
  cursor: default;
}

.speaker-menu .menu-sep {
  height: 1px;
  margin: 0.3rem 0.5rem;
  background: #444;
}

.terminal-log.slice-mode-on .line.transcript-line:not(.slice-active) {
  opacity: 0.45;
}

.line.slice-active {
  outline: 1px solid #6a8aaa;
  background: #323845;
  cursor: default;
}

.line.slice-active .slice-body {
  display: inline;
}

.sentence-chunk {
  background: rgba(106, 138, 170, 0.22);
  border-radius: 2px;
  padding: 0 2px;
}

.slice-gap {
  display: inline-block;
  margin: 0 0.15rem;
  padding: 0 0.35rem;
  border: none;
  border-radius: 2px;
  background: rgba(201, 122, 122, 0.35);
  color: #e8c0c0;
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  vertical-align: middle;
  cursor: pointer;
}

.slice-gap:hover {
  background: #c97a7a;
  color: #fff;
}

.slice-gap::before {
  content: "✂ ";
}

.analysis-panel {
  flex: 1;
  margin: 0 0 1rem;
  padding: 0.75rem;
  border: 1px solid #444;
  background: #333;
  color: #b0b0b0;
  font-size: 11px;
  overflow: auto;
  max-height: 50vh;
  line-height: 1.45;
}

.analysis-empty {
  margin: 0;
  color: #666;
}

.analysis-block {
  margin-bottom: 0.85rem;
}

.analysis-block h3 {
  margin: 0 0 0.35rem;
  font-size: 11px;
  font-weight: normal;
  text-transform: lowercase;
}

.analysis-block h3.investor,
.analysis-block h3.partner {
  color: #8ab4d4;
}

.analysis-block h3.company {
  color: #d4a85c;
}

.analysis-summary {
  margin: 0 0 0.65rem;
  color: #c8c8c8;
}

.analysis-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
  color: #888;
  font-size: 10px;
}

.analysis-tags {
  margin: 0.2rem 0 0.45rem;
  color: #9a9a9a;
}

.analysis-tone {
  margin: 0 0 0.4rem;
  font-style: italic;
  color: #888;
}

.analysis-insufficient {
  margin: 0.2rem 0 0.5rem;
  color: #888;
  font-size: 10px;
}

.score-row {
  display: grid;
  grid-template-columns: 7.5em 1fr 2.2em;
  align-items: center;
  gap: 0.35rem;
  margin: 0.15rem 0;
  font-size: 10px;
}

.score-row .bar {
  height: 4px;
  background: #444;
  border-radius: 1px;
  overflow: hidden;
}

.score-row .bar i {
  display: block;
  height: 100%;
  background: #7a9a7a;
}

.score-row.investor .bar i,
.score-row.partner .bar i {
  background: #6a8aaa;
}

.score-row.company .bar i {
  background: #aa8a4a;
}

.score-row .val {
  text-align: right;
  color: #777;
}

.score-row.high .val {
  color: #c97a7a;
}

.analysis-points {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  color: #9a9a9a;
}

.analysis-points li {
  margin: 0.15rem 0;
}

.analysis-hints {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  color: #a08060;
}

.analysis-hints li::before {
  content: "doc · ";
}

.analysis-raw {
  margin-top: 0.75rem;
  border-top: 1px solid #444;
  padding-top: 0.5rem;
}

.analysis-raw summary {
  cursor: pointer;
  color: #666;
  font-size: 10px;
}

.analysis-raw pre {
  margin: 0.4rem 0 0;
  font: inherit;
  font-size: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #888;
}

.line.investor .label,
.line.partner .label {
  color: #8ab4d4;
}

.line.company .label {
  color: #d4a85c;
}

.line.processing {
  color: #666;
  font-style: italic;
}

.line.warning {
  color: #e85c5c;
  font-weight: bold;
  font-size: 12px;
}

.line.warning .label {
  color: #ff4444;
}

.stats-bar {
  margin-top: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-top: 1px solid #3a3a3a;
  color: #666;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.stats-bar span {
  margin-right: 0.75em;
  white-space: nowrap;
}

.stats-bar .warn {
  color: #a08060;
}
