/* FluxFront — tax-sync · sliced verbatim from the original sections.css block (render-identical). See docs/marketing-site-architecture.md for the selector map. */
/* ===================== TAX SYNC ===================== */
.tax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .tax-grid { grid-template-columns: 1fr; } }
.tax-card { position: relative; border-radius: var(--r-lg); padding: 24px; background: var(--cream);
  border: 1px solid var(--hairline-2); }
.tax-bad { background: var(--surface); }
.tax-good { border-color: var(--teal-600); box-shadow: 0 0 0 1px var(--teal-600), var(--sh-md); }
.tax-flag { position: absolute; top: -1px; right: 22px; transform: translateY(-50%);
  background: var(--teal); color: var(--ink); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: var(--r-pill); }
.tax-card-h { display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.tax-card-tag { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.tax-method { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); }
.tax-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.tax-table td { padding: 6px 0; border-bottom: 1px dashed var(--hairline); color: var(--ink-2); vertical-align: top; }
.tax-table td.ti-name { color: var(--ink); width: 56%; }
.tax-table td.ti-base, .tax-table td.ti-tax { text-align: right; white-space: nowrap; }
.tax-table td.ti-tax { color: var(--ink-3); width: 22%; }
.tax-table .ti-tax b { color: var(--ink-2); font-weight: 500; }
.tax-sum { margin-top: 14px; }
.tax-sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0;
  font-size: 0.85rem; color: var(--ink-2); }
.tax-sum-row em { font-style: normal; font-size: 0.72rem; color: var(--ink-3); }
.tax-sum-row .mono { color: var(--ink); }
.tax-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--hairline-2);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.tax-total span { color: var(--ink); }
.tax-verdict { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; padding: 12px 14px;
  border-radius: var(--r-md); font-size: 0.82rem; line-height: 1.4; }
.tax-verdict svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.tax-verdict.bad { background: var(--bad-wash); color: #9B2C2C; }
.tax-verdict.good { background: var(--teal-wash); color: var(--teal-800); }
.tax-verdict b { font-weight: 600; }

.tax-drift { margin-top: 22px; padding: 26px clamp(20px, 3vw, 34px); display: grid;
  grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; }
@media (max-width: 760px) { .tax-drift { grid-template-columns: 1fr; } }
.tax-drift-lbl { display: block; font-size: var(--t-sm); font-weight: 500; margin-bottom: 14px; }
.tax-drift-note { font-size: var(--t-xs); color: var(--ink-3); margin-top: 12px; }
.slider-row { display: flex; align-items: center; gap: 16px; }
.slider-out { font-size: 1.3rem; font-weight: 600; color: var(--ink); min-width: 2.4ch; text-align: right; }
.tax-drift-out { display: grid; gap: 12px; }
.drift-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-md);
  border: 1px solid var(--hairline); }
.drift-cap { font-size: var(--t-xs); color: var(--ink-2); }
.drift-num { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.drift-bad { background: var(--bad-wash); border-color: #F0D2D2; }
.drift-bad .drift-num { color: #B23030; }
.drift-good { background: var(--teal-wash); border-color: var(--teal-wash-2); }
.drift-zero { color: var(--teal-700); }

/* shared range slider */
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px;
  background: var(--hairline-2); outline: none; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--cream); border: 2px solid var(--teal-700); cursor: grab;
  box-shadow: var(--sh-sm); transition: transform var(--d-2) var(--e-spring); }
.slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--cream);
  border: 2px solid var(--teal-700); cursor: grab; box-shadow: var(--sh-sm); }

