/* THRS V14.25 — Recruitment Signature Date Pickers.
   Four actual date fields (Applied From, Applied To, Follow-up, Start date).
   CSS scoped to the Recruitment route or its date picker portal. */
html[data-theme="light"] :is(.thrs-page-recruitment,.thrs-rec-date-popup) {
 --rd25-surface:#fff;--rd25-lift:#f6f9fd;--rd25-soft:#edf3f9;
 --rd25-ink:#152f49;--rd25-muted:#647a8f;--rd25-line:#cedce9;
 --rd25-gold:#a57435;--rd25-gold-light:#ead1a6;
 --rd25-shadow:0 23px 58px rgba(8,34,60,.19),0 6px 15px rgba(8,34,60,.055);
 --rd25-ring:0 0 0 3px rgba(186,134,64,.19);
 color-scheme:light;
}
html[data-theme="dark"] :is(.thrs-page-recruitment,.thrs-rec-date-popup) {
 --rd25-surface:#152f49;--rd25-lift:#1b3b56;--rd25-soft:#274a67;
 --rd25-ink:#f2f7ff;--rd25-muted:#c2d4e5;--rd25-line:#54748e;
 --rd25-gold:#f0cb92;--rd25-gold-light:#f7dcaf;
 --rd25-shadow:0 26px 66px rgba(0,7,22,.57),inset 0 1px 0 rgba(255,255,255,.07);
 --rd25-ring:0 0 0 3px rgba(238,194,124,.24);
 color-scheme:dark;
}
html[data-theme] .thrs-page-recruitment input.thrs-rec-date-native{
 position:absolute !important;
 left:auto !important;right:auto !important;
 width:1px !important;min-width:1px !important;max-width:1px !important;
 height:1px !important;min-height:1px !important;max-height:1px !important;
 padding:0 !important;margin:0 !important;border:0 !important;
 opacity:0 !important;clip-path:inset(50%) !important;
 overflow:hidden !important;pointer-events:none !important;
 box-shadow:none !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-trigger {
 display:flex !important;align-items:center !important;
 gap:10px !important;
 flex:1 1 auto !important;
 min-width:0 !important;
 min-height:44px !important;
 width:100% !important;
 padding:9px 11px !important;
 border:1px solid var(--rd25-line) !important;
 border-radius:12px !important;
 background:linear-gradient(145deg,var(--rd25-surface),var(--rd25-lift)) !important;
 color:var(--rd25-ink) !important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 3px 11px rgba(8,32,60,.05) !important;
 cursor:pointer !important;
 font:inherit !important;
 font-size:12px !important;font-weight:760 !important;
 line-height:1.5 !important;
 text-align:start !important;
 transition:border-color .16s,box-shadow .16s,background .16s !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-trigger:hover{
 border-color:var(--rd25-gold) !important;
 background:var(--rd25-lift) !important;
 box-shadow:0 5px 14px rgba(10,44,74,.10) !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-trigger:is(:focus-visible,[aria-expanded="true"]){
 border-color:var(--rd25-gold) !important;
 outline:none !important;
 box-shadow:var(--rd25-ring) !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-trigger:disabled{
 opacity:.5 !important;cursor:not-allowed !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-value {
 flex:1 1 auto !important;min-width:0 !important;
 white-space:nowrap !important;
 overflow:hidden !important;text-overflow:ellipsis !important;
 color:var(--rd25-ink) !important;
 font-weight:790 !important;
 text-align:start !important;
 font-variant-numeric:tabular-nums !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-trigger[data-empty="true"] .thrs-rec-date-value{
 color:var(--rd25-muted) !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-glyph{
 position:relative;
 display:block !important;
 flex:0 0 23px !important;
 width:23px !important;height:23px !important;
 border:1.7px solid var(--rd25-gold) !important;
 border-radius:6px !important;
 background:color-mix(in srgb,var(--rd25-gold) 7%,var(--rd25-lift)) !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-glyph::before{
 content:"" !important;position:absolute;
 left:-1px;right:-1px;top:5px;height:1.5px;
 background:var(--rd25-gold) !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-glyph::after{
 content:"" !important;position:absolute;
 width:4px;height:4px;border-radius:1px;
 left:7px;top:11px;background:var(--rd25-gold) !important;
 box-shadow:6px 0 0 color-mix(in srgb,var(--rd25-gold) 65%,transparent);
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-arrow{
 flex:0 0 21px !important;
 display:grid !important;place-items:center !important;
 width:21px !important;height:23px !important;
 border-radius:7px !important;
 background:color-mix(in srgb,var(--rd25-gold) 10%,var(--rd25-lift)) !important;
 color:var(--rd25-gold) !important;
 font-size:21px !important;line-height:1 !important;
 transition:transform .16s !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-date-trigger[aria-expanded="true"] .thrs-rec-date-arrow{
 transform:rotate(180deg) !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-date-range{
 min-width:0 !important;
 gap:6px !important;
 display:flex !important;align-items:center !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-date-range > .thrs-rec-date-trigger{
 min-height:46px !important;
 flex:1 1 0 !important;
 width:calc(50% - 12px) !important;
 padding:8px 7px !important;
 gap:6px !important;
 font-size:11px !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-date-range > .thrs-rec-date-trigger .thrs-rec-date-glyph{
 flex:0 0 19px !important;
 width:19px !important;height:19px !important;
 border-radius:5px !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-date-range > .thrs-rec-date-trigger .thrs-rec-date-glyph::after{
 left:5px !important;top:9px !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-date-range > .thrs-rec-date-trigger .thrs-rec-date-arrow{
 flex:0 0 17px !important;width:17px !important;
 font-size:19px !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v6-date-range > .thrs-rec-date-trigger .thrs-rec-date-value{
 font-size:11px !important;
}
html[data-theme] .thrs-page-recruitment .thrs-rec-v8-drawer .thrs-rec-date-trigger{
 min-height:43px !important;
}
/* Date popover is portaled to body above Recruitment candidate drawer and
   above any existing select menu; it is never clipped by overflow:hidden. */
html[data-theme] .thrs-rec-date-popup {
 position:fixed !important;
 z-index:9200 !important;
 display:flex !important;
 flex-direction:column !important;
 gap:0 !important;
 padding:10px !important;
 overflow:hidden !important;
 width:356px !important;
 max-width:calc(100vw - 24px) !important;
 max-height:min(555px,calc(100dvh - 24px)) !important;
 background:linear-gradient(155deg,var(--rd25-surface),var(--rd25-lift)) !important;
 color:var(--rd25-ink) !important;
 border:1px solid color-mix(in srgb,var(--rd25-gold) 40%,var(--rd25-line)) !important;
 border-radius:20px !important;
 box-shadow:var(--rd25-shadow) !important;
 isolation:isolate;
 font-family:inherit !important;
 animation:thrs-rec-date-enter .18s cubic-bezier(.2,.72,.25,1) both;
}
@keyframes thrs-rec-date-enter {
 from{opacity:0;transform:translateY(-5px) scale(.987)}
 to{opacity:1;transform:translateY(0) scale(1)}
}
html[data-theme] .thrs-rec-date-head{
 display:flex !important;align-items:center !important;
 justify-content:space-between !important;
 gap:11px !important;
 padding:9px 11px 11px !important;
 border-bottom:1px solid var(--rd25-line) !important;
}
html[data-theme] .thrs-rec-date-headline{
 display:flex !important;flex-direction:column !important;
 min-width:0 !important;gap:3px !important;
}
html[data-theme] .thrs-rec-date-headline strong{
 color:var(--rd25-ink) !important;
 font-size:13px !important;font-weight:910 !important;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html[data-theme] .thrs-rec-date-headline small{
 color:var(--rd25-muted) !important;
 font-size:10px !important;font-weight:700 !important;
}
html[data-theme] .thrs-rec-date-close{
 flex:0 0 29px !important;
 width:29px !important;height:29px !important;
 border:1px solid var(--rd25-line) !important;
 border-radius:9px !important;
 display:grid !important;place-items:center !important;
 padding:0 !important;
 color:var(--rd25-muted) !important;
 background:var(--rd25-lift) !important;
 font-size:22px !important;line-height:1 !important;
 cursor:pointer !important;
}
html[data-theme] .thrs-rec-date-nav{
 display:flex !important;align-items:center !important;
 justify-content:space-between !important;
 gap:9px !important;
 padding:13px 5px 11px !important;
}
html[data-theme] .thrs-rec-date-month-arrow{
 flex:0 0 34px !important;
 display:grid !important;place-items:center !important;
 width:34px !important;height:36px !important;
 border:1px solid var(--rd25-line) !important;
 border-radius:10px !important;
 color:var(--rd25-ink) !important;
 background:var(--rd25-surface) !important;
 font:inherit !important;font-size:26px !important;font-weight:700 !important;
 cursor:pointer !important;
}
html[data-theme] .thrs-rec-date-month-arrow:hover{
 border-color:var(--rd25-gold) !important;
 background:var(--rd25-soft) !important;
}
html[data-theme] .thrs-rec-date-month-controls{
 display:flex !important;align-items:center !important;
 gap:6px !important;
 min-width:0 !important;
}
html[data-theme] .thrs-rec-date-month-select,
html[data-theme] .thrs-rec-date-year-input{
 min-width:0 !important;
 height:36px !important;
 padding:6px 8px !important;
 border:1px solid var(--rd25-line) !important;
 border-radius:10px !important;
 background:var(--rd25-surface) !important;
 color:var(--rd25-ink) !important;
 -webkit-text-fill-color:var(--rd25-ink) !important;
 font:inherit !important;
 font-size:12px !important;
 font-weight:850 !important;
 text-align:center !important;
 color-scheme:inherit !important;
}
html[data-theme] .thrs-rec-date-month-select{width:130px !important;max-width:45vw !important}
html[data-theme] .thrs-rec-date-year-input{width:73px !important}
html[data-theme] .thrs-rec-date-weekdays{
 display:grid !important;
 grid-template-columns:repeat(7,minmax(0,1fr)) !important;
 gap:4px !important;
 padding:9px 0 !important;
 background:linear-gradient(136deg,#163e5a,#0b293f) !important;
 border:1px solid rgba(214,172,109,.33) !important;
 border-radius:10px !important;
 color:#f2f7ff !important;
}
html[data-theme] .thrs-rec-date-weekdays span{
 display:block !important;
 font-size:10px !important;font-weight:840 !important;
 text-align:center !important;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html[data-theme] .thrs-rec-date-grid{
 display:grid !important;
 grid-template-columns:repeat(7,minmax(0,1fr)) !important;
 gap:5px !important;
 padding:12px 2px !important;
}
html[data-theme] .thrs-rec-date-day{
 display:grid !important;place-items:center !important;
 min-width:0 !important;
 width:100% !important;
 height:39px !important;
 padding:0 !important;
 border:1px solid transparent !important;
 border-radius:10px !important;
 background:transparent !important;
 color:var(--rd25-ink) !important;
 font:inherit !important;
 font-size:12px !important;font-weight:790 !important;
 font-variant-numeric:tabular-nums !important;
 cursor:pointer !important;
 transition:background .14s,border-color .14s,box-shadow .14s !important;
}
html[data-theme] .thrs-rec-date-day.is-outside{
 color:var(--rd25-muted) !important;
 opacity:.47 !important;
}
html[data-theme] .thrs-rec-date-day.is-today{
 border:1px solid var(--rd25-gold) !important;
 color:var(--rd25-ink) !important;
 box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rd25-gold) 19%,transparent) !important;
}
html[data-theme] .thrs-rec-date-day:hover,
html[data-theme] .thrs-rec-date-day:focus-visible{
 background:var(--rd25-soft) !important;
 border-color:var(--rd25-line) !important;
 opacity:1 !important;
}
html[data-theme] .thrs-rec-date-day.is-selected{
 background:linear-gradient(135deg,#f6dbac,#d8a860) !important;
 border:1px solid #bd8948 !important;
 box-shadow:0 4px 12px rgba(140,96,37,.15) !important;
 color:#142e43 !important;
 font-weight:930 !important;
 opacity:1 !important;
}
html[data-theme] .thrs-rec-date-footer{
 display:flex !important;
 align-items:center !important;justify-content:space-between !important;
 gap:12px !important;
 border-top:1px solid var(--rd25-line) !important;
 padding:12px 6px 5px !important;
}
html[data-theme] .thrs-rec-date-footer button{
 display:flex !important;align-items:center !important;
 justify-content:center !important;
 min-height:37px !important;
 padding:7px 14px !important;
 border-radius:10px !important;
 font:inherit !important;font-size:11px !important;font-weight:850 !important;
 cursor:pointer !important;
}
html[data-theme] .thrs-rec-date-clear{
 background:var(--rd25-lift) !important;
 color:var(--rd25-muted) !important;
 border:1px solid var(--rd25-line) !important;
}
html[data-theme] .thrs-rec-date-today{
 background:linear-gradient(135deg,#1a4969,#092940) !important;
 border:1px solid #b98a4c !important;
 color:#fff !important;
 box-shadow:0 5px 13px rgba(4,33,60,.16) !important;
}
html[data-theme] .thrs-rec-date-popup :is(button,select,input):focus-visible{
 outline:2px solid var(--rd25-gold) !important;
 outline-offset:2px !important;
}
html[data-theme] .thrs-rec-date-backdrop{
 position:fixed !important;inset:0 !important;
 z-index:9190 !important;
 background:rgba(2,15,30,.62) !important;
 backdrop-filter:blur(3px) !important;
 -webkit-backdrop-filter:blur(3px) !important;
}
@media(max-width:620px){
 html[data-theme] .thrs-rec-date-popup{
  width:calc(100vw - 24px) !important;
  max-width:440px !important;
  left:12px !important;right:12px !important;
  top:auto !important;
  bottom:max(12px,env(safe-area-inset-bottom)) !important;
  max-height:min(76dvh,540px) !important;
  padding:10px !important;
  border-radius:21px !important;
 }
 html[data-theme] .thrs-rec-date-day{
  height:39px !important;
 }
 html[data-theme] .thrs-page-recruitment .thrs-rec-v6-date-range > .thrs-rec-date-trigger{
  min-height:46px !important;
 }
}
@media(max-width:355px) {
 html[data-theme] .thrs-rec-date-grid{gap:2px !important}
 html[data-theme] .thrs-rec-date-day{height:36px !important}
 html[data-theme] .thrs-rec-date-month-select{width:109px !important}
 html[data-theme] .thrs-rec-date-year-input{width:66px !important}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme] .thrs-rec-date-popup,
 html[data-theme] :is(.thrs-rec-date-day,.thrs-rec-date-trigger,.thrs-rec-date-arrow){
  transition:none !important;animation:none !important;
 }
}
