/* THRS V14.27 — Recruitment Search & Filters Premium Reference Match
   Scope strictly to Recruitment Applicant Search & Filters card.
   Original inputs, React filtering state, export and date/select popups unchanged.
   Reference: Premium Navy-Gold Recruitment Filters.png (2026-11-06). */
html[data-theme="light"] .thrs-page-recruitment {
  --rf27-panel:#ffffff;
  --rf27-panel-end:#fcfbfa;
  --rf27-ink:#0b2640;
  --rf27-sub:#657994;
  --rf27-field:#fcfdff;
  --rf27-border:#d4e0ec;
  --rf27-hairline:#e3ebf3;
  --rf27-gold:#c49143;
  --rf27-gold-strong:#ad7831;
  --rf27-gold-faint:#f6ead4;
  --rf27-navy:#0b2b44;
  --rf27-shadow:0 10px 24px rgba(14,41,66,.08),0 24px 45px rgba(13,42,70,.09);
  --rf27-field-shadow:0 5px 12px rgba(13,42,70,.07),inset 0 1px 0 rgba(255,255,255,.8);
}
html[data-theme="dark"] .thrs-page-recruitment {
  --rf27-panel:#16354e;
  --rf27-panel-end:#112d46;
  --rf27-ink:#f3f7fe;
  --rf27-sub:#c7d5e3;
  --rf27-field:#1b3d58;
  --rf27-border:#43617a;
  --rf27-hairline:#33546e;
  --rf27-gold:#e8c18a;
  --rf27-gold-strong:#f2cc95;
  --rf27-gold-faint:#344960;
  --rf27-navy:#0b273d;
  --rf27-shadow:0 10px 24px rgba(0,11,26,.23),0 24px 45px rgba(0,9,22,.23);
  --rf27-field-shadow:0 4px 12px rgba(0,10,25,.18),inset 0 1px 0 rgba(255,255,255,.035);
}
/* Premium porcelain/navy main surface with a decorative gold flourish. */
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card {
  position:relative !important;
  isolation:isolate !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:25px !important;
  margin-bottom:25px !important;
  padding:30px 32px 29px !important;
  overflow:visible !important;
  border:1px solid color-mix(in srgb,var(--rf27-gold) 20%,var(--rf27-border)) !important;
  border-radius:21px !important;
  background:
    radial-gradient(ellipse at 90% -32%,color-mix(in srgb,var(--rf27-gold) 10%,transparent),transparent 48%),
    linear-gradient(152deg,var(--rf27-panel),var(--rf27-panel-end)) !important;
  box-shadow:var(--rf27-shadow) !important;
  color:var(--rf27-ink) !important;
  width:100% !important;
  min-width:0 !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card::after {
  content:"";
  position:absolute !important;
  inset:0 0 auto auto;
  pointer-events:none !important;
  width:166px;height:34px;
  border-top:2px solid var(--rf27-gold) !important;
  border-radius:8% 85% 0 0 / 0 95% 0 0 !important;
  mask-image:linear-gradient(95deg,transparent 1%,#000 51%,#000 96%) !important;
  -webkit-mask-image:linear-gradient(95deg,transparent 1%,#000 51%,#000 96%) !important;
  opacity:.85;
  z-index:0;
}
html[dir="rtl"][data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card::after {
  inset:0 auto auto 0;
  transform:scaleX(-1);
}
/* Compact command header: left title + subtitle, right result badge/actions. */
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card .thrs-rec-v6-filter-head {
  position:relative !important;
  z-index:1;
  display:flex !important;
  flex-flow:row wrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px 24px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  min-height:52px !important;
  height:auto !important;
  width:100% !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-title {
  display:flex !important;
  align-items:center !important;
  flex:0 1 auto !important;
  gap:18px !important;
  min-width:0 !important;
  max-width:100%;
  color:var(--rf27-ink) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-icon {
  position:relative;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:51px !important;
  height:51px !important;
  min-width:51px !important;
  flex:0 0 51px !important;
  padding:0 !important;
  border:1px solid var(--rf27-gold) !important;
  border-radius:13px !important;
  background:linear-gradient(142deg,#1e506d,#092a45) !important;
  color:#f3c985 !important;
  box-shadow:0 5px 14px rgba(9,41,66,.20),inset 0 1px 0 rgba(255,255,255,.12) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-icon svg {
  width:23px !important;height:23px !important;
  stroke:#f0c47e !important;stroke-width:2.1 !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-icon::after {
  content:"";position:absolute;
  top:1px;bottom:1px;
  inset-inline-end:-15px;width:2px;
  background:linear-gradient(to bottom,transparent,var(--rf27-gold),transparent);
  border-radius:999px;
  pointer-events:none;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-title > div {
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  min-width:0 !important;
  padding-inline-start:4px !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-title-main {
  font-size:clamp(21px,2vw,27px) !important;
  line-height:1.16 !important;
  letter-spacing:-.042em !important;
  font-weight:950 !important;
  color:var(--rf27-ink) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-title-sub {
  font-size:12px !important;
  line-height:1.55 !important;
  font-weight:650 !important;
  letter-spacing:0 !important;
  color:var(--rf27-sub) !important;
  margin:0 !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-actions {
  position:relative !important;
  display:flex !important;
  flex:0 1 auto !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  align-items:center !important;
  width:auto !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:43px !important;
  margin:0 !important;
  padding:0 !important;
  gap:10px !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-count {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
  min-height:35px !important;
  margin:0 !important;
  padding:7px 15px !important;
  border-radius:999px !important;
  border:1px solid color-mix(in srgb,var(--rf27-gold) 80%,var(--rf27-border)) !important;
  background:linear-gradient(140deg,#fdf0d8,#e9c789) !important;
  color:#142d45 !important;
  font-weight:910 !important;
  font-size:12px !important;
  box-shadow:0 3px 10px rgba(139,95,32,.095),inset 0 1px 0 rgba(255,255,255,.55) !important;
  font-variant-numeric:tabular-nums;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-actions > .thrs-rec-v6-filter-btn {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
  gap:8px !important;
  height:auto !important;
  min-height:39px !important;
  padding:9px 14px !important;
  border-radius:12px !important;
  font-size:12px !important;
  font-weight:825 !important;
  line-height:1.35 !important;
  transition:background .16s,border-color .16s,box-shadow .16s !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-actions > .thrs-rec-v6-filter-btn svg {
  width:15px !important;height:15px !important;flex:0 0 auto !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-btn-solid {
  color:#fff !important;
  border:1px solid #c49d68 !important;
  background:linear-gradient(137deg,#143f5d,#07283f) !important;
  box-shadow:0 5px 13px rgba(8,38,67,.17) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-btn-ghost,
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-btn-outline {
  border:1px solid var(--rf27-border) !important;
  color:var(--rf27-ink) !important;
  background:linear-gradient(135deg,var(--rf27-panel),var(--rf27-field)) !important;
  box-shadow:var(--rf27-field-shadow) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-btn-ghost:disabled {
  color:var(--rf27-sub) !important;
  opacity:.70 !important;
  cursor:not-allowed !important;
  box-shadow:none !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-btn:not(:disabled):hover {
  border-color:var(--rf27-gold) !important;
  filter:brightness(1.035);
  box-shadow:0 7px 15px rgba(8,38,66,.14) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-btn:focus-visible {
  outline:2px solid var(--rf27-gold) !important;
  outline-offset:3px !important;
}
/* Full-width search hero beneath title/actions, not a small right-aligned box. */
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-search-field {
  display:flex !important;
  position:relative !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex:0 0 auto !important;
  gap:13px !important;
  width:100% !important;
  max-width:100% !important;
  height:51px !important;
  min-height:51px !important;
  margin:0 !important;
  padding:10px 18px !important;
  border:1px solid var(--rf27-gold) !important;
  border-radius:15px !important;
  background:linear-gradient(135deg,var(--rf27-panel),var(--rf27-field)) !important;
  box-shadow:0 4px 13px rgba(17,47,75,.11),inset 0 1px 2px rgba(255,255,255,.08) !important;
  color:var(--rf27-gold-strong) !important;
  min-width:0 !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-search-field:focus-within {
  border-color:var(--rf27-gold-strong) !important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--rf27-gold) 18%,transparent),0 5px 14px rgba(13,43,74,.12) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-search-field > svg {
  color:var(--rf27-gold-strong) !important;
  stroke:var(--rf27-gold-strong) !important;
  width:22px !important;height:22px !important;flex:0 0 22px !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-search-field > input {
  flex:1 1 auto !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:auto !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:var(--rf27-ink) !important;
  -webkit-text-fill-color:var(--rf27-ink) !important;
  font-size:13px !important;
  font-weight:690 !important;
  line-height:1.5 !important;
  box-shadow:none !important;
  outline:none !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-search-field > input::placeholder {
  color:var(--rf27-sub) !important;
  -webkit-text-fill-color:var(--rf27-sub) !important;
  opacity:1 !important;
}
/* Five label-and-control groups, with wider date range as the reference. */
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid {
  display:grid !important;
  grid-template-columns:minmax(0,1.02fr) minmax(0,1.02fr) minmax(0,1.02fr) minmax(0,1.53fr) minmax(0,1.02fr) !important;
  grid-template-rows:auto !important;
  gap:13px !important;
  justify-content:stretch !important;
  align-items:end !important;
  width:100% !important;
  min-width:0 !important;
  height:auto !important;
  padding:0 !important;
  margin:0 !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field {
  position:relative;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  gap:8px !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-field > label {
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  min-width:0 !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 0 0 1px !important;
  padding:0 !important;
  color:var(--rf27-ink) !important;
  font-size:11px !important;
  font-weight:860 !important;
  letter-spacing:-.005em !important;
  line-height:1.45 !important;
  text-transform:none !important;
  white-space:normal !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-field > label::before {
  content:"";
  width:17px;height:17px;
  flex:0 0 17px;
  display:inline-block;
  background:var(--rf27-gold-strong);
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field:nth-child(1) > label::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='17' rx='2'/%3E%3Cpath d='M9 4.5V2.5h6v2M8 10h8M8 14h8M8 18h5'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='17' rx='2'/%3E%3Cpath d='M9 4.5V2.5h6v2M8 10h8M8 14h8M8 18h5'/%3E%3C/svg%3E");
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field:nth-child(2) > label::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 12h18M10 12v3h4v-3'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 12h18M10 12v3h4v-3'/%3E%3C/svg%3E");
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field:nth-child(3) > label::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field:nth-child(4) > label::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 2v6M17 2v6M3 10h18'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 2v6M17 2v6M3 10h18'/%3E%3C/svg%3E");
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field:nth-child(5) > label::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v17m0 0-4-4m4 4 4-4M16 21V4m0 0-4 4m4-4 4 4'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v17m0 0-4-4m4 4 4-4M16 21V4m0 0-4 4m4-4 4 4'/%3E%3C/svg%3E");
}
/* Reuse V14.24 premium native-select enhancement, with refined white/gold fields. */
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid .thrs-recruitment-select-trigger {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  min-width:0 !important;
  max-width:100% !important;
  width:100% !important;
  min-height:46px !important;
  height:46px !important;
  border:1px solid var(--rf27-border) !important;
  border-radius:13px !important;
  padding:9px 11px !important;
  background:linear-gradient(153deg,var(--rf27-panel),var(--rf27-field)) !important;
  box-shadow:var(--rf27-field-shadow) !important;
  color:var(--rf27-ink) !important;
  font-size:12px !important;
  font-weight:810 !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid .thrs-recruitment-select-trigger:hover,
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid .thrs-recruitment-select-trigger[aria-expanded="true"] {
  border-color:var(--rf27-gold) !important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--rf27-gold) 15%,transparent),var(--rf27-field-shadow) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid .thrs-recruitment-select-trigger .thrs-premium-select-trigger__value {
  color:var(--rf27-ink) !important;
  font-size:12px !important;
  font-weight:775 !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid .thrs-recruitment-select-trigger .thrs-premium-select-trigger__chevron {
  color:var(--rf27-gold-strong) !important;
}
/* Date range keeps two individual working V14.25 calendars, not fake text. */
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid .thrs-rec-v6-date-range {
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:7px !important;
  width:100% !important;
  min-width:0 !important;
  height:46px !important;
  margin:0 !important;
  padding:3px !important;
  border:1px solid var(--rf27-border) !important;
  border-radius:14px !important;
  background:linear-gradient(150deg,var(--rf27-panel),var(--rf27-field)) !important;
  box-shadow:var(--rf27-field-shadow) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > span {
  flex:0 0 auto !important;
  color:var(--rf27-sub) !important;
  font-size:0 !important;
  line-height:1 !important;
  font-weight:800 !important;
  opacity:.85;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > span::after {
  content:"—";
  font-size:13px !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > .thrs-rec-date-trigger {
  display:flex !important;
  flex:1 1 0 !important;
  width:calc(50% - 11px) !important;
  max-width:calc(50% - 11px) !important;
  min-width:0 !important;
  height:39px !important;
  min-height:39px !important;
  margin:0 !important;
  gap:5px !important;
  padding:5px 6px !important;
  border:1px solid var(--rf27-border) !important;
  border-radius:11px !important;
  background:linear-gradient(137deg,var(--rf27-panel),var(--rf27-field)) !important;
  box-shadow:0 2px 6px rgba(12,44,75,.045) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > .thrs-rec-date-trigger:hover,
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > .thrs-rec-date-trigger[aria-expanded="true"] {
  border-color:var(--rf27-gold) !important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--rf27-gold) 13%,transparent) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > .thrs-rec-date-trigger .thrs-rec-date-glyph {
  flex:0 0 18px !important;
  width:18px !important;height:18px !important;
  border-color:var(--rf27-gold-strong) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > .thrs-rec-date-trigger .thrs-rec-date-arrow {
  flex:0 0 0 !important;
  width:0 !important;height:0 !important;
  padding:0 !important;margin:0 !important;
  overflow:hidden !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > .thrs-rec-date-trigger .thrs-rec-date-value {
  flex:1 1 auto !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:11px !important;
  font-weight:750 !important;
  color:var(--rf27-ink) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid .thrs-rec-v6-filter-field > :is(select,input[type="date"]):focus-visible,
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid :is(.thrs-rec-date-trigger,.thrs-recruitment-select-trigger):focus-visible {
  outline:2px solid var(--rf27-gold) !important;
  outline-offset:3px !important;
}
/* Keep advanced filters and active chips usable without editing React. */
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card > div[style*="margin-top: 14px"] {
  width:100% !important;
  margin-top:0 !important;
  padding-top:17px !important;
  border-top:1px solid var(--rf27-hairline) !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card > div[style*="margin-top: 14px"] > div[style*="display: grid"] {
  grid-template-columns:repeat(auto-fit,minmax(156px,1fr)) !important;
  gap:12px !important;
  min-width:0 !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card input[type="text"]:not(.thrs-rec-v6-search-field input) {
  background:var(--rf27-field) !important;
  color:var(--rf27-ink) !important;
  border:1px solid var(--rf27-border) !important;
  border-radius:11px !important;
  min-width:0 !important;
}
html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card .thrs-recruitment-select-trigger:focus-visible {
  outline:2px solid var(--rf27-gold) !important;
  outline-offset:2px !important;
}
/* Tablet: same hierarchy; header action row may wrap, five fields become 3+2. */
@media(max-width:1180px) {
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:17px 14px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field-date {
    grid-column:span 2 !important;
  }
}
@media(max-width:900px) {
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card {
    padding:23px 22px !important;
    gap:20px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-head {
    gap:15px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-title {
    flex:1 1 100% !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-actions {
    justify-content:flex-start !important;
    width:100% !important;
  }
}
@media(max-width:710px) {
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px 10px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field-date {
    grid-column:span 2 !important;
  }
}
@media(max-width:510px) {
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card {
    padding:19px 14px 20px !important;
    gap:17px !important;
    border-radius:17px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-title {
    gap:14px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-icon {
    width:44px !important;height:44px !important;
    min-width:44px !important;flex-basis:44px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-title-main {
    font-size:20px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-title-sub {
    font-size:10px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-actions {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
    width:100% !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-actions > .thrs-rec-v6-filter-count {
    grid-column:span 2 !important;
    width:fit-content !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-actions > .thrs-rec-v6-filter-btn-ghost {
    grid-column:span 2 !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-actions > .thrs-rec-v6-filter-btn {
    min-width:0 !important;
    flex:1 1 auto !important;
    padding:9px 8px !important;
    white-space:normal !important;
    text-wrap:balance !important;
    font-size:11px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-search-field {
    min-height:47px !important;height:47px !important;
    padding:9px 13px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid {
    grid-template-columns:minmax(0,1fr) !important;
    gap:15px !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-grid > .thrs-rec-v6-filter-field-date {
    grid-column:auto !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-date-range > .thrs-rec-date-trigger {
    min-width:0 !important;
  }
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 .thrs-rec-v6-filter-card::after {
    width:85px;height:22px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html[data-theme] .thrs-page-recruitment.thrs-recruitment-ux-v5 :is(.thrs-rec-v6-filter-btn,.thrs-rec-v6-search-field,.thrs-recruitment-select-trigger,.thrs-rec-date-trigger) {
    transition:none !important;
    transform:none !important;
  }
}
