:root {
  --navy: #0F2A4A;
  --navy-dark: #0A1C33;
  --navy-soft: #1A3E66;
  --red: #D81E28;
  --red-dark: #B21821;
  --accent: #f4a261;
  --gray: #f8f9fa;
  --ink: #1b2838;
  --muted: #5c6b7a;
  --line: #e2e8ef;
  --white: #ffffff;
  --green: #1b7f4e;
  --amber: #9a6700;
  --shadow: 0 14px 36px rgba(15, 42, 74, 0.12);
  --radius: 16px;
  --header-h: 72px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--gray);
  line-height: 1.55;
}

img,
video,
iframe {
  max-width: 100%;
}

a {
  color: var(--navy);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

h3 {
  margin-bottom: 0.35rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip-link:focus {
  top: calc(var(--header-h) + 0.4rem);
  z-index: 300;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.navbar,
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner,
.footer-inner,
.section,
.hero-inner,
.flash-wrap,
.profile-wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-logo,
.sidebar-brand .brand-plate,
.footer-logo .brand-plate {
  flex: 0 0 auto;
}

.brand-img,
.logo-badge-container img,
.navbar-brand img,
.brand-logo img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-img-full {
  display: block;
  width: auto;
  height: auto;
  max-width: min(440px, 100%);
  object-fit: contain;
}

.brand-plate,
.logo-badge-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 20px;
  width: auto;
  max-width: 100%;
  overflow: visible;
  line-height: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-side .sidebar-brand {
  flex-wrap: wrap;
  align-items: center;
}

.admin-side .brand-img {
  height: 44px;
  max-width: 100%;
}

.hero-logo,
.profile-brand {
  width: min(420px, 100%);
  max-width: 100%;
  margin-bottom: 1rem;
}

.hero-logo .brand-plate,
.profile-brand .brand-plate,
.footer-logo .brand-plate {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
}

.hero-logo .brand-img-full,
.profile-brand .brand-img-full {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  min-height: 44px;
  padding: 0 0.9rem;
  font: inherit;
  color: var(--navy);
}

.main-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 1rem 0.85rem;
  z-index: 30;
}

.main-nav.is-open {
  display: block;
}

.nav-links {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  padding: 0.75rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.nav-links a.is-active {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-apply-cta {
  gap: 0.4rem;
  background: var(--red);
  color: var(--white);
  white-space: nowrap;
}

.btn-apply-cta svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-apply-cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

.apply-label-full {
  display: none;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(216, 30, 40, 0.2), transparent 28%),
    linear-gradient(160deg, var(--navy-dark), var(--navy) 55%, var(--navy-soft));
  color: var(--white);
}

.hero-inner {
  padding: 3.2rem 0 3.6rem;
}

.eyebrow {
  display: block;
  max-width: 40rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero p.lead {
  font-size: 1.08rem;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .hero-actions .btn,
.page-home .audience-card .btn,
.page-home .final-cta .btn {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-actions,
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero h1,
.hero p.lead {
  overflow-wrap: break-word;
}

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-bar p {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 3rem 0;
}

.section-tight {
  padding-top: 0;
}

.btn-row-spaced {
  margin-top: 1.2rem;
}

.section-head {
  margin-bottom: 1.4rem;
  max-width: 40rem;
}

.section-head p,
.muted {
  color: var(--muted);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.audience-grid,
.hub-region-grid {
  display: grid;
  gap: 1rem;
}

.audience-card,
.hub-region-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.audience-card {
  padding: 1.4rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
}

.audience-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.audience-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.check-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 0.15rem;
  color: var(--green);
}

.hub-region-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 140px;
  padding: 1.15rem 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.hub-badge-svg {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.hub-region-card strong {
  font-size: 1.05rem;
  color: var(--navy);
}

.hub-region-card span {
  color: var(--muted);
}

.hub-region-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.final-cta {
  background:
    radial-gradient(circle at top right, rgba(230, 57, 70, 0.38), transparent 32%),
    linear-gradient(155deg, var(--navy-dark), var(--navy) 62%);
  color: var(--white);
  text-align: center;
}

.final-cta .section {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.final-cta p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.4rem;
}

.steps,
.stat-grid,
.jobs-grid,
.talent-grid,
.filter-grid,
.form-grid,
.split-2,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.step-card,
.stat-card,
.job-card,
.talent-card,
.panel,
.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-card,
.job-card,
.panel,
.stat-card {
  padding: 1.15rem 1.2rem 1.25rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.process-section {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding: 3rem 0;
}

.process-section .section-header {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.process-section .section-header.text-center {
  margin-inline: auto;
  text-align: center;
}

.process-section .section-header p {
  color: var(--muted);
  margin-bottom: 0;
}

.process-steps-grid {
  display: grid;
  gap: 0.35rem;
}

.process-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.15rem 1.2rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.step-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.88rem;
}

.step-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 0.85rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eef4fa;
  color: var(--navy);
}

.step-icon svg,
.step-connector svg {
  width: 28px;
  height: 28px;
  display: block;
}

.process-card h3 {
  margin-bottom: 0.35rem;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-connector {
  display: grid;
  place-items: center;
  color: var(--red);
  height: 28px;
}

.step-connector svg {
  width: 22px;
  height: 22px;
  transform: rotate(90deg);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-card span,
.job-card small {
  color: var(--muted);
}

.job-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.job-card:hover,
.talent-card:hover {
  transform: translateY(-3px);
  transition: transform 0.18s ease;
}

.job-code {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
}

.cta-band .section {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.05rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
  background: var(--white);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-lg {
  min-height: 3.1rem;
  padding: 0.85rem 1.2rem;
  font-size: 1.05rem;
}

.w-100 {
  width: 100%;
}

.header-actions .btn-apply-cta {
  background: var(--red);
  color: var(--white);
}

.header-actions .btn-apply-cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.panel .btn-secondary,
.profile-side .btn-secondary,
.admin-main .btn-secondary,
.wizard-form-card .btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
}

.btn-danger {
  background: transparent;
  color: var(--red-dark);
  border-color: #f3c3c7;
}

.btn-block {
  width: 100%;
}

.btn-small {
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
}

.talent-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.talent-card-media {
  position: relative;
  display: block;
  height: 260px;
  background: var(--navy);
  text-decoration: none;
  overflow: hidden;
}

.candidate-avatar-img,
.talent-card-media .candidate-avatar-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background:
    radial-gradient(circle at top, rgba(244, 162, 97, 0.35), transparent 42%),
    linear-gradient(180deg, var(--navy-soft), var(--navy-dark));
}

.talent-card-media img,
.photo-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, var(--navy), var(--navy-soft));
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.badge-cnp {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.talent-card-media .badge-cnp {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  border: 0;
}

.badge-hub {
  background: var(--accent);
  color: var(--navy-dark);
  border: 0;
}

.talent-card-media .badge-hub {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
}

.talent-card-media .score-ring {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 8px 16px rgba(8, 40, 67, 0.28));
}

.hub-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hub-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.hub-pill:hover {
  border-color: var(--accent);
}

.stepper {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.stepper li {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.3rem;
  border-bottom: 3px solid var(--line);
  color: var(--muted);
}

.stepper li.is-current {
  color: var(--navy);
  border-color: var(--red);
}

.stepper li.is-done {
  color: var(--navy);
  border-color: var(--accent);
}

.apply-step[hidden],
.wizard-form-card [hidden] {
  display: none !important;
}

.page-apply .apply-container {
  width: min(860px, calc(100% - 2rem));
}

.form-header {
  text-align: center;
  margin-bottom: 1.4rem;
}

.form-header h1 {
  margin-bottom: 0.7rem;
}

.badge-reassurance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  max-width: 100%;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #eef4fa;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.badge-reassurance svg,
.step-title svg,
.gender-card svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.wizard-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.2rem 1.35rem;
}

.wizard-form-card fieldset {
  border: 0;
  margin: 0 0 0.85rem;
  padding: 0;
}

.wizard-form-card legend {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.wizard-stepper {
  display: flex;
  align-items: flex-start;
  margin: 0 0 1.5rem;
}

.step-item {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  width: 3.6rem;
  text-align: center;
}

.step-circle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--navy);
  font-weight: 800;
}

.step-item.active .step-circle {
  background: #0d3b66;
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 59, 102, 0.18);
}

.step-item.completed .step-circle {
  background: var(--green);
  color: transparent;
  font-size: 0;
}

.step-item.completed .step-circle::after {
  content: "✓";
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1;
}

.step-line {
  flex: 1;
  height: 3px;
  margin-top: 20px;
  border-radius: 99px;
  background: #e2e8f0;
}

.step-line.completed {
  background: var(--green);
}

.step-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.step-label-full {
  display: none;
}

@media (min-width: 720px) {
  .step-item {
    width: 7.4rem;
  }

  .step-label-short {
    display: none;
  }

  .step-label-full {
    display: inline;
  }
}

.step-item.active .step-label,
.step-item.completed .step-label {
  color: var(--navy);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.wizard-form-card .form-control,
.wizard-form-card input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.wizard-form-card select,
.wizard-form-card textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
}

.wizard-form-card input:focus,
.wizard-form-card select:focus,
.wizard-form-card textarea:focus,
.wizard-form-card .form-control:focus {
  outline: none;
  border-color: #0d3b66;
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.15);
}

.gender-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gender-card {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.gender-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.gender-card .card-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 56px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.gender-card input:checked + .card-content {
  border-color: #0d3b66;
  background: #f4f8fc;
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.15);
}

.gender-card input:focus-visible + .card-content {
  border-color: #0d3b66;
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.15);
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.wizard-actions .btn {
  gap: 0.45rem;
}

.wizard-actions .btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.wizard-actions .btn-next,
.wizard-actions .btn-submit {
  margin-left: auto;
}

.btn-success {
  background: var(--green);
  color: var(--white);
}

.btn-success:hover {
  background: #14633c;
}

.eligibility-note {
  background: #fff4df;
  border: 1px solid #f0d7a2;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.step-actions,
.hub-choice {
  margin-top: 0.4rem;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hub-choice {
  border: 0;
  padding: 0;
  margin-bottom: 1rem;
}

.hub-choice legend {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hub-choice .checkline {
  margin-bottom: 0.55rem;
}

.apply-success h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.talent-card-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.talent-card-body h3 {
  margin: 0;
  font-size: 1.12rem;
}

.talent-card-body .job-code {
  margin: 0;
}

.talent-code {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.talent-meta {
  margin: 0.2rem 0 0.5rem;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.92rem;
}

.talent-meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}

.talent-meta li + li {
  margin-top: 0.35rem;
}

.talent-meta span {
  color: var(--muted);
}

.talent-meta strong {
  text-align: right;
}

.score-ring {
  --p: 0;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  display: block;
}

.score-ring .score-plate {
  fill: var(--white);
}

.score-ring .score-track,
.score-ring .score-value {
  fill: none;
  stroke-width: 5;
}

.score-ring .score-track {
  stroke: #e6edf3;
}

.score-ring .score-value {
  stroke: var(--red);
  stroke-linecap: round;
  stroke-dasharray: var(--p) 100;
  transform: rotate(-90deg);
  transform-origin: 36px 36px;
}

.score-ring .score-num,
.score-ring .score-unit {
  font-family: var(--font);
  text-anchor: middle;
}

.score-ring .score-num {
  fill: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.score-ring .score-unit {
  fill: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.filters {
  margin-bottom: 1rem;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: end;
}

.result-count {
  color: var(--muted);
  margin: 0.2rem 0 1rem;
}

.empty-state {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.page-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.page-link.is-current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.profile-wrap {
  padding: 1.4rem 0 3rem;
}

.profile-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.profile-kicker .badge-cnp {
  position: static;
}

.profile-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.profile-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 0.3rem;
}

.video-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-ratio iframe,
.video-player {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.video-player {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

.video-proof,
.video-guard,
.video-empty {
  width: 100%;
}

.profile-identity {
  text-align: center;
  margin: 0.15rem 0 0.75rem;
}

.profile-anon-code {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.profile-cnp-line {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.skill-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #e7f0fa;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.video-empty {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--navy-dark);
  color: var(--white);
}

.eval-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
}

.eval-table th,
.eval-table td {
  text-align: left;
  padding: 0.75rem 0.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.eval-table th {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.dots {
  display: inline-flex;
  gap: 0.28rem;
}

.dots i {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 3px;
  background: #d5dee8;
  display: block;
}

.dots i.on {
  background: var(--navy);
}

.comment-box {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--gray);
  border-radius: 12px;
}

.profile-side .panel + .panel,
.stack > * + * {
  margin-top: 1rem;
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.meta-list span {
  color: var(--muted);
}

.profile-info-block .candidate-avatar-img {
  margin-bottom: 0.8rem;
}

.score-badge {
  text-align: center;
}

.score-badge .score-val {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.score-badge .score-max {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted);
}

.score-badge .score-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-info-block .divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.9rem 0;
}

.info-group h4 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--navy);
}

.info-group h4 svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.32rem 0;
}

.info-row .label {
  color: var(--muted);
}

.info-row .value {
  text-align: right;
  font-weight: 700;
}

.badge-test {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #e7f0fa;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
}

.text-success {
  color: var(--green);
}

.recruiter-space h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  letter-spacing: 0;
  color: var(--navy);
}

.recruiter-space p {
  margin: 0 0 1rem;
  line-height: 1.5;
}

.cv-download {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.cv-download-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.625rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #fff;
  color: #1e293b;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.cv-download-btn:hover {
  background: #f8fafc;
  color: #1e293b;
}

.cv-download-btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
}

.profile-info-block .btn-block {
  margin-top: 0.9rem;
}

.profile-info-block .btn-block + .btn-block {
  margin-top: 0.5rem;
}

dialog.interview-dialog {
  border: 0;
  padding: 0;
  color: inherit;
  width: min(680px, calc(100% - 1.5rem));
  max-width: 680px;
  background: transparent;
}

dialog.interview-dialog:not([open]) {
  display: none;
}

dialog.interview-dialog[open] {
  max-height: 85vh;
  overflow: auto;
}

.interview-posts {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem 0.15rem;
}

.interview-posts legend {
  padding: 0 0.35rem;
  font-weight: 700;
  color: var(--navy);
}

.interview-posts.has-error {
  border-color: var(--red);
}

dialog.interview-dialog::backdrop {
  background: rgba(8, 40, 67, 0.62);
}

.interview-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

form .field {
  margin-bottom: 0.85rem;
}

dialog.interview-dialog:not([open]) [data-close-interview] {
  display: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
}

.field-error {
  color: var(--red-dark);
  margin: 0;
  font-size: 0.88rem;
}

.help {
  color: var(--muted);
  font-size: 0.85rem;
}

.hp {
  position: absolute;
  left: -10000px;
  height: 0;
  overflow: hidden;
}

.alert {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff4f4;
  color: #8d1d28;
  border: 1px solid #f3c3c7;
}

.alert-success {
  background: #eefaf3;
  color: #0f5c38;
  border-color: #b7e4cb;
}

.alert-warning {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  background: #fff6e8;
  color: #7a4b00;
  border-color: #f0d7a2;
}

.alert-warning[hidden] {
  display: none !important;
}

.code-card {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #f8fafc;
}

.code-card p {
  margin: 0.2rem 0;
}

.code-card strong {
  color: var(--navy);
}

.candidate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.candidate-actions .btn {
  gap: 0.4rem;
}

.candidate-actions svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.alert-warning svg,
.alert-error svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  margin-top: 0.12rem;
}

.alert-warning a,
.alert-error a {
  color: inherit;
  font-weight: 800;
}

.alert-error {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.alert[hidden] {
  display: none !important;
}

.alert-dismissible {
  align-items: center;
}

.alert-dismissible p {
  flex: 1;
  margin: 0;
}

.alert-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.alert-close:hover,
.alert-close:focus-visible {
  background: rgba(141, 29, 40, 0.1);
}

.alert-close svg {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
}

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.86);
  padding: 2.6rem 0 1.1rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-top,
.footer-bottom-flex {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-col h2 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer-logo {
  margin-bottom: 0.8rem;
  color: var(--white);
}

.footer-logo strong,
.footer-logo small {
  color: var(--white);
}

.footer-logo strong span {
  color: var(--accent);
}

.footer-brand p {
  margin-bottom: 0.7rem;
}

.affiliation-badge,
.privacy-note,
.contact-info li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.affiliation-badge {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  font-size: 0.92rem;
}

.footer-col svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 0.15rem;
  color: var(--accent);
}

.footer-links,
.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li,
.contact-info li + li {
  margin-top: 0.55rem;
}

.privacy-note {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.social-links svg {
  width: 18px;
  height: 18px;
  margin: 0;
  color: var(--white);
}

.footer-bottom {
  margin-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 1.2rem;
  padding-top: 0.95rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.legal-copy h2 {
  margin: 1.45rem 0 0.45rem;
  color: var(--navy);
  font-size: 1.12rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy ul {
  margin: 0.35rem 0 0.9rem;
  padding-left: 1.15rem;
}

.legal-copy li {
  margin-bottom: 0.45rem;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.legal-code {
  font-weight: 700;
  color: var(--navy);
}

.legal-copy a {
  color: var(--navy);
}

.anonymisation-note h2 {
  font-size: 1.35rem;
}

.anonymisation-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer-copy {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.auth-wrap {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: min(440px, 100%);
  padding: 1.4rem;
}

.admin-shell {
  display: block;
  min-height: 100vh;
}

.admin-side {
  background: var(--navy-dark);
  color: var(--white);
  padding: 1rem;
}

.admin-side .brand,
.admin-side .brand small {
  color: var(--white);
}

.side-nav {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  text-decoration: none;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  font-weight: 650;
  line-height: 1.3;
}

.side-nav svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.side-nav a.is-active,
.side-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-header {
  margin: 0.9rem 0.75rem 0.15rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.side-nav a.side-logout {
  color: #ffb4bc;
}

.side-nav a.side-logout:hover {
  background: rgba(230, 57, 70, 0.2);
  color: var(--white);
}

.admin-main {
  padding: 1rem 1rem 2.5rem;
}

.admin-main h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.admin-layout .flash-wrap {
  width: auto;
  margin: 0 0 1rem;
}

.admin-main > .split-2,
.admin-main > .panel,
.admin-main > .stat-grid {
  margin-top: 1rem;
}

.page-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 1rem;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: #f3f6f9;
}

.inline-form {
  display: inline;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: #eef2f6;
  color: var(--navy);
}

.status-pub,
.status-done {
  background: #e5f6ec;
  color: var(--green);
}

.status-draft,
.status-new {
  background: #fff4df;
  color: var(--amber);
}

.status-arch,
.status-wait {
  background: #f1f5f9;
  color: #475569;
}

.status-fix {
  background: #ffedd5;
  color: #c2410c;
}

.status-reject {
  background: #fee2e2;
  color: #b91c1c;
}

.app-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.btn-edit,
.btn-convert,
.btn-reject {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-edit svg,
.btn-convert svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
}

.btn-edit {
  background: #e0e7ff;
  color: #3730a3;
}

.btn-convert {
  background: #dcfce7;
  color: #166534;
}

.btn-reject {
  background: #fee2e2;
  color: #b91c1c;
}

.status-progress {
  background: #e7f0fa;
  color: var(--navy);
}

.checkline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 600;
}

.checkline[hidden],
.cv-sent-badge[hidden],
.cv-upload-status[hidden],
.cv-current[hidden],
.cv-upload-error[hidden] {
  display: none !important;
}

.cv-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.cv-sent-badge {
  gap: 0.35rem;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.82rem;
}

.cv-sent-badge svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
}

.cv-upload-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  color: var(--navy);
  font-weight: 700;
}

.cv-spinner {
  width: 1rem;
  height: 1rem;
  flex: none;
  border: 2px solid #cbd5e1;
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: cv-spin 0.7s linear infinite;
}

@keyframes cv-spin {
  to { transform: rotate(360deg); }
}

.cv-current {
  margin: 0.35rem 0 0;
}

.cv-current a {
  font-weight: 700;
}

.checkline input {
  width: auto;
  min-height: 0;
}

.score-live {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.score-live .muted {
  font-size: 1rem;
  font-weight: 650;
}

.preview-photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
}

details.inquiry-details {
  margin-top: 0.35rem;
}

details.inquiry-details summary {
  cursor: pointer;
  font-weight: 700;
}

.catalog-results.is-loading {
  opacity: 0.55;
}

@media (max-width: 719px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .navbar,
  .site-header {
    width: 100%;
    max-width: 100%;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 1rem;
    gap: 0.45rem;
    min-width: 0;
  }

  .brand-logo {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .header-actions {
    flex: 0 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .brand .brand-subtitle {
    display: none;
  }

  .nav-toggle {
    position: static;
    flex: none;
    z-index: 2;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    position: static;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
  }

  .nav-links a {
    border: 0;
    padding: 0.2rem 0;
  }

  .apply-label-short {
    display: none;
  }

  .apply-label-full {
    display: inline;
  }

  .steps,
  .stat-grid,
  .jobs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .talent-grid,
  .filter-grid,
  .form-grid,
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience-grid,
  .hub-region-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band .section {
    grid-template-columns: 1.4fr auto;
  }
}

@media (min-width: 980px) {
  .steps,
  .stat-grid,
  .jobs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-steps-grid {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
    align-items: stretch;
    gap: 0.45rem;
  }

  .step-connector {
    height: auto;
    align-self: center;
  }

  .step-connector svg {
    transform: none;
  }

  .talent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
    align-items: start;
  }

  .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .metrics-pan,
  .metrics-impact,
  .hub-region-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.85fr 1.15fr 0.95fr;
  }

  .form-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .admin-side {
    min-height: 100vh;
    position: sticky;
    top: 0;
  }

  .admin-main {
    padding: 1.6rem 1.8rem 3rem;
  }
}

.p0{--p:0}
.p1{--p:1}
.p2{--p:2}
.p3{--p:3}
.p4{--p:4}
.p5{--p:5}
.p6{--p:6}
.p7{--p:7}
.p8{--p:8}
.p9{--p:9}
.p10{--p:10}
.p11{--p:11}
.p12{--p:12}
.p13{--p:13}
.p14{--p:14}
.p15{--p:15}
.p16{--p:16}
.p17{--p:17}
.p18{--p:18}
.p19{--p:19}
.p20{--p:20}
.p21{--p:21}
.p22{--p:22}
.p23{--p:23}
.p24{--p:24}
.p25{--p:25}
.p26{--p:26}
.p27{--p:27}
.p28{--p:28}
.p29{--p:29}
.p30{--p:30}
.p31{--p:31}
.p32{--p:32}
.p33{--p:33}
.p34{--p:34}
.p35{--p:35}
.p36{--p:36}
.p37{--p:37}
.p38{--p:38}
.p39{--p:39}
.p40{--p:40}
.p41{--p:41}
.p42{--p:42}
.p43{--p:43}
.p44{--p:44}
.p45{--p:45}
.p46{--p:46}
.p47{--p:47}
.p48{--p:48}
.p49{--p:49}
.p50{--p:50}
.p51{--p:51}
.p52{--p:52}
.p53{--p:53}
.p54{--p:54}
.p55{--p:55}
.p56{--p:56}
.p57{--p:57}
.p58{--p:58}
.p59{--p:59}
.p60{--p:60}
.p61{--p:61}
.p62{--p:62}
.p63{--p:63}
.p64{--p:64}
.p65{--p:65}
.p66{--p:66}
.p67{--p:67}
.p68{--p:68}
.p69{--p:69}
.p70{--p:70}
.p71{--p:71}
.p72{--p:72}
.p73{--p:73}
.p74{--p:74}
.p75{--p:75}
.p76{--p:76}
.p77{--p:77}
.p78{--p:78}
.p79{--p:79}
.p80{--p:80}
.p81{--p:81}
.p82{--p:82}
.p83{--p:83}
.p84{--p:84}
.p85{--p:85}
.p86{--p:86}
.p87{--p:87}
.p88{--p:88}
.p89{--p:89}
.p90{--p:90}
.p91{--p:91}
.p92{--p:92}
.p93{--p:93}
.p94{--p:94}
.p95{--p:95}
.p96{--p:96}
.p97{--p:97}
.p98{--p:98}
.p99{--p:99}
.p100{--p:100}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-access .admin-main {
  background: #f8fafc;
}

.access-board {
  display: grid;
  gap: 1rem;
}

.btn-crimson {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e11d48;
  color: #fff;
}

.btn-crimson:hover {
  background: #be123c;
  color: #fff;
}

.btn-crimson svg,
.access-edit svg,
.access-danger svg,
.access-search svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.access-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  border-bottom: 1px solid #e2e8f0;
}

.access-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
}

.access-tabs button.is-active {
  color: #e11d48;
  border-bottom-color: #e11d48;
}

.access-panel-head {
  display: flex;
  justify-content: flex-end;
}

.access-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.access-search {
  position: relative;
  flex: 1 1 16rem;
}

.access-search svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.access-search input {
  padding-left: 2.4rem;
}

.access-toolbar select {
  min-width: 11rem;
}

.access-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.access-card .table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.access-person {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.access-avatar {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.access-badge-indigo {
  background: #e0e7ff;
  color: #3730a3;
}

.access-badge-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.access-badge-gray {
  background: #f1f5f9;
  color: #475569;
}

.access-badge-green {
  background: #dcfce7;
  color: #15803d;
}

.access-badge-amber {
  background: #fef3c7;
  color: #b45309;
}

.access-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
}

.access-col-actions,
.access-actions {
  text-align: right;
}

.access-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
}

.access-edit,
.access-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem;
}

.access-edit {
  color: #3730a3;
}

.access-danger {
  color: #e11d48;
}

.access-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem 1rem;
}

.access-pager p {
  margin: 0;
  color: #64748b;
}

.access-pager-nav {
  display: flex;
  gap: 0.45rem;
}

.access-pager .is-disabled {
  opacity: 0.45;
}

.access-later {
  padding: 1.2rem 1.25rem 1.4rem;
}

.access-later h2 {
  margin-top: 0;
}

.admin-dialog {
  width: min(680px, calc(100% - 2rem));
  border: 1px solid #f1f5f9;
  border-radius: 0.9rem;
  padding: 0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.admin-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.admin-dialog form {
  padding: 1.15rem 1.2rem 1.2rem;
}

.admin-dialog-head,
.admin-dialog-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.admin-dialog-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.admin-dialog-close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.access-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem 0.8rem;
  margin-top: 0.8rem;
}

.access-span {
  grid-column: 1 / -1;
}

.access-password {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.access-password input {
  flex: 1 1 12rem;
}

.admin-dialog-foot {
  justify-content: flex-end;
  margin-top: 0.4rem;
}

.admin-dialog [hidden] {
  display: none !important;
}

.quote-dialog {
  max-height: 85vh;
  overflow: hidden;
}

.quote-dialog form {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
  padding: 0;
}

.quote-dialog .admin-dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  flex: 0 0 auto;
  background: #fff;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid #e2e8f0;
}

.quote-dialog .admin-dialog-body {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.7rem 1.1rem 0.35rem;
}

.quote-dialog .admin-dialog-foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem 1.1rem;
}

.quote-dialog .form-grid {
  gap: 0.65rem 0.75rem;
}

.quote-dialog .field {
  gap: 0.2rem;
}

.quote-dialog .field-hint {
  margin: 0;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.3;
}

.quote-dialog .pay-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.5rem;
  margin: 0.15rem 0 0.65rem;
}

.quote-dialog .pay-status label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.4rem 0.55rem;
  border-radius: 0.6rem;
  text-align: center;
  line-height: 1.15;
}

.quote-dialog .pay-status label span {
  display: block;
  font-size: 0.84rem;
}

.quote-dialog .pay-status input {
  position: absolute;
  width: 1px;
  min-height: 0;
  height: 1px;
  margin: 0;
  opacity: 0;
}

@media (min-width: 720px) {
  .access-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.inquiry-filters .filter-actions {
  grid-column: 1 / -1;
}

.profile-cell {
  display: grid;
  justify-items: start;
  gap: 0.28rem;
}

.badge-cnp {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: #0f2744;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sensitive-panel {
  margin-top: 0.45rem;
  padding: 0.7rem 0.8rem;
  background: #f1f5f9;
  border-radius: 8px;
  display: grid;
  gap: 0.28rem;
}

.sensitive-panel p {
  margin: 0;
}

.sensitive-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

details.inquiry-details summary {
  list-style: none;
}

details.inquiry-details summary::-webkit-details-marker {
  display: none;
}

details.inquiry-details summary::before {
  content: "►";
  margin-right: 0.35rem;
}

details.inquiry-details[open] summary::before {
  content: "▼";
}

.inquiry-offer p {
  margin: 0 0 0.55rem;
}

.inquiry-offer p:last-child {
  margin-bottom: 0;
}

.inquiry-offer strong {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.inquiry-wish {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.inquiry-wish svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 0.12rem;
}

.inquiry-status-form {
  margin-top: 0.45rem;
}

.inquiry-status-form select {
  min-width: 15rem;
}

.status-inq-new {
  background: #dbeafe;
  color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.22), 0 0 14px rgba(225, 29, 72, 0.45);
}

.status-inq-check {
  background: #ffedd5;
  color: #c2410c;
}

.status-inq-match {
  background: #e0e7ff;
  color: #3730a3;
}

.status-inq-meet {
  background: #ede9fe;
  color: #6d28d9;
}

.status-inq-done {
  background: #dcfce7;
  color: #166534;
}

.status-inq-out {
  background: #e2e8f0;
  color: #475569;
}

.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  display: grid;
  gap: 0.45rem;
  width: min(22rem, calc(100vw - 2rem));
}

.toast {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #166534;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.toast.is-error {
  background: #b91c1c;
}

@media (min-width: 980px) {
  .filter-grid.inquiry-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.desk-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.desk-badge {
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 800;
  font-size: 0.85rem;
}

.desk-badge-alert {
  background: #fee2e2;
  color: #b91c1c;
}

.desk-badge-meet {
  background: #ede9fe;
  color: #6d28d9;
}

.desk-tasks {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desk-tasks li {
  display: grid;
  gap: 0.15rem;
}

.kanban {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  align-items: start;
  padding-bottom: 0.4rem;
}

.kanban-col {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 12rem;
  padding: 0.7rem;
}

.kanban-col.is-over {
  outline: 2px solid #e11d48;
}

.kanban-col h3 {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.92rem;
}

.kanban-count {
  color: var(--muted);
}

.kanban-card {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.55rem;
  padding: 0.65rem 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: grab;
}

.kanban-card.is-dragging {
  opacity: 0.55;
}

.timeline {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  border-left: 3px solid #0f2744;
  padding-left: 0.8rem;
}

.timeline p {
  margin: 0;
}

.desk-filters {
  margin-bottom: 0.5rem;
}

.desk-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
}

.desk-section-head h2,
.page-intro h1 {
  margin-bottom: 0;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: #cbd5e1;
}

.btn-primary svg,
.btn-outline svg,
.btn-manage-card svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.desk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.desk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.72rem;
  font-weight: 800;
}

.btn-manage-card {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  border: 0;
  background: transparent;
  color: #3730a3;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

@media (hover: hover) {
  .btn-manage-card {
    opacity: 0;
  }

  .kanban-card:hover .btn-manage-card,
  .kanban-card:focus-within .btn-manage-card {
    opacity: 1;
  }
}

.desk-dialog [hidden] {
  display: none !important;
}

.note-history {
  display: grid;
  gap: 0.7rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.note-history li {
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
}

.note-history p {
  margin: 0;
}

.dash-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.dash-top h1 {
  margin-bottom: 0.25rem;
}

.dash-top-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.dash-period {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dash-period label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.dash-period select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.35rem 0.7rem;
  background: var(--white);
  color: var(--navy);
  font: inherit;
}

.notify {
  position: relative;
}

.notify summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.notify summary::-webkit-details-marker {
  display: none;
}

.notify summary svg {
  width: 22px;
  height: 22px;
}

.notify-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.notify-badge[hidden],
.notify-unread[hidden] {
  display: none;
}

.notify-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.4rem);
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 90vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.notify-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0.85rem 0.65rem;
  border-bottom: 1px solid var(--line);
}

.notify-title {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

.notify-unread {
  display: inline-flex;
  margin-top: 0.25rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
}

.notify-read-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.2rem 0.15rem;
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
  line-height: 1.25;
}

.notify-read-all svg {
  width: 15px;
  height: 15px;
}

.notify-read-all:hover {
  color: var(--navy);
}

.notify-list {
  max-height: 400px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.notify-empty {
  margin: 0;
  padding: 0.9rem 0.85rem;
}

.notify-item a {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.75rem;
  border-left: 4px solid transparent;
  background: var(--white);
  text-decoration: none;
  color: inherit;
}

.notify-item.is-unread a {
  background: #f8fafc;
}

.notify-item a:hover {
  background: #f1f5f9;
}

.notify-inquiry a { border-left-color: #2563eb; }
.notify-payment a { border-left-color: #16a34a; }
.notify-candidate a { border-left-color: #9333ea; }
.notify-media a { border-left-color: #d97706; }

.notify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex: 0 0 32px;
}

.notify-icon svg {
  width: 18px;
  height: 18px;
}

.notify-inquiry .notify-icon { background: #eff6ff; color: #1d4ed8; }
.notify-payment .notify-icon { background: #f0fdf4; color: #15803d; }
.notify-candidate .notify-icon { background: #faf5ff; color: #7e22ce; }
.notify-media .notify-icon { background: #fffbeb; color: #b45309; }

.notify-copy {
  min-width: 0;
  flex: 1;
}

.notify-copy strong,
.notify-copy span,
.notify-copy small {
  display: block;
}

.notify-inquiry strong { color: #1d4ed8; }
.notify-payment strong { color: #15803d; }
.notify-candidate strong { color: #7e22ce; }
.notify-media strong { color: #b45309; }

.notify-copy strong {
  font-size: 0.8rem;
}

.notify-copy span {
  font-size: 0.9rem;
  color: var(--ink);
}

.notify-copy small {
  margin-top: 0.15rem;
  color: var(--muted);
}

.notify-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: #2563eb;
  flex: 0 0 8px;
}

.notify-item:not(.is-unread) .notify-dot {
  display: none;
}

.notify-foot {
  display: block;
  padding: 0.7rem 0.85rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.notify-foot:hover {
  background: #f8fafc;
}

.dash-range {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.kpi-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 42, 74, 0.04), transparent 46%),
    var(--white);
}

.kpi-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kpi-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.kpi-head strong {
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1.1;
}

.kpi-money {
  font-size: 1.25rem !important;
}

.kpi-label {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.kpi-sub {
  margin: 0.15rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.trend {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.trend-up {
  background: #e8f6ee;
  color: var(--green);
}

.trend-down {
  background: #fde8ea;
  color: var(--red-dark);
}

.trend-flat {
  background: #eef2f6;
  color: var(--muted);
}

.sparkline {
  display: block;
  width: 100%;
  height: 36px;
  color: var(--navy-soft);
}

.kpi-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.7rem;
}

.kpi-foot span {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  padding: 0.35rem 0.45rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.kpi-foot strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.dash-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1rem;
  margin-top: 1rem;
}

.chart-legend,
.donut-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.4rem 0 0.6rem;
  padding: 0;
  list-style: none;
}

.chart-legend span,
.donut-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.86rem;
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 10px;
}

.swatch-navy,
.swatch-0 { background: #0F2A4A; }
.swatch-accent,
.swatch-3 { background: #f4a261; }
.swatch-green,
.swatch-4 { background: #1b7f4e; }
.swatch-1 { background: #D81E28; }
.swatch-2 { background: #1A3E66; }
.swatch-5 { background: #5c6b7a; }

.dash-chart,
.dash-donut {
  width: 100%;
  height: auto;
}

.chart-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.donut-layout {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.donut-legend {
  display: grid;
  gap: 0.4rem;
}

.donut-legend li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 0.15rem 0.4rem;
}

.donut-legend strong {
  grid-column: 2;
  color: var(--navy);
  font-size: 0.82rem;
}

.insight-panel {
  margin-top: 1rem;
}

.insight-panel h2 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.insight-card {
  background: #fff;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.insight-grid h3 {
  margin: 0 0 0.3rem;
  color: var(--navy);
  font-size: 1rem;
}

.insight-value {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
}

.insight-grid p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.insight-action {
  color: var(--red-dark);
  font-weight: 700;
}

.dash-feed {
  margin-top: 1rem;
}

.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feed-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.feed-list li:last-child {
  border-bottom: 0;
}

.feed-list a {
  font-weight: 800;
  color: var(--navy);
}

.feed-list p,
.feed-list small {
  display: block;
  margin: 0.2rem 0 0;
}

.feed-list p {
  color: var(--ink);
}

.feed-list small {
  color: var(--muted);
}

.feed-list .badge,
.feed-list .status-pill {
  margin-left: 0.35rem;
}

@media (max-width: 1100px) {
  .kpi-grid,
  .insight-grid,
  .dash-charts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .kpi-grid,
  .insight-grid,
  .dash-charts,
  .donut-layout {
    grid-template-columns: 1fr;
  }

  .notify-panel {
    right: auto;
    left: 0;
  }
}

.page-intro .btn svg {
  width: 1rem;
  height: 1rem;
}

.text-red-500 {
  color: #ef4444;
}

.admin-dialog .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-actions {
  margin-top: 1rem;
}

.form-grid.cols-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.payment-settings h2 {
  margin: 0;
  font-size: 1.05rem;
}

.payment-settings > .field-hint {
  margin: 0.8rem 0 0;
  color: #64748b;
}

.gateway-board {
  display: grid;
  gap: 0.8rem;
}

.gateway-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem 1rem;
}

.gateway-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.gateway-mode {
  flex: 0 1 11rem;
}

.gateway-mode select,
.gateway-card .field input,
.gateway-webhook input {
  min-height: 38px;
}

.gateway-webhook {
  flex: 1 1 16rem;
}

.gateway-keys {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.gateway-keys .field {
  margin-bottom: 0;
}

.gateway-coverage {
  margin-top: 0.8rem;
}

.gateway-coverage-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.secret-field,
.webhook-field {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.secret-field input,
.webhook-field input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.secret-toggle,
.btn-copy-url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-copy-url {
  width: 38px;
  padding: 0;
}

.btn-copy-url svg {
  width: 1.05rem;
  height: 1.05rem;
}

.btn-xs {
  min-height: 28px;
  padding: 0.1rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.tag-select-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.tag-select-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.3rem 0.4rem;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #fff;
}

.tag-select-control:focus-within {
  border-color: #94a3b8;
}

.tag-select-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.tag-select-search {
  flex: 1 1 9rem;
  width: auto;
  min-height: 32px;
  border: 0;
  padding: 0.15rem 0.3rem;
  background: transparent;
}

.tag-select-menu {
  position: relative;
  z-index: 4;
  margin: 0.3rem 0 0;
  padding: 0.25rem;
  list-style: none;
  max-height: 220px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.tag-select-menu[hidden] {
  display: none;
}

.tag-select-menu button {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 0.35rem 0.6rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.tag-select-menu button:hover,
.tag-select-menu button.is-active {
  background: #f1f5f9;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.12rem 0.2rem 0.12rem 0.55rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 0.78rem;
  font-weight: 700;
}

.tag-badge[data-zone="INT"] {
  background: #ede9fe;
  color: #5b21b6;
}

.tag-remove {
  width: auto;
  min-height: 0;
  padding: 0 0.28rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 800px) {
  .gateway-keys {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.secret-toggle {
  width: 44px;
  padding: 0;
}

.secret-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

.secret-toggle .icon-hide {
  display: none;
}

.secret-toggle.is-visible .icon-show {
  display: none;
}

.secret-toggle.is-visible .icon-hide {
  display: block;
}

.gateway-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-weight: 700;
}

.gateway-switch input {
  appearance: none;
  width: 2.7rem;
  height: 1.5rem;
  margin: 0;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  cursor: pointer;
}

.gateway-switch input::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
}

.gateway-switch input:checked {
  background: #059669;
}

.gateway-switch input:checked::after {
  left: 1.35rem;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.doc-actions form {
  margin: 0;
}

.doc-actions small,
.data-table small {
  display: block;
  color: #64748b;
}

.btn-whatsapp,
.btn-copy,
.btn-pdf,
.btn-mail,
.btn-edit,
.btn-cancel-doc {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: #fff;
}

.btn-whatsapp {
  color: #047857;
  border-color: #a7f3d0;
}

.btn-mail,
.btn-edit {
  color: var(--navy);
  border-color: #cbd5e1;
}

.pay-choices {
  border: 0;
  margin: 0.2rem 0 0.8rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pay-choices legend {
  width: 100%;
  padding: 0;
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.pay-choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  background: #fff;
}

.pay-choices label:has(input:checked) {
  border-color: var(--navy);
  background: #f8fafc;
  font-weight: 700;
}

.issued-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.btn-copy {
  color: #1e3a8a;
  border-color: #bfdbfe;
}

.btn-pdf {
  color: #9f1239;
  border-color: #fecdd3;
}

.btn-cancel-doc {
  color: #64748b;
  border-color: #e2e8f0;
}

.copy-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #0f172a;
  color: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
}

.copy-toast[hidden] {
  display: none !important;
}

.invoice-sheet {
  width: min(1080px, calc(100% - 2rem));
  margin: 1.5rem auto 3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}

.invoice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.invoice-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
}

.invoice-brand strong,
.invoice-brand small {
  display: block;
}

.invoice-brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-muted {
  background: #f1f5f9;
  color: #475569;
}

.invoice-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.2rem;
}

.invoice-main h1 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
}

.invoice-meta {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.invoice-meta p {
  margin: 0.15rem 0;
}

.invoice-label {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-table th,
.invoice-table td {
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.invoice-table th {
  color: #64748b;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.invoice-table th:nth-child(2),
.invoice-table td:nth-child(2),
.invoice-table th:nth-child(3),
.invoice-table td:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}

.invoice-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}

.invoice-total strong {
  font-size: 1.55rem;
}

.invoice-pdf {
  margin: 1rem 0 0;
}

.invoice-pay {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: #f8fafc;
}

.invoice-pay h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.pay-methods {
  display: grid;
  gap: 0.7rem;
}

.pay-methods form {
  margin: 0;
}

.pay-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pay-method:hover {
  border-color: var(--navy);
}

.pay-method-kicker {
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.pay-logos svg {
  height: 28px;
  width: auto;
}

.pay-assist {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.pay-assist p {
  margin-top: 0;
}

.pay-trust {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: #334155;
  font-size: 0.86rem;
}

.pay-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pay-trust svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  color: var(--navy);
}

.pay-note {
  color: #475569;
}

.pay-dialog {
  width: min(440px, calc(100% - 1.5rem));
  max-width: 440px;
  max-height: calc(100% - 1.5rem);
  overflow: auto;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.pay-dialog form {
  padding: 0 1.25rem 1.25rem;
}

.pay-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 0;
}

.pay-dialog-head h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.pay-gateway-badge {
  display: inline-flex;
  margin: 0.35rem 0 0;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.pay-gateway-badge.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.pay-dialog label,
.pay-dialog legend {
  display: block;
  margin: 0.7rem 0 0.3rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}

.pay-dialog select,
.pay-dialog input[type="email"] {
  width: 100%;
  min-height: 0;
  padding: 0.4rem 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.pay-dialog fieldset {
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
}

.pay-operator-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.pay-operator-list.is-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pay-operator {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.45rem 1.35rem 0.45rem 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pay-operator:hover {
  border-color: #3b82f6;
}

.pay-operator input {
  position: absolute;
  top: 0.4rem;
  right: 0.35rem;
  width: 0.8rem;
  height: 0.8rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: #2563eb;
  cursor: pointer;
}

.pay-operator:has(input:checked) {
  border: 2px solid #2563eb;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.pay-op-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.pay-op-orange { background: #ff7900; }
.pay-op-mtn { background: #111; color: #ffcc00; }
.pay-op-wave { background: #1dc8ff; }
.pay-op-moov { background: #0066b3; }
.pay-op-card { background: #1a1f71; }
.pay-op-other { background: #334155; }

.pay-op-name {
  color: #111827;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
}

.pay-phone {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background: #fff;
}

.pay-dial {
  flex: none;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 700;
}

.pay-phone input {
  flex: 1;
  width: auto;
  min-height: 0;
  padding: 0.45rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.875rem;
}

.pay-dialog .pay-submit {
  min-height: 2.6rem;
  margin-top: 0.9rem;
  padding: 0.55rem 0.8rem;
  border-color: transparent;
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  font-size: 0.875rem;
  font-weight: 650;
}

.pay-dialog .pay-submit:hover {
  background: #1d4ed8;
}

.pay-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0.45rem 0 0;
  color: #9ca3af;
  font-size: 0.75rem;
  text-align: center;
}

.pay-secure svg {
  width: 0.8rem;
  height: 0.8rem;
}

.pay-waiting,
.pay-result {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 0.2rem 1.25rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
}

.pay-loader {
  position: relative;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
}

.pay-loader-ring {
  position: absolute;
  inset: 0;
  border: 4px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: pay-spin 0.8s linear infinite, pay-pulse 1.6s ease-out infinite;
}

.pay-loader .pay-op-mark {
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
}

.pay-waiting-title {
  margin: 0.15rem 0 0;
  color: #1f2937;
  font-size: 1.0625rem;
  font-weight: 700;
}

.pay-ussd {
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid #bfdbfe;
  border-radius: 0.75rem;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}

.pay-ussd p {
  margin: 0;
}

.pay-ussd p + p {
  margin-top: 0.45rem;
}

.pay-ussd-keep {
  color: #92400e;
  font-size: 0.8125rem;
  font-style: italic;
}

.pay-countdown {
  margin: 0;
  color: #6b7280;
  font-size: 0.75rem;
}

.pay-countdown span {
  color: #2563eb;
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
}

.pay-cancel {
  min-height: 0;
  margin: 0;
  padding: 0.15rem 0.2rem;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
}

.pay-cancel:hover {
  color: #ef4444;
}

@keyframes pay-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pay-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pay-loader-ring {
    animation: none;
  }
}

.pay-check {
  width: 3rem;
  height: 3rem;
  color: #15803d;
}

.pay-result-ok {
  color: #15803d;
}

.pay-result-bad {
  color: #b91c1c;
}

.pay-result-bad .pay-check {
  display: none;
}

.pay-result .btn {
  min-width: 12rem;
}

@media (min-width: 900px) {
  .invoice-grid {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }

  .invoice-meta {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.cnp-add {
  display: grid;
  gap: 0.8rem;
  align-items: end;
}

.cnp-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.cnp-edit input {
  width: min(100%, 28rem);
  min-height: 40px;
}

.cnp-code {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

@media (min-width: 800px) {
  .cnp-add {
    grid-template-columns: 9rem 1fr auto;
  }
}

.page-candidate .admin-main {
  padding: 1rem 1rem 1.5rem;
}

.page-candidate .page-intro {
  margin-bottom: 0.75rem;
}

.page-candidate .code-card {
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.85rem;
}

.page-candidate .split-2 {
  gap: 0.75rem;
}

.page-candidate .panel {
  padding: 1rem;
}

.page-candidate .panel h2 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.page-candidate #candidate-form .field {
  margin-bottom: 0.65rem;
}

.page-candidate #candidate-form input,
.page-candidate #candidate-form select {
  min-height: 38px;
  padding: 0.35rem 0.6rem;
}

.page-candidate #candidate-form textarea {
  min-height: 84px;
  padding: 0.45rem 0.6rem;
}

.page-candidate .help {
  margin: 0;
}

.page-candidate .candidate-actions {
  margin-top: 0.75rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.section-head h2 {
  margin: 0;
}

.page-talents .section-head {
  align-items: flex-start;
  max-width: none;
  margin-bottom: 1.4rem;
}

.page-talents .section-head h1,
.page-talents .section-head p {
  margin: 0;
}

@media (min-width: 900px) {
  .page-talents .section-head h1 {
    flex: 0 0 auto;
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .page-talents .section-head p {
    max-width: 38rem;
    padding-top: 0.2rem;
  }
}

.page-talents .filter-actions .btn {
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  padding: 12px 24px;
  line-height: 1;
}

.page-candidate .score-live {
  font-size: 1.35rem;
}

.media-grid,
.eval-grid {
  display: grid;
  gap: 0.65rem 0.85rem;
}

@media (min-width: 720px) {
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .eval-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .eval-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.finance-block {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.finance-block h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.finance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.finance-row select {
  flex: 1 1 12rem;
}

.finance-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.finance-paid {
  background: #e5f6ec;
  color: #166534;
}

.finance-wait {
  background: #fff4df;
  color: #92400e;
}

.finance-free {
  background: #f1f5f9;
  color: #475569;
}

.choice-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.choice-grid {
  display: grid;
  gap: 0.35rem 0.75rem;
}

@media (min-width: 720px) {
  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.choice-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.page-candidate fieldset.field {
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
}

.page-candidate fieldset.field legend {
  margin-bottom: 0.35rem;
  font-weight: 700;
}

