/* meetings.css — Meeting Prep page styles */

/* Page layout */
.meetings-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Meeting Context Bar ──────────────────────────────────────── */

.meeting-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.meeting-who {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.meeting-who h2 {
  font-size: 1.4rem;
  font-weight: 500;
}

.meeting-when {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meeting-stats {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ── Story Card (full-width hero) ─────────────────────────────── */

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  display: flex;
  overflow: hidden;
}

.story-body {
  flex: 1;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.story-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.story-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warn);
  font-weight: 600;
  margin-bottom: 6px;
}

.story-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 700px;
}

.story-text .hl {
  color: var(--text-main);
  font-weight: 500;
}

.story-figures {
  display: flex;
  flex-shrink: 0;
  border-left: 1px solid var(--border-subtle);
}

.story-fig {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-subtle);
  min-width: 110px;
}

.story-fig:last-child {
  border-right: none;
}

.story-fig-val {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.story-fig-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Tab Navigation ───────────────────────────────────────────── */

.mtg-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-md);
  align-self: flex-start;
}

.mtg-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.mtg-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.mtg-tab.active {
  background: var(--accent);
  color: white;
}

.mtg-tab .pill-dot {
  width: 7px;
  height: 7px;
}

.mtg-tab.active .pill-dot {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.6);
}

/* ── Tab Panels ───────────────────────────────────────────────── */

.mtg-panels {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(18px);
  min-height: 300px;
}

.mtg-panel {
  display: none;
}

.mtg-panel.active {
  display: block;
  animation: panelFade 0.2s ease;
}

@keyframes panelFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Two-column layout inside tab panels */
.tab-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .tab-two-col {
    grid-template-columns: 1fr;
  }
}

/* Section label inside tab panels */
.tab-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
}

/* ── Ask Items ────────────────────────────────────────────────── */

.ask-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.ask-item {
  padding: 12px 14px;
  border-left: 3px solid var(--warn);
  background: rgba(255, 165, 0, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.ask-num {
  font-size: 0.65rem;
  color: var(--warn);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.ask-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  margin-top: 3px;
}

.ask-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}

/* ── Remind Box ───────────────────────────────────────────────── */

.remind-box {
  margin-top: var(--space-md);
  padding: 14px;
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.remind-box .r-item {
  margin-bottom: 8px;
}

.remind-box .r-item:last-child {
  margin-bottom: 0;
}

.remind-box strong {
  color: var(--accent);
  font-weight: 500;
}

/* ── Link Items (resources, docs) ─────────────────────────────── */

.link-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

a.res-link,
.res-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  transition: background var(--transition-fast);
  border-left: 2px solid transparent;
}

a.res-link:hover {
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.res-link .res-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.res-link .res-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

/* Border-left colors */
.res-link.bl-ok      { border-left-color: var(--ok); }
.res-link.bl-warn    { border-left-color: var(--warn); }
.res-link.bl-info    { border-left-color: var(--info); }
.res-link.bl-accent  { border-left-color: var(--accent); }

/* ── Tags ─────────────────────────────────────────────────────── */

.tag {
  display: inline-block;
  font-size: 0.6rem;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 500;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.tag-live {
  background: rgba(81, 207, 102, 0.12);
  color: var(--ok);
}

.tag-local {
  background: rgba(255, 165, 0, 0.12);
  color: var(--warn);
}

.tag-gdoc {
  background: rgba(51, 154, 240, 0.12);
  color: var(--info);
}

.tag-folder {
  background: rgba(107, 86, 196, 0.12);
  color: var(--accent);
}

/* ── Section Labels ───────────────────────────────────────────── */

.section-break {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 14px 12px 6px;
  font-weight: 600;
}

/* ── Remind box margin reset inside tabs ──────────────────────── */

.mtg-panel .remind-box {
  margin-top: 0;
}
