:root {
  --ink: #12261c;
  --leaf: #1f5c42;
  --leaf-deep: #0d3324;
  --gold: #d4a84b;
  --cream: #f3eee3;
  --mist: #e7efe9;
  --danger: #9b2c2c;
  --panel: rgba(243, 238, 227, 0.94);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, .brand-mark, .topbar-brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
}

/* ---- Auth / Login ---- */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(212, 168, 75, 0.28), transparent 55%),
    linear-gradient(135deg, #0d3324 0%, #1f5c42 42%, #244a38 70%, #3d6b4f 100%);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(243, 238, 227, 0.12);
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(13, 51, 36, 0.55) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(243, 238, 227, 0.04) 18px,
      rgba(243, 238, 227, 0.04) 19px
    );
}

.auth-visual-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--cream);
}

.brand-mark {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  margin: 0;
  max-width: 22rem;
  font-size: 1.1rem;
  opacity: 0.88;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.auth-form {
  width: min(100%, 24rem);
  background: var(--panel);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(18, 38, 28, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  animation: rise 0.55s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-form h1 {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
}

.auth-lead {
  margin: 0 0 1.4rem;
  color: rgba(18, 38, 28, 0.72);
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(18, 38, 28, 0.18);
  background: #fff;
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(31, 92, 66, 0.18);
}

.btn-primary {
  width: 100%;
  margin-top: 0.4rem;
  border: 0;
  background: var(--leaf-deep);
  color: var(--cream);
  font: inherit;
  font-weight: 600;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover { background: var(--leaf); }
.btn-primary:active { transform: translateY(1px); }

.alert {
  background: #fde8e8;
  color: var(--danger);
  border: 1px solid rgba(155, 44, 44, 0.25);
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ---- App shell ---- */
.app-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(231, 239, 233, 0.9), transparent 28%),
    linear-gradient(120deg, #f3eee3, #e8f0ea 55%, #f7f1e4);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(18, 38, 28, 0.1);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-brand { font-size: 1.25rem; text-decoration: none; color: inherit; letter-spacing: -0.02em; }
.topbar-left { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar-meta { display: flex; gap: 1rem; align-items: center; font-size: 0.95rem; }

.topnav { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.topnav a {
  text-decoration: none;
  color: rgba(18, 38, 28, 0.68);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.7rem;
  border-bottom: 2px solid transparent;
}
.topnav a:hover { color: var(--ink); }
.topnav a.is-active {
  color: var(--leaf-deep);
  border-bottom-color: var(--gold);
}

.btn-ghost {
  color: var(--leaf-deep);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.btn-ghost:hover { border-bottom-color: var(--leaf-deep); }

.btn-inline {
  width: auto;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin-top: 0;
  padding: 0.7rem 1.1rem;
}

.btn-secondary {
  border: 1px solid rgba(18, 38, 28, 0.2);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 0.65rem 1rem;
  cursor: pointer;
}

.alert-ok {
  background: #e7f5ee;
  color: var(--leaf-deep);
  border-color: rgba(31, 92, 66, 0.25);
}

/* ---- Dashboard (ops overview) ---- */
.dash-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.75rem;
  animation: rise 0.45s ease both;
}

.dash-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 1.6rem 1.5rem;
  margin-bottom: 1.1rem;
  background:
    linear-gradient(135deg, rgba(13, 51, 36, 0.96), rgba(31, 92, 66, 0.92)),
    radial-gradient(600px 240px at 90% 10%, rgba(212, 168, 75, 0.28), transparent 60%);
  color: var(--cream);
}

.dash-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.78;
}

.dash-hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 3.5vw, 2.45rem);
  letter-spacing: -0.02em;
}

.dash-hero .dash-lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(243, 238, 227, 0.82);
}

.dash-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dash-hero-actions .btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 238, 227, 0.35);
}

.dash-hero-actions .btn-secondary:hover {
  background: rgba(243, 238, 227, 0.1);
}

.dash-hero-actions .btn-primary {
  background: var(--gold);
  color: #12261c;
}

.dash-hero-actions .btn-primary:hover {
  background: #e0b85a;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.kpi {
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 38, 28, 0.08);
  border-top: 3px solid var(--gold);
  padding: 0.95rem 0.9rem;
  display: grid;
  gap: 0.2rem;
  transition: transform 0.15s ease, background 0.2s ease;
}

.kpi:hover {
  transform: translateY(-2px);
  background: #fff;
}

.kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(18, 38, 28, 0.55);
}

.kpi-value {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.85rem;
  line-height: 1;
}

.kpi-meta {
  font-size: 0.86rem;
  color: rgba(18, 38, 28, 0.62);
}

.dash-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dash-main-grid-bottom {
  grid-template-columns: 1fr 1fr;
}

.dash-panel {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 38, 28, 0.08);
  padding: 1.1rem 1.1rem 1.2rem;
}

.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.dash-panel-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.dash-panel-head a {
  color: var(--leaf-deep);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.dash-empty {
  margin: 0;
  color: rgba(18, 38, 28, 0.6);
}

.funnel {
  display: grid;
  gap: 0.7rem;
}

.funnel-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr 2.2rem;
  gap: 0.65rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.funnel-label {
  font-size: 0.88rem;
  font-weight: 600;
}

.funnel-track {
  height: 0.7rem;
  background: rgba(18, 38, 28, 0.08);
  overflow: hidden;
}

.funnel-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--leaf-deep), var(--leaf) 60%, var(--gold));
  transition: width 0.35s ease;
}

.funnel-value {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.attention-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.attention-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem 0.8rem;
  background: rgba(231, 239, 233, 0.55);
  border-left: 3px solid var(--gold);
}

.attention-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.attention-list p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(18, 38, 28, 0.68);
}

.attention-list a {
  white-space: nowrap;
  color: var(--leaf-deep);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.dash-table {
  border: 0;
  background: transparent;
}

.dash-shortcuts {
  margin-top: 0.5rem;
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(18, 38, 28, 0.08);
}

.dash-shortcuts h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.shortcut-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shortcut-row a {
  text-decoration: none;
  color: var(--leaf-deep);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  background: rgba(231, 239, 233, 0.7);
  border: 1px solid rgba(18, 38, 28, 0.08);
}

.shortcut-row a:hover {
  background: #fff;
}

@media (max-width: 1100px) {
  .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-main-grid,
  .dash-main-grid-bottom { grid-template-columns: 1fr; }
  .attention-list li { flex-direction: column; }
}

@media (max-width: 520px) {
  .kpi-row { grid-template-columns: 1fr; }
}

/* legacy dash (kept for safety) */
.dash {
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 960px;
  margin: 0 auto;
  animation: rise 0.5s ease both;
}

.page {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  max-width: 1100px;
  margin: 0 auto;
  animation: rise 0.45s ease both;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.page h1 { margin: 0 0 0.3rem; font-size: clamp(1.8rem, 3.5vw, 2.3rem); }
.page-lead { margin: 0; color: rgba(18, 38, 28, 0.7); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.filter-bar input,
.filter-bar select {
  border: 1px solid rgba(18, 38, 28, 0.18);
  background: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
  min-width: 12rem;
  flex: 1;
}

.table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(18, 38, 28, 0.08);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(18, 38, 28, 0.08);
  vertical-align: top;
}

.data-table th {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(18, 38, 28, 0.55);
  background: rgba(231, 239, 233, 0.7);
}

.data-table .muted { color: rgba(18, 38, 28, 0.55); font-size: 0.88rem; margin-top: 0.15rem; }
.data-table .empty { text-align: center; color: rgba(18, 38, 28, 0.55); padding: 2rem; }

.row-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  white-space: nowrap;
}

.row-actions a { color: var(--leaf-deep); font-weight: 600; text-decoration: none; }
.row-actions form { margin: 0; }
.link-danger {
  border: 0;
  background: none;
  color: var(--danger);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.link-action {
  border: 0;
  background: none;
  color: var(--leaf-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 1.35rem;
  border: 1px solid rgba(18, 38, 28, 0.08);
  align-items: start;
}

.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  align-content: start;
}

.form-grid .full { grid-column: 1 / -1; }

.filter-bar select,
.form-grid select,
.form-grid input[type="text"],
.form-grid input[type="email"],
.form-grid input[type="url"],
.form-grid input[type="date"],
.form-grid input[type="password"],
.form-grid input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]) {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  border: 1px solid rgba(18, 38, 28, 0.18);
  background-color: #fff;
  color: var(--ink);
  padding: 0 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.25;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
  vertical-align: top;
}

.form-grid select,
.filter-bar select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, #12261c 50%),
    linear-gradient(135deg, #12261c 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-grid select:focus,
.filter-bar select:focus,
.form-grid input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(31, 92, 66, 0.15);
}

.form-grid textarea {
  width: 100%;
  min-height: 7rem;
  max-height: none;
  height: auto;
  border: 1px solid rgba(18, 38, 28, 0.18);
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
  resize: vertical;
}

.form-grid textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(31, 92, 66, 0.15);
}

.form-grid input:disabled {
  opacity: 0.75;
  background: #f3eee3;
}

.form-compact {
  max-width: 36rem;
  margin-bottom: 0.5rem;
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.check-row input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.field-hint {
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(18, 38, 28, 0.55);
}

.field-hint a {
  color: var(--leaf-deep);
}

.pipeline-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stage-card {
  display: grid;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.55);
  border-top: 3px solid var(--gold);
  padding: 1.2rem 1.1rem;
  transition: transform 0.15s ease, background 0.2s ease;
}

.stage-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.8);
}

.stage-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(18, 38, 28, 0.65);
}

.stage-count {
  font-family: Fraunces, Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
}

.stage-meta {
  color: rgba(18, 38, 28, 0.6);
  font-size: 0.92rem;
}

.stage-cta {
  margin-top: 0.5rem;
  color: var(--leaf-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.pipeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.activity-block h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
}

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

.job-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 51, 36, 0.45);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 1rem;
  animation: rise 0.2s ease both;
}

.job-popup {
  width: min(100%, 26rem);
  background: #f3eee3;
  color: #12261c;
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(18, 38, 28, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.job-popup h3 {
  margin: 0 0 0.4rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
}

.job-popup p {
  margin: 0 0 0.75rem;
  color: rgba(18, 38, 28, 0.72);
}

.job-popup-list {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.job-popup-list li {
  line-height: 1.35;
}

.page-head-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.detail-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(18, 38, 28, 0.08);
  padding: 1.25rem 1.2rem;
}

.detail-card h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
}

.detail-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(18, 38, 28, 0.55);
  margin: 0 0 0.2rem;
}

.detail-list dd {
  margin: 0;
  font-weight: 600;
}

.job-description {
  white-space: pre-wrap;
  line-height: 1.55;
  color: rgba(18, 38, 28, 0.88);
}

@media (max-width: 700px) {
  .detail-list { grid-template-columns: 1fr; }
}

.status-pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(18, 38, 28, 0.15);
  background: rgba(231, 239, 233, 0.8);
}

.status-open { background: #e7f5ee; color: var(--leaf-deep); }
.status-on-hold { background: #fff4d6; color: #7a5a00; }
.status-filled { background: #e8eef8; color: #1e3a6e; }
.status-closed { background: #f0eaea; color: #6a4a4a; }

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.4rem;
}

@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { min-height: 32vh; border-right: 0; }
  .dash-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---- Candidates page ---- */
.cand-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.cand-summary-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 38, 28, 0.08);
  border-top: 3px solid var(--gold);
  padding: 0.75rem 0.85rem;
  display: grid;
  gap: 0.15rem;
}

.cand-summary-item strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}

.cand-summary-item span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(18, 38, 28, 0.55);
}

.filter-panel {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 38, 28, 0.08);
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.filter-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.filter-panel label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.filter-panel .filter-grow {
  grid-column: 1 / -1;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 2.6rem;
  border: 1px solid rgba(18, 38, 28, 0.18);
  background-color: #fff;
  padding: 0 0.75rem;
  font: inherit;
  box-sizing: border-box;
}

.filter-panel select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.8rem;
  background-image: linear-gradient(45deg, transparent 50%, #12261c 50%),
    linear-gradient(135deg, #12261c 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% - 3px), calc(100% - 9px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.filter-panel-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.result-line {
  margin: 0 0 0.75rem;
  color: rgba(18, 38, 28, 0.68);
  font-size: 0.95rem;
}

.cand-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(18, 38, 28, 0.12);
  white-space: nowrap;
}

.cand-status-active { background: #e7f5ee; color: var(--leaf-deep); }
.cand-status-placed { background: #e8eef8; color: #1e3a6e; }
.cand-status-hold { background: #fff4d6; color: #7a5a00; }
.cand-status-warn { background: #fde8e8; color: #9b2c2c; }
.cand-status-inactive { background: #f0eaea; color: #6a4a4a; }
.cand-status-w2,
.cand-status-c2c { background: #eef6f1; color: var(--leaf-deep); }
.cand-status-other { background: #f4f1ea; color: #5a5248; }

.linkedin-link {
  color: var(--leaf-deep);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
}

.cand-table .row-actions {
  flex-wrap: wrap;
}

.detail-list .full {
  grid-column: 1 / -1;
}

@media (max-width: 1000px) {
  .filter-panel-grid { grid-template-columns: 1fr 1fr; }
  .cand-summary { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .filter-panel-grid { grid-template-columns: 1fr; }
}
