/* ============================================================
   myskillsKenya - PROFESSIONAL WHITE CANVAS (pt 1/3)
   Loaded LAST on index.html, login.html, register.html ONLY.
   Scoped to body.msk-pro / body.msk-pro-auth. No IDs, auth,
   routing or Supabase touched. Theme.js elsewhere untouched.
   ============================================================ */

body.msk-pro .bg-nodes, body.msk-pro-auth .bg-nodes { display: none !important; }
.msk-pro .msk-hero-shell::before, .msk-pro .msk-hero-shell::after { display: none !important; }
.msk-pro .msk-hero-illustration svg, .msk-pro .banner-illus svg,
.msk-pro .header-illus svg, .msk-pro .msk-path-divider,
.msk-pro-auth .msk-auth-network { display: none !important; }
.msk-pro .header-illus,
.msk-pro .banner-illus { display: none !important; }
/* ---- pt 4: neutralise the old stage decoration on the white canvas ---- */
.msk-pro .hero-visual::before,
.msk-pro .hero-visual::after { display: none !important; }
.msk-pro .hero-visual { min-height: 0 !important; }
.msk-pro .msk-path-field::before { display: none !important; }
/* Theme toggle stays visible on all pages (light default, light/dark/system). */
/* UNIVERSAL WHITE BACKGROUND: landing + auth pages are authoritatively white. */
body.msk-pro, body.msk-pro-auth { background: var(--background); }
html[data-theme="dark"] body.msk-pro, html[data-theme="dark"] body.msk-pro-auth { background: var(--background); }
.msk-pro .hero-grid > .hero-stats {
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
}
/* Shared header treatment: solid white universal navigation. */
.msk-pro .site-header, .msk-pro-auth .site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
html[data-theme="dark"] .msk-pro .site-header, html[data-theme="dark"] .msk-pro-auth .site-header {
  background: var(--surface);
  border-bottom-color: var(--border);
}
.msk-pro .header-inner { min-height: 68px; }
.msk-pro .main-nav a { font-size: .9rem; font-weight: 600; color: var(--text-secondary); padding: 8px 12px; border-radius: 8px; }
.msk-pro .main-nav a.active, .msk-pro .main-nav a:hover { color: var(--text); background: var(--surface-secondary); }
.msk-pro .brand-name { color: var(--text); }
html[data-theme="dark"] .msk-pro .main-nav a { color: var(--text-secondary); }
html[data-theme="dark"] .msk-pro .main-nav a.active, html[data-theme="dark"] .msk-pro .main-nav a:hover { color: var(--text); background: var(--surface-secondary); }
/* Landing hero wrapper is transparent over the universal white page. */
.msk-pro .hero { padding: 56px 0 28px !important; background: var(--background); }
.msk-pro .hero-grid { display: grid !important; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr) !important; gap: 40px 56px !important; align-items: center !important; }
.msk-pro .hero-copy .eyebrow { display: inline-block; background: var(--surface-secondary); color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.msk-pro .hero-copy h1 { font-size: clamp(2.1rem,3.6vw,3.15rem) !important; line-height: 1.08 !important; letter-spacing: -.03em !important; color: var(--text) !important; text-shadow: none !important; margin: 16px 0 14px !important; }
.msk-pro .hero-copy h1 .hero-hl { color: var(--primary) !important; }
.msk-pro .hero-copy p { color: var(--text-secondary) !important; font-size: 1.05rem !important; max-width: 36rem; }
.msk-pro .mk-hero-search { background: var(--surface) !important; border: 1px solid var(--border) !important; box-shadow: 0 8px 24px rgba(0,0,0,.12) !important; border-radius: 14px !important; }
.msk-pro .hero-actions { margin-top: 18px !important; }
.pro-hero-photo { position: relative; margin: 0; }
.pro-hero-photo > img { width: 100%; height: 480px; object-fit: cover; display: block; border-radius: 18px; border: 1px solid #e4e9f2; box-shadow: 0 20px 50px rgba(16,24,40,.12); background: #eef2f8; }
.pro-hero-badge { position: absolute; left: 18px; bottom: 18px; background: #fff; border: 1px solid #e4e9f2; border-radius: 14px; box-shadow: 0 12px 30px rgba(16,24,40,.14); padding: 12px 14px; display: flex; gap: 12px; align-items: center; max-width: min(340px,calc(100% - 36px)); }
.pro-hero-badge strong { display: block; font-size: .92rem; color: #101828; }
.pro-hero-badge span { display: block; font-size: .8rem; color: #667085; }
.pro-hero-badge .pro-dot { width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px; display: grid; place-items: center; background: #1a56db; color: #fff; font-weight: 800; font-size: 1.05rem; }
.pro-hero-mini { position: absolute; right: -14px; top: 26px; width: 168px; border-radius: 14px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 14px 34px rgba(16,24,40,.18); background: #fff; }
.pro-hero-mini img { width: 100%; height: 112px; object-fit: cover; display: block; }
/* ---- pt 2: metrics band, product band, editorial sections ---- */
.msk-pro .hero-grid > .hero-stats { grid-column: 1 / -1 !important; display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; border-top: 1px solid #e4e9f2 !important; border-bottom: 1px solid #e4e9f2 !important; background: #fff !important; box-shadow: none !important; backdrop-filter: none !important; padding: 18px 0 !important; margin: 8px 0 0 !important; list-style: none !important; }
.msk-pro .hero-grid > .hero-stats li { padding: 4px 28px !important; border: 0 !important; }
.msk-pro .hero-grid > .hero-stats li + li { border-left: 1px solid #e4e9f2 !important; }
.msk-pro .hero-grid > .hero-stats li::before { display: none !important; }
.msk-pro .hero-stats strong { font-size: 1.5rem !important; color: #101828 !important; }
.msk-pro .hero-stats span { color: #667085 !important; font-size: .88rem; }
.msk-pro .hero-card, .msk-pro .card-glass--band { background: #f8fafd !important; border: 1px solid #e4e9f2 !important; box-shadow: none !important; backdrop-filter: none !important; border-radius: 16px !important; }
.msk-pro .hero-journey { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.msk-pro .msk-industry-strip { margin-top: 16px !important; }
.msk-pro .msk-industry-chip { background: #f2f5fa !important; backdrop-filter: none !important; color: #475467 !important; }
.msk-pro .section { padding: 56px 0 !important; }
.msk-pro .section-header h2, .msk-pro h2 { letter-spacing: -.02em !important; color: #101828 !important; }
.msk-pro .section-header p { color: #475467 !important; }
.msk-pro .job-card { background: #fff !important; border: 1px solid #e4e9f2 !important; box-shadow: 0 1px 2px rgba(16,24,40,.05) !important; border-radius: 14px !important; }
.msk-pro .job-card:hover { box-shadow: 0 10px 28px rgba(16,24,40,.10) !important; }
.msk-pro .page-banner { background: #f8fafd !important; border: 1px solid #e4e9f2 !important; box-shadow: none !important; }
.pro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pro-split img { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; border: 1px solid #e4e9f2; box-shadow: 0 16px 40px rgba(16,24,40,.10); background: #eef2f8; }
.pro-kicker { font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #1a56db; }
.pro-split h2 { font-size: clamp(1.6rem,2.4vw,2.1rem); line-height: 1.15; margin: 10px 0 12px; color: #101828; }
.pro-split p { color: #475467; line-height: 1.7; }
.pro-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pro-list li { display: flex; gap: 10px; align-items: flex-start; color: #344054; font-size: .95rem; }
.pro-list li::before { content: "✓"; color: #fff; background: #0b7a53; border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .75rem; flex: 0 0 22px; margin-top: 1px; }
.pro-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.pro-grid figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid #e4e9f2; background: #fff; }
.pro-grid img { width: 100%; height: 220px; object-fit: cover; display: block; background: #eef2f8; }
.pro-grid figcaption { padding: 10px 12px; font-size: .82rem; font-weight: 700; color: #344054; }
.pro-grid figcaption small { display: block; font-weight: 500; color: #667085; }
.pro-cta { background: #0b1424; border-radius: 20px; color: #fff; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.pro-cta > div { padding: 44px 40px; }
.pro-cta h2 { color: #fff !important; font-size: clamp(1.6rem,2.4vw,2.2rem); margin: 0 0 10px; letter-spacing: -.02em; }
.pro-cta p { color: #c3cfe0 !important; }
.pro-cta img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
/* ---- pt 3: auth split + responsive + motion safety ---- */
.msk-pro-auth .auth-page { background: transparent !important; padding: 0 !important; min-height: calc(100vh - 69px); display: block !important; }
.msk-pro-auth .auth-shell { width: 100% !important; max-width: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; min-height: calc(100vh - 69px); }
/* ---- LEFT VISUAL: light editorial split (replaces the old dark #0b1424 stage) ---- */
.msk-pro-auth .auth-visual { --pw: clamp(240px, 40vh, 420px); background: #eef2f8 !important; color: #101828 !important; padding: 0 !important; position: relative; overflow: hidden; display: flex !important; flex-direction: column; justify-content: flex-start !important; min-height: 100%; box-shadow: 1px 0 0 rgba(16,24,40,.07); }
/* legacy blue radial glow behind the panel — no longer used */
.msk-pro-auth .auth-visual::before { display: none !important; }
/* real professional photography, lightened for a calm editorial feel */
.msk-pro-auth .auth-visual img.pro-auth-img { position: relative; inset: auto; width: 100%; height: var(--pw) !important; object-fit: cover; flex: 0 0 auto; opacity: .93; filter: saturate(.86) brightness(1.07) contrast(.97); }
/* light veil + feather that blends the photo into the light panel */
.msk-pro-auth .auth-visual::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--pw); background: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.10) 44%, rgba(238,242,248,.55) 88%, rgba(238,242,248,1) 100%); pointer-events: none; }
.msk-pro-auth .auth-visual-inner { position: relative; z-index: 1; flex: 0 0 auto; padding: 34px 40px 44px; }
.msk-pro-auth .auth-visual h2 { color: #101828 !important; }
.msk-pro-auth .auth-visual p { color: #475467 !important; }
.msk-pro-auth .auth-visual .eyebrow { background: #ffffff !important; color: #1a56db !important; border-color: #d4e0f5 !important; }
.msk-pro-auth .auth-role-links a { background: rgba(255,255,255,.92) !important; border-color: #ccd7ea !important; color: #344054 !important; backdrop-filter: none !important; box-shadow: 0 1px 2px rgba(16,24,40,.05) !important; }
.msk-pro-auth .auth-role-links a:hover { background: #e8eefa !important; border-color: #b9c8e4 !important; transform: none !important; }
.msk-pro-auth .auth-role-links a[aria-current="true"] { background: #1a56db !important; border-color: #1a56db !important; color: #ffffff !important; box-shadow: 0 6px 16px rgba(26,86,219,.24) !important; }
.msk-pro-auth .auth-role-note { color: #667085 !important; }
.msk-pro-auth .feature-list .feature-item { background: rgba(255,255,255,.92) !important; border-color: #e1e8f4 !important; color: #344054 !important; }
.msk-pro-auth .feature-list .feature-item:hover { background: #ffffff !important; border-color: #c9d6ec !important; transform: translateX(3px) !important; }

/* ---- ROLE-SPECIFIC PANELS: same solid white page for every role ----
   UNIVERSAL WHITE BACKGROUND: Skill Learner / Employer / Admin login and
   registration share one solid white page. Role forms, validation and
   redirects are untouched; only the old role background treatments go white. */
body.msk-pro-auth[data-auth-role="learner"] .auth-visual,
body.msk-pro-auth[data-auth-role="employer"] .auth-visual,
body.msk-pro-auth[data-auth-role="admin"] .auth-visual,
body.msk-pro-auth[data-auth-page="register"] .auth-visual { background: #FFFFFF; }
body.msk-pro-auth[data-auth-role="learner"] .auth-visual::after,
body.msk-pro-auth[data-auth-role="employer"] .auth-visual::after,
body.msk-pro-auth[data-auth-role="admin"] .auth-visual::after,
body.msk-pro-auth[data-auth-page="register"] .auth-visual::after { background: none; }
/* Retired role treatments below (kept commented so history stays visible):
body.msk-pro-auth[data-auth-role="learner"] .auth-visual { background: #edf2fa !important; } */
body.msk-pro-auth[data-auth-role="learner"] .auth-visual::after { background: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.10) 44%, rgba(237,242,250,.55) 88%, rgba(237,242,250,1) 100%); }
/* Employer: hiring / teams / workplace photography */
body.msk-pro-auth[data-auth-role="employer"] .auth-visual { background: #eef1f0 !important; }
body.msk-pro-auth[data-auth-role="employer"] .auth-visual::after { background: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.10) 44%, rgba(238,241,240,.55) 88%, rgba(238,241,240,1) 100%); }
/* Admin: no photography — restrained geometric / data-grid treatment */
body.msk-pro-auth[data-auth-role="admin"] .auth-visual { background: linear-gradient(rgba(16,24,40,.05) 1px, transparent 1px) 0 0 / 100% 34px, linear-gradient(90deg, rgba(16,24,40,.05) 1px, transparent 1px) 0 0 / 34px 100%, #f5f7fa !important; }
body.msk-pro-auth[data-auth-role="admin"] .auth-visual img.pro-auth-img { display: none !important; }
body.msk-pro-auth[data-auth-role="admin"] .auth-visual::after { display: none !important; }
.msk-pro-auth .form-card { padding: clamp(32px,5vw,72px) !important; display: flex; flex-direction: column; justify-content: center; background: #fff !important; }
.msk-pro-auth .form-card h2 { color: #101828 !important; }
.msk-pro-auth .form-card form { max-width: 440px; width: 100%; }
@media (max-width: 1024px) {
  .msk-pro .hero-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .pro-hero-photo > img { height: 380px; }
  .pro-hero-mini { right: 12px; }
  .pro-split { grid-template-columns: 1fr; gap: 24px; }
  .pro-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pro-cta { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .msk-pro-auth .auth-shell { grid-template-columns: 1fr !important; }
  .msk-pro-auth .auth-visual { min-height: 340px; }
  .msk-pro-auth .auth-visual-inner { padding: 28px 22px; }
}
@media (max-width: 640px) {
  .msk-pro .hero { padding: 36px 0 20px !important; }
  .pro-hero-photo > img { height: 300px; }
  .pro-hero-mini { display: none; }
  .msk-pro .hero-grid > .hero-stats { grid-template-columns: 1fr !important; }
  .msk-pro .hero-grid > .hero-stats li + li { border-left: 0 !important; border-top: 1px solid #e4e9f2 !important; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-grid img { height: 200px; }
  .pro-split img { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .msk-pro *, .msk-pro-auth * { animation: none !important; transition: none !important; }
}

/* ============================================================
   pt 4: AUTH ROLE-SPECIFIC GEOMETRIC VISUALS (visual only)
   ------------------------------------------------------------
   The left .auth-visual panel carried a full-bleed Unsplash
   stock photograph + wiped-feather gradient. That photography
   is the "old background" — it is replaced by a premium,
   restrained light geometric system painted with layered
   CSS/SVG (no photos, no glows, no blobs, no animations):

     * Skill Learner — skills-growth visual: rising stepped
       pathway + certificate medallion + skill nodes.
     * Employer      — hiring/workforce visual: org chart +
       magnifier-over-talent + team nodes.
     * Admin         — platform-management visual: data grid +
       shield-check + control nodes.

   Selectors hook the EXISTING body[data-auth-role] attribute
   (set by background.js / page head pre-paint). The role SVG
   layer (.auth-role-art) is injected by the existing page
   scripts. Nothing below touches layout, auth, Supabase,
   routing, theme.js or the homepage (body.msk-pro).
   ============================================================ */

/* --- photo teardown: the old background must never paint --- */
.msk-pro-auth .auth-visual .pro-auth-img,
.msk-pro-auth .auth-visual img.pro-auth-img,
.msk-pro-auth .auth-visual #authPhoto { display: none !important; }

/* veil restoration: the ::after was sized/positioned for the photo
   (top strip only, photo-tinted feather). Redefine per role below. */
.msk-pro-auth .auth-visual::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  height: auto !important;
  pointer-events: none !important;
}

/* role art layer retired: no decorative motif over the white auth panels. */
.msk-pro-auth .auth-role-art,
.msk-pro-auth .auth-role-art svg { display: none; }
.msk-pro-auth .auth-visual-inner { z-index: 1 !important; }

/* ---- UNIVERSAL WHITE AUTH VISUALS (all roles + register) ----
   Old learner/employer/admin gradients retired; panels stay solid white
   with a subtle border so forms remain readable. */
body.msk-pro-auth[data-auth-role="learner"] .auth-visual,
body.msk-pro-auth[data-auth-role="employer"] .auth-visual,
body.msk-pro-auth[data-auth-role="admin"] .auth-visual,
body.msk-pro-auth[data-auth-page="register"] .auth-visual {
  background: var(--surface);
  border: 1px solid var(--border);
}
body.msk-pro-auth[data-auth-role="learner"] .auth-visual::after,
body.msk-pro-auth[data-auth-role="employer"] .auth-visual::after,
body.msk-pro-auth[data-auth-role="admin"] .auth-visual::after,
body.msk-pro-auth[data-auth-page="register"] .auth-visual::after { background: none; }
/* Retired gradient treatments preserved as comments for history:
body.msk-pro-auth[data-auth-role="learner"] .auth-visual { background: linear-gradient(...) #eef3fb; } */

/* ---- EMPLOYER/ADMIN/REGISTER: retired gradients (history only) ----
body.msk-pro-auth[data-auth-role="employer"] .auth-visual { background: #edf3f1; }
body.msk-pro-auth[data-auth-role="admin"] .auth-visual { background: #f3f5f9; }
body.msk-pro-auth[data-auth-page="register"] .auth-visual { background: #eef3fb; } */

/* eyebrow legibility on the light panel (beats the old inline style) */
.msk-pro-auth .auth-visual .eyebrow {
  background: var(--surface-secondary) !important;
  color: var(--primary) !important;
  border: 1px solid var(--border) !important;
}

/* responsive: retired decorative motif layer stays hidden on white. */
@media (max-width: 900px) {
  .msk-pro-auth .auth-role-art { display: none; }
}
@media (max-width: 640px) {
  .msk-pro-auth .auth-role-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .msk-pro-auth .auth-role-art, .msk-pro-auth .auth-role-art * {
    animation: none !important; transition: none !important;
  }
}


/* ============================================================
   DARK THEME OVERRIDES (loaded last; matches !important parity)
   Keeps the professional canvas layout but repaints every
   hardcoded white/ink surface with the shared theme tokens so
   index.html / login.html / register.html follow dark mode.
   ============================================================ */
html[data-theme="dark"] .msk-pro .hero-grid > .hero-stats,
html[data-theme="dark"] .msk-pro .hero-stats {
  background: var(--surface) !important;
  border-top-color: var(--border) !important;
  border-bottom-color: var(--border) !important;
}
html[data-theme="dark"] .msk-pro .hero-stats li + li {
  border-left-color: var(--border) !important;
}
html[data-theme="dark"] .msk-pro .hero-stats strong { color: var(--text) !important; }
html[data-theme="dark"] .msk-pro .hero-stats span { color: var(--text-secondary) !important; }

html[data-theme="dark"] .msk-pro .hero-card,
html[data-theme="dark"] .msk-pro .card-glass--band {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .msk-pro .msk-industry-chip {
  background: rgba(255,255,255,.05) !important;
  color: var(--text-secondary) !important;
}
html[data-theme="dark"] .msk-pro .section-header h2,
html[data-theme="dark"] .msk-pro h2 { color: var(--text) !important; }
html[data-theme="dark"] .msk-pro .section-header p { color: var(--text-secondary) !important; }
html[data-theme="dark"] .msk-pro .job-card {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .msk-pro .job-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.45) !important;
}
html[data-theme="dark"] .msk-pro .page-banner {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}

html[data-theme="dark"] .pro-split h2 { color: var(--text) !important; }
html[data-theme="dark"] .pro-split p { color: var(--text-secondary) !important; }
html[data-theme="dark"] .pro-kicker { color: var(--primary) !important; }
html[data-theme="dark"] .pro-list li { color: var(--text-secondary) !important; }
html[data-theme="dark"] .pro-grid figure {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .pro-grid figcaption { color: var(--text-secondary) !important; }
html[data-theme="dark"] .pro-grid figcaption small { color: var(--text-muted) !important; }

/* auth visual panel + inner text */
html[data-theme="dark"] body.msk-pro-auth[data-auth-role="learner"] .auth-visual,
html[data-theme="dark"] body.msk-pro-auth[data-auth-role="employer"] .auth-visual,
html[data-theme="dark"] body.msk-pro-auth[data-auth-role="admin"] .auth-visual,
html[data-theme="dark"] body.msk-pro-auth[data-auth-page="register"] .auth-visual {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .msk-pro-auth .auth-visual::after { background: none !important; }
html[data-theme="dark"] .msk-pro-auth .auth-visual h2 { color: var(--text) !important; }
html[data-theme="dark"] .msk-pro-auth .auth-visual p { color: var(--text-secondary) !important; }
html[data-theme="dark"] .msk-pro-auth .auth-visual .eyebrow {
  background: var(--surface-secondary) !important;
  color: var(--primary) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .msk-pro-auth .auth-role-links a {
  background: var(--surface-secondary) !important;
  border-color: var(--border) !important;
  color: var(--text-secondary) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .msk-pro-auth .auth-role-links a:hover {
  background: var(--surface-elevated, var(--surface-secondary)) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] .msk-pro-auth .auth-role-links a[aria-current="true"] {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .msk-pro-auth .auth-role-note { color: var(--text-muted) !important; }
html[data-theme="dark"] .msk-pro-auth .feature-list .feature-item {
  background: var(--surface-secondary) !important;
  border-color: var(--border) !important;
  color: var(--text-secondary) !important;
}
html[data-theme="dark"] .msk-pro-auth .feature-list .feature-item:hover {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}

/* ---- hero photo overlays + stacked hero-stats borders (dark) ---- */
html[data-theme="dark"] .pro-hero-photo > img {
  border-color: var(--border) !important;
  background: var(--surface) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.45) !important;
}
html[data-theme="dark"] .pro-hero-badge {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.5) !important;
}
html[data-theme="dark"] .pro-hero-badge strong { color: var(--text) !important; }
html[data-theme="dark"] .pro-hero-badge span { color: var(--text-secondary) !important; }
html[data-theme="dark"] .pro-hero-mini {
  border-color: var(--surface) !important;
  background: var(--surface) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.5) !important;
}
html[data-theme="dark"] .msk-pro .hero-grid > .hero-stats li + li { border-top-color: var(--border) !important; }
