:root {
  --scf-ink: #122b27;
  --scf-muted: #52645f;
  --scf-green: #0d6b56;
  --scf-green-dark: #084c3e;
  --scf-mint: #e7f5ef;
  --scf-cream: #f7f4ec;
  --scf-line: #d9e2de;
  --scf-white: #fff;
  --scf-radius: 18px;
  --scf-shadow: 0 16px 44px rgba(18, 43, 39, .08);
}

body.scf-managed-page .entry-header { display: none; }
body.scf-managed-page .site.grid-container { width: 100%; max-width: none; }
body.scf-managed-page .site-content { display: block; width: 100%; max-width: none; padding: 0; }
body.scf-managed-page #primary { float: none; width: 100%; }
body.scf-managed-page #right-sidebar,
body.scf-managed-page #left-sidebar { display: none; }
body.scf-managed-page.separate-containers .site-main { margin: 0; }
body.scf-managed-page .inside-article { margin: 0; padding: 0; }
.scf-managed-page .entry-content { margin-top: 0; color: var(--scf-ink); }
.scf-managed-page .entry-content > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.scf-managed-page .entry-content p { line-height: 1.72; }
.scf-managed-page .entry-content h1,
.scf-managed-page .entry-content h2,
.scf-managed-page .entry-content h3 { color: var(--scf-ink); letter-spacing: -.025em; }
.scf-managed-page .entry-content h2 { margin-top: 2.3em; }
.scf-managed-page .entry-content a { color: var(--scf-green); text-decoration-thickness: .08em; text-underline-offset: .16em; }

.scf-hero {
  position: relative;
  max-width: none !important;
  overflow: hidden;
  padding: clamp(70px, 10vw, 132px) max(24px, calc((100vw - 1120px) / 2));
  color: var(--scf-white);
  background:
    radial-gradient(circle at 82% 18%, rgba(125, 214, 174, .24), transparent 25%),
    linear-gradient(135deg, #0b3e35 0%, #0d6b56 62%, #177b64 100%);
}
.scf-hero::after { content: ""; position: absolute; right: -80px; bottom: -170px; width: 410px; height: 410px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.04), 0 0 0 84px rgba(255,255,255,.03); }
.scf-hero > * { position: relative; z-index: 1; max-width: 850px; }
.scf-hero h1 { max-width: 920px; margin: 16px 0 22px; color: var(--scf-white) !important; font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; }
.scf-hero__lead { max-width: 760px; margin: 0; font-size: clamp(18px, 2.2vw, 23px); color: rgba(255,255,255,.9); }
.scf-hero__note { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.76); }
.scf-eyebrow, .scf-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.scf-eyebrow { color: #bcebd8; }
.scf-kicker { margin-bottom: 8px; color: var(--scf-green); }
.scf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.scf-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 21px; border: 2px solid var(--scf-green); border-radius: 10px; color: var(--scf-white) !important; background: var(--scf-green); font-weight: 750; line-height: 1.2; text-decoration: none !important; transition: transform .15s ease, background .15s ease; }
.scf-button:hover, .scf-button:focus-visible { background: var(--scf-green-dark); border-color: var(--scf-green-dark); transform: translateY(-1px); }
.scf-button--secondary { border-color: rgba(255,255,255,.7); background: transparent; }
.scf-button--secondary:hover, .scf-button--secondary:focus-visible { border-color: var(--scf-white); background: rgba(255,255,255,.1); }
.scf-button--light { color: var(--scf-green) !important; background: var(--scf-white); }
.scf-button--light:hover, .scf-button--light:focus-visible { color: var(--scf-white) !important; }
.scf-section { padding: clamp(58px, 8vw, 96px) 0; }
.scf-section + .scf-section { border-top: 1px solid var(--scf-line); }
.scf-section--center { text-align: center; }
.scf-section--center h2 { margin: 8px 0 16px !important; }
.scf-section--center .scf-narrow { margin-left: auto; margin-right: auto; }
.scf-section__intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 80px); align-items: end; margin-bottom: 38px; }
.scf-section__intro h2 { margin: 4px 0 0 !important; font-size: clamp(30px, 4vw, 48px); }
.scf-section__intro > p { margin: 0; color: var(--scf-muted); font-size: 18px; }
.scf-grid { display: grid; gap: 22px; }
.scf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scf-card { padding: clamp(24px, 3vw, 34px); border: 1px solid var(--scf-line); border-radius: var(--scf-radius); background: var(--scf-white); box-shadow: 0 1px 0 rgba(18,43,39,.03); }
.scf-card:hover { box-shadow: var(--scf-shadow); }
.scf-card h2, .scf-card h3 { margin: 12px 0 10px !important; }
.scf-card p:last-child { margin-bottom: 0; }
.scf-card__number { color: var(--scf-green); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.scf-card--featured { border-color: #9bcab8; background: linear-gradient(145deg, #fff 0%, var(--scf-mint) 100%); }
.scf-panel { padding-left: clamp(25px, 5vw, 64px); padding-right: clamp(25px, 5vw, 64px); border: 0 !important; border-radius: 24px; background: var(--scf-cream); }
.scf-panel h2 { margin: 5px 0 14px !important; }
.scf-status { display: inline-flex; gap: 10px; align-items: center; margin-top: 12px; padding: 10px 14px; border: 1px solid #b8daca; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 14px; }
.scf-status__dot { width: 9px; height: 9px; border-radius: 50%; background: #d48a12; box-shadow: 0 0 0 4px rgba(212,138,18,.14); }
.scf-callout { padding: clamp(26px, 4vw, 42px); border-left: 5px solid var(--scf-green); border-radius: 0 var(--scf-radius) var(--scf-radius) 0; background: var(--scf-mint); }
.scf-callout h2, .scf-callout h3 { margin-top: 0 !important; }
.scf-steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: scf-step; }
.scf-steps li { position: relative; min-height: 50px; margin: 0 0 20px; padding-left: 64px; counter-increment: scf-step; }
.scf-steps li::before { content: counter(scf-step); position: absolute; top: 0; left: 0; display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50%; color: var(--scf-green); background: var(--scf-mint); font-weight: 800; }
.scf-steps strong, .scf-steps span { display: block; }
.scf-steps span { margin-top: 2px; color: var(--scf-muted); }
.scf-narrow { max-width: 690px !important; color: var(--scf-muted); font-size: 18px; }
.scf-text-link { font-weight: 750; }
.scf-page-intro { max-width: none !important; margin-bottom: 48px; padding: clamp(54px, 8vw, 90px) max(24px, calc((100vw - 1120px) / 2)); background: var(--scf-cream); }
.scf-page-intro > * { max-width: 840px; }
.scf-page-intro h1 { margin: 8px 0 14px; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.scf-page-intro p { margin: 0; color: var(--scf-muted); font-size: 19px; }
.scf-notice { margin-top: 30px !important; margin-bottom: 38px !important; padding: 22px 25px; border: 1px solid #ead5a8; border-radius: 14px; background: #fff9ea; }
.scf-notice p { margin: 5px 0 0; }
.scf-notice--success { border-color: #abd5c3; background: #ecf8f2; }
.scf-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; color: #07503f; background: #d5f2e4; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.scf-badge--muted { color: #53645f; background: #edf1ef; }
.scf-checklist { padding-left: 0; list-style: none; }
.scf-checklist li { position: relative; margin-bottom: 12px; padding-left: 30px; }
.scf-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--scf-green); font-weight: 900; }
.scf-table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--scf-line); border-radius: 14px; }
.scf-table { width: 100%; margin: 0; border-collapse: collapse; }
.scf-table th, .scf-table td { padding: 15px 17px; border: 0; border-bottom: 1px solid var(--scf-line); text-align: left; vertical-align: top; }
.scf-table th { background: var(--scf-mint); }
.scf-table tr:last-child td { border-bottom: 0; }
.scf-contact-form { margin: 34px 0; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--scf-line); border-radius: var(--scf-radius); background: var(--scf-white); box-shadow: var(--scf-shadow); }
.scf-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.scf-contact-form p { margin: 0 0 20px; }
.scf-contact-form label { display: block; margin-bottom: 7px; color: var(--scf-ink); font-weight: 750; }
.scf-contact-form input, .scf-contact-form select, .scf-contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #aab9b4; border-radius: 8px; color: var(--scf-ink); background: var(--scf-white); font: inherit; }
.scf-contact-form input:focus, .scf-contact-form select:focus, .scf-contact-form textarea:focus { border-color: var(--scf-green); outline: 3px solid rgba(13,107,86,.15); }
.scf-contact-form small { display: block; margin-top: 6px; color: var(--scf-muted); }
.scf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.scf-form-message { margin: 24px 0; padding: 14px 17px; border-radius: 10px; font-weight: 700; }
.scf-form-message--success { color: #07503f; background: #dff6eb; }
.scf-form-message--error { color: #8b2d1d; background: #fff0ed; }
.scf-page-intro--calculator { margin-bottom: 0; }
.scf-page-intro--guide { margin-bottom: 0; }
.scf-source-date { margin-top: 20px; color: var(--scf-muted); font-size: 14px; }
.scf-guide-toc { max-width: 900px; margin: clamp(34px, 5vw, 58px) auto 0; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--scf-line); border-radius: var(--scf-radius); background: var(--scf-cream); }
.scf-guide-toc h2 { margin: 4px 0 18px !important; }
.scf-guide-toc ol { columns: 2; gap: 42px; margin: 0; padding-left: 23px; }
.scf-guide-toc li { margin: 0 0 9px; break-inside: avoid; }
.scf-guide-toc a { font-weight: 700; }
.scf-article-section[id] { scroll-margin-top: 30px; }
.scf-calculator { max-width: 1120px; margin: 42px auto 12px; border: 1px solid #b8d2c8; border-radius: 24px; background: var(--scf-white); box-shadow: var(--scf-shadow); overflow: hidden; }
.scf-calculator__header { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; padding: clamp(25px, 5vw, 46px); color: var(--scf-white); background: linear-gradient(135deg, var(--scf-green-dark), var(--scf-green)); }
.scf-calculator__header h2 { margin: 5px 0 0 !important; color: var(--scf-white) !important; font-size: clamp(28px, 4vw, 42px); }
.scf-calculator__header .scf-kicker { color: #bcebd8; }
.scf-privacy-chip { flex: 0 0 auto; padding: 8px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.09); font-size: 12px; font-weight: 700; }
.scf-privacy-chip span { margin-right: 5px; color: #8ee0bc; }
.scf-ttd-form { padding: clamp(25px, 5vw, 48px); }
.scf-form-section { margin: 0 0 30px; padding: 0; border: 0; }
.scf-form-section > label, .scf-form-section > legend { display: block; margin: 0 0 9px; color: var(--scf-ink); font-size: 16px; font-weight: 800; }
.scf-form-section > small { display: block; margin-top: 8px; color: var(--scf-muted); }
.scf-form-section input[type="date"], .scf-form-section input[type="number"] { border: 1px solid #9eafa9; border-radius: 9px; color: var(--scf-ink); background: var(--scf-white); font: inherit; }
.scf-form-section input[type="date"] { width: min(100%, 300px); padding: 12px 13px; }
.scf-form-section input:focus { border-color: var(--scf-green); outline: 3px solid rgba(13,107,86,.15); }
.scf-mode-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scf-mode-picker legend { grid-column: 1 / -1; }
.scf-mode-picker label { display: flex; gap: 10px; align-items: center; margin: 0; padding: 15px 16px; border: 1px solid var(--scf-line); border-radius: 10px; cursor: pointer; }
.scf-mode-picker input { accent-color: var(--scf-green); }
.scf-mode-picker--4 label { align-items: flex-start; }
.scf-money-input { display: flex; width: min(100%, 350px); align-items: center; border: 1px solid #9eafa9; border-radius: 9px; background: #f8faf9; overflow: hidden; }
.scf-money-input:focus-within { border-color: var(--scf-green); outline: 3px solid rgba(13,107,86,.15); }
.scf-money-input > span { padding: 0 0 0 13px; color: var(--scf-muted); font-weight: 800; }
.scf-money-input input { width: 100%; min-width: 0; padding: 12px 13px 12px 7px; border: 0 !important; outline: 0 !important; background: transparent !important; }
.scf-percent-input { display: flex; width: min(100%, 220px); align-items: center; border: 1px solid #9eafa9; border-radius: 9px; background: #f8faf9; overflow: hidden; }
.scf-percent-input:focus-within { border-color: var(--scf-green); outline: 3px solid rgba(13,107,86,.15); }
.scf-percent-input input { width: 100%; min-width: 0; padding: 12px 7px 12px 13px; border: 0 !important; outline: 0 !important; background: transparent !important; }
.scf-percent-input > span { padding: 0 13px 0 0; color: var(--scf-muted); font-weight: 800; }
.scf-field-intro { margin: 0 0 15px; color: var(--scf-muted); }
.scf-wage-grid, .scf-date-grid { display: grid; gap: 18px; }
.scf-wage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scf-date-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scf-wage-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scf-date-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scf-wage-grid > label { color: var(--scf-ink); font-weight: 700; }
.scf-wage-grid .scf-money-input { width: 100%; margin-top: 7px; }
.scf-date-grid > label { color: var(--scf-ink); font-weight: 700; }
.scf-form-section .scf-date-grid input[type="date"] { width: 100%; }
.scf-number-input { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; }
.scf-job-group { margin: 0 0 22px; padding: 20px; border: 1px solid var(--scf-line); border-radius: 12px; background: #f8faf9; }
.scf-job-group > strong { display: block; margin-bottom: 14px; color: var(--scf-ink); }
.scf-wide-field { display: block; margin-bottom: 18px; color: var(--scf-ink); font-weight: 700; }
.scf-wide-field .scf-money-input { margin-top: 7px; }
.scf-notice--inline { margin: 0 0 24px !important; }
.scf-calculator-actions { display: flex; gap: 14px; align-items: center; }
.scf-reset { padding: 10px 5px; border: 0; color: var(--scf-green); background: transparent; font: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.scf-calculator-error { margin: 0 0 20px; padding: 13px 15px; border-radius: 9px; color: #8b2d1d; background: #fff0ed; font-weight: 700; }
.scf-result { margin: 0 clamp(25px, 5vw, 48px) clamp(25px, 5vw, 48px); border: 1px solid #9bcab8; border-radius: 18px; background: #f1faf6; overflow: hidden; }
.scf-result:focus { outline: 3px solid rgba(13,107,86,.2); outline-offset: 3px; }
.scf-result__headline { padding: 28px clamp(23px, 4vw, 38px); color: var(--scf-white); background: var(--scf-green-dark); }
.scf-result__headline > span { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scf-result__headline > strong { display: block; margin: 5px 0; font-size: clamp(40px, 7vw, 68px); line-height: 1; }
.scf-result__headline p { margin: 10px 0 0; color: rgba(255,255,255,.82); }
.scf-result__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scf-result__grid > div { padding: 22px clamp(20px, 3vw, 30px); border-right: 1px solid #cde3d9; border-bottom: 1px solid #cde3d9; }
.scf-result__grid > div:nth-child(2n) { border-right: 0; }
.scf-result__grid span, .scf-result__grid strong { display: block; }
.scf-result__grid span { color: var(--scf-muted); font-size: 13px; }
.scf-result__grid strong { margin-top: 4px; color: var(--scf-ink); font-size: 20px; }
.scf-result__notice { padding: 18px 24px; color: var(--scf-muted); font-size: 13px; }
.scf-article-section { max-width: 900px !important; padding-top: clamp(34px, 3.5vw, 48px); padding-bottom: clamp(34px, 3.5vw, 48px); }
.scf-article-section > h2:first-child, .scf-article-section > .scf-grid h2:first-child { margin-top: 0 !important; }
.scf-article-section .scf-grid { max-width: none; }
.scf-formula { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0; padding: 20px; border: 1px solid #b8daca; border-radius: 14px; background: var(--scf-mint); font-weight: 800; }
.scf-formula span { padding: 7px 10px; }
.scf-faq { border-top: 1px solid var(--scf-line); }
.scf-faq details { border-bottom: 1px solid var(--scf-line); }
.scf-faq summary { padding: 18px 2px; color: var(--scf-ink); font-weight: 800; cursor: pointer; }
.scf-faq details p { margin: 0 0 20px; }
.scf-sources { padding-bottom: 100px; }
.scf-sources li { margin-bottom: 11px; }
.scf-small { color: var(--scf-muted); font-size: 13px; }
.scf-footer { display: grid; gap: 12px; justify-items: center; max-width: 1120px; margin: 0 auto; padding: 8px 20px; text-align: center; }
.scf-footer__brand, .scf-footer__note { margin: 0; }
.scf-footer__brand { font-weight: 800; }
.scf-footer__nav { display: flex; flex-wrap: wrap; gap: 7px 11px; justify-content: center; }
.scf-footer__nav a { color: inherit; }
.scf-footer__note { max-width: 760px; font-size: 12px; opacity: .78; }
.scf-footer-wrap { padding: 28px 0; color: #e6f2ee; background: var(--scf-ink); }

@media (max-width: 760px) {
  .scf-section__intro, .scf-grid--2, .scf-grid--3, .scf-form-grid, .scf-mode-picker, .scf-wage-grid, .scf-date-grid, .scf-result__grid { grid-template-columns: 1fr; }
  .scf-section__intro { align-items: start; }
  .scf-hero { padding-top: 72px; padding-bottom: 78px; }
  .scf-hero h1 { font-size: clamp(38px, 12vw, 58px); }
  .scf-actions { align-items: stretch; flex-direction: column; }
  .scf-actions .scf-button { width: 100%; }
  .scf-calculator { margin-top: 24px; border-radius: 16px; }
  .scf-calculator__header { flex-direction: column; }
  .scf-privacy-chip { white-space: normal; }
  .scf-calculator-actions { align-items: stretch; flex-direction: column; }
  .scf-calculator-actions .scf-button { width: 100%; }
  .scf-result__grid > div { border-right: 0; }
  .scf-formula { align-items: flex-start; flex-direction: column; }
  .scf-guide-toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scf-button { transition: none; }
}
