/* ═════════════════════════════════════════════════════════════════════
   UI-FUTURE — additive glass-neon futuristic polish (site-wide) +
   Training Simulation page styles. Non-destructive: only enhances.
   ═════════════════════════════════════════════════════════════════════ */

/* ── 1. Highlight nav tab: Training Simulation ───────────────────── */
.nav-trainsim-link {
  position: relative;
  font-weight: 800 !important;
  background: linear-gradient(135deg, rgba(45,212,191,.16), rgba(56,189,248,.16)) !important;
  border: 1px solid rgba(45,212,191,.45) !important;
  border-radius: 12px !important;
  box-shadow: 0 0 14px rgba(45,212,191,.28), inset 0 0 12px rgba(56,189,248,.08) !important;
  overflow: hidden;
}
.nav-trainsim-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: tsShimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tsShimmer {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}
.ts-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2dd4bf; box-shadow: 0 0 8px #2dd4bf;
  display: inline-block; margin-left: 6px;
  animation: tsPulse 1.6s ease-in-out infinite;
}
@keyframes tsPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ── 2. Header: deeper glass ─────────────────────────────────────── */
.site-header, header.header {
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

/* ── 3. Hero: stronger aurora ────────────────────────────────────── */
.hero-aurora-glow {
  filter: saturate(1.4);
  animation: tsAuroraDrift 14s ease-in-out infinite alternate;
}
@keyframes tsAuroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: .85; }
  to { transform: translate3d(2%, 2%, 0) scale(1.06); opacity: 1; }
}

/* ── 4. Cards & pills: neon hover lift ───────────────────────────── */
.job-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45,212,191,.55) !important;
  box-shadow: 0 12px 34px rgba(45,212,191,.22), 0 0 0 1px rgba(45,212,191,.25) !important;
}
.cat-pill {
  transition: box-shadow .2s ease, transform .2s ease;
}
.cat-pill.active {
  box-shadow: 0 0 16px rgba(45,212,191,.5) !important;
}
.btn, button.btn {
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover, button.btn:hover { filter: brightness(1.1); }
.btn:active, button.btn:active { transform: scale(.97); }

/* ── 5. Training Simulation page (Expands to full viewport width) ── */
#page-trainsim.page {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(14px, 2.5vw, 40px) !important;
  padding-right: clamp(14px, 2.5vw, 40px) !important;
}
#page-trainsim .ts-shell {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto;
  padding: 14px 0 40px;
}
#page-trainsim .app {
  max-width: 100% !important;
  width: 100% !important;
  padding: 14px 0 30px !important;
}
.ts-sample-preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(99, 102, 241, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  flex-wrap: wrap;
}
.ts-spb-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-spb-sparkle {
  font-size: 1.6rem;
}
.ts-spb-left strong {
  display: block;
  font-size: 0.95rem;
  color: #38bdf8;
}
.ts-spb-left small {
  font-size: 0.78rem;
  color: var(--text2, #9aa3b2);
}
.ts-spb-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ts-spb-join-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.6);
}
.ts-sample-name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ts-sample-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.ts-anonymized-blur-text {
  font-weight: 800;
  color: #f8fafc;
}
.ts-hero {
  position: relative;
  border: 1px solid rgba(45,212,191,.35);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(600px 220px at 12% 0%, rgba(45,212,191,.14), transparent 60%),
    radial-gradient(700px 260px at 88% 100%, rgba(56,189,248,.12), transparent 60%),
    rgba(10, 15, 28, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 30px rgba(45,212,191,.12);
  overflow: hidden;
  margin-bottom: 18px;
}
.ts-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,212,191,.8), rgba(56,189,248,.8), transparent);
}
.ts-hero h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.ts-hero p { margin: 0; color: var(--text2, #9aa3b2); }
.ts-hero-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 14px;
}
.ts-member-badge {
  display: none; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px;
  background: rgba(45,212,191,.12);
  border: 1px solid rgba(45,212,191,.5);
  font-size: .85rem;
}
.ts-ghost-btn {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--text, #e8eaf0);
  border-radius: 10px; padding: 8px 14px;
  cursor: pointer; font-size: .85rem; font-weight: 600;
}
.ts-ghost-btn:hover { border-color: rgba(45,212,191,.6); box-shadow: 0 0 12px rgba(45,212,191,.25); }
.ts-access-status {
  display: flex; align-items: center; gap: 10px;
  padding: 26px; justify-content: center;
  color: var(--text2, #9aa3b2); font-size: .9rem;
}
.ts-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(45,212,191,.25);
  border-top-color: #2dd4bf;
  animation: tsSpin .8s linear infinite;
}
@keyframes tsSpin { to { transform: rotate(360deg); } }

/* ─── Institutional Locked Teaser Showcase ─── */
.ts-lock {
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(20, 32, 48, 0.75) 0%, rgba(10, 15, 28, 0.95) 75%);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(45, 212, 191, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ts-lock-banner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ts-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 9999px;
  color: #5eead4;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ts-live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px #2dd4bf;
  animation: tsPulseGlow 1.8s infinite;
}
@keyframes tsPulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.ts-lock-headline {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ts-lock-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text2, #94a3b8);
  max-width: 860px;
}

/* ─── High-Conversion CTA Deck ─── */
.ts-cta-deck {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ts-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #5865F2, #2dd4bf);
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
}
.ts-join-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.55);
}
.ts-cta-ico {
  font-size: 1.3rem;
}
.ts-cta-txt {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.ts-cta-txt b {
  font-size: 0.94rem;
  font-weight: 800;
}
.ts-cta-txt small {
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 500;
}
.ts-cta-arr {
  font-size: 1.1rem;
  margin-left: 4px;
  transition: transform 0.15s ease;
}
.ts-join-btn:hover .ts-cta-arr {
  transform: translateX(4px);
}
.ts-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 20px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.ts-login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(45, 212, 191, 0.5);
  transform: translateY(-2px);
}
.ts-recheck-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--text2, #94a3b8);
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ts-recheck-btn:hover {
  border-color: #5eead4;
  color: #fff;
}

/* ─── 4 Pillars Grid ─── */
.ts-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .ts-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .ts-pillars-grid {
    grid-template-columns: 1fr;
  }
}
.ts-pillar-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ts-pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.ts-pillar-icon {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.1);
  border-radius: 10px;
}
.ts-pillar-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}
.ts-pillar-desc {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text2, #94a3b8);
}

/* ─── Realistic Blurred Mockup Frame ─── */
.ts-preview-showcase {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #090e1a;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}
.ts-preview-glass-mockup {
  position: relative;
  padding: 14px 18px 24px;
}
.ts-mockup-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ts-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.ts-mockup-dot.red { background: #f43f5e; }
.ts-mockup-dot.yellow { background: #f59e0b; }
.ts-mockup-dot.green { background: #10b981; }
.ts-mockup-title {
  margin-left: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text2, #94a3b8);
}
.ts-mockup-badge {
  margin-left: auto;
  font-size: 0.68rem;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #5eead4;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}
.ts-mockup-body {
  filter: blur(2.5px);
  opacity: 0.55;
  pointer-events: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ts-mockup-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ts-ms-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ts-ms-label {
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--text3, #64748b);
  font-weight: 700;
}
.ts-ms-val {
  font-size: 1rem;
  font-weight: 800;
  color: #5eead4;
}
.ts-mockup-canvas-wireframe {
  height: 90px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.15), rgba(45, 212, 191, 0.02));
  border: 1px dashed rgba(45, 212, 191, 0.3);
  position: relative;
  overflow: hidden;
}
.ts-wire-spline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse at 50% 100%, rgba(45, 212, 191, 0.35), transparent 70%);
}
.ts-mockup-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 24, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ts-overlay-lock-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(45, 212, 191, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(45, 212, 191, 0.2);
  border-radius: 14px;
  padding: 12px 18px;
  max-width: 600px;
}
.ts-ol-icon {
  font-size: 1.5rem;
}
.ts-ol-txt {
  display: flex;
  flex-direction: column;
}
.ts-ol-txt strong {
  font-size: 0.92rem;
  color: #fff;
}
.ts-ol-txt span {
  font-size: 0.74rem;
  color: var(--text2, #94a3b8);
}
.ts-ol-btn {
  margin-left: auto;
  background: #2dd4bf;
  color: #042f2e;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.ts-ol-btn:hover {
  transform: scale(1.04);
}

/* ─── Interactive Sample Telemetry Teaser ─── */
.ts-sample {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ts-sample-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ts-sample-heading {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.ts-sample-sub {
  color: var(--text2, #9aa3b2);
  font-size: 0.82rem;
  margin-top: 2px;
}
.ts-sample-filter-pills {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 3px 4px;
  gap: 3px;
}
.ts-s-pill {
  background: transparent;
  border: none;
  color: var(--text2, #cbd5e1);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ts-s-pill.active {
  background: #2dd4bf;
  color: #042f2e;
}
.ts-sample-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: 16px;
  background: rgba(45, 212, 191, 0.07);
  border: 1px solid rgba(45, 212, 191, 0.3);
}
.ts-sample-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(45, 212, 191, 0.35), rgba(10, 15, 28, 0.9) 70%);
  border: 2px solid rgba(45, 212, 191, 0.7);
  box-shadow: 0 0 22px rgba(45, 212, 191, 0.35);
}
.ts-sample-ring span { font-size: 1.35rem; font-weight: 800; color: #fff; }
.ts-sample-ring small { font-size: 0.62rem; color: var(--text2, #9aa3b2); }
.ts-sample-name { font-weight: 800; font-size: 1.05rem; color: #fff; }
.ts-sample-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 0.85rem; color: var(--text2, #cbd5e1); }
.ts-sample-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ts-sample-table th, .ts-sample-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ts-sample-table th { color: var(--text2, #9aa3b2); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ts-sample-table tbody tr:hover { background: rgba(45, 212, 191, 0.06); }
.ts-rank-medal {
  font-size: 1.1rem;
  margin-right: 4px;
}
.ts-sample-note { margin-top: 12px; font-size: 0.82rem; color: var(--text2, #9aa3b2); }
.ts-sample-loading { padding: 22px; text-align: center; color: var(--text2, #9aa3b2); }

@media (max-width: 640px) {
  .ts-cta-deck .ts-join-btn,
  .ts-cta-deck .ts-login-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .ts-overlay-lock-pill {
    flex-direction: column;
    text-align: center;
  }
  .ts-ol-btn {
    margin-left: 0;
    width: 100%;
  }
}

/* Tablet + small-laptop alignment */
@media (min-width: 641px) and (max-width: 1024px) {
  #page-trainsim .ts-shell { padding: 14px clamp(10px, 2vw, 20px) 32px; }
}

/* Short landscape screens (phones turned sideways, small windows) */
@media (max-height: 520px) {
  .ts-hero { padding: 12px 16px; margin-bottom: 10px; }
  .ts-hero h2 { font-size: 1.1rem; }
  .ts-hero-meta, .ts-hero-row { margin-top: 8px; }
}

/* Focus-visible rings for page controls */
.ts-hero-row .ts-ghost-btn:focus-visible {
  outline: 2px solid rgba(56,189,248,.85); outline-offset: 2px;
}

/* ── Reference landing: solid-mint action fills with dark text ───── */
.tc-pill.active, .post-job-btn, .trend-tab.active, .geo-btn {
  background: #5eead4 !important; color: #06302b !important; border-color: transparent !important;
}

/* ── Reference landing: solid-mint action fills with dark text ───── */
.tc-pill.active, .post-job-btn, .trend-tab.active, .geo-btn {
  background: #5eead4 !important; color: #06302b !important; border-color: transparent !important;
}

/* ── Homepage mold: hero pills, explore rail, community, rows, footer ─ */
.hero-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hero-cat-pills.hero-cat-extra { margin-top: 8px; }
.hero-cat-pill {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: var(--text, #e8eaf0); border-radius: 100px; padding: 7px 14px;
  font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hero-cat-pill:hover { border-color: rgba(94,234,212,.6); box-shadow: 0 0 12px rgba(94,234,212,.25); }
.exp-bar { display: inline-block; width: 4px; height: 1em; border-radius: 4px; background: #5eead4; margin-right: 8px; vertical-align: -1px; box-shadow: 0 0 10px rgba(94,234,212,.7); }
.home-explore { margin: 26px 0 6px; }
.exp-rail-wrap { display: flex; align-items: stretch; gap: 10px; }
.exp-rail { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 2px 10px; flex: 1; scrollbar-width: thin; }
.rail-arrow {
  flex-shrink: 0; align-self: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: var(--text, #e8eaf0); font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.rail-arrow:hover { border-color: rgba(94,234,212,.6); }
.rail-arrow.sm { width: 28px; height: 28px; font-size: 1rem; }
.exp-card {
  min-width: 200px; max-width: 200px; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.exp-card:hover { transform: translateY(-3px); border-color: rgba(94,234,212,.5); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.exp-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-count {
  position: absolute; left: 8px; bottom: 8px; font-size: .7rem; font-weight: 700;
  background: rgba(0,0,0,.65); color: #5eead4; padding: 3px 9px; border-radius: 100px;
  border: 1px solid rgba(94,234,212,.4);
}
.exp-body { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.exp-body strong { font-size: .82rem; flex: 1; }
.exp-sub { display: block; font-size: .68rem; color: var(--text2, #9aa3b2); font-weight: 400; }
.exp-go { color: #5eead4; font-weight: 800; }
.partners-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.partners-head-actions { display: flex; align-items: center; gap: 8px; }
.partner-rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-behavior: smooth; scrollbar-width: thin; }
.partner-rail .partner-logo-item { min-width: 140px; flex-direction: column; text-align: center; }
.partner-count { display: block; font-size: .68rem; color: #5eead4; font-weight: 700; margin-top: 2px; }
.comm-banner {
  position: relative; border-radius: 20px; overflow: hidden; margin: 28px 0 6px;
  border: 1px solid rgba(255,255,255,.1); min-height: 300px;
  display: flex; align-items: stretch;
}
.comm-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.comm-banner-inner {
  position: relative; display: flex; gap: 24px; padding: clamp(20px, 4vw, 36px);
  width: 100%; align-items: center; flex-wrap: wrap;
  background: linear-gradient(100deg, rgba(5,8,16,.92) 30%, rgba(5,8,16,.55));
}
.comm-banner-copy { flex: 1 1 260px; }
.comm-banner-copy h2 { margin: 8px 0 10px; font-size: clamp(1.4rem, 3vw, 2rem); }
.comm-banner-copy p { color: var(--text2, #9aa3b2); font-size: .9rem; line-height: 1.6; margin: 0 0 16px; }
.comm-mini-grid { flex: 1 1 280px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comm-mini {
  display: flex; gap: 10px; align-items: flex-start; text-align: left; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 12px; color: var(--text, #e8eaf0);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.comm-mini:hover { border-color: rgba(94,234,212,.5); }
.comm-mini-ico { font-size: 1.2rem; }
.comm-mini strong { display: block; font-size: .8rem; }
.comm-mini small { display: block; font-size: .68rem; color: var(--text2, #9aa3b2); }
.home-job-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; margin-bottom: 8px; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.home-job-row:hover { border-color: rgba(94, 234, 212, 0.45); background: rgba(94, 234, 212, 0.04); transform: translateY(-1px); }
.row-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #ffffff; padding: 2px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-main strong { font-size: .92rem; font-weight: 600; color: #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-main span { font-size: .78rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.row-loc { font-size: .76rem; color: #94a3b8; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.row-cat { font-size: .7rem; font-weight: 700; color: #5eead4; background: rgba(94, 234, 212, 0.1); border: 1px solid rgba(94, 234, 212, 0.3); padding: 4px 10px; border-radius: 100px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.row-time { font-size: .74rem; color: #64748b; white-space: nowrap; }
.row-bkmk { background: none; border: none; cursor: pointer; font-size: 1.1rem; opacity: .55; flex-shrink: 0; transition: transform .15s ease, opacity .15s ease; }
.row-bkmk:hover { opacity: 1; transform: scale(1.15); }
.row-bkmk.saved { opacity: 1; filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.8)); }
.home-job-row.saved { border-color: rgba(94, 234, 212, 0.4); }
.home-resources { margin: 28px 0 6px; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.res-card {
  border-radius: 14px; overflow: hidden; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09);
  transition: transform .2s ease, border-color .2s ease;
}
.res-card:hover { transform: translateY(-3px); border-color: rgba(94,234,212,.5); }
.res-img { aspect-ratio: 16/9; overflow: hidden; }
.res-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.res-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.res-body strong { font-size: .84rem; }
.res-body span { font-size: .7rem; color: var(--text2, #9aa3b2); }
.res-body em { font-style: normal; color: #5eead4; font-size: .78rem; font-weight: 700; }
.alerts-band {
  position: relative; border-radius: 20px; overflow: hidden; margin: 28px 0 6px;
  border: 1px solid rgba(94,234,212,.3);
}
.alerts-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.alerts-band-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: clamp(20px, 4vw, 32px);
  background: linear-gradient(100deg, rgba(5,8,16,.9), rgba(5,8,16,.5));
}
.alerts-band-inner h2 { margin: 0 0 6px; font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
.alerts-band-inner p { margin: 0; color: var(--text2, #9aa3b2); font-size: .86rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 20px;
  max-width: 1280px; margin: 0 auto; padding: 34px 24px 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text, #e8eaf0); margin-bottom: 2px; }
.footer-col a { color: var(--text2, #9aa3b2); text-decoration: none; font-size: .82rem; }
.footer-col a:hover { color: #5eead4; }
.footer-col p { color: var(--text2, #9aa3b2); font-size: .8rem; margin: 6px 0 0; }
.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: var(--text, #e8eaf0); text-decoration: none; font-size: 1rem;
}
.footer-social a:hover { border-color: rgba(94,234,212,.6); color: #5eead4; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 12px 24px 20px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--text2, #9aa3b2); font-size: .74rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .row-loc { display: none; }
}
@media (max-width: 640px) {
  .comm-mini-grid { grid-template-columns: 1fr; }
  .row-time { display: none; }
  .rail-arrow { display: none; }
}

/* ── Hero eyebrow micro-label (reference landing language) ──────── */
.hero-eyebrow {
  font-size: .68rem; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: #5eead4;
  margin-bottom: 10px;
}

/* ── Profession dropdown (modern glass, expandable) ─────────────── */
.prof-drop { position: relative; display: inline-block; }
.prof-drop-btn { display: inline-flex !important; align-items: center; gap: 6px; }
.prof-drop-chev { display: inline-block; transition: transform .2s ease; font-size: .7rem; }
.prof-drop-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 9000;
  min-width: 240px; padding: 6px;
  background: linear-gradient(180deg, rgba(16,20,32,.97), rgba(8,11,20,.97));
  border: 1px solid rgba(45,212,191,.4); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 24px -6px rgba(45,212,191,.35);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: profDropIn .18s ease-out;
}
@keyframes profDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.prof-drop-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: none; border-radius: 10px;
  color: var(--text, #e8eaf0); font-size: .85rem; font-weight: 600;
  padding: 9px 12px; transition: background .15s ease;
}
.prof-drop-item:hover { background: rgba(45,212,191,.12); }
.prof-drop-item.active {
  background: rgba(45,212,191,.18);
  box-shadow: inset 0 0 0 1px rgba(45,212,191,.5);
}
.prof-drop-count { font-size: .72rem; color: var(--text2, #9aa3b2); font-weight: 400; }
@media (max-width: 640px) {
  .prof-drop-menu { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; min-width: 0; }
}

/* ── Industry badge on Job Card & Modal ─────────────────────────── */
.job-industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(251, 146, 60, 0.12);
  color: #fed7aa;
  border: 1px solid rgba(251, 146, 60, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
}
.job-industry-badge:hover {
  background: rgba(251, 146, 60, 0.22);
  border-color: rgba(251, 146, 60, 0.5);
  transform: translateY(-1px);
}

/* ── Brand identity: amber gold on obsidian (own color, not Glassdoor
   green / Indeed-Naukri blue / purple). Override layer only — functional
   greens (success checks) and sim accents stay untouched. */
.gradient-text {
  /* background-image (NOT background shorthand): the shorthand resets
     background-clip and silently kills the text-clip effect site-wide. */
  background-image: linear-gradient(120deg, #5eead4, #2dd4bf 55%, #0d9488) !important;
}
.btn-primary, button.btn-primary, .btn-glow {
  background: #5eead4 !important;
  border-color: rgba(94,234,212,.7) !important;
  box-shadow: 0 6px 22px rgba(94,234,212,.35) !important;
  color: #06302b !important;
}
.btn-primary:hover, button.btn-primary:hover, .btn-glow:hover {
  box-shadow: 0 10px 30px rgba(94,234,212,.55) !important;
  filter: brightness(1.06);
}
.cat-pill.active {
  border-color: rgba(45,212,191,.65) !important;
  box-shadow: 0 0 16px rgba(45,212,191,.4) !important;
}
.nav-trainsim-link {
  background: linear-gradient(135deg, rgba(45,212,191,.16), rgba(94,234,212,.1)) !important;
  border: 1px solid rgba(45,212,191,.5) !important;
  box-shadow: 0 0 14px rgba(45,212,191,.3), inset 0 0 12px rgba(94,234,212,.08) !important;
}
.ts-live-dot { background: #5eead4 !important; box-shadow: 0 0 8px #5eead4 !important; }
.offer-card:hover {
  border-color: rgba(45,212,191,.6) !important;
  box-shadow: 0 0 30px -8px rgba(45,212,191,.5), 0 18px 44px -18px rgba(0,0,0,.7) !important;
}

/* ── SEO copy section (crawlable career guide on homepage) ────────── */
.seo-copy {
  margin: 26px 0 6px; padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255,255,255,.09); border-radius: 18px;
  background: rgba(255,255,255,.02);
}
.seo-copy h2 { margin: 0 0 10px; font-size: clamp(1.05rem, 2.2vw, 1.4rem); }
.seo-copy p { margin: 0; font-size: .92rem; line-height: 1.75; color: var(--text2, #9aa3b2); }
.seo-copy p strong { color: var(--text, #e8eaf0); }
.seo-copy-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.seo-copy-links a {
  font-size: .82rem; font-weight: 600; color: #f0fdfa; text-decoration: none;
  padding: 7px 13px; border-radius: 100px;
  background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.35);
}
.seo-copy-links a:hover { box-shadow: 0 0 12px rgba(45,212,191,.35); }

/* ── 6. Sim-grade theme layer (mirrors trainsim glass-neon language) ─ */
.ts-hero-meta {
  margin-top: 10px; font-size: .82rem;
  color: var(--text2, #9aa3b2);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.ts-hero-meta b { color: var(--text, #e8eaf0); }
.ts-spinner.sm { width: 13px; height: 13px; border-width: 2px; }

/* ── Native sim dashboard: part of the page flow (dedicated space) ── */
#page-trainsim { scroll-margin-top: 70px; min-height: auto !important; }
/* Single-h1 rule for SEO: the sim brand title is a styled paragraph, not a heading */
#page-trainsim .brand-text p.ts-brand-title {
  font-family: var(--disp, 'Outfit', 'Inter', sans-serif);
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--text, #e8eaf0); display: block; margin: 0;
}
#tsSimNative { min-width: 0; }
#tsSimNative .app { max-width: 1560px; }

/* Animated gradient text (sim .grad treatment, site purple accent) */
.gradient-text {
  background-size: 180% 180% !important;
  animation: tsGradShift 7s ease-in-out infinite alternate;
}
@keyframes tsGradShift {
  from { background-position: 0% 40%; }
  to { background-position: 100% 60%; }
}

/* Offer cards → sim card-glow treatment */
.offer-card {
  transition: transform .3s ease, border-color .4s ease, box-shadow .4s ease !important;
}
.offer-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(45,212,191,.6) !important;
  box-shadow: 0 0 30px -8px rgba(45,212,191,.5), 0 18px 44px -18px rgba(0,0,0,.7) !important;
}

/* Primary buttons → flowing gradient + glow */
.btn-primary {
  background-size: 180% 180% !important;
  animation: tsGradShift 6s ease-in-out infinite alternate;
  box-shadow: 0 6px 22px rgba(45,212,191,.35) !important;
}
.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(45,212,191,.55) !important;
}

/* Page headers → sim HUD hairline */
.page-header { position: relative; }
.page-header::before {
  content: ""; position: absolute;
  top: 14px; left: 0; width: min(280px, 40%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,212,191,.8), transparent);
  opacity: .5; pointer-events: none;
}

/* Category pills → sim KPI-cell underline */
.cat-pill { position: relative; }
.cat-pill.active::after {
  content: ""; position: absolute;
  bottom: -1px; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #2dd4bf, #06b6d4, #38bdf8);
  box-shadow: 0 0 10px rgba(45,212,191,.7);
}

/* Hero badge → breathing glow */
.hero-badge { animation: tsBadgeBreathe 3.4s ease-in-out infinite; }
@keyframes tsBadgeBreathe {
  0%, 100% { box-shadow: 0 4px 24px rgba(45,212,191,.12); }
  50% { box-shadow: 0 4px 30px rgba(45,212,191,.35); }
}

/* ═══════════════════════════════════════════════════════════════════
   Q. Orphan-component safety net — full-site audit (Sep 2026) found
   structural classes with no dedicated rules. These glass defaults
   guarantee every box, banner, button and card renders styled.
   Layout-only where JS toggles display; never fights inline styles.
   ═══════════════════════════════════════════════════════════════════ */

/* Q1 — generic buttons, pills, badges */
.btn-secondary {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: var(--text, #e8eaf0); border-radius: 10px; padding: 9px 16px;
  font-weight: 600; font-size: .85rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.btn-secondary:hover { border-color: rgba(56,189,248,.5); box-shadow: 0 0 14px -2px rgba(56,189,248,.45); }
.btn-link { background: none; border: none; color: #7dd3fc; cursor: pointer; font-weight: 600; font-size: .85rem; padding: 4px 6px; }
.btn-link:hover { text-decoration: underline; }
.btn-full { width: 100%; }
.btn-study-switch, .st-wf-btn, .st-lang-btn {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  color: var(--text2, #9aa3b2); border-radius: 100px; padding: 4px 12px;
  font-size: .75rem; font-weight: 700; cursor: pointer;
}
.btn-study-switch:hover, .st-wf-btn:hover, .st-lang-btn:hover { border-color: rgba(45,212,191,.5); color: #e8eaf0; }
.st-wf-btn.active, .st-lang-btn.active {
  background: rgba(45,212,191,.16); border-color: rgba(45,212,191,.55); color: #f0fdfa;
  box-shadow: 0 0 12px -2px rgba(45,212,191,.5);
}
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px; border-radius: 100px; font-size: .7rem; font-weight: 700;
  background: rgba(56,189,248,.14); border: 1px solid rgba(56,189,248,.4); color: #bae6fd;
}
.bg-amber { background: rgba(245,185,66,.14) !important; border-color: rgba(245,185,66,.45) !important; color: #ccfbf1 !important; }
.modal-header-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  background: rgba(45,212,191,.12); border: 1px solid rgba(45,212,191,.4); color: #ccfbf1;
}
.st-opt-badge {
  font-size: .65rem; font-weight: 800; padding: 2px 8px; border-radius: 100px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: var(--text2, #9aa3b2);
}

/* Q2 — modal boxes (check-in, milestone impact, analysis) */
.st-checkin-modal-box, .st-milestone-impact-box, .st-analysis-modal-box {
  background: linear-gradient(180deg, rgba(17,25,40,.97), rgba(9,13,24,.97));
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.85), 0 0 40px -18px rgba(45,212,191,.3);
  padding: clamp(16px, 3vw, 28px); width: min(94vw, 640px); max-height: 88vh; overflow-y: auto;
}
.st-checkin-header, .st-impact-header { margin-bottom: 12px; }
.st-checkin-brand { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5eead4; }
.st-checkin-title, .st-impact-title { margin: 4px 0; font-size: 1.25rem; font-weight: 800; }
.st-checkin-subtitle { color: var(--text2, #9aa3b2); font-size: .85rem; margin-bottom: 10px; }
.st-checkin-hint {
  font-size: .78rem; color: var(--text2, #9aa3b2); padding: 8px 12px; border-radius: 10px;
  background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.28); margin-bottom: 12px;
}
.st-checkin-prompt-card, .st-impact-card {
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  background: rgba(255,255,255,.03); padding: 14px; margin-bottom: 12px;
}
.st-checkin-options-grid, .st-impact-pillars-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0;
}
.st-checkin-option-card {
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px;
  background: rgba(255,255,255,.03); cursor: pointer; transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.st-checkin-option-card:hover { border-color: rgba(45,212,191,.55); transform: translateY(-2px); box-shadow: 0 0 16px -4px rgba(45,212,191,.5); }
.st-checkin-footer, .st-impact-footer { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.st-checkin-skip-btn { background: none; border: none; color: var(--text2, #9aa3b2); cursor: pointer; font-size: .82rem; }
.st-checkin-skip-btn:hover { color: #fff; }
.st-checkin-body { display: flex; flex-direction: column; gap: 10px; }
.st-checkin-badge-icon { font-size: 1.4rem; }
.st-impact-kicker { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7dd3fc; }
.st-impact-pillars-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.st-impact-table-section { margin-top: 12px; }
.st-impact-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; }
.st-impact-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.st-impact-table th, .st-impact-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); }
.st-impact-table th { color: var(--text2, #9aa3b2); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.st-impact-sparkle { color: #5eead4; }
.st-impact-ribbon {
  display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px;
  background: rgba(45,212,191,.08); border: 1px solid rgba(45,212,191,.3); font-size: .85rem; margin-bottom: 12px;
}
.st-analysis-col-left, .st-analysis-col-right, .st-analysis-simple-left, .st-analysis-simple-right {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.st-delta-card-body { display: flex; flex-direction: column; gap: 8px; }
.st-encouragement-banner {
  padding: 12px 16px; border-radius: 12px; font-size: .88rem; line-height: 1.55;
  background: linear-gradient(135deg, rgba(45,212,191,.14), rgba(56,189,248,.1));
  border: 1px solid rgba(45,212,191,.35); box-shadow: 0 0 20px -6px rgba(45,212,191,.4);
}

/* Q3 — sidebar views + inner controls */
.st-sidebar-view { display: flex; flex-direction: column; gap: 8px; min-height: 0; flex: 1; }
.st-inner-btn-group { display: flex; gap: 8px; flex-wrap: wrap; }
.st-saved-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: .8rem; font-weight: 700; }
.st-legacy-stats-subtabs, .st-stats-view-content { display: flex; flex-direction: column; gap: 12px; }

/* Q4 — planner / dashboard / analytics cards */
.st-planner-config, .st-planner-dashboard-card, .st-planner-summary,
.st-day-quadrants-card, .st-heatmap-card, .st-completion-chart, .st-stacked-chart,
.st-chart-card, .st-abc-card, .st-journal-card, .st-achievements, .st-leaderboard-wrap,
.st-compare-custom-col, .st-daily-goal, .st-new-student-card, .st-sample-ranker-banner {
  border: 1px solid rgba(255,255,255,.09); border-radius: 14px;
  background: rgba(255,255,255,.025); padding: 14px;
}
.st-planner-summary { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.st-journal-card { display: flex; flex-direction: column; gap: 6px; }
.journal-stars { color: #5eead4; letter-spacing: 2px; }
.st-daily-goal { display: flex; align-items: center; gap: 10px; }
.st-chapter-checkin-box, .st-ch-list-scroll { display: flex; flex-direction: column; gap: 8px; }
.st-ch-filter-group, .st-ch-checkin-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.st-ir-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.st-ir-label { color: var(--text2, #9aa3b2); font-size: .8rem; }
.st-ir-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.st-ic-bar-track { height: 8px; border-radius: 100px; background: rgba(255,255,255,.07); overflow: hidden; }
.st-ic-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, #2dd4bf, #06b6d4); box-shadow: 0 0 8px rgba(45,212,191,.6); }
.st-ic-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-ic-name { font-weight: 700; font-size: .85rem; }
.st-ic-hours, .st-ic-pct { font-variant-numeric: tabular-nums; font-size: .8rem; }
.st-ic-pct-row { display: flex; align-items: center; gap: 8px; }
.st-ic-tag { font-size: .65rem; font-weight: 800; padding: 2px 8px; border-radius: 100px; background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.35); color: #bae6fd; }
.st-ic-delta { font-size: .75rem; font-weight: 700; color: #5eead4; }
.st-its-head { font-weight: 800; font-size: .9rem; }
.st-its-sub, .st-its-title { color: var(--text2, #9aa3b2); font-size: .8rem; }
.st-nsc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.st-nsc-desc { color: var(--text2, #9aa3b2); font-size: .85rem; line-height: 1.55; }
.st-nsc-icon { font-size: 1.6rem; }
.st-nsc-left { display: flex; flex-direction: column; gap: 6px; }
.st-nsc-title { font-size: 1.05rem; font-weight: 800; }
.st-nsc-sample-btn, .st-nsc-start-btn { cursor: pointer; }
.st-srb-content { display: flex; flex-direction: column; gap: 8px; }
.st-srb-text { font-size: .85rem; line-height: 1.55; color: var(--text2, #9aa3b2); }
.st-srb-exit-btn { align-self: flex-start; }
.st-srb-sparkle { color: #5eead4; }
.st-opt-btn-label { font-weight: 700; font-size: .85rem; }
.st-opt-icon { font-size: 1.2rem; }
.st-opt-title { font-weight: 800; }
.st-opt-desc { font-size: .78rem; color: var(--text2, #9aa3b2); }
.st-opt-top { display: flex; align-items: center; gap: 8px; }
.opt-chapter, .opt-lecture { font-size: .8rem; }
.card-both, .card-group, .card-subject { border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 12px; background: rgba(255,255,255,.025); }
.fill-both, .fill-group, .fill-subject { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2dd4bf, #06b6d4); }
.upload-zone-compact {
  border: 1px dashed rgba(255,255,255,.2); border-radius: 12px; padding: 14px;
  text-align: center; font-size: .82rem; color: var(--text2, #9aa3b2); cursor: pointer;
}
.upload-zone-compact:hover { border-color: rgba(45,212,191,.55); }
.ss-lec-picker-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; }
.sc-subject-chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* Q5 — auth, community, blog, misc layout */
.auth-avatar-pill { display: inline-flex; align-items: center; gap: 8px; }
.auth-discord-block { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.community-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; }
.community-sidebar { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chan-hash { color: #7dd3fc; font-weight: 800; }
.blog-editor { display: flex; flex-direction: column; gap: 10px; }
.be-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.classroom-info { font-size: .82rem; color: var(--text2, #9aa3b2); line-height: 1.55; }
.scheduler-body { display: flex; flex-direction: column; gap: 10px; }
.scheduler-info { font-size: .8rem; color: var(--text2, #9aa3b2); }
.alert-matches-stream { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; }
.collapsible-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; font-weight: 700; }
.rev-mentorship-options { display: flex; flex-direction: column; gap: 8px; }
.discord-card-wrap { display: flex; flex-direction: column; gap: 10px; }
.st-legal-icon { font-size: 1.1rem; }
.st-legal-text { font-size: .75rem; color: var(--text2, #9aa3b2); line-height: 1.5; }
.reel-left, .reel-right { display: flex; align-items: center; }

/* Auth modal polish: branded hero + provider buttons */
.auth-hero {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 2px 14px; margin-bottom: 4px;
}
.auth-hero-mark {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, #2dd4bf, #06b6d4);
  box-shadow: 0 6px 20px rgba(45,212,191,.4);
}
.auth-hero-title { font-weight: 800; font-size: 1.05rem; }
.auth-hero-sub { font-size: .75rem; color: var(--text2, #9aa3b2); }
.btn-discord-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-google-primary:hover { filter: brightness(1.03); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.auth-tabs { display: flex; gap: 8px; margin: 4px 0 12px; }
.auth-tab {
  flex: 1; padding: 9px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  color: var(--text2, #9aa3b2); font-weight: 700; font-size: .85rem;
}
.auth-tab.active {
  background: rgba(45,212,191,.14); border-color: rgba(45,212,191,.5); color: #f0fdfa;
  box-shadow: 0 0 14px -2px rgba(45,212,191,.45);
}
.auth-field label { display: block; font-size: .75rem; font-weight: 700; color: var(--text2, #9aa3b2); margin: 10px 0 5px; }
.auth-field input {
  width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  color: #fff; font-size: 16px;
}
.auth-field input:focus { border-color: rgba(45,212,191,.6); box-shadow: 0 0 0 3px rgba(45,212,191,.15); outline: none; }
.auth-submit { width: 100%; margin-top: 14px; padding: 12px; font-size: .95rem; }
.auth-title { font-size: 1.1rem; font-weight: 800; }
.auth-subtitle { font-size: .8rem; color: var(--text2, #9aa3b2); margin-bottom: 4px; }
.auth-error { color: #f87171; font-size: .78rem; min-height: 1.1em; margin-top: 6px; }

/* Header breathing room: even spacing, no crowding */
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn, .header-actions button { flex-shrink: 0; }
.alerts-bell-btn:hover { border-color: rgba(45,212,191,.55) !important; box-shadow: 0 0 14px -2px rgba(45,212,191,.5); }
.alerts-badge {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px;
  border-radius: 100px; background: #ef4444; color: #fff;
  font-size: .62rem; font-weight: 800; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 4px;
}

/* CFA category: pill icon + level filter chips */
.cat-pill-icon.cfa { color: #5eead4; }
.cat-pill[data-cat="cfa"].active { box-shadow: 0 0 16px rgba(45,212,191,.5) !important; }
.cfa-level-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 10px 2px 0; font-size: .8rem; color: var(--text2, #9aa3b2);
}
.cfa-level-lbl { font-weight: 700; }
.cfa-lvl-chip {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  color: var(--text2, #9aa3b2); border-radius: 100px; padding: 4px 13px;
  font-size: .75rem; font-weight: 700; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.cfa-lvl-chip:hover { transform: translateY(-1px); border-color: rgba(45,212,191,.5); }
.cfa-lvl-chip.active {
  background: rgba(45,212,191,.16); border-color: rgba(45,212,191,.6); color: #f0fdfa;
  box-shadow: 0 0 14px -2px rgba(45,212,191,.5);
}

/* Q7 — iOS safari fix: inputs below 16px trigger jarring auto-zoom.
   Bump form text to 16px on phones only (desktop untouched). */
@media (max-width: 768px) {
  .modal-box input[type="text"], .modal-box input[type="number"],
  .modal-box input[type="email"], .modal-box input[type="search"],
  .modal-box textarea, .modal-box select,
  .st-timer-box input[type="text"], .st-timer-box textarea,
  .st-panel-content input[type="text"], .st-panel-content textarea,
  #filterSearch, #filterLocation, #heroSearch {
    font-size: 16px !important;
  }
}

/* Q6 — Apple-style view select (mobile study nav) */
.st-apple-mode-dropdown-wrap, .st-apple-sub-dropdown-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  border-radius: 100px; padding: 6px 12px;
  max-width: 100%; box-sizing: border-box;
}
.st-apple-dd-icon { font-size: .85rem; flex-shrink: 0; }
.st-apple-mode-select {
  background: transparent; border: none; color: #e8eaf0;
  font-size: .82rem; font-weight: 700; cursor: pointer;
  max-width: none; width: auto;
}
.st-apple-mode-select:focus { outline: none; }
.st-apple-mode-select option { background: #0d1321; color: #e8eaf0; }

/* ── Homepage Job-First Layout & Ecosystem Suite ── */
.hero-quick-tags {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  max-width: 900px !important;
  margin: 12px auto 16px !important;
}
.hero-cat-pills {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

@media (min-width: 900px) {
  .stats-bar {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

.home-jobs-header {
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}
.home-jobs-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  .home-job-row {
    flex-wrap: wrap;
    padding: 12px 14px;
  }
  .row-meta {
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
}

.home-ecosystem-section {
  margin: 42px 0 28px;
}
.home-eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.eco-suite-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-sizing: border-box;
}
.eco-suite-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94,234,212,.4);
  box-shadow: 0 16px 40px -15px rgba(0,0,0,.6), 0 0 30px -10px rgba(94,234,212,.2);
}
.eco-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eco-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(94,234,212,.1);
  border: 1px solid rgba(94,234,212,.3);
  flex-shrink: 0;
}
.eco-card-tag {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5eead4;
}
.eco-card-header-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 2px 0 0;
  color: #fff;
}
.eco-card-desc {
  font-size: .84rem;
  color: var(--text2, #9aa3b2);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.eco-scene-preview {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 4px;
}
.eco-scene-lbl {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #5eead4;
  margin-bottom: 6px;
}
.eco-scene-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.eco-scene-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #e8eaf0;
  border-radius: 100px;
  padding: 4px 10px;
  font-size: .74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.eco-scene-chip:hover {
  background: rgba(94,234,212,.2);
  border-color: rgba(94,234,212,.5);
  color: #fff;
  transform: translateY(-1px);
}
.eco-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0;
}
.eco-pill-tag {
  font-size: .75rem;
  font-weight: 600;
  color: #e8eaf0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s ease;
}
.eco-pill-tag:hover {
  background: rgba(94,234,212,.15);
  border-color: rgba(94,234,212,.4);
  color: #fff;
}
.eco-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
}
.floating-scenic-btn {
  display: none !important;
}

/* ─── Multi-Track Partner Directory & Pulse Strip ─── */
.partners-cat-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0;
}
.partner-cat-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text2, #94a3b8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.partner-cat-pill:hover {
  background: rgba(45, 212, 191, 0.1);
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.3);
}
.partner-cat-pill.active {
  background: rgba(45, 212, 191, 0.18);
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 12px -2px rgba(45, 212, 191, 0.35);
}
.partner-role-badge {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #2dd4bf;
  margin-top: 1px;
  white-space: nowrap;
}
.partner-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.partner-logo-item:hover {
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-2px);
}
.partner-logo-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 4px;
}
.partner-logo-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text, #e2e8f0);
}

.home-pulse-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  margin: -10px auto 24px;
  max-width: 680px;
  background: rgba(45, 212, 191, 0.04);
  border: 1px solid rgba(45, 212, 191, 0.15);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text2, #94a3b8);
  text-align: center;
}
.pulse-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px #2dd4bf;
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* ═════════════════════════════════════════════════════════════════════
   ROUND 159: OMNI-DEVICE ERGONOMICS, MOBILE FILTER DRAWER & EXECUTIVE UI
   ═════════════════════════════════════════════════════════════════════ */

/* ── 1. Global Safe-Area & Viewport Zoom Protection ──────────────── */
.page {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 20px)) !important;
}

/* TV & Ultra-wide / 4K Container Guard (Centers nicely without stretched lines) */
@media (min-width: 1600px) {
  .hero-content, .st-study-main, .container {
    max-width: 1560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .jobs-layout {
    max-width: min(1920px, 98%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ── 2. Job Card Typography & 2-Line Clamp ────────────────────────── */
.job-pos {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.38 !important;
  max-height: 2.76em !important;
  font-weight: 700 !important;
  color: var(--text, #f8fafc) !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 6px !important;
}

/* Subtle Source Pill (Replaces double loud tags) */
.job-source-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text3, #64748b);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: auto;
  white-space: nowrap;
}
.job-source-pill .src-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 6px #2dd4bf;
}

/* Salary Tag Enhancement */
.job-tag.sal {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

/* ── 3. Mobile Filter Bar & Drawer Architecture ───────────────────── */
.mobile-filter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 16px;
  width: 100%;
}
.mobile-filter-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #2dd4bf;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(45, 212, 191, 0.15);
}
.mobile-filter-trigger-btn:active {
  transform: scale(0.97);
}
.mobile-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2dd4bf;
  color: #0b0f19;
  font-size: 11px;
  font-weight: 800;
}
.mobile-sort-select-wrap select {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text, #e2e8f0);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.mobile-results-stat {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3, #64748b);
  white-space: nowrap;
}
.mobile-filter-close-btn {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mobile-filter-close-btn:active {
  background: rgba(255, 255, 255, 0.15);
}
.mobile-filter-footer {
  display: none;
  padding: 14px 16px;
  background: rgba(11, 15, 25, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  bottom: 0;
  z-index: 20;
}
.mobile-filter-apply-btn {
  width: 100%;
  padding: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
}
.filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Tablet & Mobile Drawer Behavior */
@media (max-width: 1023px) {
  .mobile-filter-bar {
    display: flex;
  }
  .mobile-filter-close-btn {
    display: inline-flex;
  }
  .mobile-filter-footer {
    display: block;
  }
  .filter-backdrop.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .filter-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(340px, 86vw) !important;
    max-height: 100vh !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: #0d1322 !important;
    border-right: 1px solid rgba(45, 212, 191, 0.3) !important;
    box-shadow: 15px 0 50px rgba(0, 0, 0, 0.85) !important;
    transform: translateX(-105%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .filter-sidebar.open {
    transform: translateX(0) !important;
  }
  .filter-head {
    padding: 16px 16px 12px !important;
    background: rgba(15, 23, 42, 0.98) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }
  .filter-scroll {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 14px 16px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    max-height: none !important;
  }
  .jobs-layout {
    flex-direction: column !important;
    padding-left: clamp(10px, 2vw, 24px) !important;
    padding-right: clamp(10px, 2vw, 24px) !important;
  }
  .jobs-main {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ── 4. Executive Modal Spec Grid ─────────────────────────────────── */
.modal-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}
@media (max-width: 640px) {
  .modal-spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
.spec-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.spec-tile:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(45, 212, 191, 0.3);
}
.spec-tile-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.spec-tile-body {
  min-width: 0;
  flex: 1;
}
.spec-tile-lbl {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text3, #64748b);
  margin-bottom: 2px;
}
.spec-tile-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text, #f8fafc);
  line-height: 1.25;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.modal-tag.domain-link-tag {
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-tag.domain-link-tag:hover {
  background: rgba(45, 212, 191, 0.28) !important;
  border-color: rgba(45, 212, 191, 0.6) !important;
  transform: translateY(-1px);
}
.modal-tag.deadline-tag {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  font-weight: 600 !important;
}

/* Hide mobile bottom navigation bar when filter drawer is open for 100% focus */
body.filter-drawer-open .mobile-bottom-nav {
  transform: translateY(115%) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ── 5. Mobile Study Cockpit Tab Navigation ───────────────────────── */
@media (max-width: 768px) {
  .st-apple-mode-dropdown-wrap {
    display: none !important;
  }
  .st-sub-nav-unified {
    display: flex !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    gap: 6px !important;
    padding: 6px 0 !important;
  }
  .st-sub-nav-unified::-webkit-scrollbar { display: none; }
  .st-sub-tab {
    padding: 7px 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
  }
  .st-exec-nav-actions {
    display: none !important;
  }
}

/* ============================================================
   ROUND 160: OMNI-DEVICE, MOBILE-FIRST & ZOOM RESILIENCE POLISH
   ============================================================ */

/* ── 1. Homepage Hero Rails (Clean 2-tier swipe strips on mobile/tablet) ── */
@media (max-width: 768px) {
  .hero-quick-tags {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    padding: 6px 4px !important;
    margin: 8px 0 6px !important;
    gap: 6px !important;
  }
  .hero-quick-tags::-webkit-scrollbar { display: none; }
  .hero-quick-label {
    flex-shrink: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2dd4bf !important;
    margin-right: 2px !important;
  }
  .hero-quick-tag {
    flex-shrink: 0 !important;
    padding: 5px 11px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }
  .hero-cat-pills {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    padding: 6px 4px !important;
    margin: 4px 0 12px !important;
    gap: 6px !important;
  }
  .hero-cat-pills::-webkit-scrollbar { display: none; }
  .hero-cat-pill {
    flex-shrink: 0 !important;
    padding: 6px 13px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
  }
}

/* ── 2. Top Hiring Partners Multi-Track Directory (No 5-row wrap) ── */
.partner-rail {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  gap: 12px !important;
  padding: 6px 2px 12px !important;
}
.partner-rail::-webkit-scrollbar {
  height: 4px;
}
.partner-rail::-webkit-scrollbar-thumb {
  background: rgba(45, 212, 191, 0.3);
  border-radius: 4px;
}
.partner-rail .partner-logo-item {
  flex-shrink: 0 !important;
  min-width: 130px !important;
  max-width: 145px !important;
}
@media (max-width: 768px) {
  .partners-cat-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 4px 2px 8px !important;
    margin: 4px 0 8px !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .partners-cat-tabs::-webkit-scrollbar { display: none; }
  .partner-cat-pill {
    flex-shrink: 0 !important;
    font-size: 11px !important;
    padding: 5px 11px !important;
    white-space: nowrap !important;
  }
  .partner-rail .partner-logo-item {
    min-width: 115px !important;
    max-width: 125px !important;
    padding: 8px 10px !important;
  }
  .partner-logo-item img {
    width: 28px !important;
    height: 28px !important;
  }
  .partner-logo-item span {
    font-size: 10.5px !important;
  }
}

/* ── 3. Job Search Page Header & Dropdown Cleanliness ── */
@media (max-width: 768px) {
  .jobs-search-wrap {
    margin-bottom: 12px !important;
    gap: 8px !important;
  }
  .jobs-search-wrap .search-field input {
    height: 44px !important;
    font-size: 13px !important;
    padding: 10px 40px 10px 38px !important;
    border-radius: 12px !important;
  }
  .jobs-search-btn {
    height: 42px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
  }
  .jobs-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 8px 0 10px !important;
  }
  .jobs-bar-left {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
  }
  .jobs-bar-left h2 {
    font-size: 18px !important;
    margin: 0 !important;
  }
  .jobs-bar-right {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding: 2px 0 4px !important;
    width: 100% !important;
  }
  .jobs-bar-right::-webkit-scrollbar { display: none; }
  .prof-drop-btn {
    font-size: 11px !important;
    padding: 5px 9px !important;
    height: 32px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
  }
  .jobs-bar-right .btn-sm {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 5px 9px !important;
    height: 32px !important;
  }
  .view-toggle {
    display: none !important;
  }
}

/* ── 4. Job Card Mobile Density & Touch Action Grid ── */
@media (max-width: 768px) {
  .job-card {
    padding: 14px 14px !important;
    border-radius: 14px !important;
  }
  .job-title {
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }
  .job-company {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  .job-card-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  }
  .job-card-actions .btn {
    height: 36px !important;
    padding: 6px 10px !important;
    font-size: 11.5px !important;
  }
  .job-card-actions .btn-apply {
    flex: 1 1 auto !important;
    min-width: 100px !important;
    font-weight: 700 !important;
    justify-content: center !important;
  }
}

/* ── 5. Fluid Responsive & High-Zoom Layout Safety (80% to 200%) ── */
.filter-backdrop {
  display: none;
}
body.filter-drawer-open .filter-backdrop {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 10040 !important;
}

/* TV & Ultrawide Constraint */
.page, .hero-content, .hiring-partners-strip, .st-study-main {
  max-width: min(1560px, 100%) !important;
  box-sizing: border-box !important;
}
.jobs-layout {
  max-width: min(1920px, 98%) !important;
  box-sizing: border-box !important;
}

/* ── Active Filter Bar & Chips ── */
.active-filters {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 10px 0 16px !important;
}
.af-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 999px !important;
  color: #38bdf8 !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
.af-close {
  cursor: pointer !important;
  opacity: 0.75 !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  margin-left: 2px !important;
}
.af-close:hover {
  opacity: 1 !important;
  color: #fff !important;
}
.af-clear-btn {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(244, 63, 94, 0.12) !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
  border-radius: 999px !important;
  color: #fb7185 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.af-clear-btn:hover {
  background: rgba(244, 63, 94, 0.25) !important;
  color: #fff !important;
  transform: scale(1.04) !important;
}

/* ══════════════════════════════════════════════════════════════
   COMMUNITY FREE IMGBB CDN MEDIA & MILESTONES (ROUND 162)
   ══════════════════════════════════════════════════════════════ */
.comm-milestone-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comm-ms-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #c084fc;
}
.comm-ms-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.comm-ms-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.comm-ms-stats {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: #38bdf8;
  font-weight: 600;
}

/* Image Grid for Posts */
.comm-images-grid {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  border-radius: 12px;
  overflow: hidden;
}
.comm-images-grid.grid-1 {
  grid-template-columns: 1fr;
}
.comm-images-grid.grid-2 {
  grid-template-columns: 1fr 1fr;
}
.comm-images-grid.grid-multi {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.comm-img-link {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  max-height: 340px;
  background: rgba(0, 0, 0, 0.2);
}
.comm-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
  display: block;
}
.comm-img-link:hover img {
  transform: scale(1.03);
}

/* Modal Image Picker Preview Strip */
.cp-preview-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cp-preview-thumb-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.cp-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cp-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Sitewide Announcement Ticker Banner */
.sitewide-announcement-bar {
  background: linear-gradient(90deg, #1e1b4b, #312e81, #1e1b4b);
  border-bottom: 1px solid rgba(99, 102, 241, 0.35);
  color: #e0e7ff;
  font-size: 0.82rem;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1001;
}
.sitewide-announcement-bar.banner-success {
  background: linear-gradient(90deg, #064e3b, #047857, #064e3b);
  border-bottom-color: rgba(52, 211, 153, 0.4);
  color: #ecfdf5;
}
.sitewide-announcement-bar.banner-alert {
  background: linear-gradient(90deg, #78350f, #b45309, #78350f);
  border-bottom-color: rgba(251, 191, 36, 0.4);
  color: #fef3c7;
}
.announcement-dismiss-btn {
  background: none;
  border: none;
  color: currentColor;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.75;
}
.announcement-dismiss-btn:hover {
  opacity: 1;
}

/* Theme Accents */
[data-theme-accent="emerald"] {
  --primary: #10b981;
  --accent: #34d399;
}
[data-theme-accent="cyan"] {
  --primary: #06b6d4;
  --accent: #22d3ee;
}
[data-theme-accent="amber"] {
  --primary: #f59e0b;
  --accent: #fbbf24;
}
[data-theme-accent="violet"] {
  --primary: #8b5cf6;
  --accent: #a78bfa;
}

/* ============================================================
   SALARY INSIGHTS & MARKET WORTH EXPLORER ("What the Industry Pays")
   ============================================================ */
.salary-container {
  max-width: min(1440px, 100%);
  margin: 0 auto;
  padding: 16px 20px 80px;
  box-sizing: border-box;
}

.salary-hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(6, 182, 212, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 20px;
  margin-bottom: 24px;
}

.salary-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2dd4bf;
  margin-bottom: 10px;
}

.salary-hero-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.salary-hero-subtitle {
  margin: 0;
  max-width: 680px;
  font-size: 0.92rem;
  color: var(--text2);
  line-height: 1.5;
}

/* 4-Stat Metric Deck */
.salary-stats-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.salary-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.salary-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.35);
}

.salary-stat-icon {
  font-size: 1.6rem;
  line-height: 1;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.salary-stat-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.salary-stat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text3);
}

.salary-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.salary-stat-hint {
  font-size: 0.75rem;
  color: var(--text2);
  margin-top: 2px;
}

/* Cards and Panels */
.salary-card-panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  box-sizing: border-box;
}

.salary-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

/* Trends Chart */
.salary-trends-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 180px;
  padding: 10px 0 20px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.salary-trend-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 65px;
  height: 100%;
  justify-content: flex-end;
}

.salary-trend-bar-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.salary-trend-val-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2dd4bf;
}

.salary-trend-bar {
  width: 32px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #2dd4bf, rgba(6, 182, 212, 0.6));
  transition: height 0.4s ease;
}

.salary-trend-bar.has-campus-spike {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.salary-trend-month {
  font-size: 0.75rem;
  color: var(--text2);
  font-weight: 600;
  white-space: nowrap;
}

/* Filters & Slicers — Obsidian Glassmorphic Horizon */
.salary-filters-wrap {
  background: linear-gradient(165deg, rgba(14, 20, 36, 0.85) 0%, rgba(8, 12, 22, 0.95) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(45, 212, 191, 0.28) !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.salary-filters-row {
  display: grid !important;
  grid-template-columns: 2fr repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: flex-end !important;
}

@media (max-width: 1200px) {
  .salary-filters-row {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}
@media (max-width: 680px) {
  .salary-filters-row {
    grid-template-columns: 1fr !important;
  }
}

.salary-search-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.salary-search-icon {
  position: absolute !important;
  left: 12px !important;
  font-size: 0.85rem !important;
  color: #2dd4bf !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: none !important;
}

.salary-search-box input {
  width: 100% !important;
  padding: 10px 34px 10px 36px !important;
  background: rgba(10, 15, 28, 0.92) !important;
  border: 1px solid rgba(45, 212, 191, 0.28) !important;
  border-radius: 10px !important;
  color: #f1f5f9 !important;
  font-size: 0.85rem !important;
  font-family: inherit !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.salary-search-box input:focus {
  outline: none !important;
  border-color: #2dd4bf !important;
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.28), inset 0 1px 4px rgba(0, 0, 0, 0.3) !important;
  background: rgba(13, 20, 38, 0.98) !important;
}

.salary-search-box input::placeholder {
  color: #64748b !important;
}

.salary-search-clear {
  position: absolute !important;
  right: 10px !important;
  background: none !important;
  border: none !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  padding: 2px 6px !important;
  font-size: 13px !important;
  transition: color 0.15s ease !important;
}

.salary-search-clear:hover {
  color: #2dd4bf !important;
}

.salary-select-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  min-width: 0 !important;
}

.salary-select-wrap label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #2dd4bf !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.salary-select-wrap select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 100% !important;
  padding: 9.5px 32px 9.5px 12px !important;
  background-color: rgba(10, 15, 28, 0.92) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 11px center !important;
  background-size: 12px !important;
  border: 1px solid rgba(45, 212, 191, 0.28) !important;
  border-radius: 10px !important;
  color: #f1f5f9 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

.salary-select-wrap select:hover {
  border-color: rgba(45, 212, 191, 0.6) !important;
  background-color: rgba(14, 22, 40, 0.96) !important;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.2) !important;
}

.salary-select-wrap select:focus {
  outline: none !important;
  border-color: #2dd4bf !important;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.22), 0 0 20px rgba(45, 212, 191, 0.3) !important;
  background-color: #0b0f19 !important;
}

.salary-select-wrap select option {
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
}

.salary-select-wrap select option:checked {
  background: rgba(45, 212, 191, 0.25) !important;
  color: #2dd4bf !important;
  font-weight: 700 !important;
}

.salary-filter-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text2);
}

/* Dual Deck */
.salary-dual-deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .salary-dual-deck {
    grid-template-columns: 1fr;
  }
}

.salary-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.salary-rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 0.82rem;
}

.salary-rank-item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.salary-rank-item-val {
  font-weight: 700;
  color: #2dd4bf;
}

/* Results Grid */
.salary-results-section {
  margin-bottom: 32px;
}

.salary-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.salary-results-badge {
  font-size: 0.78rem;
  color: var(--text3);
}

.salary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.salary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.salary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.35);
}

.salary-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.salary-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.salary-card-comp {
  font-size: 0.82rem;
  color: var(--text2);
  font-weight: 600;
}

.salary-card-source {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.1);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.2);
  white-space: nowrap;
}

.salary-card-source.peer {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.2);
}

.salary-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text3);
  margin-bottom: 14px;
}

.salary-card-bracket-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}

.salary-card-bracket-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2dd4bf;
  margin-bottom: 6px;
}

.salary-bar-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
}

.salary-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2dd4bf, #06b6d4);
  border-radius: 3px;
}

.salary-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text3);
}

.salary-card-skills {
  margin-top: 8px;
}

.salary-card-skills-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text3);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.salary-skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.salary-skill-chip {
  font-size: 0.72rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text2);
}

.salary-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* Contribute Banner */
.salary-contribute-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(99, 102, 241, 0.04));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 18px;
  padding: 24px 28px;
}

.salary-contribute-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.salary-contribute-text .sc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a78bfa;
  margin-bottom: 6px;
}

.salary-contribute-text h3 {
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.salary-contribute-text p {
  margin: 0;
  max-width: 600px;
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.45;
}

/* Salary Contribution Modal — Obsidian Glassmorphic Form Fields */
#salaryContributeModal .modal-box {
  background: linear-gradient(165deg, rgba(14, 20, 36, 0.98) 0%, rgba(8, 12, 22, 0.99) 100%) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(45, 212, 191, 0.35) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(45, 212, 191, 0.15) !important;
}

#salaryContributeModal .rf-field {
  margin-bottom: 12px;
}

#salaryContributeModal .rf-field label {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: #2dd4bf !important;
  margin-bottom: 6px !important;
  display: block !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

#salaryContributeModal input,
#salaryContributeModal select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 100% !important;
  padding: 10.5px 14px !important;
  background-color: rgba(10, 15, 28, 0.92) !important;
  border: 1px solid rgba(45, 212, 191, 0.28) !important;
  border-radius: 10px !important;
  color: #f1f5f9 !important;
  font-size: 0.85rem !important;
  font-family: inherit !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

#salaryContributeModal select {
  padding-right: 36px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px !important;
  cursor: pointer !important;
}

#salaryContributeModal input:focus,
#salaryContributeModal select:focus {
  outline: none !important;
  border-color: #2dd4bf !important;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.22), 0 0 18px rgba(45, 212, 191, 0.28) !important;
  background-color: #0b0f19 !important;
}

#salaryContributeModal select option {
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
}

#salaryContributeModal select option:checked {
  background: rgba(45, 212, 191, 0.25) !important;
  color: #2dd4bf !important;
  font-weight: 700 !important;
}

/* ══════════════════════════════════════════════════════════════
   COMMUNITY MULTI-IMAGE CAROUSEL & LIGHTBOX (ROUND 163)
   ══════════════════════════════════════════════════════════════ */
.comm-carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 12px 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.comm-carousel-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.comm-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  max-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
  background: #090d16;
}
.comm-carousel-slide img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
}
.comm-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  z-index: 5;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.comm-carousel-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.08);
}
.comm-carousel-btn.prev { left: 12px; }
.comm-carousel-btn.next { right: 12px; }

.comm-carousel-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.comm-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.comm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
}
.comm-dot.active {
  width: 18px;
  border-radius: 10px;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* Lightbox Fullscreen Modal */
.comm-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(18px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comm-lightbox-container {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comm-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.comm-lightbox-close:hover { opacity: 1; }
.comm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.comm-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
}
.comm-lightbox-nav.prev { left: -60px; }
.comm-lightbox-nav.next { right: -60px; }
.comm-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
.comm-lightbox-content img {
  max-width: 86vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}
.comm-lightbox-counter {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Founder & Admin Role Badge */
.role-founder {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.4)) !important;
  color: #fef08a !important;
  border: 1px solid rgba(251, 191, 36, 0.7) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
  font-weight: 800 !important;
  letter-spacing: 0.3px;
}

/* Bottom Monetization Zone (Non-Intrusive) */
.bottom-monetization-zone {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.7));
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 16px 22px;
  margin-top: 32px;
}
.bmz-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.bmz-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
  width: 100%;
}
.bmz-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
}
.bmz-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 3px 0 0;
  line-height: 1.4;
}

/* User Feedback Rating Stars & Inbox */
.fb-rating-stars {
  display: flex;
  gap: 8px;
  font-size: 1.7rem;
  user-select: none;
  margin-top: 4px;
}
.fb-rating-stars .star {
  color: #334155;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.fb-rating-stars .star.active {
  color: #fbbf24;
}
.fb-rating-stars .star:hover {
  transform: scale(1.15);
}
.fb-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.fb-item-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.fb-item-cat {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}
.fb-item-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}
.fb-status-new {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.fb-status-resolved {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.fb-item-msg {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 10px;
}
.fb-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text3);
}

/* ─── Mobile Community Hub Header Polish ─── */
@media (max-width: 768px) {
  .comm-header-discord {
    display: none !important;
  }
  .comm-header-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
  }
  .comm-header-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 9px 8px;
    font-size: 0.82rem;
  }
  .discord-invite-banner {
    padding: 12px 14px;
    margin-bottom: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .discord-invite-banner .dib-left {
    gap: 10px;
  }
  .discord-invite-banner .dib-title {
    font-size: 0.95rem;
    font-weight: 700;
  }
  .discord-invite-banner .dib-sub {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .discord-invite-banner .btn-discord {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   ROUND 165: SKILLS & RESPONSIBILITIES ERGONOMICS & JD POLISH
   ============================================================ */
.job-tag.skill-tag {
  background: rgba(6, 182, 212, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(6, 182, 212, 0.28) !important;
  font-weight: 500;
}

.modal-skills-card {
  margin: 16px 0;
  padding: 14px 16px;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 12px;
}

.modal-skills-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-skill-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  background: rgba(6, 182, 212, 0.12);
  color: #bae6fd;
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modal-resp-card {
  margin: 16px 0;
  padding: 14px 16px;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
}

.modal-resp-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fbbf24;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-resp-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
}

.modal-resp-list li {
  margin-bottom: 4px;
}

.jd-bullet-list {
  margin: 8px 0;
  padding-left: 20px;
}

.jd-bullet-list li {
  margin-bottom: 4px;
  line-height: 1.6;
}

.jd-section-heading {
  margin: 16px 0 6px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
}

/* ============================================================
   ROUND 167: 2-TIER CAREER NAVIGATOR & HIGH-DPI DISPLAY SCALING
   ============================================================ */
.career-nav-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 16px 0;
  width: 100%;
}

.career-tier-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}
.career-tier-row::-webkit-scrollbar {
  display: none;
}

.career-tier-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text3, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 95px;
}

.qual-rail, .ca-stages-rail {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding-bottom: 2px !important;
}
.qual-rail::-webkit-scrollbar, .ca-stages-rail::-webkit-scrollbar {
  display: none !important;
}

.qual-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text2, #94a3b8);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.qual-pill:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.qual-pill.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(14, 165, 233, 0.25)) !important;
  border-color: #06b6d4 !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.35) !important;
}

.qual-level-drawer {
  background: rgba(6, 182, 212, 0.04);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 12px;
  padding: 10px 16px;
  margin-top: 4px;
  animation: fadeInDown 0.25s ease-out;
}

.qual-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: wrap;
}

.qual-sub-lbl {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  white-space: nowrap;
  margin-right: 4px;
}

.cs-lvl-chip, .acca-lvl-chip, .cma-lvl-chip, .cfa-lvl-chip {
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text2, #94a3b8);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.cs-lvl-chip:hover, .acca-lvl-chip:hover, .cma-lvl-chip:hover, .cfa-lvl-chip:hover {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.35);
  color: #fff;
}

.cs-lvl-chip.active, .acca-lvl-chip.active, .cma-lvl-chip.active, .cfa-lvl-chip.active {
  background: #06b6d4 !important;
  border-color: #06b6d4 !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4) !important;
}

/* Auth initials circular badge */
.auth-avatar-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}
.auth-avatar-btn:hover {
  background: rgba(6, 182, 212, 0.15) !important;
  border-color: rgba(6, 182, 212, 0.4) !important;
  transform: translateY(-1px);
}
.auth-initials-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

/* 14-inch screen & Windows 150% scaling resilience */
@media (max-width: 1366px) {
  .header-actions {
    gap: 6px !important;
  }
  .career-tier-label {
    min-width: 80px;
    font-size: 0.68rem;
  }
  .jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)) !important;
  }
}

/* Hide scrollbars on smooth horizontal swipe rails */
.ca-stages-rail, .qual-rail, .qual-level-drawer {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.ca-stages-rail::-webkit-scrollbar, .qual-rail::-webkit-scrollbar, .qual-level-drawer::-webkit-scrollbar {
  display: none !important;
}

/* ─── Dedicated Remote & Work From Home (WFH) Filter & Card Badges ─── */
.remote-toggle-pill {
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  font-weight: 700 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.remote-toggle-pill:hover {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  transform: translateY(-1px);
}
.remote-toggle-pill.active {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35) !important;
}

.job-remote-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.32);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.job-hybrid-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.32);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* ─── Dedicated NIFTY 500 Corporate Filter & Card Badges ─── */
.nifty-toggle-pill {
  border-color: rgba(59, 130, 246, 0.4) !important;
  color: #60a5fa !important;
  background: rgba(59, 130, 246, 0.08) !important;
  font-weight: 700 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nifty-toggle-pill:hover {
  background: rgba(59, 130, 246, 0.16) !important;
  border-color: rgba(59, 130, 246, 0.65) !important;
  transform: translateY(-1px);
}
.nifty-toggle-pill.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35) !important;
}

.job-nifty-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.32);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}



