:root {
  color-scheme: dark;
  --bg: #02040b;
  --bg-soft: #070b17;
  --text: #f6f8ff;
  --muted: #b8c0d5;
  --dim: #747d99;
  --line: rgba(128, 159, 255, 0.18);
  --blue: #0d8cff;
  --blue-soft: #26c4ff;
  --purple: #9b58ff;
  --purple-soft: #c56bff;
  --panel: rgba(3, 9, 24, 0.78);
  --panel-strong: rgba(7, 13, 31, 0.9);
  --shadow-blue: rgba(0, 145, 255, 0.35);
  --shadow-purple: rgba(155, 88, 255, 0.38);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.light {
  color-scheme: light;
  --bg: #edf5ff;
  --bg-soft: #ffffff;
  --text: #071222;
  --muted: #43506a;
  --dim: #68758d;
  --line: rgba(36, 78, 132, 0.16);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --shadow-blue: rgba(0, 120, 255, 0.2);
  --shadow-purple: rgba(120, 68, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 22%, rgba(13, 140, 255, 0.13), transparent 24rem),
    radial-gradient(circle at 83% 27%, rgba(155, 88, 255, 0.15), transparent 28rem),
    radial-gradient(ellipse at 50% 74%, rgba(4, 82, 185, 0.08), transparent 38rem),
    linear-gradient(180deg, #01040b 0%, #020611 50%, #01030a 100%);
}

body.light {
  background:
    radial-gradient(circle at 18% 16%, rgba(13, 140, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 83% 18%, rgba(155, 88, 255, 0.15), transparent 32rem),
    linear-gradient(180deg, #f5f9ff 0%, #edf5ff 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(66, 156, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 99, 255, 0.08) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.38;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.page-shell {
  position: relative;
  width: min(100%, 1920px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px clamp(22px, 3.35vw, 56px) 24px;
  overflow-x: clip;
  overflow-y: visible;
}

.site-header,
.site-footer,
.trust-strip {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 76px;
  border-bottom: 1px solid rgba(93, 138, 255, 0.11);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

body.header-scrolled .global-header {
  border-color: rgba(93, 138, 255, 0.2);
  border-radius: 0 0 22px 22px;
  background: rgba(2, 5, 14, 0.56);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2), 0 0 32px rgba(13, 140, 255, 0.08);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

body.light.header-scrolled .global-header {
  border-color: rgba(36, 78, 132, 0.16);
  background: rgba(245, 249, 255, 0.62);
  box-shadow: 0 18px 42px rgba(31, 74, 130, 0.12);
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 42px);
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 29px 0 28px;
  color: rgba(246, 248, 255, 0.86);
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav a::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-soft), #9b58ff, transparent);
  background-size: 220% 100%;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--blue);
  outline: none;
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
  animation: navLineRun 1.4s linear infinite;
}

.site-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #486cff);
  content: "";
}

@keyframes navLineRun {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 220% 50%;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(67, 176, 255, 0.66);
  border-radius: 50%;
  background: #f8fbff;
  box-shadow: 0 0 28px rgba(0, 140, 255, 0.52);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name,
.brand-subtitle {
  display: block;
  text-transform: uppercase;
}

.brand-name {
  font-size: clamp(15px, 1.08vw, 19px);
  font-weight: 900;
  line-height: 1;
}

.brand-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(9px, 0.66vw, 11px);
  font-weight: 700;
  letter-spacing: 1.7px;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(13, 140, 255, 0.45);
  border-radius: 999px;
  color: var(--blue-soft);
  background: rgba(4, 8, 19, 0.42);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
  border-color: var(--blue-soft);
  box-shadow: 0 0 22px rgba(38, 196, 255, 0.25);
  outline: none;
  transform: translateY(-1px);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  gap: 10px;
  border: 1px solid rgba(161, 111, 255, 0.72);
  border-radius: 999px;
  color: var(--text);
  background: rgba(4, 8, 19, 0.6);
  box-shadow: inset 0 0 18px rgba(113, 67, 255, 0.1), 0 0 20px rgba(120, 77, 255, 0.12);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.light .pill-button {
  border-color: rgba(22, 99, 210, 0.42);
  color: #071222;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 18px rgba(13, 140, 255, 0.08), 0 10px 26px rgba(31, 74, 130, 0.08);
}

.pill-button:hover,
.pill-button:focus-visible {
  border-color: var(--blue-soft);
  box-shadow: 0 0 24px rgba(38, 196, 255, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.pill-button svg {
  width: 21px;
  height: 21px;
}

.pill-button .chevron {
  width: 16px;
  height: 16px;
}

.theme-button {
  min-width: 116px;
}

.mobile-menu-button {
  display: none;
}

.login-button {
  min-height: 44px;
  padding: 0 20px;
  border-color: rgba(47, 205, 255, 0.88);
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(111, 224, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(18, 154, 255, 0.34), rgba(88, 76, 232, 0.3));
  box-shadow:
    0 0 20px rgba(38, 196, 255, 0.3),
    0 0 34px rgba(111, 87, 255, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

body.light .login-button {
  border-color: rgba(18, 137, 238, 0.66);
  color: #06213d;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.98), transparent 36%),
    linear-gradient(135deg, rgba(233, 248, 255, 0.98), rgba(218, 232, 255, 0.96));
  box-shadow:
    0 0 18px rgba(31, 150, 255, 0.18),
    0 0 30px rgba(96, 107, 255, 0.1),
    inset 0 0 18px rgba(255, 255, 255, 0.75);
}

.login-button.active {
  border-color: var(--blue-soft);
  box-shadow:
    0 0 24px rgba(38, 196, 255, 0.36),
    0 0 40px rgba(155, 88, 255, 0.22),
    inset 0 0 20px rgba(255, 255, 255, 0.12);
}

.language-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  gap: 9px;
  border: 1px solid rgba(38, 196, 255, 0.58);
  border-radius: 999px;
  color: var(--text);
  background: rgba(4, 8, 19, 0.6);
  box-shadow:
    0 0 18px rgba(38, 196, 255, 0.2),
    0 0 28px rgba(155, 88, 255, 0.12),
    inset 0 0 18px rgba(38, 196, 255, 0.08);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.language-select svg {
  width: 20px;
  height: 20px;
}

.language-select .chevron {
  width: 14px;
  height: 14px;
}

.language-button {
  min-width: 34px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  outline: none;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 100%;
  padding: 6px;
  border: 1px solid rgba(161, 111, 255, 0.54);
  border-radius: 16px;
  background: rgba(4, 8, 19, 0.96);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 0 24px rgba(120, 77, 255, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-select.open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu :is(button, a) {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.language-menu :is(button, a):hover,
.language-menu :is(button, a):focus-visible,
.language-menu :is(button, a).active {
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 140, 255, 0.92), rgba(126, 78, 255, 0.82));
  outline: none;
}

body.light .language-select {
  border-color: rgba(13, 140, 255, 0.46);
  color: #071222;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 18px rgba(13, 140, 255, 0.16),
    0 10px 26px rgba(31, 74, 130, 0.08),
    inset 0 0 18px rgba(13, 140, 255, 0.08);
}

.language-select:hover,
.language-select:focus-within,
.language-select.open {
  border-color: rgba(38, 196, 255, 0.88);
  background: rgba(5, 15, 34, 0.78);
  box-shadow:
    0 0 24px rgba(38, 196, 255, 0.34),
    0 0 46px rgba(155, 88, 255, 0.2),
    inset 0 0 18px rgba(38, 196, 255, 0.1);
}

body.light .language-select:hover,
body.light .language-select:focus-within,
body.light .language-select.open {
  border-color: rgba(13, 140, 255, 0.62);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 22px rgba(13, 140, 255, 0.22),
    0 0 42px rgba(155, 88, 255, 0.12),
    inset 0 0 18px rgba(13, 140, 255, 0.08);
}

body.light .language-menu {
  border-color: rgba(22, 99, 210, 0.26);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(31, 74, 130, 0.16);
}

body.light .language-menu :is(button, a) {
  color: #071222;
}

body.light .language-menu :is(button, a):hover,
body.light .language-menu :is(button, a):focus-visible,
body.light .language-menu :is(button, a).active {
  color: #fff;
}

.hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding-top: clamp(24px, 3.35vh, 36px);
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: -126px -11vw auto;
  height: min(760px, 78vh);
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(38, 196, 255, 0.12) 18.2% 18.55%, transparent 18.8% 43%, rgba(155, 88, 255, 0.11) 43.2% 43.55%, transparent 43.8%),
    linear-gradient(68deg, transparent 0 37%, rgba(13, 140, 255, 0.1) 37.2% 37.55%, transparent 37.8% 66%, rgba(38, 196, 255, 0.08) 66.2% 66.45%, transparent 66.7%),
    repeating-linear-gradient(90deg, rgba(90, 160, 255, 0.1) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(125, 104, 255, 0.07) 0 1px, transparent 1px 86px);
  background-position: center, center, 0 0, 0 0;
  filter: drop-shadow(0 0 32px rgba(38, 196, 255, 0.12));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.5) 54%, transparent 100%);
  opacity: 0.74;
  transform: perspective(920px) rotateX(58deg) translateY(-130px) scale(1.08);
  transform-origin: center top;
  animation: homeGridDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  top: 42px;
  left: 50%;
  width: min(1040px, 82vw);
  height: 320px;
  border: 1px solid rgba(38, 196, 255, 0.12);
  border-right-color: rgba(155, 88, 255, 0.14);
  border-left-color: rgba(13, 140, 255, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent, rgba(38, 196, 255, 0.1), transparent),
    radial-gradient(ellipse at center, rgba(38, 196, 255, 0.09), transparent 58%);
  box-shadow:
    inset 0 0 42px rgba(38, 196, 255, 0.07),
    0 0 48px rgba(155, 88, 255, 0.08);
  filter: blur(0.2px);
  opacity: 0.56;
  transform: translateX(-50%) rotateX(64deg);
  transform-origin: center;
  animation: homeSignalPulse 9s ease-in-out infinite;
}

.hero > * {
  position: relative;
  z-index: 1;
}

body.light .hero::before {
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(0, 116, 220, 0.13) 18.2% 18.55%, transparent 18.8% 43%, rgba(122, 72, 220, 0.1) 43.2% 43.55%, transparent 43.8%),
    linear-gradient(68deg, transparent 0 37%, rgba(0, 116, 220, 0.1) 37.2% 37.55%, transparent 37.8% 66%, rgba(0, 158, 225, 0.08) 66.2% 66.45%, transparent 66.7%),
    repeating-linear-gradient(90deg, rgba(36, 91, 180, 0.11) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(118, 78, 210, 0.08) 0 1px, transparent 1px 86px);
  opacity: 0.58;
}

body.light .hero::after {
  border-color: rgba(36, 91, 180, 0.13);
  background:
    linear-gradient(90deg, transparent, rgba(0, 116, 220, 0.09), transparent),
    radial-gradient(ellipse at center, rgba(0, 116, 220, 0.08), transparent 58%);
  box-shadow:
    inset 0 0 42px rgba(0, 116, 220, 0.06),
    0 0 48px rgba(122, 72, 220, 0.07);
}

@keyframes homeGridDrift {
  from {
    background-position: center, center, 0 0, 0 0;
    opacity: 0.62;
  }

  to {
    background-position: center, center, 36px 18px, -24px 30px;
    opacity: 0.82;
  }
}

@keyframes homeSignalPulse {
  0%,
  100% {
    opacity: 0.38;
    transform: translateX(-50%) rotateX(64deg) scale(0.98);
  }

  50% {
    opacity: 0.64;
    transform: translateX(-50%) rotateX(64deg) scale(1.03);
  }
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-soft);
  font-size: clamp(12px, 0.98vw, 16px);
  font-weight: 800;
  letter-spacing: clamp(5px, 0.55vw, 10px);
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(36px, 3.28vw, 52px);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

h1 strong {
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, var(--blue), var(--purple));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 820px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.45;
}

.solution-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin-top: 18px;
}

.solution-stage::before {
  position: absolute;
  top: 82px;
  right: 11%;
  left: 11%;
  z-index: 0;
  height: 128px;
  border-top: 1px solid rgba(38, 196, 255, 0.18);
  border-bottom: 1px solid rgba(155, 88, 255, 0.13);
  background:
    linear-gradient(90deg, transparent, rgba(38, 196, 255, 0.14), rgba(155, 88, 255, 0.16), transparent),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(255, 255, 255, 0.12) 44px 45px, transparent 45px 90px);
  clip-path: polygon(0 46%, 36% 46%, 45% 0, 55% 100%, 64% 46%, 100% 46%, 100% 54%, 64% 54%, 55% 100%, 45% 0, 36% 54%, 0 54%);
  content: "";
  filter: blur(0.2px) drop-shadow(0 0 20px rgba(38, 196, 255, 0.16));
  opacity: 0.74;
  pointer-events: none;
  animation: homeBridgeFlow 7s linear infinite;
}

.solution-stage::after {
  position: absolute;
  right: 3%;
  bottom: -29px;
  left: 3%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(57, 103, 255, 0.28), transparent 68%);
  content: "";
  filter: blur(10px);
}

@keyframes homeBridgeFlow {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 0, 90px 0;
  }
}

.solution-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: clamp(520px, 53vh, 548px);
  min-height: clamp(520px, 53vh, 548px);
  padding: clamp(30px, 3.35vw, 46px) clamp(24px, 3vw, 54px) 28px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, rgba(255, 255, 255, 0.14));
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.018) 38%, rgba(255, 255, 255, 0.055)),
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 18rem),
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.065), transparent 14rem),
    rgba(3, 10, 27, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -42px 80px rgba(0, 0, 0, 0.22),
    0 24px 74px rgba(0, 0, 0, 0.28),
    0 0 34px color-mix(in srgb, var(--accent) 15%, transparent);
  backdrop-filter: blur(18px) saturate(1.28);
  -webkit-backdrop-filter: blur(18px) saturate(1.28);
}

body.light .solution-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.54) 42%, rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 18rem),
    rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 24px 70px rgba(25, 54, 109, 0.12);
}

.solution-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0 12%, color-mix(in srgb, var(--accent) 34%, transparent) 12.2% 12.45%, transparent 12.7% 100%),
    linear-gradient(0deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 18.2% 18.45%, transparent 18.7% 100%),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.045) 38px 39px, transparent 39px 78px);
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 72%);
  opacity: 0.32;
  pointer-events: none;
}

body.light .solution-card::after {
  background:
    linear-gradient(90deg, transparent 0 12%, color-mix(in srgb, var(--accent) 24%, transparent) 12.2% 12.45%, transparent 12.7% 100%),
    linear-gradient(0deg, transparent 0 18%, rgba(36, 91, 180, 0.08) 18.2% 18.45%, transparent 18.7% 100%),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(36, 91, 180, 0.055) 38px 39px, transparent 39px 78px);
  opacity: 0.28;
}

body.light .solution-stage::before {
  border-top-color: rgba(0, 116, 220, 0.16);
  border-bottom-color: rgba(122, 72, 220, 0.12);
  background:
    linear-gradient(90deg, transparent, rgba(0, 116, 220, 0.12), rgba(122, 72, 220, 0.12), transparent),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(36, 91, 180, 0.13) 44px 45px, transparent 45px 90px);
  opacity: 0.58;
}

.people-card {
  --accent: var(--blue);
  grid-column: 1;
  transform: none;
}

.media-card {
  --accent: var(--purple);
  grid-column: 3;
  transform: none;
}

.blueprint {
  position: absolute;
  inset: 31px;
  z-index: 0;
  opacity: 0.28;
  color: var(--accent);
}

.blueprint::before,
.blueprint::after,
.warehouse,
.workers,
.dashboard,
.code-panel {
  position: absolute;
  content: "";
  border: 1px solid currentColor;
}

.blueprint::before {
  inset: 0;
  border-color: transparent;
  background:
    linear-gradient(90deg, transparent 0 8%, currentColor 8.2% 8.4%, transparent 8.6% 23%, currentColor 23.2% 23.4%, transparent 23.6% 100%),
    linear-gradient(currentColor 1px, transparent 1px);
  background-size: 100% 100%, 100% 48px;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.warehouse {
  left: 5%;
  top: 16%;
  width: 47%;
  height: 36%;
  border-width: 0 0 1px 1px;
  transform: skewY(-21deg);
}

.warehouse::before {
  position: absolute;
  right: -22%;
  bottom: -1px;
  width: 62%;
  height: 68%;
  border: 1px solid currentColor;
  content: "";
}

.workers {
  right: 8%;
  top: 37%;
  width: 26%;
  height: 29%;
  border-color: transparent;
}

.workers::before,
.workers::after {
  position: absolute;
  bottom: 0;
  width: 36px;
  height: 104px;
  border: 1px solid currentColor;
  border-radius: 22px 22px 8px 8px;
  content: "";
}

.workers::before {
  left: 12%;
}

.workers::after {
  right: 12%;
}

.dashboard {
  right: 4%;
  top: 17%;
  width: 34%;
  height: 28%;
  border-radius: 8px;
  transform: skewY(-10deg);
}

.dashboard::before {
  position: absolute;
  right: 12%;
  bottom: 18%;
  width: 52%;
  height: 1px;
  background: currentColor;
  box-shadow: 0 -22px 0 currentColor, 0 -44px 0 currentColor;
  content: "";
}

.code-panel {
  left: 5%;
  top: 13%;
  width: 32%;
  height: 36%;
  border-radius: 8px;
  transform: skewY(9deg);
}

.code-panel::before {
  position: absolute;
  inset: 19px 16px;
  background: repeating-linear-gradient(currentColor 0 1px, transparent 1px 13px);
  content: "";
}

.solution-logo,
.solution-content {
  position: relative;
  z-index: 1;
}

.solution-logo {
  display: grid;
  width: clamp(104px, 8.6vw, 132px);
  height: clamp(104px, 8.6vw, 132px);
  flex: 0 0 auto;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.36), transparent 24%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%),
    rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 26px color-mix(in srgb, var(--accent) 12%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent) 48%, transparent),
    0 0 34px color-mix(in srgb, var(--accent) 26%, transparent);
}

body.light .solution-logo {
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%),
    rgba(255, 255, 255, 0.58);
}

.media-logo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(0, 153, 255, 0.3), transparent 56%),
    linear-gradient(145deg, rgba(5, 16, 34, 0.74), rgba(24, 17, 58, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 20px rgba(0, 178, 255, 0.22),
    inset 0 0 0 9px rgba(20, 172, 255, 0.06),
    0 0 0 1px rgba(77, 201, 255, 0.46),
    0 0 34px rgba(0, 153, 255, 0.26);
}

body.light .media-logo {
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(0, 132, 255, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 26px rgba(0, 132, 255, 0.12),
    0 0 0 1px rgba(0, 132, 255, 0.48),
    0 0 34px rgba(0, 132, 255, 0.26);
}

.solution-logo svg {
  width: 78%;
  height: 78%;
  fill: currentColor;
  stroke: none;
}

.solution-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.media-logo img {
  width: 112%;
  height: 112%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  transform: translateX(1px) scale(1.02);
  filter: saturate(1.22) contrast(1.12) drop-shadow(0 0 12px rgba(0, 174, 255, 0.48));
}

.solution-logo circle {
  fill: transparent;
}

.solution-content h2 {
  margin: 0;
  font-size: clamp(30px, 2.45vw, 42px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.solution-content {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: auto auto minmax(118px, 1fr) auto;
  min-height: 0;
  justify-items: center;
  width: 100%;
}

.solution-content h2 span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.68em;
}

.solution-content p {
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(14px, 1vw, 17px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  align-self: center;
  width: 100%;
  margin: 24px 0 20px;
  padding: 0;
  list-style: none;
}

.media-card .service-list {
  --columns: 5;
}

.service-list li {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 11px;
  color: var(--text);
  font-size: clamp(12px, 0.86vw, 15px);
  line-height: 1.35;
  outline: 0;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.service-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  z-index: 10;
  width: min(260px, 28vw);
  padding: 14px 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(3, 12, 32, 0.68);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 34px color-mix(in srgb, var(--accent) 22%, transparent);
  backdrop-filter: blur(22px) saturate(1.35);
  font-size: 13px;
  line-height: 1.52;
  text-align: left;
  opacity: 0;
  transform: translate(-50%, 12px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.service-tooltip::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 86%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-72%) rotate(8deg);
  transition: transform 320ms ease;
  pointer-events: none;
}

.service-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.service-list li:hover + li,
.service-list li:focus-visible + li,
.service-list li:focus-within + li,
.service-list li:has(+ li:hover),
.service-list li:has(+ li:focus-visible),
.service-list li:has(+ li:focus-within) {
  opacity: 0.68;
  filter: blur(1px) saturate(0.86);
  transform: scale(0.985);
}

.service-list li:first-child .service-tooltip {
  left: 0;
  transform: translate(0, 12px) scale(0.96);
}

.service-list li:first-child .service-tooltip::after {
  left: 28px;
}

.service-list li:last-child .service-tooltip {
  right: 0;
  left: auto;
  transform: translate(0, 12px) scale(0.96);
}

.service-list li:last-child .service-tooltip::after {
  right: 28px;
  left: auto;
  transform: rotate(45deg);
}

.service-list li:hover .service-icon,
.service-list li:focus-visible .service-icon,
.service-list li:focus-within .service-icon {
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 54%, transparent));
  transform: translateY(-2px) scale(1.04);
}

.service-list li:hover .service-tooltip,
.service-list li:focus-visible .service-tooltip,
.service-list li:focus-within .service-tooltip {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.service-list li:hover .service-tooltip::before,
.service-list li:focus-visible .service-tooltip::before,
.service-list li:focus-within .service-tooltip::before {
  transform: translateX(78%) rotate(8deg);
}

.service-list li:first-child:hover .service-tooltip,
.service-list li:first-child:focus-visible .service-tooltip,
.service-list li:first-child:focus-within .service-tooltip,
.service-list li:last-child:hover .service-tooltip,
.service-list li:last-child:focus-visible .service-tooltip,
.service-list li:last-child:focus-within .service-tooltip {
  transform: translate(0, 0) scale(1);
}

body.light .service-tooltip {
  border-color: rgba(36, 91, 180, 0.2);
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 42px rgba(31, 74, 130, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 34px color-mix(in srgb, var(--accent) 18%, transparent);
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 238px;
  min-height: 40px;
  gap: 18px;
  border: 1px solid var(--blue);
  border-radius: 13px;
  color: var(--blue-soft);
  background: color-mix(in srgb, var(--blue) 8%, transparent);
  font-size: 15px;
  font-weight: 500;
  margin-top: 0;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.section-link.purple {
  border-color: var(--purple);
  color: var(--purple-soft);
  background: color-mix(in srgb, var(--purple) 8%, transparent);
}

.section-link:hover,
.section-link:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 0 24px color-mix(in srgb, currentColor 35%, transparent);
}

.section-link svg {
  width: 24px;
  height: 24px;
}

.center-emblem {
  position: relative;
  top: 0;
  bottom: 0;
  left: auto;
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-rows: minmax(76px, 1fr) auto minmax(76px, 1fr);
  align-self: stretch;
  align-items: center;
  justify-items: center;
  width: 112px;
  min-height: clamp(410px, 45vh, 455px);
  color: var(--blue);
  transform: none;
  pointer-events: none;
}

.line {
  width: 2px;
  height: 100%;
  min-height: 86px;
  background: linear-gradient(transparent, var(--blue), var(--purple), transparent);
}

.line::before,
.line::after {
  display: block;
  width: 8px;
  height: 8px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px currentColor;
  content: "";
}

.line::after {
  margin-top: calc(100% - 8px);
}

.emblem-core {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.16), transparent 22%) padding-box,
    radial-gradient(circle at center, rgba(38, 196, 255, 0.16), rgba(3, 8, 22, 0.82) 62%) padding-box,
    linear-gradient(135deg, var(--blue), var(--purple)) border-box;
  box-shadow:
    0 0 42px rgba(13, 140, 255, 0.55),
    0 0 76px rgba(155, 88, 255, 0.18),
    inset 0 0 30px rgba(155, 88, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

body.light .emblem-core {
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.85), transparent 24%) padding-box,
    radial-gradient(circle at center, rgba(0, 142, 255, 0.14), rgba(255, 255, 255, 0.82) 64%) padding-box,
    linear-gradient(135deg, var(--blue), var(--purple)) border-box;
  box-shadow:
    0 20px 42px rgba(31, 74, 130, 0.14),
    0 0 42px rgba(0, 116, 220, 0.22),
    inset 0 0 26px rgba(122, 72, 220, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.emblem-core::before,
.emblem-core::after,
.core-ring,
.core-grid,
.core-node {
  position: absolute;
  content: "";
  pointer-events: none;
}

.emblem-core::before {
  inset: 11px;
  border: 1px solid rgba(38, 196, 255, 0.2);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(38, 196, 255, 0.18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(155, 88, 255, 0.16) 50%, transparent 51%),
    radial-gradient(ellipse at center, transparent 38%, rgba(38, 196, 255, 0.1) 39%, transparent 41%);
  opacity: 0.68;
}

.emblem-core::after {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: conic-gradient(from 70deg, transparent 0 58deg, rgba(38, 196, 255, 0.46) 68deg, transparent 82deg 360deg);
  mask-image: radial-gradient(circle, transparent 58%, #000 60%, #000 67%, transparent 70%);
  opacity: 0.72;
  animation: coreSweep 8s linear infinite;
}

.core-ring,
.core-ring::before,
.core-ring::after {
  position: absolute;
  border: 1px solid rgba(38, 196, 255, 0.28);
  border-radius: 50%;
  content: "";
}

.core-ring {
  inset: 28px 12px;
  transform: rotate(18deg);
}

.core-ring::before {
  inset: -1px 0;
  border-color: rgba(155, 88, 255, 0.24);
  transform: rotate(62deg);
}

.core-ring::after {
  inset: 0 -1px;
  border-color: rgba(38, 196, 255, 0.22);
  transform: rotate(-56deg);
}

.core-grid {
  inset: 16px;
  border-radius: 50%;
  background:
    linear-gradient(18deg, transparent 0 47%, rgba(38, 196, 255, 0.2) 47.5% 48.5%, transparent 49%),
    linear-gradient(142deg, transparent 0 48%, rgba(155, 88, 255, 0.18) 48.5% 49.5%, transparent 50%);
  opacity: 0.56;
}

.core-node {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(var(--core-tilt, 0deg)) scaleY(var(--core-flatness, 0.72));
  animation: corePacketOrbit var(--core-speed, 6s) linear infinite;
  animation-delay: var(--core-delay, 0s);
}

.core-node::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--core-size, 5px);
  height: var(--core-size, 5px);
  margin: calc(var(--core-size, 5px) / -2) 0 0 calc(var(--core-size, 5px) / -2);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor, 0 0 22px currentColor;
  content: "";
  transform: translateX(var(--core-radius, 36px)) scaleY(calc(1 / var(--core-flatness, 0.72)));
}

.core-node-a {
  color: var(--blue-soft);
  --core-tilt: 16deg;
  --core-speed: 5.8s;
  --core-delay: -1.1s;
  --core-flatness: 0.72;
  --core-radius: 38px;
  --core-size: 5px;
}

.core-node-b {
  color: var(--purple-soft);
  --core-tilt: 78deg;
  --core-speed: 7.2s;
  --core-delay: -3.8s;
  --core-flatness: 0.58;
  --core-radius: 35px;
  --core-size: 4px;
}

.core-node-c {
  color: var(--blue);
  --core-tilt: -48deg;
  --core-speed: 6.4s;
  --core-delay: -2.6s;
  --core-flatness: 0.64;
  --core-radius: 31px;
  --core-size: 4px;
}

.core-node-d {
  color: var(--purple);
  --core-tilt: 134deg;
  --core-speed: 8.4s;
  --core-delay: -5.4s;
  --core-flatness: 0.78;
  --core-radius: 40px;
  --core-size: 3px;
}

.core-label {
  position: relative;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(38, 196, 255, 0.38);
  border-radius: 50%;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 32%),
    rgba(2, 8, 24, 0.68);
  box-shadow:
    0 0 24px rgba(38, 196, 255, 0.22),
    inset 0 0 18px rgba(155, 88, 255, 0.18);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.light .emblem-core::before {
  border-color: rgba(0, 116, 220, 0.18);
}

body.light .emblem-core::after {
  border-color: rgba(36, 91, 180, 0.18);
}

body.light .core-ring {
  border-color: rgba(0, 116, 220, 0.26);
}

body.light .core-ring::before {
  border-color: rgba(122, 72, 220, 0.2);
}

body.light .core-ring::after {
  border-color: rgba(0, 116, 220, 0.2);
}

body.light .core-label {
  color: #071222;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.8), transparent 32%),
    rgba(255, 255, 255, 0.74);
}

@keyframes coreSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes corePacketOrbit {
  to {
    transform: rotate(calc(var(--core-tilt, 0deg) + 360deg)) scaleY(var(--core-flatness, 0.72));
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  padding: 21px 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(8, 15, 34, 0.28), rgba(7, 11, 26, 0.66), rgba(8, 15, 34, 0.28));
  box-shadow: 0 0 50px rgba(11, 78, 188, 0.12);
}

body.light .trust-strip {
  background: rgba(255, 255, 255, 0.66);
}

.trust-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  min-width: 0;
  padding: 0 26px;
  text-align: left;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: rgba(9, 19, 44, 0.72);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.24), 0 0 24px rgba(13, 140, 255, 0.14);
}

body.light .trust-icon {
  background: rgba(235, 243, 255, 0.9);
}

.trust-icon.blue {
  color: var(--blue);
}

.trust-icon.purple {
  color: var(--purple);
}

.trust-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.7;
}

.trust-item p {
  margin: 0;
  color: var(--text);
  font-size: clamp(12px, 0.84vw, 14px);
  line-height: 1.5;
}

.home-overview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  margin-top: 28px;
  padding: 34px;
  border: 1px solid rgba(38, 196, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 12%, rgba(38, 196, 255, 0.1), transparent 22rem),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

.home-overview h2 {
  margin: 10px 0 0;
  max-width: 680px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-overview-copy {
  display: grid;
  gap: 16px;
}

.home-overview-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.home-overview-copy .about-primary {
  justify-self: start;
  margin-top: 4px;
}

body.light .home-overview {
  border-color: rgba(36, 91, 180, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 54px rgba(31, 74, 130, 0.1);
}

.home-insights {
  display: none;
  gap: 28px;
  margin-top: 28px;
}

.home-insights-heading {
  display: grid;
  gap: 10px;
}

.home-insights-heading h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.insight-cluster {
  display: grid;
  gap: 18px;
}

.insight-cluster h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  letter-spacing: 0;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-item {
  position: relative;
  min-height: 188px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(2, 8, 24, 0.46);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  outline: 0;
}

.insight-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(38, 196, 255, 0.16), transparent 9rem),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0.68;
  pointer-events: none;
}

.insight-object {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid rgba(38, 196, 255, 0.44);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(1, 16, 42, 0.72);
  box-shadow: 0 0 28px rgba(0, 128, 255, 0.22);
}

.insight-object.purple {
  color: var(--purple);
  border-color: rgba(179, 82, 255, 0.42);
  box-shadow: 0 0 28px rgba(179, 82, 255, 0.2);
}

.insight-object svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.7;
}

.insight-item h4 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.insight-popup {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(3, 12, 32, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.insight-popup p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.58;
}

.insight-item:hover .insight-popup,
.insight-item:focus-visible .insight-popup,
.insight-item:focus-within .insight-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.insight-item:focus-visible {
  border-color: rgba(38, 196, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(38, 196, 255, 0.14), 0 20px 48px rgba(0, 0, 0, 0.24);
}

body.light .insight-item {
  border-color: rgba(36, 91, 180, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(244, 248, 255, 0.66)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(31, 74, 130, 0.11);
}

body.light .insight-object {
  background: rgba(235, 243, 255, 0.92);
}

body.light .insight-popup {
  border-color: rgba(36, 91, 180, 0.14);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(31, 74, 130, 0.14);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(210px, 0.95fr) minmax(0, 1.7fr) minmax(210px, 0.95fr);
  gap: 16px;
  align-items: center;
  padding-top: 23px;
  color: var(--muted);
  font-size: clamp(11px, 0.78vw, 13px);
}

.site-footer p {
  margin: 0;
  color: var(--dim);
}

.site-footer nav,
.site-footer address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.25vw, 22px);
  min-width: 0;
  white-space: normal;
}

.site-footer address {
  justify-content: flex-end;
  font-style: normal;
  gap: clamp(10px, 1vw, 18px);
}

.site-footer a {
  display: inline-flex;
  flex: 0 0 auto;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.5;
  align-items: center;
  gap: 9px;
  min-width: 0;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue-soft);
  outline: none;
}

.pwa-install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid rgba(38, 196, 255, 0.36);
  border-radius: 999px;
  color: rgba(246, 248, 255, 0.92);
  background:
    linear-gradient(135deg, rgba(0, 153, 255, 0.18), rgba(122, 92, 255, 0.12)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 22px rgba(0, 153, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.pwa-install-button:hover,
.pwa-install-button:focus-visible {
  border-color: rgba(38, 196, 255, 0.68);
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 153, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  outline: none;
  transform: translateY(-1px);
}

.pwa-install-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.pwa-install-button[hidden] {
  display: none;
}

.site-footer svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 1181px) {
  .km-page .site-footer {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    font-size: 12px;
  }

  .km-page .site-footer p,
  .km-page .site-footer a {
    white-space: nowrap;
  }

  .km-page .site-footer nav,
  .km-page .site-footer address {
    flex-wrap: nowrap;
    gap: 14px;
  }

  .km-page .site-footer address {
    gap: 12px;
  }

  .km-page .site-footer svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 1260px) {
  .solution-stage {
    grid-template-columns: 1fr;
  }

  .solution-stage::before {
    display: none;
  }

  .solution-card {
    height: auto;
    min-height: auto;
    transform: none;
  }

  .center-emblem {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    grid-column: 1;
    grid-row: auto;
    order: 2;
    width: auto;
    min-height: 126px;
    transform: none;
  }

  .people-card {
    grid-column: 1;
    order: 1;
  }

  .media-card {
    grid-column: 1;
    order: 3;
  }

  .center-emblem .line {
    display: none;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .home-overview {
    grid-template-columns: 1fr;
  }

  .home-insights {
    display: grid;
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer address {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 20px 14px 22px;
  }

  .hero::before {
    inset: -112px -28vw auto;
    height: 620px;
    opacity: 0.52;
    transform: perspective(780px) rotateX(60deg) translateY(-132px) scale(1.18);
  }

  .hero::after {
    top: 72px;
    width: 118vw;
    height: 210px;
    opacity: 0.34;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-nav-link {
    display: none;
  }

  .pill-button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 14px;
  }

  .theme-button {
    min-width: 48px;
  }

  .theme-button span {
    display: none;
  }

  .eyebrow {
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(34px, 12vw, 56px);
  }

  .solution-card {
    padding: 33px 16px 30px;
    border-radius: 22px;
  }

  .solution-stage {
    row-gap: 0;
  }

  .center-emblem {
    grid-template-rows: auto;
    min-height: 112px;
    margin: 24px 0;
  }

  .blueprint {
    inset: 14px;
  }

  .solution-logo {
    margin-bottom: 28px;
  }

  .solution-content p {
    margin-top: 28px;
  }

  .service-list,
  .media-card .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .service-tooltip {
    display: none;
  }

  .section-link {
    width: min(100%, 300px);
    min-width: 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .trust-item,
  .trust-item + .trust-item,
  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item {
    padding: 0;
  }

  .home-overview {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .home-insights-heading h2 {
    font-size: 30px;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .insight-item {
    min-height: 0;
    padding: 22px 18px;
  }

  .insight-popup {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-footer nav,
  .site-footer address {
    flex-wrap: wrap;
    gap: 8px 12px;
    white-space: normal;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: stretch;
    text-align: center;
    padding-top: 18px;
  }

  .site-footer p {
    max-width: 100%;
    text-align: center;
    font-size: 11px;
    line-height: 1.35;
  }

  .site-footer nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
    justify-content: center;
  }

  .site-footer address {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .site-footer a {
    justify-content: center;
    max-width: 100%;
    min-height: 28px;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
  }

  .site-footer address a {
    width: auto;
    min-height: 26px;
  }
}

.about-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.about-shell {
  position: relative;
  width: min(100%, 1536px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px clamp(22px, 3.3vw, 56px) 34px;
}

.about-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid rgba(93, 138, 255, 0.11);
}

.about-header .brand {
  justify-self: start;
}

.about-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-nav a {
  position: relative;
  padding: 30px 0 31px;
  color: rgba(246, 248, 255, 0.88);
  transition: color 180ms ease;
}

.about-nav a:hover,
.about-nav a:focus-visible,
.about-nav .active {
  color: var(--blue);
  outline: none;
}

.about-nav .active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #486cff);
  content: "";
}

.about-controls {
  justify-self: end;
}

.about-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: 430px;
  padding: 44px 4px 24px;
}

.about-hero-copy {
  max-width: 620px;
}

.about-kicker,
.panel-kicker {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(52px, 5.2vw, 72px);
  line-height: 0.96;
  text-align: left;
  text-transform: none;
}

.about-lead {
  margin: 20px 0 18px;
  color: var(--muted);
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
}

.about-text {
  max-width: 560px;
  margin: 0;
  color: rgba(246, 248, 255, 0.86);
  font-size: 19px;
  line-height: 1.5;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.about-primary,
.about-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px 0 18px;
  border: 1px solid rgba(61, 172, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.about-primary {
  background: linear-gradient(135deg, #0078ff, #264ee8 62%, #113079);
  box-shadow: 0 0 28px rgba(14, 121, 255, 0.62), inset 0 0 18px rgba(255, 255, 255, 0.18);
}

.about-primary .action-icon,
.about-secondary .action-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.about-primary svg,
.about-secondary svg {
  width: 18px;
  height: 18px;
}

.about-secondary {
  border-color: rgba(246, 248, 255, 0.5);
  background: rgba(4, 8, 19, 0.32);
  color: rgba(246, 248, 255, 0.9);
}

.about-primary:hover,
.about-primary:focus-visible,
.about-secondary:hover,
.about-secondary:focus-visible {
  border-color: var(--blue-soft);
  box-shadow: 0 0 26px rgba(38, 196, 255, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.about-hero-art {
  position: relative;
  min-height: 360px;
}

.about-hero-art::before {
  position: absolute;
  inset: 10% 2% 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 132, 255, 0.18), transparent 68%);
  content: "";
  filter: blur(22px);
}

.about-hero-art img {
  position: relative;
  width: 100%;
  height: 390px;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.94;
  filter: drop-shadow(0 0 28px rgba(0, 118, 255, 0.42));
}

.about-founder-art {
  width: min(100%, 520px);
  min-height: 660px;
  justify-self: end;
  overflow: hidden;
  aspect-ratio: 0.74;
  border: 1px solid rgba(69, 123, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 14%, rgba(38, 196, 255, 0.16), transparent 24rem),
    rgba(4, 10, 25, 0.46);
  box-shadow: inset 0 0 44px rgba(0, 90, 255, 0.06), 0 22px 58px rgba(0, 0, 0, 0.22);
}

.about-founder-art::before {
  inset: auto 8% -18%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(13, 140, 255, 0.24), transparent 68%);
}

.about-founder-art img {
  width: 100%;
  height: 660px;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
  opacity: 0.94;
  filter: saturate(0.94) contrast(1.04);
}

.founder-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  min-width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(246, 248, 255, 0.18);
  border-radius: 14px;
  background: rgba(4, 10, 25, 0.62);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.founder-caption span,
.founder-caption strong {
  display: block;
}

.founder-caption span {
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.founder-caption strong {
  margin-top: 6px;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.founder-story,
.about-story-blocks,
.about-principles {
  margin-top: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(69, 123, 255, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(38, 196, 255, 0.1), transparent 24rem),
    rgba(4, 10, 25, 0.48);
  box-shadow: inset 0 0 44px rgba(0, 90, 255, 0.05), 0 18px 46px rgba(0, 0, 0, 0.12);
}

.founder-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.founder-story h2,
.about-section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
}

.founder-story-copy p:not(.panel-kicker),
.about-section-heading p:not(.panel-kicker) {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(225, 232, 248, 0.76);
  font-size: 16px;
  line-height: 1.6;
}

.founder-quote {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(38, 196, 255, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(38, 196, 255, 0.08), rgba(155, 88, 255, 0.04)),
    rgba(1, 8, 24, 0.28);
}

.founder-quote-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.founder-quote-label::after {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-soft), transparent);
  content: "";
  box-shadow: 0 0 12px rgba(38, 196, 255, 0.42);
}

.founder-quote p {
  margin: 28px 0 0;
  color: rgba(246, 248, 255, 0.9);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.22;
}

.founder-signature {
  margin-top: 26px;
}

.founder-signature img {
  display: block;
  width: min(100%, 310px);
  height: auto;
  filter: invert(1) drop-shadow(0 0 12px rgba(38, 196, 255, 0.16));
  opacity: 0.92;
}

.founder-signature span {
  display: block;
  margin-top: 8px;
  color: rgba(225, 232, 248, 0.62);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.about-story-grid,
.about-principles-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.about-story-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-principles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-story-grid article,
.about-principles-grid article {
  min-height: 174px;
  padding: 20px;
  border: 1px solid rgba(246, 248, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(246, 248, 255, 0.06), rgba(246, 248, 255, 0.02)),
    rgba(1, 8, 24, 0.22);
}

.about-story-grid article > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 140, 255, 0.72), rgba(155, 88, 255, 0.72));
  font-size: 12px;
  font-weight: 900;
}

.about-story-grid h3,
.about-principles-grid h3 {
  margin: 16px 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
}

.about-principles-grid h3 {
  margin-top: 0;
}

.about-story-grid p,
.about-principles-grid p {
  margin: 0;
  color: rgba(225, 232, 248, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

.about-panel {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
  align-items: stretch;
  padding: 32px 36px 24px;
  border: 1px solid rgba(69, 123, 255, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(4, 10, 24, 0.62), rgba(3, 8, 19, 0.88));
  box-shadow: inset 0 0 50px rgba(0, 90, 255, 0.08), 0 0 32px rgba(0, 78, 178, 0.12);
}

.about-intro {
  padding: 2px 28px 8px 2px;
}

.about-intro h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.24;
}

.about-intro > p:not(.panel-kicker, .director) {
  max-width: 370px;
  margin: 20px 0 26px;
  color: rgba(225, 232, 248, 0.74);
  line-height: 1.55;
}

.about-signature {
  margin-top: 10px;
}

.about-signature img {
  display: block;
  width: min(100%, 270px);
  height: auto;
  filter: invert(1) drop-shadow(0 0 12px rgba(38, 196, 255, 0.14));
  opacity: 0.88;
}

.director {
  margin: 8px 0 0;
  color: rgba(246, 248, 255, 0.86);
  line-height: 1.45;
}

.direction-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 284px;
  padding: 30px 22px;
  border: 1px solid rgba(57, 119, 255, 0.58);
  border-radius: 10px;
  text-align: center;
  background: rgba(4, 10, 25, 0.42);
}

.media-mini {
  border-color: rgba(170, 72, 255, 0.72);
}

.mini-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(52, 120, 255, 0.78);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(5, 18, 48, 0.86);
}

.mini-icon svg {
  width: 33px;
  height: 33px;
}

.logo-mini img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.direction-mini h3 {
  margin: 0 0 15px;
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.direction-mini p {
  margin: 0;
  color: rgba(225, 232, 248, 0.76);
  line-height: 1.55;
}

.direction-mini a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
}

.direction-mini a svg {
  width: 18px;
  height: 18px;
}

.about-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(103, 137, 255, 0.14);
}

.about-stats div {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 0 34px;
}

.about-stats div + div {
  border-left: 1px solid rgba(103, 137, 255, 0.14);
}

.about-stats svg {
  width: 42px;
  height: 42px;
  color: var(--blue);
}

.about-stats strong {
  font-size: 32px;
  line-height: 1;
}

.about-stats span {
  color: rgba(225, 232, 248, 0.78);
  line-height: 1.3;
}

.about-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(69, 123, 255, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% 22%, rgba(38, 196, 255, 0.13), transparent 22rem),
    linear-gradient(135deg, rgba(4, 10, 25, 0.7), rgba(3, 8, 19, 0.9));
  box-shadow: inset 0 0 42px rgba(0, 90, 255, 0.07), 0 22px 52px rgba(0, 0, 0, 0.18);
}

.about-final-cta h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1.12;
}

.about-final-cta p:not(.panel-kicker) {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(225, 232, 248, 0.76);
  font-size: 16px;
  line-height: 1.6;
}

.about-final-cta .about-primary {
  min-width: 230px;
}

body.light .header-nav-link {
  border-color: rgba(22, 99, 210, 0.34);
  color: #0a63d9;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(31, 74, 130, 0.08);
}

body.light .site-nav a {
  color: rgba(7, 18, 34, 0.9);
}

body.light .site-nav a:hover,
body.light .site-nav a:focus-visible,
body.light .site-nav a.active {
  color: #0a63d9;
}

body.light .about-header {
  border-bottom-color: rgba(36, 78, 132, 0.14);
}

body.light .about-nav a {
  color: rgba(7, 18, 34, 0.72);
}

body.light .about-nav a:hover,
body.light .about-nav a:focus-visible,
body.light .about-nav .active {
  color: #0a63d9;
}

body.light .about-text,
body.light .about-intro > p:not(.panel-kicker, .director),
body.light .direction-mini p,
body.light .about-stats span {
  color: rgba(7, 18, 34, 0.72);
}

body.light .about-secondary {
  border-color: rgba(22, 99, 210, 0.34);
  color: #0b3f88;
  background: rgba(255, 255, 255, 0.76);
}

body.light .about-hero-art::before {
  background: radial-gradient(ellipse at center, rgba(0, 112, 255, 0.15), transparent 70%);
}

body.light .about-hero-art img {
  mix-blend-mode: multiply;
  opacity: 0.82;
  filter: drop-shadow(0 20px 38px rgba(35, 85, 150, 0.18));
}

body.light .about-founder-art,
body.light .about-founder-art img {
  mix-blend-mode: normal;
  opacity: 1;
}

body.light .about-founder-art {
  border-color: rgba(36, 91, 180, 0.18);
  background:
    radial-gradient(circle at 50% 14%, rgba(13, 140, 255, 0.12), transparent 24rem),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 52px rgba(31, 74, 130, 0.12);
}

body.light .founder-caption {
  border-color: rgba(36, 91, 180, 0.22);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(31, 74, 130, 0.18);
}

body.light .founder-caption span {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(10, 99, 217, 0.18);
  border-radius: 999px;
  color: #064aa8;
  background: rgba(214, 235, 255, 0.84);
}

body.light .founder-caption strong {
  color: #071222;
}

body.light .founder-story,
body.light .about-story-blocks,
body.light .about-principles {
  border-color: rgba(36, 91, 180, 0.18);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(31, 74, 130, 0.08);
}

body.light .founder-story-copy p:not(.panel-kicker),
body.light .about-section-heading p:not(.panel-kicker),
body.light .about-story-grid p,
body.light .about-principles-grid p {
  color: rgba(7, 18, 34, 0.72);
}

body.light .founder-quote,
body.light .about-story-grid article,
body.light .about-principles-grid article {
  border-color: rgba(36, 91, 180, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

body.light .founder-quote p {
  color: #071222;
}

body.light .founder-signature img {
  filter: none;
  opacity: 0.9;
}

body.light .founder-signature span {
  color: rgba(7, 18, 34, 0.58);
}

body.light .about-panel {
  border-color: rgba(36, 91, 180, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 255, 0.94));
  box-shadow: inset 0 0 42px rgba(0, 110, 255, 0.06), 0 22px 52px rgba(31, 74, 130, 0.1);
}

body.light .director {
  color: #071222;
}

body.light .about-signature img {
  filter: none;
  opacity: 0.9;
}

body.light .about-final-cta {
  border-color: rgba(36, 91, 180, 0.2);
  background:
    radial-gradient(circle at 86% 22%, rgba(13, 140, 255, 0.12), transparent 22rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 48px rgba(31, 74, 130, 0.1);
}

body.light .about-final-cta p:not(.panel-kicker) {
  color: rgba(7, 18, 34, 0.72);
}

body.light .direction-mini {
  background: rgba(255, 255, 255, 0.68);
}

body.light .mini-icon {
  background: rgba(234, 244, 255, 0.92);
}

.contacts-page {
  --contact-card: rgba(4, 10, 25, 0.58);
}

.contact-shell {
  width: min(100%, 1672px);
}

.contact-hero {
  position: relative;
  min-height: 360px;
  margin: 0 -4px;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  padding: 0;
}

.contact-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 4, 11, 0.96) 0%, rgba(2, 4, 11, 0.82) 34%, rgba(2, 4, 11, 0.22) 64%, rgba(2, 4, 11, 0.16) 100%),
    radial-gradient(circle at 74% 46%, rgba(38, 196, 255, 0.12), transparent 24rem);
  content: "";
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 54px 4px 46px;
}

.contact-hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(48px, 4.6vw, 70px);
  line-height: 0.98;
  text-transform: none;
}

.contact-lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(246, 248, 255, 0.82);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.55;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 24px;
}

.contact-badges > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 248, 255, 0.82);
  font-size: 14px;
}

.contact-badges svg {
  width: 27px;
  height: 27px;
  color: var(--blue);
}

.contact-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 62% 34%, rgba(13, 140, 255, 0.26), transparent 22rem),
    rgba(4, 10, 25, 0.24);
}

.contact-map::after {
  display: none;
}

.contact-map img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  opacity: 0.98;
}

.map-pin {
  position: absolute;
  top: 17%;
  left: 73%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(0, 140, 255, 0.92);
}

.map-pin svg {
  width: 42px;
  height: 42px;
  color: var(--blue-soft);
  filter: drop-shadow(0 0 12px rgba(38, 196, 255, 0.9));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.55fr;
  gap: 12px;
  margin-top: 18px;
}

.contact-card {
  border: 1px solid rgba(69, 123, 255, 0.28);
  border-radius: 12px;
  background: var(--contact-card);
  box-shadow: inset 0 0 44px rgba(0, 90, 255, 0.05), 0 0 24px rgba(0, 78, 178, 0.08);
}

.contact-person {
  display: flex;
  min-height: 100%;
  align-items: stretch;
}

.contact-person > div,
.office-card,
.contact-form {
  padding: 26px 28px;
}

.contact-person h2,
.office-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.12;
}

.contact-person p:not(.panel-kicker) {
  margin: 0 0 18px;
  color: rgba(225, 232, 248, 0.76);
}

.contact-person a,
.office-card p {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 13px;
  color: rgba(246, 248, 255, 0.84);
  line-height: 1.45;
}

.contact-person a {
  width: fit-content;
}

.contact-person svg,
.office-card svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--blue);
}

.office-card {
  display: flex;
  flex-direction: column;
}

.office-card div {
  margin: auto -28px -26px;
  padding: 20px 28px 24px;
  border-top: 1px solid rgba(69, 123, 255, 0.22);
}

.office-card strong,
.office-card span {
  display: block;
}

.office-card strong {
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
}

.office-card span {
  margin-top: 8px;
  color: rgba(225, 232, 248, 0.74);
  line-height: 1.4;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#contactForm {
  scroll-margin-top: 110px;
}

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

.field-label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: rgba(225, 232, 248, 0.74);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.field-label-wide {
  display: grid;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(69, 123, 255, 0.36);
  border-radius: 7px;
  color: var(--text);
  background: rgba(1, 8, 24, 0.48);
  font: inherit;
  padding: 0 15px;
  outline: none;
}

.contact-form textarea {
  min-height: 80px;
  padding-top: 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(225, 232, 248, 0.62);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(38, 196, 255, 0.12);
}

.contact-submit {
  width: 100%;
  margin-top: 2px;
  cursor: pointer;
  font: inherit;
}

.contact-submit:disabled {
  cursor: progress;
  opacity: 0.72;
}

.contact-form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(38, 196, 255, 0.24);
  border-radius: 9px;
  color: rgba(225, 232, 248, 0.86);
  background: rgba(1, 8, 24, 0.38);
  font-size: 13px;
  line-height: 1.42;
}

.contact-form-status:not(:empty) {
  display: block;
}

.contact-form-status[data-tone="success"] {
  border-color: rgba(34, 197, 94, 0.42);
  color: rgba(220, 255, 232, 0.95);
  background: rgba(21, 128, 61, 0.14);
}

.contact-form-status[data-tone="error"] {
  border-color: rgba(248, 113, 113, 0.42);
  color: rgba(255, 226, 226, 0.95);
  background: rgba(127, 29, 29, 0.16);
}

.privacy-note {
  display: flex;
  gap: 12px;
  margin: 2px 0 0;
  color: rgba(225, 232, 248, 0.66);
  font-size: 13px;
  line-height: 1.35;
}

.privacy-note svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.privacy-note a,
.privacy-consent a,
.legal-panel a {
  color: var(--blue-soft);
  font-weight: 700;
}

.privacy-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 18px;
  color: rgba(225, 232, 248, 0.72);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  line-height: 1.55;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.contact-methods > a,
.contact-methods > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid rgba(69, 123, 255, 0.32);
  border-radius: 12px;
  background: rgba(4, 10, 25, 0.48);
  color: rgba(246, 248, 255, 0.86);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-methods > a:hover,
.contact-methods > a:focus-visible {
  border-color: var(--blue-soft);
  box-shadow: 0 0 24px rgba(38, 196, 255, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.contact-methods svg {
  width: 38px;
  height: 38px;
  color: var(--blue);
}

.contact-methods strong {
  display: block;
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-methods span span {
  display: block;
}

.contact-trust {
  margin-top: 12px;
}

.contact-footer {
  margin-top: 10px;
}

body.light.contacts-page {
  --contact-card: rgba(255, 255, 255, 0.78);
}

body.light .contact-lead,
body.light .contact-badges > span,
body.light .contact-person p:not(.panel-kicker),
body.light .contact-person a,
body.light .office-card p,
body.light .office-card span,
body.light .privacy-note,
body.light .field-label,
body.light .contact-methods > a,
body.light .contact-methods > span {
  color: rgba(7, 18, 34, 0.72);
}

body.light .contact-hero::before {
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.96) 0%, rgba(245, 249, 255, 0.78) 34%, rgba(245, 249, 255, 0.1) 64%, rgba(245, 249, 255, 0.04) 100%),
    radial-gradient(circle at 72% 46%, rgba(13, 140, 255, 0.08), transparent 24rem);
}

body.light .contact-map img {
  opacity: 1;
}

body.light .map-pin {
  color: #064aa8;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
}

body.light .contact-card,
body.light .contact-methods > a,
body.light .contact-methods > span {
  border-color: rgba(36, 91, 180, 0.22);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(31, 74, 130, 0.09);
}

body.light .contact-form input,
body.light .contact-form select,
body.light .contact-form textarea {
  color: #071222;
  background: rgba(255, 255, 255, 0.78);
}

body.light .contact-form-status {
  color: rgba(7, 18, 34, 0.74);
  border-color: rgba(36, 91, 180, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

body.light .contact-form-status[data-tone="success"] {
  color: #116329;
  border-color: rgba(34, 197, 94, 0.38);
  background: rgba(220, 252, 231, 0.78);
}

body.light .contact-form-status[data-tone="error"] {
  color: #991b1b;
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(254, 226, 226, 0.78);
}

body.light .contact-form input::placeholder,
body.light .contact-form textarea::placeholder {
  color: rgba(7, 18, 34, 0.48);
}

.partners-page {
  --partner-card: rgba(4, 10, 25, 0.55);
}

.partners-shell {
  width: min(100%, 1672px);
}

.partners-hero {
  position: relative;
  min-height: 325px;
  margin: 0 -4px;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

.partners-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 4, 11, 0.96) 0%, rgba(2, 4, 11, 0.82) 32%, rgba(2, 4, 11, 0.24) 62%, rgba(2, 4, 11, 0.28) 100%),
    radial-gradient(circle at 70% 44%, rgba(13, 140, 255, 0.18), transparent 24rem);
  content: "";
}

.partners-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
}

.partners-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 55px 4px 42px;
}

.partners-hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(56px, 6.2vw, 86px);
  line-height: 0.94;
  text-transform: none;
}

.partners-hero p:not(.about-kicker) {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(246, 248, 255, 0.84);
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.45;
}

.partner-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 18px auto 0;
  width: min(100%, 1390px);
}

.partner-types article {
  display: grid;
  min-height: 192px;
  place-items: center;
  padding: 28px 22px;
  border: 1px solid rgba(69, 123, 255, 0.36);
  border-radius: 18px;
  background: var(--partner-card);
  text-align: center;
  box-shadow: inset 0 0 40px rgba(0, 90, 255, 0.06), 0 0 24px rgba(0, 78, 178, 0.08);
}

.partner-types article:nth-child(even) {
  border-color: rgba(170, 72, 255, 0.46);
}

.partner-types svg {
  width: 56px;
  height: 56px;
  color: var(--blue);
}

.partner-types article:nth-child(even) svg {
  color: var(--purple-soft);
}

.partner-types h2 {
  margin: 18px 0 8px;
  font-size: 23px;
}

.partner-types p {
  margin: 0;
  color: rgba(225, 232, 248, 0.78);
  line-height: 1.45;
}

.partner-work,
.partner-process {
  margin-top: 34px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(69, 123, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(38, 196, 255, 0.1), transparent 24rem),
    rgba(4, 10, 25, 0.48);
  box-shadow: inset 0 0 44px rgba(0, 90, 255, 0.05), 0 18px 46px rgba(0, 0, 0, 0.12);
}

.partner-work-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.partner-work-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid rgba(246, 248, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(246, 248, 255, 0.06), rgba(246, 248, 255, 0.025)),
    rgba(1, 8, 24, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.partner-work-list article:hover {
  border-color: rgba(61, 172, 255, 0.48);
  box-shadow: 0 0 26px rgba(38, 196, 255, 0.12), inset 0 0 24px rgba(38, 196, 255, 0.05);
  transform: translateY(-1px);
}

.partner-work-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(61, 172, 255, 0.46);
  border-radius: 14px;
  color: var(--blue-soft);
  background: rgba(5, 18, 48, 0.58);
}

.partner-work-icon svg {
  width: 28px;
  height: 28px;
}

.partner-work-copy,
.partner-work-copy strong,
.partner-work-copy span {
  display: block;
}

.partner-work-copy strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
}

.partner-work-copy span {
  margin-top: 7px;
  color: rgba(225, 232, 248, 0.74);
  line-height: 1.55;
}

.partner-work-tag {
  display: inline-flex;
  min-width: 88px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(155, 88, 255, 0.34);
  border-radius: 999px;
  color: rgba(246, 248, 255, 0.9);
  background: rgba(155, 88, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-benefits {
  margin-top: 38px;
}

.partner-benefits h2 {
  margin: 0 0 22px;
  font-size: clamp(24px, 1.8vw, 30px);
}

.partner-benefits > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.partner-benefits article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-right: 26px;
}

.partner-benefits article + article {
  border-left: 1px solid rgba(103, 137, 255, 0.2);
  padding-left: 26px;
}

.partner-benefits svg {
  width: 52px;
  height: 52px;
  color: var(--blue);
}

.partner-benefits strong,
.partner-benefits span span {
  display: block;
}

.partner-benefits strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 18px;
}

.partner-benefits span span {
  color: rgba(225, 232, 248, 0.72);
  line-height: 1.45;
}

.partner-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
  padding: 22px 52px;
  border: 1px solid rgba(69, 123, 255, 0.42);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(3, 11, 28, 0.72), rgba(5, 13, 31, 0.58), rgba(32, 8, 54, 0.48));
  box-shadow: 0 0 32px rgba(13, 140, 255, 0.12), inset 0 0 42px rgba(155, 88, 255, 0.06);
}

.partner-cta > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.partner-cta svg {
  width: 46px;
  height: 46px;
  color: var(--blue);
}

.partner-cta strong,
.partner-cta span span,
.partner-cta p span {
  display: block;
}

.partner-cta strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.partner-cta span span,
.partner-cta p span {
  color: rgba(225, 232, 248, 0.74);
}

.partner-cta p {
  margin: 0;
  padding-left: 26px;
  border-left: 1px solid rgba(103, 137, 255, 0.26);
}

.partner-cta a:not(.about-primary) {
  display: inline-block;
  margin-top: 7px;
  color: var(--blue-soft);
  font-size: 20px;
}

.partner-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.partner-process li {
  position: relative;
  min-height: 150px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(246, 248, 255, 0.1);
  border-radius: 14px;
  background: rgba(1, 8, 24, 0.22);
}

.partner-process li::before {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 140, 255, 0.92), rgba(155, 88, 255, 0.76));
  font-size: 13px;
  font-weight: 900;
  content: counter(list-item);
}

.partner-process strong,
.partner-process span {
  display: block;
}

.partner-process strong {
  color: var(--text);
  font-size: 18px;
}

.partner-process span {
  margin-top: 8px;
  color: rgba(225, 232, 248, 0.74);
  line-height: 1.5;
}

.partner-cta .about-primary {
  min-width: 250px;
}

body.light.partners-page {
  --partner-card: rgba(255, 255, 255, 0.76);
}

body.light .partners-hero::before {
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.96) 0%, rgba(245, 249, 255, 0.78) 33%, rgba(245, 249, 255, 0.12) 64%, rgba(245, 249, 255, 0.06) 100%),
    radial-gradient(circle at 18% 55%, rgba(13, 140, 255, 0.13), transparent 24rem);
}

body.light .partners-hero img {
  opacity: 0.98;
  mix-blend-mode: normal;
}

body.light .partners-hero p:not(.about-kicker),
body.light .partner-types p,
body.light .partner-work-copy span,
body.light .partner-benefits span span,
body.light .partner-process span,
body.light .partner-cta span span,
body.light .partner-cta p span {
  color: rgba(7, 18, 34, 0.72);
}

body.light .partner-work,
body.light .partner-process {
  border-color: rgba(36, 91, 180, 0.18);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(31, 74, 130, 0.08);
}

body.light .partner-types article,
body.light .partner-work-list article,
body.light .partner-process li {
  border-color: rgba(36, 91, 180, 0.22);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 48px rgba(31, 74, 130, 0.09);
}

body.light .partner-work-icon {
  border-color: rgba(10, 99, 217, 0.2);
  color: #0a63d9;
  background: rgba(234, 244, 255, 0.92);
}

body.light .partner-work-tag {
  color: #064aa8;
  border-color: rgba(10, 99, 217, 0.18);
  background: rgba(214, 235, 255, 0.84);
}

body.light .partner-cta {
  border-color: rgba(36, 91, 180, 0.24);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(244, 249, 255, 0.9), rgba(248, 244, 255, 0.82));
  box-shadow: 0 18px 48px rgba(31, 74, 130, 0.09);
}

.km-page {
  --km-card: rgba(4, 10, 25, 0.58);
  --km-text-soft: rgba(225, 232, 248, 0.76);
}

.km-shell {
  width: min(100%, 1536px);
}

.km-brand-mark {
  border-color: rgba(155, 88, 255, 0.66);
  box-shadow: 0 0 28px rgba(110, 71, 255, 0.4);
}

.km-header {
  border-bottom-color: rgba(110, 71, 255, 0.12);
}

.km-hero {
  position: relative;
  min-height: 560px;
  margin: 0 -4px;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  padding: 0;
}

.km-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 4, 11, 0.98) 0%, rgba(2, 4, 11, 0.86) 34%, rgba(2, 4, 11, 0.24) 66%, rgba(2, 4, 11, 0.2) 100%),
    radial-gradient(circle at 74% 45%, rgba(155, 88, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 63% 55%, rgba(38, 196, 255, 0.1), transparent 24rem);
  content: "";
}

.km-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 64px 4px 52px;
}

.km-badge {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 8px 14px;
  border: 1px solid rgba(155, 88, 255, 0.42);
  border-radius: 999px;
  color: var(--purple);
  background: rgba(155, 88, 255, 0.09);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.km-hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(45px, 4.4vw, 72px);
  line-height: 1.02;
  text-transform: none;
}

.km-hero h1 strong {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  background-clip: text;
}

.km-hero-copy > p:not(.km-badge) {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--km-text-soft);
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.6;
}

.km-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.km-actions .about-primary,
.km-actions .about-secondary,
.km-cta .about-primary {
  min-height: 48px;
  padding: 0 22px;
  gap: 14px;
  border-radius: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.km-actions .about-primary svg,
.km-actions .about-secondary svg,
.km-cta .about-primary svg {
  width: 20px;
  height: 20px;
}

.km-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.km-badges > span {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid rgba(246, 248, 255, 0.1);
  border-radius: 12px;
  background: rgba(4, 10, 25, 0.34);
  color: var(--km-text-soft);
  font-size: 14px;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}

.km-badges > span > span:not(.km-trust-tooltip) {
  min-width: 0;
}

.km-badges svg {
  width: 42px;
  height: 42px;
  color: var(--purple);
  padding: 8px;
  border-radius: 50%;
  background: rgba(155, 88, 255, 0.08);
}

.km-trust-tooltip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 8;
  padding: 14px;
  border: 1px solid rgba(38, 196, 255, 0.28);
  border-radius: 12px;
  color: rgba(246, 248, 255, 0.88);
  background:
    linear-gradient(145deg, rgba(4, 10, 25, 0.86), rgba(8, 18, 48, 0.74)),
    rgba(1, 8, 24, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 0 24px rgba(38, 196, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.48;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(14px);
}

.km-badges > span:hover .km-trust-tooltip,
.km-badges > span:focus-within .km-trust-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.km-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  overflow: hidden;
}

.km-hero-art::before {
  display: none;
}

.km-hero-art img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.98;
  box-shadow: none;
}

.km-solutions {
  margin-top: 4px;
}

.km-solutions h2 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 24px;
}

.km-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.km-solution-grid article {
  position: relative;
  min-height: 198px;
  padding: 24px 22px;
  border: 1px solid rgba(155, 88, 255, 0.2);
  border-radius: 12px;
  background: var(--km-card);
  box-shadow: inset 0 0 34px rgba(155, 88, 255, 0.05), 0 18px 44px rgba(25, 20, 70, 0.08);
  overflow: hidden;
}

.km-solution-grid article::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 2px;
  border-radius: inherit;
  background:
    conic-gradient(
      from var(--neon-angle),
      transparent 0deg,
      transparent 42deg,
      rgba(13, 140, 255, 0.18) 58deg,
      rgba(38, 196, 255, 0.9) 78deg,
      rgba(155, 88, 255, 0.72) 98deg,
      rgba(13, 140, 255, 0.18) 118deg,
      transparent 142deg,
      transparent 360deg
    );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.km-solution-grid article:hover::before,
.km-solution-grid article:focus-within::before {
  animation: neon-card-border 4.8s linear infinite;
  opacity: 1;
}

.km-solution-grid svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 10px;
  color: var(--purple);
  background: rgba(155, 88, 255, 0.12);
}

.km-solution-grid h3 {
  margin: 16px 0 9px;
  font-size: 17px;
  line-height: 1.25;
}

.km-solution-grid p {
  margin: 0;
  color: var(--km-text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.km-solution-tooltip {
  position: absolute;
  inset: 10px;
  z-index: 5;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(38, 196, 255, 0.34);
  border-radius: 10px;
  color: rgba(246, 248, 255, 0.9);
  background:
    linear-gradient(145deg, rgba(3, 8, 22, 0.84), rgba(7, 18, 44, 0.74)),
    radial-gradient(circle at 82% 16%, rgba(38, 196, 255, 0.14), transparent 9rem);
  box-shadow: inset 0 0 28px rgba(38, 196, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 13px;
  line-height: 1.48;
  text-wrap: balance;
  backdrop-filter: blur(18px);
}

.km-solution-grid article:hover .km-solution-tooltip,
.km-solution-grid article:focus-within .km-solution-tooltip {
  opacity: 1;
  transform: scale(1);
}

.km-solution-grid article:hover + article,
.km-solution-grid article:has(+ article:hover),
.km-solution-grid article:focus-within + article,
.km-solution-grid article:has(+ article:focus-within) {
  filter: blur(2px);
  opacity: 0.58;
}

.km-section-heading {
  max-width: 850px;
}

.km-section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.08;
}

.km-section-heading p:not(.km-badge) {
  margin: 14px 0 0;
  color: var(--km-text-soft);
  font-size: 16px;
  line-height: 1.58;
}

.km-pain,
.km-process,
.km-included,
.km-faq {
  margin-top: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(155, 88, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(38, 196, 255, 0.12), transparent 22rem),
    rgba(4, 10, 25, 0.46);
  box-shadow: inset 0 0 38px rgba(155, 88, 255, 0.05), 0 18px 48px rgba(0, 0, 0, 0.12);
}

.km-pain {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.km-pain h2 {
  margin: 0;
  font-size: clamp(27px, 2.55vw, 42px);
  line-height: 1.08;
}

.km-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.km-pain-grid article {
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(38, 196, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(38, 196, 255, 0.08), rgba(155, 88, 255, 0.04)),
    rgba(1, 8, 24, 0.24);
}

.km-pain-grid strong,
.km-pain-grid span {
  display: block;
}

.km-pain-grid strong {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.24;
}

.km-pain-grid span {
  color: var(--km-text-soft);
  font-size: 14px;
  line-height: 1.54;
}

.km-process-grid,
.km-included-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.km-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.km-process-grid article,
.km-included-grid article,
.km-faq details {
  border: 1px solid rgba(246, 248, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(246, 248, 255, 0.06), rgba(246, 248, 255, 0.02)),
    rgba(1, 8, 24, 0.22);
}

.km-process-grid article {
  min-height: 184px;
  padding: 20px;
}

.km-process-grid article > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 140, 255, 0.72), rgba(155, 88, 255, 0.72));
  font-size: 12px;
  font-weight: 900;
}

.km-process-grid h3,
.km-included-grid strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.24;
}

.km-process-grid p,
.km-included-grid span,
.km-faq p {
  margin: 0;
  color: var(--km-text-soft);
  font-size: 14px;
  line-height: 1.54;
}

.km-included-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.km-included-grid article {
  min-height: 128px;
  padding: 18px;
}

.km-showcases {
  margin-top: 18px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(155, 88, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 8%, rgba(155, 88, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(38, 196, 255, 0.1), transparent 22rem),
    rgba(4, 10, 25, 0.52);
  box-shadow: inset 0 0 44px rgba(155, 88, 255, 0.06), 0 22px 58px rgba(0, 0, 0, 0.14);
}

.km-showcases-heading {
  max-width: 860px;
}

.km-showcases-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.05;
}

.km-showcases-heading p:not(.km-badge) {
  margin: 16px 0 0;
  color: var(--km-text-soft);
  font-size: 16px;
  line-height: 1.58;
}

.km-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.km-showcase-group {
  margin-top: 26px;
}

.km-showcase-group h3 {
  margin: 0;
  color: rgba(246, 248, 255, 0.92);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}

.km-showcase-group-apps {
  margin-top: 34px;
}

.km-showcase-grid-apps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.km-showcase-card {
  min-height: 540px;
  padding: 12px;
  border: 1px solid rgba(155, 88, 255, 0.2);
  border-radius: 16px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(3, 8, 22, 0.68), rgba(8, 18, 48, 0.48)),
    radial-gradient(circle at 82% 14%, rgba(155, 88, 255, 0.14), transparent 9rem);
  box-shadow: inset 0 0 32px rgba(155, 88, 255, 0.05), 0 16px 40px rgba(25, 20, 70, 0.08);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.km-showcase-card:hover {
  border-color: color-mix(in srgb, var(--demo-accent, #26c4ff) 70%, rgba(255, 255, 255, 0.2));
  box-shadow:
    0 0 30px color-mix(in srgb, var(--demo-accent, #26c4ff) 20%, transparent),
    inset 0 0 28px rgba(38, 196, 255, 0.06);
}

.km-showcase-preview {
  position: relative;
  display: flex;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid rgba(246, 248, 255, 0.14);
  border-radius: 13px;
  background:
    linear-gradient(115deg, rgba(1, 6, 18, 0.86) 0%, rgba(1, 6, 18, 0.64) 42%, rgba(1, 6, 18, 0.12) 100%),
    radial-gradient(circle at 78% 14%, color-mix(in srgb, var(--demo-accent, #26c4ff) 28%, transparent), transparent 13rem),
    var(--demo-image, linear-gradient(135deg, rgba(13, 140, 255, 0.22), rgba(155, 88, 255, 0.18)));
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
  transform-origin: center;
  transition: border-color 320ms ease, box-shadow 320ms ease, transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.km-showcase-preview:hover {
  border-color: color-mix(in srgb, var(--demo-accent, #26c4ff) 56%, rgba(255, 255, 255, 0.18));
  box-shadow:
    inset 0 0 44px rgba(0, 0, 0, 0.28),
    0 0 24px color-mix(in srgb, var(--demo-accent, #26c4ff) 18%, transparent);
}

.km-showcase-card.is-preview-open .km-showcase-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 140;
  width: min(70vw, 1180px);
  height: min(70vh, 760px);
  min-height: 0;
  border-color: color-mix(in srgb, var(--demo-accent, #26c4ff) 68%, rgba(255, 255, 255, 0.28));
  border-radius: 20px;
  box-shadow:
    0 0 0 100vmax rgba(1, 6, 18, 0.66),
    0 32px 90px rgba(0, 0, 0, 0.54),
    0 0 42px color-mix(in srgb, var(--demo-accent, #26c4ff) 24%, transparent);
  cursor: zoom-out;
  transform: translate(-50%, -50%);
}

.km-showcase-card.is-preview-open .km-preview-hero {
  max-width: min(520px, 62%);
  padding: 72px 34px 34px;
}

.km-showcase-card.is-preview-open .km-showcase-tag {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.km-showcase-card.is-preview-open strong {
  max-width: 14ch;
  font-size: clamp(38px, 4.2vw, 72px);
}

.km-showcase-card.is-preview-open .km-preview-hero p {
  max-width: 430px;
  font-size: 17px;
}

.km-showcase-card.is-preview-open .km-preview-cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

body.km-preview-open {
  overflow: hidden;
}

.km-preview-nav {
  position: absolute;
  top: 13px;
  left: 13px;
  right: 13px;
  height: 24px;
  border: 1px solid rgba(246, 248, 255, 0.1);
  border-radius: 999px;
  background:
    radial-gradient(circle at 15px 50%, #ff6b6b 0 4px, transparent 5px),
    radial-gradient(circle at 31px 50%, #ffd166 0 4px, transparent 5px),
    radial-gradient(circle at 47px 50%, #52d273 0 4px, transparent 5px),
    rgba(2, 8, 23, 0.52);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.km-preview-hero {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 78%;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 54px 16px 18px;
}

.km-showcase-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--demo-accent, #26c4ff) 42%, transparent);
  border-radius: 999px;
  color: #ffffff;
  background: color-mix(in srgb, var(--demo-accent, #26c4ff) 22%, rgba(1, 8, 24, 0.4));
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.km-showcase-grid strong {
  display: block;
  margin-top: 12px;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 0.98;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.km-preview-hero p {
  max-width: 260px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.km-preview-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--demo-accent, #26c4ff) 54%, transparent);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--demo-accent, #26c4ff) 42%, transparent), color-mix(in srgb, var(--demo-accent-2, #9b58ff) 34%, transparent)),
    rgba(1, 8, 24, 0.4);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--demo-accent, #26c4ff) 22%, transparent);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.km-preview-cta:hover,
.km-preview-cta:focus-visible {
  border-color: color-mix(in srgb, var(--demo-accent, #26c4ff) 82%, #ffffff);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--demo-accent, #26c4ff) 30%, transparent);
  outline: none;
  transform: translateY(-1px);
}

.km-showcase-seo {
  min-height: 198px;
  margin: 12px 0 0;
  padding: 16px;
  border: 1px solid rgba(246, 248, 255, 0.1);
  border-left: 3px solid var(--demo-accent, #26c4ff);
  border-radius: 12px;
  color: rgba(225, 232, 248, 0.78);
  background:
    linear-gradient(145deg, rgba(246, 248, 255, 0.07), rgba(246, 248, 255, 0.025)),
    rgba(1, 8, 24, 0.24);
  font-size: 13px;
  line-height: 1.58;
}

.km-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  padding: 18px 28px;
  border: 1px solid rgba(155, 88, 255, 0.16);
  border-radius: 14px;
  background: var(--km-card);
}

.km-stats div {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.km-stats div + div {
  border-left: 1px solid rgba(155, 88, 255, 0.14);
}

.km-stats strong {
  color: var(--purple);
  font-size: 30px;
  line-height: 1;
}

.km-stats span {
  color: var(--km-text-soft);
  font-size: 13px;
}

.km-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.km-faq details {
  padding: 0 18px;
}

.km-faq summary {
  min-height: 58px;
  align-content: center;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.3;
}

.km-faq summary::marker {
  color: var(--blue);
}

.km-faq p {
  padding: 0 0 18px;
}

.km-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 10px;
  padding: 20px 34px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(6, 10, 28, 0.96), rgba(16, 14, 44, 0.96));
  color: #fff;
  box-shadow: 0 18px 48px rgba(25, 20, 70, 0.18);
}

.km-cta > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.km-cta > div > svg {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 12px;
  color: var(--purple-soft);
  background: rgba(155, 88, 255, 0.18);
}

.km-cta strong,
.km-cta span span {
  display: block;
}

.km-cta strong {
  margin-bottom: 6px;
  font-size: 21px;
}

.km-cta span span {
  color: rgba(246, 248, 255, 0.78);
}

body.light.km-page {
  --bg: #f7f8fc;
  --text: #070b1b;
  --muted: #4c5571;
  --dim: #7c849c;
  --km-card: rgba(255, 255, 255, 0.78);
  --km-text-soft: rgba(7, 11, 27, 0.72);
  background:
    radial-gradient(circle at 72% 20%, rgba(155, 88, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

body.light.km-page::before {
  opacity: 0.18;
}

body.light .km-header {
  border-bottom-color: rgba(23, 31, 58, 0.1);
}

body.light .km-brand-mark {
  background: #fff;
}

body.light .km-solution-grid article,
body.light .km-stats,
body.light .km-showcases,
body.light .km-showcase-card,
body.light .km-pain,
body.light .km-process,
body.light .km-included,
body.light .km-faq {
  border-color: rgba(23, 31, 58, 0.1);
  box-shadow: 0 18px 45px rgba(23, 31, 58, 0.08);
}

body.light .km-showcases,
body.light .km-showcase-card,
body.light .km-pain,
body.light .km-process,
body.light .km-included,
body.light .km-faq {
  background: rgba(255, 255, 255, 0.76);
}

body.light .km-pain-grid article,
body.light .km-process-grid article,
body.light .km-included-grid article,
body.light .km-faq details {
  color: rgba(7, 18, 34, 0.78);
  border-color: rgba(23, 31, 58, 0.1);
  background: rgba(255, 255, 255, 0.68);
}

body.light .km-trust-tooltip {
  color: rgba(7, 18, 34, 0.82);
  border-color: rgba(36, 91, 180, 0.2);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(31, 74, 130, 0.14);
}

body.light .km-showcase-group h3 {
  color: rgba(7, 18, 34, 0.9);
}

body.light .km-showcase-seo {
  color: rgba(7, 18, 34, 0.72);
  border-color: rgba(23, 31, 58, 0.1);
  border-left-color: var(--demo-accent, #26c4ff);
  background: rgba(255, 255, 255, 0.72);
}

body.light .km-hero::before {
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.98) 0%, rgba(245, 249, 255, 0.82) 34%, rgba(245, 249, 255, 0.16) 66%, rgba(245, 249, 255, 0.08) 100%),
    radial-gradient(circle at 74% 45%, rgba(155, 88, 255, 0.08), transparent 28rem),
    radial-gradient(circle at 63% 55%, rgba(13, 140, 255, 0.08), transparent 24rem);
}

body.light .km-hero-art img {
  opacity: 1;
  mix-blend-mode: normal;
}

body.light .km-badges > span {
  border-color: rgba(36, 91, 180, 0.16);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 30px rgba(31, 74, 130, 0.08);
}

body.light .km-solution-tooltip {
  color: rgba(7, 18, 34, 0.86);
  border-color: rgba(36, 91, 180, 0.2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(31, 74, 130, 0.14);
}

body.light .km-cta {
  border: 1px solid rgba(36, 91, 180, 0.12);
  color: #071222;
  background:
    radial-gradient(circle at 8% 50%, rgba(155, 88, 255, 0.12), transparent 16rem),
    radial-gradient(circle at 92% 20%, rgba(13, 140, 255, 0.1), transparent 18rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(23, 31, 58, 0.08);
}

body.light .km-cta > div > svg {
  color: var(--purple);
  background: rgba(155, 88, 255, 0.1);
}

body.light .km-cta span span {
  color: rgba(7, 18, 34, 0.7);
}

.people-page {
  --people-card: rgba(4, 10, 25, 0.58);
  --people-soft: rgba(225, 232, 248, 0.76);
}

.people-shell {
  width: min(100%, 1672px);
}

.people-hero {
  position: relative;
  min-height: 640px;
  margin: 0 -4px;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

.people-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 4, 11, 0.98) 0%, rgba(2, 4, 11, 0.86) 36%, rgba(2, 4, 11, 0.2) 66%, rgba(2, 4, 11, 0.14) 100%),
    radial-gradient(circle at 72% 46%, rgba(13, 140, 255, 0.16), transparent 28rem);
  content: "";
}

.people-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.98;
}

.people-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 56px 28px 48px 4px;
  background: transparent;
  border-radius: 0;
}

.people-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 1;
  text-transform: none;
}

.people-lead {
  margin: 16px 0 0;
  color: rgba(246, 248, 255, 0.9);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 600;
  line-height: 1.18;
}

.people-text {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--people-soft);
  font-size: 17px;
  line-height: 1.52;
}

.people-carousel-section {
  margin-top: 18px;
}

.carousel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.carousel-heading h2 {
  margin: 0;
  font-size: 24px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(69, 123, 255, 0.48);
  border-radius: 50%;
  color: var(--text);
  background: rgba(4, 10, 25, 0.58);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: var(--blue-soft);
  box-shadow: 0 0 24px rgba(38, 196, 255, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.carousel-button svg {
  width: 24px;
  height: 24px;
}

.people-carousel {
  display: grid;
  grid-auto-columns: calc((100% - 42px) / 4);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.people-carousel::-webkit-scrollbar {
  display: none;
}

.people-service-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px 14px;
  align-items: center;
  min-height: 136px;
  padding: 18px 18px;
  border: 1px solid rgba(69, 123, 255, 0.34);
  border-radius: 13px;
  background: var(--people-card);
  box-shadow: inset 0 0 38px rgba(0, 90, 255, 0.06), 0 0 24px rgba(0, 78, 178, 0.08);
  scroll-snap-align: start;
}

.people-service-card svg {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(69, 123, 255, 0.54);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(6, 22, 55, 0.62);
}

.people-service-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.2;
}

.people-service-card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--people-soft);
  font-size: 13px;
  line-height: 1.4;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(128, 159, 255, 0.55);
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--blue);
  box-shadow: 0 0 16px rgba(13, 140, 255, 0.9);
}

.people-work {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.people-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.people-steps article {
  position: relative;
  padding-top: 44px;
}

.people-steps article::before {
  position: absolute;
  top: 20px;
  right: -18px;
  left: 42px;
  height: 1px;
  background: rgba(69, 123, 255, 0.48);
  content: "";
}

.people-steps article:last-child::before {
  display: none;
}

.people-steps strong {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(69, 123, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(6, 22, 55, 0.72);
  box-shadow: 0 0 18px rgba(13, 140, 255, 0.25);
}

.people-steps span {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-weight: 800;
}

.people-steps p {
  margin: 0;
  color: var(--people-soft);
  font-size: 14px;
  line-height: 1.4;
}

.people-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(103, 137, 255, 0.18);
}

.people-benefits article {
  display: grid;
  justify-items: center;
  padding: 0 18px;
  text-align: center;
}

.people-benefits article + article {
  border-left: 1px solid rgba(103, 137, 255, 0.16);
}

.people-benefits svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--blue);
}

.people-benefits strong,
.people-benefits span {
  display: block;
}

.people-benefits strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
}

.people-benefits span {
  color: var(--people-soft);
  font-size: 13px;
  line-height: 1.4;
}

.people-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 20px 40px;
  border: 1px solid rgba(69, 123, 255, 0.36);
  border-radius: 13px;
  background: linear-gradient(90deg, rgba(4, 10, 25, 0.62), rgba(6, 16, 40, 0.7));
  box-shadow: inset 0 0 42px rgba(0, 90, 255, 0.07);
}

.people-cta .brand-mark {
  width: 64px;
  height: 64px;
}

.people-cta p {
  margin: 0;
}

.people-cta strong,
.people-cta span {
  display: block;
}

.people-cta strong {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.2;
}

.people-cta span {
  color: var(--people-soft);
}

.people-cta .about-primary {
  min-width: 260px;
}

.people-faq {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(69, 123, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 12%, rgba(38, 196, 255, 0.1), transparent 20rem),
    rgba(4, 10, 25, 0.52);
  box-shadow: inset 0 0 42px rgba(0, 90, 255, 0.06);
}

.people-faq h2 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}

.people-faq > div {
  display: grid;
  gap: 12px;
}

.people-faq details {
  border: 1px solid rgba(69, 123, 255, 0.2);
  border-radius: 14px;
  background: rgba(3, 8, 22, 0.5);
  overflow: hidden;
}

.people-faq summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.people-faq summary::-webkit-details-marker {
  display: none;
}

.people-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(69, 123, 255, 0.4);
  border-radius: 50%;
  color: var(--blue-soft);
  transform: translateY(-50%);
}

.people-faq details[open] summary::after {
  content: "-";
}

.people-faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--people-soft);
  font-size: 15px;
  line-height: 1.58;
}

body.light.people-page {
  --people-card: rgba(255, 255, 255, 0.78);
  --people-soft: rgba(7, 18, 34, 0.72);
}

body.light .people-hero::before {
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.98) 0%, rgba(245, 249, 255, 0.82) 36%, rgba(245, 249, 255, 0.14) 66%, rgba(245, 249, 255, 0.06) 100%),
    radial-gradient(circle at 72% 46%, rgba(13, 140, 255, 0.1), transparent 28rem);
}

body.light .people-hero-copy {
  background: transparent;
}

body.light .people-hero > img {
  opacity: 1;
  mix-blend-mode: normal;
}

body.light .people-lead {
  color: #071222;
}

body.light .people-service-card,
body.light .carousel-button,
body.light .people-cta,
body.light .people-faq,
body.light .people-faq details {
  border-color: rgba(36, 91, 180, 0.22);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(31, 74, 130, 0.09);
}

body.light .people-service-card svg,
body.light .people-steps strong {
  background: rgba(235, 243, 255, 0.92);
  color: var(--blue);
}

@property --neon-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes neon-card-border {
  to {
    --neon-angle: 360deg;
  }
}

.solution-card::before {
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  background:
    conic-gradient(
      from var(--neon-angle),
      transparent 0deg,
      transparent 36deg,
      color-mix(in srgb, var(--accent) 28%, transparent) 58deg,
      color-mix(in srgb, var(--accent) 96%, white) 82deg,
      rgba(255, 255, 255, 0.92) 92deg,
      color-mix(in srgb, var(--accent) 36%, transparent) 114deg,
      transparent 142deg,
      transparent 218deg,
      color-mix(in srgb, var(--accent) 18%, transparent) 236deg,
      color-mix(in srgb, var(--accent) 58%, white) 252deg,
      color-mix(in srgb, var(--accent) 22%, transparent) 270deg,
      transparent 292deg,
      transparent 360deg
    );
  content: "";
  pointer-events: none;
  animation: neon-card-border 9s linear infinite;
  opacity: 0.58;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 3px;
}

.solution-card {
  filter: drop-shadow(0 0 0 color-mix(in srgb, var(--accent) 0%, transparent));
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.solution-card:hover,
.solution-card:focus-within {
  border-color: color-mix(in srgb, var(--accent) 68%, rgba(255, 255, 255, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -42px 86px rgba(0, 0, 0, 0.24),
    0 30px 88px rgba(0, 0, 0, 0.32),
    0 0 48px color-mix(in srgb, var(--accent) 32%, transparent),
    0 0 110px color-mix(in srgb, var(--accent) 18%, transparent);
  filter:
    drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 36%, transparent))
    drop-shadow(0 0 42px color-mix(in srgb, var(--accent) 18%, transparent));
  transform: translateY(-5px);
}

.solution-card:hover::before,
.solution-card:focus-within::before {
  animation-duration: 3.8s;
  opacity: 0.98;
}

.pill-button,
.language-select,
.section-link,
.about-primary,
.about-secondary,
.carousel-button,
.contact-methods > a,
.contact-methods > span,
.partner-cta a,
.km-solution-grid article,
.partner-types article,
.people-service-card,
.direction-mini {
  transform-origin: center;
  will-change: transform, box-shadow;
}

.pill-button:hover,
.pill-button:focus-visible,
.language-select:hover,
.language-select:focus-within,
.section-link:hover,
.section-link:focus-visible,
.about-primary:hover,
.about-primary:focus-visible,
.about-secondary:hover,
.about-secondary:focus-visible,
.carousel-button:hover,
.carousel-button:focus-visible {
  transform: scale(1.06);
}

.contact-methods > a,
.contact-methods > span,
.partner-cta a,
.km-solution-grid article,
.partner-types article,
.people-service-card,
.direction-mini {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.contact-methods > a:hover,
.contact-methods > a:focus-visible,
.partner-cta a:not(.about-primary):hover,
.partner-cta a:not(.about-primary):focus-visible,
.direction-mini:hover,
.direction-mini:focus-within {
  border-color: rgba(61, 172, 255, 0.76);
  box-shadow: 0 0 30px rgba(38, 196, 255, 0.24), inset 0 0 26px rgba(38, 196, 255, 0.08);
  outline: none;
  transform: scale(1.035);
}

.contact-methods > span:hover,
.km-solution-grid article:hover,
.partner-types article:hover,
.people-service-card:hover {
  border-color: rgba(61, 172, 255, 0.72);
  box-shadow: 0 0 30px rgba(38, 196, 255, 0.2), inset 0 0 24px rgba(38, 196, 255, 0.07);
  transform: scale(1.025);
}

.km-solution-grid article:nth-child(even):hover,
.partner-types article:nth-child(even):hover {
  border-color: rgba(170, 72, 255, 0.78);
  box-shadow: 0 0 30px rgba(155, 88, 255, 0.22), inset 0 0 24px rgba(155, 88, 255, 0.07);
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .solution-stage::before,
  .emblem-core::after,
  .core-node,
  .core-node::before,
  .solution-card::before,
  .site-nav a:hover::before,
  .site-nav a:focus-visible::before {
    animation: none;
  }

  .pill-button,
  .language-select,
  .section-link,
  .about-primary,
  .about-secondary,
  .carousel-button,
  .contact-methods > a,
  .contact-methods > span,
  .partner-cta a,
  .km-solution-grid article,
  .partner-types article,
  .people-service-card,
  .direction-mini {
    transition-duration: 1ms;
  }
}

@media (max-width: 1180px) {
  .global-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 18px;
  }

  .global-header .brand,
  .global-header .header-actions {
    justify-self: center;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0 24px;
  }

  .site-nav a {
    padding: 8px 0;
  }

  .about-header {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 18px;
  }

  .about-header .brand,
  .about-controls {
    justify-self: center;
  }

  .about-nav {
    justify-content: center;
    gap: 24px;
  }

  .about-nav a {
    padding: 8px 0;
  }

  .about-hero,
  .about-panel,
  .about-final-cta {
    grid-template-columns: 1fr;
  }

  .founder-story {
    grid-template-columns: 1fr;
  }

  .about-story-grid,
  .about-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero {
    text-align: center;
  }

  .about-hero-copy,
  .about-text {
    max-width: none;
  }

  .about-hero h1 {
    text-align: center;
  }

  .about-actions {
    justify-content: center;
  }

  .about-final-cta {
    text-align: center;
  }

  .about-final-cta h2,
  .about-final-cta p:not(.panel-kicker) {
    max-width: none;
  }

  .about-final-cta .about-primary {
    justify-self: center;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }

  .about-stats div:nth-child(3) {
    border-left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    min-height: 430px;
    text-align: center;
  }

  .contact-hero-copy {
    max-width: 760px;
    margin: 0 auto;
    padding: 52px 18px 48px;
  }

  .map-pin {
    top: auto;
    right: 22px;
    bottom: 22px;
    left: auto;
  }

  .contact-hero h1,
  .contact-lead {
    max-width: none;
  }

  .contact-badges {
    justify-content: center;
  }

  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-hero {
    min-height: 0;
  }

  .partners-hero img {
    width: 100%;
  }

  .partners-hero-copy {
    max-width: 720px;
    padding-right: 4px;
  }

  .partner-types,
  .partner-benefits > div,
  .partner-process ol,
  .partner-cta {
    grid-template-columns: 1fr;
  }

  .partner-benefits article,
  .partner-benefits article + article {
    border-left: 0;
    padding: 0;
  }

  .partner-cta {
    padding: 24px;
  }

  .partner-work,
  .partner-process {
    padding: 24px;
  }

  .partner-cta p {
    padding-left: 0;
    border-left: 0;
  }

  .km-cta {
    grid-template-columns: 1fr;
  }

  .km-pain {
    grid-template-columns: 1fr;
  }

  .km-hero {
    min-height: 620px;
    text-align: center;
  }

  .km-hero-copy {
    max-width: 780px;
    margin: 0 auto;
    padding: 58px 18px 52px;
  }

  .km-hero h1,
  .km-hero-copy > p:not(.km-badge) {
    max-width: none;
  }

  .km-actions {
    justify-content: center;
  }

  .km-badges {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }

  .km-solution-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .km-pain-grid,
  .km-process-grid,
  .km-included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-hero > img {
    width: 100%;
    opacity: 0.98;
  }

  .people-hero-copy {
    max-width: 720px;
    padding: 54px 18px 48px;
  }

  .people-carousel {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }

  .people-cta {
    grid-template-columns: 1fr;
  }

  .people-benefits {
    padding-left: 0;
    border-left: 0;
  }

  .km-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .km-showcase-grid-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .km-showcase-card.is-preview-open .km-showcase-preview {
    width: min(92vw, 720px);
    height: min(78vh, 680px);
  }

  .km-showcase-card.is-preview-open .km-preview-hero {
    max-width: 82%;
    padding: 64px 22px 24px;
  }

  .km-showcase-card.is-preview-open strong {
    font-size: clamp(30px, 8vw, 48px);
  }

  .km-showcase-card.is-preview-open .km-preview-hero p {
    font-size: 15px;
  }
}

@media (max-width: 680px) {
  .about-shell {
    padding: 16px 14px 24px;
  }

  .about-nav {
    flex-wrap: wrap;
    font-size: 12px;
  }

  .site-nav {
    font-size: 12px;
    gap: 0 16px;
  }

  .about-controls {
    justify-content: center;
    gap: 18px;
    width: 100%;
  }

  .about-hero {
    min-height: 0;
    padding-top: 34px;
  }

  .about-hero h1 {
    font-size: 44px;
  }

  .about-lead {
    font-size: 23px;
  }

  .about-text {
    font-size: 16px;
  }

  .about-hero-art {
    min-height: 220px;
  }

  .about-hero-art img {
    height: 240px;
  }

  .about-founder-art {
    width: min(100%, 460px);
    min-height: 590px;
    justify-self: center;
  }

  .about-founder-art img {
    height: 590px;
  }

  .founder-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-width: 0;
  }

  .founder-story,
  .about-story-blocks,
  .about-principles {
    padding: 22px 16px;
  }

  .about-story-grid,
  .about-principles-grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    padding: 24px 16px;
  }

  .about-final-cta {
    padding: 24px 16px;
  }

  .about-final-cta .about-primary {
    width: 100%;
    min-width: 0;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats div,
  .about-stats div + div,
  .about-stats div:nth-child(3) {
    border-left: 0;
    padding: 0;
  }

  .contact-hero h1 {
    font-size: 42px;
  }

  .contact-map {
    min-height: 100%;
  }

  .contact-map img {
    min-height: 430px;
    object-position: 58% center;
  }

  .contact-person {
    grid-template-columns: 1fr;
  }

  .form-row,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .partners-hero h1 {
    font-size: 48px;
  }

  .partners-hero p:not(.about-kicker) {
    font-size: 16px;
  }

  .partner-types {
    gap: 14px;
  }

  .partner-work,
  .partner-process {
    padding: 22px 16px;
  }

  .partner-work-list article {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .partner-work-tag {
    grid-column: 2;
    justify-self: start;
  }

  .partner-process ol {
    grid-template-columns: 1fr;
  }

  .partner-cta .about-primary {
    min-width: 0;
    width: 100%;
  }

  .km-hero {
    min-height: 720px;
  }

  .km-hero h1 {
    font-size: 40px;
  }

  .km-badges,
  .km-solution-grid,
  .km-stats {
    grid-template-columns: 1fr;
  }

  .km-trust-tooltip {
    top: calc(100% + 10px);
    bottom: auto;
  }

  .km-hero-art {
    min-height: 100%;
  }

  .km-hero-art img {
    min-height: 720px;
    object-position: 66% center;
  }

  .km-stats div + div {
    padding-top: 16px;
    border-top: 1px solid rgba(155, 88, 255, 0.14);
    border-left: 0;
  }

  .km-cta {
    padding: 20px;
  }

  .km-cta .about-primary {
    width: 100%;
  }

  .people-hero {
    min-height: 760px;
  }

  .people-hero-copy {
    max-width: none;
    padding: 34px 16px 36px;
  }

  .people-hero > img {
    object-position: 62% center;
  }

  .people-hero h1 {
    font-size: 42px;
  }

  .people-lead {
    font-size: 20px;
  }

  .people-carousel,
  .people-steps,
  .people-benefits {
    grid-template-columns: 1fr;
  }

  .people-carousel {
    grid-auto-columns: 92%;
  }

  .people-service-card {
    grid-template-columns: 54px minmax(0, 1fr);
    justify-items: start;
    min-height: 0;
    padding: 20px;
  }

  .people-service-card svg {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 50px;
    height: 50px;
  }

  .people-service-card h3,
  .people-service-card p {
    grid-column: 2;
  }

  .people-steps article::before {
    display: none;
  }

  .people-benefits article,
  .people-benefits article + article {
    border-left: 0;
    padding: 16px 0;
  }

  .people-faq {
    padding: 22px 16px;
  }

  .people-faq summary {
    padding-right: 48px;
  }

  .people-cta {
    padding: 20px;
  }

  .people-cta .about-primary {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
  }

  .header-actions {
    align-self: stretch;
    justify-content: space-between;
  }

  .pill-button,
  .language-select {
    flex: 1;
  }

  .language-menu {
    right: auto;
    left: 0;
    width: 100%;
  }

  .theme-button span {
    display: none;
  }

  .solution-content h2 {
    font-size: 30px;
  }

  .service-list,
  .media-card .service-list {
    grid-template-columns: 1fr;
  }

  .service-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
  }
}

.people-login-link {
  min-height: 54px;
}

.people-audience-switch {
  max-width: 660px;
  margin: 24px 0 0;
  padding: 12px;
  border: 1px solid rgba(69, 123, 255, 0.3);
  border-radius: 18px;
  background: rgba(3, 8, 22, 0.42);
  box-shadow: inset 0 0 34px rgba(0, 90, 255, 0.06), 0 18px 46px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.people-audience-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.people-audience-tabs button,
.people-audience-tabs a,
.people-audience-tabs span {
  min-height: 44px;
  border: 1px solid rgba(69, 123, 255, 0.26);
  border-radius: 10px;
  color: var(--people-soft);
  background: rgba(1, 8, 24, 0.38);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
}

.people-audience-tabs button.active,
.people-audience-tabs a.active,
.people-audience-tabs span.active {
  color: #fff;
  border-color: rgba(38, 196, 255, 0.64);
  background: linear-gradient(135deg, rgba(13, 140, 255, 0.88), rgba(38, 196, 255, 0.2));
  box-shadow: 0 0 26px rgba(13, 140, 255, 0.24);
}

.people-audience-seo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.people-audience-seo article {
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(69, 123, 255, 0.22);
  border-radius: 14px;
  background: rgba(1, 8, 24, 0.3);
  box-shadow: inset 0 0 24px rgba(0, 143, 255, 0.06);
}

.people-audience-seo strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.people-audience-seo p {
  margin: 8px 0 0;
  color: var(--people-soft);
  font-size: 14px;
  line-height: 1.5;
}

.people-audience-panel {
  display: none;
  padding: 18px 6px 4px;
}

.people-audience-panel.active {
  display: block;
}

.people-audience-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.people-audience-panel p {
  margin: 8px 0 14px;
  color: var(--people-soft);
  font-size: 14px;
  line-height: 1.5;
}

.people-audience-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(38, 196, 255, 0.45);
  border-radius: 999px;
  color: var(--blue-soft);
  font-weight: 800;
  background: rgba(0, 95, 255, 0.1);
}

.people-section-heading {
  max-width: 860px;
}

.people-section-heading h2,
.people-ai-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.04;
}

.people-pain,
.people-ai-data {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(69, 123, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 14%, rgba(38, 196, 255, 0.1), transparent 22rem),
    rgba(4, 10, 25, 0.5);
  box-shadow: inset 0 0 42px rgba(0, 90, 255, 0.06);
}

.people-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.people-pain-grid article,
.people-ai-data-grid article {
  border: 1px solid rgba(69, 123, 255, 0.24);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(3, 8, 22, 0.62), rgba(5, 18, 42, 0.42));
  box-shadow: inset 0 0 30px rgba(0, 90, 255, 0.05);
}

.people-pain-grid article {
  min-height: 218px;
  padding: 22px 20px;
}

.people-pain-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(38, 196, 255, 0.28);
  border-radius: 999px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.people-pain-grid h3 {
  margin: 24px 0 10px;
  font-size: 20px;
  line-height: 1.18;
}

.people-pain-grid p {
  margin: 0;
  color: var(--people-soft);
  font-size: 14px;
  line-height: 1.5;
}

.people-product-demo,
.people-employer-path,
.people-brand-map {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(69, 123, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 12%, rgba(38, 196, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 12% 96%, rgba(124, 77, 255, 0.1), transparent 24rem),
    rgba(4, 10, 25, 0.54);
  box-shadow: inset 0 0 46px rgba(0, 90, 255, 0.06), 0 18px 52px rgba(0, 0, 0, 0.14);
}

.people-section-heading > p:not(.about-kicker) {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--people-soft);
  font-size: 17px;
  line-height: 1.55;
}

.people-demo-board {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 26px;
}

.people-demo-card {
  position: relative;
  min-height: 280px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(69, 123, 255, 0.3);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(3, 8, 22, 0.72), rgba(8, 24, 58, 0.5));
  box-shadow: inset 0 0 34px rgba(0, 143, 255, 0.07);
}

.people-demo-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(38, 196, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(13, 140, 255, 0.18);
}

.people-demo-card > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(38, 196, 255, 0.28);
  border-radius: 999px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.people-demo-card h3 {
  margin: 28px 0 12px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.people-demo-card p,
.people-demo-card li {
  color: var(--people-soft);
  font-size: 15px;
  line-height: 1.52;
}

.people-demo-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.people-demo-card li {
  position: relative;
  padding-left: 26px;
}

.people-demo-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #20a7ff, #7c4dff);
  box-shadow: 0 0 16px rgba(38, 196, 255, 0.45);
}

.people-demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.people-demo-tags b {
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(69, 123, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(13, 140, 255, 0.14);
  font-size: 12px;
}

.people-demo-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid rgba(38, 196, 255, 0.48);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(32, 167, 255, 0.9), rgba(124, 77, 255, 0.82));
  box-shadow: 0 12px 30px rgba(13, 140, 255, 0.22);
}

.people-employer-path {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
}

.people-employer-path h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.04;
}

.people-employer-path ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: people-path;
}

.people-employer-path li {
  counter-increment: people-path;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(69, 123, 255, 0.24);
  border-radius: 16px;
  background: rgba(3, 8, 22, 0.44);
}

.people-employer-path li::before {
  content: counter(people-path, decimal-leading-zero);
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(38, 196, 255, 0.34);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, rgba(13, 140, 255, 0.34), rgba(124, 77, 255, 0.22));
  font-weight: 950;
}

.people-employer-path strong,
.people-employer-path span {
  grid-column: 2;
}

.people-employer-path strong {
  font-size: 20px;
}

.people-employer-path span {
  margin-top: -8px;
  color: var(--people-soft);
  line-height: 1.5;
}

.people-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.people-brand-grid article {
  min-height: 188px;
  padding: 22px;
  border: 1px solid rgba(69, 123, 255, 0.24);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(3, 8, 22, 0.62), rgba(5, 18, 42, 0.42));
}

.people-brand-grid strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.people-brand-grid p {
  margin: 14px 0 0;
  color: var(--people-soft);
  font-size: 14px;
  line-height: 1.5;
}

.people-platform {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(69, 123, 255, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 18%, rgba(13, 140, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(4, 10, 25, 0.72), rgba(6, 16, 40, 0.84));
  box-shadow: inset 0 0 48px rgba(0, 90, 255, 0.08), 0 22px 60px rgba(0, 0, 0, 0.16);
}

.platform-intro h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 0.98;
}

.platform-intro p {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--people-soft);
  font-size: 17px;
  line-height: 1.55;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform-cards article {
  min-height: 250px;
  padding: 24px 22px;
  border: 1px solid rgba(69, 123, 255, 0.28);
  border-radius: 16px;
  background: rgba(3, 8, 22, 0.54);
  box-shadow: inset 0 0 34px rgba(0, 90, 255, 0.05);
}

.platform-cards span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(69, 123, 255, 0.58);
  border-radius: 50%;
  color: var(--blue-soft);
  font-weight: 900;
  box-shadow: 0 0 20px rgba(13, 140, 255, 0.22);
}

.platform-cards h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.platform-cards p {
  margin: 0;
  color: var(--people-soft);
  font-size: 14px;
  line-height: 1.5;
}

.people-intake {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(69, 123, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 74% 8%, rgba(38, 196, 255, 0.13), transparent 22rem),
    radial-gradient(circle at 12% 96%, rgba(124, 77, 255, 0.13), transparent 24rem),
    rgba(4, 10, 25, 0.56);
  box-shadow: inset 0 0 48px rgba(0, 90, 255, 0.06), 0 22px 58px rgba(0, 0, 0, 0.14);
}

.people-intake-header {
  max-width: 840px;
}

.people-intake-header h2 {
  margin: 0;
  font-size: clamp(32px, 3.1vw, 50px);
  line-height: 1.02;
}

.people-intake-header p:not(.about-kicker) {
  margin: 18px 0 0;
  color: var(--people-soft);
  font-size: 17px;
  line-height: 1.56;
}

.people-intake-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.people-intake-form {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid rgba(69, 123, 255, 0.26);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(3, 8, 22, 0.72), rgba(5, 18, 42, 0.58));
  box-shadow: inset 0 0 34px rgba(0, 90, 255, 0.05);
}

.people-form-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.people-form-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(69, 123, 255, 0.44);
  border-radius: 14px;
  color: var(--blue-soft);
  background: rgba(0, 95, 255, 0.08);
  box-shadow: 0 0 24px rgba(13, 140, 255, 0.16);
}

.people-form-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.people-form-top h3 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.12;
}

.people-intake-form input,
.people-intake-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(69, 123, 255, 0.34);
  border-radius: 8px;
  color: var(--text);
  background: rgba(1, 8, 24, 0.48);
  font: inherit;
  padding: 0 15px;
  outline: none;
}

.people-intake-form textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

.people-intake-form input::placeholder,
.people-intake-form textarea::placeholder {
  color: rgba(225, 232, 248, 0.58);
}

.people-intake-form input:focus,
.people-intake-form textarea:focus {
  border-color: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(38, 196, 255, 0.12);
}

.people-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: rgba(225, 232, 248, 0.66);
  font-size: 13px;
  line-height: 1.36;
}

.people-consent input {
  width: 17px;
  min-height: 17px;
  margin-top: 1px;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.people-consent a {
  display: inline;
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: -6px 0 4px;
  font-size: 0.82rem;
}

.account-legal-links a {
  color: var(--blue-soft);
  text-decoration: none;
}

.people-form-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.people-form-status {
  margin: 0;
  color: rgba(225, 232, 248, 0.58);
  font-size: 12px;
  line-height: 1.38;
}

.people-form-status:not(:empty),
.resume-status:not(:empty) {
  border-radius: 14px;
}

.people-form-status[data-tone="success"],
.resume-status[data-tone="success"] {
  color: #7dffbd;
  background: rgba(20, 184, 116, 0.1);
  border: 1px solid rgba(20, 184, 116, 0.24);
  padding: 10px 12px;
}

.people-form-status[data-tone="error"],
.resume-status[data-tone="error"] {
  color: #ffb3b3;
  background: rgba(255, 96, 96, 0.1);
  border: 1px solid rgba(255, 96, 96, 0.24);
  padding: 10px 12px;
}

.people-form-status[data-tone="pending"],
.resume-status[data-tone="pending"] {
  color: var(--blue-soft);
  background: rgba(38, 196, 255, 0.08);
  border: 1px solid rgba(38, 196, 255, 0.18);
  padding: 10px 12px;
}

.people-ai-data {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: start;
}

.people-ai-copy p:not(.about-kicker) {
  margin: 18px 0 0;
  color: var(--people-soft);
  font-size: 17px;
  line-height: 1.56;
}

.people-ai-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.people-ai-data-grid article {
  min-height: 148px;
  padding: 20px 18px;
}

.people-ai-data-grid strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.people-ai-data-grid span {
  display: block;
  margin-top: 10px;
  color: var(--people-soft);
  font-size: 14px;
  line-height: 1.48;
}

body.light .people-platform {
  border-color: rgba(36, 91, 180, 0.2);
  background:
    radial-gradient(circle at 16% 18%, rgba(13, 140, 255, 0.12), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 255, 0.94));
  box-shadow: 0 20px 54px rgba(31, 74, 130, 0.1);
}

body.light .platform-cards article {
  border-color: rgba(36, 91, 180, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

body.light .people-intake {
  border-color: rgba(36, 91, 180, 0.18);
  background:
    radial-gradient(circle at 74% 8%, rgba(13, 140, 255, 0.11), transparent 22rem),
    radial-gradient(circle at 12% 96%, rgba(124, 77, 255, 0.09), transparent 24rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 54px rgba(31, 74, 130, 0.1);
}

body.light .people-intake-form {
  border-color: rgba(36, 91, 180, 0.16);
  background: rgba(255, 255, 255, 0.74);
}

body.light .people-intake-form input,
body.light .people-intake-form textarea {
  color: #071222;
  border-color: rgba(36, 91, 180, 0.22);
  background: rgba(255, 255, 255, 0.86);
}

body.light .people-intake-form input::placeholder,
body.light .people-intake-form textarea::placeholder,
body.light .people-consent,
body.light .people-form-status {
  color: rgba(7, 18, 34, 0.58);
}

body.light .people-form-status[data-tone="success"],
body.light .resume-status[data-tone="success"] {
  color: #066334;
  background: rgba(20, 184, 116, 0.12);
  border-color: rgba(20, 184, 116, 0.24);
}

body.light .people-form-status[data-tone="error"],
body.light .resume-status[data-tone="error"] {
  color: #9f1d1d;
  background: rgba(255, 96, 96, 0.12);
  border-color: rgba(255, 96, 96, 0.24);
}

body.light .people-form-status[data-tone="pending"],
body.light .resume-status[data-tone="pending"] {
  color: #0b6fb8;
  background: rgba(0, 153, 255, 0.1);
  border-color: rgba(0, 153, 255, 0.2);
}

.account-page {
  background:
    radial-gradient(circle at 74% 18%, rgba(155, 88, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 16% 22%, rgba(13, 140, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #02040b 0%, #020611 54%, #01030a 100%);
}

.account-shell {
  width: min(100%, 1680px);
}

.account-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: end;
  min-height: min(560px, calc(100vh - 132px));
  margin-top: 18px;
  padding: clamp(34px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(38, 196, 255, 0.2);
  border-radius: 32px;
  background: #020611;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 28px 82px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.account-page main {
  display: grid;
  gap: 18px;
}

.account-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 5, 14, 0.96) 0%, rgba(1, 5, 14, 0.82) 34%, rgba(1, 5, 14, 0.24) 63%, rgba(1, 5, 14, 0.62) 100%),
    linear-gradient(180deg, rgba(1, 5, 14, 0.06) 0%, rgba(1, 5, 14, 0.54) 100%);
  content: "";
}

.account-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 47% 50%, rgba(255, 210, 122, 0.22), transparent 12rem),
    radial-gradient(circle at 76% 34%, rgba(38, 196, 255, 0.18), transparent 23rem),
    repeating-linear-gradient(90deg, rgba(99, 164, 255, 0.08) 0 1px, transparent 1px 96px);
  content: "";
  opacity: 0.82;
}

.account-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.account-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.account-hero-copy > p:not(.about-kicker) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.56;
}

.account-hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 860px);
  margin-top: clamp(22px, 2.4vw, 34px);
}

.account-hero-proof span {
  display: grid;
  min-height: 56px;
  place-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(38, 196, 255, 0.26);
  border-radius: 18px;
  color: rgba(246, 248, 255, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(3, 10, 27, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 46px rgba(0, 0, 0, 0.24);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

.account-hero .about-kicker,
.account-hero-copy h1,
.account-hero-copy > p:not(.about-kicker) {
  color: #f6f8ff;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.account-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 740px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(38, 196, 255, 0.24);
  border-radius: 18px;
  color: rgba(246, 248, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(38, 196, 255, 0.1), rgba(155, 88, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 28px rgba(38, 196, 255, 0.06);
}

.account-status svg {
  width: 30px;
  height: 30px;
  color: var(--blue-soft);
}

.account-install-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(38, 196, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 12%, rgba(38, 196, 255, 0.15), transparent 7rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.account-install-card img {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  box-shadow: 0 0 26px rgba(38, 196, 255, 0.24);
}

.account-install-card strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  line-height: 1.26;
}

.account-install-card p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.account-install-card small {
  display: block;
  margin-top: 10px;
  color: rgba(246, 248, 255, 0.52);
  font-size: 12px;
  line-height: 1.35;
}

.pwa-install-button-primary {
  min-height: 42px;
  padding-inline: 18px;
  border-color: rgba(0, 153, 255, 0.64);
  background:
    linear-gradient(135deg, rgba(0, 153, 255, 0.86), rgba(83, 72, 229, 0.84)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 28px rgba(0, 153, 255, 0.28);
}

.account-panel,
.account-auth,
.account-next {
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(3, 10, 27, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 24px 74px rgba(0, 0, 0, 0.22);
}

.account-panel {
  align-self: center;
  width: min(1120px, 100%);
  padding: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(circle at 18% 12%, rgba(38, 196, 255, 0.14), transparent 10rem),
    linear-gradient(145deg, rgba(9, 22, 52, 0.74), rgba(3, 10, 27, 0.58)),
    rgba(3, 10, 27, 0.52);
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
}

.account-panel h2 {
  max-width: 760px;
}

.account-panel-label {
  margin: 0 0 10px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.account-panel h2,
.account-auth h2,
.account-next h2 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.08;
}

.account-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.account-role-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 12%, rgba(38, 196, 255, 0.1), transparent 9rem),
    rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.account-role-card:nth-child(2) {
  border-color: rgba(155, 88, 255, 0.2);
  background:
    radial-gradient(circle at 90% 12%, rgba(155, 88, 255, 0.12), transparent 9rem),
    rgba(255, 255, 255, 0.045);
}

.account-role-card:hover,
.account-role-card:focus-visible {
  border-color: rgba(38, 196, 255, 0.58);
  box-shadow: 0 0 30px rgba(38, 196, 255, 0.18), inset 0 0 24px rgba(38, 196, 255, 0.06);
  outline: none;
  transform: translateY(-2px);
}

.account-role-card:nth-child(2):hover,
.account-role-card:nth-child(2):focus-visible {
  border-color: rgba(155, 88, 255, 0.62);
  box-shadow: 0 0 30px rgba(155, 88, 255, 0.18), inset 0 0 24px rgba(155, 88, 255, 0.06);
}

.account-role-card svg {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  color: var(--blue-soft);
  background: rgba(38, 196, 255, 0.1);
}

.account-role-card:nth-child(2) svg {
  color: var(--purple-soft);
  background: rgba(155, 88, 255, 0.12);
}

.account-role-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
}

.account-role-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.52;
}

.account-hero-email-note {
  margin: 18px 0 0;
  max-width: 880px;
  color: rgba(246, 248, 255, 0.74);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.account-auth {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
  padding: clamp(24px, 3vw, 38px);
}

.account-auth-quick {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
  margin-top: 18px;
  padding: clamp(18px, 2.4vw, 30px);
}

.account-auth-copy p:not(.about-kicker),
.account-next p:not(.about-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.account-auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.account-auth-flow {
  align-items: start;
}

.account-auth-step {
  grid-column: 1 / -1;
}

.account-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.account-method-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 18px;
  padding: 12px 14px;
  color: rgba(246, 248, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.account-method-button.is-active,
.account-method-button:hover,
.account-method-button:focus-visible {
  border-color: rgba(38, 196, 255, 0.58);
  box-shadow: 0 0 28px rgba(38, 196, 255, 0.16), inset 0 0 24px rgba(38, 196, 255, 0.07);
  outline: none;
  transform: translateY(-1px);
}

.account-method-button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
}

.account-method-button[aria-disabled="true"]:hover {
  transform: none;
}

.account-method-button svg,
.account-method-button .account-auth-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-soft);
  background: rgba(38, 196, 255, 0.1);
  font-weight: 900;
}

.account-method-button svg {
  padding: 6px;
}

.account-method-button small {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--blue-soft);
  background: rgba(38, 196, 255, 0.1);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-email-choice {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(38, 196, 255, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(38, 196, 255, 0.12), transparent 10rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 48px rgba(0, 0, 0, 0.18);
}

.account-auth-quick .account-email-choice {
  padding: clamp(20px, 3vw, 30px);
  text-align: center;
}

.account-auth-quick .account-email-choice h2 {
  max-width: 620px;
  margin: 0 auto;
}

.account-email-choice strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.22;
}

.account-email-choice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.account-email-choice-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 480px);
  margin-inline: auto;
}

.account-email-choice-actions .about-primary,
.account-email-choice-actions .about-secondary {
  width: 100%;
  justify-content: center;
}

.account-email-choice-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-size: 13px;
}

.account-auth-quick .account-email-choice-note {
  justify-content: center;
}

.account-inline-status {
  width: min(100%, 520px);
  margin-inline: auto !important;
  color: rgba(190, 214, 242, 0.82) !important;
  font-size: 13px !important;
  font-weight: 800;
}

.account-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-trust-strip span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid rgba(38, 196, 255, 0.2);
  border-radius: 999px;
  padding: 10px 12px;
  color: rgba(246, 248, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  line-height: 1.18;
}

.account-auth-step[hidden],
.account-role-fields[hidden],
[hidden] {
  display: none !important;
}

html.account-reset-mode .account-hero,
html.account-reset-mode .account-auth-copy,
html.account-reset-mode [data-account-login],
html.account-reset-mode [data-account-register],
html.account-reset-mode [data-account-methods],
html.account-reset-mode [data-account-email-choice],
html.account-reset-mode [data-account-email-verify],
html.account-reset-mode .account-auth-grid > .account-auth-button:not([data-account-password-reset]) {
  display: none !important;
}

html.account-reset-mode .account-auth {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
  margin-top: clamp(24px, 8vh, 72px);
}

html.account-reset-mode .account-auth-grid {
  grid-template-columns: 1fr;
}

html.account-reset-mode [data-account-password-reset],
.account-auth-step:target {
  display: grid !important;
  grid-column: 1 / -1;
}

.account-auth-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(246, 248, 255, 0.12);
  border-radius: 16px;
  color: rgba(246, 248, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  cursor: default;
  font: inherit;
  text-align: left;
}

.account-auth-button svg,
.account-auth-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-soft);
  background: rgba(38, 196, 255, 0.1);
  font-weight: 900;
}

.account-auth-button svg {
  padding: 7px;
}

.account-auth-button small {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--blue-soft);
  background: rgba(38, 196, 255, 0.1);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-auth-form {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
}

.account-profile-form {
  min-height: 720px;
  align-content: start;
}

.account-auth-form strong {
  color: var(--text);
  font-size: 18px;
}

.account-auth-form p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.account-auth-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.account-auth-form label small {
  color: rgba(154, 180, 211, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.account-form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.account-form-status[data-state="error"] {
  color: #ffdce4;
}

.account-auth-form label.account-field-invalid > span {
  color: #ffb7c5;
}

.account-auth-form label.account-field-invalid input,
.account-auth-form label.account-field-invalid select {
  border-color: rgba(255, 91, 123, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 91, 123, 0.16);
}

body.light .account-form-status[data-state="error"],
body.light .account-auth-form label.account-field-invalid > span {
  color: #9f1239;
}

.account-password-request-status {
  min-height: 0;
  padding: 10px 12px;
  border: 1px solid rgba(143, 202, 255, 0.2);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.account-password-request-status:empty {
  display: none;
}

.account-password-request-status[data-state="success"] {
  border-color: rgba(52, 211, 153, 0.42);
  color: #d8fff0;
  background: rgba(16, 185, 129, 0.12);
}

.account-password-request-status[data-state="error"] {
  border-color: rgba(251, 113, 133, 0.42);
  color: #ffe4ea;
  background: rgba(244, 63, 94, 0.12);
}

.account-auth-form input,
.account-auth-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(143, 202, 255, 0.24);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.account-auth-form [data-account-role-select] {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 48px;
  border-radius: 12px;
  padding: 10px 46px 10px 12px;
  color: #f6fbff;
  background:
    url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23F4FAFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  appearance: none;
  -webkit-appearance: none;
}

.account-auth-form [data-account-role-select]:focus {
  border-color: rgba(43, 176, 255, 0.85);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 2px rgba(43, 176, 255, 0.22);
}

.account-auth-form [data-account-role-select] option {
  color: #06172f;
  background: #f5f9ff;
  font-weight: 700;
}

.account-auth-form [data-account-role-select]:invalid {
  color: rgba(190, 214, 242, 0.58);
}

body.light .account-auth-form [data-account-role-select] {
  color: #06172f;
  background:
    url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%2306172F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(225, 242, 255, 0.82));
  border-color: rgba(59, 147, 221, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.light .account-auth-form [data-account-role-select]:invalid {
  color: rgba(8, 20, 40, 0.48);
}

.account-auth-form .about-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.account-role-fields {
  display: grid;
  gap: 12px;
}

.password-reset-page {
  min-height: 100vh;
}

.password-reset-shell {
  display: grid;
  width: min(720px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  align-content: center;
  gap: 22px;
  padding: 48px 0;
}

.password-reset-brand {
  justify-self: center;
}

.password-reset-card {
  width: 100%;
  cursor: default;
}

.password-reset-card .account-link-button {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.account-reset-overlay {
  display: none;
}

html.account-reset-mode .account-reset-overlay:not([hidden]) {
  display: grid;
}

html.account-reset-mode .account-shell {
  display: none !important;
}

html:has(#password-reset:target) .account-shell {
  display: none !important;
}

html:has(#password-reset:target) #password-reset {
  display: grid !important;
}

.account-link-button {
  border: 0;
  padding: 4px 0;
  color: var(--blue-soft);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 8, 20, 0.62);
  backdrop-filter: blur(16px);
}

.account-modal-card {
  position: relative;
  width: min(460px, 100%);
  padding: 24px;
  border: 1px solid rgba(35, 184, 255, 0.34);
  border-radius: 20px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(12, 28, 58, 0.94), rgba(7, 13, 30, 0.94)),
    rgba(8, 18, 40, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 42px rgba(0, 153, 255, 0.18);
}

.account-password-card {
  width: min(520px, 100%);
}

.account-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(38, 196, 255, 0.26);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.account-modal-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.account-modal-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

[data-add-resume-link].is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

.resume-delete-button {
  border-color: rgba(255, 92, 122, 0.45);
  color: #ff8da3;
}

.account-next {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(24px, 3vw, 36px);
}

.account-faq {
  margin-top: 22px;
}

.account-prototype-note {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(35, 184, 255, 0.28);
  border-radius: 18px;
  color: rgba(235, 246, 255, 0.78);
  background: rgba(11, 26, 52, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.account-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-ai-grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 14%, rgba(38, 196, 255, 0.12), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.account-ai-grid article:nth-child(even) {
  border-color: rgba(155, 88, 255, 0.2);
  background:
    radial-gradient(circle at 12% 14%, rgba(155, 88, 255, 0.12), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.account-ai-grid strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}

.account-ai-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

body.light.account-page {
  background:
    radial-gradient(circle at 74% 18%, rgba(155, 88, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 16% 22%, rgba(13, 140, 255, 0.13), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

body.light .account-status,
body.light .account-panel,
body.light .account-auth,
body.light .account-next,
body.light .account-faq,
body.light .account-faq details {
  border-color: rgba(36, 91, 180, 0.14);
  color: #071222;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 20px 54px rgba(31, 74, 130, 0.1);
}

body.light .account-hero {
  border-color: rgba(36, 91, 180, 0.18);
  background: #071222;
  box-shadow: 0 24px 64px rgba(31, 74, 130, 0.16);
}

body.light .account-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 31%, rgba(255, 255, 255, 0.2) 62%, rgba(255, 255, 255, 0.64) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.48) 100%);
}

body.light .account-hero .about-kicker,
body.light .account-hero-copy h1,
body.light .account-hero-copy > p:not(.about-kicker) {
  color: #071222;
  text-shadow: 0 14px 30px rgba(255, 255, 255, 0.48);
}

body.light .account-hero-proof span {
  color: #061223;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(228, 244, 255, 0.5)),
    rgba(255, 255, 255, 0.62);
  border-color: rgba(0, 153, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 18px 42px rgba(0, 153, 255, 0.12);
  text-shadow: none;
}

body.light .account-hero .account-panel {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 153, 255, 0.14), transparent 10rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

body.light .account-status,
body.light .account-role-card span,
body.light .account-auth-copy p:not(.about-kicker),
body.light .account-next p:not(.about-kicker) {
  color: rgba(7, 18, 34, 0.7);
}

body.light .account-prototype-note {
  color: rgba(7, 18, 34, 0.72);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(20, 143, 255, 0.22);
}

body.light .account-ai-grid article {
  border-color: rgba(36, 91, 180, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

body.light .account-ai-grid strong {
  color: #071222;
}

body.light .account-ai-grid p {
  color: rgba(7, 18, 34, 0.68);
}

body.light .account-role-card,
body.light .account-auth-button,
body.light .account-method-button,
body.light .account-email-choice,
body.light .account-trust-strip span {
  border-color: rgba(36, 91, 180, 0.12);
  color: #071222;
  background: rgba(255, 255, 255, 0.64);
}

body.light .account-hero-email-note,
body.light .account-email-choice p {
  color: rgba(7, 18, 34, 0.68);
}

body.light .account-email-choice strong {
  color: #071222;
}

body.light .account-modal-card {
  color: #071222;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.94)),
    rgba(255, 255, 255, 0.96);
}

body.light .account-modal-close {
  color: #071222;
  background: rgba(255, 255, 255, 0.76);
}

body.light .account-install-card {
  border-color: rgba(36, 91, 180, 0.14);
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 153, 255, 0.14), transparent 7rem),
    rgba(255, 255, 255, 0.72);
}

body.light .account-install-card strong {
  color: #071222;
}

body.light .account-install-card p,
body.light .account-install-card small {
  color: rgba(7, 18, 34, 0.66);
}

body.light .pwa-install-button {
  color: #071222;
  background:
    linear-gradient(135deg, rgba(240, 248, 255, 0.92), rgba(245, 240, 255, 0.86)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(31, 74, 130, 0.12);
}

body.light .pwa-install-button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.88), rgba(83, 72, 229, 0.82));
}

.resume-hero,
.resume-register,
.resume-section,
.resume-actions {
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(3, 10, 27, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 68px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
}

.resume-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  margin-top: clamp(34px, 5vw, 72px);
  padding: clamp(28px, 4vw, 54px);
}

.resume-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.96;
}

.resume-hero p:not(.about-kicker),
.resume-register p,
.resume-section-heading p,
.resume-status {
  color: var(--muted);
  line-height: 1.58;
}

.resume-hero p:not(.about-kicker) {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: clamp(17px, 1.2vw, 20px);
}

.resume-hero-note {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(155, 88, 255, 0.2);
  border-radius: 18px;
  color: rgba(246, 248, 255, 0.82);
  background:
    radial-gradient(circle at 16% 8%, rgba(155, 88, 255, 0.16), transparent 10rem),
    rgba(255, 255, 255, 0.04);
}

.resume-hero-note svg {
  width: 42px;
  height: 42px;
  color: var(--purple-soft);
}

.resume-register,
.resume-section,
.resume-actions {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.resume-register {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 22px;
}

.resume-register h2,
.resume-section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.08;
}

.resume-register p,
.resume-section-heading p {
  margin: 12px 0 0;
}

.resume-register-grid,
.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.resume-register label,
.resume-grid label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.resume-register input,
.resume-grid input,
.resume-ai-field textarea {
  width: 100%;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.resume-register input,
.resume-grid input {
  min-height: 48px;
  padding: 0 14px;
}

.resume-ai-field textarea {
  min-height: 142px;
  padding: 15px;
  resize: vertical;
}

.resume-register input:focus,
.resume-grid input:focus,
.resume-ai-field textarea:focus {
  border-color: rgba(38, 196, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(38, 196, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.resume-social-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resume-social-row button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(246, 248, 255, 0.12);
  border-radius: 14px;
  color: rgba(246, 248, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  cursor: default;
  font: inherit;
}

.resume-social-row button > span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--blue-soft);
  background: rgba(38, 196, 255, 0.1);
  font-weight: 900;
}

.resume-social-row small {
  color: var(--blue-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.resume-builder {
  margin-top: 18px;
}

.resume-section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.resume-section-heading > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 140, 255, 0.82), rgba(155, 88, 255, 0.72));
  box-shadow: 0 0 22px rgba(38, 196, 255, 0.2);
  font-weight: 900;
}

.resume-ai-field {
  position: relative;
  display: grid;
  gap: 12px;
}

.resume-ai-button {
  justify-self: start;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(38, 196, 255, 0.34);
  border-radius: 999px;
  color: var(--blue-soft);
  background: rgba(38, 196, 255, 0.08);
  box-shadow: 0 0 20px rgba(38, 196, 255, 0.1);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resume-ai-button:hover,
.resume-ai-button:focus-visible {
  border-color: rgba(38, 196, 255, 0.7);
  box-shadow: 0 0 28px rgba(38, 196, 255, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.resume-actions {
  display: grid;
  gap: 18px;
}

.resume-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resume-status {
  margin: 0;
  font-size: 14px;
}

body.light .resume-hero,
body.light .resume-register,
body.light .resume-section,
body.light .resume-actions {
  border-color: rgba(36, 91, 180, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 20px 54px rgba(31, 74, 130, 0.1);
}

body.light .resume-hero-note {
  color: rgba(7, 18, 34, 0.7);
  border-color: rgba(36, 91, 180, 0.14);
  background: rgba(255, 255, 255, 0.64);
}

body.light .resume-register input,
body.light .resume-grid input,
body.light .resume-ai-field textarea {
  color: #071222;
  border-color: rgba(36, 91, 180, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

body.light .resume-social-row button {
  color: #071222;
  border-color: rgba(36, 91, 180, 0.12);
  background: rgba(255, 255, 255, 0.64);
}

.jobseeker-dashboard-page {
  background:
    radial-gradient(circle at 78% 12%, rgba(33, 150, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 18% 24%, rgba(111, 79, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 44%, #f8fbff 100%);
  color: #071222;
}

.candidate-dashboard {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(230px, 280px);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

@media (min-width: 1180px) {
  .jobseeker-dashboard-page .candidate-dashboard {
    grid-template-columns: minmax(280px, 340px) minmax(560px, 1fr) minmax(260px, 320px);
    gap: 24px;
  }

  .jobseeker-dashboard-page .candidate-sidebar,
  .jobseeker-dashboard-page .candidate-main-panel,
  .jobseeker-dashboard-page .candidate-stats-panel {
    min-width: 0;
  }

  .jobseeker-dashboard-page .candidate-main-panel {
    overflow: hidden;
  }
}

.candidate-mobile-toolbar {
  display: none;
}

.candidate-sidebar,
.candidate-main-panel,
.candidate-stats-panel {
  display: grid;
  gap: 18px;
}

.candidate-profile-card,
.candidate-resumes-card,
.candidate-main-panel,
.candidate-stats-panel article {
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.86)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(18, 57, 106, 0.1);
}

.candidate-profile-card,
.candidate-resumes-card,
.candidate-stats-panel article {
  padding: 20px;
}

.candidate-profile-card {
  position: sticky;
  top: 18px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 34, 68, 0.96), rgba(12, 28, 58, 0.88)),
    radial-gradient(circle at 82% 16%, rgba(43, 190, 255, 0.28), transparent 16rem);
}

.candidate-avatar {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(52, 198, 255, 0.5);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.45), transparent 34%),
    linear-gradient(135deg, #1498ff, #664dff);
  box-shadow: 0 16px 38px rgba(13, 126, 255, 0.34);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  overflow: hidden;
  appearance: none;
}

.candidate-avatar img,
.candidate-photo-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.candidate-avatar img[hidden],
.candidate-photo-preview img[hidden] {
  display: none;
}

.candidate-avatar span {
  z-index: 1;
}

.candidate-avatar small {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 18, 34, 0.64);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.candidate-avatar.has-photo span {
  display: none;
}

.candidate-label {
  margin: 0 0 8px;
  color: #168bff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.candidate-profile-card .candidate-label,
.candidate-profile-card h1,
.candidate-profile-card p,
.candidate-profile-card dt,
.candidate-profile-card dd {
  color: #fff;
}

.candidate-profile-card h1,
.candidate-main-panel h2,
.candidate-resumes-card h2,
.candidate-stats-panel h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0;
}

.candidate-profile-card p {
  margin: 10px 0 0;
  color: rgba(235, 246, 255, 0.78);
  line-height: 1.55;
}

.candidate-contact-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.candidate-contact-list div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.candidate-contact-list dt {
  color: rgba(235, 246, 255, 0.55);
  font-size: 12px;
  font-weight: 800;
}

.candidate-contact-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.candidate-edit-link,
.candidate-resume-item a,
.candidate-resume-item button,
.candidate-vacancy-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(35, 184, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 12px 28px rgba(13, 126, 255, 0.22);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.candidate-edit-link {
  width: 100%;
}

.candidate-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 18, 34, 0.44);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.candidate-profile-modal[hidden] {
  display: none;
}

.candidate-profile-editor {
  width: min(720px, 100%);
  max-height: min(86vh, 780px);
  overflow: auto;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(29, 104, 188, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(239, 247, 255, 0.93)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(7, 18, 34, 0.28);
}

.account-page .candidate-profile-editor,
.account-page.light .candidate-profile-editor,
.koosjobs-page .candidate-profile-editor,
.koosjobs-page.light .candidate-profile-editor {
  color: #071222 !important;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(236, 246, 255, 0.96)),
    rgba(255, 255, 255, 0.96) !important;
  text-shadow: none !important;
}

.account-page .candidate-profile-editor .candidate-label,
.account-page.light .candidate-profile-editor .candidate-label,
.koosjobs-page .candidate-profile-editor .candidate-label,
.koosjobs-page.light .candidate-profile-editor .candidate-label {
  color: #0477b8 !important;
  text-shadow: none !important;
}

.account-page .candidate-profile-editor-head h2,
.account-page .candidate-photo-editor strong,
.account-page .candidate-newsletter-settings h3,
.account-page.light .candidate-profile-editor-head h2,
.account-page.light .candidate-photo-editor strong,
.account-page.light .candidate-newsletter-settings h3,
.koosjobs-page .candidate-profile-editor-head h2,
.koosjobs-page .candidate-photo-editor strong,
.koosjobs-page .candidate-newsletter-settings h3,
.koosjobs-page.light .candidate-profile-editor-head h2,
.koosjobs-page.light .candidate-photo-editor strong,
.koosjobs-page.light .candidate-newsletter-settings h3 {
  color: #071222 !important;
  text-shadow: none !important;
}

.account-page .candidate-profile-editor-head span,
.account-page .candidate-photo-editor p,
.account-page .candidate-newsletter-settings > div > span,
.account-page .candidate-profile-grid label,
.account-page .candidate-newsletter-settings label,
.account-page.light .candidate-profile-editor-head span,
.account-page.light .candidate-photo-editor p,
.account-page.light .candidate-newsletter-settings > div > span,
.account-page.light .candidate-profile-grid label,
.account-page.light .candidate-newsletter-settings label,
.koosjobs-page .candidate-profile-editor-head span,
.koosjobs-page .candidate-photo-editor p,
.koosjobs-page .candidate-newsletter-settings > div > span,
.koosjobs-page .candidate-profile-grid label,
.koosjobs-page .candidate-newsletter-settings label,
.koosjobs-page.light .candidate-profile-editor-head span,
.koosjobs-page.light .candidate-photo-editor p,
.koosjobs-page.light .candidate-newsletter-settings > div > span,
.koosjobs-page.light .candidate-profile-grid label,
.koosjobs-page.light .candidate-newsletter-settings label {
  color: rgba(7, 18, 34, 0.74) !important;
  text-shadow: none !important;
}

.account-page .candidate-profile-editor input,
.account-page .candidate-profile-editor select,
.account-page.light .candidate-profile-editor input,
.account-page.light .candidate-profile-editor select {
  color: #071222 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  text-shadow: none !important;
}

.account-page .candidate-photo-editor,
.account-page .candidate-newsletter-settings,
.account-page.light .candidate-photo-editor,
.account-page.light .candidate-newsletter-settings {
  background: rgba(232, 243, 255, 0.72) !important;
}

.account-page:not(.light) .candidate-profile-editor,
.koosjobs-page:not(.light) .candidate-profile-editor {
  color: #f8fbff !important;
  border-color: rgba(74, 190, 255, 0.36) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(35, 184, 255, 0.2), transparent 34%),
    linear-gradient(150deg, rgba(5, 19, 36, 0.98), rgba(10, 37, 66, 0.96)),
    rgba(5, 19, 36, 0.98) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  text-shadow: none !important;
}

.account-page:not(.light) .candidate-profile-editor .candidate-label,
.koosjobs-page:not(.light) .candidate-profile-editor .candidate-label {
  color: #61dcff !important;
}

.account-page:not(.light) .candidate-profile-editor-head h2,
.account-page:not(.light) .candidate-photo-editor strong,
.account-page:not(.light) .candidate-newsletter-settings h3,
.koosjobs-page:not(.light) .candidate-profile-editor-head h2,
.koosjobs-page:not(.light) .candidate-photo-editor strong,
.koosjobs-page:not(.light) .candidate-newsletter-settings h3 {
  color: #ffffff !important;
}

.account-page:not(.light) .candidate-profile-editor-head span,
.account-page:not(.light) .candidate-photo-editor p,
.account-page:not(.light) .candidate-newsletter-settings > div > span,
.account-page:not(.light) .candidate-profile-grid label,
.account-page:not(.light) .candidate-newsletter-settings label,
.koosjobs-page:not(.light) .candidate-profile-editor-head span,
.koosjobs-page:not(.light) .candidate-photo-editor p,
.koosjobs-page:not(.light) .candidate-newsletter-settings > div > span,
.koosjobs-page:not(.light) .candidate-profile-grid label,
.koosjobs-page:not(.light) .candidate-newsletter-settings label {
  color: rgba(224, 241, 255, 0.86) !important;
}

.account-page:not(.light) .candidate-profile-editor input,
.account-page:not(.light) .candidate-profile-editor select,
.account-page:not(.light) .candidate-newsletter-settings input,
.account-page:not(.light) .candidate-newsletter-settings select,
.koosjobs-page:not(.light) .candidate-profile-editor input,
.koosjobs-page:not(.light) .candidate-profile-editor select,
.koosjobs-page:not(.light) .candidate-newsletter-settings input,
.koosjobs-page:not(.light) .candidate-newsletter-settings select {
  color: #ffffff !important;
  border-color: rgba(74, 190, 255, 0.34) !important;
  background: rgba(3, 18, 34, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.account-page:not(.light) .candidate-profile-editor input::placeholder,
.koosjobs-page:not(.light) .candidate-profile-editor input::placeholder {
  color: rgba(224, 241, 255, 0.52) !important;
}

.account-page:not(.light) .candidate-profile-editor input[readonly],
.koosjobs-page:not(.light) .candidate-profile-editor input[readonly] {
  color: rgba(224, 241, 255, 0.72) !important;
  background: rgba(5, 25, 46, 0.84) !important;
}

.account-page:not(.light) .candidate-photo-editor,
.account-page:not(.light) .candidate-newsletter-settings,
.koosjobs-page:not(.light) .candidate-photo-editor,
.koosjobs-page:not(.light) .candidate-newsletter-settings {
  border-color: rgba(74, 190, 255, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(12, 48, 82, 0.78), rgba(5, 26, 48, 0.72)),
    rgba(5, 26, 48, 0.78) !important;
}

.account-page:not(.light) .candidate-profile-editor-head > button,
.koosjobs-page:not(.light) .candidate-profile-editor-head > button {
  color: #ffffff !important;
  border-color: rgba(74, 190, 255, 0.32) !important;
  background: rgba(2, 13, 26, 0.72) !important;
}

.account-page:not(.light) .candidate-photo-actions label,
.account-page:not(.light) .candidate-photo-actions button,
.koosjobs-page:not(.light) .candidate-photo-actions label,
.koosjobs-page:not(.light) .candidate-photo-actions button {
  color: #ffffff !important;
  background: rgba(8, 38, 68, 0.9) !important;
}

.account-page:not(.light) .candidate-photo-actions button,
.koosjobs-page:not(.light) .candidate-photo-actions button {
  color: #ffb7c8 !important;
  background: rgba(89, 20, 42, 0.7) !important;
}

.candidate-profile-editor-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.candidate-profile-editor-head h2 {
  margin: 0;
  color: #071222;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 0;
}

.candidate-profile-editor-head span {
  display: block;
  margin-top: 8px;
  color: rgba(7, 18, 34, 0.64);
  line-height: 1.45;
}

.candidate-profile-editor-head > button {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(29, 104, 188, 0.16);
  border-radius: 50%;
  color: #071222;
  background: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.candidate-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.candidate-photo-editor {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 20px;
  background: rgba(232, 243, 255, 0.62);
}

.candidate-photo-preview {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(35, 184, 255, 0.42);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.45), transparent 34%),
    linear-gradient(135deg, #1498ff, #664dff);
  box-shadow: 0 16px 38px rgba(13, 126, 255, 0.2);
  font-size: 26px;
  font-weight: 900;
}

.candidate-photo-preview.has-photo span {
  display: none;
}

.candidate-photo-editor strong {
  display: block;
  color: #071222;
  font-size: 18px;
}

.candidate-photo-editor p {
  margin: 6px 0 12px;
  color: rgba(7, 18, 34, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.candidate-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.candidate-photo-actions label,
.candidate-photo-actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(20, 143, 255, 0.3);
  border-radius: 999px;
  color: #071222;
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.candidate-photo-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.candidate-photo-actions button {
  color: #c63558;
  background: rgba(255, 242, 246, 0.86);
}

.candidate-profile-grid label {
  display: grid;
  gap: 8px;
  color: rgba(7, 18, 34, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.candidate-profile-grid input,
.candidate-profile-grid select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(29, 104, 188, 0.16);
  border-radius: 14px;
  color: #071222;
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.candidate-profile-grid input:focus,
.candidate-profile-grid select:focus {
  border-color: rgba(20, 143, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(20, 143, 255, 0.1);
}

.candidate-profile-grid input[readonly] {
  color: rgba(7, 18, 34, 0.62);
  background: rgba(230, 241, 255, 0.74);
}

.candidate-newsletter-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(29, 156, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(241, 248, 255, 0.96), rgba(255, 255, 255, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 18px 42px rgba(23, 96, 188, 0.08);
}

.candidate-newsletter-settings > div,
.candidate-newsletter-wide {
  grid-column: 1 / -1;
}

.candidate-newsletter-settings h3 {
  margin: 4px 0 6px;
  color: #071222;
  font-size: 1.05rem;
}

.candidate-newsletter-settings span {
  color: rgba(7, 18, 34, 0.64);
}

.candidate-newsletter-settings label {
  display: grid;
  gap: 8px;
  color: rgba(7, 18, 34, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.candidate-newsletter-settings input,
.candidate-newsletter-settings select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(29, 104, 188, 0.16);
  border-radius: 14px;
  color: #071222;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.candidate-profile-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

.employer-profile-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: rgba(7, 18, 34, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.employer-profile-status[data-status="success"] {
  color: #087a48;
}

.employer-profile-status[data-status="error"] {
  color: #c63558;
}

.employer-profile-status[data-status="pending"] {
  color: #146dca;
}

.candidate-section-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.candidate-section-head a {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #071222;
  box-shadow: 0 12px 26px rgba(7, 18, 34, 0.16);
  font-size: 28px;
  font-weight: 400;
  text-decoration: none;
}

.candidate-resume-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.candidate-resume-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(25, 118, 210, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.candidate-resume-copy,
.candidate-region-fit,
.candidate-visibility-toggle,
.candidate-delete-resume,
.candidate-edit-resume {
  position: relative;
  z-index: 2;
}

.candidate-resume-item.is-active {
  border-color: rgba(20, 143, 255, 0.38);
  background: linear-gradient(145deg, rgba(231, 244, 255, 0.96), rgba(255, 255, 255, 0.86));
}

.candidate-resume-item.is-selected {
  border-color: rgba(20, 143, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(20, 143, 255, 0.12), 0 18px 40px rgba(18, 105, 190, 0.16);
  transform: translateY(-1px);
}

.candidate-resume-item.is-selected::after {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 8px 18px rgba(13, 126, 255, 0.22);
  content: "Подбор";
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.candidate-resume-item strong,
.candidate-vacancy-card h3 {
  color: #071222;
}

.candidate-resume-copy {
  display: grid;
  gap: 6px;
}

.candidate-resume-copy span,
.candidate-vacancy-card p,
.candidate-main-hero p,
.candidate-readiness p {
  color: rgba(7, 18, 34, 0.66);
  line-height: 1.55;
}

.candidate-region-fit {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(35, 184, 255, 0.26);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 22%, rgba(38, 196, 255, 0.18), transparent 7rem),
    linear-gradient(135deg, rgba(238, 248, 255, 0.98), rgba(255, 255, 255, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(18, 105, 190, 0.1);
}

.candidate-region-fit strong {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #6a52ff);
  box-shadow: 0 0 26px rgba(38, 158, 255, 0.32);
  font-size: 25px;
  line-height: 1;
}

.candidate-region-fit span {
  color: rgba(7, 18, 34, 0.72);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.candidate-visibility-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.candidate-visibility-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.candidate-toggle-track {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  width: 124px;
  min-height: 42px;
  padding: 4px 11px 4px 4px;
  border: 1px solid rgba(20, 143, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 18, 34, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.candidate-toggle-thumb {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(7, 18, 34, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.candidate-toggle-days {
  color: rgba(7, 18, 34, 0.62);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.candidate-toggle-days b {
  font-size: 17px;
}

.candidate-toggle-text {
  min-width: 0;
  color: rgba(7, 18, 34, 0.68);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.candidate-visibility-toggle input:checked + .candidate-toggle-track {
  border-color: rgba(20, 143, 255, 0.54);
  background: linear-gradient(135deg, rgba(19, 155, 255, 0.92), rgba(84, 72, 222, 0.9));
  box-shadow: 0 0 24px rgba(20, 143, 255, 0.18);
}

.candidate-visibility-toggle input:checked + .candidate-toggle-track .candidate-toggle-thumb {
  transform: translateX(44px);
  background: #fff;
}

.candidate-visibility-toggle input:checked + .candidate-toggle-track .candidate-toggle-days {
  color: #fff;
  transform: translateX(-36px);
}

.candidate-resume-item.is-paused {
  border-color: rgba(7, 18, 34, 0.08);
  background: rgba(255, 255, 255, 0.48);
  opacity: 0.72;
}

.candidate-resume-item.is-deleted {
  display: none;
}

.candidate-delete-resume {
  justify-self: start;
  min-height: 36px;
  border: 1px solid rgba(220, 55, 80, 0.2);
  border-radius: 999px;
  color: #9d1830;
  background: rgba(255, 242, 245, 0.9);
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.candidate-delete-resume:hover,
.candidate-delete-resume:focus-visible {
  border-color: rgba(220, 55, 80, 0.42);
  box-shadow: 0 10px 22px rgba(180, 34, 58, 0.12);
  outline: none;
}

.candidate-trash {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(25, 118, 210, 0.12);
}

.candidate-trash[hidden] {
  display: none;
}

.candidate-trash-list {
  display: grid;
  gap: 10px;
}

.candidate-trash-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(7, 18, 34, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.candidate-trash-item strong {
  color: #071222;
}

.candidate-trash-item span,
.candidate-trash p {
  color: rgba(7, 18, 34, 0.62);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.candidate-trash-item button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.candidate-resume-item a:not(.candidate-resume-open) {
  min-height: 36px;
  padding: 0 14px;
  justify-self: start;
  border: 0;
  font-size: 13px;
}

.candidate-main-panel {
  padding: clamp(18px, 2.6vw, 28px);
}

.candidate-main-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(43, 190, 255, 0.28), transparent 16rem),
    linear-gradient(135deg, #071222, #10264a 56%, #18205a);
}

.candidate-main-hero .candidate-label,
.candidate-main-hero h2,
.candidate-main-hero p {
  color: #fff;
}

.candidate-main-hero p {
  margin: 12px 0 0;
  color: rgba(235, 246, 255, 0.76);
}

.candidate-match-orb {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 1px solid rgba(82, 206, 255, 0.45);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 36%),
    conic-gradient(from 120deg, #179dff, #7a55ff, #27d7ff, #179dff);
  box-shadow: 0 0 42px rgba(28, 152, 255, 0.4);
  color: #fff;
  font-weight: 900;
}

.candidate-match-orb span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #071222;
}

.candidate-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.candidate-filters label {
  display: grid;
  gap: 7px;
  color: rgba(7, 18, 34, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.candidate-filters select,
.candidate-filters input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(25, 118, 210, 0.16);
  border-radius: 14px;
  color: #071222;
  background: rgba(255, 255, 255, 0.86);
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.candidate-filters input:focus,
.candidate-filters select:focus {
  border-color: rgba(20, 143, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(20, 143, 255, 0.1);
}

.candidate-vacancy-list {
  display: grid;
  gap: 14px;
}

.candidate-vacancy-card {
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(92px, auto);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(25, 118, 210, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(20, 80, 150, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.candidate-vacancy-card[hidden] {
  display: none;
}

.candidate-vacancy-card.is-matched {
  border-color: rgba(20, 143, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(232, 244, 255, 0.98), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.86);
}

.candidate-vacancy-card:hover,
.candidate-vacancy-card:focus-within {
  border-color: rgba(20, 143, 255, 0.34);
  background: rgba(255, 255, 255, 0.9);
}

.candidate-vacancy-card h3 {
  margin: 7px 0 6px;
  font-size: 20px;
}

.candidate-vacancy-card p {
  margin: 0;
}

.auto-translation-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 22px;
  margin-top: 8px;
  border: 1px solid rgba(87, 212, 255, 0.44);
  border-radius: 999px;
  color: #0d7bd9;
  background: rgba(227, 244, 255, 0.78);
  box-shadow: 0 8px 22px rgba(20, 143, 255, 0.12);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.auto-translation-toggle {
  width: auto;
  max-width: 100%;
  min-height: 30px;
  height: auto;
  padding: 6px 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}

.auto-translation-toggle:hover,
.auto-translation-toggle:focus-visible {
  border-color: #1ca9ff;
  outline: 2px solid rgba(28, 169, 255, 0.24);
  outline-offset: 2px;
}

.candidate-language-controls {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.candidate-language-controls[hidden] {
  display: none !important;
}

.candidate-language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(28, 169, 255, 0.5);
  border-radius: 50%;
  color: inherit;
  background: rgba(28, 169, 255, 0.08);
  font: 800 13px/1 system-ui, sans-serif;
  cursor: pointer;
}

.candidate-language-button[aria-pressed="true"] {
  border-color: #1ca9ff;
  background: rgba(28, 169, 255, 0.25);
  box-shadow: inset 0 0 0 1px #1ca9ff;
}

.candidate-language-button:focus-visible {
  outline: 3px solid rgba(28, 169, 255, 0.3);
  outline-offset: 3px;
}

.chat-translation-note {
  width: 30px;
  height: 20px;
  margin: 4px 0 0;
  font-size: 10px;
}

.vacancy-detail-translation-note,
.resume-detail-translation-note {
  margin: 10px 0 0;
}

.public-vacancy-language-note {
  justify-content: flex-start;
  width: fit-content;
  max-width: min(100%, 680px);
  height: auto;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.public-translation-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 8px 13px;
  border: 1px solid rgba(28, 169, 255, 0.48);
  border-radius: 7px;
  color: inherit;
  background: rgba(28, 169, 255, 0.1);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.public-translation-toggle:hover,
.public-translation-toggle:focus-visible {
  border-color: #1ca9ff;
  outline: 2px solid rgba(28, 169, 255, 0.22);
  outline-offset: 2px;
}

body:not(.light) .auto-translation-note,
.jobseeker-dashboard-page:not(.light) .auto-translation-note,
.employer-dashboard-page:not(.light) .auto-translation-note {
  border-color: rgba(87, 212, 255, 0.58);
  color: #7ee6ff;
  background: rgba(5, 21, 43, 0.72);
  box-shadow: 0 0 18px rgba(20, 143, 255, 0.22);
}

.candidate-vacancy-card strong {
  white-space: nowrap;
  color: #071222;
}

.candidate-match {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #056cc4;
  background: rgba(20, 143, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.candidate-vacancy-card button {
  min-width: 148px;
  border: 0;
  padding: 0 16px;
}

.candidate-vacancy-card .candidate-language-button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(28, 169, 255, 0.5);
}

.candidate-vacancy-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.candidate-favorite-icon {
  display: grid;
  width: 44px;
  min-width: 44px !important;
  height: 44px;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(20, 143, 255, 0.24) !important;
  border-radius: 50%;
  color: #148fff;
  background: rgba(255, 255, 255, 0.82);
  font-size: 24px;
  line-height: 1;
}

.candidate-favorite-icon:not(.is-active) {
  border-color: rgba(128, 145, 166, 0.36) !important;
  color: #6f7f92;
  background: linear-gradient(135deg, rgba(226, 233, 240, 0.96), rgba(185, 196, 210, 0.9));
  box-shadow: 0 10px 22px rgba(83, 101, 123, 0.14);
}

.candidate-vacancy-card button.is-active,
.vacancy-detail-actions button.is-active {
  border-color: rgba(20, 143, 255, 0.5);
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 12px 28px rgba(13, 126, 255, 0.22);
}

.candidate-favorite-icon.is-active {
  color: #fff;
}

.jobseeker-dashboard-page:not(.light) .candidate-favorite-icon:not(.is-active) {
  border-color: rgba(139, 155, 179, 0.32) !important;
  color: #9aa8bb;
  background: linear-gradient(135deg, rgba(65, 78, 98, 0.72), rgba(25, 36, 55, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.2);
}

.jobseeker-dashboard-page:not(.light) .candidate-favorite-icon.is-active {
  color: #ffffff;
}

.candidate-review-indicator {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(88, 203, 255, 0.42);
  border-radius: 999px;
  color: #f7fbff;
  background: linear-gradient(135deg, rgba(7, 24, 44, 0.96), rgba(30, 48, 74, 0.94));
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  cursor: help;
}

.candidate-review-indicator svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.candidate-review-indicator.is-pending svg {
  opacity: 0.9;
}

.candidate-review-indicator.is-pending {
  border-color: rgba(148, 172, 196, 0.54);
  color: #eef7ff;
  background: linear-gradient(135deg, rgba(35, 49, 69, 0.98), rgba(16, 31, 52, 0.96));
  box-shadow: 0 10px 24px rgba(0, 12, 28, 0.26);
}

.candidate-review-indicator.is-reviewed {
  border-color: rgba(92, 218, 255, 0.68);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(21, 148, 255, 0.98), rgba(80, 79, 231, 0.96));
  box-shadow: 0 10px 24px rgba(20, 143, 255, 0.24);
}

.vacancy-detail-company-name {
  margin: 10px 0 8px;
  color: #6bdcff;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.25;
}

.candidate-review-indicator[hidden] {
  display: none;
}

.candidate-action-info-toast,
.candidate-review-info-toast {
  position: fixed;
  right: 16px;
  bottom: calc(150px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 130;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(75, 210, 255, 0.46);
  border-radius: 20px;
  color: #f7fbff;
  background: linear-gradient(145deg, rgba(5, 18, 34, 0.97), rgba(13, 38, 67, 0.96));
  box-shadow: 0 24px 70px rgba(0, 11, 28, 0.38), 0 0 24px rgba(33, 179, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.candidate-action-info-toast[hidden],
.candidate-review-info-toast[hidden] {
  display: none;
}

.candidate-action-info-toast button,
.candidate-review-info-toast button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(20, 143, 255, 0.18);
  border-radius: 50%;
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.candidate-action-info-toast strong,
.candidate-review-info-toast strong {
  display: block;
  padding-right: 30px;
  font-size: 16px;
}

.candidate-action-info-toast p,
.candidate-review-info-toast p {
  margin: 8px 0 0;
  color: rgba(235, 246, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

body.light .candidate-review-indicator {
  color: #0f2742;
  background: linear-gradient(135deg, rgba(226, 241, 255, 0.96), rgba(186, 213, 232, 0.92));
}

body.light .candidate-review-indicator.is-pending {
  color: #10253a;
  background: linear-gradient(135deg, rgba(232, 243, 255, 0.98), rgba(177, 196, 214, 0.96));
}

body.light .candidate-review-indicator.is-reviewed {
  color: #ffffff;
  background: linear-gradient(135deg, #148fff, #5448de);
}

body.light .candidate-action-info-toast,
body.light .candidate-review-info-toast {
  color: #071222;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(16, 64, 130, 0.22);
}

body.light .candidate-action-info-toast button,
body.light .candidate-review-info-toast button {
  color: #071222;
  background: rgba(255, 255, 255, 0.78);
}

body.light .candidate-action-info-toast p,
body.light .candidate-review-info-toast p {
  color: rgba(7, 18, 34, 0.68);
}

.candidate-stat-button {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 74px;
  margin: 4px 0;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-top-color: rgba(25, 118, 210, 0.12);
  border-radius: 18px;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jobseeker-stat-modal .employer-favorites-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 32px));
}

.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .employer-favorites-dialog {
  color: #f7fbff !important;
  border-color: rgba(92, 205, 255, 0.34) !important;
  background:
    radial-gradient(circle at 16% 10%, rgba(44, 169, 255, 0.2), transparent 15rem),
    linear-gradient(145deg, rgba(4, 18, 35, 0.99), rgba(8, 39, 69, 0.98)) !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.56) !important;
}

.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .candidate-profile-editor-head h2,
.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .employer-favorite-mini-card strong {
  color: #f7fbff !important;
}

.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .candidate-profile-editor-head > div > span,
.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .employer-favorite-mini-card span,
.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .employer-favorite-empty {
  color: rgba(220, 235, 255, 0.78) !important;
}

.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .employer-favorite-mini-card {
  color: #f7fbff !important;
  border-color: rgba(92, 205, 255, 0.3) !important;
  background:
    linear-gradient(135deg, rgba(9, 34, 61, 0.98), rgba(17, 57, 94, 0.92)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .employer-favorite-mini-card:hover,
.jobseeker-dashboard-page:not(.light) .jobseeker-stat-modal .employer-favorite-mini-card:focus-visible {
  border-color: rgba(80, 205, 255, 0.72) !important;
  background:
    linear-gradient(135deg, rgba(12, 50, 88, 0.99), rgba(28, 73, 119, 0.96)) !important;
}

.jobseeker-stat-modal-list {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.jobseeker-stat-total {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(80, 205, 255, 0.28);
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(145deg, rgba(20, 143, 255, 0.12), rgba(98, 80, 255, 0.1));
}

.jobseeker-stat-total strong {
  color: #148fff;
  font-size: clamp(64px, 14vw, 112px);
  line-height: 1;
}

.jobseeker-stat-total span {
  margin-top: 14px;
  color: inherit;
  font-size: 18px;
  font-weight: 800;
}

.jobseeker-dashboard-page:not(.light) .jobseeker-stat-total {
  border-color: rgba(80, 205, 255, 0.34);
  background: linear-gradient(145deg, rgba(14, 54, 91, 0.84), rgba(35, 42, 96, 0.72));
}

.jobseeker-dashboard-page:not(.light) .jobseeker-stat-total span {
  color: rgba(230, 242, 255, 0.86);
}

.jobseeker-dashboard-page .jobseeker-main-panel,
.employer-dashboard-page .employer-main-panel {
  position: relative;
}

.koos-vacancy-filter-loader {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: rgba(3, 12, 27, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.koos-vacancy-filter-loader[hidden] {
  display: none !important;
}

.jobseeker-dashboard-page.light .koos-vacancy-filter-loader {
  background: rgba(235, 245, 255, 0.72);
}

.koos-vacancy-filter-loader__mark {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 18px 30px rgba(20, 143, 255, 0.28));
}

.koos-vacancy-filter-loader__logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(218,239,255,.94));
  color: #07192d;
  box-shadow: inset 0 0 0 2px rgba(53, 200, 255, .48), 0 10px 28px rgba(0, 10, 28, .24);
  font: 900 18px/1 Arial, sans-serif;
  letter-spacing: -.08em;
}

.koos-vacancy-filter-loader__orbit {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(80, 205, 255, 0.28);
  border-top-color: #2cc9ff;
  border-right-color: #6d55ff;
  border-radius: 50%;
  animation: koos-vacancy-data-spin 0.9s linear infinite;
}

.koos-vacancy-filter-loader__orbit i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28px;
  height: 20px;
  border-radius: 10px;
  color: #eaf8ff;
  background: #0a2342;
  font: 800 9px/1 Arial, sans-serif;
  font-style: normal;
}

.koos-vacancy-filter-loader__orbit i:nth-child(1) { top: -10px; left: 52px; }
.koos-vacancy-filter-loader__orbit i:nth-child(2) { top: 54px; right: -14px; }
.koos-vacancy-filter-loader__orbit i:nth-child(3) { bottom: -10px; left: 52px; }
.koos-vacancy-filter-loader__orbit i:nth-child(4) { top: 54px; left: -14px; }

@keyframes koos-vacancy-data-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .koos-vacancy-filter-loader__orbit {
    animation-duration: 2.4s;
  }
}

.candidate-stat-button:hover strong,
.candidate-stat-button:focus-visible strong {
  color: #148fff;
}

.candidate-stat-button.is-active {
  border-color: rgba(20, 143, 255, 0.48);
  background:
    radial-gradient(circle at 50% 50%, rgba(71, 207, 255, 0.2), transparent 72%),
    linear-gradient(135deg, rgba(20, 143, 255, 0.18), rgba(98, 80, 255, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 0 1px rgba(80, 205, 255, 0.1),
    0 0 24px rgba(20, 143, 255, 0.22);
  transform: translateY(-1px);
}

.candidate-stat-button.is-active strong {
  color: #148fff;
}

.vacancy-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(16, 64, 130, 0.12);
}

.vacancy-save-status-inline {
  flex: 1 0 100%;
  order: 10;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
  text-align: right;
}

.vacancy-review-indicator {
  min-height: 42px;
  padding-inline: 14px;
}

.vacancy-detail-share-panel {
  max-width: none;
  margin-top: 12px;
  border-color: rgba(29, 104, 188, 0.16);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(16, 64, 130, 0.12);
}

.vacancy-detail-share-panel a,
.vacancy-detail-share-panel button {
  color: #061426;
  background: rgba(20, 143, 255, 0.08);
}

.vacancy-document {
  margin-top: 18px;
}

.candidate-stat {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(25, 118, 210, 0.12);
}

.candidate-stat strong {
  color: #071222;
  font-size: 34px;
  line-height: 1;
}

.candidate-stat span {
  color: rgba(7, 18, 34, 0.66);
  line-height: 1.35;
}

.candidate-stat.candidate-stat-button {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 74px;
  margin: 6px 0;
  padding: 14px 0;
  border: 1px solid transparent;
  border-top-color: rgba(25, 118, 210, 0.12);
  border-radius: 18px;
  text-align: left;
}

.candidate-stat.candidate-stat-button.is-active {
  border-color: rgba(20, 143, 255, 0.5);
  background:
    radial-gradient(circle at 50% 50%, rgba(71, 207, 255, 0.22), transparent 72%),
    linear-gradient(135deg, rgba(20, 143, 255, 0.2), rgba(98, 80, 255, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 0 1px rgba(80, 205, 255, 0.12),
    0 0 24px rgba(20, 143, 255, 0.24);
  transform: none;
}

.candidate-readiness {
  background:
    linear-gradient(145deg, rgba(7, 18, 34, 0.96), rgba(13, 35, 70, 0.92)),
    #071222 !important;
}

.candidate-readiness .candidate-label,
.candidate-readiness strong,
.candidate-readiness p {
  color: #fff;
}

.candidate-readiness p {
  color: rgba(235, 246, 255, 0.72);
}

.candidate-progress {
  height: 10px;
  overflow: hidden;
  margin: 16px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.candidate-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18a8ff, #7b55ff);
}

.candidate-readiness strong {
  font-size: 34px;
}

.employer-dashboard {
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(260px, 310px);
}

.employer-company-card {
  padding: 18px;
}

.employer-company-card [data-employer-profile-company] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: 4px;
  overflow: hidden;
  color: #fff;
  font-size: clamp(18px, 1.32vw, 23px);
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employer-logo {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(52, 198, 255, 0.5);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(13, 126, 255, 0.22);
}

.employer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employer-contact-list {
  margin: 14px 0;
}

.employer-contact-list div {
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 8px 0;
}

.employer-vacancy-item {
  cursor: pointer;
}

.employer-vacancy-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-top: 8px;
  width: min(100%, 430px);
}

.employer-vacancy-actions .candidate-edit-resume,
.employer-vacancy-actions .candidate-delete-resume {
  display: inline-grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

.employer-vacancy-toggle {
  justify-self: start;
}

.employer-vacancy-item.is-selected {
  border-color: rgba(20, 143, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(20, 143, 255, 0.12), 0 18px 40px rgba(18, 105, 190, 0.16);
}

.employer-vacancy-form {
  margin-top: 18px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.employer-company-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.employer-company-summary-grid div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(25, 118, 210, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.employer-company-summary-grid span {
  color: rgba(7, 18, 34, 0.58);
  font-size: 12px;
  font-weight: 900;
}

.employer-company-summary-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #071222;
  font-size: 15px;
}

.vacancy-ai-field {
  position: relative;
}

.vacancy-city-field {
  position: relative;
  z-index: 121;
}

.resume-composer-card.has-open-city-suggestions {
  position: relative;
  z-index: 120;
  overflow: visible;
}

.vacancy-city-suggestions {
  position: absolute;
  right: 0;
  left: 0;
  top: calc(100% + 7px);
  z-index: 122;
  display: grid;
  max-height: 216px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(20, 143, 255, 0.18);
  border-radius: 16px;
  background: rgba(248, 252, 255, 0.96);
  box-shadow: 0 18px 42px rgba(8, 28, 60, 0.16);
  backdrop-filter: blur(18px);
}

.vacancy-city-suggestions[hidden] {
  display: none !important;
}

.vacancy-city-suggestions button {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  color: #071222;
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.vacancy-city-suggestions button:hover,
.vacancy-city-suggestions button:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  outline: none;
}

.vacancy-ai-field textarea {
  padding-right: 92px;
  padding-bottom: 76px;
}

.vacancy-ai-button {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(91, 221, 255, 0.76);
  border-radius: 50%;
  color: #fff;
  background:
    url("/assets/ui/ai-assistant-icon.png") center / 116% 116% no-repeat,
    radial-gradient(circle at 50% 50%, rgba(20, 204, 255, 0.5), rgba(42, 119, 235, 0.34) 58%, rgba(33, 42, 132, 0.28));
  box-shadow:
    0 18px 42px rgba(20, 143, 255, 0.36),
    0 0 0 6px rgba(35, 198, 255, 0.12),
    0 0 42px rgba(52, 190, 255, 0.3);
  filter: saturate(1.24) contrast(1.12) brightness(1.06);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 21, 54, 0.9);
  font-weight: 950;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vacancy-ai-button:not([data-ai-state="working"]):not([data-ai-state="unavailable"]):not(:disabled) {
  animation: ai-button-breathe 2.9s ease-in-out infinite;
}

.vacancy-ai-button::after {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0 16%, rgba(48, 218, 255, 0.72), transparent 42% 100%);
  filter: blur(4px);
  opacity: 0.7;
  animation: ai-ring-orbit 4.8s linear infinite;
}

.vacancy-ai-button::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(112, 231, 255, 0.52), transparent 68%);
  filter: blur(2px);
  opacity: 0.82;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.vacancy-ai-button:hover,
.vacancy-ai-button:focus-visible {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(193, 250, 255, 0.92);
  box-shadow:
    0 24px 54px rgba(20, 184, 255, 0.52),
    0 0 0 7px rgba(28, 183, 255, 0.18),
    0 0 58px rgba(52, 190, 255, 0.42);
}

.vacancy-ai-button:hover::before,
.vacancy-ai-button:focus-visible::before {
  transform: scale(1.12);
  opacity: 1;
}

.vacancy-ai-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.vacancy-ai-button.is-ai-unavailable,
.vacancy-ai-button[data-ai-state="unavailable"] {
  border-color: rgba(172, 198, 218, 0.64);
  color: #edf7ff;
  background:
    url("/assets/ui/ai-assistant-icon.png") center / 116% 116% no-repeat,
    linear-gradient(145deg, #d9e4ec 0%, #8fa3b2 38%, #52697a 68%, #263746 100%);
  box-shadow:
    0 10px 24px rgba(36, 55, 70, 0.24);
  filter: grayscale(0.76) saturate(0.72) brightness(0.94);
}

.vacancy-ai-button.is-ai-unavailable::after,
.vacancy-ai-button[data-ai-state="unavailable"]::after {
  opacity: 0;
  animation: none;
}

.vacancy-ai-button.is-ai-unavailable::before,
.vacancy-ai-button[data-ai-state="unavailable"]::before {
  filter: blur(2px);
  opacity: 0.78;
}

.vacancy-ai-button.is-ai-unavailable:hover,
.vacancy-ai-button.is-ai-unavailable:focus-visible,
.vacancy-ai-button[data-ai-state="unavailable"]:hover,
.vacancy-ai-button[data-ai-state="unavailable"]:focus-visible {
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 10px 24px rgba(36, 55, 70, 0.24);
}

.vacancy-ai-button.is-ai-unavailable:hover::before,
.vacancy-ai-button.is-ai-unavailable:focus-visible::before,
.vacancy-ai-button[data-ai-state="unavailable"]:hover::before,
.vacancy-ai-button[data-ai-state="unavailable"]:focus-visible::before {
  transform: none;
}

.vacancy-ai-button.is-ai-working,
.vacancy-ai-button[data-ai-state="working"] {
  animation: ai-button-pulse 1.1s ease-in-out infinite;
}

@keyframes ai-button-breathe {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 18px 42px rgba(20, 143, 255, 0.32),
      0 0 0 6px rgba(35, 198, 255, 0.1),
      0 0 38px rgba(52, 190, 255, 0.26);
  }
  50% {
    transform: translateY(-1px) scale(1.025);
    box-shadow:
      0 22px 50px rgba(20, 184, 255, 0.44),
      0 0 0 7px rgba(35, 198, 255, 0.16),
      0 0 54px rgba(52, 190, 255, 0.38);
  }
}

@keyframes ai-ring-orbit {
  to {
    transform: rotate(1turn);
  }
}

@keyframes ai-button-pulse {
  0%, 100% {
    box-shadow: 0 14px 30px rgba(20, 143, 255, 0.24);
  }
  50% {
    box-shadow: 0 18px 44px rgba(20, 184, 255, 0.46);
  }
}

[data-vacancy-save-status][data-status="success"] {
  color: #087a48;
}

[data-vacancy-save-status][data-status="error"] {
  color: #c63558;
}

[data-vacancy-save-status][data-status="pending"] {
  color: #146dca;
}

.vacancy-applications-panel {
  margin-top: 22px;
}

.vacancy-applications-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.vacancy-applications-head h2 {
  margin: 4px 0 8px;
  color: #071222;
  font-size: 26px;
}

.vacancy-applications-head p:not(.koosjobs-kicker) {
  max-width: 820px;
  margin: 0;
  color: rgba(7, 18, 34, 0.62);
  line-height: 1.55;
}

.vacancy-applications-head > strong {
  display: grid;
  min-width: 132px;
  padding: 14px 18px;
  border: 1px solid rgba(20, 143, 255, 0.16);
  border-radius: 18px;
  color: #071222;
  background: rgba(232, 244, 255, 0.82);
  text-align: center;
}

.vacancy-applications-head > strong span {
  color: #148fff;
  font-size: 34px;
  line-height: 1;
}

.vacancy-applications-status {
  margin: 16px 0 0;
  color: rgba(7, 18, 34, 0.62);
  font-weight: 850;
}

.vacancy-applications-status[data-status="success"] {
  color: #087a48;
}

.vacancy-applications-status[data-status="error"] {
  color: #c63558;
}

.vacancy-applications-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.vacancy-application-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(25, 118, 210, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 255, 0.84)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(20, 80, 150, 0.08);
}

.vacancy-application-main {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.vacancy-application-main strong {
  color: #071222;
  font-size: 19px;
}

.vacancy-application-main small {
  color: rgba(7, 18, 34, 0.62);
  font-weight: 820;
  line-height: 1.45;
}

.vacancy-application-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.vacancy-application-actions button,
.vacancy-application-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(20, 143, 255, 0.18);
  border-radius: 999px;
  color: #071222;
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.vacancy-application-actions button:hover,
.vacancy-application-actions a:hover,
.vacancy-application-actions button:focus-visible,
.vacancy-application-actions a:focus-visible {
  border-color: rgba(20, 143, 255, 0.5);
  box-shadow: 0 10px 24px rgba(20, 143, 255, 0.14);
}

.vacancy-application-detail {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(25, 118, 210, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.vacancy-application-detail[hidden],
.vacancy-chat-note[hidden] {
  display: none;
}

.vacancy-application-detail p {
  margin: 0;
  color: rgba(7, 18, 34, 0.68);
  line-height: 1.6;
}

.vacancy-application-detail dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.vacancy-application-detail dl div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(232, 244, 255, 0.72);
}

.vacancy-application-detail dt {
  color: rgba(7, 18, 34, 0.52);
  font-size: 12px;
  font-weight: 900;
}

.vacancy-application-detail dd {
  margin: 0;
  color: #071222;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.vacancy-chat-note {
  display: grid;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 143, 255, 0.18);
  border-radius: 16px;
  color: #0d4d8d;
  background: rgba(232, 244, 255, 0.82);
  font-weight: 850;
  line-height: 1.45;
}

.vacancy-chat-note strong {
  color: #071222;
}

.vacancy-chat-messages {
  display: flex;
  flex-direction: column;
  max-height: 260px;
  gap: 12px;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(35, 184, 255, 0.12);
  border-radius: 18px;
  background: rgba(245, 250, 255, 0.56);
}

.vacancy-chat-messages > span {
  color: rgba(7, 18, 34, 0.56);
}

.vacancy-chat-messages p {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 5px 10px;
  align-self: flex-start;
  width: fit-content;
  max-width: min(78%, 620px);
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(20, 143, 255, 0.16);
  border-radius: 18px 18px 18px 8px;
  color: #071222;
  background:
    radial-gradient(circle at 0% 0%, rgba(45, 180, 255, 0.12), transparent 8rem),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(18, 57, 106, 0.08);
}

.vacancy-chat-messages p > b,
.vacancy-chat-messages p > span,
.vacancy-chat-messages p > a,
.vacancy-chat-messages p > audio,
.vacancy-chat-messages p > small {
  grid-column: 2;
}

.vacancy-chat-messages p > .koos-chat-avatar {
  grid-row: 1 / span 4;
}

.vacancy-chat-messages p.is-own {
  align-self: flex-end;
  color: #fff;
  border-radius: 18px 18px 8px 18px;
  border-color: rgba(105, 210, 255, 0.3);
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 14px 34px rgba(22, 132, 255, 0.2);
}

.vacancy-chat-messages b {
  font-size: 12px;
}

.vacancy-chat-messages audio {
  width: min(260px, 100%);
}

.vacancy-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(35, 184, 255, 0.14);
  border-radius: 22px;
  background: rgba(245, 250, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.vacancy-chat-form textarea {
  min-height: 58px;
  resize: vertical;
  border: 1px solid rgba(20, 143, 255, 0.22);
  border-radius: 18px;
  color: #071222;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.vacancy-chat-form button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 12px 28px rgba(13, 126, 255, 0.2);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.koos-chat-avatar {
  display: inline-grid;
  width: 38px;
  height: 38px;
  min-width: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(20, 143, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  font-size: 12px;
  font-weight: 950;
}

.koos-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.koos-chat-title,
.koos-chat-dialog-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.koos-chat-title span,
.koos-chat-dialog-head span,
.koos-chat-dialog-head small {
  display: block;
  color: rgba(7, 18, 34, 0.58);
  font-size: 12px;
}

.koos-chat-title button,
.koos-chat-dialog-head button,
.koos-chat-tools button {
  border: 1px solid rgba(20, 143, 255, 0.18);
  border-radius: 999px;
  color: #071222;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.koos-chat-tools {
  display: flex;
  gap: 8px;
}

.vacancy-chat-form input[type="file"] {
  min-height: 44px;
  padding: 10px;
  border: 1px solid rgba(20, 143, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.vacancy-chat-form.is-disabled {
  opacity: 0.62;
  pointer-events: none;
}

.koos-chat-widget {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 80;
  transform: translateY(calc(-1 * var(--koos-footer-lift, 0px)));
  transition: transform 180ms ease;
}

.koos-chat-launcher {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(20, 143, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 18px 44px rgba(20, 143, 255, 0.28);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.koos-chat-launcher b {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #1342aa;
  background: #fff;
  font-size: 12px;
}

.koos-chat-launcher.has-unread {
  animation: chatPulse 1.6s ease-in-out infinite;
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 18px 44px rgba(20, 143, 255, 0.28); }
  50% { box-shadow: 0 18px 54px rgba(84, 72, 222, 0.42); }
}

.koos-chat-window {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(760px, calc(100vw - 30px));
  max-height: min(680px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid rgba(20, 143, 255, 0.16);
  border-radius: 24px;
  background: rgba(248, 252, 255, 0.96);
  box-shadow: 0 24px 70px rgba(8, 28, 60, 0.22);
  backdrop-filter: blur(18px);
}

.koos-chat-window[hidden] {
  display: none !important;
}

.koos-chat-window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(20, 143, 255, 0.12);
}

.koos-chat-window-head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 143, 255, 0.1);
  font-size: 24px;
  cursor: pointer;
}

.koos-chat-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 420px;
}

.koos-chat-thread-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding: 12px;
  border-right: 1px solid rgba(20, 143, 255, 0.12);
}

.koos-chat-thread-list button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(20, 143, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
}

.koos-chat-thread-list button.is-active {
  border-color: rgba(20, 143, 255, 0.46);
  background: rgba(232, 244, 255, 0.92);
}

.koos-chat-thread-list b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #148fff;
  font-size: 12px;
}

.koos-chat-dialog {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  overflow: auto;
}

.employer-candidate-list {
  display: grid;
  gap: 14px;
}

.employer-candidate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(25, 118, 210, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(20, 80, 150, 0.07);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.employer-candidate-card:hover,
.employer-candidate-card:focus-within {
  border-color: rgba(20, 143, 255, 0.34);
  box-shadow: 0 18px 46px rgba(20, 80, 150, 0.12);
  transform: translateY(-1px);
}

.employer-candidate-card[hidden] {
  display: none;
}

.employer-candidate-card.is-matched {
  border-color: rgba(20, 143, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(232, 244, 255, 0.98), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.86);
}

.employer-candidate-card h3 {
  margin: 7px 0 6px;
  color: #071222;
  font-size: 20px;
}

.employer-candidate-card p {
  margin: 0;
  color: rgba(7, 18, 34, 0.66);
  line-height: 1.55;
}

.employer-candidate-card strong {
  white-space: nowrap;
  color: #071222;
}

.employer-candidate-card .employer-candidate-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 132px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 12px 28px rgba(13, 126, 255, 0.22);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.employer-resume-favorite {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
}

.employer-resume-favorite.is-active {
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 0 24px rgba(20, 143, 255, 0.28);
}

.employer-favorites-panel {
  align-self: start;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.employer-favorites-panel:hover,
.employer-favorites-panel:focus-visible {
  border-color: rgba(20, 143, 255, 0.45);
  box-shadow: 0 18px 42px rgba(18, 105, 190, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.employer-favorites-hint,
.employer-favorite-empty {
  margin: 0;
  margin-top: 12px;
  color: rgba(7, 18, 34, 0.62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.employer-favorites-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 42px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(25, 118, 210, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 12%, rgba(44, 169, 255, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 32px 90px rgba(7, 18, 34, 0.24);
}

.employer-favorite-modal-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.employer-favorite-mini-card {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(25, 118, 210, 0.14);
  border-radius: 18px;
  color: #071222;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.employer-favorite-mini-card:hover,
.employer-favorite-mini-card:focus-visible {
  border-color: rgba(20, 143, 255, 0.38);
  box-shadow: 0 14px 30px rgba(18, 105, 190, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.employer-favorite-mini-card strong {
  font-size: 15px;
}

.employer-favorite-mini-card span {
  color: rgba(7, 18, 34, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.employer-stat-main {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(20, 143, 255, 0.14);
  border-radius: 18px;
  background: rgba(232, 244, 255, 0.82);
}

.employer-stat-main strong {
  color: #071222;
  font-size: 44px;
  line-height: 1;
}

.employer-stat-main span,
.employer-meter small,
.employer-growth span {
  color: rgba(7, 18, 34, 0.62);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.employer-bars,
.employer-meter,
.employer-growth {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-top: 1px solid rgba(25, 118, 210, 0.12);
}

.employer-bars div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
}

.employer-bars span,
.employer-meter span {
  color: rgba(7, 18, 34, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.employer-bars b,
.employer-meter strong,
.employer-growth strong {
  color: #071222;
}

.employer-bars i {
  grid-column: 1 / -1;
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 18, 34, 0.09);
}

.employer-bars i::before {
  display: block;
  width: var(--value, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #139bff, #7256ff);
  content: "";
}

.employer-meter > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.employer-meter > i {
  position: relative;
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 143, 255, 0.18), rgba(114, 86, 255, 0.26));
}

.employer-meter > i > b {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #148fff;
  box-shadow: 0 0 18px rgba(20, 143, 255, 0.38);
  transform: translate(-50%, -50%);
}

.employer-growth {
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  border-radius: 18px;
  background: rgba(232, 244, 255, 0.7);
}

.employer-growth strong {
  font-size: 34px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .candidate-dashboard {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  }

  .candidate-stats-panel {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .candidate-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .employer-dashboard-page .account-shell,
  .employer-dashboard-page .candidate-dashboard,
  .employer-dashboard-page .candidate-sidebar,
  .employer-dashboard-page .candidate-main-panel,
  .employer-dashboard-page .candidate-stats-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .employer-dashboard-page .candidate-dashboard {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start;
    overflow: visible;
  }

  .employer-dashboard-page .candidate-mobile-toolbar {
    display: grid !important;
  }

  .jobseeker-dashboard-page,
  .employer-dashboard-page {
    padding-bottom: 92px;
  }

  .candidate-mobile-toolbar {
    position: sticky;
    top: 8px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0;
    padding: 10px;
    border: 1px solid rgba(29, 104, 188, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 48px rgba(16, 64, 130, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .candidate-mobile-toolbar button,
  .candidate-mobile-toolbar a {
    position: relative;
    display: grid;
    min-width: 0;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(20, 143, 255, 0.24);
    border-radius: 16px;
    color: #071222;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 255, 0.9));
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
  }

  .candidate-mobile-toolbar button.is-selected {
    border-color: rgba(20, 143, 255, 0.72);
    color: #fff;
    background: linear-gradient(135deg, #139bff, #5448de);
    box-shadow: 0 10px 24px rgba(13, 126, 255, 0.22);
  }

  .candidate-mobile-toolbar svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
  }

  .candidate-mobile-toolbar small {
    position: absolute;
    right: 5px;
    bottom: 5px;
    min-width: 18px;
    min-height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    color: #fff;
    background: #071222;
    font-size: 10px;
    line-height: 18px;
  }

  .candidate-dashboard,
  .candidate-stats-panel {
    grid-template-columns: 1fr;
  }

  .employer-company-summary-grid {
    grid-template-columns: 1fr;
  }

  .employer-vacancy-form .resume-composer-grid {
    grid-template-columns: 1fr;
  }

  .vacancy-applications-head,
  .vacancy-application-card,
  .vacancy-application-detail dl {
    grid-template-columns: 1fr;
  }

  .vacancy-applications-head {
    display: grid;
  }

  .vacancy-applications-head > strong {
    width: 100%;
  }

  .vacancy-application-actions {
    justify-content: flex-start;
  }

  .vacancy-application-actions button,
  .vacancy-application-actions a {
    flex: 1 1 calc(50% - 8px);
  }

  .vacancy-chat-form {
    grid-template-columns: 1fr;
  }

  .koos-chat-widget {
    right: 14px;
    bottom: 84px;
  }

  .koos-chat-window {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 118px);
  }

  .koos-chat-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .koos-chat-thread-list {
    max-height: 190px;
    border-right: 0;
    border-bottom: 1px solid rgba(20, 143, 255, 0.12);
  }

  .koos-chat-dialog {
    max-height: calc(100vh - 380px);
  }

  .vacancy-ai-field textarea {
    min-height: 150px;
  }

  .candidate-dashboard {
    margin-top: 0;
  }

  .candidate-sidebar {
    display: none;
  }

  .candidate-main-panel {
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .candidate-main-hero {
    padding: 14px;
    border-radius: 18px;
  }

  .candidate-main-hero h2 {
    font-size: 22px;
  }

  .candidate-main-hero p {
    font-size: 13px;
  }

  .candidate-match-orb {
    display: none;
  }

  .candidate-filters {
    display: none;
  }

  .jobseeker-dashboard-page.is-mobile-search-open .candidate-filters {
    display: grid;
  }

  .candidate-stats-panel {
    position: fixed;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 45;
    display: block;
  }

  .candidate-stats-panel article:first-child {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(16, 64, 130, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .candidate-stats-panel article:first-child > .candidate-label,
  .candidate-stats-panel article:first-child > h2,
  .candidate-readiness {
    display: none;
  }

  .candidate-stat,
  .candidate-stat-button {
    min-height: 54px;
    grid-template-columns: 18px 1fr;
    gap: 2px;
    justify-items: center;
    padding: 7px 4px;
    border: 1px solid rgba(25, 118, 210, 0.1);
    border-radius: 14px;
    background: rgba(238, 248, 255, 0.74);
    text-align: center;
  }

  .candidate-stat::before,
  .candidate-stat-button::before {
    grid-row: 1 / 3;
    align-self: center;
    color: #148fff;
    content: attr(data-stat-icon);
    font-size: 16px;
    font-weight: 900;
  }

  .candidate-stat strong {
    font-size: 20px;
  }

  .candidate-stat span {
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
  }

  .candidate-profile-card {
    position: relative;
    top: auto;
  }

  .candidate-profile-grid {
    grid-template-columns: 1fr;
  }

  .candidate-newsletter-settings {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .candidate-photo-editor {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .candidate-photo-actions {
    justify-content: center;
  }

  .candidate-profile-editor-actions .about-primary,
  .candidate-profile-editor-actions .about-secondary {
    width: 100%;
  }

  .candidate-main-hero,
  .candidate-vacancy-card {
    grid-template-columns: 1fr;
  }

  .employer-dashboard,
  .employer-candidate-card {
    grid-template-columns: 1fr;
  }

  .candidate-vacancy-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .candidate-favorite-icon {
    justify-self: start;
  }

  .candidate-review-indicator {
    width: 100%;
  }

  .candidate-match-orb {
    width: 88px;
    height: 88px;
  }

  .candidate-vacancy-card button {
    width: 100%;
  }
}

/* Jobseeker vacancy workspace v289: mirrors the employer resume workflow. */
.jobseeker-dashboard-page .jobseeker-main-column {
  display: grid;
  gap: clamp(18px, 1.8vw, 36px);
  min-width: 0;
  width: 100%;
}

.jobseeker-dashboard-page .jobseeker-vacancy-results {
  min-width: 0;
  width: 100%;
}

.jobseeker-dashboard-page .jobseeker-ai-match-filter {
  align-self: end;
}

.jobseeker-dashboard-page.light .jobseeker-ai-match-filter {
  color: #061b31;
  border-color: rgba(33, 143, 210, 0.38);
  background: linear-gradient(135deg, rgba(229, 246, 255, 0.98), rgba(231, 233, 255, 0.98));
}

.jobseeker-dashboard-page.light .jobseeker-ai-match-filter .employer-ai-match-filter__copy small {
  color: rgba(6, 27, 49, 0.62);
}

@media (min-width: 901px) {
  .jobseeker-dashboard-page .jobseeker-main-panel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .jobseeker-dashboard-page .jobseeker-main-panel .candidate-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-bottom: 0 !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-list {
    gap: clamp(14px, 1.2vw, 22px) !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 820px) {
  body.jobseeker-dashboard-page {
    --candidate-mobile-header-height: 64px;
    --candidate-mobile-toolbar-height: 62px;
    --jobseeker-mobile-gap: 8px;
    min-height: 100dvh !important;
    overflow-x: clip !important;
    padding-bottom: calc(58px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page .page-shell.account-shell {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 100dvh !important;
    padding: calc(var(--candidate-mobile-header-height) + var(--candidate-mobile-toolbar-height) + 22px) 10px 64px !important;
  }

  .jobseeker-dashboard-page .site-header.global-header {
    position: fixed !important;
    top: 0 !important;
    right: 10px !important;
    left: 10px !important;
    z-index: 620 !important;
    width: auto !important;
    min-height: var(--candidate-mobile-header-height) !important;
    margin: 0 !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .brand-copy,
  .jobseeker-dashboard-page .site-header.global-header .site-nav,
  .jobseeker-dashboard-page .site-header.global-header .mobile-menu-button,
  .jobseeker-dashboard-page .candidate-mobile-actions {
    display: none !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .brand-mark {
    width: 44px !important;
    height: 44px !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions > * {
    min-width: 0 !important;
    width: 100% !important;
    padding-inline: 7px !important;
    font-size: 12px !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar {
    position: fixed !important;
    top: calc(var(--candidate-mobile-header-height) + var(--jobseeker-mobile-gap)) !important;
    right: 10px !important;
    left: 10px !important;
    z-index: 610 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: auto !important;
    min-height: var(--candidate-mobile-toolbar-height) !important;
    margin: 0 !important;
    padding: 8px !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar > .candidate-mobile-action {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    place-items: center !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-ai-match {
    color: #07182d !important;
    font-size: 13px !important;
    font-weight: 950 !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-ai-match.is-active {
    color: #fff !important;
    border-color: #36cfff !important;
    background: linear-gradient(135deg, #139bff, #5949df) !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-resume-menu,
  .jobseeker-dashboard-page .candidate-mobile-search-panel {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: min(42vh, 260px) !important;
    overflow: auto !important;
  }

  .jobseeker-dashboard-page .candidate-dashboard {
    display: block !important;
    flex: 1 0 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 18px !important;
  }

  .jobseeker-dashboard-page .candidate-sidebar,
  .jobseeker-dashboard-page .jobseeker-main-panel,
  .jobseeker-dashboard-page .candidate-stats-panel {
    display: none !important;
  }

  .jobseeker-dashboard-page .jobseeker-main-column,
  .jobseeker-dashboard-page .jobseeker-vacancy-results,
  .jobseeker-dashboard-page .candidate-vacancy-list {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 12px !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-list {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 0 24px !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card:not([hidden]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 12px !important;
    width: 100% !important;
    min-height: 148px !important;
    padding: 16px !important;
    overflow: hidden !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card > div:first-child {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card > strong {
    align-self: center;
    white-space: nowrap;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card .candidate-vacancy-actions {
    justify-self: end;
  }

  .jobseeker-dashboard-page .site-footer {
    position: fixed !important;
    inset: auto 10px calc(5px + env(safe-area-inset-bottom)) 10px !important;
    z-index: 74 !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 5px 64px 5px 9px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  .jobseeker-dashboard-page .back-to-top { bottom: 60px !important; }
  .jobseeker-dashboard-page .koos-chat-widget { bottom: 122px !important; }
  .jobseeker-dashboard-page .koos-ai-guide.is-mobile-available:not(.is-presenting) { bottom: 184px !important; }
  .jobseeker-dashboard-page .koos-ai-guide.is-mobile-available .koos-ai-guide__window:not([hidden]),
  .jobseeker-dashboard-page .koos-chat-window:not([hidden]) {
    top: calc(var(--candidate-mobile-header-height) + var(--candidate-mobile-toolbar-height) + 22px) !important;
    right: 10px !important;
    bottom: 60px !important;
    left: 10px !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 560px) {
  .candidate-dashboard {
    gap: 14px;
    margin-top: 18px;
  }

  .candidate-profile-card,
  .candidate-resumes-card,
  .candidate-main-panel,
  .candidate-stats-panel article {
    border-radius: 20px;
  }

  .candidate-profile-card,
  .candidate-resumes-card,
  .candidate-main-panel,
  .candidate-stats-panel article {
    padding: 16px;
  }

  .candidate-main-hero {
    padding: 18px;
  }

  .candidate-filters {
    grid-template-columns: 1fr;
  }

  .candidate-contact-list div,
  .candidate-stat {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .jobseeker-dashboard-page,
  .employer-dashboard-page {
    --candidate-mobile-header-height: 64px;
    --candidate-mobile-toolbar-height: 74px;
    --candidate-mobile-footer-height: 38px;
    --candidate-mobile-stats-height: 64px;
    padding-bottom: calc(var(--candidate-mobile-footer-height) + var(--candidate-mobile-stats-height) + 22px + env(safe-area-inset-bottom));
  }

  .jobseeker-dashboard-page .global-header,
  .employer-dashboard-page .global-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: var(--candidate-mobile-header-height);
    padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
    border-radius: 0 0 22px 22px;
    transition: min-height 0.24s ease, padding 0.24s ease, box-shadow 0.24s ease;
  }

  .jobseeker-dashboard-page .brand,
  .employer-dashboard-page .brand {
    min-width: 0;
  }

  .jobseeker-dashboard-page .brand-mark,
  .employer-dashboard-page .brand-mark {
    width: 42px;
    height: 42px;
  }

  .jobseeker-dashboard-page .brand-name,
  .jobseeker-dashboard-page .brand-subtitle,
  .jobseeker-dashboard-page .site-nav,
  .jobseeker-dashboard-page .mobile-menu-button,
  .employer-dashboard-page .brand-name,
  .employer-dashboard-page .brand-subtitle,
  .employer-dashboard-page .site-nav,
  .employer-dashboard-page .mobile-menu-button {
    display: none !important;
  }

  .jobseeker-dashboard-page .header-actions,
  .employer-dashboard-page .header-actions {
    display: flex;
    width: auto;
    min-width: 0;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
  }

  .jobseeker-dashboard-page .login-button,
  .jobseeker-dashboard-page .theme-button,
  .jobseeker-dashboard-page .language-select,
  .employer-dashboard-page .login-button,
  .employer-dashboard-page .theme-button,
  .employer-dashboard-page .language-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 9px;
    border-radius: 999px;
    line-height: 1;
    text-align: center;
  }

  .jobseeker-dashboard-page .login-button,
  .employer-dashboard-page .login-button {
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  .jobseeker-dashboard-page .login-button::before,
  .employer-dashboard-page .login-button::before {
    content: "Выйти";
    font-size: 11px;
  }

  .jobseeker-dashboard-page .theme-button span,
  .employer-dashboard-page .theme-button span {
    display: none;
  }

  .jobseeker-dashboard-page .theme-button svg,
  .jobseeker-dashboard-page .language-select svg,
  .employer-dashboard-page .theme-button svg,
  .employer-dashboard-page .language-select svg {
    width: 18px;
    height: 18px;
  }

  .jobseeker-dashboard-page .language-button,
  .employer-dashboard-page .language-button {
    font-size: 12px;
  }

  .jobseeker-dashboard-page.candidate-header-compact,
  .employer-dashboard-page.candidate-header-compact {
    --candidate-mobile-header-height: 64px;
  }

  .jobseeker-dashboard-page.candidate-header-compact .global-header,
  .employer-dashboard-page.candidate-header-compact .global-header {
    min-height: var(--candidate-mobile-header-height);
    padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
    box-shadow: 0 14px 34px rgba(12, 43, 85, 0.16);
  }

  .jobseeker-dashboard-page.candidate-header-compact .header-actions,
  .employer-dashboard-page.candidate-header-compact .header-actions {
    width: auto;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .jobseeker-dashboard-page.candidate-header-compact .brand-mark,
  .employer-dashboard-page.candidate-header-compact .brand-mark {
    width: 42px;
    height: 42px;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar {
    position: sticky;
    top: var(--candidate-mobile-header-height);
    z-index: 70;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px 42px 42px 42px;
    gap: 7px;
    align-items: center;
    margin: 0 0 14px;
    padding: 8px;
    border: 1px solid rgba(29, 104, 188, 0.16);
    border-radius: 0 0 22px 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 36px rgba(16, 64, 130, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .candidate-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, 42px);
    gap: 7px;
    align-items: center;
    justify-content: start;
  }

  .candidate-mobile-toolbar button,
  .candidate-mobile-toolbar a {
    position: relative;
    display: grid;
    width: 42px;
    min-width: 0;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(20, 143, 255, 0.24);
    border-radius: 50%;
    color: #071222;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 255, 0.86)),
      rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 10px 22px rgba(16, 64, 130, 0.08);
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
  }

  .candidate-mobile-toolbar button.is-empty {
    border-style: dashed;
    color: rgba(7, 18, 34, 0.24);
    background: rgba(255, 255, 255, 0.54);
  }

  .candidate-mobile-toolbar button.is-empty::before {
    content: "";
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .candidate-mobile-toolbar button.is-selected {
    border-color: rgba(20, 143, 255, 0.78);
    color: #fff;
    background: linear-gradient(135deg, #139bff, #5448de);
    box-shadow: 0 0 0 4px rgba(20, 143, 255, 0.14), 0 12px 24px rgba(13, 126, 255, 0.24);
  }

  .candidate-mobile-toolbar svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.15;
  }

  .candidate-mobile-toolbar small {
    position: absolute;
    right: -2px;
    bottom: -2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    color: #fff;
    background: #0d7be6;
    font-size: 9px;
    line-height: 15px;
    text-align: center;
  }

  .candidate-mobile-search-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    padding-top: 4px;
  }

  .candidate-mobile-resume-menu {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(20, 143, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 24px rgba(16, 64, 130, 0.08);
  }

  .candidate-mobile-resume-menu[hidden] {
    display: none;
  }

  .candidate-mobile-resume-menu > strong {
    color: rgba(7, 18, 34, 0.72);
    font-size: 11px;
    text-transform: uppercase;
  }

  .candidate-mobile-resume-menu [data-mobile-resume-menu-list] {
    display: grid;
    gap: 7px;
  }

  .candidate-mobile-resume-menu-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 42px 42px;
    gap: 8px;
    align-items: center;
    min-height: 42px;
    padding: 6px 8px;
    border: 1px solid rgba(20, 143, 255, 0.12);
    border-radius: 14px;
    background: rgba(245, 250, 255, 0.82);
    color: #071222;
    font-size: 12px;
    font-weight: 900;
  }

  .candidate-mobile-resume-menu-row span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    color: #148fff;
    background: rgba(224, 242, 254, 0.88);
  }

  .candidate-mobile-resume-menu-row svg {
    width: 18px;
    height: 18px;
  }

  .candidate-mobile-resume-menu-row b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .candidate-mobile-resume-menu-row input {
    width: 38px;
    height: 22px;
    accent-color: #16b86f;
  }

  .candidate-mobile-resume-menu-row i {
    color: rgba(7, 18, 34, 0.54);
    font-style: normal;
    font-size: 10px;
    text-align: right;
    white-space: nowrap;
  }

  .candidate-mobile-resume-menu-row.is-empty {
    color: rgba(7, 18, 34, 0.42);
  }

  .candidate-mobile-search-panel[hidden] {
    display: none;
  }

  .candidate-mobile-search-panel label:not(.candidate-mobile-eu-toggle) {
    display: grid;
    gap: 3px;
    color: rgba(7, 18, 34, 0.6);
    font-size: 9px;
    font-weight: 900;
  }

  .candidate-mobile-search-panel input[type="search"] {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(20, 143, 255, 0.2);
    border-radius: 14px;
    padding: 0 9px;
    color: #071222;
    background: rgba(255, 255, 255, 0.84);
    font: inherit;
    font-size: 16px;
    font-weight: 800;
  }

  .candidate-mobile-eu-toggle {
    display: grid;
    width: 58px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(20, 143, 255, 0.22);
    border-radius: 999px;
    color: #071222;
    background: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 900;
  }

  .candidate-mobile-eu-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .candidate-mobile-eu-toggle:has(input:checked) {
    color: #fff;
    background: linear-gradient(135deg, #139bff, #5448de);
  }

  .jobseeker-dashboard-page .candidate-dashboard {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
  }

  .jobseeker-dashboard-page .candidate-sidebar {
    display: none;
  }

  .jobseeker-dashboard-page .candidate-main-panel {
    min-height: calc(100vh - 230px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .jobseeker-dashboard-page .candidate-main-hero {
    display: none;
  }

  .jobseeker-dashboard-page .candidate-filters {
    display: none !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card {
    grid-template-columns: minmax(0, 1fr) 42px;
    grid-template-rows: 1fr auto;
    gap: 8px 10px;
    align-items: start;
    height: 136px;
    min-height: 136px;
    max-height: 136px;
    overflow: hidden;
    padding: 14px;
    border-radius: 18px;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card h3 {
    margin: 6px 0 5px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card > strong {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
  }

  .jobseeker-dashboard-page .candidate-vacancy-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40px 40px;
    align-self: stretch;
    align-content: space-between;
    justify-items: center;
    height: 108px;
    min-height: 108px;
    gap: 8px;
  }

  .jobseeker-dashboard-page .candidate-favorite-icon {
    grid-row: 1;
    justify-self: center;
    width: 40px;
    min-width: 40px !important;
    height: 40px;
  }

  .jobseeker-dashboard-page .candidate-review-indicator {
    grid-row: 2;
    align-self: end;
  }

  .jobseeker-dashboard-page .candidate-review-indicator {
    width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 50%;
  }

  .jobseeker-dashboard-page .koos-chat-widget {
    right: 14px;
    bottom: calc(var(--candidate-mobile-footer-height) + var(--candidate-mobile-stats-height) + 28px + env(safe-area-inset-bottom));
  }

  .jobseeker-dashboard-page .candidate-review-indicator span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .jobseeker-dashboard-page .candidate-stats-panel {
    position: fixed;
    right: 10px;
    bottom: calc(var(--candidate-mobile-footer-height) + 8px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 75;
    display: block;
    pointer-events: none;
  }

  .jobseeker-dashboard-page .candidate-stats-panel article:first-child {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 38px rgba(16, 64, 130, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: auto;
  }

  .jobseeker-dashboard-page .candidate-stats-panel article:first-child > .candidate-label,
  .jobseeker-dashboard-page .candidate-stats-panel article:first-child > h2,
  .jobseeker-dashboard-page .candidate-readiness {
    display: none;
  }

  .jobseeker-dashboard-page .candidate-stat,
  .jobseeker-dashboard-page .candidate-stat-button {
    min-height: 48px;
    grid-template-columns: 1fr;
    gap: 1px;
    justify-items: center;
    padding: 6px 3px;
    border: 1px solid rgba(25, 118, 210, 0.1);
    border-radius: 13px;
    background: rgba(238, 248, 255, 0.74);
    text-align: center;
  }

  .jobseeker-dashboard-page .candidate-stat-button {
    cursor: pointer;
  }

  .jobseeker-dashboard-page .candidate-stat:not(.candidate-stat-button) {
    cursor: default;
    pointer-events: none;
  }

  .jobseeker-dashboard-page .candidate-stat::before,
  .jobseeker-dashboard-page .candidate-stat-button::before {
    color: #148fff;
    content: attr(data-stat-icon);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
  }

  .jobseeker-dashboard-page .candidate-stat strong {
    font-size: 17px;
  }

  .jobseeker-dashboard-page .candidate-stat span {
    max-width: 100%;
    overflow: hidden;
    font-size: 0;
    line-height: 1;
    text-overflow: ellipsis;
  }

  .jobseeker-dashboard-page .candidate-stat span::first-letter {
    font-size: 0;
  }

  .jobseeker-dashboard-page .candidate-stat.candidate-stat-button.is-active {
    border-color: rgba(32, 178, 255, 0.62);
    background:
      radial-gradient(circle at 50% 50%, rgba(84, 214, 255, 0.28), transparent 70%),
      linear-gradient(135deg, rgba(20, 143, 255, 0.24), rgba(98, 80, 255, 0.22));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      0 0 0 1px rgba(84, 214, 255, 0.18),
      0 0 22px rgba(20, 143, 255, 0.24);
    transform: none;
  }

  .jobseeker-dashboard-page .site-footer {
    position: fixed;
    right: 10px;
    bottom: calc(6px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 74;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: var(--candidate-mobile-footer-height);
    margin: 0;
    padding: 6px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(16, 64, 130, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .jobseeker-dashboard-page .site-footer p {
    overflow: hidden;
    font-size: 10px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .jobseeker-dashboard-page .candidate-footer-toggle {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(20, 143, 255, 0.24);
    border-radius: 50%;
    color: #148fff;
    background: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
  }

  .jobseeker-dashboard-page .site-footer:not(.is-open) nav,
  .jobseeker-dashboard-page .site-footer:not(.is-open) address {
    display: none;
  }

  .jobseeker-dashboard-page .site-footer.is-open {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .jobseeker-dashboard-page .site-footer.is-open .candidate-footer-toggle {
    justify-self: end;
    transform: rotate(180deg);
  }

  .jobseeker-dashboard-page .site-footer.is-open p {
    white-space: normal;
    text-align: center;
  }

  .jobseeker-dashboard-page .site-footer.is-open nav,
  .jobseeker-dashboard-page .site-footer.is-open address {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    width: 100%;
    white-space: normal;
  }

  .jobseeker-dashboard-page .site-footer.is-open a {
    justify-content: center;
    min-height: 30px;
    white-space: normal;
  }

  .jobseeker-dashboard-page.candidate-scroll-down .site-footer {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .candidate-mobile-resume-menu [data-employer-mobile-vacancy-menu-list],
  .candidate-mobile-resume-menu [data-mobile-resume-menu-list] {
    display: grid;
    gap: 7px;
  }

  .candidate-mobile-resume-menu-row {
    grid-template-columns: 34px minmax(0, 1fr) 40px 34px 42px;
  }

  .candidate-mobile-menu-switch {
    display: grid;
    place-items: center;
  }

  .candidate-mobile-menu-delete {
    display: grid;
    width: 30px !important;
    height: 30px !important;
    min-height: 30px;
    place-items: center;
    border-color: rgba(233, 65, 85, 0.28) !important;
    color: #d92943 !important;
    background: rgba(255, 240, 243, 0.88) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 16px rgba(233, 65, 85, 0.08) !important;
    font-size: 18px !important;
    line-height: 1;
  }

  .candidate-mobile-menu-delete:disabled {
    opacity: 0.48;
    cursor: wait;
  }

  .employer-dashboard-page .candidate-mobile-toolbar {
    position: sticky;
    top: var(--candidate-mobile-header-height);
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    align-items: center;
    margin: 0 0 14px;
    padding: 10px;
    border: 1px solid rgba(29, 104, 188, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 36px rgba(16, 64, 130, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .employer-dashboard-page .candidate-mobile-toolbar button,
  .employer-dashboard-page .candidate-mobile-toolbar a {
    width: 100%;
    height: 44px;
    border-radius: 15px;
  }

  .employer-dashboard-page .candidate-mobile-toolbar svg {
    width: 22px;
    height: 22px;
  }

  .employer-dashboard-page .candidate-mobile-search-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .employer-dashboard-page .candidate-dashboard {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
  }

  .employer-dashboard-page .candidate-sidebar {
    display: grid;
    order: 1;
    gap: 12px;
  }

  .employer-dashboard-page .candidate-main-panel {
    order: 2;
  }

  .employer-dashboard-page .candidate-stats-panel {
    order: 3;
  }

  .employer-dashboard-page .employer-company-card,
  .employer-dashboard-page .candidate-main-hero,
  .employer-dashboard-page .candidate-filters,
  .employer-dashboard-page .employer-favorites-panel {
    display: none !important;
  }

  .employer-dashboard-page .employer-vacancies-card {
    display: grid;
    gap: 12px;
    padding: 15px;
    border-radius: 20px;
  }

  .employer-dashboard-page .employer-vacancies-card .candidate-section-head {
    align-items: center;
    gap: 10px;
  }

  .employer-dashboard-page .employer-vacancies-card .candidate-section-head h2 {
    font-size: 24px;
    line-height: 1.08;
  }

  .employer-dashboard-page .employer-vacancy-list {
    display: grid;
    gap: 10px;
    max-height: 282px;
    overflow-y: auto;
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .employer-dashboard-page .employer-vacancy-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    min-height: 142px;
    padding: 13px;
    border-radius: 18px;
  }

  .employer-dashboard-page .employer-vacancy-item .candidate-resume-copy {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .employer-dashboard-page .employer-vacancy-item .candidate-resume-copy strong,
  .employer-dashboard-page .employer-vacancy-item .candidate-resume-copy span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .employer-dashboard-page .employer-vacancy-item .candidate-resume-copy strong {
    -webkit-line-clamp: 2;
  }

  .employer-dashboard-page .employer-vacancy-item .candidate-resume-copy span {
    -webkit-line-clamp: 1;
  }

  .employer-dashboard-page .employer-vacancy-actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    margin-top: 4px;
    width: 100%;
    max-width: 100%;
  }

  .employer-dashboard-page .employer-vacancy-actions .candidate-edit-resume,
  .employer-dashboard-page .employer-vacancy-actions .candidate-delete-resume {
    display: inline-grid !important;
    place-items: center;
    justify-self: stretch;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: clamp(11px, 3vw, 12px);
    line-height: 1.05;
    text-align: center;
    white-space: normal;
  }

  .employer-dashboard-page .employer-vacancy-item .candidate-visibility-toggle {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .employer-dashboard-page .candidate-main-panel {
    min-height: calc(100vh - 230px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .employer-dashboard-page .employer-candidate-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: calc(100dvh - var(--candidate-mobile-header-height) - var(--candidate-mobile-toolbar-height) - var(--candidate-mobile-stats-height) - var(--candidate-mobile-footer-height) - 64px);
    overflow-y: auto;
    padding: 2px 0 calc(var(--candidate-mobile-stats-height) + var(--candidate-mobile-footer-height) + 34px);
    -webkit-overflow-scrolling: touch;
  }

  .employer-dashboard-page .employer-candidate-card {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: minmax(0, 1fr) 40px;
    gap: 12px;
    height: 164px;
    min-height: 164px;
    max-height: 164px;
    overflow: hidden;
    padding: 16px 18px;
    border-radius: 20px;
  }

  .employer-dashboard-page .employer-candidate-card > div:first-child {
    display: grid;
    min-width: 0;
    align-content: start;
  }

  .employer-dashboard-page .employer-candidate-card .candidate-match {
    width: max-content;
    max-width: 100%;
    margin-bottom: 6px;
  }

  .employer-dashboard-page .employer-candidate-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .employer-dashboard-page .employer-candidate-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .employer-dashboard-page .employer-candidate-open {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 14px;
  }

  .employer-dashboard-page .employer-resume-favorite {
    grid-column: 2;
    grid-row: 1;
    width: 40px;
    height: 40px;
    align-self: start;
    justify-self: end;
    border-radius: 50%;
  }

  .employer-dashboard-page .candidate-stats-panel {
    position: fixed;
    right: 10px;
    bottom: calc(var(--candidate-mobile-footer-height) + 8px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 75;
    display: block;
    pointer-events: none;
  }

  .employer-dashboard-page .candidate-stats-panel article:first-child {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 38px rgba(16, 64, 130, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: auto;
  }

  .employer-dashboard-page .candidate-stats-panel article:first-child > .candidate-label,
  .employer-dashboard-page .candidate-stats-panel article:first-child > h2,
  .employer-dashboard-page .employer-stat-main,
  .employer-dashboard-page .employer-bars,
  .employer-dashboard-page .employer-meter,
  .employer-dashboard-page .employer-growth {
    display: none !important;
  }

  .employer-dashboard-page .candidate-stat {
    display: grid;
    min-height: 48px;
    grid-template-columns: 1fr;
    gap: 1px;
    justify-items: center;
    padding: 6px 3px;
    border: 1px solid rgba(25, 118, 210, 0.1);
    border-radius: 13px;
    background: rgba(238, 248, 255, 0.74);
    text-align: center;
  }

  .employer-dashboard-page .candidate-stat::before {
    color: #148fff;
    content: attr(data-stat-icon);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
  }

  .employer-dashboard-page .candidate-stat strong {
    color: #071222;
    font-size: 17px;
    line-height: 1;
  }

  .employer-dashboard-page .candidate-stat span {
    overflow: hidden;
    max-width: 100%;
    color: rgba(7, 18, 34, 0.58);
    font-size: 0;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .employer-dashboard-page .site-footer {
    position: fixed;
    right: 10px;
    bottom: calc(6px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 74;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: var(--candidate-mobile-footer-height);
    margin: 0;
    padding: 6px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(16, 64, 130, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .employer-dashboard-page .site-footer p {
    overflow: hidden;
    font-size: 10px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .employer-dashboard-page .candidate-footer-toggle {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(20, 143, 255, 0.24);
    border-radius: 50%;
    color: #148fff;
    background: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
  }

  .employer-dashboard-page .site-footer:not(.is-open) nav,
  .employer-dashboard-page .site-footer:not(.is-open) address {
    display: none;
  }

  .employer-dashboard-page .site-footer.is-open {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .employer-dashboard-page .site-footer.is-open .candidate-footer-toggle {
    justify-self: end;
    transform: rotate(180deg);
  }

  .employer-dashboard-page .site-footer.is-open p {
    white-space: normal;
    text-align: center;
  }

  .employer-dashboard-page .site-footer.is-open nav,
  .employer-dashboard-page .site-footer.is-open address {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    width: 100%;
    white-space: normal;
  }

  .employer-dashboard-page .site-footer.is-open a {
    justify-content: center;
    min-height: 30px;
    white-space: normal;
  }

  .employer-dashboard-page .koos-chat-widget {
    right: 14px;
    bottom: calc(var(--candidate-mobile-footer-height) + var(--candidate-mobile-stats-height) + 28px + env(safe-area-inset-bottom));
  }

  .employer-dashboard-page .koos-chat-launcher {
    min-height: 50px;
    padding: 0 16px;
  }

  .employer-dashboard-page .koos-chat-window {
    position: fixed;
    inset: calc(var(--candidate-mobile-header-height) + 10px) 10px calc(var(--candidate-mobile-footer-height) + var(--candidate-mobile-stats-height) + 86px + env(safe-area-inset-bottom));
    width: auto;
    max-height: none;
    border-radius: 22px;
  }

  .employer-dashboard-page .koos-chat-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    height: calc(100% - 61px);
  }

  .employer-dashboard-page .koos-chat-thread-list {
    max-height: 154px;
    border-right: 0;
    border-bottom: 1px solid rgba(20, 143, 255, 0.12);
  }

  .employer-dashboard-page .koos-chat-dialog {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .jobseeker-dashboard-page .candidate-mobile-toolbar {
    grid-template-columns: minmax(0, 1fr) 40px 40px 40px 40px;
    gap: 6px;
  }

  .candidate-mobile-actions {
    grid-template-columns: repeat(3, 40px);
    gap: 6px;
  }

  .candidate-mobile-toolbar button,
  .candidate-mobile-toolbar a {
    width: 40px;
    height: 40px;
  }

  .candidate-mobile-search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .candidate-mobile-eu-toggle {
    grid-column: 2;
    justify-self: end;
  }

  .employer-dashboard-page .candidate-mobile-toolbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .employer-dashboard-page .candidate-mobile-toolbar button,
  .employer-dashboard-page .candidate-mobile-toolbar a {
    width: 100%;
    height: 44px;
  }

  .employer-dashboard-page .candidate-mobile-search-panel {
    grid-template-columns: 1fr;
  }
}

body.light .people-audience-switch,
body.light .people-pain,
body.light .people-ai-data,
body.light .people-product-demo,
body.light .people-employer-path,
body.light .people-brand-map {
  border-color: rgba(36, 91, 180, 0.18);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 54px rgba(31, 74, 130, 0.1);
}

body.light .people-audience-tabs button,
body.light .people-audience-tabs a,
body.light .people-audience-tabs span,
body.light .people-pain-grid article,
body.light .people-ai-data-grid article,
body.light .people-demo-card,
body.light .people-employer-path li,
body.light .people-brand-grid article {
  border-color: rgba(36, 91, 180, 0.16);
  background: rgba(255, 255, 255, 0.68);
}

body.light .people-audience-tabs button.active,
body.light .people-audience-tabs a.active,
body.light .people-audience-tabs span.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 140, 255, 0.9), rgba(38, 196, 255, 0.28));
}

body.light .people-audience-seo article {
  border-color: rgba(36, 91, 180, 0.16);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 22px rgba(13, 140, 255, 0.05);
}

body.light .people-audience-seo strong {
  color: #07101f;
}

body.light .people-demo-card h3,
body.light .people-employer-path strong,
body.light .people-brand-grid strong {
  color: #07101f;
}

body.light .people-demo-tags b {
  color: #07101f;
  background: rgba(13, 140, 255, 0.08);
}

.public-jobs-page {
  min-height: 100vh;
  color: #f6f8ff;
  background:
    radial-gradient(circle at 16% 14%, rgba(20, 143, 255, 0.2), transparent 26rem),
    radial-gradient(circle at 82% 18%, rgba(116, 87, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #020611 0%, #06122a 52%, #020611 100%);
}

.public-jobs-shell {
  width: min(95vw, 1680px);
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 22px 0 56px;
}

.public-jobs-page-shell {
  width: min(95vw, 1880px);
  max-width: calc(100% - 32px);
}

.public-jobs-page .global-header {
  gap: clamp(10px, 1.2vw, 18px);
}

.public-jobs-page .site-nav {
  gap: clamp(12px, 1.35vw, 26px);
  font-size: clamp(11px, 0.72vw, 13px);
}

.public-jobs-page .login-button {
  padding-inline: clamp(14px, 1.1vw, 18px);
}

@media (max-width: 1420px) {
  .public-jobs-page .global-header {
    flex-wrap: wrap;
    align-items: center;
  }

  .public-jobs-page .site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .public-jobs-page .header-actions {
    margin-left: auto;
  }
}

.public-jobs-header {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 24px;
}

.public-jobs-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.public-jobs-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(20, 143, 255, 0.28);
}

.public-jobs-brand span {
  display: grid;
  gap: 2px;
}

.public-jobs-brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.public-jobs-brand small,
.public-job-meta,
.public-vacancy-hero p,
.public-vacancy-grid p {
  color: rgba(222, 235, 255, 0.74);
}

.public-jobs-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.public-jobs-header nav a {
  min-height: 42px;
  border: 1px solid rgba(38, 196, 255, 0.22);
  border-radius: 999px;
  padding: 10px 16px;
  color: #f6f8ff;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  font-weight: 900;
}

.public-jobs-hero,
.public-jobs-filter,
.public-jobs-empty,
.public-job-card,
.public-vacancy-hero,
.public-vacancy-grid > div {
  border: 1px solid rgba(38, 196, 255, 0.2);
  background:
    radial-gradient(circle at 12% 16%, rgba(38, 196, 255, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028)),
    rgba(3, 10, 27, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 22px 64px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.public-jobs-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border-radius: 28px;
  padding: clamp(26px, 4vw, 48px);
}

.public-jobs-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(44%, 520px);
  background:
    linear-gradient(90deg, rgba(3, 10, 27, 0.96), rgba(3, 10, 27, 0.4) 38%, rgba(3, 10, 27, 0.08)),
    url("/assets/platform-speed/v489/hero.webp") center / cover no-repeat;
  opacity: 0.68;
  pointer-events: none;
}

.public-jobs-hero > * {
  position: relative;
  z-index: 1;
}

.public-jobs-hero h1,
.public-vacancy-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.public-jobs-hero p:not(.about-kicker),
.public-vacancy-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.56;
}

.public-jobs-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(150px, 0.85fr) minmax(150px, 0.85fr) minmax(140px, 0.75fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  border-radius: 22px;
  padding: 18px;
}

.public-jobs-filter .about-primary {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 220px;
  width: auto;
}

.public-jobs-filter label {
  display: grid;
  gap: 7px;
  color: rgba(222, 235, 255, 0.74);
  font-size: 13px;
  font-weight: 900;
}

.public-jobs-filter input,
.public-jobs-filter select {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  min-height: 46px;
  border: 1px solid rgba(143, 202, 255, 0.24);
  border-radius: 14px;
  padding: 10px 12px;
  color: #f6f8ff;
  background: rgba(255, 255, 255, 0.075);
  font: inherit;
  line-height: 1.2;
}

.public-jobs-filter select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background:
    linear-gradient(45deg, transparent 50%, rgba(246, 248, 255, 0.86) 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(246, 248, 255, 0.86) 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.075);
}

.public-jobs-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 16px;
  margin-top: 18px;
}

.public-job-card {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(80vw, 1180px);
  max-width: 100%;
  min-height: 0;
  border-radius: 22px;
  padding: clamp(20px, 2vw, 28px);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.public-job-card:hover {
  border-color: rgba(38, 196, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 26px 72px rgba(0, 141, 255, 0.18);
  transform: translateY(-2px);
}

.public-job-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none;
}

.public-job-card > *:not(.public-job-card-link) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.public-job-card-head,
.public-job-card footer,
.public-vacancy-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.public-job-card-head span,
.public-vacancy-facts span {
  border: 1px solid rgba(38, 196, 255, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
  color: #61d8ff;
  background: rgba(38, 196, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.public-job-card-head .public-job-language-badge {
  color: #d8e7ff;
  background: rgba(124, 92, 255, 0.18);
  border-color: rgba(124, 92, 255, 0.35);
}

.public-job-card-head strong {
  color: #fff;
  font-size: 14px;
}

.public-job-card h2 {
  margin: 0;
  font-family: inherit;
  font-size: 26px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.public-job-card h2 a,
.public-job-card footer a,
.resume-back-button {
  color: #f6f8ff;
  text-decoration: none;
}

.public-job-card p {
  margin: 0;
  color: rgba(222, 235, 255, 0.78);
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.public-job-card footer {
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(38, 196, 255, 0.14);
  color: rgba(222, 235, 255, 0.7);
  font-weight: 800;
}

.public-job-card footer a,
.resume-back-button {
  border: 1px solid rgba(38, 196, 255, 0.28);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(38, 196, 255, 0.08);
  font-weight: 900;
}

.public-jobs-empty {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-radius: 22px;
  padding: 26px;
}

.public-jobs-empty h1,
.public-jobs-empty h2 {
  margin: 0;
}

.public-vacancy {
  display: grid;
  gap: 18px;
  width: min(60vw, 1120px);
  max-width: 100%;
  margin-inline: auto;
}

.public-vacancy-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  border-radius: 28px;
  padding: clamp(26px, 4vw, 50px);
}

.public-vacancy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 27, 0.92), rgba(3, 10, 27, 0.78) 52%, rgba(3, 10, 27, 0.2)),
    url("/assets/platform-speed/v489/hero.webp") right center / cover no-repeat;
  opacity: 0.56;
  pointer-events: none;
}

.public-vacancy-hero > * {
  position: relative;
  z-index: 1;
}

.public-vacancy-facts {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(150px, 0.8fr));
  align-items: stretch;
  justify-content: stretch;
  max-width: 900px;
}

.public-vacancy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.public-vacancy-actions .about-primary,
.public-vacancy-actions .about-secondary {
  min-width: min(220px, 100%);
  justify-content: center;
}

.public-vacancy-share-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 760px;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.075);
}

.public-vacancy-share-panel[hidden] {
  display: none !important;
}

.public-vacancy-share-panel a,
.public-vacancy-share-panel button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(38, 196, 255, 0.22);
  border-radius: 999px;
  padding: 8px 13px;
  color: #f6f8ff;
  background: rgba(38, 196, 255, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.public-vacancy-facts span {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 150px;
  border-radius: 18px;
  padding: 14px 16px;
  color: rgba(222, 235, 255, 0.74);
}

.public-vacancy-facts small {
  color: #61d8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-vacancy-facts strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.public-vacancy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.public-vacancy-grid > div {
  border-radius: 22px;
  padding: clamp(22px, 2.6vw, 34px);
}

.public-vacancy-grid h2 {
  margin: 0 0 10px;
  color: #fff;
}

.public-vacancy-grid p {
  max-width: 1180px;
  font-size: clamp(16px, 1.12vw, 20px);
  line-height: 1.68;
}

.public-vacancy-register {
  display: flex;
}

.public-vacancy-register .about-primary {
  width: 100%;
  min-height: 62px;
  justify-content: center;
  text-align: center;
  font-size: clamp(16px, 1.8vw, 22px);
}

body.light.public-jobs-page {
  color: #071222;
  background:
    radial-gradient(circle at 14% 10%, rgba(13, 140, 255, 0.13), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(124, 92, 255, 0.11), transparent 26rem),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 50%, #f8fbff 100%);
}

body.light.public-jobs-page .public-jobs-hero,
body.light.public-jobs-page .public-jobs-filter,
body.light.public-jobs-page .public-jobs-empty,
body.light.public-jobs-page .public-job-card,
body.light.public-jobs-page .public-vacancy-hero,
body.light.public-jobs-page .public-vacancy-grid > div {
  border-color: rgba(22, 99, 210, 0.16);
  background:
    radial-gradient(circle at 12% 16%, rgba(13, 140, 255, 0.08), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 22px 54px rgba(31, 74, 130, 0.11);
}

body.light.public-jobs-page .public-jobs-hero::after {
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98), rgba(247, 251, 255, 0.64) 42%, rgba(247, 251, 255, 0.08)),
    url("/assets/platform-speed/v489/hero.webp") center / cover no-repeat;
  opacity: 0.52;
}

body.light.public-jobs-page .public-vacancy-hero::after {
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98), rgba(247, 251, 255, 0.72) 52%, rgba(247, 251, 255, 0.16)),
    url("/assets/platform-speed/v489/hero.webp") right center / cover no-repeat;
  opacity: 0.5;
}

body.light.public-jobs-page .public-jobs-brand,
body.light.public-jobs-page .public-job-card h2,
body.light.public-jobs-page .public-vacancy-hero h1,
body.light.public-jobs-page .public-vacancy-grid h2,
body.light.public-jobs-page .public-job-card-head strong,
body.light.public-jobs-page .public-vacancy-facts strong,
body.light.public-jobs-page .resume-back-button {
  color: #071222;
}

/* Desktop vacancy intake: the import assistant is intentionally absent on mobile. */
.vacancy-ai-import {
  display: none;
}

.public-job-card-visual {
  display: none;
}

@media (min-width: 821px) {
  .vacancy-ai-import {
    display: grid;
    gap: 22px;
    border-color: rgba(48, 199, 255, 0.42);
    background:
      radial-gradient(circle at 88% 12%, rgba(96, 85, 255, 0.2), transparent 21rem),
      linear-gradient(145deg, rgba(7, 38, 70, 0.98), rgba(11, 27, 58, 0.97));
  }

  .vacancy-ai-import-tabs {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 8px;
    width: min(100%, 620px);
    padding: 7px;
    border: 1px solid rgba(95, 192, 255, 0.22);
    border-radius: 18px;
    background: rgba(2, 13, 31, 0.48);
  }

  .vacancy-ai-import-tabs button {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: rgba(223, 236, 255, 0.78);
    background: transparent;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
  }

  .vacancy-ai-import-tabs button.is-active {
    border-color: rgba(53, 200, 255, 0.5);
    color: #fff;
    background: linear-gradient(135deg, rgba(29, 164, 255, 0.32), rgba(104, 80, 255, 0.3));
    box-shadow: 0 10px 28px rgba(20, 125, 255, 0.14);
  }

  .vacancy-ai-import-source label {
    display: grid;
    gap: 9px;
  }

  .vacancy-ai-import-source label > span {
    color: #dbe9ff;
    font-weight: 850;
  }

  .vacancy-ai-import-source :is(input[type="url"], input[type="file"], textarea) {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(79, 181, 255, 0.35);
    border-radius: 18px;
    padding: 16px 18px;
    color: #f7fbff;
    background: rgba(2, 12, 29, 0.64);
    font: inherit;
  }

  .vacancy-ai-import-source textarea {
    resize: vertical;
    min-height: 150px;
  }

  .vacancy-ai-import-file input {
    cursor: pointer;
  }

  .vacancy-ai-import-actions {
    display: flex;
    gap: 18px;
    align-items: center;
  }

  .vacancy-ai-import-actions .resume-ai-action {
    position: static;
    display: inline-flex;
    gap: 10px;
    width: auto;
    min-width: 220px;
    min-height: 52px;
    padding: 12px 20px;
    border: 1px solid rgba(51, 209, 255, 0.72);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #149bff, #6150eb);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
  }

  .vacancy-ai-import-actions p {
    margin: 0;
    color: rgba(218, 234, 255, 0.74);
  }

  .vacancy-ai-import-actions p[data-status="success"] { color: #71e7be; }
  .vacancy-ai-import-actions p[data-status="error"] { color: #ff9eb0; }
  .vacancy-ai-import-actions p[data-status="pending"] { color: #6fdcff; }

  .employer-vacancy-form :is(input, select, textarea).is-ai-filled {
    border-color: rgba(61, 216, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(61, 216, 255, 0.18), 0 0 24px rgba(36, 167, 255, 0.09);
  }

  .public-job-card {
    min-height: 300px;
    padding-left: clamp(310px, 29vw, 390px);
    overflow: hidden;
  }

  .public-job-card-visual {
    position: absolute !important;
    inset: 0 auto 0 0;
    z-index: 0 !important;
    display: block;
    width: clamp(270px, 27vw, 350px);
    overflow: hidden;
    border-right: 1px solid rgba(70, 196, 255, 0.22);
    pointer-events: none;
  }

  .public-job-card-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 15, 34, 0.08), rgba(2, 15, 34, 0.18) 58%, rgba(8, 28, 56, 0.94));
  }

  .public-job-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.04);
  }

  body.light.public-jobs-page .public-job-card-visual::after {
    background: linear-gradient(90deg, rgba(244, 249, 255, 0.04), rgba(244, 249, 255, 0.08) 58%, rgba(244, 249, 255, 0.92));
  }
}

body.light.public-jobs-page .public-jobs-brand small,
body.light.public-jobs-page .public-job-meta,
body.light.public-jobs-page .public-job-card p,
body.light.public-jobs-page .public-job-card footer,
body.light.public-jobs-page .public-vacancy-hero p,
body.light.public-jobs-page .public-vacancy-grid p,
body.light.public-jobs-page .public-jobs-filter label,
body.light.public-jobs-page .public-vacancy-facts span {
  color: rgba(7, 18, 34, 0.68);
}

body.light.public-jobs-page .public-jobs-filter input,
body.light.public-jobs-page .public-jobs-filter select {
  border-color: rgba(22, 99, 210, 0.18);
  color: #071222;
  background: rgba(255, 255, 255, 0.74);
}

body.light.public-jobs-page .public-jobs-filter select {
  background:
    linear-gradient(45deg, transparent 50%, rgba(7, 18, 34, 0.78) 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(7, 18, 34, 0.78) 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.74);
}

body.light.public-jobs-page .public-job-card footer a,
body.light.public-jobs-page .resume-back-button,
body.light.public-jobs-page .public-job-card-head span,
body.light.public-jobs-page .public-vacancy-facts span {
  border-color: rgba(22, 99, 210, 0.18);
  background: rgba(13, 140, 255, 0.08);
}

@media (max-width: 760px) {
  .public-jobs-shell {
    width: min(100% - 24px, 520px);
    max-width: none;
    padding: 14px 0 38px;
  }

  .public-jobs-header {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 10px 0 16px;
    text-align: center;
  }

  .public-jobs-brand {
    justify-content: center;
  }

  .public-jobs-brand img {
    width: 52px;
    height: 52px;
  }

  .public-jobs-header nav {
    width: 100%;
    justify-content: center;
  }

  .public-jobs-header nav a {
    flex: 1 1 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .public-jobs-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: 24px;
    padding: 24px;
  }

  .public-jobs-hero::after,
  .public-vacancy-hero::after {
    inset: auto 0 0;
    width: 100%;
    height: 42%;
    background:
      linear-gradient(180deg, rgba(3, 10, 27, 0), rgba(3, 10, 27, 0.92)),
      url("/assets/platform-speed/v489/hero.webp") center / cover no-repeat;
    opacity: 0.38;
  }

  .public-jobs-hero h1,
  .public-vacancy-hero h1 {
    font-size: clamp(32px, 12vw, 52px);
    line-height: 1;
  }

  .public-jobs-hero p:not(.about-kicker),
  .public-vacancy-hero p {
    font-size: 16px;
  }

  .public-jobs-filter {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .public-jobs-list,
  .public-vacancy-grid {
    grid-template-columns: 1fr;
  }

  .public-job-card {
    width: 100%;
    min-height: 0;
    padding: 18px;
  }

  .public-vacancy {
    width: 100%;
  }

  .public-job-card footer {
    align-items: stretch;
  }

  .public-job-card footer a,
  .resume-back-button,
  .public-jobs-filter button,
  .public-jobs-hero .about-primary,
  .public-vacancy-hero .about-primary,
  .public-vacancy-hero .about-secondary {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .public-vacancy-actions,
  .public-vacancy-share-panel,
  .public-vacancy-register {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-vacancy-hero {
    border-radius: 24px;
    padding: 24px;
  }

  .public-vacancy-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.light.public-jobs-page .public-jobs-hero::after,
  body.light.public-jobs-page .public-vacancy-hero::after {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0), rgba(247, 251, 255, 0.94)),
      url("/assets/platform-speed/v489/hero.webp") center / cover no-repeat;
    opacity: 0.44;
  }
}

@media (max-width: 1180px) {
  .global-header {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-bottom: 12px;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .people-platform {
    grid-template-columns: 1fr;
  }

  .people-intake-grid {
    grid-template-columns: 1fr;
  }

  .people-pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-demo-board,
  .people-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-employer-path {
    grid-template-columns: 1fr;
  }

  .people-ai-data {
    grid-template-columns: 1fr;
  }

  .account-hero,
  .account-auth,
  .account-next,
  .resume-hero,
  .resume-register {
    grid-template-columns: 1fr;
  }

  .account-hero {
    min-height: auto;
    padding: 32px;
  }

  .account-hero-proof {
    display: none;
  }

  .account-hero-image {
    object-position: 58% center;
  }

  .account-next-actions {
    justify-content: flex-start;
  }

  .resume-register-grid,
  .resume-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .people-page main {
    display: flex;
    flex-direction: column;
  }

  .people-hero {
    order: 1;
  }

  .people-pain {
    order: 2;
  }

  .people-product-demo {
    order: 3;
  }

  .people-employer-path {
    order: 4;
  }

  .people-brand-map {
    order: 5;
  }

  .people-ai-data {
    order: 6;
  }

  .people-faq {
    order: 7;
  }

  .people-cta {
    order: 8;
  }

  .people-carousel-section {
    order: 9;
  }

  .people-platform {
    order: 10;
  }

  .people-work {
    order: 11;
  }

  .platform-cards {
    grid-template-columns: 1fr;
  }

  .people-hero-copy {
    max-width: none;
  }

  .people-login-link {
    width: 100%;
  }

  .people-ai-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-demo-board,
  .people-brand-grid {
    grid-template-columns: 1fr;
  }

  #jobseeker-form {
    order: -1;
  }

  .km-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .km-showcase-grid-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .km-solution-grid,
  .km-process-grid,
  .km-included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .people-hero .about-actions {
    display: none;
  }

  .people-audience-switch {
    margin-top: 18px;
    padding: 10px;
  }

  .account-hero {
    padding: 24px 16px;
    border-radius: 24px;
  }

  .account-hero::before {
    background:
      linear-gradient(180deg, rgba(1, 5, 14, 0.9) 0%, rgba(1, 5, 14, 0.62) 42%, rgba(1, 5, 14, 0.92) 100%);
  }

  body.light .account-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.58) 42%, rgba(255, 255, 255, 0.94) 100%);
  }

  .account-panel {
    padding: 20px 16px;
  }

  .account-role-grid,
  .account-email-choice-actions {
    grid-template-columns: 1fr;
  }

  .account-role-card {
    grid-template-columns: 1fr;
  }

  .account-role-card svg {
    grid-row: auto;
  }

  .people-audience-seo {
    grid-template-columns: 1fr;
  }

  .people-audience-panel {
    padding-top: 14px;
  }

  .people-pain-grid article {
    min-height: auto;
    padding: 18px 16px;
  }

  .people-pain-grid h3 {
    margin-top: 16px;
  }

  .people-platform {
    padding: 22px 16px;
  }

  .platform-actions a {
    width: 100%;
  }

  .people-intake {
    padding: 22px 16px;
  }

  .people-audience-tabs,
  .people-pain-grid,
  .people-ai-data-grid {
    grid-template-columns: 1fr;
  }

  .people-pain,
  .people-ai-data {
    padding: 22px 16px;
  }

  .km-showcases,
  .km-pain,
  .km-process,
  .km-included,
  .km-faq {
    padding: 22px 16px;
  }

  .km-solution-grid,
  .km-pain-grid,
  .km-process-grid,
  .km-included-grid,
  .km-showcase-grid {
    grid-template-columns: 1fr;
  }

  .km-showcase-card {
    min-height: auto;
  }

}

.header-actions .login-button {
  min-width: 148px;
}

.cookie-consent {
  position: relative;
  z-index: 1400;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  width: min(780px, calc(100vw - 48px));
  padding: 22px;
  border: 1px solid rgba(38, 196, 255, 0.32);
  border-radius: 24px;
  color: var(--text);
  background: rgba(4, 8, 19, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), inset 0 0 26px rgba(38, 196, 255, 0.06);
  backdrop-filter: blur(18px);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner h2,
.cookie-modal-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-banner a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue-soft);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-primary,
.cookie-secondary,
.cookie-manage,
.cookie-close {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.cookie-primary,
.cookie-secondary {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.cookie-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 24px rgba(38, 196, 255, 0.28);
}

.cookie-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.cookie-manage {
  position: fixed;
  left: 18px;
  bottom: 76px;
  z-index: 85;
  display: none;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(38, 196, 255, 0.36);
  border-radius: 999px;
  color: var(--text);
  background: rgba(4, 8, 19, 0.76);
  box-shadow: 0 0 20px rgba(38, 196, 255, 0.14);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 700;
}

.cookie-manage.is-visible {
  display: inline-flex;
  align-items: center;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(1, 4, 12, 0.72);
  backdrop-filter: blur(10px);
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid rgba(38, 196, 255, 0.3);
  border-radius: 26px;
  color: var(--text);
  background: rgba(4, 8, 19, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.cookie-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 24px;
  line-height: 1;
}

.cookie-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.cookie-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-option.disabled {
  opacity: 0.78;
}

body.light .cookie-banner,
body.light .cookie-modal-card,
body.light .cookie-manage {
  color: #071222;
  border-color: rgba(22, 99, 210, 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(31, 74, 130, 0.18);
}

body.light .cookie-secondary,
body.light .cookie-close,
body.light .cookie-option {
  color: #071222;
  border-color: rgba(36, 91, 180, 0.14);
  background: rgba(239, 246, 255, 0.8);
}

.legal-panel {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 12%, rgba(38, 196, 255, 0.1), transparent 20rem),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.legal-panel h2 {
  margin-top: 0;
}

.legal-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.legal-table article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.legal-table strong {
  display: block;
  margin-bottom: 10px;
}

.legal-sections {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.legal-summary-grid article {
  padding: 20px;
  border: 1px solid rgba(38, 196, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.legal-summary-grid strong,
.legal-summary-grid span {
  display: block;
}

.legal-summary-grid span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.legal-sections details {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.legal-sections details[open] {
  border-color: rgba(38, 196, 255, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.legal-sections summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

.legal-sections summary::-webkit-details-marker {
  display: none;
}

.legal-sections summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(38, 196, 255, 0.24);
  border-radius: 50%;
  color: var(--blue-soft);
  font-size: 22px;
  font-weight: 700;
}

.legal-sections details[open] summary::after {
  content: "−";
}

.legal-sections summary span,
.legal-sections summary small {
  display: block;
}

.legal-sections summary span {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}

.legal-sections summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.legal-sections details > div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.legal-sections ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-sections h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

body.light .legal-panel,
body.light .legal-table article {
  border-color: rgba(36, 91, 180, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

body.light .privacy-consent,
body.light .legal-summary-grid article,
body.light .legal-sections details {
  border-color: rgba(36, 91, 180, 0.14);
  color: rgba(7, 18, 34, 0.72);
  background: rgba(255, 255, 255, 0.72);
}

body.light .legal-sections details[open] {
  border-color: rgba(22, 99, 210, 0.28);
}

body.light .legal-sections details > div {
  border-top-color: rgba(36, 91, 180, 0.12);
}

.about-page .site-footer {
  grid-template-columns: minmax(185px, 0.95fr) minmax(0, 1.85fr) minmax(190px, 0.95fr);
  column-gap: 12px;
  font-size: clamp(10.5px, 0.72vw, 12px);
}

.about-page .site-footer nav,
.about-page .site-footer address {
  gap: clamp(8px, 0.9vw, 16px);
}

.about-page .site-footer a {
  gap: 6px;
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 2.5vw, 34px);
  bottom: clamp(18px, 2.5vw, 34px);
  z-index: 90;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 14px;
  border: 1px solid rgba(38, 196, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 140, 255, 0.68), rgba(155, 88, 255, 0.68)),
    rgba(4, 10, 25, 0.76);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28), 0 0 28px rgba(13, 140, 255, 0.18);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(14px - var(--koos-footer-lift, 0px)));
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(calc(-1 * var(--koos-footer-lift, 0px)));
}

.back-to-top:hover {
  border-color: rgba(246, 248, 255, 0.48);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34), 0 0 34px rgba(155, 88, 255, 0.26);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

body.light .back-to-top {
  color: #071222;
  border-color: rgba(36, 91, 180, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(226, 238, 255, 0.72)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(36, 91, 180, 0.16), 0 0 24px rgba(13, 140, 255, 0.14);
}

@media (max-width: 520px) {
  .about-founder-art {
    width: min(100%, 360px);
    min-height: 500px;
  }

  .about-founder-art img {
    height: 500px;
  }
}

.resume-detail-page {
  background:
    radial-gradient(circle at 78% 10%, rgba(23, 157, 255, 0.13), transparent 32rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #ffffff 100%);
  color: #071222;
}

.resume-detail-shell {
  max-width: 1040px;
}

.resume-back-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 18px;
  border: 1px solid rgba(20, 143, 255, 0.28);
  border-radius: 999px;
  color: #071222;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 244, 255, 0.84)),
    rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(18, 98, 190, 0.14), 0 0 24px rgba(20, 143, 255, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.resume-back-button:hover,
.resume-back-button:focus-visible {
  border-color: rgba(20, 143, 255, 0.52);
  box-shadow: 0 18px 46px rgba(18, 98, 190, 0.18), 0 0 30px rgba(20, 143, 255, 0.16);
  transform: translateY(-1px);
}

.resume-back-button svg {
  width: 19px;
  height: 19px;
  color: #148fff;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.resume-detail-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 20px;
  align-items: center;
  margin-top: 26px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(18, 57, 106, 0.1);
}

.resume-detail-toolbar h1 {
  margin: 0;
  color: #071222;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.vacancy-detail-page .resume-detail-toolbar > div:first-child {
  min-width: 0;
}

.vacancy-detail-page .resume-detail-toolbar h1 {
  max-width: 100%;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.05;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.vacancy-detail-language-controls {
  margin-top: 18px;
}

@media (min-width: 701px) {
  .vacancy-detail-page .resume-detail-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
    align-items: start;
  }
}

@media (max-width: 700px) {
  .vacancy-detail-page .resume-detail-toolbar h1 {
    font-size: clamp(27px, 9vw, 40px);
  }

  .vacancy-detail-page .resume-detail-status {
    width: 100%;
    min-height: 112px;
  }
}

.resume-detail-toolbar p:not(.koosjobs-kicker) {
  color: rgba(7, 18, 34, 0.66);
}

.resume-detail-status {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 18px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, #071222, #132a56 58%, #1c2162);
  text-align: center;
}

.resume-detail-status strong {
  font-size: 52px;
  line-height: 1;
}

.resume-detail-status span {
  color: rgba(235, 246, 255, 0.72);
  font-weight: 800;
}

.resume-document {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 57, 106, 0.12);
}

.resume-document-head {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(25, 118, 210, 0.12);
}

.resume-document-head p {
  margin: 0 0 8px;
  color: #168bff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-document-head h2 {
  margin: 0;
  color: #071222;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.resume-document-head span,
.resume-document section p,
.resume-document section div {
  color: rgba(7, 18, 34, 0.72);
  line-height: 1.58;
}

.resume-document-head img {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.resume-document section {
  padding: 18px;
  border: 1px solid rgba(25, 118, 210, 0.1);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.78);
}

.resume-document h3 {
  margin: 0 0 8px;
  color: #071222;
  font-size: 18px;
}

.resume-document [contenteditable="true"] {
  outline: 2px solid rgba(20, 143, 255, 0.28);
  outline-offset: 5px;
  border-radius: 8px;
  background: rgba(20, 143, 255, 0.06);
}

.resume-detail-actions {
  position: sticky;
  bottom: 18px;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(16, 64, 130, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 18, 34, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.resume-modal[hidden] {
  display: none;
}

.resume-modal-panel {
  width: min(520px, 100%);
  padding: 26px;
  border: 1px solid rgba(38, 196, 255, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.resume-modal-panel h2 {
  margin: 0;
  color: #071222;
}

.resume-modal-panel p {
  color: rgba(7, 18, 34, 0.68);
}

.resume-modal-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.employer-chat-invite-panel {
  width: min(620px, 100%);
}

.employer-chat-invite-list {
  display: grid !important;
  gap: 10px;
  margin: 20px 0 12px;
}

.employer-chat-invite-list button {
  width: 100%;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(25, 151, 239, 0.35);
  border-radius: 14px;
  background: rgba(14, 57, 102, 0.08);
  color: #071222;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.employer-chat-invite-list button:hover,
.employer-chat-invite-list button:focus-visible {
  border-color: #1ca8ff;
  background: rgba(28, 168, 255, 0.14);
}

.employer-chat-invite-list button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.employer-chat-invite-status {
  min-height: 1.5em;
  margin: 8px 0;
  color: #38506d !important;
}

.employer-chat-invite-status.is-error {
  color: #b92f50 !important;
}

.employer-chat-invite-actions {
  margin-top: 8px;
}

.koosjobs-page:not(.light) .employer-chat-invite-list button {
  border-color: rgba(72, 191, 255, 0.4);
  background: rgba(11, 42, 75, 0.82);
  color: #f5f9ff;
}

.koosjobs-page:not(.light) .employer-chat-invite-status {
  color: #c7d9ec !important;
}

@media (max-width: 700px) {
  .resume-back-button {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
    min-height: 52px;
  }

  .resume-detail-toolbar,
  .resume-document-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-detail-actions,
  .resume-detail-actions .about-primary,
  .resume-detail-actions .about-secondary,
  .resume-modal-panel .about-primary,
  .resume-modal-panel .about-secondary {
    width: 100%;
  }
}

@media print {
  .resume-detail-page {
    background: #fff;
  }

  .resume-composer-header,
  .resume-detail-toolbar,
  .resume-detail-actions,
  .resume-modal {
    display: none !important;
  }

  .resume-detail-shell {
    max-width: none;
    padding: 0;
  }

  .resume-document {
    margin: 0;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .header-actions .login-button {
    min-width: 132px;
    padding: 0 14px;
    font-size: 13px;
  }

  .account-hero {
    padding-top: 34px;
  }

  .account-hero-copy h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .account-status,
  .account-role-card,
  .account-install-card,
  .account-auth-button {
    grid-template-columns: 1fr;
  }

  .account-method-button {
    min-height: 54px;
  }

  .account-ai-grid {
    grid-template-columns: 1fr;
  }

  .account-install-card {
    text-align: center;
  }

  .account-install-card img {
    justify-self: center;
  }

  .account-install-card .pwa-install-button {
    width: 100%;
  }

  .account-auth-grid {
    grid-template-columns: 1fr;
  }

  .resume-hero {
    margin-top: 26px;
    padding: 24px 16px;
  }

  .resume-hero h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .resume-register,
  .resume-section,
  .resume-actions {
    padding: 22px 16px;
  }

  .resume-social-row,
  .resume-social-row button,
  .resume-section-heading,
  .resume-action-buttons,
  .resume-action-buttons .about-primary,
  .resume-action-buttons .about-secondary {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .resume-action-buttons .about-primary,
  .resume-action-buttons .about-secondary {
    justify-content: center;
  }

  .account-next-actions,
  .account-next-actions .about-primary,
  .account-next-actions .about-secondary {
    width: 100%;
  }

  .account-next-actions .about-primary,
  .account-next-actions .about-secondary {
    justify-content: center;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-primary,
  .cookie-secondary {
    flex: 1;
  }

  .legal-table {
    grid-template-columns: 1fr;
  }

  .legal-summary-grid {
    grid-template-columns: 1fr;
  }

  .legal-sections summary {
    align-items: flex-start;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 0 13px;
  }

  .back-to-top span {
    display: none;
  }
}

@media (max-width: 460px) {
  .header-actions .login-button {
    flex: 1 0 100%;
    order: -1;
    width: 100%;
  }
}

/* Mobile publishing fixes */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

@media (max-width: 760px) {
  .site-header.global-header .header-actions {
    min-width: 0;
  }

  .site-header.global-header .pill-button,
  .site-header.global-header .theme-button,
  .site-header.global-header .mobile-menu-button {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .site-header.global-header .language-select {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .site-header.global-header .pill-button,
  .site-header.global-header .theme-button,
  .site-header.global-header .mobile-menu-button,
  .site-header.global-header .language-button {
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .site-header.global-header .pill-button span,
  .site-header.global-header .theme-button span,
  .site-header.global-header .mobile-menu-button span,
  .site-header.global-header .language-button {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header.global-header .theme-button {
    justify-content: center;
  }

  .site-header.global-header .language-menu {
    z-index: 300;
  }
}

@media (max-width: 460px) {
  .site-header.global-header .header-actions .login-button {
    font-size: clamp(10px, 2.8vw, 12px);
    letter-spacing: 0;
  }

  .site-header.global-header .theme-button span,
  .site-header.global-header .mobile-menu-button span {
    font-size: clamp(10px, 2.7vw, 12px);
  }

  .site-header.global-header .language-button {
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .site-header.global-header .header-actions {
    width: min(100%, 390px);
  }

  .site-header.global-header .theme-button,
  .site-header.global-header .language-select,
  .site-header.global-header .mobile-menu-button {
    min-height: 44px;
  }

  .jobseeker-dashboard-page .site-header.global-header,
  .employer-dashboard-page .site-header.global-header {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions,
  .employer-dashboard-page .site-header.global-header .header-actions {
    display: grid !important;
    grid-template-columns: minmax(74px, 1fr) minmax(82px, 1fr) minmax(64px, 0.72fr);
    width: 100%;
    height: auto;
    gap: 6px;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button,
  .jobseeker-dashboard-page .site-header.global-header .theme-button,
  .jobseeker-dashboard-page .site-header.global-header .language-select,
  .employer-dashboard-page .site-header.global-header .header-actions .login-button,
  .employer-dashboard-page .site-header.global-header .theme-button,
  .employer-dashboard-page .site-header.global-header .language-select {
    width: 100% !important;
    max-width: none !important;
    min-height: 38px;
    height: 38px;
    padding-inline: 6px;
    justify-content: center;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button,
  .employer-dashboard-page .site-header.global-header .header-actions .login-button {
    font-size: 0;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Exit";
    font-size: clamp(10px, 2.7vw, 12px);
    line-height: 1;
  }

  .jobseeker-dashboard-page .site-header.global-header .theme-button,
  .employer-dashboard-page .site-header.global-header .theme-button {
    gap: 4px;
  }

  .jobseeker-dashboard-page .site-header.global-header .theme-button span,
  .employer-dashboard-page .site-header.global-header .theme-button span {
    display: inline;
    max-width: 42px;
  }

  .jobseeker-dashboard-page .site-header.global-header .language-select,
  .employer-dashboard-page .site-header.global-header .language-select {
    gap: 3px;
    overflow: visible;
  }

  html[lang="ru"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="ru"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="uk"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="uk"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Выйти";
  }

  html[lang="et"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="et"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Välju";
  }

  html[lang="de"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="de"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Exit";
  }

  html[lang="pl"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="pl"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Wyjdź";
  }

  html[lang="es"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="es"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Salir";
  }
}

[id] {
  scroll-margin-top: 110px;
}

#contactForm,
#employer-form,
#jobseeker-form,
#resume-builder,
.people-intake,
.contact-form {
  scroll-margin-top: 120px;
  scroll-margin-bottom: 120px;
}

.page-cta-prompt {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(76px, 8vh, 108px);
  z-index: 92;
  display: grid;
  width: min(420px, calc(100vw - 28px));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(38, 196, 255, 0.34);
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 10, 25, 0.84), rgba(8, 20, 48, 0.74)),
    rgba(4, 10, 25, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38), 0 0 42px rgba(38, 196, 255, 0.2);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.page-cta-prompt.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.page-cta-prompt strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.page-cta-prompt p {
  margin: 6px 0 0;
  color: rgba(225, 232, 248, 0.78);
  font-size: 14px;
  line-height: 1.42;
}

.page-cta-prompt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-cta-prompt-actions a,
.page-cta-prompt-actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(38, 196, 255, 0.34);
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.page-cta-prompt-actions a:first-child {
  border-color: rgba(38, 196, 255, 0.62);
  background: linear-gradient(135deg, rgba(13, 140, 255, 0.82), rgba(88, 79, 255, 0.72));
  box-shadow: 0 0 24px rgba(38, 196, 255, 0.22);
}

body.light .page-cta-prompt {
  color: #071222;
  border-color: rgba(22, 99, 210, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 255, 0.84)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 70px rgba(36, 91, 180, 0.18), 0 0 34px rgba(13, 140, 255, 0.14);
}

body.light .page-cta-prompt p {
  color: rgba(7, 18, 34, 0.72);
}

@media (max-width: 760px) {
  .page-shell,
  .about-shell,
  .people-shell,
  .km-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header.global-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding-bottom: 10px;
  }

  .global-header .brand,
  .global-header .header-actions {
    justify-self: stretch;
  }

  .global-header .brand {
    gap: 9px;
    min-width: 0;
  }

  .global-header .brand-mark {
    width: 42px;
    height: 42px;
  }

  .global-header .brand-name {
    max-width: 138px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .global-header .brand-subtitle {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    display: grid;
    grid-template-columns: auto 42px 58px;
    align-items: center;
    justify-content: end;
    gap: 8px;
    min-width: 0;
  }

  .header-actions .login-button {
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 12px;
  }

  .theme-button {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .language-select {
    min-width: 58px;
    padding: 0 8px;
    gap: 3px;
  }

  .language-select > svg:first-child {
    display: none;
  }

  .language-select .chevron {
    width: 12px;
    height: 12px;
  }

  .language-button {
    min-width: 27px;
    padding: 0;
    font-size: 12px;
  }

  .language-menu {
    right: 0;
    left: auto;
    min-width: 76px;
    width: auto;
  }

  .people-hero,
  .km-hero,
  .contact-hero,
  .partners-hero {
    margin-right: 0;
    margin-left: 0;
    border-radius: 18px;
  }

  .people-hero::before {
    background:
      linear-gradient(180deg, rgba(2, 4, 11, 0.95) 0%, rgba(2, 4, 11, 0.72) 44%, rgba(2, 4, 11, 0.92) 100%),
      radial-gradient(circle at 72% 30%, rgba(13, 140, 255, 0.2), transparent 18rem);
  }

  .km-hero::before,
  .contact-hero::before,
  .partners-hero::before {
    background:
      linear-gradient(180deg, rgba(2, 4, 11, 0.94) 0%, rgba(2, 4, 11, 0.68) 45%, rgba(2, 4, 11, 0.92) 100%),
      radial-gradient(circle at 74% 30%, rgba(13, 140, 255, 0.2), transparent 18rem);
  }

  .people-hero-copy,
  .km-hero-copy,
  .contact-hero-copy,
  .partners-hero-copy {
    width: calc(100% - 24px);
    margin: 12px auto;
    padding: 22px 16px;
    border: 1px solid rgba(38, 196, 255, 0.18);
    border-radius: 18px;
    background: rgba(3, 8, 22, 0.58);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24), inset 0 0 28px rgba(38, 196, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
  }

  .people-hero h1,
  .km-hero h1,
  .contact-hero h1,
  .partners-hero h1 {
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.02;
  }

  .people-lead,
  .km-hero-copy > p:not(.km-badge),
  .contact-lead,
  .partners-hero p:not(.about-kicker) {
    color: rgba(246, 248, 255, 0.92);
    font-size: 17px;
    line-height: 1.38;
  }

  .people-text {
    color: rgba(225, 232, 248, 0.82);
    font-size: 15px;
  }

  .km-actions,
  .platform-actions,
  .about-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .km-actions a,
  .platform-actions a,
  .about-actions a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .site-header.global-header {
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-items: center;
    gap: 10px;
    padding: 12px 12px 14px;
    border-radius: 0 0 20px 20px;
    background: rgba(2, 5, 14, 0.48);
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
  }

  body.light .site-header.global-header {
    background: rgba(245, 249, 255, 0.68);
  }

  .site-header.global-header .brand {
    order: 1;
    justify-self: center;
    justify-content: center;
    width: 100%;
  }

  .site-header.global-header .brand-name {
    max-width: none;
    font-size: 15px;
  }

  .site-header.global-header .brand-mark {
    width: 46px;
    height: 46px;
  }

  .site-header.global-header .header-actions {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 340px);
    gap: 8px;
    justify-self: center;
  }

  .site-header.global-header .header-actions .login-button {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .site-header.global-header .theme-button,
  .site-header.global-header .language-select {
    width: 100%;
    min-width: 0;
    min-height: 42px;
  }

  .site-header.global-header .theme-button {
    padding: 0 12px;
  }

  .site-header.global-header .theme-button span {
    display: inline;
    font-size: 13px;
  }

  .site-header.global-header .language-select {
    justify-content: center;
    padding: 0 12px;
  }

  .site-header.global-header .language-select > svg:first-child {
    display: block;
    width: 17px;
    height: 17px;
  }

  .site-header.global-header .language-button {
    min-width: 30px;
    font-size: 13px;
  }

  .site-header.global-header .mobile-menu-button {
    display: inline-flex;
    grid-column: 1 / -1;
    width: 54px;
    min-width: 54px;
    min-height: 42px;
    justify-self: center;
    padding: 0;
    border-color: rgba(38, 196, 255, 0.5);
    background: linear-gradient(135deg, rgba(13, 140, 255, 0.16), rgba(155, 88, 255, 0.18));
  }

  .site-header.global-header .mobile-menu-button svg {
    width: 22px;
    height: 22px;
  }

  .site-header.global-header .mobile-menu-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-header.global-header .site-nav {
    order: 3;
    display: grid;
    grid-column: 1 / -1;
    width: min(100%, 340px);
    justify-self: center;
    justify-items: center;
    max-height: 0;
    gap: 6px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: rgba(3, 8, 22, 0.72);
    box-shadow: inset 0 0 28px rgba(38, 196, 255, 0.04);
    opacity: 0;
    transition: max-height 220ms ease, opacity 180ms ease, padding 180ms ease, border-color 180ms ease;
  }

  body.mobile-menu-open .site-header.global-header .site-nav {
    max-height: 340px;
    padding: 10px;
    border: 1px solid rgba(38, 196, 255, 0.22);
    opacity: 1;
  }

  body.light.mobile-menu-open .site-header.global-header .site-nav {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(22, 99, 210, 0.16);
  }

  .site-header.global-header .site-nav a {
    display: flex;
    width: min(100%, 260px);
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(38, 196, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
  }

  body.light .site-header.global-header .site-nav a {
    border-color: rgba(22, 99, 210, 0.12);
    background: rgba(255, 255, 255, 0.52);
  }

  .site-header.global-header .site-nav a::before,
  .site-header.global-header .site-nav a.active::after {
    display: none;
  }

  .people-hero,
  .km-hero,
  .contact-hero,
  .partners-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
    background:
      radial-gradient(circle at 50% 0%, rgba(38, 196, 255, 0.12), transparent 18rem),
      rgba(3, 8, 22, 0.42);
  }

  .people-hero::before,
  .km-hero::before,
  .contact-hero::before,
  .partners-hero::before {
    display: none;
  }

  .people-hero > img,
  .km-hero-art,
  .contact-map,
  .partners-hero img {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: clamp(260px, 68vw, 390px);
    min-height: 0;
    overflow: hidden;
    border-radius: 18px;
  }

  .people-hero > img,
  .km-hero-art img,
  .contact-map img,
  .partners-hero img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    opacity: 0.96;
  }

  .people-hero > img {
    object-position: 58% center;
  }

  .km-hero-art img {
    object-position: 60% center;
  }

  .contact-map img,
  .partners-hero img {
    object-position: center;
  }

  .people-hero-copy,
  .km-hero-copy,
  .contact-hero-copy,
  .partners-hero-copy {
    order: 2;
    width: calc(100% - 20px);
    margin: -36px auto 0;
    padding: 20px 15px 18px;
    border-color: rgba(38, 196, 255, 0.24);
    background:
      linear-gradient(145deg, rgba(3, 8, 22, 0.82), rgba(5, 18, 42, 0.72)),
      rgba(3, 8, 22, 0.76);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26), inset 0 0 26px rgba(38, 196, 255, 0.05);
  }

  body.light .people-hero-copy,
  body.light .km-hero-copy,
  body.light .contact-hero-copy,
  body.light .partners-hero-copy {
    color: #071222;
    border-color: rgba(22, 99, 210, 0.2);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 255, 0.8)),
      rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 42px rgba(36, 91, 180, 0.14);
  }

  body.light .people-lead,
  body.light .people-text,
  body.light .km-hero-copy > p:not(.km-badge),
  body.light .contact-lead,
  body.light .partners-hero p:not(.about-kicker) {
    color: rgba(7, 18, 34, 0.76);
  }

  .page-cta-prompt {
    right: 12px;
    bottom: 70px;
    width: calc(100vw - 24px);
    padding: 16px;
  }

  .page-cta-prompt strong {
    font-size: 16px;
  }

  .page-cta-prompt p {
    font-size: 13px;
  }

  .page-cta-prompt-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.koosjobs-page {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(20, 184, 116, 0.18), transparent 30rem),
    radial-gradient(circle at 18% 14%, rgba(0, 153, 255, 0.22), transparent 28rem),
    linear-gradient(180deg, #020611 0%, #050b18 48%, #02040b 100%);
}

.koosjobs-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.koosjobs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 22px;
  background: rgba(3, 10, 27, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.koosjobs-brand,
.koosjobs-header nav,
.koosjobs-actions,
.koosjobs-filters,
.koosjobs-vacancies article footer {
  display: flex;
  align-items: center;
}

.koosjobs-brand {
  gap: 12px;
}

.koosjobs-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0, 153, 255, 0.34);
}

.koosjobs-brand img.koosjobs-full-logo {
  box-sizing: border-box;
  width: 132px;
  height: 66px;
  padding: 4px 8px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 28px rgba(0, 153, 255, 0.2);
}

@media (max-width: 560px) {
  .koosjobs-brand img.koosjobs-full-logo {
    width: 112px;
    height: 56px;
    border-radius: 12px;
  }
}

.koosjobs-brand strong {
  display: block;
  font-size: 21px;
  letter-spacing: 0;
}

.koosjobs-brand small {
  color: var(--muted);
  font-size: 12px;
}

.koosjobs-header nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.koosjobs-header nav a,
.koosjobs-filters button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(38, 196, 255, 0.2);
  border-radius: 999px;
  color: rgba(246, 248, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  cursor: pointer;
}

.koosjobs-header nav a:hover,
.koosjobs-filters button:hover,
.koosjobs-filters button.active {
  color: #ffffff;
  border-color: rgba(38, 196, 255, 0.62);
  box-shadow: 0 0 24px rgba(0, 153, 255, 0.18);
}

.koosjobs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(44px, 7vw, 96px) 0 34px;
}

.koosjobs-kicker {
  margin: 0 0 12px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.koosjobs-hero h1,
.koosjobs-board-head h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.koosjobs-hero p,
.koosjobs-board-head p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.58;
}

.koosjobs-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.koosjobs-ai-card,
.koosjobs-grid article,
.koosjobs-roadmap,
.koosjobs-vacancies article,
.koosjobs-resume-form {
  border: 1px solid rgba(38, 196, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(3, 10, 27, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 74px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.koosjobs-ai-card {
  min-height: 360px;
  padding: 28px;
}

.koosjobs-ai-card > span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(38, 196, 255, 0.42);
  border-radius: 50%;
  color: #ffffff;
  background: radial-gradient(circle, rgba(38, 196, 255, 0.24), rgba(122, 92, 255, 0.16));
  box-shadow: 0 0 42px rgba(0, 153, 255, 0.22);
  font-size: 26px;
  font-weight: 900;
}

.koosjobs-ai-card strong {
  display: block;
  margin-top: 28px;
  font-size: 28px;
}

.koosjobs-ai-card div {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  color: var(--blue-soft);
}

.koosjobs-ai-card b {
  font-size: 58px;
  line-height: 1;
}

.koosjobs-grid,
.koosjobs-vacancies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.koosjobs-grid article,
.koosjobs-vacancies article {
  padding: 22px;
}

.koosjobs-grid article > span,
.koosjobs-vacancies .source {
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.koosjobs-grid h2,
.koosjobs-roadmap h2,
.koosjobs-vacancies h2 {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.14;
}

.koosjobs-grid p,
.koosjobs-roadmap span,
.koosjobs-vacancies p {
  color: var(--muted);
  line-height: 1.55;
}

.koosjobs-roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 18px;
  padding: 28px;
}

.koosjobs-roadmap ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.koosjobs-roadmap li {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.koosjobs-board-head {
  padding: 48px 0 24px;
}

.koosjobs-board-head h1 {
  font-size: clamp(38px, 5.2vw, 68px);
}

.koosjobs-filters {
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
}

.koosjobs-vacancies {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.koosjobs-vacancies article div,
.koosjobs-vacancies article footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.koosjobs-vacancies article div span:last-child {
  color: var(--muted);
}

.koosjobs-vacancies article footer {
  margin-top: 20px;
  align-items: center;
}

.koosjobs-vacancies article footer strong {
  color: rgba(246, 248, 255, 0.82);
  font-size: 13px;
}

.koosjobs-vacancies article footer a {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.86), rgba(83, 72, 229, 0.84));
  font-size: 13px;
  font-weight: 900;
}

.koosjobs-vacancies article.is-hidden {
  display: none;
}

.koosjobs-resume-form {
  max-width: 840px;
  padding: clamp(20px, 4vw, 34px);
}

@media (max-width: 900px) {
  .koosjobs-header,
  .koosjobs-hero,
  .koosjobs-roadmap {
    grid-template-columns: 1fr;
  }

  .koosjobs-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .koosjobs-header nav {
    justify-content: flex-start;
  }

  .koosjobs-grid,
  .koosjobs-vacancies {
    grid-template-columns: 1fr;
  }

  .koosjobs-ai-card {
    min-height: auto;
  }
}

.resume-composer-page {
  background:
    radial-gradient(circle at 80% 8%, rgba(23, 157, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 18% 20%, rgba(122, 85, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 42%, #ffffff 100%);
  color: #071222;
}

.resume-composer-shell {
  max-width: 1180px;
}

.resume-composer-header {
  border-color: rgba(27, 99, 181, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(16, 64, 130, 0.08);
}

.resume-composer-header .koosjobs-brand strong,
.resume-composer-header nav a {
  color: #071222;
}

.resume-composer-header .koosjobs-brand small {
  color: rgba(7, 18, 34, 0.58);
}

.resume-composer-hero,
.resume-composer-card,
.resume-composer-submit {
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.86)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(18, 57, 106, 0.1);
}

.resume-composer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: clamp(24px, 4vw, 42px);
}

.resume-composer-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #071222;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.resume-composer-hero p:not(.koosjobs-kicker) {
  max-width: 720px;
  color: rgba(7, 18, 34, 0.68);
}

.resume-composer-score {
  display: grid;
  min-height: 170px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(44, 186, 255, 0.26);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 38% 24%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(145deg, #071222, #132a56 58%, #1c2162);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 42px rgba(19, 85, 165, 0.18);
  text-align: center;
}

.resume-composer-score span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1498ff, #6a52ff);
  font-weight: 900;
}

.resume-composer-score strong {
  font-size: 42px;
  line-height: 1;
}

.resume-composer-score small {
  color: rgba(235, 246, 255, 0.72);
  font-weight: 800;
}

.resume-composer-form {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-width: none;
  gap: 18px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.resume-payload-field {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.resume-composer-card,
.resume-composer-submit {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: clamp(20px, 3vw, 30px);
}

.resume-master-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(20, 143, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 20%, rgba(20, 143, 255, 0.16), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 255, 0.82));
  box-shadow: 0 18px 48px rgba(18, 57, 106, 0.08);
}

.resume-master-card strong {
  color: #071222;
  font-size: 18px;
}

.resume-master-card p {
  margin: 6px 0 0;
  color: rgba(7, 18, 34, 0.64);
  line-height: 1.5;
}

.resume-master-card button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(13, 126, 255, 0.22);
}

.resume-composer-card-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.resume-composer-card-head > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: #0a2340;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.72), transparent 32%),
    linear-gradient(145deg, #e7f5ff 0%, #bfd8ea 42%, #8eaabd 100%);
  border: 1px solid rgba(125, 165, 196, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 12px 24px rgba(42, 88, 122, 0.14);
  font-weight: 900;
}

.resume-composer-card h2 {
  margin: 0;
  color: #071222;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0;
}

.resume-composer-card p,
.resume-composer-submit p {
  color: rgba(7, 18, 34, 0.66);
}

.resume-optional-card {
  border-style: dashed;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 255, 0.72)),
    rgba(255, 255, 255, 0.76);
}

.resume-optional-card small,
.resume-save-note {
  display: block;
  margin-top: 8px;
  color: rgba(7, 18, 34, 0.52);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.resume-composer-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resume-composer-grid > [hidden],
.resume-region-grid > [hidden] {
  display: none !important;
}

.resume-region-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  align-items: end;
}

.resume-composer-grid label,
.resume-wide-field {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  color: rgba(7, 18, 34, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.resume-composer-grid input,
.resume-composer-grid select,
.resume-wide-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid rgba(25, 118, 210, 0.16);
  border-radius: 16px;
  color: #071222;
  background: rgba(255, 255, 255, 0.88);
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
}

.resume-composer-grid select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(7, 18, 34, 0.62) 50%),
    linear-gradient(135deg, rgba(7, 18, 34, 0.62) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.resume-wide-field {
  margin-top: 14px;
}

.resume-wide-field textarea {
  min-height: 104px;
  padding: 14px;
  resize: vertical;
  line-height: 1.5;
}

.resume-composer-grid input:focus,
.resume-composer-grid select:focus,
.resume-wide-field textarea:focus {
  outline: none;
  border-color: rgba(20, 143, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(20, 143, 255, 0.12);
}

.resume-date-field {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.resume-date-field input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  padding-right: 46px;
  line-height: 1.2;
  cursor: pointer;
}

.resume-date-field svg {
  position: absolute;
  right: 14px;
  bottom: 13px;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #1498ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.resume-date-trigger {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(20, 143, 255, 0.24);
  border-radius: 12px;
  color: #1498ff;
  background: rgba(20, 143, 255, 0.08);
  cursor: pointer;
}

.resume-date-trigger svg {
  position: static;
  width: 19px;
  height: 19px;
  pointer-events: none;
}

.resume-current-field {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  align-self: end;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  border: 1px solid rgba(20, 143, 255, 0.2);
  border-radius: 14px;
  padding: 8px 12px;
  color: rgba(7, 18, 34, 0.82);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.resume-current-field input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #1498ff;
}

.resume-current-field:hover,
.resume-current-field:focus-within {
  color: #071222;
  border-color: rgba(20, 143, 255, 0.48);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(20, 143, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.koosjobs-page:not(.light) .resume-current-field {
  color: rgba(247, 251, 255, 0.96);
  border-color: rgba(93, 205, 255, 0.38);
  background: rgba(5, 21, 38, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.koosjobs-page:not(.light) .resume-current-field:hover,
.koosjobs-page:not(.light) .resume-current-field:focus-within {
  color: #ffffff;
  border-color: rgba(93, 205, 255, 0.68);
  background: rgba(7, 31, 56, 0.92);
  box-shadow: 0 0 0 3px rgba(93, 205, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.resume-date-field input:disabled {
  color: rgba(7, 18, 34, 0.48);
  background: rgba(229, 237, 247, 0.72);
  cursor: not-allowed;
}

.resume-composer-form {
  position: relative;
}

.resume-month-picker {
  position: absolute;
  z-index: 40;
  width: min(520px, calc(100vw - 32px));
  border: 1px solid rgba(20, 143, 255, 0.28);
  border-radius: 20px;
  padding: 16px;
  color: #071222;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(19, 78, 150, 0.18);
  backdrop-filter: blur(18px);
}

.resume-month-picker-head,
.resume-month-picker-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resume-month-picker-head strong {
  font-size: 1rem;
}

.resume-month-picker-head button,
.resume-month-picker-actions button,
.resume-month-picker-grid button {
  border: 1px solid rgba(20, 143, 255, 0.16);
  border-radius: 12px;
  color: #071222;
  background: rgba(244, 249, 255, 0.92);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.resume-month-picker-head button {
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  line-height: 1;
}

.resume-month-picker-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0;
}

.resume-month-picker-body span {
  display: block;
  margin-bottom: 8px;
  color: rgba(7, 18, 34, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resume-month-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.resume-year-grid {
  max-height: 188px;
  overflow: auto;
}

.resume-month-picker-grid button {
  min-height: 38px;
}

.resume-month-picker-grid button.is-selected {
  color: #fff;
  border-color: rgba(20, 143, 255, 0.82);
  background: linear-gradient(135deg, #139bff, #5448de);
  box-shadow: 0 10px 24px rgba(20, 143, 255, 0.22);
}

.resume-month-picker-actions button {
  min-height: 40px;
  padding: 0 14px;
}

.resume-month-picker-actions button:last-child {
  color: #fff;
  border-color: rgba(20, 143, 255, 0.72);
  background: linear-gradient(135deg, #139bff, #5448de);
}

.resume-ai-helper {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(84, 72, 222, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 152, 255, 0.16), transparent 34%),
    rgba(248, 251, 255, 0.84);
}

.resume-ai-helper button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid rgba(91, 221, 255, 0.58);
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(135deg, #14b6ff 0%, #2479f6 46%, #5448de 100%);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 14px 32px rgba(20, 143, 255, 0.24),
    0 0 0 5px rgba(35, 198, 255, 0.08);
  isolation: isolate;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  animation: ai-button-breathe 3.1s ease-in-out infinite;
}

.resume-ai-helper button::after {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(109, 236, 255, 0.62), transparent 40% 100%);
  opacity: 0.38;
  animation: ai-ring-orbit 5.4s linear infinite;
}

.resume-ai-helper button:hover,
.resume-ai-helper button:focus-visible {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(193, 250, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 44px rgba(20, 184, 255, 0.38),
    0 0 0 6px rgba(28, 183, 255, 0.13),
    0 0 46px rgba(52, 190, 255, 0.24);
  outline: none;
}

.resume-ai-helper button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.resume-ai-helper button span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: transparent;
  background:
    url("/assets/ui/ai-assistant-icon-96.png") center / 116% 116% no-repeat,
    radial-gradient(circle at 50% 50%, rgba(20, 204, 255, 0.24), transparent 62%);
  box-shadow:
    0 0 18px rgba(49, 199, 255, 0.38),
    0 0 0 3px rgba(169, 240, 255, 0.18);
  filter: saturate(1.26) contrast(1.14) brightness(1.07);
  font-size: 0;
  flex: 0 0 auto;
}

.resume-ai-helper button.is-ai-unavailable,
.resume-ai-helper button[data-ai-state="unavailable"] {
  border-color: rgba(172, 198, 218, 0.62);
  background: linear-gradient(135deg, #aebdca, #607486 52%, #344657);
  box-shadow: 0 10px 24px rgba(36, 55, 70, 0.18);
  animation: none;
}

.resume-ai-helper button.is-ai-unavailable::after,
.resume-ai-helper button[data-ai-state="unavailable"]::after {
  animation: none;
  opacity: 0;
}

.resume-ai-helper button.is-ai-unavailable span,
.resume-ai-helper button[data-ai-state="unavailable"] span {
  filter: grayscale(0.78) saturate(0.66) brightness(0.94);
}

.resume-ai-helper small {
  color: rgba(7, 18, 34, 0.62);
  line-height: 1.45;
}

.resume-suggestion-groups {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.resume-suggestion-groups strong {
  display: block;
  color: #071222;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.resume-chip-row,
.resume-category-field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.resume-chip-row button,
.resume-category-field label,
.resume-location-button,
.resume-add-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(20, 143, 255, 0.18);
  border-radius: 999px;
  color: #071222;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 15px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.resume-chip-row button:hover,
.resume-location-button:hover,
.resume-add-row:hover {
  border-color: rgba(20, 143, 255, 0.44);
  box-shadow: 0 12px 24px rgba(18, 105, 190, 0.1);
}

.resume-location-button {
  align-self: end;
  gap: 9px;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
}

.resume-location-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resume-repeat-list {
  display: grid;
  gap: 14px;
}

.resume-repeat-item {
  padding: 16px;
  border: 1px solid rgba(25, 118, 210, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.resume-add-row {
  gap: 10px;
  margin-top: 14px;
}

.resume-add-row span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #139bff, #5448de);
  font-size: 22px;
  line-height: 1;
}

.resume-category-field {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  align-items: stretch;
  padding: 0;
  border: 0;
}

.resume-category-field legend {
  width: 100%;
  color: rgba(7, 18, 34, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.resume-category-field input {
  accent-color: #1498ff;
}

.resume-category-field label {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
}

.resume-composer-submit {
  display: grid;
  gap: 18px;
}

.resume-composer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .resume-composer-hero {
    grid-template-columns: 1fr;
  }

  .resume-composer-score {
    min-height: 140px;
  }

  .resume-composer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .koosjobs-page,
  .koosjobs-shell,
  .resume-composer-form,
  .resume-composer-card,
  .resume-composer-submit,
  .resume-composer-grid,
  .resume-composer-grid > label,
  .resume-date-field {
    min-width: 0;
    max-width: 100%;
  }

  .koosjobs-page {
    overflow-x: clip;
  }

  .resume-composer-header {
    align-items: stretch;
  }

  .resume-composer-hero,
  .resume-composer-card,
  .resume-composer-submit {
    border-radius: 22px;
  }

  .resume-composer-hero h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .resume-composer-card-head,
  .resume-composer-grid,
  .resume-master-card {
    grid-template-columns: 1fr;
  }

  .employer-vacancy-form .resume-composer-grid input,
  .employer-vacancy-form .resume-composer-grid select,
  .employer-vacancy-form .resume-wide-field textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .employer-vacancy-form .vacancy-date-field input[type="date"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 48px;
    min-height: 48px;
  }

  .resume-composer-actions,
  .resume-composer-actions .about-primary,
  .resume-composer-actions .about-secondary,
  .resume-location-button,
  .resume-master-card button {
    width: 100%;
  }
}

/* Cabinet beta polish */
.jobseeker-dashboard-page:not(.light),
.employer-dashboard-page:not(.light) {
  background:
    radial-gradient(circle at 80% 10%, rgba(32, 151, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 15% 20%, rgba(126, 91, 255, 0.13), transparent 30rem),
    linear-gradient(180deg, #050b16 0%, #071222 48%, #09142a 100%);
  color: #f6f8ff;
}

.jobseeker-dashboard-page:not(.light) .candidate-resumes-card,
.jobseeker-dashboard-page:not(.light) .candidate-main-panel,
.jobseeker-dashboard-page:not(.light) .candidate-stats-panel article,
.employer-dashboard-page:not(.light) .candidate-resumes-card,
.employer-dashboard-page:not(.light) .candidate-main-panel,
.employer-dashboard-page:not(.light) .candidate-stats-panel article {
  border-color: rgba(72, 170, 255, 0.18);
  background:
    linear-gradient(150deg, rgba(8, 19, 39, 0.94), rgba(12, 29, 59, 0.82)),
    rgba(7, 18, 34, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-item,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card,
.employer-dashboard-page:not(.light) .candidate-resume-item,
.employer-dashboard-page:not(.light) .employer-candidate-card {
  border-color: rgba(72, 170, 255, 0.18);
  background: rgba(246, 248, 255, 0.07);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-item strong,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card h3,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card strong,
.jobseeker-dashboard-page:not(.light) .candidate-main-panel h2,
.jobseeker-dashboard-page:not(.light) .candidate-resumes-card h2,
.jobseeker-dashboard-page:not(.light) .candidate-stats-panel h2,
.employer-dashboard-page:not(.light) .candidate-resume-item strong,
.employer-dashboard-page:not(.light) .employer-candidate-card h3,
.employer-dashboard-page:not(.light) .employer-candidate-card strong,
.employer-dashboard-page:not(.light) .candidate-main-panel h2,
.employer-dashboard-page:not(.light) .candidate-resumes-card h2,
.employer-dashboard-page:not(.light) .candidate-stats-panel h2 {
  color: #f6f8ff;
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-copy span,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card p,
.jobseeker-dashboard-page:not(.light) .candidate-main-hero p,
.employer-dashboard-page:not(.light) .candidate-resume-copy span,
.employer-dashboard-page:not(.light) .employer-candidate-card p,
.employer-dashboard-page:not(.light) .candidate-main-hero p {
  color: rgba(225, 232, 248, 0.72);
}

.jobseeker-dashboard-page:not(.light) .candidate-profile-card,
.employer-dashboard-page:not(.light) .candidate-profile-card {
  border-color: rgba(79, 184, 255, 0.36);
  background:
    radial-gradient(circle at 18% 10%, rgba(41, 176, 255, 0.24), transparent 16rem),
    linear-gradient(145deg, rgba(9, 24, 50, 0.98), rgba(12, 31, 62, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.jobseeker-dashboard-page:not(.light) .candidate-resumes-card,
.jobseeker-dashboard-page:not(.light) .candidate-main-panel,
.jobseeker-dashboard-page:not(.light) .candidate-stats-panel article,
.employer-dashboard-page:not(.light) .candidate-resumes-card,
.employer-dashboard-page:not(.light) .candidate-main-panel,
.employer-dashboard-page:not(.light) .candidate-stats-panel article {
  color: #f8fbff;
  border-color: rgba(82, 190, 255, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(22, 139, 255, 0.16), transparent 18rem),
    linear-gradient(150deg, rgba(12, 29, 58, 0.96), rgba(10, 24, 49, 0.9));
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-item,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card,
.jobseeker-dashboard-page:not(.light) .candidate-trash-item,
.employer-dashboard-page:not(.light) .candidate-resume-item,
.employer-dashboard-page:not(.light) .employer-candidate-card,
.employer-dashboard-page:not(.light) .candidate-trash-item {
  color: #f8fbff;
  border-color: rgba(93, 194, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(20, 44, 82, 0.88), rgba(13, 31, 62, 0.78));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-item.is-active,
.employer-dashboard-page:not(.light) .candidate-resume-item.is-active {
  border-color: rgba(42, 205, 255, 0.48);
  background:
    radial-gradient(circle at 92% 8%, rgba(42, 205, 255, 0.16), transparent 12rem),
    linear-gradient(145deg, rgba(18, 50, 94, 0.94), rgba(12, 32, 68, 0.86));
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-item.is-paused,
.employer-dashboard-page:not(.light) .candidate-resume-item.is-paused {
  border-color: rgba(157, 177, 210, 0.2);
  background: rgba(16, 29, 55, 0.72);
  opacity: 0.9;
}

.jobseeker-dashboard-page:not(.light) .candidate-label,
.employer-dashboard-page:not(.light) .candidate-label {
  color: #55d7ff;
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-item strong,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card h3,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card strong,
.jobseeker-dashboard-page:not(.light) .candidate-main-panel h2,
.jobseeker-dashboard-page:not(.light) .candidate-resumes-card h2,
.jobseeker-dashboard-page:not(.light) .candidate-stats-panel h2,
.jobseeker-dashboard-page:not(.light) .candidate-trash-item strong,
.employer-dashboard-page:not(.light) .candidate-resume-item strong,
.employer-dashboard-page:not(.light) .employer-candidate-card h3,
.employer-dashboard-page:not(.light) .employer-candidate-card strong,
.employer-dashboard-page:not(.light) .candidate-main-panel h2,
.employer-dashboard-page:not(.light) .candidate-resumes-card h2,
.employer-dashboard-page:not(.light) .candidate-stats-panel h2,
.employer-dashboard-page:not(.light) .candidate-trash-item strong {
  color: #ffffff;
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-copy span,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card p,
.jobseeker-dashboard-page:not(.light) .candidate-main-hero p,
.jobseeker-dashboard-page:not(.light) .candidate-readiness p,
.jobseeker-dashboard-page:not(.light) .candidate-trash-item span,
.jobseeker-dashboard-page:not(.light) .candidate-trash p,
.employer-dashboard-page:not(.light) .candidate-resume-copy span,
.employer-dashboard-page:not(.light) .employer-candidate-card p,
.employer-dashboard-page:not(.light) .candidate-main-hero p,
.employer-dashboard-page:not(.light) .candidate-trash-item span,
.employer-dashboard-page:not(.light) .candidate-trash p {
  color: rgba(235, 244, 255, 0.84);
}

.jobseeker-dashboard-page:not(.light) .candidate-region-fit {
  border-color: rgba(58, 205, 255, 0.34);
  background:
    radial-gradient(circle at 10% 18%, rgba(38, 196, 255, 0.24), transparent 8rem),
    linear-gradient(135deg, rgba(17, 44, 82, 0.92), rgba(10, 27, 56, 0.84));
}

.jobseeker-dashboard-page:not(.light) .candidate-region-fit span {
  color: rgba(238, 246, 255, 0.86);
}

.jobseeker-dashboard-page:not(.light) .candidate-filters label,
.employer-dashboard-page:not(.light) .candidate-filters label,
.jobseeker-dashboard-page:not(.light) .candidate-mobile-search-panel label,
.employer-dashboard-page:not(.light) .candidate-mobile-search-panel label {
  color: rgba(235, 244, 255, 0.82);
}

.jobseeker-dashboard-page:not(.light) .candidate-filters input,
.jobseeker-dashboard-page:not(.light) .candidate-filters select,
.employer-dashboard-page:not(.light) .candidate-filters input,
.employer-dashboard-page:not(.light) .candidate-filters select,
.jobseeker-dashboard-page:not(.light) .candidate-mobile-search-panel input,
.employer-dashboard-page:not(.light) .candidate-mobile-search-panel input {
  color: #f8fbff;
  border-color: rgba(88, 192, 255, 0.3);
  background: rgba(5, 17, 38, 0.78);
}

.jobseeker-dashboard-page:not(.light) .candidate-filters input::placeholder,
.employer-dashboard-page:not(.light) .candidate-filters input::placeholder,
.jobseeker-dashboard-page:not(.light) .candidate-mobile-search-panel input::placeholder,
.employer-dashboard-page:not(.light) .candidate-mobile-search-panel input::placeholder {
  color: rgba(235, 244, 255, 0.54);
}

.jobseeker-dashboard-page:not(.light) .candidate-match,
.employer-dashboard-page:not(.light) .candidate-match {
  color: #dff8ff;
  background: rgba(29, 159, 255, 0.22);
}

.jobseeker-dashboard-page:not(.light) .candidate-toggle-days,
.employer-dashboard-page:not(.light) .candidate-toggle-days,
.jobseeker-dashboard-page:not(.light) .candidate-toggle-text,
.employer-dashboard-page:not(.light) .candidate-toggle-text {
  color: rgba(235, 244, 255, 0.82);
}

.jobseeker-dashboard-page:not(.light) .candidate-delete-resume,
.employer-dashboard-page:not(.light) .candidate-delete-resume {
  color: #ffd9df;
  border-color: rgba(255, 107, 130, 0.36);
  background: rgba(108, 22, 44, 0.36);
}

.candidate-profile-card {
  display: block;
  text-align: center;
}

.candidate-profile-card .candidate-avatar,
.candidate-profile-card .employer-logo {
  margin: 0 auto 14px;
}

.candidate-profile-card h1 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: clamp(20px, 1.45vw, 24px);
  line-height: 1.12;
  text-align: center;
  text-transform: none;
}

.candidate-profile-card p {
  max-width: 100%;
  font-size: 13px;
  text-align: center;
}

.candidate-contact-list {
  gap: 7px;
  margin: 14px 0;
  text-align: left;
}

.candidate-contact-list div,
.employer-contact-list div {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 7px 0;
}

.candidate-contact-list dt {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(82, 206, 255, 0.22);
  border-radius: 10px;
  color: rgba(82, 206, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
}

.profile-field-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.profile-reg-icon {
  color: currentColor;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.candidate-contact-list dd {
  align-self: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  line-height: 1.2;
}

.candidate-edit-link,
.candidate-resume-item a,
.candidate-resume-item button,
.candidate-vacancy-card button,
.employer-candidate-open,
.employer-resume-favorite {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #f6f8ff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07)),
    linear-gradient(135deg, rgba(19, 155, 255, 0.74), rgba(84, 72, 222, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -18px 36px rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(13, 126, 255, 0.2);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
}

.candidate-delete-resume {
  color: #b3142e;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12)),
    rgba(255, 235, 240, 0.84);
}

.candidate-resume-list,
.candidate-vacancy-list,
.employer-candidate-list {
  max-height: min(1120px, calc(100vh * 1.55));
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 143, 255, 0.52) transparent;
}

.candidate-resume-list::-webkit-scrollbar,
.candidate-vacancy-list::-webkit-scrollbar,
.employer-candidate-list::-webkit-scrollbar {
  width: 8px;
}

.candidate-resume-list::-webkit-scrollbar-thumb,
.candidate-vacancy-list::-webkit-scrollbar-thumb,
.employer-candidate-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(20, 143, 255, 0.42);
}

.candidate-visibility-toggle {
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
  margin-top: 4px;
}

.candidate-toggle-track {
  width: 78px;
  min-height: 34px;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 3px 8px 3px 3px;
  border-color: rgba(217, 52, 78, 0.38);
  background: linear-gradient(135deg, rgba(224, 45, 75, 0.92), rgba(157, 24, 48, 0.82));
  box-shadow: 0 8px 20px rgba(157, 24, 48, 0.16);
}

.candidate-toggle-thumb {
  width: 28px;
  height: 28px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(7, 18, 34, 0.22);
}

.candidate-toggle-days {
  color: #fff;
  font-size: 10px;
}

.candidate-toggle-days b {
  font-size: 14px;
}

.candidate-toggle-text {
  padding-top: 2px;
  color: rgba(7, 18, 34, 0.54);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.candidate-visibility-toggle input:checked + .candidate-toggle-track {
  border-color: rgba(15, 180, 103, 0.48);
  background: linear-gradient(135deg, rgba(19, 196, 116, 0.94), rgba(6, 130, 82, 0.86));
  box-shadow: 0 0 22px rgba(19, 196, 116, 0.22), 0 8px 20px rgba(6, 130, 82, 0.14);
}

.candidate-visibility-toggle input:checked + .candidate-toggle-track .candidate-toggle-thumb {
  transform: translateX(39px);
}

.candidate-visibility-toggle input:checked + .candidate-toggle-track .candidate-toggle-days {
  color: #fff;
  transform: translateX(-30px);
}

.jobseeker-dashboard-page:not(.light) .candidate-toggle-text,
.employer-dashboard-page:not(.light) .candidate-toggle-text {
  color: rgba(225, 232, 248, 0.62);
}

.employer-logo {
  width: 78px;
  height: 78px;
  padding: 0;
}

.employer-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employer-logo:not(.has-photo) img {
  opacity: 0.72;
}

@media (max-width: 820px) {
  .candidate-profile-card .candidate-avatar,
  .candidate-profile-card .employer-logo {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .candidate-resume-list,
  .candidate-vacancy-list,
  .employer-candidate-list {
    max-height: min(980px, calc(100vh * 1.65));
  }
}

@media (max-width: 560px) {
  .candidate-contact-list div,
  .candidate-stat {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .candidate-visibility-toggle {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

@media (max-width: 460px) {
  .jobseeker-dashboard-page .site-header.global-header,
  .employer-dashboard-page .site-header.global-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: 6px;
    min-height: var(--candidate-mobile-header-height);
    padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
  }

  .jobseeker-dashboard-page .site-header.global-header .brand,
  .employer-dashboard-page .site-header.global-header .brand {
    order: 0;
    width: 44px;
    min-width: 0;
    justify-self: stretch;
    justify-content: center;
  }

  .jobseeker-dashboard-page .site-header.global-header .brand-mark,
  .employer-dashboard-page .site-header.global-header .brand-mark {
    width: 36px;
    height: 36px;
  }

  .jobseeker-dashboard-page .site-header.global-header .brand-name,
  .employer-dashboard-page .site-header.global-header .brand-name {
    display: none !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions,
  .employer-dashboard-page .site-header.global-header .header-actions {
    order: 0;
    display: grid !important;
    grid-template-columns: minmax(70px, 1fr) minmax(86px, 1.12fr) minmax(66px, 0.82fr);
    width: 100%;
    max-width: none;
    height: auto;
    gap: 6px;
    align-items: center;
    justify-content: stretch;
    justify-self: stretch;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button,
  .jobseeker-dashboard-page .site-header.global-header .theme-button,
  .jobseeker-dashboard-page .site-header.global-header .language-select,
  .employer-dashboard-page .site-header.global-header .header-actions .login-button,
  .employer-dashboard-page .site-header.global-header .theme-button,
  .employer-dashboard-page .site-header.global-header .language-select {
    width: auto !important;
    max-width: none !important;
    min-width: 34px;
    min-height: 38px;
    height: 38px;
    padding: 0 6px;
    border-radius: 999px;
    justify-content: center;
    text-align: center;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button,
  .employer-dashboard-page .site-header.global-header .header-actions .login-button {
    grid-column: auto;
    width: 100% !important;
    max-width: none !important;
    font-size: 0;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Выйти";
    font-size: 11px;
    line-height: 1;
  }

  html[lang="en"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="en"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="de"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="de"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Exit";
  }

  html[lang="et"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="et"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Välju";
  }

  html[lang="pl"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="pl"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Wyjdź";
  }

  html[lang="es"] .jobseeker-dashboard-page .site-header.global-header .header-actions .login-button::before,
  html[lang="es"] .employer-dashboard-page .site-header.global-header .header-actions .login-button::before {
    content: "Salir";
  }

  .jobseeker-dashboard-page .site-header.global-header .theme-button,
  .employer-dashboard-page .site-header.global-header .theme-button {
    width: 100% !important;
    max-width: none !important;
    gap: 4px;
  }

  .jobseeker-dashboard-page .site-header.global-header .theme-button span,
  .employer-dashboard-page .site-header.global-header .theme-button span {
    display: inline;
    max-width: 48px;
    overflow: hidden;
    font-size: 11px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .jobseeker-dashboard-page .site-header.global-header .language-select,
  .employer-dashboard-page .site-header.global-header .language-select {
    width: 100% !important;
    max-width: none !important;
    overflow: visible;
    gap: 3px;
  }

  .jobseeker-dashboard-page .site-header.global-header .theme-button svg,
  .jobseeker-dashboard-page .site-header.global-header .language-select svg,
  .employer-dashboard-page .site-header.global-header .theme-button svg,
  .employer-dashboard-page .site-header.global-header .language-select svg {
    width: 16px;
    height: 16px;
  }

  .jobseeker-dashboard-page .site-header.global-header .language-button,
  .employer-dashboard-page .site-header.global-header .language-button {
    min-width: 22px;
    font-size: 12px;
    text-align: center;
  }

  .jobseeker-dashboard-page.candidate-header-compact .site-header.global-header,
  .employer-dashboard-page.candidate-header-compact .site-header.global-header {
    min-height: var(--candidate-mobile-header-height);
    padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
  }
}

@media (max-width: 760px) {
  .account-page {
    overflow-x: hidden;
  }

  .account-page .page-shell {
    width: 100%;
    padding-inline: 14px;
  }

  .account-page .global-header {
    margin-bottom: 10px;
  }

  .account-page main {
    display: grid;
    gap: 18px;
  }

  .account-hero {
    display: grid;
    min-height: auto;
    max-width: 100%;
    gap: 16px;
    margin-top: 8px;
    padding: 18px 14px 16px;
    border-radius: 24px;
    overflow: hidden;
  }

  .account-hero::before {
    background:
      linear-gradient(180deg, rgba(1, 5, 14, 0.74) 0%, rgba(1, 5, 14, 0.44) 34%, rgba(1, 5, 14, 0.9) 100%);
  }

  .account-hero-image {
    object-position: 58% center;
  }

  .account-hero-copy {
    display: grid;
    gap: 10px;
    min-width: 0;
  }

  .account-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(32px, 10.4vw, 44px);
    line-height: 1.02;
  }

  .account-hero-copy > p:not(.about-kicker) {
    max-width: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .account-status {
    max-width: 100%;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    margin-top: 2px;
    padding: 12px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.35;
  }

  .account-status svg {
    width: 22px;
    height: 22px;
  }

  .account-panel,
  .account-auth,
  .account-next,
  .account-faq {
    max-width: 100%;
    border-radius: 22px;
    border-color: rgba(38, 196, 255, 0.28);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
      rgba(3, 10, 27, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 44px rgba(0, 0, 0, 0.2);
  }

  .account-panel {
    width: min(100%, 410px);
    margin-inline: auto;
    padding: 16px;
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
  }

  .account-panel h2,
  .account-auth h2,
  .account-next h2 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.12;
  }

  .account-role-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .account-role-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 12px;
    min-width: 0;
    padding: 13px;
    border-radius: 16px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
      rgba(3, 13, 34, 0.56);
  }

  .account-role-card svg {
    grid-row: span 2;
    width: 38px;
    height: 38px;
  }

  .account-role-card strong {
    font-size: 16px;
  }

  .account-role-card span,
  .account-hero-email-note {
    font-size: 12px;
    line-height: 1.42;
  }

  .account-auth {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
    padding: 14px;
    scroll-margin-top: 18px;
  }

  .account-auth-copy,
  .account-auth-grid,
  .account-next > div,
  .account-ai-grid article,
  .account-faq details {
    min-width: 0;
    border: 1px solid rgba(38, 196, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
  }

  .account-auth-copy {
    padding: 14px;
  }

  .account-auth-copy p:not(.about-kicker),
  .account-next p:not(.about-kicker) {
    font-size: 13px;
    line-height: 1.5;
  }

  .account-auth-grid {
    gap: 14px;
    justify-items: center;
    padding: 15px;
    scroll-margin-top: 18px;
  }

  .account-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .account-trust-strip span {
    min-height: 42px;
    border-radius: 16px;
    font-size: 12px;
  }

  .account-methods,
  .account-email-choice,
  .account-auth-form {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .account-profile-form {
    min-height: auto;
  }

  .account-method-button {
    justify-content: center;
    min-height: 52px;
    width: 100%;
    border-radius: 16px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .account-email-choice {
    padding: 15px;
    border-radius: 18px;
    text-align: center;
  }

  .account-email-choice-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .account-auth-button {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .account-auth-form label {
    gap: 6px;
  }

  .account-auth-form input,
  .account-auth-form select {
    min-height: 48px;
    font-size: 16px;
  }

  .account-install-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding: 12px;
    text-align: left;
  }

  .account-install-card img {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .account-install-card strong {
    font-size: 14px;
  }

  .account-install-card p,
  .account-install-card small {
    font-size: 12px;
  }

  .account-next,
  .account-faq {
    padding: 16px;
  }

  .account-ai-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .account-ai-grid article {
    padding: 14px;
  }

  .account-page .site-footer {
    margin-top: 18px;
  }

  body.light .account-panel,
  body.light .account-auth,
  body.light .account-next,
  body.light .account-faq {
    background: rgba(255, 255, 255, 0.78);
  }

  body.light .account-auth-copy,
  body.light .account-auth-grid,
  body.light .account-next > div,
  body.light .account-ai-grid article,
  body.light .account-faq details {
    background: rgba(255, 255, 255, 0.68);
  }
}

@media (max-width: 390px) {
  .account-page .page-shell {
    padding-inline: 10px;
  }

  .account-hero {
    padding: 14px 12px;
  }

  .account-status {
    display: none;
  }

  .account-role-card {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .account-role-card svg {
    width: 34px;
    height: 34px;
    padding: 7px;
  }
}

.koos-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 11, 24, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.koos-confirm-dialog {
  position: relative;
  display: grid;
  width: min(420px, 100%);
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(20, 143, 255, 0.24);
  border-radius: 24px;
  color: #071222;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 255, 0.9));
  box-shadow: 0 28px 80px rgba(5, 18, 44, 0.28);
}

.koos-confirm-dialog h2,
.koos-confirm-dialog p {
  margin: 0;
}

.koos-confirm-dialog h2 {
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1.08;
}

.koos-confirm-dialog > p:not(.candidate-label) {
  color: rgba(7, 18, 34, 0.68);
  line-height: 1.5;
}

.koos-confirm-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(20, 143, 255, 0.18);
  border-radius: 50%;
  color: #071222;
  background: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  font-weight: 900;
}

.koos-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.koos-confirm-delete {
  background: linear-gradient(135deg, #ff3f62, #5448de);
}

.candidate-stat {
  position: relative;
}

.candidate-stat-hint {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 8px);
  z-index: 25;
  width: min(230px, 72vw);
  padding: 11px 13px;
  border: 1px solid rgba(80, 205, 255, 0.42);
  border-radius: 16px;
  color: #f8fbff !important;
  background:
    linear-gradient(135deg, rgba(7, 28, 50, 0.98), rgba(21, 42, 84, 0.96));
  box-shadow:
    0 18px 42px rgba(0, 9, 24, 0.38),
    0 0 22px rgba(33, 179, 255, 0.2);
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.35 !important;
  text-align: left;
  white-space: normal !important;
  transform: translateX(50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

body.light .candidate-stat-hint {
  color: #071222 !important;
  border-color: rgba(20, 143, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(225, 241, 255, 0.96));
  box-shadow:
    0 16px 38px rgba(16, 64, 130, 0.18),
    0 0 20px rgba(20, 143, 255, 0.16);
}

.candidate-stat.is-hint-visible .candidate-stat-hint {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

@media (min-width: 901px) {
  .jobseeker-dashboard-page .candidate-mobile-toolbar,
  .employer-dashboard-page .candidate-mobile-toolbar,
  .jobseeker-dashboard-page .candidate-footer-toggle,
  .employer-dashboard-page .candidate-footer-toggle {
    display: none !important;
  }

  .jobseeker-dashboard-page .site-footer,
  .employer-dashboard-page .site-footer {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2;
    display: grid !important;
    grid-template-columns: 1.1fr 1.4fr 1fr !important;
    gap: 20px;
    align-items: center;
    min-height: 0 !important;
    margin: 34px 0 0 !important;
    padding: 23px 0 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .jobseeker-dashboard-page .site-footer nav,
  .jobseeker-dashboard-page .site-footer address,
  .employer-dashboard-page .site-footer nav,
  .employer-dashboard-page .site-footer address {
    display: flex !important;
  }

  .jobseeker-dashboard-page .site-footer p,
  .employer-dashboard-page .site-footer p {
    overflow: visible !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }
}

/* Final cabinet dark contrast layer */
.jobseeker-dashboard-page:not(.light),
.employer-dashboard-page:not(.light) {
  --cabinet-dark-bg: #061224;
  --cabinet-dark-panel: #0c1f3a;
  --cabinet-dark-card: #10294a;
  --cabinet-dark-card-strong: #14345d;
  --cabinet-dark-text: #ffffff;
  --cabinet-dark-muted: #d8e8ff;
  --cabinet-dark-soft: #aecdff;
  color: var(--cabinet-dark-text) !important;
  background:
    radial-gradient(circle at 78% 9%, rgba(41, 174, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 12% 18%, rgba(122, 85, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #040a15 0%, #07172d 48%, #061224 100%) !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-profile-card,
.jobseeker-dashboard-page:not(.light) .candidate-resumes-card,
.jobseeker-dashboard-page:not(.light) .candidate-main-panel,
.jobseeker-dashboard-page:not(.light) .candidate-stats-panel article,
.employer-dashboard-page:not(.light) .candidate-profile-card,
.employer-dashboard-page:not(.light) .candidate-resumes-card,
.employer-dashboard-page:not(.light) .candidate-main-panel,
.employer-dashboard-page:not(.light) .candidate-stats-panel article {
  color: var(--cabinet-dark-text) !important;
  border-color: rgba(92, 198, 255, 0.42) !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(42, 184, 255, 0.14), transparent 18rem),
    linear-gradient(145deg, rgba(14, 35, 65, 0.98), rgba(9, 24, 47, 0.98)) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-item,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card,
.jobseeker-dashboard-page:not(.light) .candidate-trash-item,
.employer-dashboard-page:not(.light) .candidate-resume-item,
.employer-dashboard-page:not(.light) .employer-candidate-card,
.employer-dashboard-page:not(.light) .candidate-trash-item {
  color: var(--cabinet-dark-text) !important;
  border-color: rgba(103, 205, 255, 0.38) !important;
  background:
    linear-gradient(145deg, var(--cabinet-dark-card-strong), var(--cabinet-dark-card)) !important;
  opacity: 1 !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-resume-item.is-paused,
.employer-dashboard-page:not(.light) .candidate-resume-item.is-paused {
  background: linear-gradient(145deg, #13243d, #0d1f39) !important;
  opacity: 1 !important;
}

.jobseeker-dashboard-page:not(.light) h1,
.jobseeker-dashboard-page:not(.light) h2,
.jobseeker-dashboard-page:not(.light) h3,
.jobseeker-dashboard-page:not(.light) strong,
.jobseeker-dashboard-page:not(.light) dd,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card > strong,
.employer-dashboard-page:not(.light) h1,
.employer-dashboard-page:not(.light) h2,
.employer-dashboard-page:not(.light) h3,
.employer-dashboard-page:not(.light) strong,
.employer-dashboard-page:not(.light) dd,
.employer-dashboard-page:not(.light) .employer-candidate-card > strong {
  color: var(--cabinet-dark-text) !important;
  text-shadow: none !important;
}

.jobseeker-dashboard-page:not(.light) p,
.jobseeker-dashboard-page:not(.light) span,
.jobseeker-dashboard-page:not(.light) dt,
.jobseeker-dashboard-page:not(.light) label,
.jobseeker-dashboard-page:not(.light) .candidate-resume-copy span,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card p,
.jobseeker-dashboard-page:not(.light) .candidate-main-hero p,
.jobseeker-dashboard-page:not(.light) .candidate-readiness p,
.jobseeker-dashboard-page:not(.light) .candidate-stat span,
.employer-dashboard-page:not(.light) p,
.employer-dashboard-page:not(.light) span,
.employer-dashboard-page:not(.light) dt,
.employer-dashboard-page:not(.light) label,
.employer-dashboard-page:not(.light) .candidate-resume-copy span,
.employer-dashboard-page:not(.light) .employer-candidate-card p,
.employer-dashboard-page:not(.light) .candidate-main-hero p,
.employer-dashboard-page:not(.light) .candidate-stat span {
  color: var(--cabinet-dark-muted) !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-label,
.employer-dashboard-page:not(.light) .candidate-label,
.jobseeker-dashboard-page:not(.light) .candidate-match,
.employer-dashboard-page:not(.light) .candidate-match {
  color: #65dcff !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-match,
.employer-dashboard-page:not(.light) .candidate-match {
  background: rgba(22, 143, 255, 0.26) !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-region-fit,
.employer-dashboard-page:not(.light) .candidate-region-fit {
  border-color: rgba(92, 214, 255, 0.42) !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(38, 196, 255, 0.2), transparent 8rem),
    linear-gradient(135deg, #12345d, #0d2442) !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-region-fit span,
.employer-dashboard-page:not(.light) .candidate-region-fit span {
  color: var(--cabinet-dark-muted) !important;
}

.jobseeker-dashboard-page:not(.light) input,
.jobseeker-dashboard-page:not(.light) select,
.jobseeker-dashboard-page:not(.light) textarea,
.employer-dashboard-page:not(.light) input,
.employer-dashboard-page:not(.light) select,
.employer-dashboard-page:not(.light) textarea {
  color: var(--cabinet-dark-text) !important;
  border-color: rgba(103, 205, 255, 0.38) !important;
  background: #07182d !important;
}

.jobseeker-dashboard-page:not(.light) input::placeholder,
.jobseeker-dashboard-page:not(.light) textarea::placeholder,
.employer-dashboard-page:not(.light) input::placeholder,
.employer-dashboard-page:not(.light) textarea::placeholder {
  color: rgba(216, 232, 255, 0.64) !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-edit-resume,
.jobseeker-dashboard-page:not(.light) .candidate-delete-resume,
.jobseeker-dashboard-page:not(.light) .candidate-vacancy-card button,
.employer-dashboard-page:not(.light) .candidate-edit-resume,
.employer-dashboard-page:not(.light) .candidate-delete-resume,
.employer-dashboard-page:not(.light) .employer-candidate-open,
.employer-dashboard-page:not(.light) .employer-resume-favorite {
  color: #ffffff !important;
}

.jobseeker-dashboard-page:not(.light) .candidate-mobile-toolbar,
.employer-dashboard-page:not(.light) .candidate-mobile-toolbar,
.jobseeker-dashboard-page:not(.light) .site-footer,
.employer-dashboard-page:not(.light) .site-footer {
  color: var(--cabinet-dark-text) !important;
  border-color: rgba(92, 198, 255, 0.36) !important;
  background: rgba(8, 23, 45, 0.94) !important;
}

.employer-dashboard-page:not(.light) .employer-stat-main,
.employer-dashboard-page:not(.light) .employer-growth {
  color: #ffffff !important;
  border: 1px solid rgba(91, 205, 255, 0.32) !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(43, 181, 255, 0.2), transparent 9rem),
    linear-gradient(135deg, rgba(19, 57, 96, 0.96), rgba(13, 35, 66, 0.96)) !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.employer-dashboard-page:not(.light) .employer-stat-main strong,
.employer-dashboard-page:not(.light) .employer-stat-main span,
.employer-dashboard-page:not(.light) .employer-growth strong,
.employer-dashboard-page:not(.light) .employer-growth span {
  color: #ffffff !important;
  text-shadow: none !important;
}

.employer-dashboard-page:not(.light) .employer-bars,
.employer-dashboard-page:not(.light) .employer-meter,
.employer-dashboard-page:not(.light) .employer-growth {
  border-top-color: rgba(91, 205, 255, 0.2) !important;
}

.employer-dashboard-page:not(.light) .employer-bars span,
.employer-dashboard-page:not(.light) .employer-meter span,
.employer-dashboard-page:not(.light) .employer-meter small {
  color: rgba(225, 242, 255, 0.9) !important;
  text-shadow: none !important;
}

.employer-dashboard-page:not(.light) .employer-bars b,
.employer-dashboard-page:not(.light) .employer-meter strong {
  color: #ffffff !important;
  text-shadow: none !important;
}

.employer-dashboard-page:not(.light) .employer-meter > i,
.employer-dashboard-page:not(.light) .employer-bars i {
  background: linear-gradient(90deg, rgba(24, 155, 255, 0.86), rgba(104, 82, 255, 0.86)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.employer-dashboard-page:not(.light) .employer-meter > i b {
  border-color: #ffffff !important;
  background: #1498ff !important;
  box-shadow: 0 0 0 4px rgba(20, 152, 255, 0.22) !important;
}

.jobseeker-dashboard-page:not(.light) .koos-chat-window,
.employer-dashboard-page:not(.light) .koos-chat-window {
  color: #f8fbff !important;
  border-color: rgba(91, 205, 255, 0.42) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(41, 174, 255, 0.18), transparent 22rem),
    linear-gradient(145deg, rgba(8, 24, 45, 0.98), rgba(5, 18, 34, 0.98)) !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.jobseeker-dashboard-page:not(.light) .koos-chat-window-head,
.employer-dashboard-page:not(.light) .koos-chat-window-head,
.jobseeker-dashboard-page:not(.light) .koos-chat-thread-list,
.employer-dashboard-page:not(.light) .koos-chat-thread-list {
  border-color: rgba(91, 205, 255, 0.22) !important;
}

.jobseeker-dashboard-page:not(.light) .koos-chat-window-head strong,
.employer-dashboard-page:not(.light) .koos-chat-window-head strong,
.jobseeker-dashboard-page:not(.light) .koos-chat-title strong,
.employer-dashboard-page:not(.light) .koos-chat-title strong,
.jobseeker-dashboard-page:not(.light) .koos-chat-dialog-head strong,
.employer-dashboard-page:not(.light) .koos-chat-dialog-head strong {
  color: #ffffff !important;
  text-shadow: none !important;
}

.jobseeker-dashboard-page:not(.light) .koos-chat-window p,
.jobseeker-dashboard-page:not(.light) .koos-chat-window span,
.jobseeker-dashboard-page:not(.light) .koos-chat-window small,
.employer-dashboard-page:not(.light) .koos-chat-window p,
.employer-dashboard-page:not(.light) .koos-chat-window span,
.employer-dashboard-page:not(.light) .koos-chat-window small {
  color: rgba(224, 241, 255, 0.88) !important;
}

.jobseeker-dashboard-page:not(.light) .koos-chat-dialog > p,
.employer-dashboard-page:not(.light) .koos-chat-dialog > p,
.jobseeker-dashboard-page:not(.light) .koos-chat-thread-list:empty::before,
.employer-dashboard-page:not(.light) .koos-chat-thread-list:empty::before {
  color: rgba(224, 241, 255, 0.86) !important;
}

.jobseeker-dashboard-page:not(.light) .koos-chat-thread-list button,
.employer-dashboard-page:not(.light) .koos-chat-thread-list button {
  color: #f8fbff !important;
  border-color: rgba(91, 205, 255, 0.28) !important;
  background:
    linear-gradient(145deg, rgba(18, 50, 86, 0.94), rgba(11, 34, 64, 0.94)) !important;
}

.jobseeker-dashboard-page:not(.light) .koos-chat-thread-list button.is-active,
.employer-dashboard-page:not(.light) .koos-chat-thread-list button.is-active {
  border-color: rgba(91, 205, 255, 0.58) !important;
  background:
    radial-gradient(circle at 16% 20%, rgba(41, 174, 255, 0.22), transparent 8rem),
    linear-gradient(145deg, rgba(24, 68, 116, 0.98), rgba(13, 42, 76, 0.98)) !important;
}

.jobseeker-dashboard-page:not(.light) .koos-chat-window-head button,
.employer-dashboard-page:not(.light) .koos-chat-window-head button,
.jobseeker-dashboard-page:not(.light) .koos-chat-dialog-head button,
.employer-dashboard-page:not(.light) .koos-chat-dialog-head button,
.jobseeker-dashboard-page:not(.light) .koos-chat-tools button,
.employer-dashboard-page:not(.light) .koos-chat-tools button {
  color: #ffffff !important;
  border-color: rgba(91, 205, 255, 0.3) !important;
  background: rgba(12, 42, 74, 0.9) !important;
}

.jobseeker-dashboard-page:not(.light) .vacancy-chat-messages,
.employer-dashboard-page:not(.light) .vacancy-chat-messages {
  border-color: rgba(91, 205, 255, 0.22) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(41, 174, 255, 0.08), transparent 16rem),
    rgba(3, 16, 31, 0.64) !important;
}

.jobseeker-dashboard-page:not(.light) .vacancy-chat-messages p,
.employer-dashboard-page:not(.light) .vacancy-chat-messages p {
  color: #eaf6ff !important;
  border-color: rgba(91, 205, 255, 0.22) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(91, 205, 255, 0.14), transparent 8rem),
    linear-gradient(145deg, rgba(16, 45, 78, 0.96), rgba(9, 29, 54, 0.94)) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
}

.jobseeker-dashboard-page:not(.light) .vacancy-chat-messages p.is-own,
.employer-dashboard-page:not(.light) .vacancy-chat-messages p.is-own {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(20, 143, 255, 0.94), rgba(84, 72, 222, 0.94)) !important;
}

.jobseeker-dashboard-page:not(.light) .vacancy-chat-form,
.employer-dashboard-page:not(.light) .vacancy-chat-form {
  border-color: rgba(91, 205, 255, 0.24) !important;
  background: rgba(232, 244, 255, 0.92) !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.jobseeker-dashboard-page:not(.light) .vacancy-chat-form textarea,
.employer-dashboard-page:not(.light) .vacancy-chat-form textarea {
  color: #071222 !important;
  border-color: rgba(20, 143, 255, 0.26) !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

.jobseeker-dashboard-page:not(.light) .vacancy-chat-form textarea::placeholder,
.employer-dashboard-page:not(.light) .vacancy-chat-form textarea::placeholder {
  color: rgba(64, 80, 105, 0.58) !important;
}

.jobseeker-dashboard-page:not(.light) .vacancy-chat-messages p > b,
.jobseeker-dashboard-page:not(.light) .vacancy-chat-messages p > span,
.jobseeker-dashboard-page:not(.light) .vacancy-chat-messages p > small,
.employer-dashboard-page:not(.light) .vacancy-chat-messages p > b,
.employer-dashboard-page:not(.light) .vacancy-chat-messages p > span,
.employer-dashboard-page:not(.light) .vacancy-chat-messages p > small {
  color: inherit !important;
}

/* Final cabinet light contrast layer */
.jobseeker-dashboard-page.light,
.employer-dashboard-page.light {
  --cabinet-light-text: #071222;
  --cabinet-light-muted: #405069;
  --cabinet-light-soft: #637189;
  color: var(--cabinet-light-text) !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(45, 159, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 84% 12%, rgba(114, 92, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 46%, #f9fcff 100%) !important;
}

.jobseeker-dashboard-page.light .candidate-profile-card,
.jobseeker-dashboard-page.light .candidate-resumes-card,
.jobseeker-dashboard-page.light .candidate-main-panel,
.jobseeker-dashboard-page.light .candidate-stats-panel article,
.employer-dashboard-page.light .candidate-profile-card,
.employer-dashboard-page.light .candidate-resumes-card,
.employer-dashboard-page.light .candidate-main-panel,
.employer-dashboard-page.light .candidate-stats-panel article {
  color: var(--cabinet-light-text) !important;
  border-color: rgba(29, 104, 188, 0.18) !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(54, 177, 255, 0.1), transparent 18rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.92)) !important;
  box-shadow:
    0 24px 70px rgba(18, 57, 106, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

.jobseeker-dashboard-page.light .candidate-main-hero,
.employer-dashboard-page.light .candidate-main-hero,
.jobseeker-dashboard-page.light .candidate-readiness,
.employer-dashboard-page.light .candidate-readiness,
.jobseeker-dashboard-page.light .candidate-region-fit,
.employer-dashboard-page.light .candidate-region-fit,
.employer-dashboard-page.light .employer-stat-main,
.employer-dashboard-page.light .employer-growth {
  color: var(--cabinet-light-text) !important;
  border-color: rgba(29, 104, 188, 0.16) !important;
  background:
    radial-gradient(circle at 88% 8%, rgba(37, 178, 255, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(231, 243, 255, 0.9)) !important;
  box-shadow:
    0 18px 46px rgba(18, 57, 106, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

.jobseeker-dashboard-page.light h1,
.jobseeker-dashboard-page.light h2,
.jobseeker-dashboard-page.light h3,
.jobseeker-dashboard-page.light strong,
.jobseeker-dashboard-page.light dd,
.jobseeker-dashboard-page.light .candidate-profile-card h1,
.jobseeker-dashboard-page.light .candidate-main-hero h2,
.jobseeker-dashboard-page.light .candidate-readiness strong,
.jobseeker-dashboard-page.light .candidate-vacancy-card > strong,
.employer-dashboard-page.light h1,
.employer-dashboard-page.light h2,
.employer-dashboard-page.light h3,
.employer-dashboard-page.light strong,
.employer-dashboard-page.light dd,
.employer-dashboard-page.light .candidate-profile-card h1,
.employer-dashboard-page.light .candidate-main-hero h2,
.employer-dashboard-page.light .employer-stat-main strong,
.employer-dashboard-page.light .employer-growth strong {
  color: var(--cabinet-light-text) !important;
  text-shadow: none !important;
}

.jobseeker-dashboard-page.light p,
.jobseeker-dashboard-page.light span,
.jobseeker-dashboard-page.light dt,
.jobseeker-dashboard-page.light label,
.jobseeker-dashboard-page.light .candidate-profile-card p,
.jobseeker-dashboard-page.light .candidate-main-hero p,
.jobseeker-dashboard-page.light .candidate-readiness p,
.jobseeker-dashboard-page.light .candidate-region-fit span,
.jobseeker-dashboard-page.light .candidate-stat span,
.jobseeker-dashboard-page.light .candidate-vacancy-card p,
.employer-dashboard-page.light p,
.employer-dashboard-page.light span,
.employer-dashboard-page.light dt,
.employer-dashboard-page.light label,
.employer-dashboard-page.light .candidate-profile-card p,
.employer-dashboard-page.light .candidate-main-hero p,
.employer-dashboard-page.light .candidate-stat span,
.employer-dashboard-page.light .employer-stat-main span,
.employer-dashboard-page.light .employer-growth span,
.employer-dashboard-page.light .employer-meter small,
.employer-dashboard-page.light .employer-candidate-card p {
  color: var(--cabinet-light-muted) !important;
  text-shadow: none !important;
}

.jobseeker-dashboard-page.light .candidate-label,
.employer-dashboard-page.light .candidate-label,
.jobseeker-dashboard-page.light .candidate-match,
.employer-dashboard-page.light .candidate-match {
  color: #087bdc !important;
}

.jobseeker-dashboard-page.light .candidate-resume-item,
.jobseeker-dashboard-page.light .candidate-vacancy-card,
.jobseeker-dashboard-page.light .candidate-trash-item,
.employer-dashboard-page.light .candidate-resume-item,
.employer-dashboard-page.light .employer-candidate-card,
.employer-dashboard-page.light .candidate-trash-item {
  color: var(--cabinet-light-text) !important;
  border-color: rgba(29, 104, 188, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 247, 255, 0.9)) !important;
  opacity: 1 !important;
  box-shadow:
    0 16px 34px rgba(18, 57, 106, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

.jobseeker-dashboard-page.light input,
.jobseeker-dashboard-page.light select,
.jobseeker-dashboard-page.light textarea,
.employer-dashboard-page.light input,
.employer-dashboard-page.light select,
.employer-dashboard-page.light textarea {
  color: var(--cabinet-light-text) !important;
  border-color: rgba(29, 104, 188, 0.22) !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

.jobseeker-dashboard-page.light input::placeholder,
.jobseeker-dashboard-page.light textarea::placeholder,
.employer-dashboard-page.light input::placeholder,
.employer-dashboard-page.light textarea::placeholder {
  color: rgba(64, 80, 105, 0.58) !important;
}

.jobseeker-dashboard-page.light .candidate-mobile-toolbar,
.employer-dashboard-page.light .candidate-mobile-toolbar,
.jobseeker-dashboard-page.light .site-footer,
.employer-dashboard-page.light .site-footer {
  color: var(--cabinet-light-text) !important;
  border-color: rgba(29, 104, 188, 0.16) !important;
  background: rgba(248, 252, 255, 0.94) !important;
  box-shadow:
    0 18px 46px rgba(18, 57, 106, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.jobseeker-dashboard-page.light .koos-chat-window,
.employer-dashboard-page.light .koos-chat-window {
  color: var(--cabinet-light-text) !important;
  border-color: rgba(29, 104, 188, 0.2) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(39, 170, 255, 0.1), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.96)) !important;
  box-shadow:
    0 28px 80px rgba(18, 57, 106, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

.jobseeker-dashboard-page.light .koos-chat-window-head,
.employer-dashboard-page.light .koos-chat-window-head,
.jobseeker-dashboard-page.light .koos-chat-thread-list,
.employer-dashboard-page.light .koos-chat-thread-list {
  border-color: rgba(29, 104, 188, 0.14) !important;
}

.jobseeker-dashboard-page.light .koos-chat-window p,
.jobseeker-dashboard-page.light .koos-chat-window span,
.jobseeker-dashboard-page.light .koos-chat-window small,
.employer-dashboard-page.light .koos-chat-window p,
.employer-dashboard-page.light .koos-chat-window span,
.employer-dashboard-page.light .koos-chat-window small {
  color: var(--cabinet-light-muted) !important;
}

.jobseeker-dashboard-page.light .koos-chat-window-head strong,
.employer-dashboard-page.light .koos-chat-window-head strong,
.jobseeker-dashboard-page.light .koos-chat-title strong,
.employer-dashboard-page.light .koos-chat-title strong,
.jobseeker-dashboard-page.light .koos-chat-dialog-head strong,
.employer-dashboard-page.light .koos-chat-dialog-head strong {
  color: var(--cabinet-light-text) !important;
}

.jobseeker-dashboard-page.light .koos-chat-thread-list button,
.employer-dashboard-page.light .koos-chat-thread-list button,
.jobseeker-dashboard-page.light .vacancy-chat-messages p,
.employer-dashboard-page.light .vacancy-chat-messages p {
  color: var(--cabinet-light-text) !important;
  border-color: rgba(29, 104, 188, 0.16) !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

.jobseeker-dashboard-page.light .vacancy-chat-messages p.is-own,
.employer-dashboard-page.light .vacancy-chat-messages p.is-own {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(20, 143, 255, 0.94), rgba(84, 72, 222, 0.94)) !important;
}

.admin-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(23, 151, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 16%, rgba(111, 84, 255, 0.14), transparent 22rem),
    linear-gradient(180deg, #eef6ff, #f8fbff);
  color: #071222;
}

.admin-page:not(.light) {
  background:
    radial-gradient(circle at 12% 8%, rgba(23, 151, 255, 0.22), transparent 25rem),
    radial-gradient(circle at 88% 14%, rgba(107, 82, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, #020915, #06162a 48%, #020915);
  color: #f4f9ff;
}

.admin-shell {
  min-height: 100vh;
}

.admin-header {
  margin-bottom: 22px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-nav-panel,
.admin-hero,
.admin-kpi-card,
.admin-section,
.admin-owner-card,
.admin-analytics-grid > article {
  border: 1px solid rgba(29, 104, 188, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px rgba(23, 96, 188, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.admin-nav-panel {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  justify-items: center;
  text-align: center;
}

.admin-nav-panel h1 {
  margin: 0;
  max-width: 12ch;
  color: inherit;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.05;
  overflow-wrap: normal;
}

.admin-nav-panel p {
  margin: 0;
  color: rgba(7, 18, 34, 0.64);
  font-weight: 750;
}

.admin-nav-panel p[data-tone="success"] {
  color: #087a45;
}

.admin-nav-panel p[data-tone="error"] {
  color: #c63558;
}

.admin-nav-panel nav {
  display: grid;
  width: min(100%, 360px);
  gap: 10px;
  justify-self: center;
}

.admin-nav-panel nav button,
.admin-row-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 42px;
  width: 100%;
  border: 1px solid rgba(29, 104, 188, 0.16);
  border-radius: 14px;
  color: #071222;
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-nav-panel nav button.active {
  color: #ffffff;
  border-color: rgba(33, 169, 255, 0.6);
  background: linear-gradient(135deg, #159cff, #5546de);
}

.admin-row-actions button {
  width: auto;
}

.admin-workspace {
  display: grid;
  gap: 18px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  gap: 20px;
  align-items: center;
  padding: 26px;
  border-radius: 30px;
  text-align: center;
}

.admin-hero h2 {
  margin: 8px 0 10px;
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.admin-hero p {
  margin: 0;
  max-width: 720px;
  margin-inline: auto;
  color: rgba(7, 18, 34, 0.66);
  font-size: 1rem;
  line-height: 1.55;
}

.admin-page:not(.light) .admin-nav-panel,
.admin-page:not(.light) .admin-hero,
.admin-page:not(.light) .admin-kpi-card,
.admin-page:not(.light) .admin-section,
.admin-page:not(.light) .admin-owner-card,
.admin-page:not(.light) .admin-analytics-grid > article {
  border-color: rgba(91, 205, 255, 0.28);
  background: linear-gradient(145deg, rgba(5, 22, 43, 0.9), rgba(9, 35, 66, 0.74));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(152, 225, 255, 0.14);
}

.admin-page:not(.light) .admin-nav-panel h1,
.admin-page:not(.light) .admin-hero h2,
.admin-page:not(.light) .admin-kpi-card strong,
.admin-page:not(.light) .admin-section-head h2,
.admin-page:not(.light) .admin-columns h3,
.admin-page:not(.light) .admin-analytics-grid h3,
.admin-page:not(.light) .admin-row-card strong,
.admin-page:not(.light) .admin-count-card strong {
  color: #ffffff;
}

.admin-page:not(.light) .admin-nav-panel p,
.admin-page:not(.light) .admin-hero p,
.admin-page:not(.light) .admin-owner-card span,
.admin-page:not(.light) .admin-kpi-card span,
.admin-page:not(.light) .admin-kpi-card small,
.admin-page:not(.light) .admin-row-card span,
.admin-page:not(.light) .admin-row-card p,
.admin-page:not(.light) .admin-row-card small,
.admin-page:not(.light) .admin-count-card span,
.admin-page:not(.light) .admin-count-card small,
.admin-page:not(.light) .admin-table-row {
  color: rgba(224, 240, 255, 0.78);
}

.admin-page:not(.light) .admin-nav-panel nav button,
.admin-page:not(.light) .admin-row-actions button,
.admin-page:not(.light) .admin-section-head input,
.admin-page:not(.light) .admin-content-form input,
.admin-page:not(.light) .admin-content-form select,
.admin-page:not(.light) .admin-content-form textarea {
  border-color: rgba(91, 205, 255, 0.26);
  background: rgba(3, 14, 28, 0.76);
  color: #ffffff;
}

.admin-page:not(.light) .admin-nav-panel nav button.active {
  border-color: rgba(91, 205, 255, 0.62);
  background: linear-gradient(135deg, #159cff, #5546de);
}

.admin-page:not(.light) .admin-kpi-card.active,
.admin-page:not(.light) .admin-count-card,
.admin-page:not(.light) .admin-row-card,
.admin-page:not(.light) .admin-content-form {
  border-color: rgba(91, 205, 255, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(33, 169, 255, 0.16), transparent 10rem),
    rgba(3, 16, 31, 0.82);
}

.admin-owner-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 24px;
  text-align: center;
}

.admin-owner-card img {
  width: 92px;
  height: 112px;
  object-fit: contain;
}

.admin-owner-card span {
  color: rgba(7, 18, 34, 0.58);
  font-weight: 850;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.admin-kpi-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(29, 104, 188, 0.16);
  color: inherit;
  text-align: center;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.admin-kpi-card:hover,
.admin-kpi-card.active {
  transform: translateY(-3px);
  border-color: rgba(33, 169, 255, 0.5);
  box-shadow: 0 24px 64px rgba(23, 96, 188, 0.16), 0 0 0 1px rgba(33, 169, 255, 0.12);
}

.admin-kpi-card.active {
  background:
    radial-gradient(circle at 50% 0%, rgba(33, 169, 255, 0.16), transparent 8rem),
    rgba(255, 255, 255, 0.92);
}

.admin-kpi-card span,
.admin-kpi-card small {
  display: block;
  width: 100%;
  color: rgba(7, 18, 34, 0.58);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.22;
  text-align: center;
}

.admin-kpi-card strong {
  display: grid;
  min-height: 40px;
  place-items: center;
  color: #071222;
  font-size: 2rem;
  line-height: 1;
}

.admin-section {
  display: none;
  padding: 22px;
  border-radius: 28px;
}

.admin-section.active {
  display: grid;
  gap: 18px;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.admin-section-head h2,
.admin-columns h3,
.admin-analytics-grid h3 {
  margin: 0;
}

.admin-section-head input {
  width: min(360px, 100%);
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(29, 104, 188, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-weight: 800;
}

.admin-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-columns > article {
  min-width: 0;
}

.admin-list {
  display: grid;
  gap: 10px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.admin-row-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(29, 104, 188, 0.12);
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.82);
}

.admin-row-card > div:first-child {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-row-card strong {
  display: block;
  margin: 0;
  color: #071222;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.admin-row-card span,
.admin-row-card p,
.admin-row-card small {
  display: block;
  color: rgba(7, 18, 34, 0.62);
  font-size: 0.86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-row-card small {
  margin-top: 0;
  color: rgba(7, 18, 34, 0.48);
  font-weight: 800;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.admin-row-actions button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 0.76rem;
}

.admin-user-status-line {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.admin-user-status-badge,
.admin-user-verification-badge {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .75rem !important;
  font-weight: 900;
  line-height: 1 !important;
}
.admin-user-status-badge.is-active,
.admin-user-verification-badge.is-verified {
  color: #087a45 !important;
  border-color: rgba(20, 173, 104, .34);
  background: rgba(22, 190, 113, .13);
}
.admin-user-status-badge.is-blocked {
  color: #bd224c !important;
  border-color: rgba(223, 54, 94, .36);
  background: rgba(225, 54, 94, .13);
}
.admin-user-status-badge.is-deleted,
.admin-user-verification-badge.is-unverified {
  color: #92620b !important;
  border-color: rgba(210, 143, 26, .36);
  background: rgba(231, 165, 43, .14);
}
.admin-row-actions .admin-status-action.is-current-status {
  color: #fff !important;
  opacity: 1 !important;
  cursor: default;
  box-shadow: 0 7px 18px rgba(8, 19, 35, .16);
}
.admin-row-actions .admin-status-activate.is-current-status {
  border-color: #16a468 !important;
  background: linear-gradient(135deg, #18ad70, #087b50) !important;
}
.admin-row-actions .admin-status-block.is-current-status {
  border-color: #e04468 !important;
  background: linear-gradient(135deg, #e3496c, #a2163d) !important;
}
.admin-row-actions .admin-status-hide.is-current-status {
  border-color: #df9e30 !important;
  background: linear-gradient(135deg, #e8aa3f, #9a650d) !important;
}
.admin-page:not(.light) .admin-user-status-badge.is-active,
.admin-page:not(.light) .admin-user-verification-badge.is-verified {
  color: #8ef0bd !important;
}
.admin-page:not(.light) .admin-user-status-badge.is-blocked {
  color: #ffb3c4 !important;
}
.admin-page:not(.light) .admin-user-status-badge.is-deleted,
.admin-page:not(.light) .admin-user-verification-badge.is-unverified {
  color: #ffd493 !important;
}

.admin-detail-section {
  border-color: rgba(33, 169, 255, 0.28);
}

.admin-detail-list {
  max-height: 720px;
}

.admin-row-card-wide {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.admin-row-card-wide .admin-row-actions {
  justify-content: flex-end;
  min-width: min(360px, 100%);
}

.admin-row-card-compact {
  grid-template-columns: minmax(0, 1fr);
}

.admin-count-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(33, 169, 255, 0.16), transparent 12rem),
    rgba(248, 252, 255, 0.86);
  text-align: center;
}

.admin-count-card span {
  color: rgba(7, 18, 34, 0.62);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-count-card strong {
  color: #071222;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
}

.admin-count-card small {
  max-width: 520px;
  color: rgba(7, 18, 34, 0.58);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.admin-outreach-sector-card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 169, 255, 0.14), transparent 14rem),
    rgba(248, 252, 255, 0.86);
}

.admin-outreach-sector-card h3 {
  margin: 0;
  color: #071222;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.admin-page:not(.light) .admin-outreach-sector-card {
  border-color: rgba(91, 205, 255, 0.24);
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 169, 255, 0.16), transparent 14rem),
    rgba(3, 16, 31, 0.84);
}

.admin-page:not(.light) .admin-outreach-sector-card h3 {
  color: #ffffff;
}

.admin-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 118;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background: rgba(4, 14, 30, 0.48);
  backdrop-filter: blur(18px);
}

.admin-detail-modal[hidden] {
  display: none;
}

.admin-detail-modal-card {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(82vh, 860px);
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(29, 104, 188, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 169, 255, 0.14), transparent 18rem),
    rgba(248, 252, 255, 0.94);
  box-shadow: 0 34px 100px rgba(3, 14, 34, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: #071222;
  overflow: hidden;
}

.admin-detail-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(29, 104, 188, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #071222;
  font: 900 2rem/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.admin-detail-modal-list {
  max-height: min(62vh, 650px);
  padding-right: 8px;
}

.admin-page:not(.light) .admin-detail-modal-card {
  border-color: rgba(91, 205, 255, 0.32);
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 169, 255, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(5, 22, 43, 0.98), rgba(9, 35, 66, 0.94));
  color: #ffffff;
}

.admin-page:not(.light) .admin-detail-modal-close {
  border-color: rgba(91, 205, 255, 0.28);
  background: rgba(3, 14, 28, 0.86);
  color: #ffffff;
}

.admin-user-mail-card {
  width: min(760px, 100%);
  max-height: min(90vh, 920px);
  overflow-y: auto;
}

.admin-user-mail-recipient {
  margin: 8px 0 0;
  color: rgba(7, 18, 34, 0.68);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.admin-user-mail-form {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
}

.admin-user-mail-form label {
  display: grid;
  gap: 8px;
}

.admin-user-mail-form label > span {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-user-mail-form :is(input, select, textarea) {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid rgba(29, 104, 188, 0.22);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  color: #071222;
  font: 700 1rem/1.45 Inter, system-ui, sans-serif;
}

.admin-user-mail-form textarea {
  min-height: 210px;
  resize: vertical;
}

.admin-user-mail-wide,
.admin-user-mail-note,
.admin-user-mail-status,
.admin-user-mail-actions {
  grid-column: 1 / -1;
}

.admin-user-mail-language,
.admin-user-mail-note,
.admin-user-mail-status {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(29, 104, 188, 0.14);
  border-radius: 16px;
  background: rgba(233, 244, 255, 0.78);
  color: rgba(7, 18, 34, 0.72);
  line-height: 1.5;
}

.admin-user-mail-status:empty {
  display: none;
}

.admin-user-mail-status[data-tone="success"] { color: #087a45; }
.admin-user-mail-status[data-tone="error"] { color: #b91c42; }

.admin-user-mail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.admin-page:not(.light) .admin-user-mail-recipient,
.admin-page:not(.light) .admin-user-mail-form label > span,
.admin-page:not(.light) .admin-user-mail-language,
.admin-page:not(.light) .admin-user-mail-note {
  color: rgba(233, 243, 255, 0.76);
}

.admin-page:not(.light) .admin-user-mail-form :is(input, select, textarea) {
  border-color: rgba(91, 205, 255, 0.24);
  background: rgba(3, 14, 28, 0.72);
  color: #ffffff;
}

.admin-page:not(.light) .admin-user-mail-language,
.admin-page:not(.light) .admin-user-mail-note,
.admin-page:not(.light) .admin-user-mail-status {
  border-color: rgba(91, 205, 255, 0.2);
  background: rgba(7, 31, 58, 0.78);
}

@media (max-width: 700px) {
  .admin-user-mail-form { grid-template-columns: 1fr; }
  .admin-user-mail-form > * { grid-column: 1; }
  .admin-user-mail-actions { flex-direction: column-reverse; }
  .admin-user-mail-actions button { width: 100%; }
}

.admin-mfa-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 18, 38, 0.42);
  backdrop-filter: blur(18px);
}

.admin-mfa-overlay[hidden] {
  display: none;
}

.admin-mfa-card {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(33, 169, 255, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(33, 169, 255, 0.14), transparent 16rem),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 32px 90px rgba(3, 14, 34, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: #071222;
}

.admin-mfa-card h2,
.admin-mfa-card p {
  margin: 0;
}

.admin-mfa-card h2 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.05;
}

.admin-mfa-card p {
  color: rgba(7, 18, 34, 0.66);
  line-height: 1.55;
}

.admin-mfa-card form,
.admin-mfa-card label {
  display: grid;
  gap: 10px;
}

.admin-mfa-card label span {
  color: rgba(7, 18, 34, 0.68);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-mfa-card input {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(29, 104, 188, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: #071222;
  font: 900 1.8rem/1 Arial, sans-serif;
  letter-spacing: 0.22em;
  text-align: center;
}

.admin-mfa-status {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(238, 246, 255, 0.9);
  font-weight: 850;
}

.admin-mfa-status[data-tone="success"] {
  color: #087a45;
}

.admin-mfa-status[data-tone="error"] {
  color: #c63558;
}

.admin-row-actions button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #159cff, #5546de);
}

.admin-row-actions .admin-danger-action {
  border-color: rgba(244, 93, 122, 0.72);
  color: #b91c42;
  background: rgba(255, 239, 244, 0.94);
}

.admin-page:not(.light) .admin-row-actions .admin-danger-action {
  border-color: rgba(255, 108, 137, 0.72);
  color: #ffd5df;
  background: rgba(96, 21, 44, 0.58);
}

.admin-row-actions .admin-danger-action:hover {
  border-color: rgba(255, 126, 151, 0.92);
  color: #ffffff;
  background: linear-gradient(135deg, #d83d62, #8f1539);
}

.admin-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.admin-analytics-grid > article {
  padding: 18px;
  border-radius: 22px;
}

.admin-table {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.admin-table-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.45fr) repeat(5, minmax(66px, 0.7fr));
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(29, 104, 188, 0.12);
  color: rgba(7, 18, 34, 0.7);
  font-weight: 800;
}

.admin-table-head {
  color: #087cff;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.admin-table-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-sector-table .admin-table-row {
  grid-template-columns: minmax(170px, 1.45fr) repeat(5, minmax(82px, 0.65fr));
}

.admin-sector-table .admin-table-row span {
  text-align: center;
}

.admin-sector-table .admin-table-row span:first-child {
  text-align: left;
}

.admin-content-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(29, 104, 188, 0.12);
  border-radius: 22px;
  background: rgba(248, 252, 255, 0.76);
}

.admin-content-form label {
  display: grid;
  gap: 7px;
  color: rgba(7, 18, 34, 0.68);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-content-form input,
.admin-content-form select,
.admin-content-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(29, 104, 188, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: #071222;
  font: inherit;
  font-weight: 800;
}

.admin-content-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.admin-content-wide {
  grid-column: 1 / -1;
}

.admin-content-form .about-primary {
  align-self: end;
  min-height: 44px;
}

@media (max-width: 1100px) {
  .admin-layout,
  .admin-hero,
  .admin-analytics-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav-panel {
    position: relative;
    top: auto;
  }

  .admin-nav-panel nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-kpi-grid,
  .admin-columns,
  .admin-content-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-layout {
    gap: 14px;
  }

  .admin-nav-panel,
  .admin-hero,
  .admin-section {
    border-radius: 22px;
    padding: 16px;
  }

  .admin-nav-panel nav,
  .admin-kpi-grid,
  .admin-columns,
  .admin-content-form {
    grid-template-columns: 1fr;
  }

  .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-table-row {
    grid-template-columns: 1fr;
  }
}

/* Visual revision preview, final cascade layer. */
@media (min-width: 1040px) {
  .account-page main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    align-items: start;
  }

  .account-page .account-hero {
    align-self: start;
    height: clamp(420px, calc(100vh - 180px), 610px);
    min-height: clamp(420px, calc(100vh - 180px), 610px);
    margin-top: 18px;
    padding: clamp(34px, 4.2vw, 64px);
  }

  .account-page .account-auth {
    align-self: start;
    margin-top: 18px;
  }

  .account-page .account-next,
  .account-page .account-faq {
    grid-column: 1 / -1;
  }
}

.account-page .account-auth-quick {
  align-content: start;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(38, 196, 255, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.028)),
    rgba(3, 10, 27, 0.72);
}

.account-page .account-email-choice {
  min-height: 100%;
  place-content: center;
}

.account-page .account-trust-strip {
  margin-top: 2px;
}

.account-page .account-next {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

.account-page .account-faq.people-faq {
  margin-top: 0;
}

.people-page main {
  display: flex;
  flex-direction: column;
}

.people-page .people-hero {
  min-height: clamp(520px, 58vh, 650px);
}

.people-page .people-product-demo {
  order: 2;
  margin-top: 22px;
}

.people-page .people-employer-path {
  order: 3;
}

.people-page .people-pain {
  order: 4;
}

.people-page .people-ai-data {
  order: 5;
}

.people-page .people-carousel-section {
  order: 6;
}

.people-page .people-brand-map {
  order: 7;
}

.people-page .people-faq {
  order: 8;
}

.people-page .people-cta {
  order: 9;
}

.contact-hero {
  min-height: clamp(260px, 34vh, 380px);
}

.contact-grid {
  grid-template-columns: minmax(420px, 1.35fr) minmax(280px, 0.8fr);
  grid-auto-rows: minmax(0, auto);
  align-items: start;
  gap: 14px;
}

.contact-form {
  grid-column: 1;
  grid-row: 1 / span 2;
  order: 0;
}

.contact-person,
.office-card {
  grid-column: 2;
}

.contact-page .contact-card {
  border-radius: 16px;
}

.contact-page .contact-person > div,
.contact-page .office-card,
.contact-page .contact-form {
  padding: clamp(18px, 2vw, 24px);
}

.contact-page .contact-person h2,
.contact-page .office-card h2 {
  font-size: clamp(21px, 1.7vw, 25px);
}

.contact-page .contact-person p:not(.panel-kicker) {
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-page .contact-person a,
.contact-page .office-card p {
  gap: 10px;
  margin-top: 9px;
  font-size: 14px;
}

.contact-page .office-card div {
  margin: 14px calc(clamp(18px, 2vw, 24px) * -1) calc(clamp(18px, 2vw, 24px) * -1);
  padding: 14px clamp(18px, 2vw, 24px) 16px;
}

.contact-page .contact-form {
  gap: 12px;
}

.contact-page .form-row {
  gap: 12px;
}

.contact-page .contact-form input,
.contact-page .contact-form select {
  min-height: 54px;
}

.contact-page .contact-form select {
  height: 54px;
  line-height: 1.2;
  padding-right: 46px;
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(1, 8, 24, 0.48);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(225, 232, 248, 0.78) 50%),
    linear-gradient(135deg, rgba(225, 232, 248, 0.78) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 17px) 50%;
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
}

body.light .contact-page .contact-form select {
  background-color: rgba(255, 255, 255, 0.76);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(7, 18, 34, 0.76) 50%),
    linear-gradient(135deg, rgba(7, 18, 34, 0.76) 50%, transparent 50%);
}

.contact-page .contact-form textarea {
  min-height: 108px;
}

.contact-page .privacy-consent,
.contact-page .privacy-note {
  font-size: 12px;
}

.contact-page .privacy-consent {
  padding: 12px;
  border-radius: 14px;
}

.contact-page .contact-methods {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-page .contact-methods > a,
.contact-page .contact-methods > span {
  min-height: 70px;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
}

.contact-page .contact-methods svg {
  width: 30px;
  height: 30px;
}

.contact-page .contact-methods strong {
  font-size: 11px;
}

.contact-page .contact-methods span span {
  font-size: 13px;
}

.public-jobs-result-strip {
  display: grid;
  grid-template-columns: auto minmax(0, max-content) minmax(240px, 1fr);
  gap: 12px 16px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(38, 196, 255, 0.22);
  border-radius: 22px;
  padding: 16px 20px;
  background:
    radial-gradient(circle at 12% 20%, rgba(38, 196, 255, 0.16), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(3, 10, 27, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 54px rgba(0, 0, 0, 0.2);
}

.public-jobs-result-strip strong {
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.public-jobs-result-strip span {
  color: #61d8ff;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.1;
}

.public-jobs-result-strip small {
  color: rgba(222, 235, 255, 0.74);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.about-page .about-hero:has(+ .legal-panel) {
  min-height: clamp(190px, 26vh, 270px);
  padding-top: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(26px, 4vw, 44px);
}

.about-page .about-hero:has(+ .legal-panel) .about-hero-copy {
  max-width: 980px;
}

.about-page .about-hero:has(+ .legal-panel) h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.about-page .about-hero:has(+ .legal-panel) .about-lead {
  max-width: 860px;
}

.legal-toc {
  display: grid;
  gap: 14px;
  margin: 22px 0 24px;
  border: 1px solid rgba(38, 196, 255, 0.22);
  border-radius: 20px;
  padding: clamp(16px, 2vw, 22px);
  background:
    radial-gradient(circle at 12% 18%, rgba(38, 196, 255, 0.16), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 50px rgba(0, 0, 0, 0.18);
}

.legal-toc > strong {
  color: #62ddff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-toc a {
  border: 1px solid rgba(95, 189, 255, 0.22);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(228, 241, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(7, 17, 39, 0.46);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.legal-toc a:hover {
  transform: translateY(-1px);
  border-color: rgba(38, 196, 255, 0.58);
  color: #fff;
  background: rgba(30, 142, 255, 0.18);
}

body.light .legal-toc {
  border-color: rgba(45, 144, 255, 0.18);
  background:
    radial-gradient(circle at 12% 18%, rgba(38, 196, 255, 0.14), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 247, 255, 0.76));
  box-shadow: 0 16px 42px rgba(30, 100, 180, 0.08);
}

body.light .legal-toc a {
  color: rgba(8, 20, 40, 0.78);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(45, 144, 255, 0.18);
}

body.light .legal-toc a:hover {
  color: #06172f;
  border-color: rgba(20, 153, 255, 0.48);
  background: rgba(220, 242, 255, 0.86);
}

@media (max-width: 760px) {
  .site-header.global-header .site-nav {
    width: min(calc(100vw - 48px), 340px);
    margin-inline: auto;
    justify-content: center;
    justify-items: center;
    align-items: center;
  }

  body.mobile-menu-open .site-header.global-header .site-nav {
    padding: 12px;
  }

  .site-header.global-header .site-nav a {
    width: min(100%, 292px);
    max-width: 292px;
    min-height: 42px;
    margin-inline: auto;
    text-align: center;
  }
}

@media (max-width: 1039px) {
  .account-page .account-hero {
    min-height: 320px;
  }

  .account-page .account-auth {
    margin-top: 0;
  }

  .account-page .account-next,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-column: auto;
    grid-row: auto;
    order: 0;
  }

  .contact-person,
  .office-card {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .account-page .account-hero {
    min-height: 260px;
    margin-top: 12px;
  }

  .account-page .account-hero-copy h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .account-page .account-auth-quick {
    padding: 16px;
  }

  .account-page .account-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-page .people-hero {
    min-height: 440px;
  }

  .legal-toc > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-jobs-result-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .public-jobs-result-strip small {
    grid-column: 1 / -1;
  }

  .contact-page .contact-methods {
    grid-template-columns: 1fr;
  }
}

/* Final mobile footer guard: keeps footer links compact and prevents stacked/overlapped labels. */
@media (max-width: 760px) {
  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding-top: 16px !important;
    text-align: center !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer p {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer nav,
  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-content: stretch !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    gap: 6px 8px !important;
    margin-inline: auto !important;
    white-space: normal !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer address {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    gap: 6px 10px !important;
    margin-inline: auto !important;
    white-space: normal !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer nav a,
  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer .footer-links a,
  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer address a,
  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer .pwa-install-button {
    width: 100% !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 26px !important;
    padding: 4px 7px !important;
    justify-content: center !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer address a {
    width: auto !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer .pwa-install-button {
    grid-column: 1 / -1 !important;
    width: min(100%, 220px) !important;
    margin-inline: auto !important;
  }

  .jobseeker-dashboard-page .site-footer.is-open nav,
  .employer-dashboard-page .site-footer.is-open nav,
  .jobseeker-dashboard-page .site-footer.is-open .footer-links,
  .employer-dashboard-page .site-footer.is-open .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 8px !important;
    width: min(100%, 390px) !important;
    margin-inline: auto !important;
    white-space: normal !important;
  }

  .jobseeker-dashboard-page .site-footer.is-open nav a,
  .employer-dashboard-page .site-footer.is-open nav a,
  .jobseeker-dashboard-page .site-footer.is-open .footer-links a,
  .employer-dashboard-page .site-footer.is-open .footer-links a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .jobseeker-dashboard-page .site-footer.is-open address,
  .employer-dashboard-page .site-footer.is-open address {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: center !important;
    gap: 6px 10px !important;
    white-space: normal !important;
  }
}

@media (max-width: 390px) {
  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-footer nav,
  .jobseeker-dashboard-page .site-footer.is-open nav,
  .employer-dashboard-page .site-footer.is-open nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Admin layout guard: keeps account-page visual rules from breaking the control panel. */
.admin-page main.admin-layout,
.admin-page .admin-layout {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  width: min(100%, 1480px) !important;
  max-width: 1480px !important;
  margin-inline: auto !important;
  align-items: start !important;
}

.admin-page .admin-nav-panel {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  justify-items: center !important;
}

.admin-page .admin-nav-panel h1 {
  max-width: min(100%, 520px) !important;
  font-size: clamp(2rem, 5vw, 4.2rem) !important;
  text-align: center !important;
}

.admin-page .admin-nav-panel nav {
  grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
  width: min(100%, 560px) !important;
  margin-inline: auto !important;
}

.admin-page .admin-workspace {
  width: 100% !important;
  min-width: 0 !important;
}

.admin-page .admin-hero {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px) !important;
  width: 100% !important;
  min-width: 0 !important;
}

.admin-page .admin-hero h2 {
  max-width: 760px !important;
  font-size: clamp(2rem, 4.4vw, 4.4rem) !important;
  overflow-wrap: anywhere !important;
}

.admin-page .admin-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.admin-page .admin-kpi-card {
  min-width: 0 !important;
  padding: 15px 12px !important;
}

.admin-page .admin-kpi-card span,
.admin-page .admin-kpi-card small {
  overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
  .admin-page main.admin-layout,
  .admin-page .admin-layout {
    gap: 14px !important;
  }

  .admin-page .admin-nav-panel h1 {
    font-size: clamp(2rem, 12vw, 3.2rem) !important;
  }

  .admin-page .admin-nav-panel nav,
  .admin-page .admin-hero {
    grid-template-columns: 1fr !important;
  }

  .admin-page .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1180px) {
  .admin-page main.admin-layout,
  .admin-page .admin-layout {
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.46fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
  }

  .admin-page .admin-nav-panel {
    grid-column: 1 !important;
    min-height: 320px !important;
    align-self: stretch !important;
    align-content: center !important;
    padding: clamp(24px, 2.4vw, 34px) !important;
  }

  .admin-page .admin-nav-panel h1 {
    max-width: 380px !important;
    font-size: clamp(2rem, 3.1vw, 3.5rem) !important;
    line-height: 0.98 !important;
  }

  .admin-page .admin-nav-panel nav {
    width: min(100%, 430px) !important;
    grid-template-columns: 1fr !important;
  }

  .admin-page .admin-workspace {
    display: contents !important;
  }

  .admin-page .admin-hero {
    grid-column: 2 !important;
    min-height: 320px !important;
    align-self: stretch !important;
  }

  .admin-page .admin-hero h2 {
    max-width: 780px !important;
    font-size: clamp(3rem, 4.5vw, 5.1rem) !important;
    line-height: 0.98 !important;
  }

  .admin-page .admin-kpi-grid,
  .admin-page .admin-section {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 1180px) and (max-width: 1380px) {
  .admin-page main.admin-layout,
  .admin-page .admin-layout {
    grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1.34fr) !important;
  }

  .admin-page .admin-hero {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 180px) !important;
  }

  .admin-page .admin-hero h2 {
    font-size: clamp(2.55rem, 4.1vw, 4.2rem) !important;
  }
}

@media (max-width: 1179px) {
  .admin-page .admin-workspace {
    display: grid !important;
    gap: 22px !important;
  }
}

/* Jobseeker desktop: edge columns use the full work area, center stretches between. */
@media (min-width: 1180px) {
  .jobseeker-dashboard-page .account-shell {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: clamp(24px, 2.2vw, 48px) !important;
  }

  .jobseeker-dashboard-page .candidate-dashboard {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    grid-template-columns:
      clamp(320px, 21vw, 410px)
      minmax(700px, 1fr)
      clamp(300px, 18vw, 370px) !important;
    gap: clamp(28px, 2.2vw, 46px) !important;
    justify-content: stretch !important;
    align-items: start !important;
  }

  .jobseeker-dashboard-page .candidate-sidebar {
    justify-self: start !important;
    width: 100% !important;
  }

  .jobseeker-dashboard-page .candidate-main-panel {
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .jobseeker-dashboard-page .candidate-stats-panel {
    justify-self: end !important;
    width: 100% !important;
  }
}

@media (min-width: 1700px) {
  .jobseeker-dashboard-page .candidate-dashboard {
    grid-template-columns:
      clamp(350px, 20vw, 430px)
      minmax(820px, 1fr)
      clamp(320px, 17vw, 390px) !important;
  }
}

/* Employer resume discovery: filters stay balanced and the full desktop list remains visible. */
.employer-ai-match-filter {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 74px;
  padding: 10px 16px;
  border: 1px solid rgba(55, 182, 255, 0.52);
  border-radius: 16px;
  color: #f7fbff;
  text-align: left;
  background: linear-gradient(135deg, rgba(8, 52, 84, 0.94), rgba(30, 38, 105, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 83, 156, 0.16);
  cursor: pointer;
}

.employer-ai-match-filter__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #07182d;
  font-size: 13px;
  font-weight: 950;
  background: linear-gradient(135deg, #21c9ff, #7a55ff);
  box-shadow: 0 0 20px rgba(39, 190, 255, 0.34);
}

.employer-ai-match-filter__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.employer-ai-match-filter__copy strong,
.employer-ai-match-filter__copy small {
  overflow-wrap: anywhere;
}

.employer-ai-match-filter__copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.employer-ai-match-filter__copy small {
  color: rgba(226, 237, 252, 0.72);
  font-size: 11px;
  line-height: 1.25;
}

.employer-ai-match-filter.is-active {
  border-color: rgba(65, 211, 255, 0.95);
  background: linear-gradient(135deg, rgba(16, 131, 205, 0.94), rgba(82, 64, 218, 0.94));
  box-shadow: 0 0 0 2px rgba(49, 190, 255, 0.14), 0 14px 34px rgba(31, 116, 255, 0.28);
}

.employer-ai-match-filter:disabled {
  cursor: wait;
  opacity: 0.88;
}

.employer-ai-match-filter.is-loading .employer-ai-match-filter__icon {
  animation: employer-ai-match-pulse 1s ease-in-out infinite alternate;
}

@keyframes employer-ai-match-pulse {
  from { transform: scale(0.92); box-shadow: 0 0 14px rgba(39, 190, 255, 0.28); }
  to { transform: scale(1.04); box-shadow: 0 0 30px rgba(80, 202, 255, 0.58); }
}

.employer-dashboard-page.light .employer-ai-match-filter {
  color: #061b31;
  border-color: rgba(33, 143, 210, 0.38);
  background: linear-gradient(135deg, rgba(229, 246, 255, 0.98), rgba(231, 233, 255, 0.98));
}

.employer-dashboard-page.light .employer-ai-match-filter__copy small {
  color: rgba(6, 27, 49, 0.62);
}

@media (min-width: 1180px) {
  .employer-dashboard-page .candidate-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .employer-dashboard-page .candidate-main-panel.employer-main-panel {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .employer-dashboard-page .employer-candidate-list {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 120px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .employer-dashboard-page .employer-candidate-card:not([hidden]) {
    display: grid !important;
  }
}

/* Jobseeker desktop final layout: side columns dock to viewport edges, center fills the space. */
@media (min-width: 1180px) {
  .jobseeker-dashboard-page main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  .jobseeker-dashboard-page .page-shell.account-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: clamp(18px, 2vw, 42px) !important;
    padding-right: clamp(18px, 2vw, 42px) !important;
    box-sizing: border-box !important;
  }

  .jobseeker-dashboard-page .candidate-dashboard {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-template-columns:
      minmax(320px, clamp(340px, 21vw, 430px))
      minmax(680px, 1fr)
      minmax(300px, clamp(320px, 18vw, 390px)) !important;
    column-gap: clamp(24px, 2vw, 42px) !important;
    justify-content: stretch !important;
  }

  .jobseeker-dashboard-page .candidate-sidebar {
    justify-self: stretch !important;
    align-self: start !important;
    margin-left: 0 !important;
  }

  .jobseeker-dashboard-page .candidate-main-panel {
    justify-self: stretch !important;
    align-self: start !important;
    width: 100% !important;
  }

  .jobseeker-dashboard-page .candidate-stats-panel {
    justify-self: stretch !important;
    align-self: start !important;
    margin-right: 0 !important;
  }
}

.candidate-camera-capture {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 9, 22, 0.72);
  backdrop-filter: blur(18px);
}

.candidate-camera-capture[hidden] {
  display: none;
}

.candidate-camera-box {
  width: min(94vw, 520px);
  padding: 18px;
  border: 1px solid rgba(51, 190, 255, 0.38);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(8, 26, 48, 0.96), rgba(20, 31, 72, 0.92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4), 0 0 36px rgba(36, 168, 255, 0.24);
}

.candidate-camera-box video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(154, 218, 255, 0.22);
  border-radius: 22px;
  background: #020914;
  object-fit: cover;
}

.candidate-camera-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}

.candidate-camera-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(34, 192, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #229fff, #5046e5);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.candidate-camera-actions button[data-camera-cancel] {
  color: rgba(232, 242, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

/* Final chat polish: compact readable bubbles and centered avatars. */
.vacancy-chat-messages {
  gap: 8px !important;
  padding: 10px !important;
}

.vacancy-chat-messages p {
  grid-template-columns: 32px minmax(0, 1fr) !important;
  gap: 4px 9px !important;
  max-width: min(74%, 520px) !important;
  padding: 9px 12px !important;
  border-radius: 16px 16px 16px 7px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.vacancy-chat-messages p.is-own {
  grid-template-columns: minmax(0, 1fr) !important;
  border-radius: 16px 16px 7px 16px !important;
}

.vacancy-chat-messages p.is-own > .koos-chat-avatar {
  display: none !important;
}

.vacancy-chat-messages p.is-own > b,
.vacancy-chat-messages p.is-own > span,
.vacancy-chat-messages p.is-own > a,
.vacancy-chat-messages p.is-own > audio,
.vacancy-chat-messages p.is-own > small {
  grid-column: 1 !important;
}

.vacancy-chat-messages b {
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.vacancy-chat-messages small {
  font-size: 11px !important;
  line-height: 1.2 !important;
  opacity: 0.78;
}

.koos-chat-avatar {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  font-size: 10px !important;
}

.koos-chat-avatar img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.vacancy-chat-form {
  grid-template-columns: minmax(0, 1fr) minmax(140px, auto) auto auto !important;
  align-items: center !important;
  background: rgba(236, 247, 255, 0.96) !important;
}

.vacancy-chat-form textarea {
  min-height: 46px !important;
  max-height: 120px !important;
  padding: 12px 14px !important;
  color: #071222 !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

.vacancy-chat-form input[type="file"] {
  max-width: 220px;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid rgba(20, 143, 255, 0.24);
  border-radius: 15px;
  color: #071222 !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.vacancy-chat-form input[type="file"]::file-selector-button {
  margin-right: 9px;
  padding: 7px 10px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #1fa4ff, #5448de);
  font: inherit;
  font-weight: 800;
}

.resume-driver-categories {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}

.resume-driver-categories[hidden] {
  display: none !important;
}

.resume-driver-categories label {
  min-width: 46px !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
}

@media (max-width: 700px) {
  .vacancy-chat-messages p {
    max-width: 88% !important;
  }

  .vacancy-chat-form {
    grid-template-columns: 1fr !important;
  }

  .vacancy-chat-form input[type="file"] {
    max-width: none;
    width: 100%;
  }
}

/* Final chat composer layout: one message row, tools below, separate send bubble. */
.vacancy-chat-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 58px !important;
  grid-template-areas:
    "message send"
    "file tools" !important;
  align-items: center !important;
  gap: 10px 12px !important;
  padding: 14px !important;
  border-color: rgba(93, 205, 255, 0.42) !important;
  background:
    linear-gradient(135deg, rgba(242, 249, 255, 0.98), rgba(220, 235, 247, 0.94)) !important;
}

.vacancy-chat-form textarea {
  grid-area: message !important;
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  overflow: auto !important;
  resize: none !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(20, 143, 255, 0.26) !important;
  border-radius: 18px !important;
  color: #071222 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  line-height: 1.25 !important;
}

.vacancy-chat-form input[type="file"] {
  grid-area: file !important;
  width: min(420px, 100%) !important;
  max-width: 100% !important;
  min-height: 42px !important;
  color: #071222 !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.vacancy-chat-form .koos-chat-tools {
  grid-area: tools !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

.vacancy-chat-form .koos-chat-send-button {
  grid-area: send !important;
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.42), transparent 22%),
    linear-gradient(135deg, #1fa4ff, #5348e8) !important;
  box-shadow: 0 16px 38px rgba(31, 164, 255, 0.28) !important;
}

.vacancy-chat-form .koos-chat-send-button span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.vacancy-chat-form .koos-chat-send-button svg {
  width: 26px !important;
  height: 26px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  transform: translateX(1px) rotate(2deg);
}

.koos-chat-avatar {
  display: grid !important;
  align-items: center !important;
  justify-items: center !important;
  place-items: center !important;
  padding: 0 !important;
  text-align: center !important;
}

/* Resume month picker: use one predictable centered picker instead of field-bound popups. */
.resume-month-picker {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  z-index: 3000 !important;
  width: min(520px, calc(100vw - 28px)) !important;
  transform: translate(-50%, -50%) !important;
  border-color: rgba(93, 205, 255, 0.45) !important;
  color: #071222 !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 164, 255, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 26px 90px rgba(0, 12, 28, 0.42) !important;
}

.resume-month-picker[hidden] {
  display: none !important;
}

.koosjobs-page:not(.light) .resume-month-picker {
  color: #f7fbff !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 164, 255, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(7, 24, 42, 0.98), rgba(13, 26, 68, 0.96)) !important;
}

.koosjobs-page:not(.light) .resume-month-picker-head button,
.koosjobs-page:not(.light) .resume-month-picker-actions button,
.koosjobs-page:not(.light) .resume-month-picker-grid button {
  color: #f7fbff !important;
  border-color: rgba(93, 205, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.koosjobs-page:not(.light) .resume-month-picker-grid button.is-selected,
.koosjobs-page:not(.light) .resume-month-picker-actions button:last-child {
  color: #ffffff !important;
  border-color: rgba(93, 205, 255, 0.72) !important;
  background: linear-gradient(135deg, #139bff, #5448de) !important;
}

.koosjobs-page:not(.light) .resume-month-picker-body span {
  color: rgba(232, 242, 255, 0.72) !important;
}

/* KoosJobs editor/detail pages must follow the selected site theme. */
.koosjobs-page.resume-composer-page:not(.light),
.koosjobs-page.resume-detail-page:not(.light) {
  background:
    radial-gradient(circle at 78% 8%, rgba(20, 143, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 18% 20%, rgba(125, 82, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #020713 0%, #03172a 48%, #020914 100%) !important;
  color: #f7fbff !important;
}

.koosjobs-page:not(.light) .resume-composer-header,
.koosjobs-page:not(.light) .resume-detail-toolbar,
.koosjobs-page:not(.light) .resume-document,
.koosjobs-page:not(.light) .resume-detail-actions,
.koosjobs-page:not(.light) .resume-composer-hero,
.koosjobs-page:not(.light) .resume-composer-card,
.koosjobs-page:not(.light) .resume-composer-submit,
.koosjobs-page:not(.light) .resume-master-card,
.koosjobs-page:not(.light) .resume-modal-panel {
  border-color: rgba(93, 205, 255, 0.26) !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(37, 150, 255, 0.14), transparent 18rem),
    linear-gradient(145deg, rgba(6, 24, 43, 0.94), rgba(9, 39, 68, 0.84)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22), 0 0 34px rgba(16, 142, 255, 0.08) !important;
}

.koosjobs-page:not(.light) .resume-composer-header .koosjobs-brand strong,
.koosjobs-page:not(.light) .resume-composer-header nav a,
.koosjobs-page:not(.light) .resume-composer-hero h1,
.koosjobs-page:not(.light) .resume-composer-card h2,
.koosjobs-page:not(.light) .resume-master-card strong,
.koosjobs-page:not(.light) .resume-detail-toolbar h1,
.koosjobs-page:not(.light) .resume-document-head h2,
.koosjobs-page:not(.light) .resume-document h3,
.koosjobs-page:not(.light) .resume-modal-panel h2 {
  color: #ffffff !important;
}

.koosjobs-page:not(.light) .resume-composer-header .koosjobs-brand small,
.koosjobs-page:not(.light) .resume-composer-hero p:not(.koosjobs-kicker),
.koosjobs-page:not(.light) .resume-composer-card p,
.koosjobs-page:not(.light) .resume-composer-submit p,
.koosjobs-page:not(.light) .resume-master-card p,
.koosjobs-page:not(.light) .resume-detail-toolbar p:not(.koosjobs-kicker),
.koosjobs-page:not(.light) .resume-document-head span,
.koosjobs-page:not(.light) .resume-document section p,
.koosjobs-page:not(.light) .resume-document section div,
.koosjobs-page:not(.light) .resume-modal-panel p {
  color: rgba(221, 236, 255, 0.78) !important;
}

.koosjobs-page:not(.light) .resume-document section {
  border-color: rgba(93, 205, 255, 0.2) !important;
  background: rgba(2, 14, 26, 0.52) !important;
}

.koosjobs-page:not(.light) .resume-composer-grid label,
.koosjobs-page:not(.light) .resume-wide-field,
.koosjobs-page:not(.light) .resume-optional-card small,
.koosjobs-page:not(.light) .resume-save-note {
  color: rgba(221, 236, 255, 0.78) !important;
}

.koosjobs-page:not(.light) .resume-composer-grid input,
.koosjobs-page:not(.light) .resume-composer-grid select,
.koosjobs-page:not(.light) .resume-wide-field textarea {
  border-color: rgba(93, 205, 255, 0.28) !important;
  color: #f7fbff !important;
  background: rgba(2, 14, 26, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.koosjobs-page:not(.light) .resume-composer-grid input::placeholder,
.koosjobs-page:not(.light) .resume-wide-field textarea::placeholder {
  color: rgba(221, 236, 255, 0.48) !important;
}

.koosjobs-page:not(.light) .resume-composer-grid select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: linear-gradient(135deg, rgba(2, 14, 26, 0.96), rgba(8, 34, 58, 0.9)) padding-box !important;
  background-image: none !important;
}

@media (max-width: 700px) {
  .vacancy-chat-form {
    grid-template-columns: minmax(0, 1fr) 54px !important;
    grid-template-areas:
      "message send"
      "file file"
      "tools tools" !important;
    padding: 12px !important;
  }

  .vacancy-chat-form .koos-chat-send-button {
    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
  }

  .vacancy-chat-form .koos-chat-tools {
    justify-content: center !important;
  }
}

/* Employer desktop final layout: edge columns dock to viewport edges, center fills the space. */
@media (min-width: 1180px) {
  .employer-dashboard-page main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  .employer-dashboard-page .page-shell.account-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: clamp(18px, 2vw, 42px) !important;
    padding-right: clamp(18px, 2vw, 42px) !important;
    box-sizing: border-box !important;
  }

  .employer-dashboard-page .candidate-dashboard.employer-dashboard {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-template-columns:
      minmax(320px, clamp(340px, 21vw, 430px))
      minmax(700px, 1fr)
      minmax(320px, clamp(340px, 18vw, 400px)) !important;
    column-gap: clamp(24px, 2vw, 42px) !important;
    justify-content: stretch !important;
    align-items: start !important;
  }

  .employer-dashboard-page .candidate-sidebar {
    justify-self: stretch !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }

  .employer-dashboard-page .candidate-main-panel {
    justify-self: stretch !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .employer-dashboard-page .candidate-stats-panel {
    justify-self: stretch !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
  }

  .employer-dashboard-page .candidate-main-hero {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: clamp(24px, 3vw, 56px) !important;
    align-items: center !important;
  }

  .employer-dashboard-page .candidate-main-hero p {
    max-width: 58ch !important;
  }

  .employer-dashboard-page .candidate-filters {
    grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
    gap: 16px !important;
  }

  .employer-dashboard-page .candidate-filters label {
    min-width: 0 !important;
  }

  .employer-dashboard-page .candidate-filters input,
  .employer-dashboard-page .candidate-filters select {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (min-width: 1700px) {
  .employer-dashboard-page .candidate-dashboard.employer-dashboard {
    grid-template-columns:
      minmax(350px, clamp(360px, 20vw, 430px))
      minmax(840px, 1fr)
      minmax(330px, clamp(350px, 17vw, 410px)) !important;
  }
}

/* Employer vacancy polish: readable selects, unified favorite buttons, real-count panels. */
.koosjobs-page:not(.light) .resume-composer-grid select {
  appearance: none !important;
  -webkit-appearance: none !important;
  color: #f7fbff !important;
  border-color: rgba(93, 205, 255, 0.38) !important;
  background:
    linear-gradient(135deg, rgba(2, 14, 26, 0.96), rgba(8, 34, 58, 0.9)) padding-box !important;
  background-image: none !important;
}

.employer-resume-favorite,
.vacancy-application-actions .employer-resume-favorite {
  display: inline-grid !important;
  place-items: center !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 28px !important;
  line-height: 1 !important;
  color: #dcecff !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(10, 42, 75, 0.95), rgba(29, 76, 124, 0.78)) !important;
  border: 1px solid rgba(132, 212, 255, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 36px rgba(0, 0, 0, 0.24) !important;
}

.employer-resume-favorite.is-active,
.vacancy-application-actions .employer-resume-favorite.is-active {
  color: #ffffff !important;
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.5), transparent 22%),
    linear-gradient(135deg, #21a9ff, #5547ef) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 0 30px rgba(34, 176, 255, 0.34),
    0 18px 36px rgba(19, 99, 255, 0.2) !important;
}

.vacancy-application-actions .employer-resume-favorite {
  flex: 0 0 54px !important;
}

.employer-dashboard-page:not(.light) .employer-favorites-hint,
.employer-dashboard-page:not(.light) .employer-favorite-empty {
  color: rgba(229, 241, 255, 0.78) !important;
}

.employer-dashboard-page:not(.light) .employer-favorites-dialog {
  color: #f7fbff !important;
  border-color: rgba(92, 205, 255, 0.32) !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(44, 169, 255, 0.18), transparent 14rem),
    linear-gradient(135deg, rgba(5, 20, 38, 0.98), rgba(9, 39, 68, 0.96)) !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48) !important;
}

.employer-dashboard-page:not(.light) .employer-favorite-mini-card {
  color: #f7fbff !important;
  border-color: rgba(92, 205, 255, 0.32) !important;
  background:
    linear-gradient(135deg, rgba(8, 31, 56, 0.96), rgba(17, 56, 92, 0.88)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

.employer-dashboard-page:not(.light) .employer-favorite-mini-card span {
  color: rgba(216, 232, 255, 0.76) !important;
}

.koosjobs-page:not(.light) .vacancy-applications-head > strong {
  color: #f7fbff !important;
  border: 1px solid rgba(92, 205, 255, 0.35) !important;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(9, 34, 61, 0.95), rgba(17, 70, 112, 0.86)) !important;
}

.koosjobs-page:not(.light) .vacancy-applications-head > strong span {
  color: #36b8ff !important;
}

/* Employer dashboard stats: align values and keep growth visually neutral. */
.employer-dashboard-page .employer-stats-panel .employer-growth,
.employer-dashboard-page .employer-stats-panel .candidate-stat {
  display: grid !important;
  grid-template-columns: minmax(72px, 0.38fr) minmax(0, 1fr) !important;
  column-gap: clamp(18px, 2vw, 28px) !important;
  align-items: center !important;
  width: 100% !important;
}

.employer-dashboard-page .employer-stats-panel .employer-growth {
  margin-top: 14px !important;
  padding: 18px 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(92, 205, 255, 0.16) !important;
  border-bottom: 1px solid rgba(92, 205, 255, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.employer-dashboard-page .employer-stats-panel .employer-growth strong,
.employer-dashboard-page .employer-stats-panel .candidate-stat strong {
  justify-self: start !important;
  min-width: 72px !important;
  margin: 0 !important;
  text-align: left !important;
  line-height: 1 !important;
}

.employer-dashboard-page .employer-stats-panel .employer-growth span,
.employer-dashboard-page .employer-stats-panel .candidate-stat span {
  justify-self: start !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

.employer-dashboard-page:not(.light) .employer-stats-panel .employer-growth,
.employer-dashboard-page.light .employer-stats-panel .employer-growth {
  background: transparent !important;
  box-shadow: none !important;
}

/* Public jobs navigation must wrap rather than clip long localized labels. */
@media (min-width: 761px) {
  body.public-jobs-page .site-header.global-header .site-nav {
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 8px 14px !important;
  }
  body.public-jobs-page .site-header.global-header .site-nav a {
    flex: 0 0 auto !important;
    max-width: none !important;
    overflow: visible !important;
    padding-block: 12px !important;
  }
}

/* Unified global header: one scale and one layout system for every page. */
.site-header.global-header {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 76px !important;
  padding: 0 clamp(8px, 1.2vw, 24px) !important;
  gap: clamp(10px, 1.15vw, 22px) !important;
}

.site-header.global-header .brand {
  flex: 0 1 clamp(238px, 18vw, 330px) !important;
  min-width: 218px !important;
  max-width: 330px !important;
  align-items: center !important;
  gap: 11px !important;
}

.site-header.global-header .brand-mark {
  flex: 0 0 50px !important;
  width: 50px !important;
  height: 50px !important;
}

.site-header.global-header .brand-name {
  max-width: none !important;
  font-size: clamp(15px, 1vw, 19px) !important;
  line-height: 1.02 !important;
  white-space: nowrap !important;
}

.site-header.global-header .brand-subtitle {
  font-size: clamp(7px, 0.52vw, 10px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.16em !important;
}

.site-header.global-header .site-nav {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  gap: clamp(12px, 1.25vw, 28px) !important;
  font-size: clamp(11px, 0.68vw, 13px) !important;
}

.site-header.global-header .site-nav a {
  padding: 29px 0 28px !important;
  white-space: nowrap !important;
}

.site-header.global-header .header-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-left: 0 !important;
  gap: clamp(8px, 0.75vw, 14px) !important;
}

.site-header.global-header .login-button {
  min-width: clamp(126px, 8.2vw, 164px) !important;
  min-height: 44px !important;
  padding: 0 clamp(14px, 0.95vw, 20px) !important;
  white-space: nowrap !important;
  font-size: clamp(11px, 0.68vw, 13px) !important;
}

.site-header.global-header .theme-button,
.site-header.global-header .language-select {
  min-width: clamp(100px, 6.5vw, 124px) !important;
  min-height: 44px !important;
  padding-inline: 12px !important;
  white-space: nowrap !important;
}

.site-header.global-header .mobile-menu-button {
  display: none !important;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .site-header.global-header {
    flex-wrap: wrap !important;
    row-gap: 0 !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .site-header.global-header .brand {
    flex: 1 1 300px !important;
  }

  .site-header.global-header .header-actions {
    margin-left: auto !important;
  }

  .site-header.global-header .site-nav {
    order: 3 !important;
    flex: 0 0 100% !important;
    justify-content: center !important;
    gap: clamp(20px, 3vw, 44px) !important;
  }

  .site-header.global-header .site-nav a {
    padding: 14px 0 13px !important;
  }
}

@media (max-width: 1360px) and (min-width: 1181px) {
  .site-header.global-header {
    flex-wrap: nowrap !important;
    padding-inline: 10px !important;
    gap: 14px !important;
  }

  .site-header.global-header .brand {
    flex: 0 0 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;
    gap: 11px !important;
  }

  .site-header.global-header .brand-mark {
    flex-basis: 50px !important;
    width: 50px !important;
    height: 50px !important;
  }

  .site-header.global-header .brand-name {
    font-size: 16px !important;
  }

  .site-header.global-header .brand-subtitle {
    font-size: 8px !important;
    line-height: 1.3 !important;
  }

  .site-header.global-header .site-nav {
    order: initial !important;
    flex: 1 1 auto !important;
    justify-content: space-evenly !important;
    gap: 8px !important;
    font-size: 12px !important;
  }

  .site-header.global-header .site-nav a {
    padding: 29px 0 28px !important;
  }

  .site-header.global-header .header-actions {
    flex: 0 0 auto !important;
    gap: 9px !important;
  }

  .site-header.global-header .login-button {
    min-width: 124px !important;
    padding-inline: 14px !important;
    font-size: 12px !important;
  }

  .site-header.global-header .theme-button,
  .site-header.global-header .language-select {
    min-width: 100px !important;
    padding-inline: 11px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 760px) {
  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 22px 18px 24px !important;
    gap: 14px !important;
    border-radius: 0 0 28px 28px !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .brand {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .brand-mark {
    width: 62px !important;
    height: 62px !important;
    flex-basis: 62px !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .brand-name {
    font-size: clamp(18px, 5vw, 25px) !important;
    text-align: center !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .brand-subtitle {
    display: none !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .header-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 760px) !important;
    gap: 10px !important;
    justify-content: center !important;
    justify-items: stretch !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .header-actions .login-button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    justify-content: center !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .theme-button,
  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .language-select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    justify-content: center !important;
    font-size: clamp(13px, 3.5vw, 15px) !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .mobile-menu-button {
    display: inline-flex !important;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: 64px !important;
    min-width: 64px !important;
    min-height: 50px !important;
    padding: 0 !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .mobile-menu-button span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .site-nav {
    display: grid !important;
    grid-column: 1 / -1 !important;
    width: min(100%, 760px) !important;
    max-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    gap: 10px !important;
    border: 0 !important;
    border-radius: 24px !important;
    opacity: 0 !important;
    transition: max-height 220ms ease, padding 180ms ease, opacity 180ms ease, border-color 180ms ease !important;
  }

  body.mobile-menu-open:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .site-nav {
    max-height: 430px !important;
    padding: 16px !important;
    border: 1px solid rgba(38, 196, 255, 0.24) !important;
    opacity: 1 !important;
  }

  body:not(.jobseeker-dashboard-page):not(.employer-dashboard-page) .site-header.global-header .site-nav a {
    width: min(100%, 360px) !important;
    min-height: 50px !important;
    margin-inline: auto !important;
    padding: 0 16px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 16px !important;
  }
}

/* Mobile dashboard recovery: keep every cabinet column inside the viewport. */
@media (max-width: 820px) {
  .jobseeker-dashboard-page .account-shell,
  .employer-dashboard-page .account-shell,
  .jobseeker-dashboard-page .candidate-dashboard,
  .employer-dashboard-page .candidate-dashboard,
  .jobseeker-dashboard-page .candidate-sidebar,
  .employer-dashboard-page .candidate-sidebar,
  .jobseeker-dashboard-page .candidate-main-panel,
  .employer-dashboard-page .candidate-main-panel,
  .jobseeker-dashboard-page .candidate-stats,
  .employer-dashboard-page .candidate-stats {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .jobseeker-dashboard-page .candidate-dashboard,
  .employer-dashboard-page .candidate-dashboard {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 16px !important;
    overflow: visible !important;
  }

  .jobseeker-dashboard-page .candidate-main-panel,
  .employer-dashboard-page .candidate-main-panel,
  .jobseeker-dashboard-page .candidate-stats,
  .employer-dashboard-page .candidate-stats {
    grid-column: 1 !important;
    transform: none !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar,
  .employer-dashboard-page .candidate-mobile-toolbar {
    box-sizing: border-box !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-inline: auto !important;
  }
}

/* Employer mobile cabinet: compact header, real content flow and stable bottom controls. */
@media (max-width: 820px) {
  .employer-dashboard-page {
    --candidate-mobile-header-height: 64px;
    --candidate-mobile-toolbar-height: 62px;
    --candidate-mobile-footer-height: 38px;
    --candidate-mobile-stats-height: 66px;
    overflow-x: hidden !important;
    padding-bottom: calc(
      var(--candidate-mobile-footer-height) +
      var(--candidate-mobile-stats-height) +
      28px +
      env(safe-area-inset-bottom)
    ) !important;
  }

  .employer-dashboard-page .page-shell.account-shell {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-inline: 12px !important;
  }

  .employer-dashboard-page .site-header.global-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: var(--candidate-mobile-header-height) !important;
    height: var(--candidate-mobile-header-height) !important;
    margin: 0 0 10px !important;
    padding: 8px 10px !important;
    overflow: visible !important;
    border-radius: 0 0 20px 20px !important;
    box-sizing: border-box !important;
  }

  .employer-dashboard-page .site-header.global-header .brand {
    display: flex !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .employer-dashboard-page .site-header.global-header .brand-mark {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    margin: 0 !important;
  }

  .employer-dashboard-page .site-header.global-header .brand-name,
  .employer-dashboard-page .site-header.global-header .brand-subtitle,
  .employer-dashboard-page .site-header.global-header .site-nav,
  .employer-dashboard-page .site-header.global-header .mobile-menu-button {
    display: none !important;
  }

  .employer-dashboard-page .site-header.global-header .header-actions {
    display: grid !important;
    grid-template-columns: minmax(72px, 0.9fr) minmax(86px, 1.08fr) minmax(68px, 0.78fr) !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: stretch !important;
  }

  .employer-dashboard-page .site-header.global-header .login-button,
  .employer-dashboard-page .site-header.global-header .theme-button,
  .employer-dashboard-page .site-header.global-header .language-select {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    justify-content: center !important;
    border-radius: 999px !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .employer-dashboard-page .site-header.global-header .login-button {
    color: #ffffff !important;
    font-size: 11px !important;
  }

  .employer-dashboard-page .site-header.global-header .login-button::before {
    display: none !important;
    content: none !important;
  }

  .employer-dashboard-page .site-header.global-header .theme-button {
    gap: 3px !important;
  }

  .employer-dashboard-page .site-header.global-header .theme-button span,
  .employer-dashboard-page .site-header.global-header .language-button {
    display: inline !important;
    overflow: hidden !important;
    max-width: 44px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
  }

  .employer-dashboard-page .site-header.global-header .theme-button svg,
  .employer-dashboard-page .site-header.global-header .language-select svg {
    width: 15px !important;
    min-width: 15px !important;
    height: 15px !important;
  }

  .employer-dashboard-page .candidate-mobile-toolbar {
    position: sticky !important;
    top: var(--candidate-mobile-header-height) !important;
    z-index: 78 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: var(--candidate-mobile-toolbar-height) !important;
    margin: 0 0 14px !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }

  .employer-dashboard-page .candidate-mobile-toolbar > .candidate-mobile-action {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 14px !important;
  }

  .employer-dashboard-page .candidate-dashboard.employer-dashboard {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .employer-dashboard-page .candidate-sidebar.employer-sidebar {
    order: 1 !important;
    display: grid !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  .employer-dashboard-page .employer-company-card {
    display: none !important;
  }

  .employer-dashboard-page .employer-vacancies-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    overflow: hidden !important;
    border-radius: 22px !important;
  }

  .employer-dashboard-page .employer-vacancy-list {
    box-sizing: border-box !important;
    width: 100% !important;
    max-height: min(52vh, 430px) !important;
    padding: 0 2px 0 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .employer-dashboard-page .employer-vacancy-item {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .employer-dashboard-page .employer-vacancy-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .employer-dashboard-page .employer-vacancy-actions .candidate-edit-resume,
  .employer-dashboard-page .employer-vacancy-actions .candidate-delete-resume {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    color: #ffffff !important;
    font-size: 11px !important;
    line-height: 1.12 !important;
  }

  .employer-dashboard-page .candidate-main-panel.employer-main-panel {
    order: 2 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .employer-dashboard-page .candidate-main-hero,
  .employer-dashboard-page .candidate-main-hero::before,
  .employer-dashboard-page .candidate-match-orb,
  .employer-dashboard-page .candidate-filters {
    display: none !important;
  }

  .employer-dashboard-page .employer-candidate-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: min(62vh, 620px) !important;
    margin: 0 !important;
    padding: 0 0 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .employer-dashboard-page .employer-candidate-list:empty {
    display: none !important;
  }

  .employer-dashboard-page .employer-candidate-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel {
    position: fixed !important;
    right: 10px !important;
    bottom: calc(var(--candidate-mobile-footer-height) + 8px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 75 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 20px) !important;
    height: var(--candidate-mobile-stats-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    pointer-events: none !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel > article:first-child {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: var(--candidate-mobile-stats-height) !important;
    margin: 0 !important;
    padding: 6px !important;
    overflow: hidden !important;
    border-radius: 17px !important;
    pointer-events: auto !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel .candidate-stat {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 15px 22px !important;
    gap: 2px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 5px 2px !important;
    align-content: center !important;
    justify-items: center !important;
    border-radius: 12px !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel .candidate-stat::before {
    font-size: 13px !important;
    line-height: 1 !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel .candidate-stat strong {
    font-size: 17px !important;
    line-height: 1 !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel .candidate-stat span {
    display: none !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel .employer-favorites-panel {
    display: none !important;
  }

  .employer-dashboard-page .site-footer {
    position: fixed !important;
    right: 10px !important;
    bottom: calc(5px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 74 !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 20px) !important;
    min-height: var(--candidate-mobile-footer-height) !important;
    height: var(--candidate-mobile-footer-height) !important;
    margin: 0 !important;
    padding: 5px 9px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  .employer-dashboard-page .site-footer p {
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .employer-dashboard-page .koos-chat-widget {
    right: 12px !important;
    bottom: calc(
      var(--candidate-mobile-footer-height) +
      var(--candidate-mobile-stats-height) +
      22px +
      env(safe-area-inset-bottom)
    ) !important;
  }

  .employer-dashboard-page .koos-chat-launcher {
    min-height: 46px !important;
    padding: 0 14px !important;
  }

  .employer-dashboard-page .cookie-manage {
    left: 10px !important;
    bottom: calc(
      var(--candidate-mobile-footer-height) +
      var(--candidate-mobile-stats-height) +
      20px +
      env(safe-area-inset-bottom)
    ) !important;
    max-width: min(170px, calc(100vw - 150px)) !important;
    overflow: hidden !important;
    font-size: 10px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  .employer-dashboard-page .site-header.global-header {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 5px !important;
    padding-inline: 7px !important;
  }

  .employer-dashboard-page .site-header.global-header .brand {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
  }

  .employer-dashboard-page .site-header.global-header .brand-mark {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  .employer-dashboard-page .site-header.global-header .header-actions {
    grid-template-columns: minmax(62px, 0.9fr) minmax(76px, 1.08fr) minmax(58px, 0.78fr) !important;
    gap: 4px !important;
  }

  .employer-dashboard-page .site-header.global-header .login-button,
  .employer-dashboard-page .site-header.global-header .theme-button,
  .employer-dashboard-page .site-header.global-header .language-select {
    padding-inline: 4px !important;
  }
}

/* Employer cabinet: stable mobile controls and card rhythm. */
@media (max-width: 820px) {
  .employer-dashboard-page {
    --employer-mobile-bottom-stack: calc(
      var(--candidate-mobile-footer-height) +
      var(--candidate-mobile-stats-height) +
      38px +
      env(safe-area-inset-bottom)
    );
    padding-bottom: var(--employer-mobile-bottom-stack) !important;
  }

  .employer-dashboard-page main,
  .employer-dashboard-page .candidate-dashboard.employer-dashboard {
    padding-bottom: var(--employer-mobile-bottom-stack) !important;
  }

  .employer-dashboard-page .site-header.global-header .brand {
    cursor: default !important;
    pointer-events: none !important;
  }

  .employer-dashboard-page .candidate-mobile-toolbar {
    position: relative !important;
    z-index: 130 !important;
    overflow: visible !important;
  }

  .employer-dashboard-page .candidate-mobile-action {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .employer-dashboard-page .employer-mobile-vacancy-menu,
  .employer-dashboard-page .employer-mobile-search-panel {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 140 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: min(56vh, 440px) !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: auto !important;
    pointer-events: auto !important;
  }

  .employer-dashboard-page .employer-mobile-vacancy-menu[hidden],
  .employer-dashboard-page .employer-mobile-search-panel[hidden] {
    display: none !important;
  }

  .employer-dashboard-page .employer-mobile-search-panel label,
  .employer-dashboard-page .employer-mobile-search-panel input {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .employer-dashboard-page .candidate-main-panel.employer-main-panel {
    padding-bottom: 16px !important;
  }

  .employer-dashboard-page .employer-candidate-list {
    max-height: none !important;
    padding-bottom: calc(var(--employer-mobile-bottom-stack) + 16px) !important;
    overflow: visible !important;
  }

  .employer-dashboard-page .employer-candidate-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 54px !important;
    grid-template-areas:
      "copy favorite"
      "salary favorite"
      "open open" !important;
    grid-template-rows: auto auto 46px !important;
    gap: 10px 12px !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 190px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 16px 18px !important;
    overflow: hidden !important;
  }

  .employer-dashboard-page .employer-candidate-card > div:first-child {
    grid-area: copy !important;
    min-width: 0 !important;
    align-self: start !important;
  }

  .employer-dashboard-page .employer-candidate-card h3 {
    margin: 7px 0 !important;
    font-size: clamp(19px, 5.2vw, 24px) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
  }

  .employer-dashboard-page .employer-candidate-card p {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .employer-dashboard-page .employer-candidate-card > strong {
    grid-area: salary !important;
    justify-self: start !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
  }

  .employer-dashboard-page .employer-resume-favorite {
    grid-area: favorite !important;
    align-self: start !important;
    justify-self: end !important;
    box-sizing: border-box !important;
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .employer-dashboard-page .employer-resume-favorite.is-active {
    color: #ffffff !important;
    border-color: rgba(117, 223, 255, 0.92) !important;
    background: linear-gradient(135deg, #169dff, #594ce8) !important;
    box-shadow: 0 0 20px rgba(33, 166, 255, 0.55) !important;
  }

  .employer-dashboard-page .employer-candidate-open {
    grid-area: open !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    align-self: end !important;
  }

  .employer-dashboard-page .candidate-profile-modal[data-employer-profile-modal] {
    z-index: 300 !important;
    pointer-events: auto !important;
  }

  .employer-dashboard-page [data-employer-profile-edit-close] {
    position: relative !important;
    z-index: 3 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

.resume-detail-favorite {
  display: inline-grid;
  place-items: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.resume-detail-favorite.is-active {
  color: #ffffff;
  border-color: rgba(117, 223, 255, 0.92);
  background: linear-gradient(135deg, #169dff, #594ce8);
  box-shadow: 0 0 22px rgba(33, 166, 255, 0.55);
}

@media (max-width: 700px) {
  .resume-detail-actions .resume-detail-favorite {
    width: 52px;
    min-width: 52px;
    height: 52px;
  }
}

/* Employer cabinet mobile layout: final geometry and fixed utility stack. */
@media (max-width: 820px) {
  html,
  body.employer-dashboard-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .employer-dashboard-page {
    --candidate-mobile-footer-height: 38px;
    --candidate-mobile-stats-height: 68px;
    --employer-mobile-bottom-stack: calc(132px + env(safe-area-inset-bottom));
  }

  .employer-dashboard-page .page-shell,
  .employer-dashboard-page main,
  .employer-dashboard-page .candidate-dashboard.employer-dashboard,
  .employer-dashboard-page .candidate-sidebar,
  .employer-dashboard-page .candidate-main-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .employer-dashboard-page .page-shell {
    padding-inline: 10px !important;
    overflow-x: clip !important;
  }

  .employer-dashboard-page main,
  .employer-dashboard-page .candidate-dashboard.employer-dashboard {
    padding-bottom: calc(var(--employer-mobile-bottom-stack) + 28px) !important;
  }

  .employer-dashboard-page .candidate-mobile-toolbar {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 8px !important;
  }

  .employer-dashboard-page .candidate-mobile-action {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .employer-dashboard-page .candidate-mobile-action.is-selected {
    color: #07101f !important;
    border-color: #62d7ff !important;
    background: linear-gradient(135deg, #eefaff, #dce4ff) !important;
    box-shadow: 0 0 20px rgba(42, 171, 255, 0.35) !important;
  }

  .employer-dashboard-page .candidate-dashboard.employer-dashboard {
    display: block !important;
    margin: 0 !important;
  }

  .employer-dashboard-page .candidate-sidebar,
  .employer-dashboard-page .candidate-main-panel.employer-main-panel {
    margin: 0 0 14px !important;
  }

  .employer-dashboard-page .employer-candidate-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    max-height: none !important;
    padding: 0 0 calc(var(--employer-mobile-bottom-stack) + 22px) !important;
    overflow: visible !important;
  }

  .employer-dashboard-page .employer-candidate-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 54px !important;
    grid-template-areas:
      "copy favorite"
      "salary favorite"
      "open open" !important;
    grid-template-rows: minmax(82px, auto) 24px 46px !important;
    gap: 10px 12px !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 196px !important;
    margin: 0 !important;
    padding: 16px !important;
    overflow: hidden !important;
  }

  .employer-dashboard-page .employer-candidate-card > div:first-child {
    grid-area: copy !important;
    align-self: stretch !important;
    min-width: 0 !important;
  }

  .employer-dashboard-page .employer-candidate-card .candidate-match {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
  }

  .employer-dashboard-page .employer-candidate-card h3 {
    margin: 0 0 7px !important;
    font-size: 21px !important;
    line-height: 1.18 !important;
  }

  .employer-dashboard-page .employer-candidate-card p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  .employer-dashboard-page .employer-candidate-card > strong {
    grid-area: salary !important;
    align-self: center !important;
    justify-self: start !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }

  .employer-dashboard-page .employer-resume-favorite {
    grid-area: favorite !important;
    align-self: start !important;
    justify-self: end !important;
    z-index: 5 !important;
  }

  .employer-dashboard-page .employer-candidate-open {
    grid-area: open !important;
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel {
    right: 10px !important;
    bottom: calc(var(--candidate-mobile-footer-height) + 10px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 190 !important;
    height: var(--candidate-mobile-stats-height) !important;
    max-width: calc(100% - 20px) !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel > article:first-child {
    height: var(--candidate-mobile-stats-height) !important;
    padding: 6px !important;
    overflow: hidden !important;
  }

  .employer-dashboard-page .site-footer {
    right: 10px !important;
    bottom: calc(4px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 189 !important;
    height: var(--candidate-mobile-footer-height) !important;
    min-height: var(--candidate-mobile-footer-height) !important;
    max-width: calc(100% - 20px) !important;
  }

  .employer-dashboard-page .koos-chat-widget,
  .employer-dashboard-page .cookie-manage {
    bottom: calc(var(--employer-mobile-bottom-stack) + 8px) !important;
    z-index: 188 !important;
  }

  .employer-dashboard-page .candidate-profile-modal[data-employer-profile-modal] {
    z-index: 400 !important;
  }
}

/* Employer mobile cabinet v250: one authoritative layout layer. */
@media (max-width: 820px) {
  body.employer-dashboard-page {
    --employer-fixed-footer: 42px;
    --employer-fixed-stats: 70px;
    --employer-fixed-gap: 10px;
    --employer-fixed-stack: calc(
      var(--employer-fixed-footer) +
      var(--employer-fixed-stats) +
      var(--employer-fixed-gap) +
      24px +
      env(safe-area-inset-bottom)
    );
  }

  .employer-dashboard-page main,
  .employer-dashboard-page .candidate-dashboard.employer-dashboard,
  .employer-dashboard-page .candidate-main-panel.employer-main-panel,
  .employer-dashboard-page .employer-candidate-list {
    padding-bottom: var(--employer-fixed-stack) !important;
  }

  .employer-dashboard-page .candidate-mobile-toolbar {
    position: relative !important;
    isolation: isolate !important;
    z-index: 240 !important;
  }

  .employer-dashboard-page .candidate-mobile-toolbar > button,
  .employer-dashboard-page .candidate-mobile-toolbar > a {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .employer-dashboard-page .employer-mobile-vacancy-menu,
  .employer-dashboard-page .employer-mobile-search-panel {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 250 !important;
    display: grid !important;
    gap: 12px !important;
    width: auto !important;
    min-height: 92px !important;
    padding: 14px !important;
    border: 1px solid rgba(60, 181, 255, 0.62) !important;
    border-radius: 18px !important;
    background: rgba(5, 27, 51, 0.98) !important;
    box-shadow: 0 18px 48px rgba(0, 9, 25, 0.55) !important;
  }

  .employer-dashboard-page.light .employer-mobile-vacancy-menu,
  .employer-dashboard-page.light .employer-mobile-search-panel {
    color: #07172a !important;
    background: rgba(247, 251, 255, 0.99) !important;
    box-shadow: 0 18px 42px rgba(21, 79, 142, 0.2) !important;
  }

  .employer-dashboard-page .employer-mobile-vacancy-menu[hidden],
  .employer-dashboard-page .employer-mobile-search-panel[hidden] {
    display: none !important;
  }

  .employer-dashboard-page .employer-mobile-search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .employer-dashboard-page .employer-mobile-search-panel label,
  .employer-dashboard-page .employer-mobile-search-panel input {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .employer-dashboard-page .employer-candidate-card {
    grid-template-columns: minmax(0, 1fr) 54px !important;
    grid-template-areas:
      "copy favorite"
      "salary favorite"
      "open open" !important;
    grid-template-rows: minmax(88px, auto) 24px 46px !important;
    column-gap: 14px !important;
    row-gap: 10px !important;
    min-height: 204px !important;
    padding: 16px !important;
  }

  .employer-dashboard-page .employer-candidate-card > div:first-child {
    display: block !important;
    grid-area: copy !important;
    min-width: 0 !important;
  }

  .employer-dashboard-page .employer-candidate-card > strong {
    grid-area: salary !important;
    min-width: 0 !important;
  }

  .employer-dashboard-page .employer-resume-favorite {
    grid-area: favorite !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    color: #eef7ff !important;
    border-color: rgba(134, 193, 231, 0.55) !important;
    background: rgba(109, 142, 178, 0.32) !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
  }

  .employer-dashboard-page .employer-resume-favorite.is-active {
    color: #ffffff !important;
    border-color: #7ddfff !important;
    background: linear-gradient(135deg, #149fff, #584ae5) !important;
    box-shadow: 0 0 21px rgba(27, 164, 255, 0.58) !important;
  }

  .employer-dashboard-page .employer-candidate-open {
    grid-area: open !important;
    display: inline-grid !important;
    place-items: center !important;
    min-height: 46px !important;
    padding: 9px 14px !important;
  }

  .employer-dashboard-page .employer-candidate-list > :last-child {
    margin-bottom: 12px !important;
    scroll-margin-bottom: var(--employer-fixed-stack) !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel {
    position: fixed !important;
    right: 10px !important;
    bottom: calc(var(--employer-fixed-footer) + 8px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 220 !important;
    width: auto !important;
    height: var(--employer-fixed-stats) !important;
    pointer-events: none !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel > article:first-child {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px !important;
    width: 100% !important;
    height: var(--employer-fixed-stats) !important;
    padding: 6px !important;
    overflow: hidden !important;
    pointer-events: auto !important;
  }

  .employer-dashboard-page .candidate-stats-panel .candidate-stat {
    display: grid !important;
    grid-template-rows: 16px 22px !important;
    place-items: center !important;
    min-width: 0 !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 5px 2px !important;
    overflow: hidden !important;
  }

  .employer-dashboard-page .candidate-stats-panel .candidate-stat::before {
    font-size: 13px !important;
  }

  .employer-dashboard-page .candidate-stats-panel .candidate-stat strong {
    font-size: 17px !important;
    line-height: 1 !important;
  }

  .employer-dashboard-page .candidate-stats-panel .candidate-stat span,
  .employer-dashboard-page .candidate-stats-panel .candidate-label,
  .employer-dashboard-page .candidate-stats-panel h2,
  .employer-dashboard-page .candidate-stats-panel .employer-stat-main,
  .employer-dashboard-page .candidate-stats-panel .employer-bars,
  .employer-dashboard-page .candidate-stats-panel .employer-meter,
  .employer-dashboard-page .candidate-stats-panel .employer-growth,
  .employer-dashboard-page .candidate-stats-panel .employer-favorites-panel {
    display: none !important;
  }

  .employer-dashboard-page .site-footer {
    position: fixed !important;
    right: 10px !important;
    bottom: calc(3px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 219 !important;
    width: auto !important;
    height: var(--employer-fixed-footer) !important;
    min-height: var(--employer-fixed-footer) !important;
    overflow: hidden !important;
  }

  .employer-dashboard-page .koos-chat-widget,
  .employer-dashboard-page .cookie-manage {
    bottom: calc(var(--employer-fixed-stack) + 8px) !important;
    z-index: 218 !important;
  }

  .employer-dashboard-page .candidate-profile-modal[data-employer-profile-modal] {
    z-index: 500 !important;
  }

  .employer-dashboard-page [data-employer-profile-edit-close] {
    position: relative !important;
    z-index: 3 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
  }

  .employer-dashboard-page .candidate-profile-modal[data-employer-profile-modal][hidden] {
    display: none !important;
  }
}

/* v289 final mobile priorities. */
@media (max-width: 820px) {
  body.jobseeker-dashboard-page {
    --candidate-mobile-header-height: 64px;
    --candidate-mobile-toolbar-height: 62px;
    --candidate-mobile-stats-height: 0px;
    min-height: 100dvh !important;
    overflow-x: clip !important;
    padding-bottom: calc(58px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page .page-shell.account-shell {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 100dvh !important;
    padding: 148px 10px 64px !important;
  }

  .jobseeker-dashboard-page .site-header.global-header {
    position: fixed !important;
    inset: 0 10px auto !important;
    z-index: 620 !important;
    width: auto !important;
    min-height: 64px !important;
    margin: 0 !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .brand-copy,
  .jobseeker-dashboard-page .site-header.global-header .site-nav,
  .jobseeker-dashboard-page .site-header.global-header .mobile-menu-button,
  .jobseeker-dashboard-page .candidate-mobile-actions {
    display: none !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .brand-mark {
    width: 44px !important;
    height: 44px !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .header-actions > * {
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 7px !important;
    font-size: 12px !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar {
    position: fixed !important;
    inset: 72px 10px auto !important;
    z-index: 610 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: auto !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 8px !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar > .candidate-mobile-action {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    place-items: center !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-ai-match {
    color: #07182d !important;
    font-size: 13px !important;
    font-weight: 950 !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-ai-match.is-active {
    color: #fff !important;
    border-color: #36cfff !important;
    background: linear-gradient(135deg, #139bff, #5949df) !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-resume-menu,
  .jobseeker-dashboard-page .candidate-mobile-search-panel {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: min(42vh, 260px) !important;
    overflow: auto !important;
  }

  .jobseeker-dashboard-page main,
  .jobseeker-dashboard-page .candidate-dashboard {
    display: block !important;
    flex: 1 0 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 18px !important;
  }

  .jobseeker-dashboard-page .candidate-sidebar,
  .jobseeker-dashboard-page .jobseeker-main-panel,
  .jobseeker-dashboard-page .candidate-stats-panel {
    display: none !important;
  }

  .jobseeker-dashboard-page .jobseeker-main-column,
  .jobseeker-dashboard-page .jobseeker-vacancy-results,
  .jobseeker-dashboard-page .candidate-vacancy-list {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-list {
    padding-bottom: 24px !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card:not([hidden]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 12px !important;
    width: 100% !important;
    min-height: 148px !important;
    padding: 16px !important;
    overflow: hidden !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card > div:first-child {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card > strong { align-self: center; white-space: nowrap; }
  .jobseeker-dashboard-page .candidate-vacancy-card .candidate-vacancy-actions { justify-self: end; }

  .jobseeker-dashboard-page .site-footer {
    position: fixed !important;
    inset: auto 10px calc(5px + env(safe-area-inset-bottom)) 10px !important;
    z-index: 74 !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 5px 64px 5px 9px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  .jobseeker-dashboard-page .back-to-top { bottom: 60px !important; }
  .jobseeker-dashboard-page .koos-chat-widget { bottom: 122px !important; }
  .jobseeker-dashboard-page .koos-ai-guide.is-mobile-available:not(.is-presenting) { bottom: 184px !important; }
}

@media (max-width: 480px) {
  .employer-dashboard-page .employer-mobile-search-panel {
    grid-template-columns: 1fr !important;
  }
}

/* Employer resume results keep their natural height and always explain an empty response. */
.employer-dashboard-page .employer-candidate-empty {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid rgba(69, 177, 244, 0.32);
  border-radius: 18px;
  background: rgba(12, 42, 75, 0.56);
  box-sizing: border-box;
}

.employer-dashboard-page .employer-candidate-empty strong {
  color: #f7fbff;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.25;
}

.employer-dashboard-page .employer-candidate-empty span {
  color: rgba(226, 239, 255, 0.74);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.45;
}

.employer-dashboard-page.light .employer-candidate-empty {
  border-color: rgba(29, 104, 188, 0.2);
  background: rgba(238, 247, 255, 0.9);
}

.employer-dashboard-page.light .employer-candidate-empty strong {
  color: #09233e;
}

.employer-dashboard-page.light .employer-candidate-empty span {
  color: rgba(9, 35, 62, 0.68);
}

@media (min-width: 821px) {
  .employer-dashboard-page .candidate-main-panel.employer-main-panel {
    align-self: start !important;
    align-content: start !important;
    min-height: 0 !important;
    height: fit-content !important;
  }

  .employer-dashboard-page .employer-candidate-list {
    min-height: 0 !important;
    height: auto !important;
  }
}

@media (max-width: 820px) {
  .employer-dashboard-page .employer-candidate-empty {
    min-height: 112px;
    padding: 16px;
  }
}

/* Employer desktop: filters align with the company profile; results flow below. */
.employer-dashboard-page .employer-main-column {
  display: grid;
  min-width: 0;
  gap: clamp(16px, 1.5vw, 24px);
  align-content: start;
}

.employer-dashboard-page .employer-candidate-results {
  min-width: 0;
}

@media (min-width: 821px) {
  .employer-dashboard-page .candidate-main-panel.employer-main-panel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    overflow: hidden !important;
  }

  .employer-dashboard-page .employer-candidate-results .employer-candidate-list {
    max-height: min(760px, calc(100vh - 150px));
    padding-right: 4px;
    overflow-y: auto;
  }
}

@media (max-width: 820px) {
  body.employer-dashboard-page {
    min-height: 100dvh;
    padding-bottom: calc(62px + env(safe-area-inset-bottom)) !important;
  }

  .employer-dashboard-page .page-shell.account-shell {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100dvh !important;
  }

  .employer-dashboard-page main {
    flex: 1 0 auto;
  }

  .employer-dashboard-page .employer-main-column {
    order: 2 !important;
    width: 100%;
    gap: 12px;
  }

  .employer-dashboard-page .employer-candidate-results {
    width: 100%;
  }

  .employer-dashboard-page .site-footer {
    position: fixed !important;
    right: 10px !important;
    bottom: calc(5px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 74 !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 5px 64px 5px 9px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }
}

/* Keep the public vacancies header on one line on desktop widths. */
@media (min-width: 761px) {
  body.public-jobs-page .site-header.global-header {
    flex-wrap: nowrap !important;
    min-height: 72px !important;
    padding-inline: clamp(6px, 0.8vw, 16px) !important;
    gap: clamp(6px, 0.7vw, 14px) !important;
  }

  body.public-jobs-page .site-header.global-header .brand {
    flex: 0 1 clamp(150px, 17vw, 280px) !important;
    min-width: 150px !important;
    max-width: 280px !important;
    gap: 8px !important;
  }

  body.public-jobs-page .site-header.global-header .brand-mark {
    flex-basis: clamp(38px, 3vw, 48px) !important;
    width: clamp(38px, 3vw, 48px) !important;
    height: clamp(38px, 3vw, 48px) !important;
  }

  body.public-jobs-page .site-header.global-header .brand-name {
    font-size: clamp(14px, 1vw, 18px) !important;
  }

  body.public-jobs-page .site-header.global-header .brand-subtitle {
    font-size: clamp(6px, 0.42vw, 8px) !important;
    line-height: 1.2 !important;
  }

  body.public-jobs-page .site-header.global-header .site-nav {
    order: initial !important;
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    flex-wrap: nowrap !important;
    justify-content: space-evenly !important;
    gap: clamp(5px, 0.65vw, 14px) !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
    font-size: clamp(10px, 0.68vw, 12px) !important;
  }

  body.public-jobs-page .site-header.global-header .site-nav a {
    padding: 25px 0 24px !important;
  }

  body.public-jobs-page .site-header.global-header .header-actions {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    gap: clamp(5px, 0.55vw, 10px) !important;
  }

  body.public-jobs-page .site-header.global-header .login-button {
    min-width: clamp(98px, 9vw, 146px) !important;
    min-height: 40px !important;
    padding-inline: clamp(8px, 0.7vw, 14px) !important;
    font-size: clamp(10px, 0.65vw, 12px) !important;
  }

  body.public-jobs-page .site-header.global-header .theme-button,
  body.public-jobs-page .site-header.global-header .language-select {
    min-width: clamp(72px, 6.2vw, 106px) !important;
    min-height: 40px !important;
    padding-inline: clamp(7px, 0.55vw, 11px) !important;
    font-size: clamp(10px, 0.65vw, 12px) !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  body.public-jobs-page .site-header.global-header .brand {
    flex-basis: 140px !important;
    min-width: 135px !important;
  }

  body.public-jobs-page .site-header.global-header .brand-mark {
    flex-basis: 36px !important;
    width: 36px !important;
    height: 36px !important;
  }

  body.public-jobs-page .site-header.global-header .brand-name {
    font-size: 12px !important;
  }

  body.public-jobs-page .site-header.global-header .site-nav {
    gap: 4px !important;
    font-size: 9px !important;
  }

  body.public-jobs-page .site-header.global-header .login-button {
    min-width: 90px !important;
    padding-inline: 7px !important;
    font-size: 9px !important;
  }

  body.public-jobs-page .site-header.global-header .theme-button,
  body.public-jobs-page .site-header.global-header .language-select {
    min-width: 66px !important;
    padding-inline: 6px !important;
    font-size: 9px !important;
  }
}

/* Desktop cabinets retain three columns; JS scales the logical 1440px canvas. */
.jobseeker-dashboard-page,
.employer-dashboard-page {
  overflow-x: clip;
}

.jobseeker-dashboard-page .account-shell,
.employer-dashboard-page .account-shell,
.jobseeker-dashboard-page .candidate-dashboard,
.employer-dashboard-page .candidate-dashboard,
.jobseeker-dashboard-page .candidate-sidebar,
.employer-dashboard-page .candidate-sidebar,
.jobseeker-dashboard-page .candidate-main-panel,
.employer-dashboard-page .candidate-main-panel,
.jobseeker-dashboard-page .candidate-stats-panel,
.employer-dashboard-page .candidate-stats-panel {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 901px) {
  .jobseeker-dashboard-page .page-shell.account-shell,
  .employer-dashboard-page .page-shell.account-shell {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-inline: clamp(18px, 2.1vw, 44px) !important;
  }

  .jobseeker-dashboard-page .candidate-dashboard,
  .employer-dashboard-page .candidate-dashboard.employer-dashboard {
    width: 100% !important;
    margin-inline: 0 !important;
    gap: clamp(18px, 1.8vw, 36px) !important;
    align-items: start !important;
  }

  .jobseeker-dashboard-page .site-footer,
  .employer-dashboard-page .site-footer {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "footer-nav footer-nav"
      "footer-copy footer-contact" !important;
    gap: 14px 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 20px !important;
  }

  .jobseeker-dashboard-page .site-footer > p,
  .employer-dashboard-page .site-footer > p {
    grid-area: footer-copy;
    min-width: 0;
    text-align: left;
  }

  .jobseeker-dashboard-page .site-footer > nav,
  .employer-dashboard-page .site-footer > nav {
    grid-area: footer-nav;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px 12px !important;
    width: 100%;
    white-space: normal !important;
  }

  .jobseeker-dashboard-page .site-footer > nav > a,
  .jobseeker-dashboard-page .site-footer > nav > button,
  .employer-dashboard-page .site-footer > nav > a,
  .employer-dashboard-page .site-footer > nav > button {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    justify-content: center;
    padding: 7px 9px;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
  }

  .jobseeker-dashboard-page .site-footer > address,
  .employer-dashboard-page .site-footer > address {
    grid-area: footer-contact;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    min-width: 0;
    white-space: normal !important;
  }

  .jobseeker-dashboard-page .site-footer > address a,
  .employer-dashboard-page .site-footer > address a {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 901px) {
  .jobseeker-dashboard-page .candidate-dashboard,
  .employer-dashboard-page .candidate-dashboard.employer-dashboard {
    grid-template-columns: minmax(270px, 0.85fr) minmax(520px, 1.8fr) minmax(250px, 0.8fr) !important;
  }

  .jobseeker-dashboard-page .candidate-stats-panel,
  .employer-dashboard-page .candidate-stats-panel {
    grid-column: auto !important;
    display: grid;
    gap: clamp(18px, 1.8vw, 36px) !important;
    width: 100% !important;
  }
  .jobseeker-dashboard-page .candidate-sidebar,
  .employer-dashboard-page .candidate-sidebar,
  .jobseeker-dashboard-page .candidate-profile-card,
  .employer-dashboard-page .candidate-profile-card {
    position: static !important;
    top: auto !important;
  }
}

.employer-dashboard-page [data-employer-candidate][hidden],
.resume-detail-actions [hidden] {
  display: none !important;
}

[data-resume-action-status]:empty {
  display: none;
}

/* Keep the vacancy start-date control aligned with neighbouring form fields. */
.employer-vacancy-form .vacancy-date-field {
  display: block;
  height: 48px;
  min-height: 48px;
}

.employer-vacancy-form .vacancy-date-field input[type="date"] {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 48px 0 14px;
  line-height: normal;
  text-align: left;
}

.employer-vacancy-form .vacancy-date-field input[type="date"]::-webkit-date-and-time-value {
  display: flex;
  min-height: 46px;
  margin: 0;
  padding: 0;
  align-items: center;
  text-align: left;
}

.employer-vacancy-form .vacancy-date-field input[type="date"]::-webkit-datetime-edit {
  display: flex;
  min-height: 46px;
  padding: 0;
  align-items: center;
}

.employer-vacancy-form .vacancy-date-field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}

.employer-vacancy-form .vacancy-date-field svg {
  top: 50%;
  right: 14px;
  bottom: auto;
  transform: translateY(-50%);
}
/* Koos AI guide */
.koos-ai-guide {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1160;
  width: 112px;
  height: 112px;
  pointer-events: none;
  transform: translateY(calc(-1 * var(--koos-footer-lift, 0px)));
  transition: right 1100ms cubic-bezier(0.22, 0.8, 0.24, 1), bottom 1100ms cubic-bezier(0.22, 0.8, 0.24, 1), transform 180ms ease;
}

.koos-ai-has-work-chat .koos-ai-guide {
  right: 172px;
}

.koos-ai-guide__person {
  position: relative;
  width: 112px;
  height: 112px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(61, 205, 255, 0.78);
  border-radius: 50%;
  background: #07192d;
  box-shadow: 0 14px 34px rgba(0, 11, 30, 0.34), 0 0 24px rgba(32, 173, 255, 0.22);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.koos-ai-guide__person-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  pointer-events: auto;
  transform-origin: 50% 100%;
  transition: transform 1100ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

.koos-ai-guide.is-presenting,
.koos-ai-has-work-chat .koos-ai-guide.is-presenting {
  right: calc(50vw - 56px);
  bottom: 30vh;
}

.koos-ai-guide.is-presenting .koos-ai-guide__person-wrap {
  transform: scale(1.3);
}

.koos-ai-guide__welcome {
  position: absolute;
  left: 56px;
  bottom: 156px;
  width: min(440px, calc(100vw - 48px));
  min-height: 142px;
  padding: 22px 48px 22px 24px;
  border: 3px solid #111;
  border-radius: 7px;
  background-color: #ffd84a;
  background-image:
    linear-gradient(rgba(27, 137, 198, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 137, 198, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  color: #111;
  box-shadow: 8px 8px 0 rgba(87, 76, 232, 0.88), 0 18px 40px rgba(0, 10, 29, 0.34);
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
  transition: opacity 240ms ease, transform 240ms ease;
}

.koos-ai-guide__welcome[hidden] {
  display: none;
}

.koos-ai-guide__welcome::after {
  content: "";
  position: absolute;
  left: calc(50% - 15px);
  bottom: -25px;
  width: 30px;
  height: 30px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  background: #ffd84a;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: skewX(10deg);
}

.koos-ai-guide__welcome.is-leaving {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

.koos-ai-guide__welcome button {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 2px solid #111;
  border-radius: 50%;
  background: #ffe987;
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.koos-ai-guide__welcome p {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.52;
}

.koos-ai-guide__typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -0.12em;
  animation: koosAiCursor 720ms steps(1) infinite;
}

.koos-ai-guide__welcome.is-typed .koos-ai-guide__typing-cursor {
  display: none;
}

@keyframes koosAiCursor {
  50% { opacity: 0; }
}

.koos-ai-guide__dismiss {
  position: absolute;
  z-index: 2;
  top: 3px;
  right: 3px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid #35c8ff;
  border-radius: 50%;
  background: #07192d;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.koos-ai-guide__recall {
  display: none;
  width: 48px;
  height: 48px;
  margin: 64px 0 0 64px;
  padding: 0;
  border: 2px solid #35c8ff;
  border-radius: 50%;
  background: #07192d;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 11, 30, 0.36), 0 0 18px rgba(32, 173, 255, 0.3);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
}

.koos-ai-guide__nudge {
  position: absolute;
  right: 102px;
  bottom: 76px;
  width: max-content;
  max-width: 190px;
  min-height: 42px;
  padding: 9px 14px;
  border: 2px solid #111;
  border-radius: 7px;
  background-color: #ffd84a;
  background-image:
    linear-gradient(rgba(27, 137, 198, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 137, 198, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  color: #111;
  box-shadow: 4px 4px 0 rgba(87, 76, 232, 0.88);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  pointer-events: auto;
}

.koos-ai-guide__nudge::after {
  content: "";
  position: absolute;
  right: -13px;
  bottom: 5px;
  width: 18px;
  height: 18px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  background: #ffd84a;
  transform: rotate(-45deg);
}

.koos-ai-guide__nudge.is-away {
  width: 270px;
  max-width: min(270px, calc(100vw - 150px));
  text-align: left;
  line-height: 1.35;
}

.koos-ai-guide__nudge.is-dashboard-life {
  right: 64px;
  bottom: 3px;
  max-width: min(250px, calc(100vw - 92px));
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid rgba(110, 211, 255, .58);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(9, 35, 67, .78), rgba(48, 63, 126, .7));
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
  color: #f5fbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 34px rgba(0, 10, 30, .3), 0 0 22px rgba(48, 181, 255, .12);
  line-height: 1.25;
  text-align: left;
  animation: koos-ai-life-in 360ms cubic-bezier(.2,.8,.2,1) both;
}

.koos-ai-guide__nudge.is-dashboard-life::after {
  right: -7px;
  bottom: 13px;
  width: 13px;
  height: 13px;
  border: 0;
  border-top: 1px solid rgba(110, 211, 255, .45);
  border-right: 1px solid rgba(110, 211, 255, .45);
  background: rgba(38, 57, 111, .76);
  transform: rotate(45deg);
}

body.light .koos-ai-guide__nudge.is-dashboard-life {
  border-color: rgba(20, 143, 255, .34);
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(224,239,255,.8));
  color: #08213d;
  box-shadow: inset 0 1px 0 #fff, 0 12px 34px rgba(36,91,180,.18);
}

body.light .koos-ai-guide__nudge.is-dashboard-life::after {
  background: rgba(232, 243, 255, .9);
}

@keyframes koos-ai-life-in {
  from { opacity: 0; transform: translateX(12px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.koos-ai-guide.is-dismissed .koos-ai-guide__person-wrap {
  display: none;
}

.koos-ai-guide.is-dismissed,
.koos-ai-has-work-chat .koos-ai-guide.is-dismissed {
  right: 0;
  bottom: 10vh;
  width: 48px;
  height: 48px;
}

.koos-ai-has-work-chat .koos-ai-guide.is-dismissed {
  bottom: calc(10vh + 86px);
}

.koos-ai-guide.is-dismissed .koos-ai-guide__recall {
  display: block;
  margin: 0;
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.koos-ai-guide__person:hover,
.koos-ai-guide__person:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0, 11, 30, 0.42), 0 0 30px rgba(32, 173, 255, 0.36);
}

.koos-ai-guide__person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.koos-ai-guide__person span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 14px;
  height: 14px;
  border: 3px solid #07192d;
  border-radius: 50%;
  background: #20d890;
}

.koos-ai-guide__window {
  position: absolute;
  right: 126px;
  bottom: 0;
  width: min(410px, calc(100vw - 48px));
  max-height: min(650px, calc(100vh - 52px));
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(120, 214, 255, 0.5);
  border-radius: 22px;
  background: rgba(5, 23, 43, 0.76);
  color: #f6fbff;
  box-shadow: 0 22px 58px rgba(0, 8, 25, 0.48);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
  pointer-events: auto;
}

.koos-ai-guide__window[hidden] {
  display: none;
}

.koos-ai-guide__window header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 38px;
  gap: 11px;
  align-items: center;
  min-height: 66px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(133, 192, 229, 0.2);
  background: rgba(12, 43, 75, 0.68);
}

.koos-ai-guide__window header img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(61, 205, 255, 0.58);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
}

.koos-ai-guide__window header span {
  display: grid;
  min-width: 0;
}

.koos-ai-guide__window header strong {
  font-size: 16px;
  line-height: 1.2;
}

.koos-ai-guide__window header small {
  margin-top: 3px;
  overflow: hidden;
  color: #aec6da;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.koos-ai-guide__window header button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.koos-ai-guide__messages {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 190px;
  max-height: min(355px, calc(100vh - 285px));
  padding: 14px;
  overflow-y: auto;
}

.koos-ai-guide__message {
  align-self: flex-start;
  width: fit-content;
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid rgba(133, 192, 229, 0.22);
  border-radius: 16px;
  background: rgba(24, 70, 108, 0.76);
}

.koos-ai-guide__message.is-user {
  align-self: flex-end;
  border-color: rgba(115, 103, 255, 0.48);
  background: rgba(61, 77, 174, 0.78);
}

.koos-ai-guide__message.is-pending {
  color: #a9bfd1;
}

.koos-ai-guide__message p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.48;
  white-space: pre-wrap;
}

.koos-ai-guide__message p a {
  color: #6bdcff;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.koos-ai-guide__message div {
  display: grid;
  gap: 5px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.koos-ai-guide__message div strong,
.koos-ai-guide__message div a {
  font-size: 12px;
  line-height: 1.3;
}

.koos-ai-guide__message div a {
  overflow: hidden;
  color: #66d7ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.koos-ai-guide__message-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.koos-ai-guide__message-links a {
  flex: 1 1 132px;
  max-width: 100%;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(53, 200, 255, 0.56);
  border-radius: 12px;
  color: #eaf8ff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

.koos-ai-guide__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 14px 12px;
}

.koos-ai-guide__quick a,
.koos-ai-guide__quick button {
  flex: 1 1 108px;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(74, 196, 255, 0.44);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #eaf8ff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.koos-ai-guide__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(133, 192, 229, 0.2);
}

.koos-ai-guide__form textarea {
  min-width: 0;
  min-height: 44px;
  max-height: 104px;
  resize: vertical;
  border: 1px solid rgba(133, 192, 229, 0.42);
  border-radius: 16px;
  background: rgba(2, 22, 40, 0.72);
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
}

.koos-ai-guide__form button {
  align-self: stretch;
  min-width: 88px;
  padding: 0 13px;
  border: 1px solid #35c8ff;
  border-radius: 16px;
  background: linear-gradient(135deg, #159eff, #534ee8);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.koos-ai-guide__form button:disabled,
.koos-ai-guide__form textarea:disabled {
  opacity: 0.62;
}

.koos-ai-thought {
  position: fixed;
  z-index: 1300;
  min-height: 88px;
  padding: 18px 44px 18px 20px;
  border: 3px solid #111;
  border-radius: 7px;
  background-color: #ffd84a;
  background-image:
    linear-gradient(rgba(27, 137, 198, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 137, 198, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  color: #111;
  box-shadow: 7px 7px 0 rgba(87, 76, 232, 0.88), 0 14px 30px rgba(0, 10, 29, 0.28);
  animation: koosThoughtIn 180ms ease-out both;
}

.koos-ai-thought::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -24px;
  width: 28px;
  height: 30px;
  border-left: 3px solid #111;
  border-bottom: 3px solid #111;
  background-color: #ffd84a;
  background-image: linear-gradient(90deg, rgba(27, 137, 198, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: skewX(-8deg);
}

.koos-ai-thought p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.koos-ai-thought button {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #ffe987;
  color: inherit;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.koos-ai-tip-target {
  outline: 3px solid #36c8f4 !important;
  outline-offset: 5px;
}

@keyframes koosThoughtIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

body.light .koos-ai-guide__window {
  border-color: rgba(20, 126, 190, 0.3);
  background: rgba(247, 252, 255, 0.72);
  color: #07182d;
  box-shadow: 0 22px 58px rgba(43, 86, 120, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.54) inset;
}

body.light .koos-ai-guide__window header {
  border-bottom-color: rgba(20, 126, 190, 0.2);
  background: rgba(221, 236, 248, 0.74);
}

body.light .koos-ai-guide__window header small {
  color: #47647c;
}

body.light .koos-ai-guide__window header button {
  background: rgba(8, 45, 75, 0.08);
  color: #07182d;
}

body.light .koos-ai-guide__message {
  border-color: rgba(20, 126, 190, 0.24);
  background: rgba(229, 243, 252, 0.82);
}

body.light .koos-ai-guide__message.is-user {
  background: rgba(229, 229, 255, 0.86);
}

body.light .koos-ai-guide__message p a {
  color: #086da3;
}

body.light .koos-ai-guide__quick a,
body.light .koos-ai-guide__quick button {
  color: #0a4169;
}

body.light .koos-ai-guide__message-links {
  border-top-color: rgba(20, 126, 190, 0.2);
}

body.light .koos-ai-guide__message-links a {
  color: #0a4169;
}

body.light .koos-ai-guide__form textarea {
  background: rgba(255, 255, 255, 0.8);
  color: #07182d;
}

body.light .koos-ai-guide__person {
  border-color: rgba(20, 157, 218, 0.68);
  background: #f4fbff;
  box-shadow: 0 14px 34px rgba(43, 86, 120, 0.22), 0 0 24px rgba(32, 173, 255, 0.18);
}

body.light .koos-ai-guide__person img,
body.light .koos-ai-guide__window header img {
  content: url("/assets/ui/koos-ai-guide-light-v2.png");
}

body.light .koos-ai-guide__dismiss,
body.light .koos-ai-guide__recall {
  border-color: #149dda;
  background: rgba(247, 252, 255, 0.94);
  color: #08233d;
}

body.light .koos-ai-guide__person span {
  border-color: #f4fbff;
}

.cookie-manage {
  transform: translateY(calc(-1 * var(--koos-footer-lift, 0px)));
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

@media (max-width: 767px) {
  .koos-ai-guide {
    display: none !important;
  }

  .koos-ai-guide.is-mobile-available {
    display: block !important;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__person-wrap {
    display: none !important;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__recall {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 50%;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__nudge.is-away {
    position: fixed;
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 66px);
    width: min(270px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__nudge.is-away::after {
    right: 18px;
    bottom: -10px;
    transform: rotate(45deg);
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__window:not([hidden]) {
    position: fixed;
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 64px);
    left: 12px;
    display: flex;
    flex-direction: column;
    width: auto;
    height: min(25vh, 230px);
    max-height: 25vh;
    border-radius: 18px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__window header {
    grid-template-columns: 36px minmax(0, 1fr) 34px;
    min-height: 44px;
    padding: 5px 7px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__window header img {
    width: 36px;
    height: 36px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__window header small {
    display: none;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__messages {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding: 8px 10px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__message {
    padding: 7px 9px;
    border-radius: 12px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__message p {
    font-size: 12px;
    line-height: 1.35;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__quick {
    gap: 5px;
    padding: 0 10px 7px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__quick a,
  .koos-ai-guide.is-mobile-available .koos-ai-guide__quick button {
    flex-basis: 86px;
    min-height: 27px;
    padding: 5px 7px;
    border-radius: 10px;
    font-size: 10px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__form {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 6px;
    padding: 7px 9px 9px;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__form textarea {
    min-height: 34px;
    max-height: 48px;
    padding: 7px 9px;
    border-radius: 12px;
    font-size: 12px;
    resize: none;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__form button {
    min-width: 0;
    padding: 0 7px;
    border-radius: 12px;
    font-size: 10px;
  }

  .koos-ai-guide.is-presenting {
    display: block !important;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    transition: none;
  }

  .koos-ai-guide.is-presenting .koos-ai-guide__person-wrap,
  .koos-ai-guide.is-presenting .koos-ai-guide__window,
  .koos-ai-guide.is-presenting .koos-ai-guide__recall,
  .koos-ai-guide.is-presenting .koos-ai-guide__nudge {
    display: none !important;
  }

  .koos-ai-guide__welcome {
    position: fixed;
    left: 50%;
    bottom: max(18vh, 92px);
    width: calc(100vw - 32px);
    min-height: 120px;
    max-height: min(52vh, 390px);
    padding: 19px 43px 19px 19px;
    overflow-y: auto;
    border-width: 2px;
    box-shadow: 6px 6px 0 rgba(87, 76, 232, 0.84), 0 14px 30px rgba(0, 10, 29, 0.3);
  }

  .koos-ai-guide__welcome::after {
    display: none;
  }

  .koos-ai-guide__welcome p {
    font-size: 14px;
    line-height: 1.45;
  }

  .koos-ai-thought {
    min-height: 68px;
    padding: 14px 40px 15px 17px;
    border-width: 2px;
    box-shadow: 6px 6px 0 rgba(87, 76, 232, 0.82), 0 10px 24px rgba(0, 10, 29, 0.25);
  }

  .koos-ai-thought::before {
    border-left-width: 2px;
  }

  .koos-ai-thought p {
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  .employer-dashboard-page .koos-ai-guide.is-mobile-available {
    bottom: calc(var(--employer-fixed-stack) + 74px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page .koos-ai-guide.is-mobile-available {
    bottom: calc(
      var(--candidate-mobile-footer-height) +
      var(--candidate-mobile-stats-height) +
      92px +
      env(safe-area-inset-bottom)
    ) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .koos-ai-thought,
  .koos-ai-guide,
  .koos-ai-guide__person,
  .koos-ai-guide__person-wrap,
  .koos-ai-guide__welcome {
    animation: none;
    transition: none;
  }
}

/* Stable cabinet chat layout shared with the koos.one vacancy platform. */
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-window {
  width: min(940px, calc(100vw - 40px)) !important;
  height: min(720px, calc(100vh - 130px)) !important;
  max-height: calc(100vh - 130px) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-window[hidden] { display: none !important; }
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-layout {
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-thread-list {
  min-width: 0 !important;
  max-height: none !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-thread-list button {
  width: 100% !important;
  min-width: 0 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-thread-list button > span:not(.koos-chat-avatar) {
  display: grid !important;
  min-width: 0 !important;
  gap: 2px !important;
  text-align: left !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-thread-list button strong,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-thread-list button small {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-dialog {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-messages {
  min-height: 0 !important;
  max-height: none !important;
  overflow: auto !important;
  padding: 18px !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-messages > p {
  width: fit-content !important;
  max-width: min(78%, 520px) !important;
  overflow-wrap: anywhere !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-form {
  grid-template-columns: minmax(0, 1fr) auto 58px !important;
  grid-template-areas: "message message send" "file tools tools" !important;
  align-items: center !important;
  gap: 10px 12px !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-form input[type="file"] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-form .koos-chat-tools {
  min-width: 0 !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-form .koos-chat-tools button {
  min-width: 86px !important;
  min-height: 42px !important;
  padding: 8px 16px !important;
}
.koos-chat-launcher b[hidden] { display: none !important; }
.koos-chat-launcher.has-unread b {
  display: grid !important;
  color: #fff !important;
  border-color: #fff !important;
  background: #e34153 !important;
  box-shadow: 0 5px 16px rgba(227,65,83,.42) !important;
  z-index: 2 !important;
}
body:is(.resume-detail-page,.vacancy-detail-page) .resume-detail-toolbar h1 {
  max-width: 100% !important;
  font-size: clamp(30px, 3.45vw, 52px) !important;
  line-height: 1.04 !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance !important;
}
@media (max-width:820px) {
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-window {
    right: -8px !important;
    width: min(680px, calc(100vw - 20px)) !important;
    height: min(760px, calc(100vh - 105px)) !important;
    max-height: calc(100vh - 105px) !important;
  }
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-layout {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(90px, 145px) minmax(0, 1fr) !important;
  }
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .koos-chat-thread-list {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(128,150,170,.22) !important;
  }
}
@media (max-width:600px) {
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-form {
    grid-template-columns: minmax(0, 1fr) 54px !important;
    grid-template-areas: "message send" "file file" "tools tools" !important;
  }
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-form .koos-chat-tools { justify-content: stretch !important; }
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page) .vacancy-chat-form .koos-chat-tools button { flex: 1 1 110px !important; }
  body:is(.resume-detail-page,.vacancy-detail-page) .resume-detail-toolbar h1 { font-size: clamp(26px, 8vw, 38px) !important; }
}

/* Compact floating controls */
.koos-chat-widget {
  right: 20px;
  bottom: 84px;
}

.koos-chat-launcher {
  position: relative;
  display: grid;
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
}

.koos-chat-launcher span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.koos-chat-launcher svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.koos-chat-launcher b {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid #168fff;
  font-size: 10px;
}

.back-to-top {
  right: 20px;
  bottom: 20px;
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.back-to-top span {
  display: none;
}

.back-to-top svg {
  width: 21px;
  height: 21px;
}

.koos-ai-guide:not(.is-presenting),
.koos-ai-has-work-chat .koos-ai-guide:not(.is-presenting) {
  right: 20px;
  bottom: 84px;
}

.koos-ai-has-work-chat .koos-ai-guide:not(.is-presenting) {
  bottom: 148px;
}

.koos-ai-guide.is-dismissed,
.koos-ai-has-work-chat .koos-ai-guide.is-dismissed {
  width: 52px;
  height: 52px;
}

.koos-ai-guide.is-dismissed .koos-ai-guide__recall {
  width: 52px;
  height: 52px;
  margin: 0;
  border: 2px solid #35c8ff;
  border-radius: 50%;
  background: linear-gradient(135deg, #087fea, #5646dd);
  box-shadow: 0 12px 30px rgba(20, 143, 255, 0.3);
  color: #fff;
  font-size: 13px;
}

body.light .koos-chat-launcher,
body.light .koos-ai-guide.is-dismissed .koos-ai-guide__recall,
body.light .back-to-top {
  border-color: rgba(25, 118, 210, 0.34);
  background: rgba(246, 251, 255, 0.92);
  box-shadow: 0 12px 30px rgba(36, 91, 180, 0.2), 0 0 18px rgba(20, 143, 255, 0.12);
  color: #075aaf;
}

@media (max-width: 820px) {
  .back-to-top,
  .koos-chat-widget {
    right: 12px !important;
  }

  .koos-ai-guide.is-mobile-available {
    transform: none !important;
  }

  .jobseeker-dashboard-page .koos-chat-widget,
  .employer-dashboard-page .koos-chat-widget {
    z-index: 600 !important;
    transform: none !important;
  }

  .jobseeker-dashboard-page .koos-chat-widget.is-open,
  .employer-dashboard-page .koos-chat-widget.is-open {
    z-index: 700 !important;
  }

  .jobseeker-dashboard-page .koos-chat-window:not([hidden]),
  .employer-dashboard-page .koos-chat-window:not([hidden]) {
    position: fixed !important;
    top: calc(var(--candidate-mobile-header-height, 64px) + 10px) !important;
    right: 10px !important;
    bottom: calc(var(--candidate-mobile-footer-height, 42px) + var(--candidate-mobile-stats-height, 70px) + 142px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    z-index: 1 !important;
  }

  .koos-chat-is-open .back-to-top,
  .koos-chat-is-open .koos-ai-guide {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .koos-ai-guide.is-mobile-available .koos-ai-guide__window:not([hidden]) {
    position: fixed !important;
    right: 12px !important;
    left: 12px !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .account-page .koos-ai-guide.is-mobile-available:not(.is-presenting) {
    right: 12px !important;
    bottom: calc(84px + var(--koos-footer-lift, 0px) + env(safe-area-inset-bottom)) !important;
  }

  .employer-dashboard-page .back-to-top {
    bottom: calc(var(--employer-fixed-stack) + 8px + env(safe-area-inset-bottom)) !important;
  }

  .employer-dashboard-page .koos-chat-widget {
    bottom: calc(var(--employer-fixed-stack) + 70px + env(safe-area-inset-bottom)) !important;
  }

  .employer-dashboard-page .koos-ai-guide.is-mobile-available:not(.is-presenting) {
    right: 12px !important;
    bottom: calc(var(--employer-fixed-stack) + 132px + env(safe-area-inset-bottom)) !important;
  }

  .employer-dashboard-page .koos-ai-guide.is-mobile-available .koos-ai-guide__window:not([hidden]) {
    bottom: calc(var(--employer-fixed-stack) + 196px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page .back-to-top {
    bottom: calc(var(--candidate-mobile-footer-height) + var(--candidate-mobile-stats-height) + 28px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page .koos-chat-widget {
    bottom: calc(var(--candidate-mobile-footer-height) + var(--candidate-mobile-stats-height) + 90px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page .koos-ai-guide.is-mobile-available:not(.is-presenting) {
    right: 12px !important;
    bottom: calc(var(--candidate-mobile-footer-height) + var(--candidate-mobile-stats-height) + 152px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page .koos-ai-guide.is-mobile-available .koos-ai-guide__window:not([hidden]) {
    bottom: calc(var(--candidate-mobile-footer-height) + var(--candidate-mobile-stats-height) + 216px + env(safe-area-inset-bottom)) !important;
  }
}

.resume-document-head .resume-candidate-photo {
  position: relative;
  display: grid;
  width: clamp(88px, 9vw, 116px);
  height: clamp(88px, 9vw, 116px);
  min-width: clamp(88px, 9vw, 116px);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(110,130,150,.24);
  border-radius: 50%;
  color: rgba(78,96,116,.72);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(222,228,235,.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 28px rgba(20,34,54,.12);
}
.resume-document-head .resume-candidate-photo svg {
  width: 68%;
  height: 68%;
  fill: currentColor;
}
.resume-document-head .resume-candidate-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center;
}
body:not(.light) .resume-document-head .resume-candidate-photo {
  color: rgba(220,229,240,.74);
  border-color: rgba(255,255,255,.2);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.055));
}
@media (max-width:600px) {
  .resume-document-head .resume-candidate-photo {
    width: 82px;
    height: 82px;
    min-width: 82px;
  }
}

/* Employer mobile workspace: fixed navigation, resumes first, vacancies on demand. */
@media (max-width: 820px) {
  body.employer-dashboard-page {
    --candidate-mobile-header-height: 64px;
    --candidate-mobile-toolbar-height: 62px;
    --employer-mobile-top-gap: 8px;
    --employer-mobile-content-top: calc(
      var(--candidate-mobile-header-height) +
      var(--candidate-mobile-toolbar-height) +
      var(--employer-mobile-top-gap) +
      14px
    );
    --candidate-mobile-stats-height: 0px;
    --employer-fixed-stats: 0px;
    --employer-fixed-stack: 0px;
    padding-bottom: 24px !important;
  }

  .employer-dashboard-page .page-shell.account-shell {
    padding-top: var(--employer-mobile-content-top) !important;
    padding-bottom: 18px !important;
  }

  .employer-dashboard-page .site-header.global-header {
    position: fixed !important;
    top: 0 !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 620 !important;
  }

  .employer-dashboard-page .candidate-mobile-toolbar {
    position: fixed !important;
    top: calc(var(--candidate-mobile-header-height) + var(--employer-mobile-top-gap)) !important;
    right: 10px !important;
    left: 10px !important;
    z-index: 610 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: var(--candidate-mobile-toolbar-height) !important;
  }

  .employer-dashboard-page main,
  .employer-dashboard-page .candidate-dashboard.employer-dashboard,
  .employer-dashboard-page .candidate-main-panel.employer-main-panel,
  .employer-dashboard-page .employer-candidate-list {
    margin-top: 0 !important;
    padding-bottom: 18px !important;
  }

  .employer-dashboard-page .candidate-sidebar.employer-sidebar {
    display: none !important;
    margin: 0 0 14px !important;
  }

  .employer-dashboard-page.employer-mobile-vacancies-open .candidate-sidebar.employer-sidebar {
    display: block !important;
  }

  .employer-dashboard-page .employer-vacancies-card {
    display: none !important;
    margin: 0 0 14px !important;
  }

  .employer-dashboard-page.employer-mobile-vacancies-open .employer-vacancies-card {
    display: grid !important;
  }

  .employer-dashboard-page .employer-vacancies-card .candidate-section-head > a {
    display: none !important;
  }

  .employer-dashboard-page .candidate-stats-panel.employer-stats-panel {
    display: none !important;
  }

  .employer-dashboard-page .site-footer {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 42px !important;
    margin: 16px 0 0 !important;
    padding-right: 72px !important;
  }

  .employer-dashboard-page .employer-mobile-search-panel {
    top: calc(100% + 8px) !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) !important;
    max-height: min(42vh, 250px) !important;
  }

  .employer-dashboard-page .koos-chat-widget {
    bottom: 76px !important;
  }

  .employer-dashboard-page .koos-ai-guide.is-mobile-available:not(.is-presenting) {
    bottom: 138px !important;
  }

  .employer-dashboard-page .back-to-top {
    bottom: 14px !important;
  }

  .employer-dashboard-page .koos-ai-guide.is-mobile-available .koos-ai-guide__window:not([hidden]),
  .employer-dashboard-page .koos-chat-window:not([hidden]) {
    top: calc(var(--employer-mobile-content-top) + 8px) !important;
    bottom: 76px !important;
  }
}

@media (max-width: 480px) {
  .employer-dashboard-page .employer-mobile-search-panel {
    grid-template-columns: 1fr !important;
  }
}

/* Final employer-cabinet priorities after every legacy mobile override. */
@media (max-width: 820px) {
  body.employer-dashboard-page {
    min-height: 100dvh !important;
    padding-bottom: calc(62px + env(safe-area-inset-bottom)) !important;
  }

  .employer-dashboard-page .page-shell.account-shell {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100dvh !important;
  }

  .employer-dashboard-page main {
    flex: 1 0 auto !important;
  }

  .employer-dashboard-page .employer-main-column {
    order: 2 !important;
    display: grid !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .employer-dashboard-page .site-footer {
    position: fixed !important;
    inset: auto 10px calc(5px + env(safe-area-inset-bottom)) 10px !important;
    z-index: 74 !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 5px 64px 5px 9px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }
}

/* Final jobseeker-cabinet priorities after every legacy mobile override. */
@media (max-width: 820px) {
  body.jobseeker-dashboard-page {
    --candidate-mobile-stats-height: 0px;
    min-height: 100dvh !important;
    overflow-x: clip !important;
    padding-bottom: calc(58px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page .page-shell.account-shell {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100dvh !important;
    padding: 148px 10px 64px !important;
  }

  .jobseeker-dashboard-page main,
  .jobseeker-dashboard-page .candidate-dashboard {
    display: block !important;
    flex: 1 0 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 18px !important;
  }

  .jobseeker-dashboard-page .site-header.global-header {
    position: fixed !important;
    inset: 0 10px auto !important;
    z-index: 620 !important;
    width: auto !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    overflow: visible !important;
    align-items: center !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .brand {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar {
    position: fixed !important;
    inset: 72px 10px auto !important;
    z-index: 610 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: auto !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 8px !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-actions,
  .jobseeker-dashboard-page .candidate-sidebar,
  .jobseeker-dashboard-page .jobseeker-main-panel,
  .jobseeker-dashboard-page .candidate-stats-panel {
    display: none !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar > .candidate-mobile-action {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    place-items: center !important;
  }

  .jobseeker-dashboard-page .jobseeker-main-column,
  .jobseeker-dashboard-page .jobseeker-vacancy-results,
  .jobseeker-dashboard-page .candidate-vacancy-list {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-list { padding: 0 0 24px !important; }

  .jobseeker-dashboard-page .candidate-vacancy-card:not([hidden]) {
    grid-template-columns: minmax(0, 1fr) 44px !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 148px !important;
    max-height: none !important;
    padding: 16px !important;
    gap: 10px 12px !important;
    overflow: hidden !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card > div:first-child {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card > strong {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: end !important;
    white-space: nowrap !important;
  }

  .jobseeker-dashboard-page .candidate-vacancy-card .candidate-vacancy-actions {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
  }

  .jobseeker-dashboard-page .back-to-top { bottom: 60px !important; }
  .jobseeker-dashboard-page .koos-chat-widget { bottom: 122px !important; }
  .jobseeker-dashboard-page .koos-ai-guide.is-mobile-available:not(.is-presenting) { bottom: 184px !important; }

  .jobseeker-dashboard-page .site-footer {
    position: fixed !important;
    inset: auto 10px calc(5px + env(safe-area-inset-bottom)) 10px !important;
    z-index: 74 !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 5px 64px 5px 9px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }
}

/* Jobseeker desktop row alignment v290. */
@media (min-width: 901px) {
  .jobseeker-dashboard-page .candidate-dashboard {
    --jobseeker-row-gap: clamp(18px, 1.8vw, 36px);
  }

  .jobseeker-dashboard-page .candidate-sidebar,
  .jobseeker-dashboard-page .jobseeker-main-column,
  .jobseeker-dashboard-page .candidate-stats-panel {
    display: grid !important;
    grid-auto-flow: row !important;
    align-content: start !important;
    align-items: start !important;
    gap: var(--jobseeker-row-gap) !important;
  }

  .jobseeker-dashboard-page .candidate-profile-card,
  .jobseeker-dashboard-page .jobseeker-main-panel,
  .jobseeker-dashboard-page .candidate-stats-panel > article:first-child {
    align-self: stretch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .jobseeker-dashboard-page .candidate-stats-panel > article:first-child {
    display: grid !important;
    grid-template-rows: auto auto repeat(4, minmax(0, 1fr)) !important;
    align-content: stretch !important;
  }

  .jobseeker-dashboard-page .candidate-stats-panel > article:first-child .candidate-stat {
    align-content: center !important;
    min-height: 0 !important;
  }

  .jobseeker-dashboard-page .candidate-resumes-card,
  .jobseeker-dashboard-page .jobseeker-vacancy-results,
  .jobseeker-dashboard-page .jobseeker-favorites-panel {
    align-self: start !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .jobseeker-dashboard-page .jobseeker-favorites-panel {
    order: 2;
  }

  .jobseeker-dashboard-page .candidate-readiness {
    order: 3;
  }
}

.jobseeker-dashboard-page:not(.light) .jobseeker-favorites-panel .employer-favorites-hint {
  color: rgba(221, 235, 255, 0.72);
}

/* Jobseeker favorites and compact resume composer v291. */
.jobseeker-mobile-favorites {
  display: none;
}

.jobseeker-dashboard-page:not(.light) .jobseeker-favorites-modal .employer-favorites-dialog {
  color: #f7fbff;
  border-color: rgba(92, 205, 255, 0.32);
  background:
    radial-gradient(circle at 18% 10%, rgba(44, 169, 255, 0.18), transparent 14rem),
    linear-gradient(135deg, rgba(5, 20, 38, 0.98), rgba(9, 39, 68, 0.96));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.jobseeker-dashboard-page:not(.light) .jobseeker-favorites-modal .employer-favorite-mini-card {
  color: #f7fbff;
  border-color: rgba(92, 205, 255, 0.32);
  background: linear-gradient(135deg, rgba(8, 31, 56, 0.96), rgba(17, 56, 92, 0.88));
}

.jobseeker-dashboard-page:not(.light) .jobseeker-favorites-modal .employer-favorite-mini-card span,
.jobseeker-dashboard-page:not(.light) .jobseeker-favorites-modal .employer-favorite-empty {
  color: rgba(216, 232, 255, 0.76);
}

.resume-composer-page .resume-composer-card,
.resume-composer-page .resume-composer-submit {
  padding: clamp(18px, 2vw, 24px);
  border-radius: 22px;
}

.resume-composer-page .resume-composer-card-head {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.resume-composer-page .resume-composer-card-head > span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.resume-composer-page .resume-composer-card h2 {
  font-size: clamp(22px, 2vw, 30px);
}

.resume-composer-page .resume-composer-card-head p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

.resume-composer-page .resume-composer-grid {
  gap: 12px;
}

.resume-composer-page .resume-composer-grid input,
.resume-composer-page .resume-composer-grid select,
.resume-composer-page .resume-date-field input {
  min-height: 46px;
  height: 46px;
  border-radius: 14px;
}

.resume-composer-page .resume-composer-grid .resume-current-field {
  display: flex;
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 8px 12px;
  align-self: end;
  border-radius: 14px;
}

.resume-composer-page .resume-composer-grid .resume-current-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}

.resume-composer-page .resume-wide-field textarea {
  min-height: 96px;
  border-radius: 14px;
}

.resume-composer-page .resume-ai-helper {
  grid-template-columns: minmax(0, auto) minmax(180px, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
}

.resume-composer-page .resume-ai-helper button {
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.resume-composer-page .resume-ai-helper button span {
  width: 32px;
  height: 32px;
}

@media (max-width: 820px) {
  .jobseeker-dashboard-page .jobseeker-mobile-favorites {
    position: fixed;
    right: 14px;
    bottom: calc(60px + env(safe-area-inset-bottom));
    z-index: 600;
    display: grid;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    place-items: center;
    border: 2px solid #35c8ff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #087fea, #5646dd);
    box-shadow: 0 12px 30px rgba(20, 143, 255, 0.3);
    cursor: pointer;
  }

  .jobseeker-dashboard-page .jobseeker-mobile-favorites svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .jobseeker-dashboard-page .jobseeker-mobile-favorites b {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    place-items: center;
    border: 2px solid #168fff;
    border-radius: 999px;
    color: #071222;
    background: #fff;
    font-size: 10px;
    font-weight: 900;
  }

  .jobseeker-dashboard-page.light .jobseeker-mobile-favorites {
    border-color: rgba(25, 118, 210, 0.34);
    color: #075aaf;
    background: rgba(246, 251, 255, 0.94);
  }

  .jobseeker-dashboard-page .back-to-top {
    bottom: calc(246px + env(safe-area-inset-bottom)) !important;
  }

  .jobseeker-dashboard-page.koos-chat-is-open .jobseeker-mobile-favorites,
  .jobseeker-dashboard-page.koos-ai-assistant-is-open .jobseeker-mobile-favorites {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .jobseeker-dashboard-page .jobseeker-favorites-modal {
    z-index: 750;
    padding: 12px;
  }

  .jobseeker-dashboard-page .jobseeker-favorites-modal .employer-favorites-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 20px;
    border-radius: 22px;
  }

  .jobseeker-dashboard-page .jobseeker-favorites-modal .employer-favorite-modal-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .resume-composer-page .resume-composer-card,
  .resume-composer-page .resume-composer-submit {
    padding: 16px;
  }

  .resume-composer-page .resume-composer-card-head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .resume-composer-page .resume-composer-card-head > span {
    width: 38px;
    height: 38px;
  }

  .resume-composer-page .resume-ai-helper {
    grid-template-columns: 1fr;
  }

  .resume-composer-page .resume-ai-helper button {
    width: 100%;
  }
}

/* Match the jobseeker mobile header and action bar to the employer cabinet v292. */
@media (max-width: 820px) {
  .jobseeker-dashboard-page .site-header.global-header .login-button {
    color: #fff !important;
    font-size: 11px !important;
  }

  .jobseeker-dashboard-page .site-header.global-header .login-button::before {
    display: none !important;
    content: none !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar {
    box-sizing: border-box !important;
    gap: 8px !important;
    min-height: var(--candidate-mobile-toolbar-height) !important;
    border-radius: 18px !important;
  }

  .jobseeker-dashboard-page .candidate-mobile-toolbar > .candidate-mobile-action {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 14px !important;
  }
}

/* Keep floating navigation controls clear of cookie dialogs. */
body:has(.cookie-banner:not(.is-hidden)) .back-to-top,
body:has(.cookie-modal.is-open) .back-to-top {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Keep the three cabinet controls inside the mobile header. */
@media (max-width: 820px) {
  .jobseeker-dashboard-page .site-header.global-header .header-actions {
    width: calc(100% - 54px) !important;
    max-width: calc(100% - 54px) !important;
    flex: 1 1 0 !important;
  }
  .jobseeker-dashboard-page.light .site-header.global-header .login-button {
    color: #07101f !important;
  }
}

/* Dialog controls must sit above the fixed cabinet header and toolbar. */
.jobseeker-dashboard-page .candidate-profile-modal,
.employer-dashboard-page .candidate-profile-modal {
  z-index: 700 !important;
}

body:has(.candidate-profile-modal:not([hidden])) .koos-ai-guide,
body:has(.candidate-profile-modal:not([hidden])) .koos-ai-thought,
body:has(.candidate-profile-modal:not([hidden])) .cookie-manage {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Keep the public footer compact and aligned on one desktop row. */
.site-footer a[data-i18n="navDirections"],
.site-footer a[data-i18n="navPartners"] {
  display: none;
}

@media (min-width: 981px) {
  .site-footer {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: clamp(14px, 1.4vw, 26px);
    width: 100%;
    text-align: left;
  }

  .site-footer p {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-footer nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(8px, 0.9vw, 16px);
    white-space: nowrap;
  }

  .site-footer address {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: clamp(8px, 0.8vw, 14px);
    white-space: nowrap;
  }

  .site-footer a,
  .site-footer address a {
    width: auto;
    min-height: 0;
    padding: 0;
    white-space: nowrap;
  }

  .site-footer address svg,
  .site-footer .pwa-install-button {
    display: none !important;
  }

  .jobseeker-dashboard-page .site-footer,
  .employer-dashboard-page .site-footer {
    display: flex !important;
    position: static !important;
    inset: auto !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: clamp(14px, 1.4vw, 26px) !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 23px 0 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-align: left !important;
  }

  .jobseeker-dashboard-page .site-footer p,
  .employer-dashboard-page .site-footer p {
    flex: 0 0 auto;
    overflow: visible;
    color: var(--dim);
    font-size: clamp(11px, 0.78vw, 13px);
    line-height: inherit;
    text-overflow: clip;
    white-space: nowrap;
  }

  .jobseeker-dashboard-page .site-footer nav,
  .employer-dashboard-page .site-footer nav {
    display: flex !important;
    flex: 1 1 auto;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: clamp(8px, 0.9vw, 16px) !important;
    width: auto !important;
    white-space: nowrap !important;
  }

  .jobseeker-dashboard-page .site-footer address,
  .employer-dashboard-page .site-footer address {
    display: flex !important;
    flex: 0 0 auto;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: clamp(8px, 0.8vw, 14px) !important;
    width: auto !important;
    white-space: nowrap !important;
  }

  .jobseeker-dashboard-page .site-footer nav a,
  .employer-dashboard-page .site-footer nav a,
  .jobseeker-dashboard-page .site-footer address a,
  .employer-dashboard-page .site-footer address a {
    display: inline-flex !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  .jobseeker-dashboard-page .candidate-footer-toggle,
  .employer-dashboard-page .candidate-footer-toggle {
    display: none !important;
  }
}

/* iPhone Messages inspired conversation UI. */
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) {
  --chat-ios-blue: #0a84ff;
  --chat-ios-received: #e9e9eb;
  --chat-ios-received-text: #111214;
  --chat-ios-canvas: rgba(246,247,249,.92);
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) {
  --chat-ios-received: #303136;
  --chat-ios-received-text: #fff;
  --chat-ios-canvas: rgba(7,10,15,.84);
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-dialog-head {
  min-height: 66px !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid rgba(128,128,128,.2) !important;
  background: rgba(248,248,250,.72) !important;
  backdrop-filter: blur(24px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.25) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .koos-chat-dialog-head {
  background: rgba(18,20,25,.76) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages {
  gap: 6px !important;
  padding: 18px 16px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--chat-ios-canvas) !important;
  box-shadow: none !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  width: fit-content !important;
  min-width: 0 !important;
  max-width: min(82%, 640px) !important;
  margin: 0 !important;
  padding: 9px 14px !important;
  border: 0 !important;
  border-radius: 20px 20px 20px 6px !important;
  color: var(--chat-ios-received-text) !important;
  background: var(--chat-ios-received) !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 450 !important;
  line-height: 1.32 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p.is-own {
  align-self: flex-end !important;
  align-items: flex-end !important;
  color: #fff !important;
  border-radius: 20px 20px 6px 20px !important;
  background: var(--chat-ios-blue) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p > .koos-chat-avatar,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p > b {
  display: none !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p > span,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p > a,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p > audio,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p > small {
  grid-column: auto !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p > small:empty {
  display: none !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p > small {
  align-self: flex-end !important;
  font-size: 10px !important;
  line-height: 1 !important;
  opacity: .72 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages .chat-translation-note {
  display: inline-flex !important;
  width: auto !important;
  min-height: 22px !important;
  align-items: center !important;
  padding: 2px 7px !important;
  border: 1px solid currentColor !important;
  border-radius: 999px !important;
  opacity: .72 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-form {
  border: 0 !important;
  border-top: 1px solid rgba(128,128,128,.18) !important;
  border-radius: 0 !important;
  background: var(--chat-ios-canvas) !important;
  box-shadow: none !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-form textarea {
  min-height: 46px !important;
  height: 46px !important;
  max-height: 110px !important;
  padding: 12px 17px !important;
  border: 1px solid rgba(128,128,128,.32) !important;
  border-radius: 23px !important;
  color: #111214 !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: none !important;
  font-size: 16px !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-form .koos-chat-send-button {
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  background: var(--chat-ios-blue) !important;
  box-shadow: none !important;
}
@media (max-width:600px) {
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .vacancy-chat-messages p {
    max-width: 88% !important;
    font-size: 16px !important;
  }
}

/* One-line circular actions for vacancy applicants. */
.vacancy-application-actions {
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  overflow: visible;
}
.vacancy-application-actions .vacancy-application-action,
.vacancy-application-actions .employer-resume-favorite.vacancy-application-action {
  position: relative !important;
  display: inline-grid !important;
  width: 62px !important;
  min-width: 62px !important;
  max-width: 62px !important;
  height: 62px !important;
  min-height: 62px !important;
  flex: 0 0 62px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(74,151,230,.3) !important;
  border-radius: 50% !important;
  color: #0b3768 !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 9px 24px rgba(37,83,135,.11) !important;
  text-decoration: none !important;
}
.vacancy-application-actions .vacancy-application-action:hover,
.vacancy-application-actions .vacancy-application-action:focus-visible {
  color: #fff !important;
  border-color: #168fff !important;
  background: linear-gradient(145deg, #21a8ff, #4165ec) !important;
  transform: translateY(-2px);
}
.vacancy-application-actions .vacancy-application-action svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vacancy-application-actions .employer-resume-favorite.vacancy-application-action {
  font-size: 30px !important;
}
.vacancy-application-actions .employer-resume-favorite.vacancy-application-action.is-active {
  color: #fff !important;
  background: linear-gradient(145deg, #21a8ff, #5149ef) !important;
}
.vacancy-application-action-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.vacancy-application-action[data-tooltip]::after {
  position: absolute;
  right: auto;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  width: max-content;
  max-width: 190px;
  padding: 7px 10px;
  border-radius: 9px;
  color: #fff;
  background: rgba(20,22,28,.94);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .12s ease, transform .12s ease;
  transition-delay: 0s;
}
.vacancy-application-action[data-tooltip]:hover::after,
.vacancy-application-action[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 1s;
}
body:not(.light) .vacancy-application-actions .vacancy-application-action {
  color: rgba(239,246,255,.92) !important;
  border-color: rgba(135,194,245,.24) !important;
  background: rgba(255,255,255,.075) !important;
}
@media (max-width:760px) {
  .vacancy-application-actions {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding: 4px 2px 8px !important;
    scrollbar-width: none;
  }
  .vacancy-application-actions::-webkit-scrollbar { display: none; }
}

/* Fully dark chat surfaces; keep the composer readable without a pale panel. */
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .koos-chat-window,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .koos-chat-layout,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .koos-chat-dialog,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .koos-chat-thread-list {
  border-color: rgba(117,155,190,.2) !important;
  background: #091522 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .koos-chat-window-head,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .koos-chat-dialog-head {
  border-color: rgba(117,155,190,.2) !important;
  background: #0c1a29 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .vacancy-chat-messages {
  background: #071421 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .vacancy-chat-form {
  border-color: rgba(117,155,190,.2) !important;
  background: #0d1824 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .vacancy-chat-form textarea,
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .vacancy-chat-form input[type="file"] {
  color: #f5f8fc !important;
  border-color: rgba(145,174,202,.28) !important;
  background: #1a2633 !important;
  box-shadow: none !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .vacancy-chat-form textarea::placeholder {
  color: rgba(224,233,243,.5) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page):not(.light) .vacancy-chat-form .koos-chat-tools button {
  color: #eef5fc !important;
  border-color: rgba(145,174,202,.25) !important;
  background: #17293b !important;
  box-shadow: none !important;
}

/* Chat window uses the same compact glass shell as the AI assistant. */
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-window {
  width: min(760px, calc(100vw - 40px)) !important;
  height: min(610px, calc(100vh - 120px)) !important;
  max-height: calc(100vh - 120px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(120,214,255,.5) !important;
  border-radius: 22px !important;
  background: rgba(5,23,43,.76) !important;
  box-shadow: 0 22px 58px rgba(0,8,25,.48) !important;
  backdrop-filter: blur(22px) saturate(1.45) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.45) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-window-head {
  min-height: 66px !important;
  padding: 9px 14px !important;
  border-color: rgba(133,192,229,.2) !important;
  background: rgba(12,43,75,.68) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-window-head strong {
  font-size: 16px !important;
  line-height: 1.2 !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-window-head button {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  font-size: 25px !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-layout {
  grid-template-columns: 210px minmax(0,1fr) !important;
  background: transparent !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-thread-list {
  padding: 12px !important;
  border-color: rgba(133,192,229,.16) !important;
  background: rgba(7,26,45,.58) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-dialog {
  background: rgba(5,18,32,.42) !important;
}
body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-dialog-head {
  background: rgba(12,32,52,.7) !important;
}
body.light:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-window {
  color: #15243a !important;
  border-color: rgba(151,193,226,.62) !important;
  background: rgba(238,247,253,.78) !important;
  box-shadow: 0 22px 58px rgba(60,90,120,.2) !important;
}
body.light:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-window-head,
body.light:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-dialog-head {
  background: rgba(226,241,251,.8) !important;
}
body.light:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-thread-list {
  background: rgba(231,244,252,.68) !important;
}

/* Ten records per page on desktop lists. */
.koos-list-pagination,
.public-jobs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 24px auto 4px;
}
.koos-list-pagination[hidden],
.public-jobs-pagination[hidden] {
  display: none !important;
}
.koos-list-pagination__pages {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.koos-list-pagination button,
.public-jobs-pagination a,
.public-jobs-pagination span[aria-current="page"] {
  min-width: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(92, 191, 255, .42);
  border-radius: 999px;
  padding: 10px 17px;
  color: #eef7ff;
  background: rgba(11, 38, 68, .82);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.koos-list-pagination button:hover:not(:disabled),
.public-jobs-pagination a:hover {
  transform: translateY(-2px);
  border-color: rgba(72, 210, 255, .9);
  background: rgba(22, 87, 141, .94);
}
.koos-list-pagination button.is-current,
.public-jobs-pagination span[aria-current="page"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #159df6, #5947e8);
  box-shadow: 0 10px 26px rgba(35, 134, 246, .28);
}
.koos-list-pagination button:disabled {
  opacity: .4;
  cursor: default;
}
.koos-list-pagination__ellipsis,
.public-jobs-pagination__ellipsis {
  color: rgba(226, 239, 255, .7);
  font-weight: 800;
}
.account-registration-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.light .koos-list-pagination button,
body.light .public-jobs-pagination a,
body.light .public-jobs-pagination span[aria-current="page"] {
  color: #12304f;
  border-color: rgba(32, 139, 229, .26);
  background: rgba(255, 255, 255, .92);
}
body.light .koos-list-pagination button.is-current,
body.light .public-jobs-pagination span[aria-current="page"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #159df6, #5947e8);
}
@media (max-width:820px) {
  .koos-list-pagination {
    display: none !important;
  }
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-window:not([hidden]) {
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 20px !important;
  }
  body:is(.jobseeker-dashboard-page,.employer-dashboard-page,.vacancy-detail-page) .koos-chat-layout {
    grid-template-columns: 1fr !important;
  }
}

/* User-entered vacancy and CV titles share one typeface in all languages. */
body :is(.public-job-card h2, .public-vacancy h1, .candidate-vacancy-card h3, .employer-candidate-card h3, .resume-detail-toolbar h1, .resume-hero h1, [data-translation-field="title"]) {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-style: normal !important;
  text-transform: none !important;
}

/* Admin mail draft assistant */
.admin-user-mail-ai { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.admin-user-mail-ai small { flex:1 1 260px; color:var(--text-muted, #9eb1c7); line-height:1.5; }
.admin-user-mail-ai button { min-height:44px; }
.admin-user-mail-ai [hidden] { display:none !important; }

/* v510: voluntary employer trust-page consent */
.candidate-profile-grid .employer-partner-listing-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(35, 184, 255, 0.24);
  border-radius: 16px;
  background: rgba(35, 184, 255, 0.08);
  font-weight: 700;
  line-height: 1.45;
}
.candidate-profile-grid .employer-partner-listing-consent input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 1px 0 0;
  padding: 0;
  border-radius: 5px;
  flex: 0 0 20px;
  accent-color: #229eff;
}
.employer-dashboard-page:not(.light) .candidate-profile-grid .employer-partner-listing-consent {
  color: rgba(231, 241, 255, 0.84);
  background: rgba(35, 184, 255, 0.07);
}

