/* Hallmark · macrostructure: Index-First + Branching Duty Ledger · genre: modern-minimal · theme: XIEHENG technical · anchor hue: manufacturing green
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41) · nav/footer: locked site chrome · slop: pass (42–45)
 * honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · icons: pass (30) · mobile: pass (34,49,50–57)
 * image policy: existing product assets only; representative family imagery is not project or test evidence
 */
@import url("/assets/css/tokens.css?v=20260829");
.tf-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-bottom: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.tf-crumbs a {
  color: var(--color-ink);
}
.tf-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-xl);
}
.tf-section-head h2 {
  margin: 0;
}
.tf-section-head > p {
  margin: 0;
  color: var(--color-muted);
}
.tf-family-ledger,
.tf-family-guides {
  padding: var(--space-2xl) 0;
  border-top: var(--rule-thin) solid var(--color-rule);
}
.tf-family-ledger {
  background: var(--color-paper);
}
.tf-family-guides {
  background: var(--color-paper-2);
}
.tf-duty-ledger {
  border-top: var(--rule-thin) solid var(--color-rule-2);
  margin-bottom: var(--space-lg);
}
.tf-duty-row {
  display: grid;
  grid-template-columns: minmax(11rem, 0.7fr) minmax(12rem, 0.8fr) minmax(
      17rem,
      1.5fr
    );
  gap: var(--space-md);
  align-items: center;
  min-height: 5rem;
  padding: var(--space-md) 0;
  border-bottom: var(--rule-thin) solid var(--color-rule);
  color: var(--color-ink);
  text-decoration: none;
}
.tf-duty-row span {
  color: var(--color-accent-dark);
}
.tf-duty-row strong {
  font-weight: 500;
}
.tf-duty-row:hover span,
.tf-duty-row:focus-visible span {
  text-decoration: underline;
}
.tf-duty-row:focus-visible {
  outline: var(--rule-focus) solid var(--color-focus);
  outline-offset: var(--space-3xs);
}
.tf-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule-thin) solid var(--color-rule-2);
}
.tf-guide-card {
  display: grid;
  align-content: start;
  min-height: 17rem;
  padding: var(--space-lg);
  border-right: var(--rule-thin) solid var(--color-rule);
  border-bottom: var(--rule-thin) solid var(--color-rule);
  color: var(--color-ink);
  text-decoration: none;
}
.tf-guide-card:nth-child(2n) {
  border-right: 0;
}
.tf-guide-card span {
  color: var(--color-accent-dark);
  font: 600 var(--text-xs)/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tf-guide-card h3 {
  margin: var(--space-md) 0 var(--space-xs);
  font-size: var(--text-xl);
}
.tf-guide-card p {
  margin: 0;
  color: var(--color-muted);
}
.tf-guide-card strong {
  margin-top: auto;
  padding-top: var(--space-md);
}
.tf-guide-card:hover,
.tf-guide-card:focus-visible {
  background: var(--color-paper);
}
.tf-guide-card:focus-visible {
  outline: var(--rule-focus) solid var(--color-focus);
  outline-offset: calc(var(--rule-focus) * -1);
}
.tf-family-action {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-lg);
}
.tf-family-action span {
  color: var(--color-muted);
}
.tf-document {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  gap: var(--space-2xl);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.tf-document article {
  min-width: 0;
}
.tf-scope {
  border-block: var(--rule-thin) solid var(--color-rule-2);
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-xl);
}
.tf-scope h2 {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tf-scope div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}
.tf-scope p {
  margin: 0;
  color: var(--color-ink-2);
}
.tf-prose {
  max-width: 74rem;
  padding: var(--space-lg) 0;
  border-bottom: var(--rule-thin) solid var(--color-rule);
}
.tf-prose > p {
  max-width: 70ch;
  color: var(--color-ink-2);
  font-size: var(--text-lg);
  line-height: 1.75;
}
.tf-ledger {
  margin-top: var(--space-lg);
  border-top: var(--rule-thin) solid var(--color-rule-2);
}
.tf-ledger-head,
.tf-ledger-row {
  display: grid;
  grid-template-columns: minmax(9rem, 0.65fr) minmax(14rem, 1.2fr) minmax(
      14rem,
      1.15fr
    );
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: var(--rule-thin) solid var(--color-rule);
}
.tf-ledger-head {
  font: 600 var(--text-xs)/1.2 var(--font-mono);
  text-transform: uppercase;
  color: var(--color-muted);
}
.tf-ledger-row span {
  color: var(--color-muted);
}
.tf-ledger-row strong {
  font-weight: 500;
}
.tf-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule-thin) solid var(--color-rule-2);
}
.tf-inputs > div {
  display: grid;
  gap: var(--space-2xs);
  padding: var(--space-md);
  border-right: var(--rule-thin) solid var(--color-rule);
  border-bottom: var(--rule-thin) solid var(--color-rule);
}
.tf-inputs > div:nth-child(2n) {
  border-right: 0;
}
.tf-inputs span {
  color: var(--color-muted);
}
.tf-questions li + li {
  margin-top: var(--space-xs);
}
.tf-sources > div {
  display: grid;
}
.tf-sources a {
  display: grid;
  gap: var(--space-2xs);
  padding: var(--space-md) 0;
  border-top: var(--rule-thin) solid var(--color-rule);
  color: var(--color-ink);
  text-decoration: none;
}
.tf-sources a span {
  color: var(--color-muted);
}
.tf-sources a:hover b,
.tf-sources a:focus-visible b {
  text-decoration: underline;
}
.tf-sources a:focus-visible {
  outline: var(--rule-focus) solid var(--color-focus);
}
.tf-rail {
  position: sticky;
  top: var(--space-md);
  align-self: start;
  border-top: var(--rule-thin) solid var(--color-ink);
}
.tf-rail h2 {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.tf-rail > a {
  display: grid;
  gap: var(--space-xs);
  padding: var(--space-md) 0;
  border-top: var(--rule-thin) solid var(--color-rule);
  color: var(--color-ink);
  text-decoration: none;
}
.tf-rail > a span {
  color: var(--color-accent-dark);
}
.tf-rail > a:hover b,
.tf-rail > a:focus-visible b {
  text-decoration: underline;
}
.tf-rail > a:focus-visible {
  outline: var(--rule-focus) solid var(--color-focus);
}
.tf-family-link {
  margin-top: var(--space-md);
}
.tf-review {
  display: grid;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  border: var(--rule-thin) solid var(--color-signal);
  background: var(--color-paper-2);
  color: var(--color-signal-ink);
}
.tf-next {
  padding: var(--space-2xl) 0;
  background: var(--color-ink);
  color: var(--color-paper);
}
.tf-next p {
  max-width: 65ch;
  color: var(--color-paper-3);
}
.tf-product-support {
  padding: var(--space-2xl) 0;
  border-top: var(--rule-thin) solid var(--color-rule);
  background: var(--color-paper-2);
}
.tf-product-support > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-xl);
}
.tf-product-support p {
  color: var(--color-muted);
}
.tf-product-support nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule-thin) solid var(--color-rule-2);
}
.tf-product-support nav a {
  min-height: 4rem;
  padding: var(--space-md);
  border-right: var(--rule-thin) solid var(--color-rule);
  border-bottom: var(--rule-thin) solid var(--color-rule);
  color: var(--color-ink);
  text-decoration: none;
}
.tf-product-support nav a:nth-child(2n) {
  border-right: 0;
}
.tf-product-support nav a:hover,
.tf-product-support nav a:focus-visible {
  background: var(--color-paper);
}
.tf-product-support nav a:focus-visible {
  outline: var(--rule-focus) solid var(--color-focus);
  outline-offset: calc(var(--rule-focus) * -1);
}
.tf-product-support .tf-tool-link {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.tf-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: var(--space-xl);
  align-items: start;
}
.tf-tool form,
.tf-result {
  border-top: var(--rule-thin) solid var(--color-ink);
  padding-top: var(--space-lg);
}
.tf-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.tf-field-grid label {
  display: grid;
  gap: var(--space-2xs);
}
.tf-field-grid label:nth-last-child(-n + 7) {
  grid-column: 1/-1;
}
.tf-field-grid label > span {
  font-weight: 650;
}
.tf-field-grid input,
.tf-field-grid select,
.tf-field-grid textarea {
  width: 100%;
  min-height: 3rem;
  border: var(--rule-thin) solid var(--color-rule-2);
  border-radius: var(--radius-input);
  padding: var(--space-xs);
  background: var(--color-paper);
  color: var(--color-ink);
  font: inherit;
}
.tf-field-grid textarea {
  min-height: 6.5rem;
  resize: vertical;
}
.tf-field-grid input:hover,
.tf-field-grid select:hover,
.tf-field-grid textarea:hover {
  border-color: var(--color-ink-2);
}
.tf-field-grid input:focus-visible,
.tf-field-grid select:focus-visible,
.tf-field-grid textarea:focus-visible {
  outline: var(--rule-focus) solid var(--color-focus);
  outline-offset: var(--space-3xs);
}
.tf-field-grid select:active,
.tf-field-grid input:active,
.tf-field-grid textarea:active {
  border-color: var(--color-accent-dark);
}
.tf-field-grid [disabled] {
  background: var(--color-neutral);
  color: var(--color-muted);
  cursor: not-allowed;
}
.tf-field-grid [data-state="error"] {
  border-color: var(--color-error);
}
.tf-field-grid [data-state="success"] {
  border-color: var(--color-accent-dark);
}
.tf-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.tf-tool .button[data-state="loading"] {
  opacity: 0.7;
  cursor: wait;
}
.tf-tool .button[data-state="error"] {
  border-color: var(--color-error);
  color: var(--color-error);
}
.tf-tool .button[data-state="success"] {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-dark);
  color: var(--color-accent-dark);
}
.tf-feedback {
  min-height: 1.5em;
  color: var(--color-muted);
}
.tf-result {
  position: sticky;
  top: var(--space-md);
}
.tf-result pre {
  max-height: 48rem;
  overflow: auto;
  white-space: pre-wrap;
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  border: var(--rule-thin) solid var(--color-rule-2);
  background: var(--color-ink);
  color: var(--color-paper);
  font: var(--text-sm)/1.6 var(--font-mono);
}
.tf-result pre:focus-visible {
  outline: var(--rule-focus) solid var(--color-focus);
  outline-offset: var(--space-3xs);
}
.tf-copy-fallback {
  position: fixed;
  inset-inline-start: -9999px;
  inset-block-start: 0;
}
.tf-boundary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: var(--rule-thin) solid var(--color-rule-2);
}
.tf-boundary-grid article {
  padding: var(--space-md);
  border-right: var(--rule-thin) solid var(--color-rule);
  border-bottom: var(--rule-thin) solid var(--color-rule);
}
.tf-boundary-grid article:last-child {
  border-right: 0;
}
.tf-boundary-grid p {
  color: var(--color-muted);
}
.tf-family,
.tf-support,
.tf-tool {
  overflow-x: clip;
}
.tf-family h1,
.tf-family h2,
.tf-family h3,
.tf-support h1,
.tf-support h2,
.tf-support h3,
.tf-tool h1,
.tf-tool h2,
.tf-tool h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tf-support .hero,
.tf-tool .hero {
  padding-block-start: var(--space-xl);
  padding-block-end: var(--space-2xl);
}
.tf-rail,
.tf-result {
  top: var(--space-3xl);
}
.tf-field-grid input,
.tf-field-grid select,
.tf-field-grid textarea {
  outline: var(--rule-focus) solid transparent;
  outline-offset: var(--space-3xs);
}
.tf-field-grid [disabled] {
  opacity: 0.55;
}
.tf-field-grid [data-state="loading"] {
  background: var(--color-paper-2);
  cursor: wait;
}
.tf-tool-actions {
  align-items: center;
}
@media (max-width: 64rem) {
  .tf-document,
  .tf-tool-grid,
  .tf-product-support > .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .tf-rail,
  .tf-result {
    position: static;
  }
  .tf-boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tf-boundary-grid article:nth-child(2n) {
    border-right: 0;
  }
  .tf-boundary-grid article:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 48rem) {
  .tf-section-head,
  .tf-duty-row,
  .tf-ledger-head,
  .tf-ledger-row,
  .tf-scope div {
    grid-template-columns: minmax(0, 1fr);
  }
  .tf-ledger-head {
    display: none;
  }
  .tf-duty-row {
    gap: var(--space-xs);
  }
  .tf-guide-grid,
  .tf-inputs,
  .tf-product-support nav,
  .tf-field-grid,
  .tf-boundary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tf-guide-card,
  .tf-inputs > div,
  .tf-product-support nav a,
  .tf-boundary-grid article {
    border-right: 0;
  }
  .tf-field-grid label {
    grid-column: 1/-1;
  }
  .tf-tool-actions {
    display: grid;
  }
  .tf-tool-actions .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: var(--dur-short) !important;
    animation-iteration-count: 1 !important;
    transition-duration: var(--dur-short) !important;
    scroll-behavior: auto !important;
  }
}
.tf-video-evidence {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(145deg, #10251f, #17372d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  color: #eef8f3;
  box-shadow: 0 1rem 2.8rem rgba(16, 37, 31, 0.16);
}
.tf-video-evidence .eyebrow {
  margin: 0 0 0.45rem;
  color: #9fd5bb;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.tf-video-evidence h2,
.tf-video-evidence h3 {
  color: #fff;
}
.tf-video-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
}
.tf-video-heading > p {
  margin: 0;
  color: #cfe1d8;
  line-height: 1.7;
}
.tf-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.tf-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #07110e;
  border-radius: 0.9rem;
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.28);
}
.tf-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.tf-video-caption {
  margin: 0.8rem 0 0;
  color: #bcd0c6;
  font-size: 0.86rem;
  line-height: 1.6;
}
.tf-video-watch {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.9rem;
}
.tf-video-watch h3 {
  margin: 0 0 0.75rem;
}
.tf-video-watch ol {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding-left: 1.3rem;
}
.tf-video-watch li {
  color: #dbe9e2;
  line-height: 1.55;
}
.tf-video-watch a {
  color: #b9ebd0;
  font-weight: 800;
}
.tf-video-takeaway {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.tf-video-takeaway h3 {
  margin: 0 0 0.4rem;
}
.tf-video-takeaway p {
  margin: 0;
  color: #dbe9e2;
  line-height: 1.7;
}
.tf-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.tf-video-actions .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}
.tf-video-actions .button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 56rem) {
  .tf-video-heading,
  .tf-video-grid {
    grid-template-columns: 1fr;
  }
  .tf-video-watch {
    order: 2;
  }
}
@media (max-width: 35rem) {
  .tf-video-evidence {
    padding: 1.15rem;
    border-radius: 0.9rem;
  }
  .tf-video-actions {
    display: grid;
  }
  .tf-video-actions .button {
    width: 100%;
    text-align: center;
  }
}
@media print {
  .site-header,
  .hero,
  .tf-tool-actions,
  .tf-boundary-grid,
  .skip,
  footer {
    display: none !important;
  }
  .band {
    padding: 0;
  }
  .tf-tool-grid {
    display: block;
  }
  .tf-result {
    border: 0;
  }
  .tf-result pre {
    max-height: none;
    color: var(--color-ink);
    background: var(--color-paper);
    border-color: var(--color-rule-2);
  }
}
