:root {
  --bg: #F8F9F7;
  --surface: #FFFFFF;
  --surface-soft: #F2F5F3;
  --ink: #141518;
  --ink-2: #2D3035;
  --soft: #5A6068;
  --emerald: #0F4C3A;
  --emerald-hover: #0B3A2C;
  --mint: #E6F0EC;
  --mint-border: #C2D8CF;
  --line: #141518;
  --line2: #DCE2DD;
  --match-green: #10B981;
  --opt-amber: #F59E0B;
  --ok: #10B981;
  --ok-bg: #ECFDF5;
  --ok-border: #A7F3D0;
  --warn: #F59E0B;
  --warn-bg: #FFFBEB;
  --warn-border: #FDE68A;
  --err: #B91C1C;
  --err-bg: #FEF2F2;
  --err-border: #FECACA;
  --shadow-sm: 0 1px 3px rgba(20, 21, 24, 0.05);
  --shadow-md: 0 12px 28px rgba(20, 21, 24, 0.08);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Live Ambient Background Animation */
.sf-live-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(16, 185, 129, 0.10), transparent 60%),
    radial-gradient(900px 600px at 92% 12%, rgba(15, 76, 58, 0.08), transparent 58%),
    linear-gradient(180deg, #F5F9F7 0%, #F8F9F7 55%, #F2F7F4 100%);
}
.sf-bg-grid {
  position: absolute;
  inset: -40px;
  background-image:
    radial-gradient(rgba(15, 76, 58, 0.085) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: sfGridPan 28s linear infinite;
  opacity: 0.65;
}
.sf-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(68px);
  will-change: transform, opacity;
}
.sf-orb-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  left: -90px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.24) 0%, rgba(16, 185, 129, 0) 70%);
  animation: sfOrbDrift1 16s ease-in-out infinite alternate;
}
.sf-orb-2 {
  width: 520px;
  height: 520px;
  top: 22%;
  right: -140px;
  background: radial-gradient(circle, rgba(15, 76, 58, 0.16) 0%, rgba(15, 76, 58, 0) 72%);
  animation: sfOrbDrift2 21s ease-in-out infinite alternate;
}
.sf-orb-3 {
  width: 400px;
  height: 400px;
  bottom: -110px;
  left: 32%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, rgba(16, 185, 129, 0.08) 45%, transparent 72%);
  animation: sfOrbDrift3 19s ease-in-out infinite alternate;
}

@keyframes sfOrbDrift1 {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(90px, 55px, 0) scale(1.12); opacity: 1; }
  100% { transform: translate3d(35px, 120px, 0) scale(0.96); opacity: 0.8; }
}
@keyframes sfOrbDrift2 {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate3d(-110px, 70px, 0) scale(1.15); opacity: 1; }
  100% { transform: translate3d(-45px, -65px, 0) scale(0.95); opacity: 0.85; }
}
@keyframes sfOrbDrift3 {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
  50% { transform: translate3d(75px, -85px, 0) scale(1.1); opacity: 0.95; }
  100% { transform: translate3d(-65px, -30px, 0) scale(1.02); opacity: 0.8; }
}
@keyframes sfGridPan {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(32px, 32px, 0); }
}

.sf-scroll-gfx {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity 0.3s ease;
}
.sf-scroll-ring-top {
  width: 340px;
  height: 340px;
  top: 56px;
  right: -70px;
  transform: translate3d(calc(var(--sf-scroll-p, 0) * -22px), calc(var(--sf-sy, 0) * -0.14px), 0)
    rotate(calc(var(--sf-sy, 0) * 0.04deg));
}
.sf-scroll-wave-left {
  width: 330px;
  height: 400px;
  top: 26%;
  left: -64px;
  transform: translate3d(calc(var(--sf-scroll-p, 0) * 18px), calc(var(--sf-sy, 0) * -0.1px), 0);
}
.sf-scroll-path {
  stroke-dasharray: 560;
  stroke-dashoffset: calc(220 - var(--sf-scroll-p, 0) * 220);
}
.sf-scroll-arc-bottom {
  width: 300px;
  height: 300px;
  bottom: -40px;
  right: 8%;
  transform: translate3d(0, calc(var(--sf-sy, 0) * -0.16px), 0)
    rotate(calc(var(--sf-sy, 0) * -0.03deg));
}

.sf-scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #10B981 0%, #34D399 55%, #A7F3D0 100%);
  transform-origin: left center;
  transform: scaleX(var(--sf-scroll-p, 0));
  will-change: transform;
  pointer-events: none;
}

@media (max-width: 760px) {
  .sf-scroll-ring-top { width: 220px; height: 220px; right: -80px; opacity: 0.7; }
  .sf-scroll-wave-left { width: 210px; height: 260px; left: -90px; opacity: 0.65; }
  .sf-scroll-arc-bottom { width: 200px; height: 200px; right: -40px; opacity: 0.65; }
}

@media (prefers-reduced-motion: reduce) {
  .sf-bg-grid, .sf-bg-orb, .sf-scroll-gfx, .sf-scroll-path {
    animation: none !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
  .sf-scroll-progress { display: none; }
}

header, main, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

h1 { font-size: clamp(2rem, 3.8vw, 3.05rem); line-height: 1.1; text-wrap: balance; }
h2 { font-size: 1.5rem; line-height: 1.2; text-wrap: balance; }
h3 { font-size: 1.12rem; line-height: 1.28; }

.gap { margin-top: 36px; }
a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--soft); }
.small { font-size: 0.85rem; }
.tabular { font-variant-numeric: tabular-nums; }
.lead { color: var(--ink); font-size: 1.02rem; margin: 10px 0 20px; max-width: 64ch; }

/* Main Navigation Bar — Sticky Frosted Deep Emerald (#0F4C3A) with Gold Crown */
header {
  position: sticky;
  top: 0;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(15, 76, 58, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.14rem;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand:hover { text-decoration: none; opacity: 0.95; }

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--mint);
  color: var(--emerald);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-badge svg { width: 22px; height: 22px; display: block; }
.brand em { font-style: normal; color: var(--mint); }

nav {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.86rem;
  font-weight: 600;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s;
}

nav a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }

.nav-agent {
  color: #FFFFFF !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-agent-ic {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.14);
  border: 1px solid rgba(255, 215, 0, 0.42);
  color: #FFD700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav-agent-ic svg { width: 16px; height: 16px; display: block; }

#navAuth { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
#navAuth a:not(.btn) { color: var(--mint); font-weight: 700; }

#navAuth .btn {
  background: var(--emerald);
  color: #FFFFFF;
  border: 1.5px solid var(--mint);
}
#navAuth .btn:hover {
  background: var(--emerald-hover);
  border-color: #FFFFFF;
}

.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.nav-hamburger:hover,
.nav-hamburger.is-open {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}
.nav-hamburger[hidden] { display: none !important; }
.nav-hamburger-lines {
  position: relative;
  width: 19px;
  height: 14px;
  display: block;
}
.nav-hamburger-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #FFFFFF;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease, top 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-hamburger-lines span:nth-child(1) { top: 0; }
.nav-hamburger-lines span:nth-child(2) { top: 6px; }
.nav-hamburger-lines span:nth-child(3) { top: 12px; }
.nav-hamburger.is-open .nav-hamburger-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav-hamburger.is-open .nav-hamburger-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}
.nav-hamburger.is-open .nav-hamburger-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.btn.btn-cv-highlight {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F4C3A 0%, #10B981 100%);
  color: #FFFFFF;
  border: 1.5px solid #0F4C3A;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.34), 0 0 0 3px rgba(16, 185, 129, 0.16);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, filter 0.2s ease;
}
.btn.btn-cv-highlight::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.36) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: sfBtnSheen 3.6s ease-in-out infinite;
  pointer-events: none;
}
.btn.btn-cv-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 76, 58, 0.38), 0 0 0 4px rgba(16, 185, 129, 0.24);
  filter: brightness(1.04);
  color: #FFFFFF;
}
.btn.btn-cv-highlight:focus-visible {
  outline: 2px solid #0F4C3A;
  outline-offset: 2px;
}
@keyframes sfBtnSheen {
  0%, 68% { transform: translateX(-120%); }
  100% { transform: translateX(140%); }
}
@media (prefers-reduced-motion: reduce) {
  .btn.btn-cv-highlight::after { animation: none; }
  .btn.btn-cv-highlight { transition: none; }
}

/* Buttons */
.btn {
  font: 600 0.94rem 'DM Sans', sans-serif;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #FFFFFF;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, opacity 0.15s;
}

.btn:hover { opacity: 0.9; text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.sm { padding: 7px 15px; font-size: 0.85rem; }

.btn.btn-charcoal, .btn-apply-now {
  background: #141518;
  border-color: #141518;
  color: #FFFFFF;
}

.btn.btn-charcoal:hover, .btn-apply-now:hover {
  background: #27292E;
  border-color: #27292E;
  color: #FFFFFF;
}

.btn.btn-signin, .btn.btn-emerald {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

.btn.btn-signin:hover, .btn.btn-emerald:hover {
  background: var(--emerald-hover);
  border-color: var(--emerald-hover);
  color: #FFFFFF;
}

.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
}

.btn.ghost:hover {
  background: var(--mint);
  border-color: var(--emerald);
  color: var(--emerald);
}

.btn.danger {
  color: var(--err);
  border-color: var(--err-border);
  background: var(--surface);
}

.btn.danger:hover {
  background: var(--err-bg);
  border-color: var(--err);
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

.view[hidden] { display: none; }
.view { padding: 14px 0 40px; }

/* Inputs & Forms — Pure White (#FFFFFF) surface, Deep Charcoal (#141518) border & text */
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 10px 13px;
  border: 1px solid #141518;
  border-radius: 10px;
  background: #FFFFFF;
  color: #141518;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input::placeholder, textarea::placeholder { color: #6B7280; }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.16);
}

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
label input, label textarea, label select { margin-top: 6px; font-weight: 400; }

.stack { display: grid; gap: 14px; max-width: 500px; margin: 20px 0; }
.stack.wide { max-width: 680px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 0.9rem; }
.check input { width: auto; margin-top: 3px; accent-color: var(--emerald); }

.msg { min-height: 1.2em; margin: 0; font-size: 0.9rem; font-weight: 500; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--emerald); }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; align-items: center; }

/* Cards / Panels — Pure White (#FFFFFF) */
.panel {
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  margin: 0 0 16px;
}

.panel .tag {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Pre-Login LinkedIn-Style Split Welcome Hero */
.li-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line2);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1)::before,
main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1)::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(52px);
}

main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1)::before {
  width: 340px;
  height: 340px;
  top: -110px;
  right: 8%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.20) 0%, rgba(16, 185, 129, 0) 70%);
  animation: sfHeroGlowA 11s ease-in-out infinite alternate;
}

main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1)::after {
  width: 300px;
  height: 300px;
  bottom: -110px;
  left: -40px;
  background: radial-gradient(circle, rgba(15, 76, 58, 0.14) 0%, rgba(245, 158, 11, 0.08) 45%, transparent 72%);
  animation: sfHeroGlowB 14s ease-in-out infinite alternate;
}

main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > * {
  position: relative;
  z-index: 1;
}

@keyframes sfHeroGlowA {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
  100% { transform: translate3d(-48px, 36px, 0) scale(1.16); opacity: 1; }
}

@keyframes sfHeroGlowB {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate3d(56px, -34px, 0) scale(1.14); opacity: 0.95; }
}

@keyframes sfHeroRise {
  0% { opacity: 0; transform: translate3d(0, 14px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes sfHeroMediaFloat {
  0%, 100% { transform: translate3d(0, 0, 0); box-shadow: 0 10px 28px rgba(15, 76, 58, 0.10); }
  50% { transform: translate3d(0, -6px, 0); box-shadow: 0 18px 36px rgba(16, 185, 129, 0.16); }
}

main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > .li-hero-left > * {
  animation: sfHeroRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > .li-hero-left > :nth-child(2) { animation-delay: 0.06s; }
main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > .li-hero-left > :nth-child(3) { animation-delay: 0.12s; }
main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > .li-hero-left > :nth-child(4) { animation-delay: 0.18s; }
main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > .li-hero-left > :nth-child(5) { animation-delay: 0.24s; }

@media (max-width: 900px) {
  .li-hero { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
}

.li-hero-left { display: flex; flex-direction: column; justify-content: center; }

.li-kicker {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.03em;
}

.li-headline {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  color: var(--ink);
  margin: 0 0 12px;
  max-width: 17ch;
}

.li-lead {
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 48ch;
}

.li-auth-card {
  border: 1px solid var(--mint-border);
  border-radius: 14px;
  background: var(--mint);
  padding: 18px 20px;
  max-width: 440px;
}

.li-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.li-terms { margin: 10px 0 0; font-size: 0.8rem; color: var(--soft); }
.li-hero-right { display: flex; align-items: center; justify-content: center; }

.li-media-frame {
  width: 100%;
  min-height: 0;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--mint-border);
  background: var(--mint);
  position: relative;
}

main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > div:nth-of-type(2) > .li-media-frame {
  animation: sfHeroRise 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both, sfHeroMediaFloat 6.5s ease-in-out 0.8s infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1)::before,
  main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1)::after,
  main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > .li-hero-left > *,
  main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > div:nth-of-type(2) > .li-media-frame {
    animation: none !important;
  }
}

.li-media-frame img,
main:nth-of-type(1) > section#v-home:nth-of-type(2) > div#homeGuestHero:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > img:nth-of-type(1) {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.li-media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 10px;
  color: var(--emerald);
  font-weight: 700;
  padding: 24px;
  text-align: center;
}

/* LinkedIn-Style 2/3-Column Feed Layout (expands cleanly when right rail has no saved jobs) */
.feed-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.feed-shell.has-saved-jobs {
  grid-template-columns: 260px minmax(0, 1fr) 300px;
}
.feed-shell:not(.has-saved-jobs) .feed-right {
  display: none;
}

.feed-shell > *,
.feed-right > *,
.feed-center > *,
.feed-left > * {
  min-width: 0;
  max-width: 100%;
}

#homeFeedShell > .feed-left {
  position: sticky;
  top: 76px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 76, 58, 0.24) transparent;
  padding-bottom: 6px;
}
#homeFeedShell > .feed-left > .panel {
  margin-bottom: 0;
  flex-shrink: 0;
}
#homeFeedShell > .feed-left::-webkit-scrollbar {
  width: 5px;
}
#homeFeedShell > .feed-left::-webkit-scrollbar-thumb {
  background: rgba(15, 76, 58, 0.22);
  border-radius: 999px;
}

.feed-shell.is-guest { grid-template-columns: 250px minmax(0, 1fr); }
.feed-shell.is-guest.has-saved-jobs { grid-template-columns: 250px minmax(0, 1fr) 290px; }

@media (max-width: 1080px) {
  .feed-shell, .feed-shell.is-guest,
  .feed-shell.has-saved-jobs, .feed-shell.is-guest.has-saved-jobs { grid-template-columns: 240px minmax(0, 1fr); }
  .feed-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
}

@media (max-width: 760px) {
  .feed-shell, .feed-shell.is-guest,
  .feed-shell.has-saved-jobs, .feed-shell.is-guest.has-saved-jobs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .feed-right { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #homeFeedShell > .feed-left {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
  }
}

.feed-card { padding: 18px; }

/* Interactive Track Filter Pills (Warm Mint #E6F0EC when active) */
.track-list { display: flex; flex-direction: column; gap: 6px; }

.track-btn {
  text-align: left;
  background: var(--surface);
  border: 1px solid transparent;
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 9px;
  font: 600 0.88rem 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.track-btn:hover { background: var(--mint); color: var(--emerald); }
.track-btn.active { background: var(--mint); color: var(--emerald); border-color: var(--emerald); }

/* Logged-in Left Rail Profile Card */
.profile-card-mini { padding: 0; overflow: hidden; }
.profile-banner { height: 64px; background: linear-gradient(120deg, #0F4C3A, #196B52); }
.profile-card-body { padding: 0 18px 18px; }

.profile-avatar-mini {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--emerald);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: -34px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.profile-avatar-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-mini-name { margin-top: 10px; font-size: 1.05rem; }

.profile-mini-stats {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
}

.profile-mini-stats div { display: flex; justify-content: space-between; gap: 10px; }
.profile-mini-stats span { color: var(--soft); }
.profile-mini-stats b { color: var(--ink); text-align: right; }

.profile-mini-links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Center Feed Search Card */
.feed-search-card { padding: 18px 20px; }
.feed-search-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.feed-search-head h2 { font-size: 1.18rem; color: var(--emerald); }

.search { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 10px; }
.search > * { min-width: 0; }
@media (max-width: 640px) { .search { grid-template-columns: minmax(0, 1fr); } }

.quick-searches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.quick-chip {
  background: var(--surface);
  border: 1px solid var(--line2);
  color: var(--ink);
  padding: 6px 13px;
  border-radius: 999px;
  font: 600 0.82rem 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.quick-chip:hover, .quick-chip.active {
  background: var(--mint);
  border-color: var(--emerald);
  color: var(--emerald);
}

/* Interactive AI Headline Rewriter — Border & Text in Deep Emerald (#0F4C3A) */
.headline-rewriter-card {
  border: 2px solid #0F4C3A;
  color: #0F4C3A;
  background: #FFFFFF;
}

.headline-rewriter-card h3 { color: #0F4C3A; font-size: 1.04rem; }
.rewriter-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rewriter-form { display: grid; gap: 8px; }
.builder-rewriter-row { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 10px; align-items: center; }
@media (max-width: 720px) { .builder-rewriter-row { grid-template-columns: 1fr; } }

.rewriter-results {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mint-border);
  display: grid;
  gap: 8px;
}

.rewriter-opt {
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--mint);
  color: #0F4C3A;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.rewriter-copy-btn {
  background: #FFFFFF;
  color: #0F4C3A;
  border: 1px solid #0F4C3A;
  border-radius: 6px;
  padding: 3px 8px;
  font: 600 0.76rem 'DM Sans', sans-serif;
  cursor: pointer;
  flex-shrink: 0;
}

/* Match Score (#10B981) & Optimization Score (#F59E0B) Badges */
.match-score-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #065F46;
  background: #ECFDF5;
  border: 1px solid #10B981;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.opt-score-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400E;
  background: #FFFBEB;
  border: 1px solid #F59E0B;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Job Cards — Pure White (#FFFFFF) + Recommended Highlight (#E6F0EC) */
.suggested-panel {
  background: var(--mint);
  border-color: var(--mint-border);
}

.pick { margin: 10px 0; }
.pick p { margin: 2px 0 0; color: var(--ink); font-size: 0.92rem; }

.job {
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  margin: 0 0 12px;
  transition: border-color 0.15s;
}

.job.recommended {
  background: #E6F0EC;
  border-color: #B4CDC3;
}

.job:hover { border-color: var(--emerald); }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.job h3 { margin: 0; font-size: 1.08rem; color: var(--ink); }
.job .meta { color: var(--soft); font-size: 0.86rem; margin: 4px 0 10px; font-weight: 500; }
.job p { margin: 0 0 12px; font-size: 0.93rem; color: var(--ink); }

.job-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.guest-signin-nudge {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--mint-border);
  background: var(--mint);
  color: var(--ink);
  font-size: 0.9rem;
  margin: 0 0 14px;
}
.guest-signin-nudge a { font-weight: 700; color: var(--emerald); }

/* Right Rail Toolkit & Saved Jobs */
.toolkit-links { display: grid; gap: 10px; }

.toolkit-row {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}

.toolkit-row:hover { border-color: var(--emerald); background: var(--mint); text-decoration: none; }
.toolkit-row b { display: block; color: var(--ink); font-size: 0.92rem; }
.toolkit-row span { display: block; color: var(--soft); font-size: 0.82rem; margin-top: 2px; }

.saved-jobs-panel { padding: 18px; }
.saved-job-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.saved-job-row:last-child { border-bottom: 0; padding-bottom: 0; }

/* Pre-Login Capabilities & About Us Preview */
.li-capabilities { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line2); }
.li-cap-head { margin-bottom: 18px; }
.li-cap-head h2 { color: var(--emerald); }
.li-cap-head p { margin: 6px 0 0; }

.li-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .li-cap-grid { grid-template-columns: 1fr; } }

.li-cap-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.li-cap-card:hover { border-color: var(--emerald); transform: translateY(-2px); text-decoration: none; }
.li-cap-num { display: block; font-size: 0.82rem; font-weight: 700; color: var(--emerald); margin-bottom: 6px; }
.li-cap-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.li-cap-card p { margin: 0; color: var(--ink-2); font-size: 0.92rem; line-height: 1.5; }

/* Pre-Login About Us, About Our Company & About Our Website Showcase */
.about-showcase {
  margin-top: 24px;
  margin-bottom: 28px;
}

.about-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .about-showcase-grid { grid-template-columns: 1fr; }
}

.about-company-card,
.about-website-card {
  margin: 0;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-company-card h2,
.about-website-card h2 {
  font-size: 1.32rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.about-company-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.about-website-card {
  background: var(--mint);
  border-color: var(--mint-border);
}

.about-site-list {
  margin: 4px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.5;
}

.about-site-list b {
  color: var(--emerald);
}

/* About Us Page */
.about-hero { padding: 32px; margin-bottom: 24px; }
.about-hero h1 { max-width: 24ch; margin-bottom: 12px; }
.about-section { margin: 28px 0; }
.about-section-head { margin-bottom: 16px; }
.about-section-head h2 { color: var(--emerald); margin-bottom: 4px; }
.about-section-head p { margin: 0; }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 780px) { .leadership-grid { grid-template-columns: 1fr; } }

.leader-card { padding: 0; overflow: hidden; margin: 0; }

.leader-photo-frame {
  height: 280px;
  background: var(--mint);
  border-bottom: 1px solid var(--mint-border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.leader-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.leader-photo-frame img.coo-portrait { object-position: center 12%; }

.leader-photo-placeholder {
  text-align: center;
  color: var(--emerald);
  display: grid;
  gap: 4px;
  font-weight: 700;
}

.leader-photo-placeholder small { font-weight: 500; color: var(--soft); }
.leader-body { padding: 18px 20px; }
.leader-role { display: block; font-size: 0.8rem; font-weight: 700; color: var(--emerald); margin-bottom: 4px; }
.leader-body h3 { margin: 0 0 8px; }
.leader-qual { display: block; font-size: 0.76rem; font-weight: 500; color: var(--soft); letter-spacing: 0; margin-top: 2px; }
.leader-body p { margin: 0; font-size: 0.92rem; line-height: 1.5; }

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 900px) { .about-pillars { grid-template-columns: 1fr; } }
.about-pillars .panel { margin: 0; }
.about-pillars h3 { margin: 0 0 8px; }
.about-pillars p { margin: 0; font-size: 0.92rem; }

/* Checklist */
.checklist { display: grid; gap: 10px; max-width: 640px; margin-top: 16px; }
.checklist label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
}
.checklist input { width: auto; margin-top: 3px; accent-color: var(--emerald); }

/* Builder */
.builder-basics { display: grid; gap: 14px; }
.builder-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .builder-grid-2 { grid-template-columns: 1fr; } }

fieldset {
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 0 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

legend { padding: 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--emerald); }
.entry { display: grid; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line2); }
.entry:last-of-type { border-bottom: 0; }
.entry textarea { resize: vertical; }

pre.out { white-space: pre-wrap; word-wrap: break-word; font: inherit; margin: 0 0 12px; color: var(--ink); }
textarea.mono { font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; margin: 8px 0 12px; }
.panel ul { margin: 6px 0 0; padding-left: 20px; }

/* Formatted ATS Resume Preview & Print */
.resume-out-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.resume-view-switch { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.ats-sheet-wrap {
  background: #ffffff;
  color: #111111;
  border: 1px solid var(--line2);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  max-width: 794px;
  margin: 0 auto;
  padding: 40px 46px;
  font: 10pt/1.38 Arial, Helvetica, sans-serif;
}
.ats-name { font: 700 18pt/1.15 Arial, Helvetica, sans-serif; letter-spacing: 0.01em; margin: 0 0 3pt; color: #000000; }
.ats-contact { font-size: 9.6pt; color: #111111; margin: 0 0 1.5pt; line-height: 1.35; }
.ats-role { font-size: 10pt; font-weight: 600; color: #111111; margin: 2pt 0 6pt; }
.ats-sec-title {
  font: 700 10.5pt/1.2 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000000;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2.5pt;
  margin: 11pt 0 5pt;
  page-break-after: avoid;
  break-after: avoid;
}
.ats-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12pt;
  font-size: 10pt;
  color: #111111;
  margin: 7pt 0 2pt;
  page-break-after: avoid;
  break-after: avoid;
}
.ats-entry-left { min-width: 0; }
.ats-entry-left strong { color: #000000; font-weight: 700; }
.ats-entry-date { font-style: italic; font-size: 9.6pt; color: #111111; white-space: nowrap; flex-shrink: 0; }
.ats-subline { font-size: 9.8pt; color: #111111; margin: 0 0 3pt; line-height: 1.35; }
.ats-skill-line { font-size: 9.8pt; color: #111111; margin: 0 0 3.5pt; line-height: 1.38; }
.ats-skill-line strong { color: #000000; font-weight: 700; }
.ats-para { margin: 0 0 5pt; color: #111111; font-size: 9.8pt; line-height: 1.4; }
.ats-bullets { margin: 2pt 0 5pt; padding-left: 15pt; list-style: disc; }
.ats-bullets li { margin: 0 0 2.5pt; color: #111111; font-size: 9.8pt; line-height: 1.38; page-break-inside: avoid; break-inside: avoid; }
.ats-bullets li strong { color: #000000; font-weight: 700; }

@media (max-width: 680px) {
  .ats-sheet-wrap { padding: 22px 18px; font-size: 9.4pt; }
  .ats-entry-head { flex-wrap: wrap; gap: 4pt; }
}

.print-only { display: none; }
@page { size: A4; margin: 14mm 15mm; }
@media print {
  header, nav, .nav, footer, .site-footer, .sf-chatbot-root,
  .view:not(#v-builder),
  #v-builder .ws-head, #autoFillFromCvBanner,
  #builderForm, #bMsg, #tailorCvPanel, #resumeCvCheckPane,
  #resumeOut, #kitOut, button, .btn { display: none !important; }
  html, body { background: #ffffff !important; color: #111111 !important; margin: 0 !important; padding: 0 !important; font-family: Arial, Helvetica, sans-serif !important; }
  main.container, #v-builder, #resumeBuilderPane { display: block !important; max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
  #printArea { display: block !important; color: #111111 !important; font: 10pt/1.38 Arial, Helvetica, sans-serif !important; }
}

/* Google Sign-In */
.gbtn { margin: 20px 0 8px; min-height: 44px; }
.login-layout { display: grid; place-items: center; padding: 24px 0; }
.login-panel { width: 100%; max-width: 460px; padding: 28px 30px; }
.gsi-btn-wrap { margin-top: 10px; min-height: 42px; display: flex; align-items: center; }
.gsi-btn-wrap:empty { display: none; }
.login-help-box { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line2); color: var(--soft); font-size: 0.86rem; line-height: 1.5; }
.login-help-box b { color: var(--ink); }

.google-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #141518;
  background: #FFFFFF;
  color: #141518;
  font: 600 0.94rem 'DM Sans', sans-serif;
  cursor: pointer;
  margin-top: 10px;
}
.google-signin-btn[hidden] { display: none; }
.google-signin-btn:hover { background: var(--mint); border-color: var(--emerald); }
.google-signin-btn:disabled { opacity: 0.6; cursor: wait; }

/* Candidate Profile Photo */
.photo-panel { max-width: 600px; }
.photo-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.photo-frame { width: 112px; height: 112px; border-radius: 16px; border: 1px solid var(--line2); background: var(--bg); overflow: hidden; display: grid; place-items: center; flex-shrink: 0; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame img[hidden] { display: none; }
.photo-placeholder { color: var(--soft); font-size: 0.82rem; text-align: center; padding: 8px; }
.photo-actions { flex: 1; min-width: 220px; }

/* Gemini Multi-Turn AI Coach — Warm Mint (#E6F0EC) Background */
.nav-chat { font-weight: 600; }
.chat-view { padding: 14px 0 32px; }
.chat-shell { display: grid; grid-template-columns: 260px 1fr; gap: 18px; min-height: 74vh; }

.chat-side {
  border: 1px solid var(--mint-border);
  border-radius: 14px;
  background: #E6F0EC;
  box-shadow: var(--shadow-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 80vh;
}

.chat-side-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 6px; }
.chat-thread-list { overflow-y: auto; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.chat-thread-row { display: flex; align-items: center; gap: 6px; border-radius: 10px; border: 1px solid transparent; padding: 2px; background: rgba(255, 255, 255, 0.55); }
.chat-thread-row.active { border-color: var(--emerald); background: #FFFFFF; }
.chat-thread-item { flex: 1; min-width: 0; text-align: left; background: none; border: 0; color: var(--ink); padding: 8px 10px; cursor: pointer; font: inherit; }
.chat-thread-item b { display: block; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-thread-item small { display: block; font-size: 0.76rem; color: var(--soft); }
.chat-thread-del { background: none; border: 0; color: var(--soft); cursor: pointer; padding: 6px 8px; border-radius: 8px; font-size: 0.9rem; }
.chat-thread-del:hover { color: var(--err); background: var(--err-bg); }

.chat-main {
  border: 1px solid var(--mint-border);
  border-radius: 14px;
  background: #E6F0EC;
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 74vh;
  max-height: 80vh;
}

.chat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mint-border);
  margin-bottom: 12px;
}

.chat-head h2 { color: var(--emerald); }
.chat-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.chat-select-label { display: flex; flex-direction: column; gap: 4px; font-size: 0.76rem; color: var(--ink); }
.chat-select { font: inherit; font-size: 0.85rem; padding: 7px 10px; border-radius: 9px; border: 1px solid #141518; background: #FFFFFF; color: #141518; width: auto; }
.chat-thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 6px 4px 12px; }
.chat-empty { margin: auto 0; text-align: center; padding: 28px 18px; background: #FFFFFF; border-radius: 14px; border: 1px solid var(--mint-border); }
.chat-starters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }

.chat-starter {
  background: var(--mint);
  border: 1px solid var(--mint-border);
  color: var(--emerald);
  border-radius: 10px;
  padding: 9px 13px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.chat-starter:hover { border-color: var(--emerald); background: #D7E8E1; }

.chat-msg { max-width: 82%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line2); line-height: 1.55; font-size: 0.94rem; }
.chat-msg.user { align-self: flex-end; background: var(--emerald); border-color: var(--emerald); color: #FFFFFF; }
.chat-msg.user .chat-msg-meta { color: rgba(255, 255, 255, 0.85); }
.chat-msg.model { align-self: flex-start; background: #FFFFFF; color: var(--ink); }
.chat-msg-meta { font-size: 0.74rem; color: var(--soft); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.chat-msg-body { white-space: pre-wrap; word-break: break-word; }
.chat-msg-actions {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.chat-composer { display: flex; gap: 10px; align-items: flex-end; padding-top: 12px; border-top: 1px solid var(--mint-border); }
.chat-composer textarea { flex: 1; resize: none; min-height: 46px; max-height: 140px; }
@media (max-width: 760px) { .chat-shell { grid-template-columns: 1fr; } .chat-side { max-height: 220px; } .chat-main { max-height: none; min-height: 60vh; } }

/* Career-Matched Free Courses */
.course-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.course-card { border: 1px solid var(--line2); border-radius: 12px; background: var(--bg); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.course-provider { font-size: 0.73rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--emerald); font-weight: 700; }
.course-card h4 { margin: 4px 0 6px; font-size: 1rem; line-height: 1.25; }
.course-card p { margin: 0; color: var(--ink-2); font-size: 0.86rem; line-height: 1.45; }

/* CV Check Upload & ATS Match Score (#10B981 green, #F59E0B amber) */
.cv-form { display: grid; gap: 14px; }
.cv-upload-box { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1.5px dashed var(--emerald); border-radius: 12px; background: var(--mint); cursor: pointer; }
.cv-upload-box input[type="file"] { margin: 0 0 6px; padding: 4px 0; border: 0; background: transparent; font-size: 0.88rem; cursor: pointer; max-width: 100%; }
.cv-upload-title { font-weight: 700; color: var(--emerald); font-size: 0.94rem; }
.cv-paste-fallback summary { cursor: pointer; color: var(--emerald); font-size: 0.88rem; font-weight: 600; }

.ats-score-card { border: 1px solid var(--line2); border-radius: 14px; background: var(--bg); padding: 18px 20px; display: grid; gap: 14px; }
.ats-score-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ats-score-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.3rem; font-weight: 800; line-height: 1; color: #10B981; font-variant-numeric: tabular-nums; }
.ats-bar { height: 9px; border-radius: 999px; background: var(--line2); overflow: hidden; }
.ats-bar-fill { height: 100%; border-radius: 999px; background: #10B981; transition: width 0.25s ease; }
.ats-bar-fill.high { background: #10B981; }
.ats-bar-fill.mid { background: #F59E0B; }
.ats-bar-fill.low { background: #DC2626; }
.ats-kw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.ats-kw-box { border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; background: var(--surface); }
.ats-kw-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ats-kw { font-size: 0.78rem; font-weight: 600; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line2); background: var(--bg); }
.ats-kw.ok { border-color: #10B981; background: #ECFDF5; color: #065F46; }
.ats-kw.miss { border-color: var(--err-border); background: var(--err-bg); color: var(--err); }
.ats-tips { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.92rem; color: var(--ink); }

/* Global Opportunities & 3-Card Pricing Section — Glassmorphism + Hover Glow + Scroll Reveal */
.global-section,
.pricing-section {
  position: relative;
  overflow: hidden;
  padding: 28px 0 56px;
}

.pricing-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.pricing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
}

.pricing-orb.orb-a {
  width: 360px;
  height: 360px;
  top: 24px;
  left: 4%;
  background: radial-gradient(circle, rgba(230, 240, 236, 0.95) 0%, rgba(194, 216, 207, 0.35) 60%, transparent 100%);
}

.pricing-orb.orb-b {
  width: 420px;
  height: 420px;
  top: 90px;
  left: 34%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(15, 76, 58, 0.08) 55%, transparent 100%);
}

.pricing-orb.orb-gold {
  width: 380px;
  height: 380px;
  top: 60px;
  right: 2%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, rgba(217, 119, 6, 0.08) 55%, transparent 100%);
}

.global-header,
.membership-head {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto 36px;
  text-align: center;
}

.membership-kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald);
}

.membership-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.tax-disclaimer {
  margin: 10px auto 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--soft);
  max-width: 60ch;
}

.membership-lead {
  margin: 12px auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--soft);
  max-width: 62ch;
}

.membership-meta-line {
  font-size: 0.82rem;
  color: var(--soft);
  margin-bottom: 6px;
  font-weight: 600;
}

/* Global Opportunities Frosted Glass Workspace */
.global-glass-shell {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 28px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 76, 58, 0.15);
  box-shadow: 0 12px 32px rgba(20, 21, 24, 0.05);
}

.global-country-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--soft);
  margin-bottom: 12px;
}

.global-country-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.country-pill {
  padding: 9px 18px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 58, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.country-pill:hover {
  transform: translateY(-2px);
  border-color: var(--emerald);
  color: var(--emerald);
}

.country-pill.is-selected {
  background: linear-gradient(135deg, #0F4C3A 0%, #10B981 100%);
  border-color: #0F4C3A;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(15, 76, 58, 0.24);
}

.global-search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .global-search-bar {
    grid-template-columns: 1fr;
  }
}

.global-search-btn {
  width: auto;
  min-width: 148px;
  padding: 12px 28px;
}

.global-summary-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(230, 240, 236, 0.65);
  border: 1px solid rgba(16, 185, 129, 0.38);
}

.global-summary-text {
  display: grid;
  gap: 3px;
}

.global-summary-text strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  color: var(--ink);
}

.opportunity-match-glow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0F4C3A 0%, #10B981 100%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.42), 0 4px 12px rgba(15, 76, 58, 0.2);
}

.global-insights-strip {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--soft);
}

.global-insight-line b {
  color: var(--emerald);
}

.global-results-grid {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.global-job-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 76, 58, 0.14);
  box-shadow: 0 8px 24px rgba(20, 21, 24, 0.04);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease;
}

.global-job-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 18px 38px rgba(15, 76, 58, 0.12), 0 0 22px rgba(16, 185, 129, 0.18);
}

.global-job-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.global-job-top h3 {
  margin: 0;
  font-size: 1.14rem;
  color: var(--ink);
}

.global-job-meta {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--soft);
  font-weight: 500;
}

.global-visa-note {
  color: var(--emerald);
  font-weight: 700;
}

/* 3-Card Side-by-Side Pricing Grid */
.pricing-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 980px) {
  .pricing-container {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 520px;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 26px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 76, 58, 0.14);
  box-shadow: 0 12px 32px rgba(20, 21, 24, 0.05);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 20px 44px rgba(15, 76, 58, 0.12), 0 0 24px rgba(16, 185, 129, 0.2);
}

/* Card 2: Premium Membership (Emerald Glow + Floating Badge) */
.pricing-card-premium {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 240, 236, 0.72) 100%);
  border: 1.5px solid #10B981;
  box-shadow: 0 16px 40px rgba(15, 76, 58, 0.12), 0 0 26px rgba(16, 185, 129, 0.22);
}

.pricing-card-premium:hover {
  transform: translateY(-5px);
  border-color: #0F4C3A;
  box-shadow: 0 24px 52px rgba(15, 76, 58, 0.18), 0 0 34px rgba(16, 185, 129, 0.34);
}

/* Card 3: Global Pass (Gold Border & Glow) */
.pricing-card-global {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 249, 224, 0.76) 100%);
  border: 1.5px solid #D4A017;
  box-shadow: 0 16px 40px rgba(180, 125, 10, 0.13), 0 0 26px rgba(255, 215, 0, 0.28);
}

.pricing-card-global:hover {
  transform: translateY(-5px);
  border-color: #B8860B;
  box-shadow: 0 24px 52px rgba(180, 125, 10, 0.2), 0 0 36px rgba(255, 215, 0, 0.42);
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-4px);
  }
}

.pricing-popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #0F4C3A, #10B981);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 76, 58, 0.28);
  animation: badgeFloat 3.2s ease-in-out infinite;
}

.pricing-global-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #9A6B00 0%, #D99B00 50%, #FFD700 100%);
  color: #141518;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(180, 125, 10, 0.28);
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
}

.pricing-plan-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.pricing-plan-desc {
  margin: 6px 0 18px;
  font-size: 0.92rem;
  color: var(--soft);
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.pricing-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 3.3vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.pricing-amount-accent {
  background: linear-gradient(135deg, #0F4C3A 0%, #10B981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-amount-gold {
  background: linear-gradient(135deg, #8A5E00 0%, #C78D00 60%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-period {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--soft);
}

.pricing-period small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--soft);
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.pricing-btn:hover {
  text-decoration: none;
}

.pricing-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.pricing-btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid var(--emerald);
  color: var(--emerald);
}

.pricing-btn-outline:hover {
  background: var(--mint);
  border-color: var(--emerald-hover);
  color: var(--emerald-hover);
}

.pricing-btn-gradient {
  border: 0;
  background: linear-gradient(135deg, #0F4C3A 0%, #10B981 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(15, 76, 58, 0.28), 0 0 18px rgba(16, 185, 129, 0.24);
}

.pricing-btn-gradient:hover {
  box-shadow: 0 14px 30px rgba(15, 76, 58, 0.36), 0 0 24px rgba(16, 185, 129, 0.35);
  filter: brightness(1.03);
}

.pricing-btn-gold {
  border: 0;
  background: linear-gradient(135deg, #B47B00 0%, #EAB308 55%, #FFD700 100%);
  color: #141518;
  box-shadow: 0 10px 24px rgba(180, 125, 10, 0.26), 0 0 18px rgba(255, 215, 0, 0.32);
}

.pricing-btn-gold:hover {
  box-shadow: 0 14px 30px rgba(180, 125, 10, 0.34), 0 0 26px rgba(255, 215, 0, 0.48);
  filter: brightness(1.03);
}

.pricing-btn-gradient:disabled,
.pricing-btn-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pricing-cta-slot {
  display: grid;
  gap: 10px;
}

.pricing-sub-manage {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.pricing-divider {
  height: 1px;
  background: rgba(15, 76, 58, 0.12);
  margin: 22px 0 18px;
}

.pricing-divider-gold {
  background: rgba(212, 160, 23, 0.28);
}

.pricing-subheader {
  margin: 20px 0 12px;
  padding-top: 15px;
  border-top: 1px solid rgba(15, 76, 58, 0.1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--emerald);
}

.pricing-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.42;
}

.pricing-check {
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(20, 21, 24, 0.06);
  color: var(--ink-2);
}

.pricing-check svg {
  width: 13px;
  height: 13px;
  display: block;
}

.pricing-check-accent {
  background: linear-gradient(135deg, rgba(15, 76, 58, 0.14), rgba(16, 185, 129, 0.22));
  color: var(--emerald);
}

.pricing-check-gold {
  background: rgba(255, 215, 0, 0.26);
  color: #8A5E00;
}

/* Universal Card Hover Lift & Border Glow */
.panel,
.job,
.leader-card {
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease;
}

.job:hover,
.leader-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 16px 36px rgba(15, 76, 58, 0.1), 0 0 18px rgba(16, 185, 129, 0.14);
}

/* Universal Scroll Reveal Keyframes & Observer States */
@keyframes pricingFadeSlideUp {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes jobRevealSheen {
  0% {
    opacity: 0.9;
    transform: translateX(-110%);
  }
  100% {
    opacity: 0;
    transform: translateX(115%);
  }
}

.fade-in-up,
.pricing-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.985);
  will-change: transform, opacity;
}

.fade-in-up.is-visible,
.pricing-reveal.is-visible {
  animation: pricingFadeSlideUp 0.54s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.job.fade-in-up {
  position: relative;
  overflow: hidden;
}

.job.fade-in-up.is-visible::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgba(16, 185, 129, 0.08) 50%, transparent 75%);
  animation: jobRevealSheen 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up,
  .fade-in-up.is-visible,
  .pricing-reveal,
  .pricing-reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .job.fade-in-up.is-visible::after {
    display: none;
  }
  .pricing-popular-badge {
    animation: none;
  }
  .pricing-card,
  .pricing-btn,
  .global-job-card,
  .job,
  .leader-card,
  .country-pill {
    transition: none;
  }
}

.acct-sub-panel { max-width: 600px; }
.acct-sub-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* In-app Checkout Modal — Pure White (#FFFFFF) */
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 21, 24, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.checkout-backdrop[hidden] { display: none; }
.checkout-dialog { width: 100%; max-width: 460px; border: 1px solid var(--line2); border-radius: 18px; background: #FFFFFF; color: var(--ink); padding: 24px 26px; box-shadow: var(--shadow-md); }
.checkout-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.checkout-head h3 { font-size: 1.3rem; margin: 0; }
.checkout-close { background: var(--bg); border: 1px solid var(--line2); color: var(--soft); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 0.95rem; }
.checkout-close:hover { color: var(--ink); border-color: var(--ink); }
.checkout-summary { border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); padding: 12px 0; margin-bottom: 16px; display: grid; gap: 6px; font-size: 0.9rem; }
.checkout-line { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.checkout-line.discount { color: #10B981; font-weight: 700; }
.checkout-line.total { color: var(--ink); font-weight: 700; font-size: 0.98rem; padding-top: 6px; border-top: 1px solid var(--line2); }
.checkout-form { display: grid; gap: 12px; }
.checkout-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Legal & Footer */
.legal { max-width: 760px; }
.legal h3 { margin-top: 1.5rem; }
.legal ul { padding-left: 1.2rem; color: var(--ink-2); }
.legal p { color: var(--ink-2); }

.site-footer { border-top: 1px solid var(--line2); background: var(--surface); padding: 22px 24px; font-size: 0.88rem; color: var(--soft); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { font-weight: 700; color: var(--emerald); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--soft); font-weight: 600; }
.footer-links a:hover { color: var(--emerald); }
body.on-agent .site-footer { display: none; }

@media (max-width: 820px) {
  .nav { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  header.has-mobile-menu .nav-hamburger {
    display: inline-flex;
  }
  header.has-mobile-menu #topNav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    margin-top: 6px;
    padding: 10px 4px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.95rem;
  }
  header.has-mobile-menu #topNav.is-open {
    display: flex;
    animation: sfMobileNavIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  header.has-mobile-menu #topNav > a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  header.has-mobile-menu #topNav > a:hover,
  header.has-mobile-menu #topNav > a.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    text-decoration: none;
  }
  header.has-mobile-menu #topNav > a.nav-agent.is-active {
    background: rgba(255, 215, 0, 0.14);
    border: 1px solid rgba(255, 215, 0, 0.35);
  }
  header.has-mobile-menu #topNav #navAuth {
    width: 100%;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  header.has-mobile-menu #topNav #navAuth a,
  header.has-mobile-menu #topNav #navAuth button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
  }
  header:not(.has-mobile-menu) #topNav {
    width: auto;
  }
}

@keyframes sfMobileNavIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Official Google Sign-In Material Button */
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: #FFFFFF;
  background-image: none;
  border: 1px solid #747775;
  border-radius: 20px;
  box-sizing: border-box;
  color: #1F1F1F;
  cursor: pointer;
  font-family: 'DM Sans', Roboto, arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 14px;
  position: relative;
  text-align: center;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
  display: inline-flex;
  align-items: center;
}
.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}
.gsi-material-button .gsi-material-button-content-wrapper {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}
.gsi-material-button .gsi-material-button-contents {
  flex-grow: 1;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
.gsi-material-button:hover {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  background-color: var(--mint);
  border-color: var(--emerald);
}

/* Google Workspace Hub */
.ws-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ws-head-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ws-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.ws-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px) {
  .ws-grid-2 { grid-template-columns: 1fr; }
}
.ws-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.ws-item-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.ws-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: var(--bg);
}
.ws-item-main {
  min-width: 0;
  flex: 1;
}
.ws-item-main b {
  display: block;
  font-size: 0.94rem;
  color: var(--ink);
  word-break: break-word;
}
.ws-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.ws-notice {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--mint);
  border: 1px solid var(--mint-border);
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
}
.ws-notice.err {
  background: var(--err-bg);
  border-color: var(--err-border);
  color: var(--err);
}
.ats-feedback-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.ws-confirm-list {
  margin: 0 0 16px;
  padding: 10px 14px 10px 28px;
  max-height: 190px;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: var(--bg);
  font-size: 0.88rem;
  color: var(--ink);
  display: grid;
  gap: 4px;
}

/* In-App Organisation Dashboard */
.nav-org { font-weight: 700; }
.nav-org[hidden] { display: none !important; }
.org-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 1060px) { .org-kpi-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .org-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.org-kpi-card {
  margin: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.org-kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--soft);
}
.org-kpi-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1.1;
}
.org-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.org-toolbar input[type="search"] {
  flex: 1;
  min-width: 240px;
  margin: 0;
}
.org-filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.org-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.org-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.org-table th, .org-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line2);
  vertical-align: top;
}
.org-table th {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--soft);
  background: var(--bg);
}
.org-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid var(--line2);
  background: var(--bg);
  color: var(--ink-2);
}
.org-badge.pro {
  background: var(--mint);
  border-color: var(--mint-border);
  color: var(--emerald);
}
.org-badge.warn {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
}
.org-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .org-analytics-grid { grid-template-columns: 1fr; } }
.org-bars { display: grid; gap: 10px; }
.org-bar-row { display: grid; gap: 4px; }
.org-bar-head { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--ink); }
.org-bar-track {
  height: 8px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line2);
  overflow: hidden;
}
.org-bar-fill {
  height: 100%;
  background: var(--emerald);
  border-radius: 6px;
}
.org-cv-dialog { max-width: 680px; }
.org-cv-pre {
  margin: 0;
  padding: 14px 16px;
  max-height: 55vh;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: var(--bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-wrap;
  color: var(--ink);
}

/* ── Cafy Career Suite Styles ─────────────────────────────────────────── */
.sponsor-inline-tag {
  color: var(--emerald);
  font-weight: 700;
}

.tailor-panel {
  border-color: var(--mint-border);
  background: var(--surface);
}

.tailor-bullet {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: var(--surface);
}

/* Application Tracker */
.tracker-form-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .tracker-form-3 { grid-template-columns: 1fr; } }

.tracker-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.tracker-item {
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--bg);
  padding: 14px 16px;
  display: grid;
  gap: 12px;
}

.tracker-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.tracker-item-top h4 {
  margin: 0;
  font-size: 1.02rem;
}

.tracker-meta {
  font-size: 0.84rem;
  color: var(--soft);
  font-weight: 500;
  margin-top: 2px;
}

.tracker-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tracker-controls {
  display: grid;
  grid-template-columns: 140px 140px 155px 1fr auto;
  gap: 10px;
  align-items: end;
}

.tracker-save-col {
  display: flex;
  align-items: flex-end;
}

@media (max-width: 960px) {
  .tracker-controls { grid-template-columns: repeat(2, 1fr); }
  .tracker-notes-field { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .tracker-controls { grid-template-columns: 1fr; }
}

/* Visa Sponsorship Hub */
.sponsor-checker-card {
  border-color: var(--emerald);
}

.sponsor-verify-box {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: var(--bg);
}

.sponsor-verify-box.ok {
  background: var(--ok-bg);
  border-color: var(--ok-border);
}

.sponsor-verify-box.warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
}

.sponsor-verify-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
}

.sponsor-meta {
  font-size: 0.83rem;
  color: var(--soft);
  margin-top: 3px;
  font-weight: 500;
}

.sponsor-filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}
@media (max-width: 900px) {
  .sponsor-filter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sponsor-filter-grid { grid-template-columns: 1fr; }
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}

.sponsor-card {
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--bg);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.sponsor-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.sponsor-card-head h4 {
  margin: 0;
  font-size: 1rem;
}

.sponsor-rating {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald);
  white-space: nowrap;
}

.sponsor-roles {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.sponsor-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line2);
}

/* Career Path Roadmap */
.roadmap-stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .roadmap-stages-grid { grid-template-columns: 1fr; }
}

.roadmap-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.roadmap-salary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--emerald);
}

.roadmap-skills {
  margin: auto 0 0;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--ink-2);
  display: grid;
  gap: 4px;
}

.roadmap-plan-item {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: var(--bg);
}

/* Mock Interview Studio STAR Breakdown */
.star-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .star-grid { grid-template-columns: 1fr; }
}

.star-cell {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: var(--bg);
}

.star-cell b {
  display: block;
  font-size: 0.84rem;
  color: var(--emerald);
  margin-bottom: 4px;
}

.star-cell p {
  margin: 0;
}

/* Mock Interview Studio Preparation Tips */
.iv-prep-panel {
  border-color: var(--mint-border);
}

.iv-prep-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.iv-prep-overview {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--mint-border);
  background: var(--mint-bg);
  margin-bottom: 12px;
}

.iv-prep-overview b {
  display: block;
  font-size: 0.86rem;
  color: var(--emerald);
}

.iv-prep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 720px) {
  .iv-prep-grid { grid-template-columns: 1fr; }
}

.iv-prep-card {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: var(--bg);
}

.iv-prep-pitfalls {
  border-color: rgba(217, 119, 6, 0.28);
}

.iv-prep-criteria {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.iv-prep-criterion b {
  display: block;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.iv-prep-criterion p {
  margin: 0;
}

.iv-prep-list {
  margin: 6px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--ink-2);
}

/* 1-on-1 Career Mentors */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) {
  .mentors-grid { grid-template-columns: 1fr; }
}

.mentor-card {
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--bg);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.mentor-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mentor-avatar {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid var(--mint-border);
  flex-shrink: 0;
}

.mentor-card h4 {
  margin: 0;
  font-size: 1rem;
}

/* ── Launch Offer (Free Until 1 Jan · Pricing Locked) ─────────────────── */
.launch-offer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid #10B981;
  background: linear-gradient(135deg, #ECFDF5 0%, #E6F0EC 100%);
  color: #065F46;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(15, 76, 58, 0.08);
}
.launch-offer-banner strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  color: #0F4C3A;
}
.launch-offer-banner span {
  font-size: 0.88rem;
  color: #1F4E3E;
}
.launch-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #0F4C3A;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-btn-locked {
  background: #E6F0EC !important;
  border: 1.5px solid #0F4C3A !important;
  color: #0F4C3A !important;
  cursor: not-allowed !important;
  opacity: 0.92;
  box-shadow: none !important;
}
.pricing-locked-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #92400E;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
}

/* ── Direct Career Site vs Job Portal Badges & Sync Bar ────────────────── */
.feed-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line2);
}
.feed-sync-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--mint-border);
  background: #F4F9F7;
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.portal-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.portal-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--emerald);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.portal-quick-link:hover {
  border-color: var(--emerald);
  background: var(--mint);
}
.job-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.job-source-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
}
.job-source-badge.is-direct {
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
}
.job-source-badge.is-portal {
  background: #EFF6FF;
  border: 1px solid #93C5FD;
  color: #1E40AF;
}
.job-region-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--line2);
  color: var(--soft);
}
.job-attr-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.job-attr-link:hover,
.job-attr-link:focus-visible {
  color: var(--emerald-deep, #0B3A2C);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Separate UK & Europe Sponsorship Sections ────────────────────────── */
.sponsors-dual-stack {
  display: grid;
  gap: 20px;
}
.sponsors-region-block {
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--surface);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.sponsors-region-block.is-uk {
  border-top: 4px solid #0F4C3A;
}
.sponsors-region-block.is-europe {
  border-top: 4px solid #2563EB;
}
.sponsors-region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line2);
}
.sponsors-region-head h3 {
  margin: 0;
  font-size: 1.15rem;
}
.sponsor-rating.is-eu {
  color: #1D4ED8;
}
.sponsors-sync-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--mint);
  border: 1px solid var(--mint-border);
  font-size: 0.84rem;
  color: var(--emerald);
  margin-top: 12px;
}

/* ── Global Role Filters & Dashboard Categorization ───────────────────── */
.global-role-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.global-sync-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--mint-border);
  background: #F4F9F7;
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.global-sync-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sponsor-avail-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
}
.sponsor-avail-badge.is-sponsored {
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
}
.sponsor-avail-badge.is-check-sponsor {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
}

/* ── About Us End-to-End Platform Brief ───────────────────────────────── */
.e2e-brief-section {
  margin-top: 32px;
}
.e2e-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 820px) {
  .e2e-grid { grid-template-columns: 1fr; }
}
.e2e-step-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.e2e-step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--emerald);
}
.e2e-step-card h3 {
  margin: 0;
  font-size: 1.06rem;
}
.e2e-step-card p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.e2e-step-list {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--soft);
  display: grid;
  gap: 3px;
}

/* ── Resume Studio Sub-Tabs & Auto-Fill Banner ─────────────────────────── */
#resumeSubTabs {
  margin-top: 6px;
}
.autofill-cv-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #ECFDF5 0%, #FFFFFF 100%);
  border: 1.5px solid #10B981;
  margin-bottom: 16px;
}
.autofill-cv-banner > div:first-child {
  display: grid;
  gap: 3px;
}

/* ── Live Visa-Sponsored Jobs inside Friend -> Sponsors ────────────────── */
.sponsor-jobs-panel {
  border-left: 4px solid #10B981;
}
#sponsorJobsResults {
  display: grid;
  gap: 12px;
}

/* ── Student Hub (UK & EU Part-Time + Official Free Certifications) ───── */
.student-view {
  padding-bottom: 24px;
}
.student-hub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.student-hub-head h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-top: 4px;
}
.student-seg-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.student-seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--soft);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.student-seg-btn:hover {
  color: var(--ink);
  background: var(--surface-soft);
}
.student-seg-btn.active {
  background: var(--emerald);
  color: #FFFFFF;
}
.student-stats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #F4F9F7;
  border: 1px solid var(--mint-border);
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.student-visa-strip {
  margin-bottom: 18px;
}
.student-visa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.student-visa-card {
  min-width: 0;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: var(--bg);
}
.student-visa-card b {
  display: block;
  font-size: 0.88rem;
  color: var(--emerald);
}
.student-visa-card .visa-limit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.student-visa-card .visa-note {
  font-size: 0.78rem;
  color: var(--soft);
  margin-top: 3px;
  line-height: 1.4;
}
.student-section-block {
  margin-bottom: 24px;
}
#studentCourseForm {
  grid-template-columns: 1fr auto;
}
.student-pt-grid,
.student-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.student-pt-grid > *,
.student-cert-grid > * {
  min-width: 0;
}
.student-pt-grid .job {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.student-cert-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.student-cert-card.is-iit { border-left: 4px solid #D97706; }
.student-cert-card.is-uk  { border-left: 4px solid #0F4C3A; }
.student-cert-card.is-eu  { border-left: 4px solid #2563EB; }
.student-authority-line {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px;
  overflow-wrap: break-word;
}
.student-cert-card.is-iit .student-authority-line { color: #B45309; }
.student-cert-card.is-uk  .student-authority-line { color: #0F4C3A; }
.student-cert-card.is-eu  .student-authority-line { color: #1D4ED8; }
.student-cert-card h4 {
  margin: 0 0 6px;
  font-size: 1.04rem;
  line-height: 1.35;
}
.student-cert-meta {
  font-size: 0.82rem;
  color: var(--soft);
  margin-bottom: 8px;
  line-height: 1.45;
}
.student-cert-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--line2);
}
.student-free-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #065F46;
}

@media (max-width: 980px) {
  .student-visa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .student-hub-head {
    align-items: stretch;
  }
  .student-seg-bar {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .student-seg-btn {
    width: 100%;
    text-align: center;
  }
  #studentPtForm,
  #studentCourseForm {
    grid-template-columns: minmax(0, 1fr);
  }
  .student-visa-grid,
  .student-pt-grid,
  .student-cert-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .student-pt-grid .job,
  .student-cert-card {
    padding: 16px;
  }
  .student-view .job h3,
  .student-view .meta,
  .student-view p,
  .student-cert-card h4,
  .student-authority-line,
  .student-cert-meta,
  .student-free-tag {
    overflow-wrap: break-word;
  }
  .student-view .job-actions,
  .student-cert-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .student-view .job-actions .btn-apply-now,
  .student-cert-foot .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ── Site-Wide Floating AI Chatbot Widget ──────────────────────────────── */
.sf-chatbot[hidden] {
  display: none !important;
}

.sf-chatbot {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: calc(100vw - 24px);
}

.sf-bot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, var(--emerald) 0%, #0D6E52 100%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 76, 58, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.sf-bot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 76, 58, 0.34);
}

.sf-bot-panel {
  width: min(390px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 104px));
  background: var(--surface);
  border: 1px solid var(--mint-border);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(20, 21, 24, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sf-bot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0F4C3A 0%, #125E48 100%);
  color: #FFFFFF;
}

.sf-bot-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sf-bot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

.sf-bot-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
}

.sf-bot-sub {
  margin: 2px 0 0;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-bot-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sf-bot-icon-btn,
.sf-bot-link-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 5px 9px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.sf-bot-icon-btn:hover,
.sf-bot-link-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.sf-bot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #F4F9F7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-bot-welcome {
  background: var(--surface);
  border: 1px solid var(--mint-border);
  border-radius: 14px;
  padding: 14px;
}

.sf-bot-welcome p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.48;
}

.sf-bot-starters {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sf-bot-starter {
  appearance: none;
  text-align: left;
  background: var(--mint);
  border: 1px solid var(--mint-border);
  color: var(--emerald);
  border-radius: 10px;
  padding: 8px 11px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sf-bot-starter:hover {
  background: #D7E8E1;
  border-color: var(--emerald);
}

.sf-bot-msg {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 13px;
  font-size: 0.88rem;
  line-height: 1.5;
  border: 1px solid var(--line2);
  word-break: break-word;
}

.sf-bot-msg.user {
  align-self: flex-end;
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
}

.sf-bot-msg.model {
  align-self: flex-start;
  background: var(--surface);
  color: var(--ink);
}

.sf-bot-msg.model a {
  color: var(--emerald);
  font-weight: 700;
  text-decoration: underline;
}

.sf-bot-msg-meta {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.72;
  margin-bottom: 3px;
}

.sf-bot-err {
  margin: 0;
  padding: 8px 14px;
  background: var(--err-bg);
  border-top: 1px solid var(--err-border);
  color: var(--err);
  font-size: 0.8rem;
  font-weight: 600;
}

.sf-bot-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border-top: 1px solid var(--line2);
}

.sf-bot-composer textarea {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  max-height: 110px;
  resize: none;
  padding: 9px 11px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  background: var(--bg);
  color: var(--ink);
}

.sf-bot-composer textarea:focus {
  outline: 2px solid rgba(15, 76, 58, 0.25);
  border-color: var(--emerald);
}

@media (max-width: 520px) {
  .sf-chatbot {
    right: 12px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
  .sf-bot-panel {
    width: 100%;
    height: min(72vh, 520px);
  }
}

/* Phone OTP verification inside Profile */
.phone-verify-wrap {
  display: grid;
  gap: 8px;
}
.phone-verify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.phone-verify-head label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--warn-border);
  background: var(--warn-bg);
  color: #92400E;
}
.phone-badge.is-verified {
  border-color: var(--ok-border);
  background: var(--ok-bg);
  color: #065F46;
}
.phone-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: var(--surface-soft);
}
.phone-step {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  opacity: 0.62;
  transition: opacity 0.18s ease;
}
.phone-step.is-active,
.phone-step.is-done {
  opacity: 1;
}
.phone-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--soft);
  flex-shrink: 0;
}
.phone-step.is-active .phone-step-num {
  border-color: var(--emerald);
  background: var(--emerald);
  color: #FFFFFF;
}
.phone-step.is-done .phone-step-num {
  border-color: var(--ok-border);
  background: var(--ok-bg);
  color: #065F46;
}
.phone-step-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.phone-step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.phone-step-sub {
  font-size: 0.72rem;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone-step-track {
  flex: 1;
  min-width: 18px;
  height: 4px;
  border-radius: 999px;
  background: var(--line2);
  overflow: hidden;
}
.phone-step-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--emerald);
  transition: width 0.25s ease;
}
.phone-verify-wrap[data-step="2"] .phone-step-fill,
.phone-verify-wrap[data-step="done"] .phone-step-fill {
  width: 100%;
}
.phone-step-counter {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--emerald);
  background: var(--mint);
  border: 1px solid var(--mint-border);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.phone-country-select {
  width: 175px;
  max-width: 44%;
  flex-shrink: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 0 10px;
  min-height: 44px;
  cursor: pointer;
}
.phone-country-select:focus {
  outline: none;
  border-color: var(--mint-border);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}
.phone-input-row input {
  flex: 1;
  min-width: 0;
}
.phone-input-row .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-otp-box {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--mint-border);
  background: var(--surface-soft);
  display: grid;
  gap: 10px;
}
.phone-otp-preview {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--warn-border);
  background: var(--warn-bg);
}
.phone-otp-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.phone-otp-preview-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400E;
}
.phone-otp-preview-code {
  margin-top: 4px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--emerald);
}
.phone-otp-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.phone-otp-row input {
  flex: 1;
  min-width: 150px;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  .phone-stepper {
    flex-wrap: wrap;
    gap: 8px;
  }
  .phone-step-track {
    display: none;
  }
  .phone-step-counter {
    margin-left: auto;
  }
}
@media (max-width: 560px) {
  .phone-input-row {
    flex-direction: column;
  }
  .phone-country-select {
    width: 100%;
    max-width: none;
  }
}

/* ── Global Mobile Fit & Alignment Across All Pages ────────────────────── */
header, main, footer,
.container, .view, .panel, .job, .feed-card,
.global-glass-shell, .global-job-card, .pricing-card,
.student-cert-card, .sponsor-card, .roadmap-stage, .mentor-card,
.tracker-item, .li-hero, .li-cap-card, .about-hero, .e2e-step-card {
  min-width: 0;
  max-width: 100%;
}

.job h3, .job .meta, .job p,
.feed-sync-bar, .global-job-top h3, .global-job-meta,
.tracker-item-top h4, .tracker-meta, .sponsor-card-head h4,
.sponsor-roles, .ws-item-main, .ws-notice, .org-cv-pre,
.legal p, .legal li, pre.out {
  overflow-wrap: break-word;
  word-break: break-word;
}

.li-hero > *,
.li-cap-grid > *,
.about-showcase-grid > *,
.leadership-grid > *,
.about-pillars > *,
.builder-grid-2 > *,
.builder-rewriter-row > *,
.chat-shell > *,
.global-search-bar > *,
.pricing-container > *,
.ws-grid-2 > *,
.ws-search-row > *,
.org-kpi-grid > *,
.org-analytics-grid > *,
.tracker-form-3 > *,
.tracker-controls > *,
.sponsor-filter-grid > *,
.sponsors-grid > *,
.sponsors-dual-stack > *,
.roadmap-stages-grid > *,
.star-grid > *,
.iv-prep-grid > *,
.mentors-grid > *,
.e2e-grid > *,
.course-grid > *,
.ats-kw-grid > * {
  min-width: 0;
}

.org-table-wrap {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .container {
    padding: 16px 16px 56px;
  }
  .view {
    padding: 8px 0 32px;
  }
  .nav {
    padding: 10px 14px;
    gap: 10px;
  }
  .brand {
    font-size: 1.04rem;
    gap: 8px;
    max-width: 100%;
  }
  .brand-word {
    white-space: normal;
  }
  #adminTopNav {
    width: 100%;
    gap: 8px 12px;
  }
  #navAuth {
    flex-wrap: wrap;
    gap: 8px;
  }
  .ws-head {
    flex-direction: column;
    align-items: stretch;
  }
  .ws-head-right {
    width: 100%;
  }
  .pricing-popular-badge,
  .pricing-global-badge {
    max-width: calc(100% - 20px);
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(1.55rem, 6.8vw, 2.1rem); }
  h2 { font-size: clamp(1.22rem, 5.2vw, 1.48rem); }

  .container {
    padding: 12px 12px 64px;
  }
  .panel,
  .feed-card,
  .feed-search-card,
  .job,
  .li-cap-card,
  .about-hero,
  .about-company-card,
  .about-website-card,
  .global-glass-shell,
  .global-job-card,
  .sponsors-region-block,
  .login-panel,
  .ats-score-card {
    padding: 15px 14px;
    border-radius: 14px;
  }
  .li-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 14px;
    gap: 18px;
    border-radius: 16px;
  }
  .li-headline {
    max-width: none;
    font-size: clamp(1.55rem, 6.8vw, 2.05rem);
  }
  .li-auth-card {
    max-width: 100%;
    padding: 14px;
  }
  .li-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .li-hero-actions .btn {
    width: 100%;
  }

  .btn,
  .pricing-btn,
  .country-pill,
  .quick-chip,
  .student-seg-btn,
  .match-score-badge,
  .opt-score-badge,
  .sponsor-rating,
  .opportunity-match-glow,
  .launch-offer-pill {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .google-signin-btn,
  .gsi-material-button {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    white-space: normal;
    height: auto;
    min-height: 42px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .feed-search-head {
    gap: 6px;
  }
  .search,
  .builder-rewriter-row,
  .builder-grid-2,
  .li-cap-grid,
  .about-showcase-grid,
  .leadership-grid,
  .about-pillars,
  .ws-grid-2,
  .ws-search-row,
  .tracker-form-3,
  .tracker-controls,
  .sponsor-filter-grid,
  .sponsors-grid,
  .roadmap-stages-grid,
  .star-grid,
  .iv-prep-grid,
  .mentors-grid,
  .e2e-grid,
  .course-grid,
  .ats-kw-grid,
  .org-analytics-grid,
  .global-search-bar,
  .pricing-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .search .btn,
  .global-search-btn,
  .builder-rewriter-row .btn,
  .ws-search-row .btn {
    width: 100%;
    min-width: 0;
  }

  .track-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .track-btn {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .job-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .job-actions > a.btn,
  .job-actions > .row {
    width: 100%;
  }
  .job-actions > .row > .btn {
    flex: 1 1 calc(50% - 6px);
  }

  .leader-photo-frame {
    height: 230px;
  }

  fieldset {
    padding: 14px;
  }
  .stack,
  .stack.wide,
  .photo-panel,
  .acct-sub-panel {
    max-width: 100%;
  }
  .photo-actions {
    min-width: 0;
    width: 100%;
  }
  .phone-input-row .btn {
    width: 100%;
  }
  .phone-otp-row input {
    min-width: 0;
    flex: 1 1 100%;
  }
  .phone-otp-row .btn {
    flex: 1 1 auto;
  }

  .chat-main {
    padding: 14px;
  }
  .chat-controls {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .chat-select {
    width: 100%;
  }
  .chat-msg {
    max-width: 92%;
    padding: 10px 12px;
  }
  .chat-composer {
    flex-direction: column;
    align-items: stretch;
  }
  .chat-composer .btn {
    width: 100%;
  }

  .ws-item-row {
    flex-direction: column;
    align-items: stretch;
  }
  .ws-item-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .org-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .org-kpi-card {
    padding: 13px 14px;
  }
  .org-kpi-val {
    font-size: 1.45rem;
  }
  .org-toolbar input[type="search"] {
    min-width: 0;
    width: 100%;
  }

  .pricing-card {
    padding: 28px 16px 22px;
  }
  .country-pill {
    padding: 8px 13px;
    font-size: 0.82rem;
    min-height: 36px;
  }

  .checkout-backdrop {
    padding: 12px;
  }
  .checkout-dialog {
    padding: 18px 16px;
    max-height: 90vh;
    overflow-y: auto;
  }
  .checkout-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  #adminAuthGate {
    margin: 16px auto !important;
    padding: 18px 16px !important;
  }

  .site-footer {
    padding: 18px 14px calc(74px + env(safe-area-inset-bottom, 0px));
  }
  .footer-links {
    gap: 10px 14px;
  }
}

@media (max-width: 480px) {
  .track-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .rewriter-opt {
    flex-direction: column;
    align-items: flex-start;
  }
  .chat-controls {
    grid-template-columns: minmax(0, 1fr);
  }
  .org-table th,
  .org-table td {
    padding: 9px 10px;
    font-size: 0.82rem;
  }
  .sf-bot-toggle {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .org-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Legal Document Layout (Privacy Policy & Terms of Service — UK & EU Norms) ── */
.footer-link-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--soft);
  cursor: pointer;
}
.footer-link-btn:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.legal-doc-view {
  padding-top: 12px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
.legal-toc {
  position: sticky;
  top: 82px;
  padding: 6px 4px;
  min-width: 0;
}
.legal-toc-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-bottom: 12px;
}
.legal-toc-ic {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--mint);
  border: 1px solid var(--mint-border);
  color: var(--emerald);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.legal-toc-ic svg {
  width: 14px;
  height: 14px;
  display: block;
}
.legal-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1.5px solid var(--line2);
  padding-left: 12px;
}
.legal-toc-more-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.legal-toc-link {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--soft);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.legal-toc-link:hover {
  color: var(--emerald);
  background: rgba(230, 240, 236, 0.55);
  text-decoration: none;
}
.legal-toc-link.active {
  color: var(--emerald);
  font-weight: 700;
  background: var(--mint);
}
.legal-toc-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 6px 8px;
  margin-top: 4px;
  text-align: left;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--soft);
  cursor: pointer;
}
.legal-toc-toggle:hover {
  color: var(--emerald);
}

.legal-doc-card {
  padding: 36px 40px;
  border-radius: 18px;
  background: #FFFFFF;
  min-width: 0;
}
.legal-doc-card h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  margin: 0 0 12px;
  color: var(--ink);
}
.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.84rem;
  color: var(--soft);
}
.legal-meta-bar b {
  color: var(--ink-2);
}
.legal-divider {
  height: 1px;
  background: var(--line2);
  margin: 18px 0 22px;
}
.legal-intro {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 14px;
}
.legal-sec {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(220, 226, 221, 0.7);
  scroll-margin-top: 84px;
}
.legal-sec h2 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}
.legal-sec p,
.legal-sec li {
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.65;
}
.legal-sec ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.legal-inline-btn {
  appearance: none;
  background: var(--mint);
  border: 1px solid var(--mint-border);
  border-radius: 6px;
  padding: 2px 8px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald);
  cursor: pointer;
}
.legal-inline-btn:hover {
  border-color: var(--emerald);
}

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .legal-toc {
    position: static;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line2);
    border-radius: 14px;
    padding: 14px;
  }
  .legal-toc-nav {
    border-left: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .legal-toc-more-list {
    display: contents;
  }
  .legal-toc-more-list[hidden] {
    display: none !important;
  }
  .legal-toc-toggle {
    grid-column: 1 / -1;
  }
  .legal-doc-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
}

@media (max-width: 520px) {
  .legal-toc-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── UK & EU GDPR / PECR Cookie Consent Banner & Preferences Modal ──────── */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 980;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--mint-border);
  box-shadow: 0 18px 46px rgba(20, 21, 24, 0.16);
  padding: 16px 20px;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner-copy {
  flex: 1 1 320px;
  min-width: 0;
}
.cookie-banner-copy b {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.cookie-banner-copy p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-2);
  line-height: 1.48;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-modal-backdrop[hidden] {
  display: none !important;
}
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(20, 21, 24, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 18px;
}
.cookie-modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  background: #FFFFFF;
  border: 1px solid var(--line2);
  border-radius: 22px;
  box-shadow: 0 26px 64px rgba(20, 21, 24, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--line2);
}
.cookie-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cookie-modal-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--mint);
  border: 1px solid var(--mint-border);
  color: var(--emerald);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cookie-modal-ic svg {
  width: 20px;
  height: 20px;
  display: block;
}
.cookie-modal-head h3 {
  margin: 0;
  font-size: 1.18rem;
  color: var(--ink);
}
.cookie-modal-head p {
  margin: 2px 0 0;
  font-size: 0.83rem;
  color: var(--soft);
}
.cookie-modal-close {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--soft);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cookie-modal-close:hover {
  background: var(--surface-soft);
  color: var(--ink);
}
.cookie-modal-body {
  padding: 14px 22px 18px;
  overflow-y: auto;
  display: grid;
  gap: 12px;
}
.cookie-modal-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-2);
  line-height: 1.48;
}
.cookie-cat-list {
  display: grid;
  gap: 10px;
}
.cookie-cat-card {
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 14px 16px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.cookie-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.cookie-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-cat-head b {
  font-size: 0.95rem;
  color: var(--ink);
}
.cookie-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.cookie-badge.is-required {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}
.cookie-badge.is-optional {
  background: var(--mint);
  color: var(--emerald);
  border: 1px solid var(--mint-border);
}
.cookie-cat-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--soft);
  line-height: 1.45;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}
.cookie-switch.is-locked {
  cursor: not-allowed;
  opacity: 0.68;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #D1D5DB;
  transition: background-color 0.18s ease;
}
.cookie-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--emerald);
}
.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(20px);
}
.cookie-switch input:focus-visible + .cookie-slider {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.cookie-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line2);
  background: var(--bg);
}
.cookie-modal-foot-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-btn-cancel {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--soft);
  font: 600 0.88rem 'DM Sans', sans-serif;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.cookie-btn-cancel:hover {
  color: var(--ink);
  background: rgba(20, 21, 24, 0.05);
}
.cookie-btn-accept {
  appearance: none;
  background: var(--mint);
  border: 1px solid var(--mint-border);
  color: var(--emerald);
  font: 700 0.88rem 'DM Sans', sans-serif;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
}
.cookie-btn-accept:hover {
  border-color: var(--emerald);
  background: #D7E8E1;
}
.cookie-btn-save {
  appearance: none;
  background: var(--emerald);
  border: 1px solid var(--emerald);
  color: #FFFFFF;
  font: 700 0.88rem 'DM Sans', sans-serif;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
}
.cookie-btn-save:hover {
  background: var(--emerald-hover);
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 14px;
  }
  .cookie-banner-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cookie-banner-actions #cookieBannerAcceptBtn {
    grid-column: 1 / -1;
  }
  .cookie-modal-backdrop {
    padding: 10px;
  }
  .cookie-modal-head,
  .cookie-modal-body,
  .cookie-modal-foot {
    padding-left: 14px;
    padding-right: 14px;
  }
  .cookie-modal-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-modal-foot-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Structured Multi-Column Footer + Career Tips Subscribe Bar ─────────── */
.site-footer {
  border-top: 1px solid var(--line2);
  background: #FFFFFF;
  padding: 40px 24px 28px;
}
.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  min-width: 0;
}
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line2);
}
.footer-news-copy {
  flex: 1 1 280px;
  min-width: 0;
}
.footer-news-copy h3 {
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0 0 4px;
}
.footer-news-copy p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--soft);
}
.footer-news-right {
  flex: 0 1 430px;
  min-width: 0;
}
.footer-news-form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-news-form input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: var(--bg);
  padding: 10px 16px;
  font-size: 0.9rem;
}
.footer-news-form input:focus {
  background: #FFFFFF;
  border-color: var(--emerald);
}
.footer-news-btn {
  padding: 10px 22px;
  flex-shrink: 0;
}
.footer-news-msg {
  margin: 6px 4px 0;
  font-size: 0.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line2);
}
.footer-grid > * {
  min-width: 0;
}
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.footer-brand-logo:hover {
  text-decoration: none;
  color: var(--emerald);
}
.footer-brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--mint);
  border: 1px solid var(--mint-border);
  color: var(--emerald);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.footer-brand-badge svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-brand-logo em {
  font-style: normal;
  color: var(--emerald);
}
.footer-brand-desc {
  margin: 12px 0 8px;
  font-size: 0.87rem;
  color: var(--soft);
  line-height: 1.55;
  max-width: 34ch;
}
.footer-brand-trust {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--soft);
  font-weight: 500;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--soft);
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.footer-social-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.footer-social-btn:hover {
  color: var(--emerald);
  border-color: var(--emerald);
  background: var(--mint);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 4px;
  text-transform: uppercase;
}
.footer-col a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--soft);
  text-decoration: none;
  line-height: 1.38;
}
.footer-col a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
}
.footer-copyright {
  font-size: 0.82rem;
  color: var(--soft);
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links a,
.footer-legal-links .footer-link-btn {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--soft);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 28px 14px calc(74px + env(safe-area-inset-bottom, 0px));
  }
  .footer-newsletter {
    padding-bottom: 22px;
  }
  .footer-news-right {
    width: 100%;
    flex-basis: 100%;
  }
  .footer-news-form {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-news-btn {
    width: 100%;
  }
  .footer-grid {
    padding: 24px 0;
    gap: 22px 16px;
  }
  .footer-legal-links {
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Jobs Feed Pagination (10 per page: 1, 2, 3, 4 ... N) ──────────────── */
.jobs-pagination-bar {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
}
.jobs-pagination-info {
  font-size: 0.84rem;
  color: var(--muted);
}
.jobs-pagination-info b {
  color: var(--ink);
  font-weight: 700;
}
.jobs-pagination-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.12s ease;
}
.page-btn.page-nav {
  padding: 0 12px;
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--emerald);
  background: var(--mint);
  color: var(--emerald);
}
.page-btn.active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(15, 76, 58, 0.22);
}
.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 36px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  user-select: none;
}

@media (max-width: 640px) {
  .jobs-pagination-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }
  .jobs-pagination-info {
    text-align: center;
    font-size: 0.8rem;
  }
  .jobs-pagination-controls {
    justify-content: center;
    gap: 5px;
  }
  .page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 0.8rem;
    border-radius: 8px;
  }
  .page-btn.page-nav {
    padding: 0 10px;
  }
}




