/* ===== CyberHeroesHQ — Parent Portal CSS ===== */
/* Design intent: Warm, trustworthy, family-friendly. Light mode.
   Distinct from the dark anime student SPA and the clinical teacher portal.
   Uses Inter font + soft teals and indigos for a "safe" family feel.
   Now bridges to shared ds-* tokens so p-* and ds-* are unified. */

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

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

:root {
  /* Parent role tokens — existing p-* names preserved */
  --teal-600:   #0d9488;
  --teal-500:   #14b8a6;
  --teal-100:   #ccfbf1;
  --teal-50:    #f0fdfa;
  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --indigo-100: #e0e7ff;
  --slate-900:  #0f172a;
  --slate-800:  #1e293b;
  --slate-700:  #334155;
  --slate-600:  #475569;
  --slate-400:  #94a3b8;
  --slate-200:  #e2e8f0;
  --slate-100:  #f1f5f9;
  --slate-50:   #f8fafc;
  --white:      #ffffff;
  --green-600:  #16a34a;
  --green-100:  #dcfce7;
  --amber-500:  #f59e0b;
  --amber-100:  #fef3c7;
  --red-500:    #ef4444;
  --red-100:    #fee2e2;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Map ds-* tokens to parent vars so shared ds-* classes work */
  --ds-surface:       #ffffff;
  --ds-surface-2:     #f8fafc;
  --ds-border:        #e2e8f0;
  --ds-border-light:  #f1f5f9;
  --ds-text:          #0f172a;
  --ds-text-muted:    #64748b;
  --ds-text-dim:      #94a3b8;
  --ds-primary:       #0d9488;
  --ds-primary-hover: #0f766e;
  --ds-primary-light: #ccfbf1;
  --ds-accent:        #4f46e5;
  --ds-bg:           #f8fafc;
  --ds-success:      #16a34a;
  --ds-success-light:#dcfce7;
  --ds-warning:      #f59e0b;
  --ds-warning-light: #fef3c7;
  --ds-danger:       #ef4444;
  --ds-danger-light: #fee2e2;
  --ds-info:         #6366f1;
  --ds-info-light:    #e0e7ff;
  --ds-radius-sm:    6px;
  --ds-radius-md:    10px;
  --ds-radius-lg:     16px;
  --ds-radius-xl:     20px;
  --ds-shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --ds-shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --ds-shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
  --ds-font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ds-nav-h:        60px;
  --ds-sidebar-w:    0px;
}

body {
  font-family: var(--ds-font);
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  background: var(--ds-bg);
}

a { color: var(--ds-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Auth pages ──────────────────────────────────────────────────────────── */

.p-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--indigo-100) 100%);
}

.p-auth-wrap {
  width: 100%;
  max-width: 460px;
}

.p-auth-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}

.p-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 1.5rem;
}

.p-brand-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}

.p-brand-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.p-auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.p-auth-sub {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

.p-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.p-alert-error {
  background: var(--red-100);
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.p-form { display: flex; flex-direction: column; gap: 16px; }

.p-field { display: flex; flex-direction: column; gap: 6px; }

.p-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}

.p-field input {
  padding: 12px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font);
  color: var(--slate-900);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}

.p-field input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.p-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 22px;
  background: var(--teal-600);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.p-btn-primary:hover {
  background: #0f766e;
  text-decoration: none;
  transform: translateY(-1px);
}

.p-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  background: var(--white);
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.p-btn-secondary:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
  text-decoration: none;
}

.p-btn-sm { padding: 9px 16px; font-size: 13px; }
.p-btn-full { width: 100%; }

.p-auth-help {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--teal-100);
  font-size: 13px;
  color: var(--slate-700);
  line-height: 1.5;
}

.p-auth-footer {
  margin-top: 20px;
  font-size: 13px;
  color: var(--slate-400);
  text-align: center;
}

/* ── Portal layout ──────────────────────────────────────────────────────── */

.p-portal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--slate-50);
}

/* Nav */
.p-nav {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.p-nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  text-decoration: none;
}

.p-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}

.p-nav-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--teal-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 4px;
}

.p-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-600);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.12s;
}

.p-nav-link:hover { background: var(--teal-50); text-decoration: none; }

.p-nav-link-muted { color: var(--slate-400); }
.p-nav-link-muted:hover { background: var(--slate-100); color: var(--slate-600); }

.p-student-switcher {
  padding: 6px 10px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

/* Main content */
.p-main {
  flex: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  width: 100%;
}

.p-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.p-page-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--slate-900);
}

.p-page-sub {
  font-size: 14px;
  color: var(--slate-500);
  margin-top: 4px;
}

.p-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-600);
  margin-bottom: 20px;
}

.p-breadcrumb:hover { text-decoration: underline; }

/* ── Hero card ──────────────────────────────────────────────────────────── */

.p-hero-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.p-hero-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--teal-100), var(--indigo-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-hero-avatar-emoji { font-size: 32px; }

.p-hero-info { flex: 1; min-width: 200px; }

.p-hero-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.p-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.p-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.p-badge-blue {
  background: var(--indigo-100);
  color: var(--indigo-600);
}

.p-meta-item {
  font-size: 13px;
  color: var(--slate-600);
  font-weight: 500;
}

.p-hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.p-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--teal-600);
}

.p-stat-label {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.p-xp-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 400px;
}

.p-xp-bar {
  flex: 1;
  height: 8px;
  background: var(--slate-200);
  border-radius: 99px;
  overflow: hidden;
}

.p-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--indigo-500));
  border-radius: 99px;
  transition: width 0.5s ease;
}

.p-xp-label {
  font-size: 12px;
  color: var(--slate-400);
  white-space: nowrap;
}

.p-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: flex-start;
  flex-shrink: 0;
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.p-section {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.p-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.p-section-sub {
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 20px;
}

/* ── Badge strip (on dashboard) ─────────────────────────────────────────── */

.p-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.p-badge-emoji-large {
  font-size: 28px;
  display: inline-block;
  cursor: default;
  transition: transform 0.15s;
}

.p-badge-emoji-large:hover { transform: scale(1.2); }

.p-link-sm {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-600);
}

/* ── Badge gallery grid ─────────────────────────────────────────────────── */

.p-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.p-badge-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  transition: box-shadow 0.15s;
}

.p-badge-earned {
  background: var(--white);
  border-color: var(--teal-100);
}

.p-badge-earned:hover { box-shadow: var(--shadow-sm); }

.p-badge-locked {
  background: var(--slate-50);
  opacity: 0.6;
  filter: grayscale(60%);
}

.p-badge-icon { font-size: 26px; flex-shrink: 0; }

.p-badge-info { flex: 1; min-width: 0; }

.p-badge-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 2px;
}

.p-badge-desc {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.5;
  margin-bottom: 4px;
}

.p-badge-date, .p-badge-locked-label {
  font-size: 11px;
  color: var(--slate-400);
  font-weight: 500;
}

/* ── Mission timeline ────────────────────────────────────────────────────── */

.p-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
  margin-top: 4px;
}

.p-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--slate-200);
  border-radius: 2px;
}

.p-timeline-item {
  position: relative;
  padding-left: 22px;
  padding-bottom: 20px;
}

.p-timeline-item:last-child { padding-bottom: 0; }

.p-timeline-dot {
  position: absolute;
  left: -14px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--slate-200);
}

.p-dot-green { background: var(--green-600); }
.p-dot-amber { background: var(--amber-500); }
.p-dot-slate { background: var(--slate-400); }

.p-timeline-content {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: box-shadow 0.12s;
}

.p-timeline-content:hover { box-shadow: var(--shadow-sm); }

.p-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.p-timeline-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
}

.p-score-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.p-score-green { background: var(--green-100); color: var(--green-600); }
.p-score-amber { background: var(--amber-100); color: #92400e; }
.p-score-red   { background: var(--red-100);   color: #b91c1c; }

.p-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.p-category-tag, .p-difficulty-tag, .p-attempts-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--slate-200);
  color: var(--slate-600);
  text-transform: capitalize;
}

.p-timeline-date {
  font-size: 11px;
  color: var(--slate-400);
}

/* ── Multi-student grid ─────────────────────────────────────────────────── */

.p-students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.p-student-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s;
}

.p-student-card:hover { box-shadow: var(--shadow-md); }

.p-student-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.p-student-avatar {
  font-size: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-100), var(--indigo-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-student-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.p-student-stats {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.p-mini-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  border-right: 1px solid var(--slate-200);
}

.p-mini-stat:last-child { border-right: none; }

.p-mini-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--teal-600);
}

.p-mini-label {
  font-size: 10px;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.p-student-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 20px;
}

.p-badge-more {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 600;
  align-self: center;
}

/* ── Empty states ────────────────────────────────────────────────────────── */

.p-empty-state {
  text-align: center;
  padding: 60px 24px;
}

.p-empty-state.p-empty-inline {
  padding: 24px;
  background: var(--slate-50);
  border-radius: var(--radius-md);
}

.p-empty-icon { font-size: 48px; margin-bottom: 16px; }

.p-empty-state h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.p-empty-state p {
  font-size: 14px;
  color: var(--slate-500);
  max-width: 380px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* ── Referral banner ────────────────────────────────────────────────────── */

.p-referral-banner {
  background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.p-referral-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.p-referral-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.p-referral-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  max-width: 440px;
}

.p-btn-referral {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--teal-500);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  flex-shrink: 0;
}

.p-btn-referral:hover {
  background: var(--teal-600);
  text-decoration: none;
  transform: translateY(-1px);
  color: var(--white);
}

/* ── Upsell block ────────────────────────────────────────────────────────── */

.p-upsell {
  border: 2px dashed var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 2px;
  margin-bottom: 20px;
}

.p-upsell-inner {
  background: var(--teal-50);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-upsell-inner h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
}

.p-upsell-inner p {
  font-size: 14px;
  color: var(--slate-600);
  max-width: 480px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.p-footer {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid var(--slate-200);
  font-size: 13px;
  color: var(--slate-400);
  background: var(--white);
}

.p-footer a { color: var(--slate-500); margin: 0 6px; }
.p-footer a:hover { color: var(--teal-600); }

/* ── Spring Cyber Cup banner ─────────────────────────────────────────────── */

.p-cup-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  margin-bottom: 20px;
}
.p-cup-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.p-cup-banner-icon { font-size: 28px; flex-shrink: 0; }
.p-cup-banner-text { flex: 1; font-size: 15px; color: var(--slate-800); line-height: 1.4; }
.p-cup-banner-sub { color: var(--slate-600); font-weight: 400; }
.p-cup-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--indigo-600);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.p-cup-banner-cta:hover { background: var(--indigo-500); }
.p-cup-banner-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
}
.p-cup-banner-close:hover { color: var(--slate-700); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .p-auth-card { padding: 32px 24px; }
  .p-hero-card { flex-direction: column; }
  .p-hero-actions { flex-direction: row; flex-wrap: wrap; }
  .p-hero-stats { gap: 16px; }
  .p-nav-inner { gap: 8px; }
  .p-nav-sub { display: none; }
  .p-referral-inner { flex-direction: column; }
  .p-btn-referral { width: 100%; justify-content: center; }
  .p-cup-banner-inner { flex-wrap: wrap; }
  .p-cup-banner-cta { width: 100%; justify-content: center; margin-top: 4px; }

  /* Mobile nav toggle */
  .p-mobile-toggle { display: block !important; }
  #p-nav-actions {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 24px 20px;
    z-index: 99;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  #p-nav-actions.mobile-open { display: flex; }
}
