:root {
  color-scheme: light;
  --ink: #171e28;
  --muted: #5e6979;
  --green: #13524c;
  --green-dark: #104c46;
  --green-light: #e7ecf2;
  --paper: #f2f4f7;
  --white: #ffffff;
  --line: #e0e5eb;
  --gold: #e6bc65;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.8px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px 10px 10px 3px;
  background: var(--green);
  color: var(--white);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.brand-country {
  color: var(--green);
}

.main-nav {
  display: flex;
  gap: 16px;
  margin-left: 32px;
}

.main-nav a,
.header-link {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a {
  color: #4e5867;
}

.main-nav a:hover,
.header-link:hover {
  color: var(--green);
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
}

.header-link span {
  font-size: 17px;
}

.install-app-button {
  padding: 8px 11px;
  border: 1px solid #c8d2df;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  font-family: var(--sans);
}

.install-app-button:hover {
  border-color: #7d92b0;
}

.install-app-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.install-app-help {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 500px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  padding: 48px max(calc((100vw - 1120px) / 2), 32px);
  background: #e7ebf1;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 64%);
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.65px;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d29d3c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 19px 0 16px;
  color: #1d3f3c;
  font-family: var(--serif);
  font-size: clamp(42px, 5.2vw, 63px);
  font-weight: 500;
  letter-spacing: -2.6px;
  line-height: 1.05;
}

.hero h1 span {
  color: var(--green);
  font-style: italic;
}

.hero-description {
  max-width: 430px;
  margin-bottom: 22px;
  color: #586475;
  font-size: 14px;
  line-height: 1.7;
}

.hero-tagline {
  margin: -10px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.hero-product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 470px;
  margin: 22px 0 18px;
}

.hero-product-action {
  display: flex;
  min-height: 66px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 11px 14px;
  border: 1px solid #d3dae3;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-product-action:hover,
.hero-product-action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 8px 20px rgba(23, 99, 69, 0.12);
}

.hero-product-action:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.hero-product-action strong {
  font-size: 12px;
}

.hero-product-action span {
  color: var(--muted);
  font-size: 10px;
}

.hero-product-action.primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.hero-product-action.primary span {
  color: #e2e7ee;
}

.install-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.install-guide-grid article {
  padding: 18px;
  border: 1px solid #d3dae3;
  border-radius: 12px;
  background: var(--white);
}

.install-guide-grid h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 15px;
}

.install-guide-grid p,
.install-download-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.install-download-note {
  padding-top: 12px;
  border-top: 1px solid #d3dae3;
}

.mobile-install-banner {
  display: none;
}

.mobile-install-banner[hidden] {
  display: none;
}

.has-mobile-install-banner {
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.mobile-install-action {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #525f71;
  font-size: 11px;
}

.trust-note svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hero-art {
  position: absolute;
  top: 0;
  right: max(calc((100vw - 1120px) / 2), 32px);
  width: 390px;
  height: 100%;
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(38, 101, 69, 0.13);
  border-radius: 50%;
}

.orbit-one {
  top: -105px;
  right: 7px;
  width: 360px;
  height: 360px;
}

.orbit-two {
  top: -48px;
  right: -49px;
  width: 350px;
  height: 350px;
}

.art-card {
  position: absolute;
  top: 91px;
  right: 49px;
  display: flex;
  width: 245px;
  min-height: 167px;
  flex-direction: column;
  justify-content: center;
  padding: 23px 25px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(27, 71, 48, 0.11);
  transform: rotate(3deg);
}

.art-card-label {
  color: #7b8797;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.art-card-amount {
  margin-top: 11px;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2px;
}

.art-card-amount strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -1px;
}

.art-card-rule {
  height: 1px;
  margin: 14px 0 11px;
  background: #e4e7ec;
}

.art-card-caption {
  color: #7b8797;
  font-size: 10px;
}

.art-spark {
  position: absolute;
  color: #c69336;
  font-size: 20px;
}

.spark-one {
  top: 83px;
  right: 298px;
}

.spark-two {
  right: 5px;
  bottom: 60px;
  color: #667fa1;
  font-size: 15px;
}

.estimator-section,
.international-tax-section,
.worked-examples-section,
.audit-health-section,
.advisory-section,
.tax-chat-section,
.case-law-section,
.info-section,
.disclaimer {
  width: min(1120px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.estimator-section {
  padding-top: 58px;
  padding-bottom: 72px;
}

.international-tax-section {
  padding: 38px 0 42px;
  border-top: 1px solid #dde2e8;
  scroll-margin-top: 24px;
}

.audit-health-section {
  padding: 38px 0 42px;
  border-top: 1px solid #dde2e8;
  scroll-margin-top: 24px;
}

.worked-examples-section {
  padding: 38px 0 42px;
  border-top: 1px solid #dde2e8;
  scroll-margin-top: 24px;
}

.worked-examples-caveat {
  margin: 14px 0;
  padding: 13px 15px;
  border: 1px solid #eadbb9;
  border-radius: 8px;
  background: #fbf8ef;
  color: #66583d;
  font-size: 11px;
  line-height: 1.65;
}

.worked-example-metadata,
.worked-examples-sources {
  color: #5f6b7b;
  font-size: 11px;
  line-height: 1.65;
}

.worked-example-card {
  margin: 14px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.worked-example-card h3 {
  margin: 0 0 8px;
  color: #26303d;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.worked-example-card h4 {
  margin: 19px 0 7px;
  color: #343e4d;
  font-size: 12px;
}

.worked-example-lead,
.worked-example-check {
  color: #5f6b7b;
  font-size: 11px;
  line-height: 1.65;
}

.worked-example-check {
  margin: 8px 0;
  color: #13524c;
  font-weight: 650;
}

.worked-example-check.is-warning {
  color: #9c3d25;
}

.worked-example-table-wrap {
  overflow-x: auto;
}

.worked-example-table {
  min-width: 580px;
}

.worked-examples-sources a {
  color: var(--green);
  font-weight: 650;
}

.audit-health-caveat,
.audit-health-privacy {
  margin: 14px 0;
  padding: 13px 15px;
  border: 1px solid #dde2e9;
  border-radius: 8px;
  background: #edf0f5;
  color: #3e4b5d;
  font-size: 11px;
  line-height: 1.65;
}

.audit-health-privacy {
  background: #fff;
}

.audit-health-workspace {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.audit-health-controls {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.4fr);
  align-items: end;
  gap: 12px;
}

.audit-health-controls .field {
  display: grid;
  gap: 6px;
}

.audit-health-controls label,
.audit-health-item > label {
  color: #3e4b5d;
  font-size: 11px;
  font-weight: 650;
}

.audit-health-controls select,
.audit-health-controls input,
.audit-health-item select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d5dae1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: 12px var(--sans);
}

.audit-health-controls select:focus,
.audit-health-controls input:focus,
.audit-health-item select:focus {
  outline: 2px solid #657fa4;
  outline-offset: 2px;
}

.audit-health-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.audit-health-buttons button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: 650 11px var(--sans);
}

.audit-health-buttons button:hover {
  background: var(--green-dark);
}

.audit-health-buttons .audit-health-reset {
  border: 1px solid #d5dae1;
  background: #fff;
  color: #3e4b5d;
}

.audit-health-buttons .audit-health-reset:hover {
  background: #eff2f5;
}

.audit-health-mode-description,
.audit-health-save-status,
.audit-health-sources {
  color: #5f6b7b;
  font-size: 11px;
  line-height: 1.65;
}

.audit-health-mode-description {
  margin: 16px 0 5px;
}

.audit-health-save-status {
  margin: 5px 0 12px;
}

.audit-health-notice {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #edf0f5;
  color: #3e4b5d;
  font-size: 11px;
  line-height: 1.6;
}

.audit-health-notice.is-error {
  background: #fff0e8;
  color: #793b24;
}

.audit-health-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.audit-health-stat {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f9fafb;
}

.audit-health-stat strong {
  color: var(--green);
  font-size: 20px;
}

.audit-health-stat span {
  color: #5f6b7b;
  font-size: 10px;
}

.audit-health-actions {
  margin: 14px 0 20px;
  padding: 14px 16px;
  border-left: 3px solid #c69336;
  background: #fbf8ef;
}

.audit-health-actions h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.audit-health-actions p,
.audit-health-actions li {
  color: #4f5a6a;
  font-size: 11px;
  line-height: 1.6;
}

.audit-health-actions ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 19px;
}

.audit-health-actions li p {
  margin: 3px 0 0;
}

.audit-health-checklist {
  display: grid;
  gap: 18px;
}

.audit-health-category h3 {
  margin: 0 0 9px;
  color: #26303d;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.audit-health-category {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 9px;
}

.audit-health-category > h3 {
  grid-column: 1 / -1;
}

.audit-health-item {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.audit-health-item-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.audit-health-item h4 {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.audit-health-priority {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 10px;
  background: #eef1f4;
  color: #4f5967;
  font-size: 9px;
  text-transform: capitalize;
}

.audit-health-priority.priority-high {
  background: #fff0e8;
  color: #793b24;
}

.audit-health-item > p {
  margin: 8px 0;
  color: #5f6b7b;
  font-size: 10px;
  line-height: 1.6;
}

.audit-health-item .audit-health-follow-label {
  color: #3e4b5d;
  font-size: 10px;
}

.audit-health-item > label {
  display: block;
  margin: 9px 0 5px;
}

.audit-health-sources {
  margin-top: 13px;
}

.audit-health-sources a {
  color: var(--green);
  font-weight: 650;
}

.audit-health-print-report {
  white-space: pre-wrap;
  font: 12px/1.6 var(--sans);
}

.international-tax-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.international-tax-topics article {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.international-tax-topics article > span {
  color: #b38331;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.8px;
}

.international-tax-topics h3 {
  margin: 8px 0;
  color: #26303d;
  font-size: 13px;
}

.international-tax-topics p,
.international-tax-calculator > div > p:last-child {
  margin: 0;
  color: #5f6b7b;
  font-size: 10px;
  line-height: 1.65;
}

.international-tax-calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.international-tax-calculator h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

#international-tax-form {
  display: grid;
  gap: 11px;
}

#international-tax-form > button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: 700 11px var(--sans);
}

#international-tax-form > button:hover {
  background: var(--green-dark);
}

.international-tax-method-description {
  margin: 0;
  color: #5f6b7b;
  font-size: 10px;
  line-height: 1.65;
}

.international-tax-fields {
  display: grid;
  gap: 11px;
}

.international-tax-result {
  grid-column: 1 / -1;
  padding: 15px;
  border-radius: 8px;
  background: #edf0f5;
}

.international-tax-result h4 {
  margin: 0 0 10px;
  font-size: 12px;
}

.international-tax-result dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 15px;
  margin: 0;
  font-size: 10px;
}

.international-tax-result dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.international-tax-result p,
.international-tax-sources {
  margin: 12px 0 0;
  color: #616d7d;
  font-size: 10px;
  line-height: 1.6;
}

.international-tax-sources a {
  color: var(--green);
  font-weight: 650;
}

.advisory-section {
  padding: 38px 0 42px;
  border-top: 1px solid #dde2e8;
  scroll-margin-top: 24px;
}

.case-law-section {
  padding: 38px 0 42px;
  border-top: 1px solid #dde2e8;
  scroll-margin-top: 24px;
}

.tax-chat-section {
  padding: 38px 0 42px;
  border-top: 1px solid #dde2e8;
  scroll-margin-top: 24px;
}

.tax-chat-clear {
  padding: 8px 12px;
  border: 1px solid #dbe1e9;
  border-radius: 7px;
  background: #fff;
  color: #4d5969;
  cursor: pointer;
  font: 650 10px var(--sans);
}

.tax-chat-heading-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.tax-chat-tool {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dbe1e9;
  border-radius: 6px;
  background: #fff;
  color: #4d5969;
  cursor: pointer;
  font: 650 10px var(--sans);
}

.tax-chat-tool:hover {
  border-color: #95a4ba;
  color: #224f4a;
}

.tax-chat-clear:hover {
  border-color: #95a4ba;
}

.tax-chat-privacy {
  margin: 0 0 13px;
  padding: 11px 13px;
  border-left: 3px solid #c69336;
  border-radius: 5px;
  background: #f3f1e8;
  color: #5e594d;
  font-size: 10px;
  line-height: 1.65;
}

.tax-chat-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.tax-chat-messages {
  display: flex;
  max-height: 460px;
  min-height: 170px;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 17px;
  background: #f6f8fa;
}

.tax-chat-message {
  width: min(88%, 760px);
  padding: 12px 14px;
  border: 1px solid #dee3ea;
  border-radius: 10px;
  background: #fff;
  color: #4d5766;
}

.tax-chat-message-user {
  align-self: flex-end;
  border-color: #d6dee8;
  background: #edf0f5;
}

.tax-chat-author {
  display: block;
  margin-bottom: 5px;
  color: #313d4d;
  font-size: 10px;
}

.tax-chat-message p {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.tax-chat-message p:last-of-type {
  margin-bottom: 0;
}

.tax-chat-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  margin: 10px 0 0;
  padding: 9px 0 0;
  border-top: 1px solid #ebedf1;
  list-style: none;
}

.tax-chat-sources a {
  color: #2e5e5a;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.5;
}

.tax-chat-provenance {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 10px 0 0;
  padding: 9px 0 0;
  border-top: 1px solid #ebedf1;
  list-style: none;
}

.tax-chat-provenance li {
  color: #5e6978;
  font-size: 9px;
  line-height: 1.5;
}

.tax-chat-provenance li[data-used="true"] {
  color: #224f4a;
  font-weight: 700;
}

.tax-chat-legal-reference {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #dee3ea;
  border-radius: 6px;
  background: #fafbfc;
  font-size: 10px;
}

.tax-chat-legal-reference summary {
  color: #313d4d;
  cursor: pointer;
  font-weight: 700;
}

.tax-chat-legal-reference dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 5px 10px;
  margin: 10px 0 0;
}

.tax-chat-legal-reference dt {
  color: #4d5969;
  font-weight: 700;
}

.tax-chat-legal-reference dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.tax-chat-consultation {
  margin-top: 10px !important;
}

.tax-chat-consultation a {
  color: #224f4a;
  font-weight: 700;
}

.tax-chat-consultation span {
  display: block;
  margin-top: 4px;
  color: #5e6978;
  font-size: 9px;
}

.tax-chat-calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.tax-chat-calculator-actions button {
  padding: 7px 10px;
  border: 1px solid #c8d2df;
  border-radius: 6px;
  background: #edf0f5;
  color: #224f4a;
  cursor: pointer;
  font: 650 10px var(--sans);
}

.tax-chat-calculator-actions button:hover {
  border-color: #7d92b0;
  background: #e4e9f0;
}

.tax-chat-form {
  padding: 14px 16px 10px;
}

.tax-chat-form > label {
  display: block;
  margin-bottom: 7px;
  color: #26303d;
  font-size: 11px;
  font-weight: 700;
}

.tax-chat-form textarea {
  display: block;
  width: 100%;
  min-height: 75px;
  padding: 11px 12px;
  resize: vertical;
  border: 1px solid #dce1e7;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 500 11px/1.5 var(--sans);
}

.tax-chat-form textarea:focus {
  border-color: #56729a;
  outline: 3px solid rgba(34, 109, 72, 0.1);
}

.tax-chat-context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.tax-chat-context label {
  color: #26303d;
  font-size: 11px;
  font-weight: 700;
}

.tax-chat-context select {
  min-height: 34px;
  min-width: 130px;
  padding: 6px 9px;
  border: 1px solid #dce1e7;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: 500 11px var(--sans);
}

.tax-advisor-review {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dae1ea;
  border-left: 3px solid #56729a;
  border-radius: 6px;
  background: #f6f8fa;
}

.tax-advisor-review h3 {
  margin: 0 0 9px;
  color: #26303d;
  font-size: 12px;
}

.tax-advisor-review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
}

.tax-advisor-review-summary dt {
  color: #707c8d;
  font-size: 9px;
  font-weight: 700;
}

.tax-advisor-review-summary dd {
  margin: 3px 0 0;
  color: #313d4d;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tax-advisor-review > ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 17px;
  color: #4d5766;
  font-size: 10px;
  line-height: 1.5;
}

.tax-advisor-review > ul li strong,
.tax-advisor-review > ul li span {
  display: block;
}

.tax-advisor-review > ul li span {
  color: #707c8d;
}

.tax-chat-record-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: #4d5766;
  font-size: 10px;
  line-height: 1.5;
}

.tax-chat-record-consent input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.tax-chat-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
}

.tax-chat-form-footer > span {
  color: #808a99;
  font-size: 9px;
  line-height: 1.5;
}

.tax-chat-form-footer button {
  min-height: 39px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: 700 10px var(--sans);
  white-space: nowrap;
}

.tax-chat-form-footer button:hover {
  background: var(--green-dark);
}

.tax-chat-form-footer button:disabled,
.tax-chat-clear:disabled {
  cursor: wait;
  opacity: 0.6;
}

.tax-chat-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 0 16px 14px;
  color: #707c8d;
  font-size: 9px;
}

.tax-chat-shortcuts button {
  padding: 5px 8px;
  border: 1px solid #dee3ea;
  border-radius: 99px;
  background: #f6f8fa;
  color: #3d4f69;
  cursor: pointer;
  font: 600 9px var(--sans);
}

.tax-chat-shortcuts button:hover {
  border-color: #95a4ba;
}

@media (max-width: 640px) {
  .tax-chat-heading-actions {
    justify-content: flex-start;
  }

  .tax-advisor-review-summary {
    grid-template-columns: 1fr;
  }
}

.tax-chat-status {
  margin: 9px 0 0;
  color: #6e7988;
  font-size: 10px;
  line-height: 1.6;
}

.case-law-database-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.case-law-database-link {
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.case-law-database-link:hover {
  text-decoration: underline;
}

.case-law-caveat {
  margin-bottom: 16px;
  padding: 13px 15px;
  border-left: 3px solid #c69336;
  border-radius: 5px;
  background: #f3f1e8;
  color: #5e594d;
  font-size: 10px;
  line-height: 1.65;
}

.case-law-search {
  margin-bottom: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.case-law-search > label {
  display: block;
  margin-bottom: 8px;
  color: #26303d;
  font-size: 11px;
  font-weight: 700;
}

.case-law-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.case-law-search-row input {
  min-width: 0;
  min-height: 43px;
  padding: 0 11px;
  border: 1px solid #dce1e7;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 500 11px var(--sans);
}

.case-law-search-row button {
  min-height: 43px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: 700 11px var(--sans);
}

.case-law-search-row button:hover {
  background: var(--green-dark);
}

.case-law-result-count {
  margin: 0 0 9px;
  color: #6e7988;
  font-size: 10px;
}

.case-law-results {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: 12px;
}

.case-law-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.case-law-card h3 {
  margin: 0 0 6px;
  color: #26303d;
  font-size: 14px;
  line-height: 1.45;
}

.case-law-card h3 a {
  color: inherit;
  text-decoration: none;
}

.case-law-card h3 a:hover {
  color: var(--green);
  text-decoration: underline;
}

.case-law-card p {
  margin: 0 0 12px;
  color: #5f6b7b;
  font-size: 10px;
  line-height: 1.65;
}

.case-law-card .case-law-citation {
  margin-bottom: 15px;
  color: #707c8d;
  font-size: 9px;
}

.case-law-card > strong {
  display: block;
  margin-bottom: 4px;
  color: #313d4d;
  font-size: 10px;
}

.case-law-card .case-law-significance {
  padding: 10px 11px;
  border-radius: 6px;
  background: #f2f4f7;
}

.case-law-no-results {
  margin: 12px 0;
  padding: 17px;
  border: 1px dashed #c8d0db;
  border-radius: 8px;
  color: #5f6b7b;
  font-size: 11px;
  line-height: 1.7;
}

.case-law-no-results a {
  color: var(--green);
  font-weight: 700;
}

.advisory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}

.advisory-heading h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1px;
}

.advisory-heading p:last-child {
  margin: 0;
  color: #6e7988;
  font-size: 11px;
  line-height: 1.6;
}

.advisory-review-date {
  padding: 8px 11px;
  border: 1px solid #dbe1e9;
  border-radius: 99px;
  color: #4d5969;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.advisory-caveat {
  margin-bottom: 20px;
  padding: 13px 15px;
  border-left: 3px solid #c69336;
  border-radius: 5px;
  background: #f3f1e8;
  color: #5e594d;
  font-size: 10px;
  line-height: 1.65;
}

.advisory-search {
  margin-bottom: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.advisory-search > label {
  display: block;
  margin-bottom: 8px;
  color: #26303d;
  font-size: 11px;
  font-weight: 700;
}

.advisory-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(155px, 0.34fr) auto;
  gap: 9px;
}

.advisory-search-row input,
.advisory-search-row select {
  min-width: 0;
  min-height: 43px;
  padding: 0 11px;
  border: 1px solid #dce1e7;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 500 11px var(--sans);
}

.advisory-search-row button {
  min-height: 43px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: 700 11px var(--sans);
}

.advisory-search-row button:hover {
  background: var(--green-dark);
}

.advisory-quick-questions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: #707c8d;
  font-size: 10px;
}

.advisory-quick-questions button {
  padding: 5px 8px;
  border: 1px solid #dee3ea;
  border-radius: 99px;
  background: #f6f8fa;
  color: #3d4f69;
  cursor: pointer;
  font: 600 9px var(--sans);
}

.advisory-quick-questions button:hover {
  border-color: #95a4ba;
}

.advisory-result-count {
  margin: 0 0 9px;
  color: #6e7988;
  font-size: 10px;
}

.advisory-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.advisory-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.advisory-card-topic {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.advisory-card h3 {
  margin: 0 0 9px;
  color: #26303d;
  font-size: 13px;
  line-height: 1.45;
}

.advisory-card p {
  margin: 0 0 10px;
  color: #5f6b7b;
  font-size: 10px;
  line-height: 1.65;
}

.advisory-card .advisory-next-label {
  display: block;
  margin-bottom: 4px;
  color: #313d4d;
  font-size: 10px;
}

.advisory-card .advisory-next-step {
  margin-bottom: 11px;
}

.advisory-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.advisory-sources a {
  color: #2e5e5a;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.5;
}

.advisory-calculator-link,
.advisory-consult-link {
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

.advisory-calculator-link:hover,
.advisory-consult-link:hover {
  text-decoration: underline;
}

.advisory-no-results {
  margin: 12px 0;
  padding: 17px;
  border: 1px dashed #c8d0db;
  border-radius: 8px;
  color: #5f6b7b;
  font-size: 11px;
  line-height: 1.7;
}

.advisory-no-results a {
  color: var(--green);
  font-weight: 700;
}

.advisory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding: 13px 15px;
  border-radius: 8px;
  background: #e7ebf1;
}

.advisory-footer p {
  margin: 0;
  color: #4e5969;
  font-size: 10px;
}

.law-updates,
.other-heads,
.payment-section {
  width: min(1120px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.law-updates {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr;
  gap: 48px;
  padding: 34px 0;
  border-top: 1px solid #dde2e8;
}

.law-updates-heading h2,
.other-heads h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.law-updates-heading > p:last-child,
.other-heads > div > p:last-child {
  margin-bottom: 0;
  color: #6e7988;
  font-size: 11px;
  line-height: 1.7;
}

.law-update-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}

.law-update-list article {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.law-update-list article > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #e7ecf2;
  color: var(--green);
  font-size: 9px;
  font-weight: 750;
}

.law-update-list h3 {
  margin: 1px 0 5px;
  font-size: 11px;
  font-weight: 700;
}

.law-update-list p {
  margin: 0;
  color: #6e7988;
  font-size: 10px;
  line-height: 1.6;
}

.other-heads {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 60px;
  padding: 31px 0;
  border-top: 1px solid #dde2e8;
}

.other-heads ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.other-heads li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #6e7988;
  font-size: 10px;
  line-height: 1.5;
}

.other-heads li strong {
  color: #313d4d;
  font-size: 11px;
}

.payment-section {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 20px 60px;
  padding: 31px 0;
  border-top: 1px solid #dde2e8;
}

.payment-heading h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.payment-heading > p:last-child,
.payment-note {
  margin: 0;
  color: #6e7988;
  font-size: 11px;
  line-height: 1.7;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.payment-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.payment-provider {
  color: #5e6979;
  font-size: 10px;
  font-weight: 700;
}

.payment-number {
  color: var(--green-dark);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 750;
  letter-spacing: 0.2px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.payment-number:hover {
  text-decoration: underline;
}

.business-contact {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.business-contact > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.business-contact a,
.business-contact > div > span:last-child {
  color: #313d4d;
  font-size: 11px;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.business-contact a:hover {
  text-decoration: underline;
}

.service-prices {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-prices li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 13px;
  border-radius: 8px;
  background: #edf0f5;
  color: #616d7d;
  font-size: 10px;
  line-height: 1.5;
}

.service-prices strong {
  color: #313d4d;
  font-size: 11px;
}

.payment-note {
  grid-column: 2;
  font-size: 10px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-eyebrow {
  margin-bottom: 9px;
}

.section-heading h2,
.info-intro h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1px;
}

.year-badge {
  padding: 8px 11px;
  border: 1px solid #dbe1e9;
  border-radius: 99px;
  color: #4d5969;
  font-size: 10px;
  font-weight: 650;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  gap: 18px;
}

.tax-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 15px;
  overflow-x: auto;
  padding: 2px 2px 9px;
  scrollbar-color: #b3bdcc transparent;
  scrollbar-width: thin;
}

.tax-tab {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid #dae0e8;
  border-radius: 7px;
  background: #fff;
  color: #4e5969;
  cursor: pointer;
  font: 650 10px var(--sans);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.tax-tab:hover {
  border-color: #b4c0d1;
  color: var(--green);
}

.tax-tab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.tax-tab:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(198, 147, 54, 0.65);
  outline-offset: 2px;
}

.calculator-card,
.results-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.calculator-card {
  padding: 27px 29px 24px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 25px;
}

.step-number {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--green-light);
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
}

.card-heading h3,
.results-topline h3 {
  margin: 1px 0 5px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.card-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.field {
  margin-bottom: 19px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #26303d;
  font-size: 11px;
  font-weight: 700;
}

.field label span {
  color: #566273;
  font-weight: 450;
}

.input-wrap {
  display: flex;
  height: 47px;
  align-items: center;
  border: 1px solid #dce1e7;
  border-radius: 7px;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input-wrap:focus-within {
  border-color: #56729a;
  box-shadow: 0 0 0 3px rgba(34, 109, 72, 0.1);
}

.currency-prefix {
  padding-left: 13px;
  color: #5f6c7e;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.5px;
}

.input-wrap input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 13px 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 600 13px var(--sans);
}

.input-wrap input::placeholder {
  color: #9fa7b2;
  font-weight: 450;
}

.field select {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid #dce1e7;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 500 11px var(--sans);
}

.field .text-input {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid #dce1e7;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 500 11px var(--sans);
}

.field .text-input:focus {
  border-color: #56729a;
  outline: 3px solid rgba(34, 109, 72, 0.1);
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.checkbox-label input {
  width: 15px;
  height: 15px;
  accent-color: var(--green);
}

.tax-fields[hidden] {
  display: none;
}

.customs-mode-fields[hidden] {
  display: none;
}

.field-help {
  margin: 7px 0 0;
  color: #566273;
  font-size: 10px;
  line-height: 1.55;
}

.adjustment-details {
  margin: 0 0 19px;
  padding: 13px;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  background: #ebf5f4;
}

.adjustment-details summary {
  color: #26303d;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.adjustment-details > .field-help {
  margin-bottom: 13px;
}

.adjustment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 12px;
}

.capital-register-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
}

.capital-register-heading h4 {
  margin: 0;
  color: #26303d;
  font-size: 13px;
}

.capital-asset-row {
  position: relative;
  min-width: 0;
  margin: 0 0 12px;
  padding: 15px 13px 5px;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
}

.capital-asset-row legend {
  padding: 0 6px;
  color: #26303d;
  font-size: 11px;
  font-weight: 700;
}

.remove-capital-asset {
  margin: 0 0 12px;
  padding: 5px 9px;
  border: 1px solid #e0e5eb;
  border-radius: 5px;
  background: #fff;
  color: #535d6c;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.field.adjustment-field {
  margin-bottom: 13px;
}

.adjustment-field label {
  min-height: 30px;
  margin-bottom: 5px;
  font-size: 10px;
  line-height: 1.45;
}

.adjustment-field .input-wrap {
  height: 39px;
}

.adjustment-guidance {
  margin: 2px 0 0;
  padding: 10px;
  border-radius: 6px;
  background: #edf0f5;
  color: #5f6b7b;
  font-size: 10px;
  line-height: 1.6;
}

.vat-threshold-note {
  margin-top: 0;
  padding: 10px 11px;
  border-radius: 6px;
  background: #f2f4f7;
  color: #5f6b7b;
}

.calculate-button {
  display: flex;
  width: 100%;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: 700 12px var(--sans);
  transition: background 150ms ease, transform 150ms ease;
}

.calculate-button:hover {
  background: var(--green-dark);
}

.calculate-button:active {
  transform: translateY(1px);
}

.calculate-button:focus-visible,
a:focus-visible {
  outline: 3px solid #c69336;
  outline-offset: 3px;
}

.calculate-button span {
  font-size: 17px;
  font-weight: 400;
}

.form-note {
  margin: 12px 0 0;
  color: #566273;
  font-size: 9px;
  text-align: center;
}

.form-error {
  margin: 10px 0 0;
  color: #a2332d;
  font-size: 10px;
  line-height: 1.5;
}

.results-card {
  padding: 25px 26px 21px;
}

.results-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.result-eyebrow {
  margin-bottom: 8px;
  font-size: 9px;
}

.results-topline h3 {
  margin-bottom: 0;
  font-size: 17px;
}

.result-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--green-light);
  color: var(--green);
}

.result-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.empty-results {
  display: flex;
  min-height: 276px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5e6b7c;
  text-align: center;
}

.empty-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 12px;
  border: 1px dashed #c6ced9;
  border-radius: 12px;
  color: var(--green);
  font-size: 20px;
}

.empty-results p {
  margin-bottom: 6px;
  color: #313d4d;
  font-size: 12px;
  font-weight: 650;
}

.empty-results > span:last-child {
  font-size: 10px;
}

.calculated-results {
  margin-top: 19px;
}

.primary-result {
  display: flex;
  flex-direction: column;
  padding: 15px 16px 14px;
  border-radius: 9px;
  background: #edf0f5;
}

.primary-result > span:first-child {
  color: #4c5b6f;
  font-size: 10px;
  font-weight: 650;
}

.primary-result strong {
  margin: 5px 0 3px;
  color: #154742;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.9px;
  overflow-wrap: anywhere;
}

.effective-rate {
  color: #5a677a;
  font-size: 10px;
}

.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px 13px;
  border-bottom: 1px solid var(--line);
  color: #505c6c;
  font-size: 10px;
}

.balance-row strong {
  color: var(--ink);
  font-size: 11px;
  text-align: right;
}

.breakdown-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0 10px;
  color: #333d4c;
  font-size: 10px;
  font-weight: 700;
}

.breakdown-heading span:last-child {
  color: #566273;
  font-size: 9px;
  font-weight: 500;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  text-align: left;
}

th {
  padding: 8px 5px;
  border-bottom: 1px solid var(--line);
  color: #566273;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

td {
  padding: 8px 5px;
  border-bottom: 1px solid #eef0f3;
  color: #4d5766;
  white-space: nowrap;
}

td:last-child,
th:last-child {
  text-align: right;
}

td:first-child {
  color: #343e4d;
}

.calculation-note {
  margin: 11px 0 0;
  color: #566273;
  font-size: 9px;
  line-height: 1.5;
}

.info-section {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 60px;
  padding: 39px 0 43px;
  border-top: 1px solid #dde2e8;
}

.info-intro h2 {
  font-size: 29px;
  line-height: 1.15;
}

.info-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}

.info-step-number {
  display: inline-block;
  margin-bottom: 14px;
  color: #b17e26;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}

.info-step h3 {
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
}

.info-step p {
  margin-bottom: 0;
  color: #6e7988;
  font-size: 10px;
  line-height: 1.65;
}

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 49px;
  padding: 17px 19px;
  border: 1px solid #e9e3d4;
  border-radius: 9px;
  background: #f8f6ef;
}

.disclaimer-mark {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #c6a96a;
  border-radius: 50%;
  color: #97712d;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
}

.disclaimer h2 {
  margin: 2px 0 5px;
  color: #4a4537;
  font-size: 10px;
  font-weight: 750;
}

.disclaimer p {
  max-width: 930px;
  margin-bottom: 0;
  color: #716c5e;
  font-size: 9px;
  line-height: 1.7;
}

.disclaimer a {
  color: #2e5e5a;
  font-weight: 700;
}

.site-footer {
  min-height: 70px;
  border-top: 1px solid #dde2e8;
  color: #737f8f;
  font-size: 9px;
}

.footer-brand {
  font-size: 15px;
}

.footer-brand .brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 8px 8px 8px 2px;
  font-size: 15px;
}

@media print {
  body.printing-audit-report * {
    visibility: hidden !important;
  }

  body.printing-audit-report #audit-health-print-report,
  body.printing-audit-report #audit-health-print-report * {
    visibility: visible !important;
  }

  body.printing-audit-report #audit-health-print-report {
    position: absolute;
    top: 0;
    left: 0;
    display: block !important;
    width: 100%;
    padding: 0;
    background: #fff;
    color: #111;
  }
}

@media (max-width: 760px) {
  .mobile-install-banner:not([hidden]) {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #d3dae3;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(23, 35, 59, 0.12);
  }

  .mobile-install-banner span {
    display: grid;
    gap: 2px;
  }

  .mobile-install-banner strong {
    color: var(--ink);
    font-size: 13px;
  }

  .mobile-install-banner small {
    color: var(--muted);
    font-size: 11px;
  }

  .site-header,
  .site-footer,
  .estimator-section,
  .international-tax-section,
  .worked-examples-section,
  .audit-health-section,
  .advisory-section,
  .tax-chat-section,
  .case-law-section,
  .info-section,
  .disclaimer,
  .law-updates,
  .other-heads {
    width: min(100% - 40px, 560px);
  }

  .site-header {
    height: 68px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 43px 20px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero-description {
    max-width: 350px;
    font-size: 13px;
  }

  .hero-product-actions {
    max-width: 100%;
    gap: 8px;
    margin: 18px 0;
  }

  .hero-product-action {
    padding: 10px;
  }

  .install-guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    right: -182px;
    opacity: 0.23;
  }

  .trust-note {
    max-width: 250px;
    align-items: flex-start;
    line-height: 1.5;
  }

  .trust-note svg {
    flex: 0 0 auto;
  }

  .estimator-section {
    padding-top: 42px;
    padding-bottom: 47px;
  }

  .advisory-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .tax-chat-message {
    width: 96%;
  }

  .tax-chat-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tax-chat-form-footer button {
    width: 100%;
  }

  .advisory-search-row,
  .advisory-results,
  .international-tax-topics {
    grid-template-columns: 1fr;
  }

  .international-tax-calculator {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .audit-health-workspace {
    padding: 14px;
  }

  .audit-health-controls,
  .audit-health-summary,
  .audit-health-category {
    grid-template-columns: 1fr;
  }

  .audit-health-category > h3 {
    grid-column: 1;
  }

  .audit-health-buttons button {
    flex: 1 1 100%;
  }

  .international-tax-result {
    grid-column: 1;
  }

  .case-law-search-row {
    grid-template-columns: 1fr;
  }

  .case-law-results {
    grid-template-columns: 1fr;
  }

  .advisory-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .year-badge {
    margin-top: 13px;
    font-size: 9px;
    white-space: nowrap;
  }

  .estimator-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .tax-tabs {
    margin-right: -3px;
    margin-left: -3px;
  }

  .calculator-card,
  .results-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .empty-results {
    min-height: 205px;
  }

  .info-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 32px 0;
  }

  .law-updates,
  .other-heads,
  .payment-section {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 29px 0;
  }

  .service-prices {
    grid-column: auto;
  }

  .business-contact {
    grid-column: auto;
  }

  .payment-note {
    grid-column: auto;
  }

  .law-update-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .other-heads ul {
    grid-template-columns: 1fr;
  }

  .info-intro h2 br {
    display: none;
  }

  .disclaimer {
    margin-bottom: 32px;
  }

  .site-footer {
    min-height: 66px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 13px 0;
  }

  .site-footer > span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-header,
  .site-footer,
  .estimator-section,
  .advisory-section,
  .tax-chat-section,
  .case-law-section,
  .info-section,
  .disclaimer,
  .law-updates,
  .other-heads,
  .payment-section {
    width: calc(100% - 32px);
  }

  .header-link {
    font-size: 11px;
  }

  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    letter-spacing: -1.7px;
  }

  .info-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .info-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 7px;
  }

  .info-step-number {
    grid-row: span 2;
    margin: -4px 0 0;
  }

  .info-step h3 {
    margin-bottom: 4px;
  }
}

.multi-tax-section {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 64px;
  scroll-margin-top: 24px;
}

.multi-tax-heading,
.multi-tax-results-header,
.multi-tax-register-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.multi-tax-heading h2 {
  margin: 5px 0 10px;
  font: 500 34px/1.12 var(--serif);
  letter-spacing: -0.7px;
}

.multi-tax-heading > div > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.multi-tax-notice {
  margin: 22px 0;
  padding: 15px 18px;
  border: 1px solid #e8d7a8;
  border-radius: 10px;
  background: #fff8e9;
  color: #59451e;
  font-size: 12px;
  line-height: 1.65;
}

.multi-tax-notice strong {
  display: block;
  margin-bottom: 3px;
}

.multi-tax-form,
.multi-tax-results,
.multi-tax-register {
  margin-top: 18px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.multi-tax-form-heading,
.multi-tax-form-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.multi-tax-form-heading {
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.multi-tax-form-heading h3,
.multi-tax-results-header h3,
.multi-tax-register-heading h3 {
  margin: 0;
  font: 500 23px/1.2 var(--serif);
}

.multi-tax-form-heading p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.multi-tax-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.multi-tax-fields .field {
  min-width: 0;
}

.multi-tax-fields .field > input:not([type="checkbox"]),
.multi-tax-fields .field > select,
.multi-tax-fields .field > textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid #dae0e8;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 12px var(--sans);
}

.multi-tax-fields textarea {
  min-height: 78px;
  resize: vertical;
}

.multi-tax-fields .input-wrap input:not([type="checkbox"]) {
  padding-left: 52px;
}

.multi-tax-fields .field-help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.multi-tax-wide {
  grid-column: 1 / -1;
}

.multi-tax-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.primary-button,
.secondary-button {
  min-height: 41px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font: 700 11px var(--sans);
  transition: background 150ms ease, border-color 150ms ease;
}

.primary-button {
  background: var(--green);
  color: #fff;
}

.primary-button:hover {
  background: var(--green-dark);
}

.secondary-button {
  border-color: #dae0e8;
  background: #fff;
  color: #3e4a5b;
}

.secondary-button:hover {
  border-color: #b4c0d1;
  background: #f6f8fa;
}

.primary-button:focus-visible,
.secondary-button:focus-visible {
  outline: 3px solid rgba(198, 147, 54, 0.65);
  outline-offset: 2px;
}

.multi-tax-form-actions .form-error {
  width: 100%;
}

.multi-tax-results,
.multi-tax-register {
  scroll-margin-top: 24px;
}

.multi-tax-results-header {
  align-items: center;
  margin-bottom: 13px;
}

.multi-tax-results-header .eyebrow,
.multi-tax-register-heading .eyebrow {
  margin-bottom: 5px;
}

.assessment-status,
.multi-tax-summary {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.multi-tax-risk-flags {
  margin: 16px 0;
  padding: 12px 15px;
  border-left: 3px solid #d9a83b;
  background: #fff8e9;
  color: #59451e;
  font-size: 11px;
  line-height: 1.6;
}

.multi-tax-risk-flags:empty {
  display: none;
}

.multi-tax-risk-flags h4 {
  margin: 0 0 5px;
}

.multi-tax-risk-flags ul {
  margin: 0;
  padding-left: 18px;
}

.multi-tax-head-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.multi-tax-head-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #edf6f5;
}

.multi-tax-head-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.multi-tax-head-heading h4 {
  margin: 0;
  font-size: 13px;
}

.assessment-pill {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 99px;
  background: #eceef1;
  color: #485261;
  font-size: 9px;
  font-weight: 700;
}

.assessment-pill-calculated {
  background: #e7ecf2;
  color: var(--green-dark);
}

.assessment-pill-information_required {
  background: #fff2d5;
  color: #75530f;
}

.assessment-pill-not_indicated {
  background: #eef0f2;
  color: #5e6979;
}

.multi-tax-head-card > p,
.assessment-calculation p,
.assessment-calculation li {
  color: #4e5969;
  font-size: 10px;
  line-height: 1.55;
}

.assessment-detail,
.assessment-information,
.assessment-verification {
  margin: 7px 0 0;
}

.assessment-information {
  color: #75530f !important;
}

.assessment-verification {
  color: #5f6b7c !important;
}

.assessment-calculation {
  margin-top: 11px;
  padding: 10px;
  border-radius: 7px;
  background: var(--green-light);
}

.assessment-calculation > strong {
  color: var(--green-dark);
  font-size: 11px;
}

.assessment-calculation p {
  margin-bottom: 0;
}

.assessment-calculation details {
  margin-top: 7px;
  color: #3c485b;
  font-size: 10px;
}

.assessment-calculation ul {
  padding-left: 17px;
}

.multi-tax-total-note {
  margin: 17px 0 0;
  padding: 12px;
  border-radius: 7px;
  background: #f1f3f6;
  color: #4e5969;
  font-size: 11px;
  line-height: 1.55;
}

.multi-tax-register-heading {
  align-items: center;
}

.multi-tax-register > p {
  color: var(--muted);
  font-size: 11px;
}

.multi-tax-register-list {
  display: grid;
  gap: 8px;
}

.multi-tax-register-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.multi-tax-register-row > div {
  display: grid;
  gap: 4px;
  font-size: 11px;
}

.multi-tax-register-row > div > span {
  color: var(--muted);
  font-size: 10px;
}

.phase6-section {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line);
}

.phase6-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.phase6-heading h2 {
  margin: 8px 0;
  font: 700 30px/1.12 var(--serif);
}

.phase6-heading > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.phase6-status {
  flex: 0 0 auto;
  padding: 8px 0 8px 12px;
  border-left: 3px solid var(--gold);
  color: #4d5868;
  font-size: 11px;
  font-weight: 700;
}

.phase6-alert {
  margin: 16px 0;
  padding: 11px 14px;
  border-left: 3px solid #b07827;
  background: #f5f2e9;
  color: #363e4a;
  font-size: 12px;
  line-height: 1.55;
}

.phase6-alert[data-kind="error"] {
  border-color: #9c3939;
  background: #fbefed;
  color: #682b2b;
}

.phase6-alert[data-kind="success"] {
  border-color: var(--green);
  background: var(--green-light);
}

.phase6-auth-panel,
.phase6-workspace-panel {
  padding: 20px 0;
}

.phase6-auth-panel h3,
.phase6-view-heading h3 {
  margin: 0 0 14px;
  font: 700 20px/1.2 var(--serif);
}

.phase6-auth-actions,
.phase6-actions,
.phase6-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.phase6-tabs {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.phase6-tab {
  padding: 8px 11px;
  border: 1px solid #dae0e8;
  border-radius: 6px;
  background: #fff;
  color: #3e4a5b;
  cursor: pointer;
  font: 600 11px var(--sans);
}

.phase6-tab[aria-current="page"] {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
}

.phase6-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
  max-width: 850px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.phase6-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.phase6-field--wide,
.phase6-form .phase6-actions {
  grid-column: 1 / -1;
}

.phase6-field label {
  color: #3e4a5b;
  font-size: 11px;
  font-weight: 700;
}

.phase6-field input,
.phase6-field select,
.phase6-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #d5dae1;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: 13px var(--sans);
}

.phase6-field textarea {
  min-height: 84px;
  resize: vertical;
}

.phase6-table-wrap {
  width: 100%;
  margin: 12px 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.phase6-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}

.phase6-table th,
.phase6-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.phase6-table th {
  color: #4d5868;
  font-size: 10px;
  text-transform: uppercase;
}

.phase6-empty {
  padding: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.phase6-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 18px;
  margin: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.phase6-metric {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.phase6-metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.phase6-metric strong {
  display: block;
  margin-top: 4px;
  font: 700 23px/1.1 var(--serif);
}

.phase6-result {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}

.phase6-button-link {
  border: 0;
  background: none;
  color: var(--green-dark);
  cursor: pointer;
  font: 700 11px var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .multi-tax-section {
    width: calc(100% - 40px);
    padding: 37px 0 46px;
  }

  .multi-tax-heading,
  .multi-tax-form-heading,
  .multi-tax-results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .multi-tax-heading h2 {
    font-size: 29px;
  }

  .multi-tax-fields,
  .multi-tax-head-list {
    grid-template-columns: 1fr;
  }

  .multi-tax-form,
  .multi-tax-results,
  .multi-tax-register {
    padding: 17px;
  }

  .multi-tax-form-heading {
    gap: 8px;
  }

  .phase6-section {
    width: calc(100% - 40px);
  }

  .phase6-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .phase6-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .multi-tax-section {
    width: calc(100% - 32px);
  }

  .phase6-section {
    width: calc(100% - 32px);
  }

  .phase6-heading h2 {
    font-size: 27px;
  }

  .phase6-form {
    grid-template-columns: 1fr;
  }

  .phase6-field--wide,
  .phase6-form .phase6-actions {
    grid-column: auto;
  }
}

/* Account and subscriptions (account.js) */
.account-section .phase6-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-panel { display: grid; gap: 16px; padding: 18px 0 4px; }
.account-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.account-who p { margin: 0; color: var(--muted); font-size: 13px; }
.account-who strong { color: var(--ink); }
.account-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.account-plan { display: grid; gap: 10px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.account-plan[data-active="true"] { border-color: var(--green); box-shadow: inset 3px 0 0 var(--green); }
.account-plan-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.account-plan h4 { margin: 0; font: 700 19px/1.2 var(--serif); }
.account-plan-price { color: var(--green-dark); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.account-plan p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-plan .account-plan-state { color: var(--green-dark); font-weight: 600; }
.account-plan .account-plan-state[data-kind="lapsed"] { color: #8a3b17; }
.account-plan button { justify-self: start; }
.account-plan button[disabled] { opacity: 0.55; cursor: not-allowed; }
.account-firm { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.account-firm h4 { margin: 0; font: 700 18px/1.2 var(--serif); }
.account-firm p { margin: 0; color: var(--muted); font-size: 13px; }
.account-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 72ch; }
.account-security { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.account-security h4 { margin: 0; font: 700 18px/1.2 var(--serif); }
.account-security p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-security button { justify-self: start; }
.account-qr { width: 180px; height: 180px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.account-secret { overflow-wrap: anywhere; font-size: 13px; }
.tax-chat-premium { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--gold); background: #faf5e8; color: #4a3f22; font-size: 13px; }
.tax-chat-premium a { color: var(--green-dark); font-weight: 700; }
@media (max-width: 720px) {
  .account-plans, .account-section .phase6-form { grid-template-columns: 1fr; }
}

/* Live web results under the site search boxes (web-search.js) */
.web-search-note { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.web-search-panel { display: grid; gap: 10px; margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 8px; background: var(--white); }
.web-search-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.web-search-head h3 { margin: 0; font: 700 19px/1.2 var(--serif); }
.web-search-badge { padding: 3px 9px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: 11px; font-weight: 700; }
.web-search-status, .web-search-summary { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; max-width: 75ch; }
.web-search-status { color: var(--muted); }
.web-search-panel h4 { margin: 4px 0 0; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.web-search-sources { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 13px; }
.web-search-sources a { color: var(--green-dark); overflow-wrap: anywhere; }
.web-search-caveat { margin: 0; color: var(--muted); font-size: 12px; }

/* Visitor feedback (site-feedback.js) */
.site-feedback-open {
  position: fixed; right: 16px; bottom: 16px; z-index: 900;
  padding: 8px 14px; border: 0; border-radius: 999px;
  background: #0f2a44; color: #fff; font: 600 14px/1 inherit; cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 42, 68, 0.25);
}
.site-feedback-open:hover, .site-feedback-open:focus-visible { background: #0b7a75; }
.site-feedback-dialog { width: min(460px, calc(100vw - 32px)); border: 0; border-radius: 14px; padding: 22px; }
.site-feedback-dialog::backdrop { background: rgba(10, 20, 35, 0.45); }
.site-feedback-dialog h2 { margin: 0 0 14px; font-size: 1.15rem; }
.site-feedback-dialog label { display: block; margin: 14px 0 6px; font-weight: 600; }
.site-feedback-dialog textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #c9d3de; border-radius: 8px; font: inherit; }
.site-feedback-rates { display: flex; gap: 10px; }
.site-feedback-rate { flex: 1; padding: 10px; border: 1px solid #c9d3de; border-radius: 8px; background: #fff; font: inherit; cursor: pointer; }
.site-feedback-rate[aria-pressed="true"] { border-color: #0b7a75; background: #e6f5f3; font-weight: 600; }
.site-feedback-note, .site-feedback-status { margin: 8px 0 0; font-size: 0.85rem; color: #4a5a6a; }
.site-feedback-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.chat-answer-feedback { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.85rem; color: #4a5a6a; }
.chat-answer-feedback button { padding: 2px 8px; border: 1px solid #c9d3de; border-radius: 6px; background: #fff; cursor: pointer; font-size: 1rem; }
.chat-answer-feedback button:disabled { opacity: 0.5; cursor: default; }
@media print { .site-feedback-open, .chat-answer-feedback { display: none; } }

/* Tidier Tax Knowledge page: guides open on click, notices fold away. */
.advisory-results { grid-template-columns: 1fr; gap: 8px; }
.advisory-card { padding: 0; }
.advisory-card > summary {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 16px; cursor: pointer; list-style: none;
}
.advisory-card > summary::-webkit-details-marker { display: none; }
.advisory-card > summary::after { content: "+"; margin-left: auto; color: var(--green); font-weight: 700; }
.advisory-card[open] > summary::after { content: "−"; }
.advisory-card > summary .advisory-card-topic { flex: 0 0 92px; margin: 0; }
.advisory-card > summary h3 { margin: 0; }
.advisory-card[open] { border-color: #9fb9b6; }
.advisory-card > p { margin: 0 16px 10px; font-size: 12px; }
.advisory-card > p:last-child { margin-bottom: 14px; }
.advisory-card .advisory-next-label { display: inline; }
.advisory-card .advisory-sources { display: block; font-size: 10px; color: #6e7988; }
.advisory-show-more {
  display: block; margin: 12px auto 0; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--green); font-weight: 650; cursor: pointer;
}
.advisory-caveat > summary { cursor: pointer; font-size: 12px; font-weight: 600; }
.advisory-caveat > p { margin: 8px 0 0; }
.worked-examples-toggle > summary {
  cursor: pointer; padding: 10px 0; color: var(--green); font-weight: 650;
}
@media (max-width: 640px) {
  .advisory-card > summary { flex-wrap: wrap; gap: 4px; }
  .advisory-card > summary .advisory-card-topic { flex-basis: 100%; }
}

@media (max-width: 760px) {
  .site-feedback-open { bottom: 88px; }
}
