/* Payday homepage-aligned calculator page refresh */
:root {
  color-scheme: light;
  font-family: "DM Sans", sans-serif;
  color: #14251e;
  background: #f5f7f3;
  font-synthesis: none;
}
html { min-height: 100%; scroll-behavior: smooth; background: #f5f7f3; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 85% 7%, rgba(211, 242, 116, .14), transparent 25rem), #f5f7f3;
  color: #14251e;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select { font: inherit; }
a { color: inherit; }
.tool-shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.tool-header { height: 84px; border-color: rgba(226, 232, 224, .9); }
.tool-header-note { display: inline-flex; align-items: center; gap: 9px; color: #4d5b54; font-size: 13px; margin-left: auto; }
.tool-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #14251e;
  font: 800 20px Manrope, sans-serif;
  letter-spacing: -1px;
  text-decoration: none;
}
.tool-brand::before {
  content: "p";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #176b4b;
  color: #fff;
  font-size: 20px;
}
.tool-brand b { color: #73a546; }
.tool-home { display: none; font-size: 13px; font-weight: 700; text-decoration: none; }
.tool-home:hover, .tool-country-links a:hover { color: #10563b; }
.tool-hero { max-width: 760px; padding: 42px 0 30px; }
.tool-eyebrow { color: #176b4b; font-size: 10px; font-weight: 800; letter-spacing: 1.55px; }
.tool-hero h1 {
  margin: 14px 0 10px;
  color: #14251e;
  font: 700 clamp(40px, 6.2vw, 60px)/1.06 Manrope, sans-serif;
  letter-spacing: -2px;
}
.tool-hero p { max-width: 560px; margin: 17px 0 0; color: #4d5b54; font-size: 16px; line-height: 1.65; }
.tool-layout { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 22px; }
.tool-panel {
  padding: 30px 32px 25px;
  border: 1px solid #e4eae2;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 52px rgba(32, 54, 42, .07);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.tool-panel:hover { border-color: #d8e0d6; box-shadow: 0 22px 60px rgba(32, 54, 42, .11); }
.tool-panel h2 { margin: 0 0 22px; color: #14251e; font: 700 22px/1.25 Manrope, sans-serif; letter-spacing: -.6px; }
.tool-form { gap: 17px 15px; scroll-margin-top: 20px; }
.tool-form label { gap: 8px; color: #26372f; font-size: 12px; font-weight: 700; }
.tool-form input, .tool-form select {
  height: 46px;
  padding: 0 12px;
  border: 1px solid #dfe5dd;
  border-radius: 9px;
  background: #fff;
  color: #14251e;
  font: 600 14px "DM Sans", sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tool-form input:focus, .tool-form select:focus {
  outline: none;
  border-color: #69a180;
  box-shadow: 0 0 0 3px rgba(23, 107, 75, .1);
}
.tool-form input[readonly] { background: #f7f9f6; color: #536259; }
.tool-form button {
  min-height: 45px;
  border-radius: 9px;
  background: #176b4b;
  font-size: 12px;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.tool-form button:hover { background: #10563b; box-shadow: 0 5px 14px rgba(16, 86, 59, .19); }
.tool-form button:active { transform: translateY(1px); }
.tool-status { color: #78837d; font-size: 11px; line-height: 1.5; }
.tool-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #76a94c; box-shadow: 0 0 0 4px rgba(118, 169, 76, .12); }
.tool-results { gap: 0; }
.tool-result-row { padding: 15px 0; border-color: #e4eae2; color: #4d5b54; font-size: 13px; line-height: 1.5; }
.tool-result-row strong { color: #14251e; font-size: 14px; }
.tool-result-row:first-of-type { margin: 0 -16px 5px; padding: 18px 16px; border: 0; border-radius: 12px; background: #173e30; color: #d4e4d6; }
.tool-result-row:first-of-type strong { color: #fff; }
.tool-faq { margin: 52px 0 48px; padding: 0; color: #4d5b54; }
.tool-faq h2, .tool-country-links > strong { color: #14251e; font: 700 23px Manrope, sans-serif; letter-spacing: -.5px; }
.tool-faq p { max-width: 760px; font-size: 14px; line-height: 1.8; }
.tool-country-links { padding: 22px 0; border-color: #e4eae2; color: #78837d; font-size: 11px; line-height: 2; }
.tool-country-links > strong { display: inline-block; margin-bottom: 8px; font-size: 13px; letter-spacing: 0; }
.tool-country-links a { color: #176b4b; font-weight: 700; }
.tool-attribution { color: #78837d; font-size: 10px; }
.tool-footer { padding: 18px 0; border-color: #e4eae2; color: #78837d; font-size: 10px; }
.tool-form [aria-invalid="true"] { border-color: #b83e3e !important; outline: 3px solid #b83e3e22; }
.tool-error { color: #a33131; font-size: 12px; line-height: 1.5; }
.tool-skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  border-radius: 8px;
  background: #176b4b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .15s ease;
}
.tool-skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #82aa78; outline-offset: 3px; }
@media (max-width: 900px) {
  .tool-shell { width: calc(100% - 40px); }
  .tool-panel { padding: 25px 22px 20px; }
}
@media (max-width: 700px) {
  .tool-shell { width: calc(100% - 32px); }
  .tool-header { height: 68px; }
  .tool-hero { padding: 30px 0 25px; }
  .tool-hero h1 { font-size: clamp(38px, 9vw, 54px); }
  .tool-hero p { font-size: 14px; }
  .tool-layout { grid-template-columns: 1fr; gap: 16px; }
  .tool-panel { padding: 24px; }
  .tool-faq { margin: 40px 0; }
}
@media (max-width: 430px) {
  .tool-shell { width: calc(100% - 24px); }
  .tool-brand { font-size: 18px; }
  .tool-brand::before { width: 27px; height: 27px; font-size: 18px; }
  .tool-home { font-size: 11px; }
  .tool-panel { padding: 21px 17px; }
  .tool-form { gap: 14px; }
  .tool-result-row { gap: 8px; font-size: 12px; }
  .tool-result-row strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.related-calculators {
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(0, 2fr);
  gap: 24px;
  align-items: center;
  margin: 50px 0 36px;
  padding: 25px 0;
  border-top: 1px solid #e4eae2;
  border-bottom: 1px solid #e4eae2;
}
.related-calculators-heading h2 {
  margin: 8px 0 0;
  color: #14251e;
  font: 700 22px/1.25 Manrope, sans-serif;
  letter-spacing: -.6px;
}
.related-calculators-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.related-calculator-card {
  position: relative;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 32px 15px 15px;
  border: 1px solid #e4eae2;
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.related-calculator-card:hover {
  transform: translateY(-2px);
  border-color: #cbdac8;
  box-shadow: 0 10px 25px rgba(32, 54, 42, .07);
}
.related-calculator-card strong { color: #176b4b; font: 700 12px/1.4 Manrope, sans-serif; }
.related-calculator-card > span:not(.related-calculator-arrow) { color: #78837d; font-size: 10px; line-height: 1.5; }
.related-calculator-arrow { position: absolute; top: 13px; right: 13px; color: #79a950; font-size: 17px; }
@media (max-width: 900px) {
  .related-calculators { grid-template-columns: 1fr; gap: 16px; }
  .related-calculators-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .related-calculators { margin: 36px 0 28px; }
  .related-calculators-grid { grid-template-columns: 1fr; }
  .related-calculator-card { min-height: 0; }
}
