#root {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.app {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  height: 100%;
  padding: 16px;
  background: #f5f5f5;
}

.left-panel,
.right-panel {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  min-height: 0;
}

.panel {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.panel-title {
  font-weight: 700;
  font-size: 16px;
}

.transcript-panel {
  flex: 1 1 0;
  min-height: 0;
}

.answer-panel {
  flex: 0 0 auto;
}

.transcript-content,
.answer-content {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #f0f0f0;
  height: 100%;
  overflow-y: auto;
}

.transcript-line {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 4px;
  padding: 4px 0;
  border-bottom: 1px solid #f4f4f4;
  font-size: 14px;
}

.transcript-line:last-child {
  border-bottom: none;
}

.transcript-line.live {
  color: #111827;
}

.transcript-time {
  color: #111827;
  font-size: 12px;
  text-align: left;
}

.transcript-text {
  color: #111827;
  font-weight: 600;
}

.answer-list {
  list-style: decimal;
  padding-left: 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.controls {
  display: flex;
  gap: 12px;
}

button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}

.record-btn {
  background: #e5e7eb;
  color: #111827;
}

.record-btn.recording {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.stop-btn {
  background: #111827;
  color: #fff;
}

.save-btn {
  background: #2563eb;
  color: #fff;
}

.meeting-list {
  flex: 1;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 12px;
  overflow-y: auto;
  background: #fafafa;
}

.meeting-item {
  margin-bottom: 10px;
}

.meeting-button {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  background: transparent;
  color: #111827;
  text-align: left;
  padding: 6px 8px;
  border-radius: 8px;
}

.meeting-button:hover {
  background: #f3f4f6;
}

.bullet {
  font-size: 18px;
  color: #111827;
}

.meeting-checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.list-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.edit-btn {
  background: #111827;
  color: #fff;
}

.delete-btn {
  background: #ef4444;
  color: #fff;
}

.cancel-btn {
  background: #e5e7eb;
  color: #111827;
}

.placeholder {
  color: #9ca3af;
  font-size: 14px;
}

.error-banner {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.hint {
  font-size: 12px;
  color: #6b7280;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
