/* =========================================================
   کارخانه اختراع — سیستم طراحی (نسخه ۲: الهام از UI اول، گرم و گیمیفای)
========================================================= */
:root {
  --primary: #6d28d9;
  --primary-light: #8b5cf6;
  --primary-bg: #f5f3ff;
  --amber: #f59e0b;
  --amber-deep: #d97706;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --info: #2563eb;
  --info-bg: #dbeafe;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --card: #ffffff;
  --sidebar-bg: #1e1b2e;
  --sidebar-bg-soft: #2a2545;
  --sidebar-line: #3a3360;
  --sidebar-text: #d9d4ec;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 10px 34px rgba(109,40,217,0.10);
  --sidebar-w: 256px;
  --sidebar-w-collapsed: 72px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 10px; }
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; }
.muted { color: var(--muted); }
.mono-tag { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; font-weight: 700; }

/* ===================== دکمه‌ها ===================== */
.btn {
  border: none; border-radius: 10px; padding: 10px 18px;
  font-weight: 700; font-size: 14px; cursor: pointer; transition: 0.15s all;
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #5b21b6; }
.btn-secondary { background: var(--primary-bg); color: var(--primary); }
.btn-secondary:hover { background: #ece7fc; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: #f3f4f6; }
.btn-ink { background: var(--text); color: #fff; }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===================== فرم‌ها ===================== */
label { display: block; font-weight: 600; font-size: 13px; margin: 12px 0 6px; }
input, textarea, select {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: #fff; color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary-light); }
textarea { resize: vertical; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; }
.checkbox-row input { width: auto; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-error { color: var(--danger); font-size: 13px; min-height: 16px; margin-top: 6px; }

/* =========================================================
   لندینگ عمومی
========================================================= */
.lp-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px; position: sticky; top: 0; z-index: 20;
  background: rgba(249,250,251,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.lp-brand { font-weight: 800; font-size: 19px; color: var(--primary); display: flex; gap: 8px; align-items: center; }
.lp-nav-actions { display: flex; gap: 10px; }

.lp-hero { position: relative; padding: 90px 48px 70px; overflow: hidden; background: radial-gradient(circle at 25% 15%, var(--primary-bg), var(--bg) 60%); }
.lp-hero-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.lp-eyebrow-circle {
  width: 86px; height: 86px; border: 2px dashed var(--primary-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 26px;
  font-size: 34px; background: #fff;
}
.lp-hero h1 { font-size: 46px; font-weight: 800; line-height: 1.35; color: var(--text); margin-bottom: 18px; }
.lp-hero h1 .accent { color: var(--primary); }
.lp-hero p.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.lp-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.lp-section { padding: 70px 48px; max-width: 1100px; margin: 0 auto; }
.lp-section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.lp-section-head h2 { font-size: 30px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.lp-section-head p { color: var(--muted); }

.lp-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-process-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; position: relative; }
.lp-process-card .num { font-size: 14px; background: var(--primary); color:#fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.lp-process-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.lp-process-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

.lp-services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-service-card { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.lp-service-card h3 { font-size: 19px; margin-bottom: 10px; }
.lp-service-card p { color: #ded9f7; font-size: 14.5px; }
.lp-service-card ul { margin: 14px 0 0; padding-right: 18px; color: #ded9f7; font-size: 13.5px; }
.lp-service-card li { margin-bottom: 6px; }

.lp-audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-audience-card { text-align: center; padding: 22px; border: 1px dashed var(--border); border-radius: var(--radius-lg); background: #fff; }
.lp-audience-card .emoji { font-size: 30px; margin-bottom: 10px; display: block; }

/* بنر اسلایدی لندینگ */
.lp-banner-slider { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; height: 280px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.lp-banner-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s ease; display: block; }
.lp-banner-slide.active { opacity: 1; }
.lp-banner-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.lp-banner-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.6); cursor: pointer; }
.lp-banner-dot.active { background: #fff; }
@media (max-width: 760px) { .lp-banner-slider { height: 180px; } }

.lp-footer { background: var(--text); color: #cbd5e1; padding: 40px 48px; text-align: center; font-size: 13px; }
.lp-footer a { color: #fff; }

@media (max-width: 900px) {
  .lp-process, .lp-services, .lp-audience { grid-template-columns: 1fr; }
  .lp-hero h1 { font-size: 32px; }
  .lp-nav, .lp-hero, .lp-section, .lp-footer { padding-left: 20px; padding-right: 20px; }
}

/* =========================================================
   ورود / ثبت‌نام
========================================================= */
.auth-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 20% 20%, var(--primary-bg), var(--bg) 60%); padding: 20px; }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 32px; width: 100%; max-width: 420px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.factory-mark { text-align: center; font-weight: 800; font-size: 20px; color: var(--primary); margin-bottom: 4px; }
.auth-subtitle { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.auth-tabs { display: flex; gap: 8px; background: var(--bg); padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.auth-tab { flex: 1; padding: 9px; border: none; background: transparent; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 13.5px; }
.auth-tab.active { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.notice-box { background: var(--warning-bg); color: #92400e; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-top: 10px; }
.back-to-landing { display: block; text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* =========================================================
   اسکلت اصلی اپ + منوی کناری جمع‌شونده (مثل Claude)
========================================================= */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); background: var(--sidebar-bg); color: var(--sidebar-text); display: flex; flex-direction: column;
  flex-shrink: 0; position: sticky; top: 0; height: 100vh; transition: width 0.18s ease; overflow: hidden;
}
.sidebar.collapsed { width: var(--sidebar-w-collapsed); }

.sidebar-brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 14px; border-bottom: 1px solid var(--sidebar-line); }
.sidebar-brand-label { font-weight: 800; font-size: 16px; color: #fff; display: flex; gap: 8px; align-items: center; white-space: nowrap; overflow: hidden; }
.sidebar.collapsed .sidebar-brand-label span.label-text { display: none; }
.sidebar-collapse-btn {
  background: var(--sidebar-bg-soft); border: none; color: var(--sidebar-text); width: 30px; height: 30px; border-radius: 8px;
  cursor: pointer; flex-shrink: 0; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.sidebar-collapse-btn:hover { background: var(--sidebar-line); }
/* در حالت جمع‌شده، آیکن برند و دکمه جمع‌کردن را زیر هم و با فاصله بیشتر می‌چینیم تا روی هم نیفتند */
.sidebar.collapsed .sidebar-brand { flex-direction: column; padding: 16px 8px; gap: 14px; }
.sidebar.collapsed .sidebar-brand-label { font-size: 20px; }

.sidebar-nav { flex: 1; padding: 12px 10px; overflow-y: auto; overflow-x: hidden; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  color: var(--sidebar-text); cursor: pointer; font-size: 14px; font-weight: 600; margin-bottom: 3px;
  white-space: nowrap; position: relative;
}
.nav-item:hover { background: var(--sidebar-bg-soft); }
.nav-item.active { background: var(--primary); color: #fff; }
.nav-item .nav-emoji { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.nav-item .nav-step { font-size: 10px; background: var(--amber); color: #3a2a06; width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-left: 2px; flex-shrink: 0; }
.nav-item.locked { opacity: 0.45; cursor: not-allowed; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 10px; }
.sidebar.collapsed .nav-item .nav-label, .sidebar.collapsed .nav-item .nav-step { display: none; }

.sidebar-footer { padding: 14px; border-top: 1px solid var(--sidebar-line); }
.support-chip { font-size: 12px; color: #b6adda; line-height: 1.6; }
.sidebar.collapsed .sidebar-footer { display: none; }

.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar { display: flex; align-items: center; gap: 14px; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 15; }
.hamburger { display: none; background: none; border: none; font-size: 20px; cursor: pointer; }
.topbar-title { font-weight: 800; font-size: 17px; color: var(--text); }
.topbar-actions { margin-right: auto; display: flex; align-items: center; gap: 12px; }
.icon-btn { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; cursor: pointer; font-size: 15px; position: relative; }
.badge-dot { position: absolute; top: -3px; left: -3px; width: 9px; height: 9px; background: var(--danger); border-radius: 50%; border: 2px solid #fff; }
.user-chip { font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-bg); padding: 7px 12px; border-radius: 999px; }

.login-notice-bar { background: var(--warning-bg); color: #92400e; font-size: 12.5px; text-align: center; padding: 8px 14px; border-bottom: 1px solid #fde8b8; }

.app-content { padding: 26px 28px 60px; max-width: 1180px; width: 100%; margin: 0 auto; }

@media (max-width: 920px) {
  .sidebar { position: fixed; right: -270px; z-index: 60; transition: right 0.2s; box-shadow: var(--shadow); width: var(--sidebar-w) !important; }
  .sidebar.open { right: 0; }
  .sidebar.collapsed .nav-item .nav-label, .sidebar.collapsed .nav-item .nav-step { display: inline; }
  .sidebar.collapsed .nav-item { justify-content: flex-start; padding: 10px 12px; }
  .sidebar.collapsed .sidebar-brand-label span.label-text { display: inline; }
  .sidebar.collapsed .sidebar-footer { display: block; }
  .hamburger { display: block; }
  .app-content { padding: 18px 14px 50px; }
}

/* ===================== عناصر عمومی داشبورد ===================== */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 4px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; }
.stat-card .stat-value { font-size: 26px; font-weight: 800; color: var(--primary); }
.stat-card .stat-label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 18px; }
.card h2 { font-size: 16px; color: var(--text); margin-bottom: 14px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.module-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; cursor: pointer; transition: 0.15s; position: relative; }
.module-card:hover { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.module-card .emoji { font-size: 28px; margin-bottom: 10px; display: block; }
.module-card .step-num {
  position: absolute; top: 14px; left: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.module-card h3 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.module-card p { font-size: 12.5px; color: var(--muted); margin: 0; }
.module-card.locked { opacity: 0.5; cursor: not-allowed; }
.module-card.locked:hover { transform: none; box-shadow: none; border-color: var(--border); }

.doc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; position: relative; }
.doc-card::before {
  content: attr(data-tag); position: absolute; top: -11px; right: 16px; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 999px; letter-spacing: 0.02em;
}

/* پروگرس بار (گیمیفای، گرادیان بنفش) */
.progress-bar { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.progress-bar > div { height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--primary)); }

/* پیل‌های وضعیت */
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.pill-draft { background: #eee; color: #555; }
.pill-submitted { background: var(--info-bg); color: var(--info); }
.pill-under_review, .pill-reviewed { background: var(--warning-bg); color: #92400e; }
.pill-approved, .pill-locked, .pill-completed { background: var(--success-bg); color: var(--success); }
.pill-needs_revision, .pill-rejected { background: var(--danger-bg); color: var(--danger); }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state .emoji { font-size: 34px; display: block; margin-bottom: 10px; }

/* جدول */
.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data-table th { text-align: right; padding: 13px 15px; background: var(--bg); border-bottom: 1px solid var(--border); font-size: 11.5px; color: var(--muted); }
table.data-table td { padding: 13px 15px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr.clickable { cursor: pointer; }
table.data-table tr.clickable:hover { background: var(--primary-bg); }
table.data-table td.clickable { cursor: pointer; color: var(--primary); font-weight: 700; }

/* تب‌ها */
.tabs-row { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.tab-btn {
  flex: 1; min-width: 100px; text-align: center; padding: 10px 8px; border-radius: 10px;
  background: var(--bg); color: var(--muted); font-size: 12.5px; font-weight: 700; cursor: pointer; border: 2px solid transparent;
}
.tab-btn.active { background: var(--primary-bg); color: var(--primary); border-color: var(--primary-light); }
.tab-btn .tab-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background: var(--success); margin-left:5px; }
.tab-btn .tab-dot.off { background: var(--border); }

/* کامنت‌ها */
.comments-block { margin-top: 18px; border-top: 1px dashed var(--border); padding-top: 16px; }
.comments-block h4 { font-size: 13.5px; color: var(--text); margin-bottom: 10px; }
.comment-item { background: var(--bg); border-radius: 10px; padding: 11px 14px; margin-bottom: 8px; }
.comment-item.staff { background: var(--primary-bg); }
.comment-meta { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
.comment-role-tag { background: var(--primary); color: #fff; font-size: 10px; padding: 1px 7px; border-radius: 999px; }
.comment-form-row { display: flex; gap: 8px; margin-top: 10px; }
.comment-form-row textarea { flex: 1; min-height: 44px; }

/* فرم‌های پویای تمرین خلاقیت */
.exercise-field { margin-bottom: 16px; }
.exercise-field label { font-size: 13.5px; }
.list-input-row { display: flex; gap: 8px; margin-bottom: 8px; }
.list-input-row input { flex: 1; }
.list-input-row button { flex-shrink: 0; }

/* نمونه‌های مشابه / دانش پیشین */
.item-card { border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 10px; background: var(--bg); position: relative; }
.item-card .remove-btn { position: absolute; top: 10px; left: 10px; background: none; border: none; color: var(--danger); cursor: pointer; font-size: 14px; }

/* پاپ‌آپ ثبت سریع ایده (دکمه شناور) */
.quick-idea-fab {
  position: fixed; bottom: 26px; left: 26px; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary)); border: none; cursor: pointer;
  box-shadow: var(--shadow); z-index: 40; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1; padding: 0;
}
.quick-idea-fab:hover { filter: brightness(1.08); }
@media (max-width: 920px) {
  .quick-idea-fab { bottom: 20px; left: 16px; width: 50px; height: 50px; font-size: 20px; }
}

/* پنل اعلانات */
.notif-panel { position: fixed; top: 64px; left: 24px; width: 340px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); z-index: 70; }
.notif-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.notif-item { padding: 12px 16px; border-bottom: 1px solid var(--bg); font-size: 13px; cursor: pointer; }
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: var(--primary-bg); }
.notif-item .nt-title { font-weight: 700; margin-bottom: 3px; }
.notif-item .nt-time { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* مودال */
.modal-overlay { position: fixed; inset: 0; background: rgba(30,27,46,0.55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 26px; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; }
.modal.modal-lg { max-width: 720px; }
.modal h3 { margin-bottom: 16px; font-size: 17px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* پاپ‌آپ یادآوری بک‌آپ هنگام ورود */
.login-popup-overlay { position: fixed; inset: 0; background: rgba(30,27,46,0.5); display: flex; align-items: center; justify-content: center; z-index: 110; }
.login-popup { background: #fff; border-radius: var(--radius-lg); padding: 28px; max-width: 420px; text-align: center; }
.login-popup .emoji { font-size: 34px; margin-bottom: 10px; }

/* توست */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--text); color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 14px; z-index: 200; transition: 0.3s; opacity: 0; max-width: 90vw; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* سوئیچ (toggle) */
.switch { position: relative; width: 42px; height: 24px; display: inline-block; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: #d1d5db; border-radius: 999px; cursor: pointer; transition: 0.2s; }
.switch .slider::before { content: ''; position: absolute; width: 18px; height: 18px; right: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.2s; }
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { transform: translateX(-18px); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--bg); gap: 12px; }
.toggle-row:last-child { border-bottom: none; }
.toggle-row .toggle-label { font-size: 13.5px; font-weight: 600; }
.toggle-row .toggle-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* نشان امتیاز گیمیفای (هدر) */
.user-points-chip { background: linear-gradient(135deg, #fde68a, var(--amber)); color: #78350f; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }

/* ===================== چاپ گزارش کاربر ===================== */
.print-report-header { text-align: center; margin-bottom: 20px; }
.print-report-header h1 { font-size: 20px; color: var(--primary); margin-bottom: 6px; }
@media print {
  .sidebar, .app-topbar, .login-notice-bar, .quick-idea-fab, .no-print, .notif-panel { display: none !important; }
  .app-content { padding: 0; max-width: 100%; }
  .main-col { width: 100%; }
  body { background: #fff; }
  .card, .stat-card { break-inside: avoid; border-color: #ccc; }
}

/* ریسپانسیو عمومی */
@media (max-width: 600px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .notif-panel { left: 10px; width: calc(100vw - 20px); }
}
