/* =========================================================
   Triplet Panel shell + CRM-Beauty-style dashboard
   Light theme · black + yellow brand
   Sidebar always off-canvas; open via hamburger
   ========================================================= */

.panel-body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 48% 28% at 100% 0%, rgba(255, 221, 8, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 100%, rgba(28, 28, 40, 0.04), transparent 50%),
    #f5f5f7;
  padding-bottom: 4.5rem;
  overflow-x: hidden;
}

.panel-body.panel-menu-open {
  overflow: hidden;
}

/* ——— Hamburger (visual right in RTL) ——— */
.panel-burger {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  left: auto;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 10px 28px rgba(26, 26, 26, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 5px;
}

.panel-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.panel-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.panel-burger.is-open span:nth-child(2) { opacity: 0; }
.panel-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.panel-notif {
  position: fixed;
  top: 0.85rem;
  left: 0.85rem;
  right: auto;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 10px 28px rgba(26, 26, 26, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  color: #1a1a1a;
  text-decoration: none;
}
.panel-notif svg { width: 18px; height: 18px; }
.panel-notif .nav-badge {
  position: absolute;
  top: 4px;
  left: 4px;
}

.panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(18, 18, 22, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.panel-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Black drawer from RIGHT */
.panel-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 95;
  width: min(320px, 88vw);
  height: 100%;
  height: 100dvh;
  background: linear-gradient(180deg, #1c1c24 0%, #121218 100%);
  color: #fff;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.28);
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1rem 1.25rem;
  overflow-y: auto;
}

.panel-sidebar.is-open { transform: translateX(0); }

.panel-sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.panel-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 221, 8, 0.12);
  border: 1px solid rgba(255, 221, 8, 0.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.panel-brand-logo img { width: 26px; height: auto; display: block; }

.panel-sidebar-kicker {
  margin: 0 0 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffdd08;
}

.panel-brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.panel-sidebar-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 1.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.panel-sidebar-label {
  margin: 0.85rem 0 0.3rem;
  padding: 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.panel-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  flex: 1;
}

.panel-sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.panel-sidebar-nav a.is-active,
.panel-sidebar-nav a:hover {
  background: rgba(255, 221, 8, 0.16);
  color: #ffdd08;
}

.nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffdd08;
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 800;
}

.panel-sidebar-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 4px;
}
.panel-user strong { display: block; font-size: 0.9rem; }
.panel-user small { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; }

.panel-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffdd08, #f0c400);
  color: #1a1a1a;
  font-weight: 800;
  flex-shrink: 0;
}
.panel-user-avatar.sm { width: 34px; height: 34px; font-size: 0.85rem; }

.panel-sidebar-logout button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  background: #ffdd08;
  color: #1a1a1a;
  cursor: pointer;
}
.panel-sidebar-logout button:hover { filter: brightness(1.05); }

/* ——— Shell / page head (non-dashboard) ——— */
.panel-shell { width: 100%; min-height: 100dvh; }

.panel-pagehead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0.65rem 1.15rem;
}
.panel-pagehead-spacer {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.panel-pagehead strong {
  flex: 1;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.panel-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem 1.15rem 2rem;
}

.panel-main--flush {
  max-width: none;
  padding: 0 0 2rem;
}
.panel-main--flush .dash-body {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.15rem;
}

/* ——— Bottom nav ——— */
.panel-bottom-nav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(520px, calc(100% - 1.2rem));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 0.4rem 0.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(28, 28, 40, 0.08);
  box-shadow: 0 12px 36px rgba(26, 26, 26, 0.12);
}

.panel-bottom-nav a,
.panel-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.4rem 0.2rem;
  border: 0;
  background: transparent;
  border-radius: 12px;
  color: #7a7a88;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.panel-bottom-nav .bn-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.panel-bottom-nav .bn-icon svg { width: 20px; height: 20px; }
.panel-bottom-nav a.is-active {
  color: #1a1a1a;
  background: rgba(255, 221, 8, 0.35);
}

@media (min-width: 900px) {
  .panel-body { padding-bottom: 1.5rem; }
  .panel-bottom-nav { display: none; }
  .panel-main { padding: 0.75rem 1.5rem 2.5rem; }
  .panel-main--flush { padding: 0 0 2.5rem; }
  .panel-main--flush .dash-body { padding: 0 1.5rem; }
}

/* =========================================================
   DASHBOARD (CRM-Beauty structure · black/yellow)
   ========================================================= */
.dash { width: 100%; overflow: hidden; }

.dash-hero {
  position: relative;
  margin: 0 0 1.15rem;
  padding: 4.6rem 1.25rem 1.65rem;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 70% at 85% 15%, rgba(255, 221, 8, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 8% 90%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(160deg, #2a2a34 0%, #1a1a22 55%, #121218 100%);
  overflow: hidden;
  width: 100%;
}

.dash-hero-inner { position: relative; z-index: 2; }

.panel-body--home .panel-burger {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.panel-body--home .panel-burger span { background: #ffdd08; }
.panel-body--home .panel-notif {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #ffdd08;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Leaderboard: یک صفحه بدون اسکرول */
.panel-body--lb {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding-bottom: 0 !important;
}
.panel-body--lb .panel-shell {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.panel-body--lb .panel-main {
  flex: 1 1 auto;
  min-height: 0;
  max-width: none;
  padding: 0 !important;
  height: auto;
  display: flex;
  flex-direction: column;
}
.panel-body--lb .panel-bottom-nav {
  display: none !important;
}
.panel-body--lb .panel-burger {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(18, 18, 26, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.panel-body--lb .panel-burger span { background: #12121a; }
.panel-body--lb .panel-notif {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(18, 18, 26, 0.08);
  color: #12121a;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 221, 8, 0.18);
  border: 1px solid rgba(255, 221, 8, 0.35);
  color: #ffdd08;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dash-name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.dash-name em { font-style: normal; color: #ffdd08; }

.dash-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 500;
}

.dash-body { display: flex; flex-direction: column; gap: 1rem; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.dash-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 0.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.04);
  text-decoration: none;
  color: #1a1a1a;
  transition: transform 0.2s ease, box-shadow 0.2s;
}
.dash-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.08);
  color: #1a1a1a;
}

.dash-tile-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff6b0, #ffdd08);
  color: #1a1a1a;
}
.dash-tile-circle svg { width: 22px; height: 22px; }
.dash-tile-label { font-size: 0.82rem; font-weight: 700; text-align: center; }

.dash-compare {
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.04);
}
.dash-compare-head h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a;
}
.dash-compare-head p {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: #6b6c7c;
}
.dash-compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dash-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 28, 40, 0.1);
  background: #fff;
  color: #1a1a1a !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.dash-compare-btn:hover {
  background: #fffef0;
  border-color: rgba(255, 221, 8, 0.55);
  color: #1a1a1a !important;
  transform: translateY(-1px);
}
.dash-compare-btn--dark {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffdd08 !important;
}
.dash-compare-btn--dark:hover {
  background: #2a2a34;
  border-color: #2a2a34;
  color: #ffdd08 !important;
}

.member-avatar-card .member-avatar-preview {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #fff6b0, #ffdd08);
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 221, 8, 0.45);
  flex-shrink: 0;
}
.member-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-avatar-preview svg {
  width: 52%;
  height: 52%;
  color: #1a1a1a;
  opacity: .75;
}

.desk-analytics {
  display: none;
  flex-direction: column;
  gap: 0.9rem;
}

.desk-ai-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
}
.desk-ai-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  color: #ffdd08;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.desk-ai-copy { flex: 1; min-width: 0; }
.desk-ai-copy strong { display: block; margin-bottom: 2px; color: #1a1a1a; }
.desk-ai-copy p { margin: 0; font-size: 0.86rem; color: #6b6c7c; line-height: 1.65; }
.desk-ai-meters {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.desk-ai-meters > div {
  text-align: center;
  padding: 6px 10px;
  border-radius: 12px;
  background: #f7f7f9;
}
.desk-ai-meters span { display: block; font-size: 0.68rem; color: #9a9aab; font-weight: 600; }
.desk-ai-meters strong { font-size: 1rem; color: #1a1a1a; }

.desk-top-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 0.9rem;
}

.desk-pulse {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(160deg, #1c1c24, #121218);
  color: #fff;
}
.desk-pulse-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffdd08;
  margin-bottom: 12px;
}
.desk-pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.desk-pulse-grid > div {
  text-align: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.desk-pulse-grid span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.desk-pulse-grid strong {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.desk-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.desk-stat {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
}
.desk-stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #9a9aab;
  margin-bottom: 8px;
}
.desk-stat-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.desk-stat em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.75rem;
  color: #9a9aab;
  font-weight: 600;
}
.desk-stat-accent {
  background: linear-gradient(160deg, #fff 40%, #fff8c8);
  border-color: rgba(255, 221, 8, 0.45);
}

.desk-mid-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.9rem;
}

.desk-panel {
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
}
.desk-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.desk-panel-head h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
}
.desk-panel-head p {
  margin: 0;
  font-size: 0.8rem;
  color: #9a9aab;
}
.desk-week-pill {
  text-align: end;
}
.desk-week-pill span {
  display: block;
  font-size: 0.7rem;
  color: #9a9aab;
  font-weight: 600;
}
.desk-week-pill strong {
  font-size: 1.15rem;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}

.desk-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  min-height: 160px;
  padding: 8px 2px 0;
}
.desk-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.desk-bar-tracks {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  min-height: 120px;
}
.desk-bar {
  width: 10px;
  border-radius: 6px 6px 3px 3px;
  height: var(--h, 0%);
  min-height: 4px;
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.desk-bar-expected { background: rgba(26, 26, 26, 0.12); }
.desk-bar-collected { background: #ffdd08; }
.desk-bar-day {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9a9aab;
}

.desk-legend {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b6c7c;
}
.desk-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-inline-end: 5px;
}
.desk-legend .lg-exp { background: rgba(26, 26, 26, 0.16); }
.desk-legend .lg-col { background: #ffdd08; }

.desk-ops {
  display: grid;
  gap: 8px;
}
.desk-op {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: #f7f7f9;
}
.desk-op span { font-size: 0.84rem; font-weight: 600; color: #6b6c7c; }
.desk-op strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}
.desk-op--warn strong { color: #c9411a; }
.desk-op--danger strong { color: #c62828; }

.desk-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.desk-kpi-list { display: grid; gap: 12px; }
.desk-kpi-item { }
.desk-kpi-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.desk-kpi-top strong { font-size: 0.9rem; color: #1a1a1a; }
.desk-kpi-top span { font-weight: 800; color: #c9411a; font-variant-numeric: tabular-nums; }
.desk-kpi-meta { font-size: 0.75rem; color: #9a9aab; margin-bottom: 8px; }
.desk-meter {
  height: 4px;
  border-radius: 99px;
  background: rgba(28, 28, 40, 0.08);
  overflow: hidden;
}
.desk-meter > span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg, #ffdd08, #f0c400);
  border-radius: inherit;
}

.dash-feed {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
}
.dash-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.dash-feed-head h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.dash-feed-head a {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 2px solid #ffdd08;
}
.dash-feed-list { list-style: none; margin: 0; padding: 0; }
.dash-feed-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 28, 40, 0.06);
}
.dash-feed-list li:last-child { border-bottom: 0; }
.dash-feed-list strong { display: block; color: #1a1a1a; margin-bottom: 2px; }
.dash-feed-list p { margin: 0 0 4px; color: #6b6c7c; font-size: 0.86rem; line-height: 1.6; }
.dash-feed-list small { color: #b0b0bc; font-size: 0.74rem; }
.dash-empty {
  padding: 16px 4px;
  color: #9a9aab;
  font-size: 0.9rem;
}

.mob-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.mob-stat {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
}
.mob-stat span { display: block; font-size: 0.75rem; color: #9a9aab; font-weight: 600; margin-bottom: 6px; }
.mob-stat strong {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums;
}

.dash-reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: dashRise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
.dash-reveal.is-in { opacity: 1; }
@keyframes dashRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 900px) {
  .dash-hero { margin: 0 0 1.25rem; }
  .dash-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .dash-tile {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
  .dash-tile-circle { width: 40px; height: 40px; }
  .dash-tile-circle svg { width: 18px; height: 18px; }
  .desk-analytics { display: flex; }
  .mob-only { display: none !important; }
}

@media (max-width: 899px) {
  .desk-only { display: none !important; }
  .desk-analytics { display: none !important; }
}

@media (max-width: 560px) {
  .dash-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Global light polish for all pages inside panel-main */
.panel-main .page-head {
  margin-bottom: 1rem;
}
.panel-main .page-head h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.panel-main .content-card,
.panel-main .stat-card {
  border-radius: 18px;
  border: 1px solid rgba(28, 28, 40, 0.07);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.04);
}
.panel-main .btn-primary {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffdd08;
  font-weight: 700;
  border-radius: 12px;
}
.panel-main .btn-primary:hover {
  background: #2a2a34;
  border-color: #2a2a34;
  color: #ffdd08;
}
.panel-main .btn-outline-primary {
  border-color: #1a1a1a;
  color: #1a1a1a;
  border-radius: 12px;
  font-weight: 700;
}
.panel-main .btn-outline-primary:hover {
  background: #ffdd08;
  border-color: #ffdd08;
  color: #1a1a1a;
}
.panel-main .table {
  --bs-table-bg: transparent;
}
.panel-main .table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  color: #9a9aab;
  border-bottom-width: 1px;
  white-space: nowrap;
}
.panel-main .form-control,
.panel-main .form-select {
  border-radius: 12px;
  border-color: rgba(28, 28, 40, 0.12);
  min-height: 44px;
}
.panel-main .form-control:focus,
.panel-main .form-select:focus {
  border-color: #ffdd08;
  box-shadow: 0 0 0 3px rgba(255, 221, 8, 0.28);
}

/* Wizard / PDF upload polish */
.wizard-shell { max-width: 640px; margin: 0 auto; }
.wizard-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}
.wizard-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
  font-size: 0.8rem;
  font-weight: 700;
  color: #9a9aab;
}
.wizard-step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0f0f3;
  color: #6b6c7c;
  font-size: 0.75rem;
}
.wizard-step.is-active {
  border-color: rgba(255, 221, 8, 0.55);
  color: #1a1a1a;
  background: linear-gradient(180deg, #fffef5, #fff);
}
.wizard-step.is-active span {
  background: #1a1a1a;
  color: #ffdd08;
}
.wizard-step.is-done {
  border-color: rgba(26, 26, 26, 0.12);
  color: #1a1a1a;
}
.wizard-step.is-done span {
  background: #ffdd08;
  color: #1a1a1a;
}
.wizard-card {
  padding: 1.35rem 1.25rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(28, 28, 40, 0.07);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.05);
}
.wizard-card-head h1 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
}
.wizard-card-head p {
  margin: 0 0 1.1rem;
  color: #6b6c7c;
  line-height: 1.7;
}
.wizard-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 2rem 1.25rem;
  border-radius: 18px;
  border: 2px dashed rgba(28, 28, 40, 0.14);
  background: #fafafb;
  cursor: pointer;
  text-align: center;
  margin-bottom: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.wizard-dropzone.is-drag,
.wizard-dropzone:hover {
  border-color: #ffdd08;
  background: #fffdf0;
}
.wizard-drop-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  color: #ffdd08;
  margin-bottom: 4px;
}
.wizard-dropzone strong { color: #1a1a1a; font-size: 1rem; }
.wizard-dropzone span { color: #9a9aab; font-size: 0.85rem; }
.wizard-submit {
  background: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #ffdd08 !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  min-height: 52px;
}

@media (prefers-reduced-motion: reduce) {
  .dash-reveal, .desk-bar { animation: none !important; transition: none !important; }
  .dash-reveal { opacity: 1; transform: none; }
}

@media print {
  .panel-burger, .panel-overlay, .panel-sidebar, .panel-pagehead, .panel-bottom-nav, .panel-notif { display: none !important; }
  .panel-body { padding: 0; background: #fff; }
  .panel-main { max-width: none; padding: 0; }
}
