.bgad-meeting-minutes-root,
.bgad-meeting-archive-root,
.bgad-meeting-summaries-root,
.bgad-meeting-timeline-root {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
}

.bgad-minutes-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

.bgad-minutes-sidebar {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bgad-minutes-last-list,
.bgad-minutes-calendar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bgad-minutes-main {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  min-height: 420px;
}

.bgad-minutes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bgad-minutes-thread {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px;
  min-height: 260px;
  background: #fff;
}

.bgad-minutes-line {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  align-items: center;
}

.bgad-minutes-line:last-child {
  border-bottom: 0;
}

.bgad-minutes-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  background-size: cover;
  background-position: center;
}

.bgad-minutes-time {
  color: #475569;
  min-width: 64px;
  font-family: monospace;
}

.bgad-minutes-text {
  color: #0f172a;
  flex: 1;
}

.bgad-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.bgad-cal-label {
  font-weight: 600;
}
.bgad-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.bgad-cal-cell {
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
  background: #f8fafc;
}
.bgad-cal-cell.available {
  cursor: pointer;
  background: #eef2ff;
}
.bgad-cal-cell.starred {
  border-color: #f59e0b;
  background: #fffbeb;
}
.bgad-cal-cell.pad {
  visibility: hidden;
}

.bgad-toast-tray-left {
  position: fixed;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
}

.bgad-toast {
  background: #0f172a;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.bgad-search-card {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
  background: #fff;
  cursor: pointer;
}

.bgad-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.bgad-summary-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.bgad-summary-badge {
  font-size: 12px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #312e81;
  margin-bottom: 6px;
}

.bgad-summary-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.bgad-summary-meta {
  font-size: 12px;
  color: #475569;
  margin-bottom: 8px;
}

.bgad-summary-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bgad-timeline {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
}

.bgad-timeline-card {
  border-left: 4px solid #94a3b8;
  padding: 8px 10px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 6px;
}

.bgad-timeline-card.starred {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.bgad-timeline-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.bgad-timeline-body {
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
}

.bgad-timeline-card:first-child {
  border-left-color: #2563eb;
}

.bgad-minutes-search input,
.bgad-minutes-search select {
  width: 100%;
}

.bgad-minutes-range {
  display: flex;
  gap: 6px;
}
