/* ==========================================================================
   CAMOUROLES — OBSIDIAN BLACK & VINTAGE GOLD EDITORIAL CRAFTSMANSHIP
   Signature Obsidian Void (#0E0F12) & Metallic Antique Gold (#C5A059)
   ========================================================================== */

:root {
  /* Obsidian Black Void Canvas */
  --bg:             #0E0F12; /* Pure rich obsidian void black */
  --bg-subtle:      #141519; /* Velvet dark noir slate */
  --surface:        #18191E; /* Elevated obsidian card surface */
  --surface-card:   #18191E;
  --surface-hover:  #20222A; /* Tactile hover surface */
  --surface-sunken: #0A0B0D; /* Deep recessed inputs & wells */

  /* Precision Metallic Hairlines */
  --line:           #24252B; /* Crisp dark border */
  --line-strong:    #34363F;
  --line-subtle:    rgba(197, 160, 89, 0.12);

  /* Typography */
  --ink:            #EDE8DF; /* Vintage warm ivory cream text */
  --ink-secondary:  #D5D0C7;
  --muted:          #8A8883; /* Warm antique muted */
  --dim:            #63615C;

  /* Vintage Gold Accents & Highlights */
  --navy:           #C5A059; /* Vintage Metallic Gold */
  --navy-accent:    #D1AC63; /* Luminous Warm Gold */
  --navy-hover:     #D4B46A;
  --navy-soft:      rgba(197, 160, 89, 0.12);
  --navy-border:    rgba(197, 160, 89, 0.35);

  --terracotta:     #C5A059; /* Primary Vintage Gold Action */
  --terracotta-hover: #D1AC63;
  --terracotta-soft:  rgba(197, 160, 89, 0.12);
  --emerald:        #10B981; /* Crisp Jewel Emerald for Live Verified Status */
  --gold:           #C5A059; /* Vintage Warm Gold */
  --gold-subtle:    rgba(197, 160, 89, 0.12);
  --gold-border:    rgba(197, 160, 89, 0.35);
  --blue-soft:      rgba(197, 160, 89, 0.15);

  /* Deep Shadows & Metallic Highlights */
  --paper-shadow:   0 2px 8px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5);
  --card-shadow:    0 1px 3px rgba(0, 0, 0, 0.5);
  --search-shadow:  0 4px 20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(197, 160, 89, 0.3);
  --sunken-shadow:  inset 0 1px 4px rgba(0, 0, 0, 0.8);

  --slider-pct:     100%;
}

[data-theme="light"] {
  --bg:             #FAF6EE; /* Vintage ivory paper tone */
  --bg-subtle:      #F3ECE0; /* Warm vintage linen */
  --surface:        #FFFEFB; /* Elevated ivory card surface */
  --surface-card:   #FFFEFB;
  --surface-hover:  #F6F0E4;
  --surface-sunken: #EFE7D8;

  --line:           #E7DECB;
  --line-strong:    #D6CABE;
  --line-subtle:    rgba(197, 160, 89, 0.15);

  --ink:            #1A1817;
  --ink-secondary:  #34312F;
  --muted:          #7A756F;
  --dim:            #9E978F;

  --navy:           #9E7B35; /* Antique Gold/Bronze */
  --navy-accent:    #B38F46;
  --navy-hover:     #876629;
  --navy-soft:      rgba(197, 160, 89, 0.12);
  --navy-border:    rgba(197, 160, 89, 0.35);

  --terracotta:     #9E7B35;
  --terracotta-hover: #876629;
  --terracotta-soft:  rgba(197, 160, 89, 0.12);
  --emerald:        #10B981;
  --gold:           #9E7B35;
  --gold-subtle:    rgba(197, 160, 89, 0.12);
  --gold-border:    rgba(197, 160, 89, 0.35);
  --blue-soft:      rgba(197, 160, 89, 0.15);

  --paper-shadow:   0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(0, 0, 0, 0.04);
  --card-shadow:    0 1px 2px rgba(0, 0, 0, 0.04);
  --search-shadow:  0 2px 14px rgba(197, 160, 89, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
  --sunken-shadow:  inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   CAMOUROLES SIGNATURE OBSIDIAN BLACK & VINTAGE GOLD SYSTEM
   Authentic Black & Gold Vintage Style (Pure Obsidian Void, Antique Gold Accents)
   ========================================================================== */
[data-theme="dark"] {
  /* Obsidian Black Void Canvas */
  --bg:             #0E0F12; /* Pure rich obsidian void black */
  --bg-subtle:      #141519; /* Velvet dark noir slate */
  --surface:        #18191E; /* Elevated obsidian card surface */
  --surface-card:   #18191E;
  --surface-hover:  #20222A; /* Tactile hover surface */
  --surface-sunken: #0A0B0D; /* Deep recessed inputs & wells */

  /* Precision Metallic Hairlines */
  --line:           #24252B; /* Crisp dark border */
  --line-strong:    #34363F;
  --line-subtle:    rgba(197, 160, 89, 0.12);

  /* Typography */
  --ink:            #EDE8DF; /* Vintage warm ivory cream text */
  --ink-secondary:  #D5D0C7;
  --muted:          #8A8883; /* Warm antique muted */
  --dim:            #63615C;

  /* Vintage Gold Accents & Highlights */
  --navy:           #C5A059; /* Vintage Metallic Gold */
  --navy-accent:    #D1AC63; /* Luminous Warm Gold */
  --navy-hover:     #D4B46A;
  --navy-soft:      rgba(197, 160, 89, 0.12);
  --navy-border:    rgba(197, 160, 89, 0.35);

  --terracotta:     #C5A059; /* Primary Vintage Gold Action */
  --terracotta-hover: #D1AC63;
  --terracotta-soft:  rgba(197, 160, 89, 0.12);
  --emerald:        #10B981; /* Crisp Jewel Emerald for Live Verified Status */
  --gold:           #C5A059; /* Vintage Warm Gold */
  --gold-subtle:    rgba(197, 160, 89, 0.12);
  --gold-border:    rgba(197, 160, 89, 0.35);
  --blue-soft:      rgba(197, 160, 89, 0.15);

  /* Deep Shadows & Metallic Highlights */
  --paper-shadow:   0 2px 8px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5);
  --card-shadow:    0 1px 3px rgba(0, 0, 0, 0.5);
  --search-shadow:  0 4px 20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(197, 160, 89, 0.3);
  --sunken-shadow:  inset 0 1px 4px rgba(0, 0, 0, 0.8);
}

.btn-apply-link,
.modal-direct-apply-btn,
.btn-search-go {
  background: var(--terracotta);
  color: #FFFFFF !important;
  font-weight: 700;
  border: 1px solid rgba(229, 201, 132, 0.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: all 0.15s ease;
}

.btn-apply-link:hover,
.modal-direct-apply-btn:hover,
.btn-search-go:hover {
  background: var(--navy-accent);
  color: #FFFFFF !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 4px 12px rgba(197, 160, 89, 0.4);
  transform: translateY(-0.5px);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overscroll-behavior-y: none;
}

html, body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Editorial Serif Headings (Inspired by ppp.webp Journal typography) */
.editorial-title,
.brand-name,
.hero-editorial-title,
.panel-heading,
.job-title {
  font-family: 'Newsreader', 'Playfair Display', Georgia, serif;
}

/* Tabular Numerals Anti-Jitter */
.tabular-num,
.filter-count,
.match-chip,
.slider-readout,
.counter-badge {
  font-variant-numeric: tabular-nums;
  font-family: 'JetBrains Mono', monospace;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
  font-size: 14px;
}

/* ==========================================================================
   STICKY TOP BAR (56px) — CLEAN PAPER TRIM
   ========================================================================== */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.brand-area {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-name {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.brand-tagline {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  display: none;
}

@media (min-width: 680px) {
  .brand-tagline {
    display: inline;
  }
}

/* Center Navigation Tabs */
.top-nav-tabs {
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 768px) {
  .top-nav-tabs {
    display: flex;
  }
}
.top-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.top-tab-btn:hover {
  background: var(--bg-subtle);
  color: var(--ink);
}
.top-tab-btn.active {
  background: var(--surface);
  border-color: var(--line);
  color: var(--gold);
  box-shadow: var(--card-shadow);
}

.top-bar-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: all 0.15s ease;
}
.top-bar-profile-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 680px) {
  .top-bar {
    padding: 0 12px;
    height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .brand-name {
    font-size: 17px;
    font-weight: 700;
  }
  .brand-tagline {
    display: none !important;
  }
  .verified-counter-badge {
    display: none !important;
  }
  .top-bar-profile-btn {
    display: none !important;
  }
  .btn-filter-toggle {
    display: none !important;
  }
  .top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.verified-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

@media (max-width: 680px) {
  .verified-counter-badge {
    padding: 3px 8px;
    font-size: 11px;
  }
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald);
  animation: pulseGreen 2.4s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* Theme Toggle Button */
.btn-theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-theme-toggle:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

/* Google Sign-in / Profile Pill */
.auth-container {
  position: relative;
}

.btn-google-signin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: all 0.15s ease;
}
.btn-google-signin:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.btn-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 2px 10px 2px 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--card-shadow);
}
.profile-avatar-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
}

.profile-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 42px;
  width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 100;
}
.profile-dropdown-menu.open { display: block; }

.dropdown-user-header {
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
}
.dropdown-user-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.dropdown-user-email { font-size: 11.5px; color: var(--muted); }

.dropdown-item {
  width: 100%;
  text-align: left;
  padding: 8px 14px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 12.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-item:hover { background: var(--bg-subtle); color: var(--terracotta); }
.dropdown-item.danger { color: #DC2626; }

.btn-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 1080px) {
  .btn-filter-toggle { display: none; }
}

/* ==========================================================================
   CHATGPT-STYLE CENTERED HERO SEARCH SECTION (NEAR TOP)
   ========================================================================== */
.hero-search-section {
  padding: 38px 20px 24px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-editorial-title {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}

@media (max-width: 680px) {
  .hero-editorial-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .hero-search-section {
    padding: 24px 16px 20px;
  }
}

.hero-editorial-subtitle {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 22px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .hero-editorial-subtitle {
    font-size: 13px;
    margin-bottom: 18px;
  }
}

/* ChatGPT Pill Search Box & AI Agentic Bar */
.chatgpt-search-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto 20px;
}

/* Luminous Glowing AI Agentic Search Bar */
.ai-agentic-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 8px 6px 14px;
  background: var(--surface);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.25), 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  overflow: hidden;
}

.ai-agentic-search-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: shimmerSweep 3.4s infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  60% { left: 140%; }
  100% { left: 140%; }
}

.ai-agentic-search-bar:hover {
  box-shadow: 0 0 24px rgba(197, 160, 89, 0.40), 0 4px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-0.5px);
}

.ai-sparkle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-right: 10px;
  flex-shrink: 0;
  animation: pulseNavy 2.2s infinite ease-in-out;
}

@keyframes pulseNavy {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.ai-search-text-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.ai-badge-shimmer {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--gold);
  color: #FFFFFF;
  flex-shrink: 0;
}

.ai-placeholder-text {
  font-size: 13.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-open-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
}

.ai-open-chat-btn:hover {
  background: var(--terracotta-hover);
  transform: scale(1.03);
}

/* Visible Segmented Mode Switch Bar */
.search-mode-segmented-bar {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.mode-segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mode-segment-btn:hover {
  color: var(--ink);
}

.mode-segment-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
}

.mode-segment-btn.active#seg-btn-ai {
  color: var(--gold);
  font-weight: 700;
}

/* Inline Expanding AI Recruiter Decision Panel & ChatGPT-Style Unfold Panel */
.ai-recruiter-expansion-panel,
.ai-chat-unfold-panel {
  width: 100%;
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(217, 119, 6, 0.18);
  overflow: hidden;
  animation: panelSlideDown 0.22s ease-out;
  text-align: left;
}

.ai-chat-unfold-inner {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-unfold-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.chat-unfold-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-unfold-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.chat-unfold-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.chat-messages-container {
  max-height: 280px;
  min-height: 90px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 2px;
}

.chat-cv-action-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  background: var(--gold);
  color: #FFFFFF;
  border-radius: 999px;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.chat-unfold-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.chat-summary-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

@keyframes panelSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expansion-panel-inner {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.panel-badge-glow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 4px;
}

.panel-main-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.panel-close-btn,
.panel-fold-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.panel-close-btn:hover,
.panel-fold-btn:hover {
  color: var(--ink);
  background: var(--surface-3);
  border-color: var(--line-strong);
}

.decision-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.decision-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.decision-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.harness-chip {
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.harness-chip:hover {
  border-color: var(--gold);
  background: var(--gold-subtle);
}

.harness-chip.active {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.harness-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 680px) {
  .harness-inputs-row {
    grid-template-columns: 1fr;
  }
}

.harness-cv-drop-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1.5px dashed var(--gold-border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
}

.harness-cv-drop-pill:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
}

.harness-query-input-wrap {
  position: relative;
}

.harness-query-field {
  width: 100%;
  height: 100%;
  min-height: 42px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.harness-query-field:focus {
  border-color: var(--gold);
  background: var(--surface);
}

.harness-action-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.harness-decision-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.decision-summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  box-shadow: 0 0 6px var(--gold);
}

.btn-apply-harness {
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 999px;
  background: var(--gold);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  transition: all 0.15s ease;
}

.btn-apply-harness:hover {
  background: var(--terracotta-hover);
  transform: translateY(-1px);
}

.chatgpt-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--search-shadow);
  transition: all 0.2s ease;
  padding: 4px 6px;
}

.chatgpt-search-box:focus-within {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-soft), var(--search-shadow);
}

.chatgpt-search-icon {
  margin-left: 14px;
  color: var(--muted);
  flex-shrink: 0;
}

.chatgpt-search-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}
.chatgpt-search-input::placeholder {
  color: var(--dim);
}

.search-clear-action {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 12px;
  font-size: 14px;
  display: none;
}
.search-clear-action:hover { color: var(--ink); }

/* ==========================================================================
   AUTHENTIC COMPANY SHOWCASE BANNER (NON-CLICKABLE TRUST DISPLAY)
   ========================================================================== */
.company-showcase-shelf {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.showcase-header-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.showcase-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 680px) {
  .company-showcase-shelf {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 0;
    align-items: flex-start;
  }
  .showcase-header-label {
    padding: 0 14px;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .showcase-badges-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding: 4px 14px 10px 14px !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  .showcase-badges-row::-webkit-scrollbar {
    display: none !important;
  }
}

.company-showcase-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--card-shadow);
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.company-showcase-item:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.20);
}

.company-showcase-item.active {
  background: var(--gold);
  color: #FFFFFF !important;
  border-color: var(--gold);
  font-weight: 700;
}

.yc-square-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #FF5B1F;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 10px;
  border-radius: 3px;
  line-height: 1;
}

/* ==========================================================================
   TWO-ZONE FOCUSED DESKTOP LAYOUT (260px Rail | minmax(0, 840px) Stream)
   ========================================================================== */
.app-layout {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

@media (min-width: 1080px) {
  .app-layout {
    grid-template-columns: 260px minmax(0, 860px);
    justify-content: center;
    min-height: calc(100vh - 56px);
  }
}

/* ==========================================================================
   ZONE 1: FILTER RAIL (Left 270px)
   ========================================================================== */
.filter-rail {
  background: var(--bg);
  border-right: 1px solid var(--line);
  padding: 20px 16px;
  display: none;
}

@media (min-width: 1080px) {
  .filter-rail {
    display: block;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
  }
}

.rail-section {
  margin-bottom: 24px;
}

.rail-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.rail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.rail-link-clear {
  font-size: 11px;
  font-weight: 600;
  color: var(--terracotta);
  cursor: pointer;
}
.rail-link-clear:hover { text-decoration: underline; }

/* Custom Tactile Experience Slider — Vintage Gold Edition */
.slider-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.slider-box:hover {
  border-color: var(--navy-border);
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.08);
}

.slider-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.slider-readout {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  border: 1px solid var(--navy-border);
  padding: 2.5px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

input[type=range].tactile-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #D4AF37 0%, #C5A059 var(--slider-pct, 100%), var(--surface-sunken) var(--slider-pct, 100%));
  outline: none;
  margin: 6px 0;
  cursor: pointer;
  border: 1px solid var(--line);
  box-shadow: var(--sunken-shadow);
  transition: all 0.15s ease;
}

[data-theme="dark"] input[type=range].tactile-slider {
  background: linear-gradient(90deg, #D4AF37 0%, #C5A059 var(--slider-pct, 100%), var(--surface-sunken) var(--slider-pct, 100%));
}

/* Tactile Jewel Thumb */
input[type=range].tactile-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #C5A059;
  border: 2.5px solid #0E0F12;
  box-shadow: 0 2px 6px rgba(197, 160, 89, 0.45), 0 0 0 1px rgba(197, 160, 89, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

[data-theme="dark"] input[type=range].tactile-slider::-webkit-slider-thumb {
  background: #C5A059;
  border: 2.5px solid #0E0F12;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.55), 0 0 0 1px rgba(197, 160, 89, 0.35);
}

input[type=range].tactile-slider::-webkit-slider-thumb:hover {
  transform: scale(1.22);
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.65), 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] input[type=range].tactile-slider::-webkit-slider-thumb:hover {
  transform: scale(1.22);
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.75);
}

input[type=range].tactile-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #C5A059;
  border: 2.5px solid #0E0F12;
  box-shadow: 0 2px 6px rgba(197, 160, 89, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease;
}

[data-theme="dark"] input[type=range].tactile-slider::-moz-range-thumb {
  background: #C5A059;
  border: 2.5px solid #0E0F12;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.55);
}

input[type=range].tactile-slider::-moz-range-thumb:hover {
  transform: scale(1.22);
}

.slider-presets-row {
  display: flex;
  gap: 6px;
  margin-top: 11px;
  flex-wrap: wrap;
}

.preset-pill-btn {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-pill-btn:hover {
  color: var(--ink);
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.preset-pill-btn.active {
  background: #C5A059;
  border-color: #C5A059;
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(197, 160, 89, 0.35);
}

[data-theme="dark"] .preset-pill-btn.active {
  background: #C5A059;
  border-color: #C5A059;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.45);
}

/* Filter Item Lists */
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

.filter-option-btn {
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s ease;
}

.filter-option-btn:hover {
  background: var(--surface);
  border-color: var(--line);
}

.filter-option-btn.active {
  background: var(--surface);
  border-color: var(--terracotta);
  font-weight: 600;
  color: var(--terracotta);
  box-shadow: var(--card-shadow);
}

.filter-count {
  font-size: 11px;
  color: var(--muted);
}
.filter-option-btn.active .filter-count {
  color: var(--terracotta);
}

/* ==========================================================================
   ZONE 2: RESULTS STREAM (Center)
   ========================================================================== */
.stream-panel {
  background: var(--bg);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stream-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 56px;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.stream-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.stream-tabs-wrap {
  display: flex;
  gap: 6px;
}

.stream-tab-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.stream-tab-btn:hover { color: var(--ink); }

.stream-tab-btn.active {
  background: var(--surface);
  border-color: var(--terracotta);
  color: var(--terracotta);
  box-shadow: var(--card-shadow);
}

.stream-count-text {
  font-size: 12.5px;
  color: var(--muted);
}

.stream-sort-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sort-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.feed-sort-select {
  height: 30px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
}

.feed-sort-select:focus {
  border-color: var(--gold);
}

/* Active Filter Badges */
.active-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.active-pills-bar:empty { display: none; }

.active-filter-pill {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.active-filter-pill button {
  background: none;
  border: none;
  color: var(--terracotta);
  cursor: pointer;
  font-size: 12px;
}

/* ==========================================================================
   PAPERNEAT JOB CARDS (Clean Editorial Rows)
   ========================================================================== */
.job-rows-container {
  display: flex;
  flex-direction: column;
}

.job-row {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s ease;
  position: relative;
}

.job-row:hover {
  background: var(--surface-hover);
}

.job-row-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.job-row-title-area {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.job-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.job-company-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.company-avatar-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-brand-icon {
  display: block;
  flex-shrink: 0;
}

.job-company-badge {
  font-weight: 600;
  color: var(--ink);
}

.job-actions-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.match-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

[data-theme="dark"] .match-chip {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  border-color: rgba(52, 211, 153, 0.4);
}

.match-chip.high-match {
  background: var(--gold-subtle);
  color: var(--gold);
  border-color: var(--gold-border);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.22);
}

[data-theme="dark"] .match-chip.high-match {
  background: rgba(217, 119, 6, 0.22);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.5);
}

.btn-bookmark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-bookmark:hover { color: var(--ink); border-color: var(--line-strong); }
.btn-bookmark.saved { color: var(--gold); border-color: var(--gold); }
.btn-bookmark.saved svg { fill: var(--gold); }

/* Metadata Row */
.job-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.verified-micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--emerald);
  font-weight: 600;
  font-size: 11.5px;
}
.verified-micro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

/* AI Match Callout */
.job-match-reason {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg-subtle);
  border-left: 2px solid var(--terracotta);
  border-radius: 0 6px 6px 0;
  padding: 7px 12px;
}

/* Skills Tags */
.job-skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.skill-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-subtle);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--line);
}

/* Job Action / Apply Row */
.job-row-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.source-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* Tactile Apply / Details Button */
.btn-apply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: var(--terracotta);
  border: 1px solid var(--terracotta);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 5px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: all 0.12s ease;
}
.btn-apply-link:hover {
  background: var(--terracotta-hover);
  border-color: var(--terracotta-hover);
  transform: translateY(-0.5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 3px 8px rgba(0, 0, 0, 0.22);
}
/* Load More Roles Tactile Button */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 20px 36px;
  background: var(--bg);
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease;
}

.btn-load-more:hover {
  background: var(--surface-hover);
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-0.5px);
}

.btn-load-more:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Keyword Highlighting */
mark.search-kw {
  background: rgba(194, 94, 62, 0.16);
  color: var(--terracotta);
  border-radius: 2px;
  padding: 0 2px;
  font-weight: 600;
}

/* ==========================================================================
   ZONE 3: MATCH CV PANEL (Right 370px)
   ========================================================================== */
.match-panel {
  background: var(--bg);
  padding: 22px 18px;
  display: none;
}

@media (min-width: 1080px) {
  .match-panel {
    display: block;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
  }
}

.panel-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
}

.panel-heading {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.panel-subtext {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

/* Sunken Dropzone */
.dropzone-box {
  background: var(--surface-sunken);
  border: 2px dashed var(--line-strong);
  border-radius: 8px;
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--sunken-shadow);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.dropzone-box:hover {
  border-color: var(--terracotta);
  background: var(--surface-hover);
}

.dropzone-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.dropzone-hint { font-size: 11.5px; color: var(--muted); }

.candidate-box {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
}
.candidate-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.candidate-sub { font-size: 12px; color: var(--muted); margin-bottom: 6px; }

.btn-plain-link {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 11.5px;
  cursor: pointer;
  margin-top: 8px;
  text-decoration: underline;
}

.pref-group { margin-top: 16px; }

.pref-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}

.pref-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pref-chip {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.pref-chip:hover { background: var(--surface); }
.pref-chip.active {
  background: var(--terracotta-soft);
  border-color: var(--terracotta);
  color: var(--terracotta);
  font-weight: 600;
}

.btn-primary-action {
  width: 100%;
  height: 40px;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--terracotta);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary-action:hover {
  background: var(--terracotta-hover);
}

/* ==========================================================================
   MOBILE BOTTOM SHEET & NAV BAR (< 1080px)
   ========================================================================== */
.mobile-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-modal-backdrop.open { display: block; }

.mobile-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-modal-backdrop.open .mobile-bottom-sheet { transform: translateY(0); }

.sheet-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
}
.sheet-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.sheet-close-btn { background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px; }
.sheet-body { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.sheet-footer { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--surface); }

.mobile-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 50;
}
@media (min-width: 1080px) {
  .mobile-nav-bar { display: none; }
}

.mobile-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}
.mobile-nav-btn.active { color: var(--terracotta); font-weight: 600; }

/* Salary Badge on Job Cards */
.job-salary-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--gold);
  font-size: 12.5px;
}

/* ==========================================================================
   JOB DETAILS & APPLICATION MODAL
   ========================================================================== */
.job-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.job-modal-backdrop.open {
  display: flex;
}

.job-modal-dialog {
  width: 100%;
  max-width: 580px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  padding: 24px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.job-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.job-modal-close-btn:hover {
  color: var(--ink);
  background: var(--surface-hover);
}

.job-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-right: 32px;
}

.job-modal-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.job-modal-avatar svg {
  width: 24px;
  height: 24px;
}

.job-modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
}

.job-modal-sub {
  font-size: 13px;
  color: var(--muted);
}

/* Stats Strip */
.job-modal-stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.modal-stat-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.modal-stat-value.highlight {
  color: var(--gold);
}
.modal-stat-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.job-modal-section {
  margin-bottom: 18px;
}
.job-modal-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.job-modal-summary-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}

.job-modal-skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.job-modal-sources-box {
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.modal-sources-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.source-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.source-link-row:hover {
  border-color: var(--gold);
  background: var(--gold-subtle);
  transform: translateY(-1px);
}

.source-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.source-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.source-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.source-domain {
  font-size: 11px;
  color: var(--muted);
  font-family: monospace;
}

.source-action-chip {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  background: var(--gold);
  color: #FFFFFF;
  white-space: nowrap;
}

.source-alternatives-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 4px;
}

.source-alternatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.source-link-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.source-link-pill:hover {
  border-color: var(--gold);
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-1px);
}

.source-arrow {
  font-size: 11px;
  color: var(--muted);
}

.job-modal-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.modal-direct-apply-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  background: var(--terracotta);
  color: #FFFFFF;
  border: 1px solid var(--terracotta);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.15s ease;
}
.modal-direct-apply-btn:hover {
  background: var(--terracotta-hover);
  transform: translateY(-0.5px);
}

.btn-modal-cancel {
  height: 42px;
  padding: 0 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-modal-cancel:hover {
  color: var(--ink);
}

/* ==========================================================================
   AI AGENTIC CHATBOT SEARCH MODAL STYLING
   ========================================================================== */
.ai-chat-dialog {
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}

.ai-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-chat-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.ai-chat-sub {
  font-size: 12px;
  color: var(--muted);
}

.ai-chat-body {
  padding: 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msg-bubble {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 85%;
}

.msg-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.chat-msg.user-msg {
  flex-direction: row-reverse;
}
.chat-msg.user-msg .msg-avatar {
  background: var(--terracotta);
  color: #FFF;
}
.chat-msg.user-msg .msg-bubble {
  background: var(--surface-hover);
  border-color: var(--terracotta);
  border-radius: 14px;
  border-top-right-radius: 4px;
}

.chat-cv-card {
  background: var(--bg);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chat-cv-card:hover {
  background: var(--surface-hover);
}

.chat-cv-dropzone {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-cv-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.chat-cv-desc {
  font-size: 11.5px;
  color: var(--muted);
}

.chat-suggestions-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-suggestions-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.chat-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chat-prompt-chip {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
.chat-prompt-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--surface);
}

.agentic-progress-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.progress-step.active {
  color: var(--gold);
  font-weight: 600;
}
.progress-step.done {
  color: var(--emerald);
  font-weight: 500;
}
.progress-step.ready {
  color: var(--emerald);
  font-weight: 700;
  font-size: 13px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.btn-show-ai-results {
  height: 44px;
  font-size: 14px;
  font-weight: 700;
  background: var(--gold);
  color: #FFFFFF !important;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}
.btn-show-ai-results:hover {
  transform: translateY(-1px);
}

.ai-chat-composer {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  gap: 10px;
}
.ai-chat-input-field {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
}
.ai-chat-input-field:focus {
  border-color: var(--gold);
}
.ai-chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}


/* Inline AI Recruiter Direct Webpage Control & Job Cards */
.chat-inline-job-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}
.chat-inline-job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.chat-inline-job-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.1);
}
.chat-inline-job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.chat-inline-job-company {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.chat-inline-comp-name {
  color: var(--ink);
  font-weight: 700;
}
.chat-inline-match-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--gold);
  color: #FFFFFF;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.chat-inline-job-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.chat-inline-job-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.chat-inline-job-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
}
.chat-inline-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--gold);
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.chat-inline-apply-btn:hover {
  opacity: 0.9;
}
.chat-inline-view-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.chat-inline-view-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.chat-inline-cv-prompt {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-inline-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--gold);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.2);
}
.chat-inline-upload-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.chat-inline-cv-hint {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}
.chat-inline-feed-jump {
  margin-top: 8px;
  width: 100%;
}
.chat-jump-feed-btn {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.chat-jump-feed-btn:hover {
  background: var(--gold);
  color: #FFFFFF;
}

/* ==========================================================================
   DEDICATED PROFILE PAGE VIEW STYLES
   ========================================================================== */
.profile-page-layout {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  min-height: calc(100vh - 56px);
}
@media (max-width: 680px) {
  .profile-page-layout {
    padding: 16px 14px 100px;
  }
}
.profile-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profile-nav-back {
  display: flex;
  align-items: center;
}
.btn-back-to-stream {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-back-to-stream:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--card-shadow);
}
@media (max-width: 680px) {
  .profile-card {
    padding: 16px 18px;
  }
}
.profile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}
.profile-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.profile-card-sub {
  font-size: 12.5px;
  color: var(--muted);
}

.identity-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.identity-avatar-monogram {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.25);
}
.identity-info {
  flex: 1;
}
.identity-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.identity-email {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.identity-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--emerald);
  font-weight: 600;
}
.btn-signout-profile {
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.btn-signout-profile:hover {
  color: #DC2626;
  border-color: #DC2626;
}
.btn-wipe-data {
  padding: 6px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid #DC2626;
  color: #DC2626;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-wipe-data:hover {
  background: rgba(220, 38, 38, 0.08);
}
.candidate-data-box {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.candidate-headline {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.candidate-exp-text {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.candidate-skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.profile-top-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}




/* Crisp High-End Corporate Monogram Pill */
.company-monogram-pill {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Precision Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.25);
  border-radius: 999px;
  border: 1.5px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--terracotta);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #24252B;
  border-color: var(--bg);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #C5A059;
}


/* ==========================================================================
   PRIME PRO PLANS, RAZORPAY & GOOGLE AUTH (Vintage Gold Craftsmanship)
   ========================================================================== */
.btn-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C5A059, #D4B46A);
  color: #FFFFFF !important;
  border: 1px solid rgba(229, 201, 132, 0.7);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 2px 8px rgba(0, 0, 0, 0.35);
}
.btn-pro-badge:hover {
  background: linear-gradient(135deg, #D1AC63, #E0BC6E);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 4px 14px rgba(197, 160, 89, 0.4);
  transform: translateY(-1px);
}
.btn-pro-badge.active {
  background: linear-gradient(135deg, #B38F46, #D4AF37);
  color: #FFFFFF !important;
  border-color: #F1D78A;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.google-auth-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.btn-google-signin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-google-signin:hover {
  background: var(--bg-subtle);
  border-color: var(--muted);
}
.google-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 2px 10px 2px 3px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
}
.google-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.google-user-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* Luxury Plans Modal */
.plans-modal-dialog {
  width: 92%;
  max-width: 500px;
  background: var(--surface);
  border: 1px solid rgba(201, 165, 92, 0.45);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  position: relative;
}
.plans-offer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(110deg, #F9F1DE, #F0E3C2);
  border: 1px solid rgba(201, 165, 92, 0.5);
  color: #C5A059;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
[data-theme="dark"] .plans-offer-strip {
  background: rgba(201, 165, 92, 0.15);
  color: #E2C07D;
}
.plans-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.plans-seg-btn {
  border: none;
  background: none;
  padding: 9px 6px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.plans-seg-btn.active {
  background: linear-gradient(135deg, #C5A059, #D4B46A);
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.35);
}
.plans-seg-btn small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
}

.plan-card-body {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.plan-price-val {
  font-size: 34px;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: -0.03em;
}
.plan-price-was {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
}
.plan-price-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--terracotta);
  border: 1px solid rgba(197, 160, 89, 0.25);
}
.plan-feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.plan-feature-item svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.btn-razorpay-cta {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #C5A059, #D4B46A);
  color: #FFFFFF !important;
  border: 1px solid rgba(229, 201, 132, 0.7);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  margin-bottom: 16px;
}
.btn-razorpay-cta:hover {
  background: linear-gradient(135deg, #D1AC63, #E0BC6E);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 6px 20px rgba(197, 160, 89, 0.4);
  transform: translateY(-1px);
}

.razorpay-trust-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid rgba(201, 165, 92, 0.35);
}
.trust-shield-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 165, 92, 0.12);
  border: 1px solid rgba(201, 165, 92, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.trust-text-area {
  flex: 1;
}
.trust-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 3px 0;
}
.trust-chip {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}
.trust-sub {
  font-size: 10px;
  color: var(--muted);
}


/* Toast Notification (Vintage Gold Luxury Aesthetic) */
.camouroles-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #18191E;
  color: #EDE8DF;
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.camouroles-toast.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   MOBILE SCREEN RESPONSIVENESS & BOTTOM SHEET MODALS (< 680px)
   ========================================================================== */
@media (max-width: 680px) {
  /* Safe area padding for mobile body and job streams */
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 16px));
  }
  .app-layout {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 16px));
  }
  .mobile-nav-bar {
    height: calc(56px + env(safe-area-inset-bottom, 12px));
    padding-bottom: env(safe-area-inset-bottom, 12px);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  }
  
  /* Native Mobile Bottom Sheet Dialogs for Job Detail & Pricing */
  .job-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .job-modal-dialog,
  .plans-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    padding: 22px 18px calc(24px + env(safe-area-inset-bottom, 16px)) !important;
    margin: 0 !important;
    animation: sheetSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  @keyframes sheetSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  /* Compact top action controls */
  .btn-pro-badge {
    padding: 5px 10px;
    font-size: 11px;
    height: 32px;
  }
  .btn-theme-toggle {
    width: 32px;
    height: 32px;
  }
  .btn-google-signin {
    padding: 4px 10px;
    height: 32px;
    font-size: 11.5px;
  }
  .google-user-pill {
    padding: 3px 8px;
    height: 32px;
  }
  .google-user-name {
    display: none;
  }
}
