.notice-period-calculator-page {
  --npp-bg: #f6f8fb;
  --npp-surface: #ffffff;
  --npp-text: #0f172a;
  --npp-muted: #5b677a;
  --npp-line: #dfe6ef;
  --npp-blue: #2563eb;
  --npp-blue-dark: #1d4ed8;
  --npp-green: #059669;
  --npp-gold: #b45309;
  --npp-rose: #be123c;
  --npp-tint-blue: #f3f7ff;
  --npp-tint-sky: #f8fbff;
  --npp-tint-mint: #f2faf6;
  --npp-tint-neutral: #f3f6fa;
  --npp-tint-warm: #fffaf0;
  --npp-tint-blue-grey: #eef4fb;
  --npp-tint-border: #e1e9f3;
  --npp-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  background: var(--npp-bg);
  color: var(--npp-text);
}

.notice-period-calculator-page .npp-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.notice-period-calculator-page .npp-page-header {
  max-width: 800px;
  padding: clamp(24px, 4vw, 44px) 0 20px;
}

.notice-period-calculator-page .npp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 750;
}

.notice-period-calculator-page .npp-breadcrumbs a:hover {
  color: var(--npp-blue);
}

.notice-period-calculator-page .npp-eyebrow,
.notice-period-calculator-page .npp-section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 20px;
  padding: 6px 10px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: #eef5ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.notice-period-calculator-page .npp-page-header h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.notice-period-calculator-page .npp-lead {
  max-width: 680px;
  margin: 12px 0 0;
  color: #475569;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}

.notice-period-calculator-page .npp-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.notice-period-calculator-page .npp-card {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: var(--npp-surface);
  box-shadow: var(--npp-shadow);
}

.notice-period-calculator-page .npp-form {
  padding: clamp(20px, 2.8vw, 28px);
}

.notice-period-calculator-page .npp-form-inner {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.notice-period-calculator-page .npp-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--npp-line);
}

.notice-period-calculator-page .npp-card-heading h2,
.notice-period-calculator-page .npp-section-heading h2,
.notice-period-calculator-page .npp-copy-card h2,
.notice-period-calculator-page .npp-guidance h2 {
  margin: 0;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.2;
  font-weight: 900;
}

.notice-period-calculator-page .npp-card-heading > p {
  max-width: 220px;
  margin: 0;
  color: var(--npp-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: right;
}

.notice-period-calculator-page .npp-field,
.notice-period-calculator-page .npp-fieldset {
  min-width: 0;
  margin: 0;
}

.notice-period-calculator-page .npp-fieldset {
  padding: 0;
  border: 0;
}

.notice-period-calculator-page .npp-field label,
.notice-period-calculator-page .npp-fieldset legend,
.notice-period-calculator-page .npp-working-options h3,
.notice-period-calculator-page .npp-advanced h3 {
  display: block;
  margin: 0 0 7px;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.notice-period-calculator-page .npp-field input,
.notice-period-calculator-page .npp-field select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #cfd8e5;
  border-radius: 8px;
  background: #ffffff;
  color: var(--npp-text);
  font-size: 0.98rem;
}

.notice-period-calculator-page .npp-field input:hover,
.notice-period-calculator-page .npp-field select:hover {
  border-color: #aebdce;
}

.notice-period-calculator-page .npp-field input:focus-visible,
.notice-period-calculator-page .npp-field select:focus-visible,
.notice-period-calculator-page .npp-preset:focus-visible,
.notice-period-calculator-page .npp-choice:has(input:focus-visible),
.notice-period-calculator-page .npp-weekdays label:has(input:focus-visible),
.notice-period-calculator-page .npp-button:focus-visible,
.notice-period-calculator-page .npp-advanced summary:focus-visible,
.notice-period-calculator-page .npp-faq-item summary:focus-visible,
.notice-period-calculator-page .npp-toggle:has(input:focus-visible),
.notice-period-calculator-page .npp-related-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
}

.notice-period-calculator-page .npp-help {
  margin: 5px 0 0;
  color: var(--npp-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.notice-period-calculator-page .npp-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.notice-period-calculator-page .npp-preset {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--npp-line);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.notice-period-calculator-page .npp-preset:hover,
.notice-period-calculator-page .npp-preset.is-active {
  border-color: rgba(37, 99, 235, 0.45);
  background: #eef5ff;
  color: #1d4ed8;
}

.notice-period-calculator-page .npp-inline-fields {
  display: grid;
  grid-template-columns: minmax(130px, 0.72fr) minmax(190px, 1.28fr);
  gap: 12px;
}

.notice-period-calculator-page .npp-field-wide {
  min-width: 0;
}

.notice-period-calculator-page .npp-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.notice-period-calculator-page .npp-choice-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notice-period-calculator-page .npp-choice {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--npp-line);
  border-radius: 8px;
  background: #fbfdff;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.notice-period-calculator-page .npp-choice:hover {
  border-color: #aebdce;
  background: #f8fbff;
}

.notice-period-calculator-page .npp-choice:has(input:checked) {
  border-color: rgba(37, 99, 235, 0.42);
  background: #f4f8ff;
}

.notice-period-calculator-page .npp-choice input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--npp-blue);
}

.notice-period-calculator-page .npp-choice span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.notice-period-calculator-page .npp-choice strong {
  color: #1e293b;
  font-size: 0.88rem;
  line-height: 1.3;
}

.notice-period-calculator-page .npp-choice small,
.notice-period-calculator-page .npp-toggle small {
  color: var(--npp-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.notice-period-calculator-page .npp-choice-small {
  min-height: 46px;
  align-items: center;
  padding: 8px 10px;
}

.notice-period-calculator-page .npp-working-options {
  padding: 14px 16px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background: #f8fbff;
}

.notice-period-calculator-page .npp-weekdays {
  margin-top: 12px;
}

.notice-period-calculator-page .npp-weekdays > p {
  margin: 0 0 7px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

.notice-period-calculator-page .npp-weekday-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.notice-period-calculator-page .npp-weekday-grid label {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 4px;
  padding: 6px 2px;
  border: 1px solid var(--npp-line);
  border-radius: 8px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
}

.notice-period-calculator-page .npp-weekday-grid label:has(input:checked) {
  border-color: rgba(37, 99, 235, 0.45);
  background: #eef5ff;
  color: #1d4ed8;
}

.notice-period-calculator-page .npp-weekday-grid input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--npp-blue);
}

.notice-period-calculator-page .npp-weekday-grid span {
  font-size: 0.7rem;
  font-weight: 800;
}

.notice-period-calculator-page .npp-advanced {
  border: 1px solid var(--npp-line);
  border-radius: 8px;
  background: #fbfcfe;
}

.notice-period-calculator-page .npp-advanced summary {
  position: relative;
  padding: 11px 36px 11px 14px;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.notice-period-calculator-page .npp-advanced summary::-webkit-details-marker {
  display: none;
}

.notice-period-calculator-page .npp-advanced summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--npp-blue);
  font-size: 1.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.notice-period-calculator-page .npp-advanced[open] summary::after {
  content: "−";
}

.notice-period-calculator-page .npp-advanced-body {
  display: grid;
  gap: 16px;
  padding: 0 14px 14px;
  border-top: 1px solid var(--npp-line);
}

.notice-period-calculator-page .npp-advanced-body > section {
  padding-top: 14px;
}

.notice-period-calculator-page .npp-buyout {
  border-top: 1px solid var(--npp-line);
}

.notice-period-calculator-page .npp-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.notice-period-calculator-page .npp-toggle input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--npp-blue);
}

.notice-period-calculator-page .npp-toggle span {
  display: grid;
  gap: 2px;
}

.notice-period-calculator-page .npp-toggle strong {
  color: #1e293b;
  font-size: 0.9rem;
}

.notice-period-calculator-page .npp-buyout-fields {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f5f8fc;
}

.notice-period-calculator-page .npp-form-message {
  padding: 10px 12px;
  border: 1px solid rgba(190, 18, 60, 0.2);
  border-radius: 8px;
  background: #fff1f2;
  color: #9f1239;
  font-size: 0.84rem;
  font-weight: 750;
}

.notice-period-calculator-page .npp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.notice-period-calculator-page .npp-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 210ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 210ms ease, background-color 210ms ease, border-color 210ms ease;
}

.notice-period-calculator-page .npp-button-primary {
  background: var(--npp-blue);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}

.notice-period-calculator-page .npp-button-primary:hover {
  background: var(--npp-blue-dark);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
  transform: translateY(-1.5px) scale(1.015);
}

.notice-period-calculator-page .npp-button-primary:active {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16);
  transform: translateY(0) scale(0.975);
}

.notice-period-calculator-page .npp-button-secondary {
  border: 1px solid var(--npp-line);
  background: #ffffff;
  color: #334155;
}

.notice-period-calculator-page .npp-button-secondary:hover {
  background: #f8fafc;
  border-color: #cfd8e5;
}

.notice-period-calculator-page .npp-results {
  position: static;
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  overflow: hidden;
  padding: 26px 20px;
  text-align: center;
}

.notice-period-calculator-page .npp-results-heading {
  display: grid;
  place-items: center;
}

.notice-period-calculator-page .npp-results.npp-results-has-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  justify-items: center;
  min-height: 0;
  padding: clamp(20px, 3vw, 28px);
  text-align: left;
}

.notice-period-calculator-page .npp-results.npp-results-has-value > .npp-results-heading,
.notice-period-calculator-page .npp-results.npp-results-has-value > .npp-results-live {
  width: 100%;
  max-width: 980px;
}

.notice-period-calculator-page .npp-results.npp-results-has-value .npp-results-heading {
  display: grid;
  justify-items: start;
  text-align: left;
}

.notice-period-calculator-page .npp-calendar-icon {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(37, 99, 235, 0.17);
  border-radius: 12px;
  background: #eef5ff;
  color: var(--npp-blue);
  font-size: 1.2rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.notice-period-calculator-page .npp-calendar-icon::before {
  content: "";
  position: absolute;
  width: 38px;
  height: 4px;
  margin-top: -38px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.35);
}

.notice-period-calculator-page .npp-results-heading h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  font-weight: 900;
}

.notice-period-calculator-page .npp-results-prompt {
  max-width: 300px;
  margin: 8px 0 0;
  color: var(--npp-muted);
  line-height: 1.6;
}

.notice-period-calculator-page .npp-results-content {
  padding: 0;
}

.notice-period-calculator-page .npp-primary-result {
  margin: 6px 0 0;
  color: var(--npp-blue-dark);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.notice-period-calculator-page .npp-results.npp-result-updated .npp-results-heading > h2,
.notice-period-calculator-page .npp-results.npp-result-updated .npp-primary-result {
  animation: npp-result-update 260ms ease-out both;
}

.notice-period-calculator-page .npp-results.npp-result-updated .npp-primary-result {
  animation-delay: 25ms;
}

@keyframes npp-result-update {
  from {
    opacity: 0.6;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notice-period-calculator-page .npp-result-note {
  margin: 8px 0 0;
  color: var(--npp-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.notice-period-calculator-page .npp-timeline {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(40px, 110px) minmax(120px, 1fr) minmax(40px, 110px) minmax(120px, 1fr);
  align-items: start;
  width: min(100%, 860px);
  margin: 20px auto 22px;
}

.notice-period-calculator-page .npp-timeline > div:not(.npp-timeline-line) {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.notice-period-calculator-page .npp-timeline > div > span {
  width: 12px;
  height: 12px;
  margin-bottom: 6px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--npp-blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.notice-period-calculator-page .npp-timeline strong {
  font-size: 0.74rem;
  line-height: 1.3;
}

.notice-period-calculator-page .npp-timeline small {
  margin-top: 2px;
  color: var(--npp-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.notice-period-calculator-page .npp-timeline-line {
  height: 2px;
  margin-top: 5px;
  background: #cddbf0;
}

.notice-period-calculator-page .npp-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.notice-period-calculator-page .npp-result-grid > div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e7ecf2;
  border-radius: 8px;
  background: #f8fafc;
}

.notice-period-calculator-page .npp-result-grid dt {
  margin: 0 0 3px;
  color: var(--npp-muted);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.3;
}

.notice-period-calculator-page .npp-result-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #1e293b;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.3;
}

.notice-period-calculator-page .npp-buyout-results {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--npp-line);
}

.notice-period-calculator-page .npp-buyout-results h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 900;
}

.notice-period-calculator-page .npp-buyout-total {
  grid-column: span 2;
  border-color: rgba(5, 150, 105, 0.2) !important;
  background: #ecfdf5 !important;
}

.notice-period-calculator-page .npp-buyout-total dd {
  color: #047857;
  font-size: 1.05rem;
}

.notice-period-calculator-page .npp-disclaimer {
  margin: 16px 0 0;
  padding: 11px 14px;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  background: #f8fafc;
  color: #526174;
  font-size: 0.8rem;
  line-height: 1.55;
}

.notice-period-calculator-page .npp-disclaimer strong {
  margin-right: 4px;
}

.notice-period-calculator-page .npp-content-section,
.notice-period-calculator-page .npp-content-grid,
.notice-period-calculator-page .npp-guidance {
  margin-top: clamp(32px, 4.5vw, 44px);
}

.notice-period-calculator-page :is(
  section[aria-labelledby="how-it-works"],
  section[aria-labelledby="notice-period-infographic-title"],
  section[aria-labelledby="examples-title"],
  section[aria-labelledby="faq-title"],
  section[aria-labelledby="related-title"]
) {
  padding: clamp(18px, 2.7vw, 28px);
  border: 1px solid var(--npp-section-border, var(--npp-tint-border));
  border-radius: 10px;
  background: var(--npp-section-bg, var(--npp-tint-neutral));
}

.notice-period-calculator-page section[aria-labelledby="how-it-works"] {
  --npp-section-bg: var(--npp-tint-blue);
  --npp-section-border: #dfe9f8;
}

.notice-period-calculator-page section[aria-labelledby="notice-period-infographic-title"] {
  --npp-section-bg: var(--npp-tint-sky);
  --npp-section-border: #e6edf6;
}

.notice-period-calculator-page .npp-content-grid .npp-copy-card:first-child {
  border-color: #dfe9f8;
  background: var(--npp-tint-blue);
}

.notice-period-calculator-page .npp-content-grid .npp-copy-card:nth-child(2) {
  border-color: #dceee5;
  background: var(--npp-tint-mint);
}

.notice-period-calculator-page section[aria-labelledby="examples-title"] {
  --npp-section-bg: var(--npp-tint-neutral);
}

.notice-period-calculator-page section[aria-labelledby="examples-title"] .npp-card,
.notice-period-calculator-page section[aria-labelledby="faq-title"] .npp-faq-item {
  background: #ffffff;
}

.notice-period-calculator-page section[aria-labelledby="faq-title"] {
  --npp-section-bg: #f6f8fb;
}

.notice-period-calculator-page section[aria-labelledby="related-title"] {
  --npp-section-bg: var(--npp-tint-blue-grey);
  --npp-section-border: #dbe6f2;
}

.notice-period-calculator-page .npp-section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.notice-period-calculator-page .npp-section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--npp-muted);
  line-height: 1.6;
}

.notice-period-calculator-page .npp-infographic {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--npp-line);
  border-radius: 8px;
}

.notice-period-calculator-page .npp-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: none;
  list-style: none;
}

.notice-period-calculator-page .npp-step-grid li {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.notice-period-calculator-page .npp-step-grid span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 11px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--npp-blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.notice-period-calculator-page .npp-step-grid strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
}

.notice-period-calculator-page .npp-step-grid p {
  margin: 6px 0 0;
  color: var(--npp-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.notice-period-calculator-page .npp-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.notice-period-calculator-page .npp-copy-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(20px, 2.8vw, 28px);
}

.notice-period-calculator-page .npp-copy-card p,
.notice-period-calculator-page .npp-guidance p {
  color: #475569;
  line-height: 1.65;
  font-size: 0.92rem;
}

.notice-period-calculator-page .npp-copy-card p {
  margin: 0;
}

.notice-period-calculator-page .npp-copy-card p:first-of-type,
.notice-period-calculator-page .npp-copy-card p + p,
.notice-period-calculator-page .npp-copy-card ul + p {
  margin-top: 14px;
}

.notice-period-calculator-page .npp-copy-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.notice-period-calculator-page .npp-copy-card li {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}

.notice-period-calculator-page .npp-copy-card li + li {
  margin-top: 8px;
}

.notice-period-calculator-page .npp-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notice-period-calculator-page .npp-example-grid article {
  padding: clamp(16px, 2vw, 20px);
}

.notice-period-calculator-page .npp-example-grid article > span,
.notice-period-calculator-page .npp-related-card > span:first-child {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--npp-blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.notice-period-calculator-page .npp-example-grid h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 900;
}

.notice-period-calculator-page .npp-example-grid p {
  margin: 0;
  color: var(--npp-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.notice-period-calculator-page .npp-example-grid p strong {
  color: #1e293b;
}

.notice-period-calculator-page .npp-guidance {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
  padding: clamp(20px, 3vw, 28px);
  border-color: #f0e5cc;
  background: var(--npp-tint-warm);
}

.notice-period-calculator-page .npp-guidance p {
  margin: 0;
}

.notice-period-calculator-page .npp-guidance p + p {
  margin-top: 14px;
}

.notice-period-calculator-page p.npp-eyebrow,
.notice-period-calculator-page p.npp-section-kicker {
  margin-bottom: 20px;
}

.notice-period-calculator-page .npp-guidance-tip {
  margin-top: 14px;
  padding: 10px 14px;
  border-left: 3px solid var(--npp-blue);
  border-radius: 0 6px 6px 0;
  background: #f4f8ff;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.55;
}

.notice-period-calculator-page .npp-guidance-tip strong {
  color: var(--npp-blue-dark);
}

.notice-period-calculator-page .npp-faq-list {
  display: grid;
  gap: 8px;
}

.notice-period-calculator-page .npp-faq-item {
  border: 1px solid var(--npp-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.notice-period-calculator-page .npp-faq-item summary {
  position: relative;
  padding: 15px 44px 15px 16px;
  color: #1e293b;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.notice-period-calculator-page .npp-faq-item summary::-webkit-details-marker {
  display: none;
}

.notice-period-calculator-page .npp-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--npp-blue);
  font-size: 1.2rem;
  transform: translateY(-50%);
}

.notice-period-calculator-page .npp-faq-item[open] summary::after {
  content: "−";
}

.notice-period-calculator-page .npp-faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--npp-muted);
  line-height: 1.65;
}

.notice-period-calculator-page .npp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.notice-period-calculator-page .npp-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 164px;
  padding: 20px 18px 17px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: linear-gradient(160deg, #ffffff 68%, #f8fafc 100%);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.055);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease, background 200ms ease;
}

.notice-period-calculator-page .npp-related-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--npp-blue);
  pointer-events: none;
}

.notice-period-calculator-page .npp-related-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(160deg, #ffffff 52%, #f4f8ff 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.notice-period-calculator-page .npp-related-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.notice-period-calculator-page .npp-related-card > span:first-child {
  margin-bottom: 0;
  color: #64748b;
  letter-spacing: 0.06em;
}

.notice-period-calculator-page .npp-related-card strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.notice-period-calculator-page .npp-related-card em {
  flex: 1;
  margin-top: 0;
  color: #475569;
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.55;
}

.notice-period-calculator-page .npp-related-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: auto;
  padding-top: 2px;
  color: var(--npp-blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.3;
}

.notice-period-calculator-page .npp-related-card-cta span {
  display: inline-block;
  transition: transform 200ms ease;
}

.notice-period-calculator-page .npp-related-card:hover .npp-related-card-cta span,
.notice-period-calculator-page .npp-related-card:focus-visible .npp-related-card-cta span {
  transform: translateX(3px);
}

.notice-period-calculator-page [hidden] {
  display: none !important;
}

@media (max-width: 940px) {
  .notice-period-calculator-page .npp-workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .notice-period-calculator-page .npp-results {
    position: static;
  }

  .notice-period-calculator-page .npp-results:not(.npp-results-has-value) {
    min-height: 250px;
  }

  .notice-period-calculator-page .npp-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notice-period-calculator-page .npp-step-grid,
  .notice-period-calculator-page .npp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .notice-period-calculator-page .npp-shell {
    width: min(100% - 28px, 1120px);
    padding-bottom: 40px;
  }

  .notice-period-calculator-page .npp-page-header {
    padding-top: 22px;
  }

  .notice-period-calculator-page .npp-card-heading {
    display: block;
  }

  .notice-period-calculator-page .npp-card-heading > p {
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }

  .notice-period-calculator-page .npp-choice-grid-3,
  .notice-period-calculator-page .npp-content-grid,
  .notice-period-calculator-page .npp-example-grid,
  .notice-period-calculator-page .npp-guidance {
    grid-template-columns: 1fr;
  }

  .notice-period-calculator-page .npp-guidance {
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .notice-period-calculator-page .npp-choice-grid,
  .notice-period-calculator-page .npp-inline-fields,
  .notice-period-calculator-page .npp-result-grid,
  .notice-period-calculator-page .npp-step-grid,
  .notice-period-calculator-page .npp-related-grid {
    grid-template-columns: 1fr;
  }

  .notice-period-calculator-page .npp-choice {
    min-height: 52px;
  }

  .notice-period-calculator-page .npp-weekday-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .notice-period-calculator-page .npp-buyout-total {
    grid-column: auto;
  }

  .notice-period-calculator-page .npp-timeline {
    grid-template-columns: 24px max-content;
    column-gap: 8px;
    row-gap: 4px;
    width: max-content;
    max-width: 100%;
  }

  .notice-period-calculator-page .npp-timeline-line {
    grid-column: 1;
    justify-self: center;
    width: 2px;
    height: 16px;
    margin: 0;
  }

  .notice-period-calculator-page .npp-timeline > div:not(.npp-timeline-line) {
    grid-column: 1 / -1;
    grid-template-columns: 24px max-content;
    justify-content: stretch;
    justify-items: start;
    column-gap: 8px;
    text-align: left;
  }

  .notice-period-calculator-page .npp-timeline > div > span {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: center;
    margin: 3px 0 0;
  }

  .notice-period-calculator-page .npp-timeline strong,
  .notice-period-calculator-page .npp-timeline small {
    grid-column: 2;
  }

  .notice-period-calculator-page .npp-timeline small {
    margin: 0;
  }

  .notice-period-calculator-page .npp-actions {
    display: grid;
  }

  .notice-period-calculator-page .npp-step-grid {
    grid-auto-rows: auto;
  }

  .notice-period-calculator-page .npp-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .notice-period-calculator-page .npp-shell {
    width: min(100% - 18px, 1120px);
  }

  .notice-period-calculator-page :is(
    section[aria-labelledby="how-it-works"],
    section[aria-labelledby="notice-period-infographic-title"],
    section[aria-labelledby="examples-title"],
    section[aria-labelledby="faq-title"],
    section[aria-labelledby="related-title"]
  ) {
    padding: 14px;
  }

  .notice-period-calculator-page .npp-page-header h1 {
    font-size: 2.1rem;
  }

  .notice-period-calculator-page .npp-form,
  .notice-period-calculator-page .npp-results.npp-results-has-value,
  .notice-period-calculator-page .npp-copy-card,
  .notice-period-calculator-page .npp-guidance {
    padding: 15px;
  }

  .notice-period-calculator-page .npp-weekday-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-period-calculator-page .npp-related-card,
  .notice-period-calculator-page .npp-related-card-cta span,
  .notice-period-calculator-page .npp-button {
    transition: none;
  }

  .notice-period-calculator-page .npp-button-primary:hover,
  .notice-period-calculator-page .npp-button-primary:active,
  .notice-period-calculator-page .npp-related-card:hover {
    transform: none;
  }

  .notice-period-calculator-page .npp-related-card:hover .npp-related-card-cta span,
  .notice-period-calculator-page .npp-related-card:focus-visible .npp-related-card-cta span {
    transform: none;
  }

  .notice-period-calculator-page .npp-results.npp-result-updated .npp-results-heading > h2,
  .notice-period-calculator-page .npp-results.npp-result-updated .npp-primary-result {
    animation: none;
  }
}
