@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: rgba(59,130,246,0.12);
  --primary-border: rgba(59,130,246,0.3);
  --bg: #020817;
  --surface: #0d1526;
  --surface-2: #162035;
  --border: #1e2f4a;
  --border-light: #243554;
  --text: #e2e8f0;
  --text-muted: #6b82a0;
  --text-dim: #4a5f7a;
  --success: #22c55e;
  --success-light: rgba(34,197,94,0.12);
  --success-border: rgba(34,197,94,0.25);
  --danger: #ef4444;
  --danger-light: rgba(239,68,68,0.12);
  --danger-border: rgba(239,68,68,0.25);
  --warning: #f59e0b;
  --warning-light: rgba(245,158,11,0.12);
  --warning-border: rgba(245,158,11,0.25);
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
}

/* --- Navbar --- */
.navbar {
  background: linear-gradient(135deg, #0a1128 0%, #0d1a35 100%);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand .brand-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}
.navbar-brand span {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
}
.navbar-user {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
.navbar-user a { color: var(--text-muted); text-decoration: none; transition: color .15s; }
.navbar-user a:hover { color: var(--text); }
.navbar-user .user-chip {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--text);
  font-size: 12px;
}

/* --- Layout --- */
.container { max-width: 1280px; margin: 0 auto; padding: 28px 28px; }

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
}
.page-header-sub { color: var(--text-muted); font-size: 13px; margin-top: 3px; }

.back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
  transition: color .15s;
}
.back-link:hover { color: var(--text); }

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card-body { padding: 20px; }

/* --- Project Grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.project-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.project-card:hover::before { opacity: 1; }
.project-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}
.project-card-sub {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.project-card-stats { display: flex; gap: 0; border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; }
.stat-item { flex: 1; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.stat-value { font-size: 17px; font-weight: 600; font-family: 'Montserrat', sans-serif; color: var(--text); }
.stat-value.ok { color: var(--success); }
.stat-value.warn { color: var(--warning); }
.stat-value.over { color: var(--danger); }

/* --- Progress Bar --- */
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--primary);
  transition: width .4s;
}
.progress-fill.warning { background: var(--warning); }
.progress-fill.danger { background: var(--danger); }

/* --- Project Meta --- */
.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.meta-item { padding: 14px 20px; border-right: 1px solid var(--border); }
.meta-item:last-child { border-right: none; }
.meta-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.meta-value { font-size: 14px; font-weight: 500; color: var(--text); }

/* --- Tabs --- */
.tabs {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
  overflow-x: auto;
}
.tab-btn {
  padding: 13px 22px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Tables --- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-dim);
  white-space: nowrap;
}
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(59,130,246,0.04); }
.table-actions { display: flex; gap: 4px; }
.tnum { text-align: right; font-variant-numeric: tabular-nums; font-family: 'Inter', sans-serif; }
.sum-row td {
  font-weight: 600;
  background: rgba(59,130,246,0.06) !important;
  border-top: 1px solid var(--border-light);
  color: var(--text);
}
.imported-row td { opacity: 0.45; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge-success { background: var(--success-light); color: var(--success); border: 1px solid var(--success-border); }
.badge-warning { background: var(--warning-light); color: var(--warning); border: 1px solid var(--warning-border); }
.badge-danger { background: var(--danger-light); color: var(--danger); border: 1px solid var(--danger-border); }
.badge-info { background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-border); }
.badge-muted { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

/* --- Member Tags --- */
.member-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--text-muted);
}
.member-tag-list { display: flex; flex-wrap: wrap; gap: 4px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--border); border-color: var(--border-light); }
.btn-danger { background: var(--danger-light); color: var(--danger); border-color: var(--danger-border); }
.btn-danger:hover { background: rgba(239,68,68,0.2); }
.btn-sm { padding: 5px 11px; font-size: 12px; }
.btn-icon {
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  transition: all .15s;
  line-height: 1;
}
.btn-icon:hover { background: var(--surface-2); color: var(--text); }
.btn-icon.danger:hover { background: var(--danger-light); color: var(--danger); }

/* --- Forms --- */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-group select option { background: var(--surface-2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 72px; }

/* --- Checkbox list (multi-select) --- */
.checkbox-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  max-height: 160px;
  overflow-y: auto;
  padding: 6px;
}
.checkbox-list:empty::after { content: 'Keine Benutzer vorhanden'; color: var(--text-dim); font-size: 12px; padding: 8px; display: block; }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .1s;
  font-size: 13px;
  color: var(--text);
  user-select: none;
}
.checkbox-item:hover { background: rgba(59,130,246,0.08); }
.checkbox-item input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; accent-color: var(--primary); flex-shrink: 0; }
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .1s;
}
.form-check:hover { background: rgba(59,130,246,0.08); }
.form-check input[type="checkbox"],
.form-check input[type="radio"] { width: 15px; height: 15px; cursor: pointer; accent-color: var(--primary); }
.form-check label { font-size: 13px; color: var(--text); cursor: pointer; user-select: none; }

/* --- Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 16px;
}
.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.modal-body { padding: 22px; }
.modal-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* --- Login --- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, #0d1a35 0%, #020817 70%);
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 44px;
  width: 380px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.login-logo h1 span { color: var(--primary); }
.login-logo p { font-size: 13px; color: var(--text-muted); margin-top: 5px; }
.login-form .form-group { margin-bottom: 16px; }
.login-form .form-group label { display: block; margin-bottom: 6px; }
.login-form .form-group input { width: 100%; }
.login-btn { width: 100%; padding: 11px; margin-top: 8px; font-size: 14px; font-weight: 600; }
.login-error {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger-border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

/* --- Reports --- */
.report-section { margin-bottom: 32px; }
.report-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.report-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.report-filters .form-group { margin: 0; min-width: 160px; }
.perf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.perf-card-header {
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.perf-card-header .ap-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.print-only { display: none; }

@media print {
  .navbar, .back-link, .btn, .no-print { display: none !important; }
  .print-only { display: block; }
  body { background: white; color: black; }
  .card, .perf-card { border: 1px solid #ccc; box-shadow: none; }
  th { background: #f0f0f0; color: #333; }
  td { color: #333; border-color: #ddd; }
  .modal-overlay { display: none !important; }
}

/* --- Misc --- */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-dim);
}
.empty-state strong { display: block; font-size: 15px; color: var(--text-muted); margin-bottom: 6px; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.calc-hint { color: var(--primary); font-weight: 600; font-size: 12px; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  border: 1px solid transparent;
  animation: slideIn .2s ease;
}
.toast.success { background: var(--success-light); color: var(--success); border-color: var(--success-border); }
.toast.error { background: var(--danger-light); color: var(--danger); border-color: var(--danger-border); }
@keyframes slideIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ======================================================
   RESPONSIVE
   ====================================================== */

/* Tablet */
@media (max-width: 960px) {
  .container { padding: 20px; }
  .project-meta { grid-template-columns: repeat(2, 1fr); }
  .meta-item:nth-child(even) { border-right: none; }
  .meta-item:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* Mobile */
@media (max-width: 640px) {
  .container { padding: 12px; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal { margin: 0; border-radius: 12px 12px 0 0; max-height: 95dvh; align-self: flex-end; }
  .modal-overlay { align-items: flex-end; }

  /* Navbar */
  .navbar { padding: 0 14px; height: 52px; }
  .navbar-brand span { display: none; }
  .navbar-user { gap: 12px; font-size: 12px; }

  /* Page header */
  .page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-header h1 { font-size: 18px; }

  /* Card header */
  .card-header { flex-wrap: wrap; gap: 8px; }

  /* Meta grid */
  .project-meta { grid-template-columns: 1fr 1fr; }
  .meta-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .meta-item:last-child { border-bottom: none; }

  /* Tables — horizontal scroll hint */
  .table-wrap {
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  .table-wrap::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 24px;
    background: linear-gradient(to right, transparent, rgba(13,21,38,0.7));
    pointer-events: none;
  }

  /* Tabs */
  .tab-btn { padding: 11px 16px; font-size: 12px; }

  /* Toast to center-bottom on mobile */
  .toast { right: 12px; left: 12px; text-align: center; bottom: 16px; }

  /* Help panel full width */
  .help-panel { width: 100%; right: -100%; }

  /* Report filters stacked */
  .card-body [style*="display:flex"] { flex-direction: column; align-items: stretch !important; }
}

/* Small mobile */
@media (max-width: 400px) {
  .container { padding: 8px; }
  .project-meta { grid-template-columns: 1fr; }
  .meta-item:nth-child(n+2) { border-top: 1px solid var(--border); }
  .login-card { padding: 28px 20px; width: 100%; margin: 16px; }
}

/* ======================================================
   HELP PANEL
   ====================================================== */

.help-toggle-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}
.help-toggle-btn:hover,
.help-toggle-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 20px rgba(59,130,246,0.4); }

.help-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 290;
  backdrop-filter: blur(1px);
}
.help-backdrop.open { display: block; }

.help-panel {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  height: 100vh;
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 300;
  overflow-y: auto;
  transition: right .3s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}
.help-panel.open { right: 0; }

.help-panel-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
  flex-shrink: 0;
}
.help-panel-header-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.help-panel-header-title::before {
  content: '?';
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.help-section {
  border-bottom: 1px solid var(--border);
}
.help-section-title {
  padding: 13px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  transition: background .15s;
  user-select: none;
}
.help-section-title:hover { background: var(--surface-2); }
.help-section-arrow { transition: transform .2s; color: var(--text-dim); flex-shrink: 0; font-size: 10px; }
.help-section.hs-open .help-section-arrow { transform: rotate(90deg); }
.help-section-body {
  display: none;
  padding: 4px 20px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}
.help-section.hs-open .help-section-body { display: block; }
.help-section-body p { margin-bottom: 10px; }
.help-section-body p:last-child { margin-bottom: 0; }
.help-section-body strong { color: var(--text); font-weight: 600; }
.help-section-body ul { padding-left: 18px; margin-bottom: 0; }
.help-section-body li { margin-bottom: 6px; }
.help-section-body li:last-child { margin-bottom: 0; }
.help-tip {
  display: flex;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--primary);
}
.help-tip::before { content: '💡'; flex-shrink: 0; }

@media print {
  .help-toggle-btn, .help-panel, .help-backdrop { display: none !important; }
}
