/* === CSS Variables === */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-tertiary: #1a1a1a;
  --bg-elevated: #242424;
  --bg-hover: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-tertiary: #606060;
  --accent: #4a9eff;
  --accent-hover: #6bb3ff;
  --accent-dim: rgba(74, 158, 255, 0.15);
  --danger: #e74c3c;
  --danger-dim: rgba(231, 76, 60, 0.15);
  --success: #2ecc71;
  --warning: #f39c12;
  --border: #2a2a2a;
  --border-light: #333;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 12px rgba(0,0,0,0.5);
  --transition: 200ms ease;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* === Utility === */
.hidden { display: none !important; }
.flex-grow { flex: 1; }

/* === Auth Screen === */
.auth-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-primary);
}
.auth-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  text-align: center;
}
.auth-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.auth-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.auth-card form { display: flex; flex-direction: column; gap: 0.75rem; }
.auth-card input {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.auth-card input:focus { border-color: var(--accent); }
.auth-error {
  color: var(--danger);
  font-size: 0.85rem;
  text-align: left;
}

/* === Spinner === */
.loading { padding: 2rem; }
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Toast === */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 300ms ease;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--text-primary);
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-ghost { border-color: var(--border); color: var(--text-secondary); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-hover); color: var(--text-primary); }
.btn-danger { background: var(--danger-dim); color: var(--danger); border-color: transparent; }
.btn-danger:hover:not(:disabled) { background: var(--danger); color: #fff; }
.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.8rem; }
.btn-xs { padding: 0.2rem 0.5rem; font-size: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-back { padding: 0.4rem 0.8rem; }

/* === Header === */
.header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
  height: 56px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: -0.5px;
}
.nav {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}
.nav-item {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.nav-item:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-item.active { color: var(--accent); background: var(--accent-dim); }
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.username { color: var(--text-secondary); font-size: 0.85rem; }

/* === Main Content === */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}
.view { display: none; }
.view.active { display: block; }

/* === Section Header === */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}
.section-header h2 { font-size: 1.4rem; font-weight: 600; }
.sub-header {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 1.5rem 0 0.75rem;
}

/* === Badge === */
.badge {
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.15rem 0.6rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* === Card === */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.form-card { margin-bottom: 1.5rem; }
.form-card h3 { margin-bottom: 1rem; font-size: 1.1rem; }

/* === Forms === */
.form-group { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }
.form-group label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.8rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }
.form-group select { cursor: pointer; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 0.5rem; }

/* === Empty / Error text === */
.empty-text { color: var(--text-tertiary); font-style: italic; padding: 1rem 0; }
.empty-text.small { padding: 0.5rem 0; font-size: 0.85rem; }
.error-text { color: var(--danger); }
.more-link { color: var(--accent); cursor: pointer; padding: 0.25rem 0; font-size: 0.85rem; }
.more-link:hover { text-decoration: underline; }

/* === Dashboard === */
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .dashboard-grid { grid-template-columns: 1fr; } }

/* === Meeting Cards === */
.meeting-cards { display: flex; flex-direction: column; gap: 0.5rem; }
.meeting-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.meeting-card:hover { border-color: var(--accent); background: var(--bg-tertiary); }
.meeting-card.past { opacity: 0.5; }
.meeting-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  color: var(--accent);
}
.meeting-card-date .day { font-size: 0.75rem; text-transform: uppercase; }
.meeting-card-date .date { font-size: 1rem; font-weight: 600; }
.meeting-card-info h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.meeting-meta { display: flex; gap: 1rem; color: var(--text-secondary); font-size: 0.8rem; flex-wrap: wrap; }

/* === Pool === */
.pool-list { display: flex; flex-direction: column; gap: 0.5rem; }
.pool-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: border-color var(--transition);
}
.pool-item:hover { border-color: var(--border-light); }
.pool-item-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.35rem; }
.pool-item-header h3 { font-size: 0.95rem; }
.pool-item-meta { display: flex; gap: 1rem; color: var(--text-secondary); font-size: 0.8rem; flex-wrap: wrap; }
.pool-item-guests { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.pool-item-guests .label { font-size: 0.8rem; color: var(--text-secondary); }
.pool-item-doc { margin-top: 0.4rem; }
.pool-item-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.pool-preview { margin-top: 0.75rem; }
.pool-preview-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.pool-preview-item:last-child { border-bottom: none; }
.item-duration-badge {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.item-duration-badge.small { font-size: 0.7rem; padding: 0.05rem 0.35rem; }

/* === Guest Tags === */
.guest-tag {
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
  font-size: 0.75rem;
}
.guest-tag.small { font-size: 0.7rem; padding: 0.05rem 0.35rem; }

/* === Doc Link === */
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--accent);
}
.doc-link.small { font-size: 0.75rem; }

/* === Drop Zone === */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  transition: all var(--transition);
}
.drop-zone p { color: var(--text-tertiary); font-size: 0.85rem; margin-bottom: 0.5rem; }
.drop-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.drop-zone input {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
}
.drop-zone input:focus { border-color: var(--accent); }

/* === New Item Form === */
.new-item-form { margin-bottom: 1.5rem; }
.new-item-form h3 { margin-bottom: 1rem; font-size: 1.1rem; }

/* === Meeting Detail === */
.meeting-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.meeting-title-area { flex: 1; }
.meeting-title-area h2 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.meeting-meta-bar {
  display: flex;
  gap: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.meeting-layout { display: flex; gap: 1.5rem; }
.meeting-layout.with-sidebar { }
.meeting-sidebar {
  width: 260px;
  flex-shrink: 0;
}
.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-section h3 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-items { display: flex; flex-direction: column; gap: 0.3rem; }
.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.7rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: grab;
  transition: all var(--transition);
}
.sidebar-item:hover { border-color: var(--accent); background: var(--bg-tertiary); }
.sidebar-item.template { border-left: 3px solid var(--warning); }
.sidebar-item.dragging { opacity: 0.5; }

.agenda-area { flex: 1; min-width: 0; }

/* === Agenda Timeline === */
.agenda-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  min-height: 100px;
}
.agenda-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.35rem;
  transition: all var(--transition);
}
.agenda-item:hover { border-color: var(--border-light); }
.agenda-item[draggable="true"] { cursor: grab; }
.agenda-item[draggable="true"]:active { cursor: grabbing; }
.agenda-item.dragging { opacity: 0.4; }
.agenda-item.template-instance {
  border-left: 3px solid var(--warning);
}

.agenda-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 65px;
  flex-shrink: 0;
}
.agenda-time .start-time {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.agenda-time .duration {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.agenda-content { flex: 1; min-width: 0; }
.agenda-subject { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.agenda-requester { font-size: 0.8rem; color: var(--text-secondary); }
.agenda-guests { margin-top: 0.3rem; display: flex; gap: 0.3rem; flex-wrap: wrap; }

.agenda-actions { display: flex; gap: 0.3rem; flex-shrink: 0; align-items: flex-start; }

/* === Drop Indicator === */
.drop-indicator {
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.15rem 0;
  transition: opacity 150ms;
}
.drop-indicator.hidden { opacity: 0; height: 0; margin: 0; }

/* === User Management === */
.user-list { display: flex; flex-direction: column; gap: 0.5rem; }
.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.user-name { font-weight: 600; font-size: 0.95rem; }
.user-meta { display: flex; gap: 0.75rem; align-items: center; margin-top: 0.2rem; }
.user-meta .username { color: var(--text-secondary); font-size: 0.8rem; }
.role-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
}
.role-badge.admin { background: var(--accent-dim); color: var(--accent); }
.role-badge.user { background: var(--bg-elevated); color: var(--text-secondary); }
.user-actions { display: flex; gap: 0.4rem; }

/* === Meeting Management === */
.meeting-list { display: flex; flex-direction: column; gap: 0.5rem; }
.meeting-manage-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.meeting-manage-info h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.meeting-manage-actions { display: flex; gap: 0.4rem; }

/* === Template Management === */
.template-list { display: flex; flex-direction: column; gap: 0.5rem; }
.template-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--warning);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.template-info { display: flex; align-items: center; gap: 0.75rem; }
.template-name { font-weight: 600; }
.template-actions { display: flex; gap: 0.4rem; }

/* === Help / Documentation === */
.help-page { max-width: 800px; }
.help-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.help-header h1 { font-size: 1.6rem; font-weight: 700; }
.help-subtitle { color: var(--text-secondary); margin-top: 0.25rem; }
.help-search-box { flex-shrink: 0; }
.help-search-input {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 250px;
  outline: none;
  transition: border-color var(--transition);
}
.help-search-input:focus { border-color: var(--accent); }

/* TOC */
.help-toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.help-toc h3 { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.help-toc ol { padding-left: 1.25rem; }
.help-toc li { margin: 0.3rem 0; }
.help-toc a {
  color: var(--accent);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.help-toc a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Sections */
.help-section {
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.help-section.admin-section { border-left: 3px solid var(--accent); }
.help-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: background var(--transition);
  user-select: none;
}
.help-section-header:hover { background: var(--bg-tertiary); }
.help-section-header h2 { flex: 1; font-size: 1.05rem; font-weight: 600; }
.help-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.help-chevron {
  color: var(--text-tertiary);
  font-size: 1rem;
  transition: transform var(--transition);
}
.help-section-header.open .help-chevron { transform: rotate(180deg); }

.help-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}
.help-section-body.open {
  max-height: 3000px;
  padding: 0 1.25rem 1.25rem;
}

/* Cards within sections */
.help-card {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
}
.help-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.help-card p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.5rem; }
.help-card p:last-child { margin-bottom: 0; }
.help-card code {
  background: var(--bg-elevated);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--accent);
}

/* Lists */
.help-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
.help-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.help-list li::before {
  content: '\2022';
  color: var(--accent);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* Steps */
.help-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.help-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
}
.help-step div { flex: 1; }
.help-step strong { color: var(--text-primary); display: block; margin-bottom: 0.15rem; }
.help-step p { color: var(--text-secondary); line-height: 1.5; margin: 0; }

/* Tip box */
.help-tip {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.6rem 0.9rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.help-tip strong { color: var(--accent); }

/* Admin badge */
.admin-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  vertical-align: middle;
  margin-left: 0.4rem;
}

/* Roles */
.help-roles { display: flex; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.help-role {
  flex: 1;
  min-width: 200px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.help-role ul { margin-top: 0.4rem; padding-left: 1rem; }
.help-role li { color: var(--text-secondary); font-size: 0.85rem; margin: 0.2rem 0; }
.help-role-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.3rem;
}
.help-role-badge.user { background: var(--bg-hover); color: var(--text-secondary); }
.help-role-badge.admin { background: var(--accent-dim); color: var(--accent); }

/* FAQ */
.help-faq-item {
  border-bottom: 1px solid var(--border);
  margin-top: 0.5rem;
}
.help-faq-item:last-child { border-bottom: none; }
.help-faq-q {
  padding: 0.65rem 0;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
  position: relative;
  padding-right: 1.5rem;
  transition: color var(--transition);
}
.help-faq-q:hover { color: var(--accent); }
.help-faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 1.2rem;
  font-weight: 400;
}
.help-faq-q.open::after { content: '\2212'; }
.help-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  padding: 0;
}
.help-faq-a.open {
  max-height: 300px;
  padding: 0 0 0.75rem;
}
.help-faq-a p { color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* === Responsive === */
@media (max-width: 900px) {
  .meeting-layout { flex-direction: column; }
  .meeting-sidebar { width: 100%; }
  .sidebar-items { flex-direction: row; flex-wrap: wrap; }
  .sidebar-item { flex: 0 0 auto; }
}

@media (max-width: 600px) {
  .header { padding: 0 0.75rem; gap: 0.5rem; }
  .nav { overflow-x: auto; gap: 0; }
  .nav-item { padding: 0.5rem 0.6rem; font-size: 0.8rem; }
  .main-content { padding: 1rem; }
  .form-row { flex-direction: column; gap: 0; }
  .meeting-meta-bar { flex-direction: column; gap: 0.25rem; }
  .help-header { flex-direction: column; }
  .help-search-input { width: 100%; }
  .help-roles { flex-direction: column; }
}
