:root {
  color: #17211f;
  background: #f7faf8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #0f766e;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 34px;
  color: #586964;
  font-size: 0.95rem;
}

.brand {
  color: #0b2522;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.side-card,
.content-card {
  border: 1px solid #cfe1dc;
  border-radius: 8px;
  background: #ffffff;
}

.hero-copy {
  padding: 30px;
  border-left: 4px solid #0f766e;
}

.eyebrow {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: #101827;
  line-height: 1.18;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 6vw, 4.25rem);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

p {
  margin: 0 0 14px;
}

.lede {
  color: #4f615d;
  font-size: 1.12rem;
}

.task-promise {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid #0f766e;
  border-radius: 6px;
  background: #f0faf7;
  color: #243a35;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #0f766e;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: #ffffff;
  color: #0f766e;
}

.side-card {
  padding: 24px;
  background: #fff9e9;
}

.side-card ul,
.content-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.side-card li,
.content-card li {
  margin: 7px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 28px;
}

.content-card {
  padding: 22px;
}

.wide {
  grid-column: 1 / -1;
}

.tool-handoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -8px 0 28px;
  background: #f0faf7;
}

.tool-handoff h2 {
  margin-bottom: 8px;
}

.tool-handoff p:last-child {
  margin-bottom: 0;
}

.handoff-detail {
  color: #4f615d;
  font-size: 0.96rem;
}

.tool-handoff .button {
  flex: 0 0 auto;
}

.quick-answer {
  margin: -8px 0 28px;
  padding: 22px;
  border: 1px solid #a9d8cf;
  border-left: 4px solid #0f766e;
  border-radius: 8px;
  background: linear-gradient(180deg, #f0faf7 0%, #ffffff 100%);
}

.quick-answer h2 {
  margin-bottom: 8px;
}

.quick-answer p:last-child {
  margin-bottom: 0;
  color: #243a35;
  font-size: 1.04rem;
  font-weight: 650;
}

.profession-directory,
.profession-search-coverage {
  margin-bottom: 28px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.directory-group {
  min-width: 0;
  padding: 18px;
  border: 1px solid #cfe1dc;
  border-radius: 8px;
  background: #f7faf8;
}

.directory-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.directory-links a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-proof {
  margin: -8px 0 28px;
  overflow: hidden;
  border: 1px solid #cfe1dc;
  border-radius: 8px;
  background: #ffffff;
}

.product-proof a {
  display: block;
  background: #edf6f3;
}

.product-proof img {
  display: block;
  width: 100%;
  height: auto;
}

.product-proof figcaption {
  padding: 12px 16px;
  color: #40524d;
  font-size: 0.92rem;
}

.free-tool-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
}

.compliance-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
  margin: -10px 0 28px;
  background: #f8fbff;
  border-color: #c8daf6;
}

.compliance-hub .eyebrow {
  color: #1d4ed8;
}

.official-guidance {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
  margin: -10px 0 28px;
  background: #fbfbf8;
}

.evidence-notes {
  margin: -10px 0 28px;
  background: #ffffff;
  border-color: #d8e4dd;
}

.conversion-signals {
  margin: -10px 0 28px;
  background: #fffef6;
  border-color: #efd890;
}

.conversion-signals ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.conversion-signals li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #eadb9b;
  border-radius: 8px;
  background: #ffffff;
  color: #243a35;
  font-weight: 750;
}

.format-comparison {
  margin: -10px 0 28px;
  background: #f8fbfa;
  border-color: #cfe1dc;
}

.table-scroll {
  overflow-x: auto;
}

.format-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
}

.format-table th,
.format-table td {
  border: 1px solid #d7e5e1;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.format-table thead th {
  background: #eaf6f3;
  color: #0f3f39;
  font-size: 0.92rem;
}

.format-table tbody th {
  width: 26%;
  color: #101827;
}

.ranking-comparison {
  margin: -10px 0 28px;
  background: #f8fbfa;
  border-color: #bad8d1;
}

.ranking-criteria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 18px 0 10px;
}

.ranking-checked {
  margin: 0 0 18px;
  color: #53635f;
  font-size: 0.92rem;
  font-weight: 700;
}

.ranking-table {
  margin-bottom: 20px;
}

.ranking-list {
  display: grid;
  gap: 16px;
}

.ranking-card {
  padding: 20px;
  border: 1px solid #d7e5e1;
  border-radius: 8px;
  background: #ffffff;
}

.ranking-card.ranking-winner {
  border-color: #b68a31;
  box-shadow: inset 4px 0 0 #b68a31;
}

.ranking-card.ranking-own {
  border-color: #208475;
  box-shadow: inset 4px 0 0 #208475;
  background: #f4fbf9;
}

.ranking-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ranking-card-heading h3 {
  margin: 0;
}

.ranking-position {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #123f39;
  color: #ffffff;
  font-weight: 850;
}

.ranking-badge {
  margin: 3px 0 0;
  color: #176d61;
  font-weight: 800;
}

.ranking-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.ranking-details h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.ranking-details ul {
  margin: 0;
}

.ranking-access,
.ranking-source {
  margin-bottom: 0;
}

.ranking-source a {
  font-weight: 750;
}

.evidence-notes ul {
  margin-top: 8px;
}

.evidence-notes li {
  color: #40524d;
}

.editorial-review {
  margin: -10px 0 28px;
  padding: 14px 18px;
  border-left: 3px solid #0f766e;
  background: #f3f8f7;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
}

.editorial-review p {
  margin: 0;
}

.editorial-review p + p {
  margin-top: 7px;
}

.answer-facts {
  margin: -10px 0 28px;
  background: #fbfff6;
  border-color: #cfe5bc;
}

.answer-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}

.answer-fact {
  min-width: 0;
  border: 1px solid #d8e8ca;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.answer-fact dt {
  margin: 0 0 6px;
  color: #245b2d;
  font-weight: 800;
}

.answer-fact dd {
  margin: 0;
  color: #40524d;
}

.external-evidence,
.media-kit {
  margin: -10px 0 28px;
}

.external-evidence {
  background: #f4fbf9;
  border-color: #bee0d8;
}

.media-kit {
  background: #fffdf5;
  border-color: #eadcae;
}

.evidence-link-grid,
.media-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.evidence-link-card,
.media-asset-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d5e4e0;
  border-radius: 8px;
  background: #ffffff;
}

.media-asset-card {
  border-color: #e6dbb8;
}

.evidence-link-card h3,
.media-asset-card h3 {
  margin: 5px 0 8px;
  font-size: 1rem;
}

.evidence-link-card p,
.media-asset-card p {
  margin-bottom: 0;
}

.free-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.free-tool-grid a {
  border: 1px solid #d7e5e1;
  border-radius: 7px;
  padding: 10px 11px;
  background: #f8fbfa;
  color: #0f766e;
  font-weight: 800;
  text-decoration: none;
}

.section-lede {
  max-width: 760px;
  color: #4f615d;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.intent-card {
  border: 1px solid #d7e5e1;
  border-radius: 8px;
  background: #f8fbfa;
  padding: 16px;
}

.intent-card h3 {
  margin: 0 0 8px;
  color: #101827;
  font-size: 1.05rem;
}

.intent-card p {
  margin: 0 0 10px;
  color: #40524d;
}

.intent-card ul {
  margin: 0;
  padding-left: 18px;
  color: #2e3f3b;
}

.question-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.question-card {
  border: 1px solid #d7e5e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 18px;
}

.question-card h3 {
  margin: 0 0 8px;
  color: #101827;
  font-size: 1.02rem;
}

.question-card p {
  margin: 0;
  color: #40524d;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 18px 0 28px;
}

.step {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid #cfe1dc;
  border-radius: 8px;
  background: #ffffff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid #d7e5e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  color: #101827;
  font-weight: 800;
}

.note {
  border-left: 4px solid #0f766e;
  background: #eef8f5;
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  color: #40524d;
}

.rating-line strong {
  color: #b45309;
}

.video-guide {
  display: grid;
  gap: 20px;
  margin: 26px 0;
  padding: 24px;
  border: 1px solid #cfe1dc;
  border-radius: 8px;
  background: #ffffff;
}

.video-guide-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.video-guide-heading h2,
.video-transcript h2 {
  margin: 4px 0 8px;
}

.video-guide-heading p:last-child {
  margin-bottom: 0;
  max-width: 760px;
}

.video-guide-heading > a {
  flex: 0 0 auto;
  font-weight: 800;
}

.video-frame {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #101827;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #101827;
}

.video-frame-vertical {
  width: min(100%, 480px);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
}

.mistake-examples {
  display: grid;
  gap: 24px;
  margin: 30px 0;
}

.mistake-examples-intro,
.mistake-example-card {
  border: 1px solid #d7e5e1;
  border-radius: 8px;
  background: #ffffff;
}

.mistake-examples-intro {
  padding: 24px;
}

.mistake-examples-intro h2,
.mistake-examples-intro p:last-child {
  margin-bottom: 0;
}

.mistake-example-card {
  overflow: hidden;
  padding: 24px;
}

.mistake-example-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.mistake-example-heading h2 {
  margin: 4px 0 10px;
}

.mistake-classification {
  flex: 0 0 auto;
  max-width: 260px;
  border: 1px solid #f0aaa2;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff1f0;
  color: #8f1d14;
  font-size: 0.88rem;
}

.incorrect-invoice {
  overflow: hidden;
  margin: 20px 0 24px;
  border: 2px solid #b42318;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(16 24 39 / 8%);
}

.incorrect-banner {
  padding: 12px 16px;
  background: #b42318;
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0;
}

.incorrect-invoice dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 18px;
  gap: 8px;
}

.mistake-sample-row {
  min-width: 0;
  border: 1px solid #d9e0de;
  border-radius: 6px;
  padding: 10px 12px;
  background: #f8fbfa;
}

.mistake-sample-row dt {
  margin-bottom: 3px;
  color: #596662;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mistake-sample-row dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: #101827;
  font-weight: 750;
}

.mistake-field-error {
  border: 2px solid #b42318;
  background: #fff1f0;
}

.mistake-field-error dt,
.mistake-field-error dd {
  color: #8f1d14;
}

.incorrect-fictional {
  margin: 0;
  padding: 10px 18px;
  background: #f4f6f5;
  color: #596662;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.mistake-analysis,
.mistake-prevention {
  margin-top: 22px;
}

.mistake-error-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mistake-error-card {
  border-left: 4px solid #b42318;
  padding: 14px 16px;
  background: #fff8f7;
}

.mistake-error-card h3,
.mistake-error-card p {
  margin: 0;
}

.mistake-error-card p + p,
.mistake-error-card h3 + p {
  margin-top: 8px;
}

.mistake-error-number {
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mistake-prevention {
  border: 1px solid #8bc8bb;
  border-radius: 8px;
  padding: 20px;
  background: #f2fbf8;
}

.mistake-prevention ul {
  margin-bottom: 18px;
}

.video-transcript ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-transcript li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid #d7e5e1;
  border-radius: 8px;
  background: #f8fbfa;
}

.transcript-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0f766e;
  color: #ffffff;
  font-weight: 800;
}

.video-transcript h3,
.video-transcript p {
  margin: 0;
}

.video-transcript p {
  margin-top: 4px;
}

.related-links {
  margin-top: 24px;
  border: 1px solid #cfe1dc;
  border-radius: 8px;
  background: #ffffff;
}

.related-links summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #101827;
  font-weight: 800;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 18px 18px;
}

.related-links-grid a {
  border: 1px solid #d7e5e1;
  border-radius: 7px;
  padding: 9px 10px;
  background: #f8fbfa;
  font-weight: 700;
  text-decoration: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 42px;
  color: #596662;
  font-size: 0.94rem;
}

.utility-side-card {
  background: #eef8f5;
}

.utility-directory,
.calculator-shell {
  margin: 0 0 28px;
  border: 1px solid #a9d8cf;
  border-radius: 8px;
  background: #ffffff;
}

.utility-directory,
.calculator-shell {
  padding: 24px;
}

.utility-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.utility-directory-item {
  min-width: 0;
  border-top: 3px solid #0f766e;
  padding: 18px;
  background: #f7fbfa;
}

.utility-directory-item p {
  color: #4f615d;
}

.text-link {
  font-weight: 800;
}

.calculator-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: start;
}

.calculator-form {
  display: grid;
  gap: 14px;
}

.calculator-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #263936;
  font-weight: 750;
}

.calculator-form input,
.calculator-form select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #aebfba;
  border-radius: 7px;
  padding: 9px 11px;
  background: #ffffff;
  color: #101827;
  font: inherit;
}

.calculator-form input:focus,
.calculator-form select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: #0f766e;
}

.money-input {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #aebfba;
  border-radius: 7px;
  background: #ffffff;
  overflow: hidden;
}

.money-input > span {
  text-align: center;
  color: #4f615d;
  font-weight: 800;
}

.money-input input {
  border: 0;
  border-left: 1px solid #d7e5e1;
  border-radius: 0;
}

.percent-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  border: 1px solid #aebfba;
  border-radius: 7px;
  background: #ffffff;
  overflow: hidden;
}

.percent-input input {
  border: 0;
  border-right: 1px solid #d7e5e1;
  border-radius: 0;
}

.percent-input > span {
  text-align: center;
  color: #4f615d;
  font-weight: 800;
}

.calculator-form input[readonly] {
  background: #eef3f1;
  color: #465752;
}

.tool-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tool-result-item,
.frequency-results > div,
.split-result-item,
.split-total {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #d7e5e1;
  padding: 13px 14px;
  background: #f7fbfa;
}

.tool-result-item {
  min-height: 84px;
  flex-direction: column;
  align-items: flex-start;
}

.tool-result-item span,
.frequency-results span,
.split-result-item span {
  color: #52635f;
  font-size: 0.9rem;
}

.tool-result-item strong,
.frequency-results strong,
.split-result-item > strong,
.split-total strong {
  color: #0b645d;
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.calculation-method {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  border-left: 3px solid #0f766e;
  padding: 10px 12px;
  background: #eef8f5;
  color: #344a45;
}

.tool-disclaimer {
  margin: 20px 0 0;
  border-top: 1px solid #d7e5e1;
  padding-top: 16px;
  color: #4f615d;
  font-size: 0.92rem;
}

.calculator-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 20px;
}

.due-date-result {
  display: grid;
  gap: 10px;
  min-height: 220px;
  align-content: center;
  border: 1px solid #d7e5e1;
  padding: 24px;
  background: #f7fbfa;
}

.due-date-result > span {
  color: #52635f;
  font-weight: 750;
}

.due-date-result > strong {
  color: #0b645d;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  overflow-wrap: anywhere;
}

.due-date-result p {
  margin: 0;
}

.form-grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.people-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.people-heading h3 {
  margin: 0;
}

.icon-text-button,
.remove-person {
  min-height: 40px;
  border: 1px solid #0f766e;
  border-radius: 7px;
  background: #ffffff;
  color: #0f766e;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.icon-text-button {
  padding: 7px 12px;
}

.people-list {
  display: grid;
  gap: 10px;
}

.person-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.7fr 42px;
  gap: 9px;
  align-items: end;
  border-top: 1px solid #d7e5e1;
  padding-top: 12px;
}

.remove-person {
  width: 42px;
  color: #a13025;
  border-color: #d6aaa5;
  font-size: 1.25rem;
}

.tool-message {
  margin: 18px 0 10px;
  border-left: 3px solid #0f766e;
  padding: 10px 12px;
  background: #eef8f5;
}

.tool-message.is-warning {
  border-color: #b54708;
  background: #fff7ed;
}

.split-results {
  display: grid;
  gap: 8px;
}

.split-result-item > div {
  display: grid;
}

.split-total {
  border-color: #0f766e;
  background: #eef8f5;
  font-weight: 800;
}

.countdown-results {
  border: 1px solid #a9d8cf;
  padding: 18px;
  background: #eef8f5;
}

.countdown-label {
  font-weight: 800;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.countdown-grid > div {
  display: grid;
  min-width: 0;
  place-items: center;
  min-height: 92px;
  background: #ffffff;
}

.countdown-grid strong {
  color: #0b645d;
  font-size: 1.8rem;
}

.countdown-grid span {
  color: #52635f;
  font-size: 0.82rem;
}

.check-label {
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: center;
}

.check-label input {
  width: 20px;
  min-height: 20px;
}

.frequency-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 760px) {
  .page {
    padding: 24px 14px 42px;
  }

  .hero,
  .grid,
  .intent-grid,
  .ranking-criteria,
  .ranking-details,
  .free-tool-hub,
  .compliance-hub,
  .official-guidance,
  .free-tool-grid,
  .conversion-signals ul,
  .answer-facts dl,
  .evidence-link-grid,
  .media-asset-grid,
  .related-links-grid,
  .directory-grid,
  .directory-links,
  .utility-directory-grid,
  .calculator-layout,
  .form-grid.three,
  .form-grid.two,
  .tool-results,
  .frequency-results {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .side-card,
  .content-card {
    padding: 20px;
  }

  .top-nav {
    align-items: flex-start;
  }

  .tool-handoff {
    display: grid;
    margin-top: -10px;
  }

  .tool-handoff .button {
    width: 100%;
  }

  .video-guide {
    padding: 18px;
  }

  .video-guide-heading {
    display: grid;
    align-items: start;
  }

  .mistake-example-card,
  .mistake-examples-intro {
    padding: 18px;
  }

  .mistake-example-heading,
  .mistake-error-grid,
  .incorrect-invoice dl {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mistake-classification {
    max-width: none;
  }

  .calculator-shell,
  .utility-directory {
    padding: 18px;
  }

  .person-row {
    grid-template-columns: 1fr 1fr;
  }

  .person-row label:first-child {
    grid-column: 1 / -1;
  }

  .remove-person {
    width: 100%;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
