.tp-hiring-calculator{position:relative;box-sizing:border-box;padding:clamp(24px,2.5vw,38px) clamp(24px,3.6vw,64px) clamp(48px,5vw,76px);background:#fff;color:#10082f;font-family:Gilroy,Arial,sans-serif;scroll-margin-top:125px}
.tp-hiring-calculator *{box-sizing:border-box}
.tp-hiring-calculator [hidden]{display:none!important}
.hc-heading{margin-bottom:clamp(20px,2.4vw,34px)}
.hc-intro{min-width:0}
.hc-heading h2{margin:0;font-size:clamp(34px,4.2vw,60px);font-weight:700;line-height:1.08;letter-spacing:-.04em;text-wrap:balance}
.hc-heading h2 span{color:#653ed7}
.hc-heading-copy{max-width:45ch;margin:10px 0 0;color:#70647f;font-size:16px;line-height:1.55}
@media(min-width:901px){
  .hc-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.44fr);column-gap:24px;align-items:center}
  .hc-heading>.tp-recruitment-eyebrow{grid-column:1/-1}
  .hc-heading-copy{margin-top:0}
}
.hc-cost-overview{margin-bottom:16px}
.hc-cost-overview h3{margin:0 0 4px;font-size:18px;line-height:1.2}
.hc-cost-overview p{margin:0;color:#645574;font-size:14px;line-height:1.45}
.hc-intro>p{max-width:800px;margin:0;color:#70647f;font-size:16px;line-height:1.55}
.hc-scenario-switch{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer}
.hc-scenario-track{--hc-track-travel:18px;position:relative;flex:none;width:42px;height:24px;border:1px solid #9d7bdb;border-radius:999px;background:#e5d9f5;transition:background .2s}
.hc-scenario-track::after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #7049a9,0 1px 4px #28134a40;transition:transform .2s}
.hc-scenario-switch[aria-checked=true] .hc-scenario-track{background:#653ed7}
.hc-scenario-switch[aria-checked=true] .hc-scenario-track::after{transform:translateX(var(--hc-track-travel))}
.hc-scenario-control{margin-top:22px}
.hc-scenario-caption{display:flex;align-items:center;gap:8px;margin:0 0 8px;color:#5334b1;font-size:14px;font-weight:700}
.hc-scenario-cue{display:inline-block;font-size:20px;line-height:1}
.hc-scenario{
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(90%,340px);
  min-height:46px;
  padding:3px;
  border:1px solid #49356f;
  background:#190e37;
  color:#eee7fa;
  font:600 13px/1.2 Gilroy,Arial,sans-serif;
  text-align:center;
}
.hc-scenario-indicator{
  position:absolute;
  inset:3px auto 3px 3px;
  width:calc(50% - 3px);
  border:1px solid #e8e1f0;
  border-radius:999px;
  background:#fff;
  box-shadow:0 1px 3px #10082f40;
  transition:transform .28s cubic-bezier(.22,.8,.26,1);
}
.hc-scenario[aria-checked=true] .hc-scenario-indicator{transform:translateX(100%)}
.hc-scenario-label{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:3px 5px;text-wrap:balance}
.hc-scenario-label svg{width:14px;height:14px;flex:none}
@media(prefers-reduced-motion:no-preference){
  .hc-scenario-control:hover .hc-scenario-cue,.hc-scenario-control:focus-within .hc-scenario-cue{animation:hc-scenario-nudge .7s ease-in-out 2}
  @keyframes hc-scenario-nudge{0%,100%{transform:translateX(0)}25%{transform:translateX(4px)}75%{transform:translateX(-4px)}}
}
.hc-scenario:hover{border-color:#9d7bdb}
.hc-scenario[aria-checked=false] .hc-scenario-label--single,
.hc-scenario[aria-checked=true] .hc-scenario-label--replacement{color:#241344;font-weight:700}
@media(prefers-reduced-motion:reduce){
  .hc-scenario-track,.hc-scenario-track::after,.hc-scenario-indicator{transition:none}
}
.hc-intro>.hc-scenario-hint{margin:10px 0 0;font-size:12px;line-height:1.45}
.hc-layout,.hc-panels{display:grid;gap:clamp(18px,1.6vw,26px);align-items:start}
.hc-layout{grid-template-columns:minmax(0,.76fr) minmax(0,1.99fr)}
.hc-panels{
  grid-template-columns:minmax(0,1.05fr) minmax(0,.94fr);
  min-width:0;
  padding:clamp(8px,1vw,16px);
  border-radius:clamp(24px,2.2vw,34px);
  background:#f5f6fc;
}
.hc-input-panel{min-width:0;padding:clamp(17px,1.45vw,23px);border:1px solid #e2d9ed;border-radius:18px;background:#fff}
.hc-panel-heading{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.hc-panel-heading h3,.hc-output-heading h3{margin:0;font-size:21px;font-weight:700;line-height:1.2;letter-spacing:-.02em}
.hc-reset{flex:none;padding:5px 0;border:0;background:none;color:#653ed7;font:600 13px/1.4 Gilroy,Arial,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.hc-example-note{margin:0 0 16px;color:#84778f;font-size:13px;line-height:1.5}
.hc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.hc-field{display:block;min-width:0;margin:0}
.hc-field--wide{grid-column:1/-1}
.hc-field[for="hc-repeatAgencyCoordinatorHours"][hidden]+.hc-field{grid-column:1/-1}
.hc-field-label{display:block;margin:0 0 8px;color:#453453;font-size:14px;font-weight:600;line-height:1.35}
.hc-input-wrap{position:relative;display:block}
.hc-field input{display:block;width:100%;min-width:0;min-height:44px;padding:8px 48px 8px 11px;border:1px solid #dacee9;border-radius:10px;background:#fff;color:#10082f;font:600 17px/1.2 Gilroy,Arial,sans-serif;appearance:textfield;-moz-appearance:textfield;transition:border-color .2s,box-shadow .2s}
.hc-field input::-webkit-inner-spin-button,.hc-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.hc-input-unit{position:absolute;top:50%;right:10px;transform:translateY(-50%);color:#8a7a9b;font-size:12px;pointer-events:none}
.hc-field input:focus{outline:none;border-color:#7950dd;box-shadow:0 0 0 3px #653ed716}
.hc-field input[aria-invalid=true]{border-color:#b55b75;background:#fff8fa}
.hc-field small,.hc-cost-group-content>small{display:block;margin-top:7px;color:#84778f;font-size:12px;line-height:1.45}
.hc-fee-formula{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;margin:14px 0 17px;padding:10px 12px;border-radius:10px;background:#f7f3fc;color:#67517f;font-size:13px;line-height:1.5}
.hc-fee-formula strong{color:#653ed7;font-weight:700}
.hc-cost-group{margin-top:12px;border:1px solid #e5dced;border-radius:12px;background:#fff}
.hc-cost-group summary{position:relative;display:flex;min-height:52px;gap:10px;align-items:center;justify-content:space-between;padding:11px 42px 11px 13px;color:#39264e;font-size:14px;font-weight:600;line-height:1.35;list-style:none;cursor:pointer}
.hc-cost-group summary::-webkit-details-marker{display:none}
.hc-cost-group summary:after{
  content:'+';
  position:absolute;
  top:50%;
  right:10px;
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border:1px solid #bca6e1;
  border-radius:50%;
  transform:translateY(-50%);
  color:#653ed7;
  font-size:17px;
  font-weight:400;
  line-height:1;
}
.hc-cost-group[open] summary:after{content:'−'}
.hc-cost-group summary>span{flex:none;color:#8a76a3;font-size:12px;white-space:nowrap}
.hc-cost-group-content{padding:0 16px 19px}
.hc-cost-group-content>p{margin:0 0 17px;color:#84778f;font-size:12px;line-height:1.5}
.hc-cost-group .hc-field-label{font-size:13px}
.hc-cost-group .hc-field input{min-height:44px;font-size:17px}
.hc-cost-group--repeat{border-color:#c9b4eb;background:#fcfaff}
.hc-cost-group:where(:not(.hc-cost-group--repeat)){margin-top:8px}
.hc-cost-group:where(:not(.hc-cost-group--repeat)) summary{min-height:44px;padding-block:8px}
.hc-cost-group:where(:not(.hc-cost-group--repeat)) .hc-cost-group-content{padding:0 13px 11px}
.hc-cost-group:where(:not(.hc-cost-group--repeat)) .hc-cost-group-content>p{margin-bottom:8px}
.hc-cost-group:where(:not(.hc-cost-group--repeat)) .hc-fields{row-gap:8px}
.hc-cost-group:where(:not(.hc-cost-group--repeat)) .hc-field-label{margin-bottom:4px}
.hc-cost-group:where(:not(.hc-cost-group--repeat)) .hc-field small,.hc-cost-group-content>small{margin-top:4px}
.hc-fields--label-inline .hc-field{display:grid;grid-template-columns:minmax(0,1fr) 68px;align-items:center;gap:6px}
.hc-fields--label-inline .hc-field-label{margin:0;font-size:12px;text-wrap:balance}
.hc-fields--label-inline .hc-field input{padding-inline:7px 25px;font-size:16px}
.hc-fields--label-inline .hc-input-unit{right:6px;font-size:11px}
@media(min-width:701px){
  .hc-field--hint-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;align-items:center}
  .hc-field--hint-inline .hc-field-label{grid-column:1/-1}
  .hc-field--hint-inline small{margin-top:0;text-wrap:balance}
  .hc-fields--label-inline{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:10px}
  .hc-fields--label-inline:has(>.hc-field[hidden]){grid-template-columns:minmax(0,1fr)}
  .hc-fields--aligned{align-items:end}
  .hc-fields--three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hc-fields--three-columns input{padding-inline-end:32px}
}
.hc-output-panel{
  --hc-result-muted:#d3c5e3;
  --hc-result-accent:#dfc8ff;
  --hc-result-rule:#f3e7ff40;
  --hc-result-surface:#31214dcc;
  --hc-output-inset:clamp(17px,1.45vw,23px);
  --hc-output-block-inset:var(--hc-output-inset);
  --hc-output-radius:30px;
  position:sticky;
  top:125px;
  container-type:inline-size;
  min-width:0;
  padding:var(--hc-output-block-inset) var(--hc-output-inset);
  border:1px solid #6b508f;
  border-radius:var(--hc-output-radius);
  background:
    linear-gradient(180deg,#10082f91,#10082fbc 27%,#10082fe8 58%,#10082ff2 calc(100% - 80px),#10082f91),
    #10082f url('/services/hiring-cost-orange-light.jpg') 36% center / cover no-repeat;
  color:#f4edf9;
  box-shadow:0 16px 42px #10082f2b;
}
.hc-output-heading h3{color:#fff}
.hc-output-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:15px}
.hc-result-scenario{margin:0;margin-inline-start:auto;padding:5px 9px;border:1px solid #e5dced;border-radius:8px;background:#fff;color:#39264e;font-size:12px;font-weight:600;line-height:1.35;text-align:center}
.hc-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.hc-total{min-width:0;padding:13px 12px;border:1px solid var(--hc-result-rule);border-radius:14px;background:var(--hc-result-surface)}
.hc-total--agency{border-color:#d0b3ff75;background:#4e327ec2}
.hc-total-label{display:block;margin-bottom:8px;color:#fff;font-size:12px;line-height:1.4}
.hc-total strong{display:block;color:#fff;font-size:clamp(21px,1.9vw,30px);font-weight:700;line-height:1.1;letter-spacing:-.035em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.hc-total--agency strong{color:var(--hc-result-accent)}
.hc-difference{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:10px;background:var(--hc-result-surface);color:#f4edf9;font-size:14px;font-weight:600;line-height:1.45}
.hc-difference--agency{background:#4e327ec2;color:var(--hc-result-accent)}
@container (min-width:375px){
  .hc-totals{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.05fr);gap:8px}
  .hc-total{display:flex;flex-direction:column;justify-content:center;padding:10px 8px}
  .hc-total strong{font-size:clamp(20px,5cqi,26px)}
  .hc-difference{grid-column:auto;display:flex;align-items:center;padding:10px 8px;font-size:12px;line-height:1.35}
}
.hc-breakdown{width:100%;border-collapse:collapse;color:#fff;font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}
.hc-breakdown th,.hc-breakdown td{padding:5px 5px;border-bottom:1px solid var(--hc-result-rule);text-align:right;vertical-align:top}
.hc-breakdown thead th{font-size:11px;font-weight:600;white-space:nowrap}
.hc-breakdown th:first-child{padding-left:0;text-align:left}
.hc-breakdown tbody th{width:42%;font-weight:400}
.hc-breakdown td{font-weight:600;white-space:nowrap}
.hc-breakdown td:last-child{padding-right:0}
.hc-resource-split{display:grid;gap:8px;margin:14px 0 0;padding:10px 12px;border-radius:10px;background:var(--hc-result-surface)}
.hc-resource-split>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:baseline;color:#fff;font-size:11px;line-height:1.45}
.hc-resource-split b{min-width:85px;color:inherit;font-size:12px;font-weight:600;text-align:right;white-space:nowrap}
.hc-resource-split .hc-resource-total{margin-inline:-6px;padding:8px 6px;border-radius:7px;background:#4a2b78;color:#fff;font-weight:700}
.hc-resource-total b{font-weight:inherit}
.hc-guarantee{display:flex;gap:13px;align-items:flex-start;margin-top:16px;padding:14px 0 0;border-top:1px solid var(--hc-result-rule)}
.hc-guarantee svg{flex:none;width:25px;height:25px;color:var(--hc-result-accent)}
.hc-guarantee-content{flex:1;min-width:0}
.hc-guarantee-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hc-guarantee-header .hc-scenario-switch{flex:none}
.hc-guarantee h4{margin:0;color:#fff;font-size:15px;font-weight:700;line-height:1.3}
.hc-guarantee p{margin:0;color:var(--hc-result-muted);font-size:12px;line-height:1.5}
.hc-guarantee .hc-guarantee-copy--prompt{color:#c8a9fc;font-size:13px}
.hc-result-contact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:17px calc(-1 * var(--hc-output-inset)) calc(-1 * var(--hc-output-block-inset));
  padding:16px var(--hc-output-inset);
  border-top:1px solid #fff9;
  border-radius:22px 22px calc(var(--hc-output-radius) - 1px) calc(var(--hc-output-radius) - 1px);
  background:linear-gradient(155deg,#f3e6ff38,#ded0ff12 42%,#d1b9ff1f);
  box-shadow:inset 0 0 0 1px #eee1ff38,inset 0 3px 8px #fff1,0 -4px 18px #0a041f38;
  backdrop-filter:blur(9px) saturate(140%);
  color:#fff;
  text-decoration:none;
}
.hc-result-contact-copy{min-width:0;font-size:17px;line-height:1.2}
.hc-result-contact-disc{
  flex:none;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:#10082f;
}
.hc-result-contact-disc svg{display:block;width:22px;height:22px;transform:rotate(180deg)}
.hc-result-contact:hover{background-color:#f3e6ff15;color:#fff}
.hc-result-contact:focus-visible{outline:3px solid #b89aed;outline-offset:-5px}
@media(prefers-reduced-motion:no-preference){
  .hc-result-contact-disc{transition:transform .2s ease}
  .hc-result-contact:hover .hc-result-contact-disc{transform:translateX(3px)}
}
.hc-errors{margin:22px 0;padding:17px;border:1px solid #985775;border-radius:12px;background:#45213d;color:#ffdce6;font-size:14px;line-height:1.5}
.hc-method{margin-top:16px;color:#84778f;font-size:13px;line-height:1.5}
.hc-method summary{display:inline-flex;gap:9px;align-items:center;color:#67517f;font-weight:600;cursor:pointer;list-style:none}
.hc-method summary>span{text-decoration:underline;text-underline-offset:3px}
.hc-method summary::-webkit-details-marker{display:none}
.hc-method summary:before{content:'+';color:#7950dd;font-size:20px;line-height:1}
.hc-method details{margin-top:8px}
.hc-method > details[open] > summary:before{content:'−'}
.hc-method details[open] .hc-method-more,
.hc-method details:not([open]) .hc-method-less{display:none}
.hc-method h3{margin:0;color:#27143c;font-size:14px;line-height:1.35;font-weight:700}
.hc-method ul{max-width:68ch;margin:8px 0 0;padding:0;list-style:none;font-size:12px;line-height:1.35;text-align:justify}
.hc-method li+li{margin-top:5px}
.hc-method .hc-method-scenario{margin-inline-start:16px;list-style:disc outside;text-align:left}
.hc-method a{color:#7950dd;text-underline-offset:3px}
/* The full methodology is a clear, native accordion on phones. */
.hc-method > summary{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}
.hc-method > summary::-webkit-details-marker{display:none}
.hc-method > summary:before{order:2;display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #d7c6fb;border-radius:50%;content:'+';color:#7950dd;font-size:22px;line-height:1}
.hc-method[open] > summary:before{content:'−'}
.hc-method > summary h3{flex:1}
.hc-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tp-hiring-calculator button:focus-visible,.tp-hiring-calculator summary:focus-visible{outline:3px solid #b89aed;outline-offset:4px}
@media(max-width:1100px){
  .hc-layout{grid-template-columns:minmax(0,1fr);gap:20px}
  .hc-panels{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:20px}
  .hc-totals{gap:9px}
  .hc-resource-split>div{gap:8px}
  .hc-resource-split b{min-width:70px}
  .hc-breakdown{font-size:12px}
}
@media(max-width:900px){
  .hc-panels{grid-template-columns:minmax(0,1fr);gap:12px}
  .hc-output-panel{position:static}
}
@media(max-width:700px){.tp-hiring-calculator{padding:24px 20px 40px}.hc-input-panel{padding:18px 16px}.hc-output-panel{--hc-output-inset:16px;--hc-output-block-inset:18px}.hc-panel-heading h3{font-size:21px}.hc-reset{font-size:11px}.hc-fields{grid-template-columns:minmax(0,1fr)}.hc-field-label{font-size:14px}.hc-cost-group summary{font-size:13px;padding-left:13px;gap:10px}.hc-cost-group summary>span{font-size:11px}.hc-cost-group-content{padding-inline:13px}.hc-totals{gap:9px}.hc-total{padding:12px 10px}.hc-total-label{font-size:11px}.hc-total strong{font-size:25px}.hc-breakdown{font-size:11px}.hc-breakdown th,.hc-breakdown td{padding-inline:4px}.hc-breakdown thead th{font-size:10px}.hc-breakdown tbody th{width:38%}.hc-resource-split{padding:11px}.hc-resource-split>div{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;font-size:10px}.hc-resource-split b{min-width:62px;font-size:10px}.hc-difference{font-size:13px}.hc-method{font-size:12px}}
@media(max-width:767px){.hc-method > summary{padding:10px 0}.hc-method > summary h3{font-size:16px}}
