/* TradeTwin AI — B2B Exporter Agentic Spec Hub & 3-Second Landed-Cost Engine
 * Harmonized with SourceRadar slate-obsidian industrial palette (#0e1116 / #ff5a3c / #f5b942 / #3ecf8e).
 */

.site-header[data-fleet-header],
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 8px max(24px, calc((100vw - 1140px) / 2));
  min-height: 64px;
}

header.site-header .header-inner {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 48px;
  flex: 1 1 auto;
  gap: 24px;
}

header.site-header .main-nav {
  flex-wrap: wrap;
  gap: 14px 22px;
}

header.site-header .main-nav a.active-nav {
  color: var(--text);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.tt-hero {
  padding: 64px 0 44px;
  background: radial-gradient(980px 420px at 78% -12%, rgba(255, 90, 60, 0.13), transparent 62%),
              linear-gradient(180deg, #11161e 0%, #0e1116 100%);
  border-bottom: 1px solid var(--line);
}

.tt-eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tt-hero h1 {
  font-size: clamp(1.95rem, 4.2vw, 3.05rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.022em;
  max-width: 900px;
  color: var(--text);
}

.tt-hero-lead {
  max-width: 760px;
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 1.06rem;
  line-height: 1.65;
}

.tt-hero-lead strong {
  color: var(--text);
}

.tt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.tt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.tt-btn:active {
  transform: translateY(1px);
}

.tt-btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.tt-btn-primary:hover {
  background: #eb4b2d;
}

.tt-btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--line);
}

.tt-btn-secondary:hover {
  background: var(--card-hover);
  border-color: #415164;
}

.tt-btn-sm {
  padding: 7px 13px;
  font-size: 0.83rem;
  border-radius: 8px;
}

.tt-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.tt-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tt-metric-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.tt-metric-lbl {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.tt-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.tt-section-alt {
  background: var(--bg-soft);
}

.tt-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.tt-step-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.tt-section-head h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.tt-section-sub {
  color: var(--text-dim);
  max-width: 720px;
  font-size: 0.96rem;
  margin-top: 6px;
}

.tt-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.tt-scan-bar {
  display: grid;
  grid-template-columns: 2fr 1.2fr 150px auto;
  gap: 12px;
  align-items: end;
}

.tt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tt-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.tt-field input,
.tt-field select,
.tt-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 0.93rem;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s ease;
}

.tt-field input:focus,
.tt-field select:focus,
.tt-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.tt-preset-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.tt-preset-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tt-preset-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.tt-chip-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text-dim);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.tt-chip-btn:hover,
.tt-chip-btn.active {
  color: var(--text);
  border-color: var(--gold);
  background: rgba(245, 185, 66, 0.1);
}

.tt-paste-drawer {
  margin-top: 14px;
}

.tt-paste-drawer[hidden] {
  display: none;
}

/* Audit Report Output */
.tt-report {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.tt-report[hidden] {
  display: none;
}

.tt-score-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.tt-score-num {
  font-size: 2.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.tt-score-num.high { color: var(--green); }
.tt-score-num.mid { color: var(--gold); }
.tt-score-num.low { color: var(--red); }

.tt-check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 14px;
}

.tt-check-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tt-check-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.tt-check-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
}

.tt-status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tt-status-pill.pass {
  color: var(--green);
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.35);
}

.tt-status-pill.warn {
  color: var(--gold);
  background: rgba(245, 185, 66, 0.12);
  border: 1px solid rgba(245, 185, 66, 0.35);
}

.tt-status-pill.fail {
  color: var(--red);
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
}

.tt-check-ev {
  font-size: 0.83rem;
  color: var(--text-dim);
}

.tt-check-fix {
  font-size: 0.82rem;
  color: var(--text);
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.tt-prompts-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 11px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.tt-prompts-box h3 {
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.tt-prompt-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.tt-prompt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.84rem;
}

.tt-prompt-engine {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 2px;
}

/* Two-Column Spec & Widget Workbench */
.tt-workbench {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

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

.tt-form-grid .span-2 {
  grid-column: 1 / -1;
}

.tt-subhead {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 18px 0 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.tt-tier-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.tt-pack-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 10px;
}

.tt-tab-btn {
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.tt-tab-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.tt-code-wrap {
  position: relative;
}

.tt-code-out {
  width: 100%;
  min-height: 210px;
  max-height: 300px;
  overflow: auto;
  padding: 14px;
  border-radius: 10px;
  background: #090c10;
  border: 1px solid var(--line);
  color: #dbe6f5;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.79rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.tt-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tt-toast {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  align-self: center;
}

/* Comparison & Commercial Honesty Table */
.tt-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.tt-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tt-compare-table th,
.tt-compare-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tt-compare-table th {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-soft);
}

.tt-compare-table tr.highlight-row td {
  background: rgba(62, 207, 142, 0.06);
}

.tt-disclosure-box {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid rgba(245, 185, 66, 0.3);
  color: var(--text-dim);
  font-size: 0.87rem;
}

.tt-disclosure-box strong {
  color: var(--gold);
}

.tt-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.tt-faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

.tt-faq-item h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.tt-faq-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Step 1 -> Step 2 Auto-Fill & Audit Handoff Bar */
.tt-report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(62, 207, 142, 0.07);
  border: 1px solid rgba(62, 207, 142, 0.28);
}

.tt-report-actions-hint {
  font-size: 0.83rem;
  color: var(--text-dim);
  margin-right: auto;
}

/* Step 3 Multi-SKU Batch Compiler */
.tt-batch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.tt-batch-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 14px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.tt-batch-status strong {
  color: var(--text);
}

.tt-unlock-callout {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 90, 60, 0.09);
  border: 1px solid rgba(255, 90, 60, 0.36);
  font-size: 0.86rem;
  color: var(--text);
}

.tt-unlock-callout[hidden] {
  display: none;
}

.tt-file-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.tt-file-label input[type="file"] {
  display: none;
}

.tt-autoextract-box {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  margin-bottom: 14px;
}

.tt-autoextract-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .tt-autoextract-row {
    grid-template-columns: 1fr;
  }
}

/* Industry Vertical Playbook Strip & Pages */
.tt-playbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.tt-playbook-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.16s ease, transform 0.14s ease;
}

.tt-playbook-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.tt-playbook-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.tt-playbook-card h3 {
  font-size: 1.06rem;
  line-height: 1.35;
}

.tt-playbook-card p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.tt-playbook-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--accent);
}

.tt-playbook-article {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.tt-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 12px;
}

.tt-spec-table th,
.tt-spec-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tt-spec-table th {
  width: 34%;
  color: var(--text-dim);
  font-weight: 600;
  background: var(--bg-soft);
}

@media (max-width: 920px) {
  .tt-scan-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .tt-workbench,
  .tt-batch-grid,
  .tt-playbook-article {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .tt-scan-bar,
  .tt-form-grid,
  .tt-tier-inputs {
    grid-template-columns: minmax(0, 1fr);
  }
  header.site-header .main-nav {
    display: flex;
    font-size: 0.84rem;
    gap: 10px 14px;
  }
}

/* Self-Serve BEP-20 USDT Checkout Drawer */
.tt-web3-drawer {
  margin-top: 12px;
  padding: 14px 15px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid rgba(62, 207, 142, 0.35);
  font-size: 0.84rem;
}

.tt-web3-drawer[hidden],
.tt-web3-quote-box[hidden],
.tt-web3-token-box[hidden] {
  display: none;
}

.tt-web3-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 10px;
  cursor: pointer;
}

.tt-web3-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.tt-web3-quote-box {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tt-web3-kv {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.tt-web3-mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--gold);
  word-break: break-all;
}

.tt-web3-tx-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 4px;
}

.tt-web3-tx-row input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

.tt-web3-token-box {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.45);
}

@media (max-width: 560px) {
  .tt-web3-tx-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* V2.0 CRO: Before/After AI Extraction Proof, Zero-CSV Badge, MCP Install & 360px Mobile Safeguards */
.tt-panel,
.tt-workbench > *,
.tt-batch-grid > *,
.tt-playbook-article > *,
.tt-proof-grid > *,
.price-grid > *,
.tt-faq-grid > * {
  min-width: 0;
}

.tt-proof-section {
  padding: 36px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

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

.tt-proof-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.tt-proof-card h3 {
  font-size: 0.98rem;
  line-height: 1.38;
  color: var(--text);
}

.tt-proof-card.tt-proof-before {
  border-top: 3px solid var(--red);
}

.tt-proof-card.tt-proof-after {
  border-top: 3px solid var(--green);
}

.tt-proof-code {
  margin-top: 10px;
  padding: 12px;
  border-radius: 9px;
  background: #090c10;
  border: 1px solid var(--line);
  color: #dbe6f5;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.5;
  overflow-x: auto;
  max-width: 100%;
}

.tt-proof-moat {
  margin-top: 14px;
  padding: 12px 15px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.tt-proof-moat strong {
  color: var(--gold);
}

.tt-autoextract-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.35);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.tt-mcp-box {
  margin-top: 22px;
}

.tt-mcp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.tt-mcp-head h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}

.tt-mcp-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tt-mcp-cmd-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.tt-mcp-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
}

.tt-mcp-code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.79rem;
  color: #dbe6f5;
  overflow-x: auto;
  white-space: nowrap;
  display: block;
  padding: 4px 0;
  max-width: 100%;
}

.tt-tier-subhead {
  margin: 26px 0 12px;
}

.tt-tier-subhead h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

@media (max-width: 920px) {
  .tt-proof-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-mcp-cmd-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  header.site-header {
    padding: 8px 16px;
  }
  .tt-panel,
  .tt-proof-card,
  .price-card {
    padding: 16px;
  }
  .tt-check-list,
  .tt-faq-grid,
  .tt-playbook-grid,
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-compare-table th,
  .tt-compare-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
}

/* Wave 2 V3.0 MECLABS CRO: ?url= Prefill Notice, Shareable Audit Link & Commercial Receipt Voucher */
.tt-btn {
  max-width: 100%;
  text-align: center;
}

.tt-prefill-notice {
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 9px;
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.38);
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tt-prefill-notice[hidden],
.tt-voucher-live[hidden] {
  display: none;
}

.tt-voucher-sample {
  margin-top: 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px dashed rgba(245, 185, 66, 0.4);
  padding: 8px 10px;
  min-width: 0;
  max-width: 100%;
}

.tt-voucher-sample > summary {
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.tt-voucher-sample-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.tt-voucher-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.35);
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 6px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.tt-voucher-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.tt-voucher-live {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(62, 207, 142, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.tt-voucher-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.tt-voucher-input-wrap label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.tt-voucher-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 0.82rem;
  font-family: inherit;
}

.tt-voucher-card {
  padding: 12px;
  border-radius: 9px;
  background: #0b0f15;
  border: 1px solid var(--line);
  color: var(--text);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.tt-voucher-dl {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  min-width: 0;
}

.tt-voucher-dl > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(147, 161, 181, 0.2);
  min-width: 0;
}

.tt-voucher-dl > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tt-voucher-dl dt {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.tt-voucher-dl dd {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tt-voucher-mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--gold);
  word-break: break-all;
  overflow-wrap: anywhere;
}

.tt-voucher-note {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tt-voucher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.tt-voucher-actions .tt-btn {
  flex: 1 1 140px;
  min-width: 0;
  white-space: normal;
}

@media (max-width: 640px) {
  .price-flag {
    max-width: calc(100% - 32px);
    white-space: normal;
  }
  .tt-report-actions .tt-btn {
    width: 100%;
  }
}

@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }
  body.tt-printing-voucher .site-header,
  body.tt-printing-voucher .tt-hero,
  body.tt-printing-voucher #proof,
  body.tt-printing-voucher #scanner,
  body.tt-printing-voucher #builder,
  body.tt-printing-voucher #batch,
  body.tt-printing-voucher #playbooks,
  body.tt-printing-voucher #faq,
  body.tt-printing-voucher .site-footer,
  body.tt-printing-voucher #fleet-analytics-settings,
  body.tt-printing-voucher #pricing .tt-section-head,
  body.tt-printing-voucher #pricing .tt-compare-wrap,
  body.tt-printing-voucher #pricing .tt-tier-subhead,
  body.tt-printing-voucher #pricing .tt-disclosure-box,
  body.tt-printing-voucher #pricing .price-card:not(#ttPricePassCard),
  body.tt-printing-voucher #ttPricePassCard > *:not(#ttWeb3Drawer),
  body.tt-printing-voucher #ttWeb3Drawer > *:not(#ttWeb3TokenReady),
  body.tt-printing-voucher #ttWeb3TokenReady > *:not(#ttVoucherLiveBox),
  body.tt-printing-voucher .tt-voucher-input-wrap,
  body.tt-printing-voucher .tt-voucher-actions {
    display: none !important;
  }
  body.tt-printing-voucher #pricing,
  body.tt-printing-voucher #pricing .container,
  body.tt-printing-voucher #pricing .price-grid,
  body.tt-printing-voucher #ttPricePassCard,
  body.tt-printing-voucher #ttWeb3Drawer,
  body.tt-printing-voucher #ttWeb3TokenReady,
  body.tt-printing-voucher #ttVoucherLiveBox {
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  body.tt-printing-voucher #ttVoucherCard,
  #ttVoucherCard {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1.5px solid #111827 !important;
    padding: 20px !important;
    max-width: 680px !important;
    margin: 0 auto !important;
  }
  body.tt-printing-voucher .tt-voucher-title,
  body.tt-printing-voucher .tt-voucher-dl dd,
  body.tt-printing-voucher .tt-voucher-mono {
    color: #111827 !important;
  }
  body.tt-printing-voucher .tt-voucher-dl dt,
  body.tt-printing-voucher .tt-voucher-note,
  body.tt-printing-voucher .tt-voucher-badge {
    color: #374151 !important;
    background: transparent !important;
    border-color: #9ca3af !important;
  }
}

.tt-sitemap-report {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  max-width: 100%;
  box-sizing: border-box;
}

.tt-sm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.tt-sm-head h3 {
  font-size: 1rem;
  margin: 0;
}

.tt-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.tt-sm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.tt-sm-table th,
.tt-sm-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tt-sm-url {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 260px;
}

.tt-sm-score {
  font-weight: 700;
  white-space: nowrap;
}

.tt-sm-score.pass { color: var(--green); }
.tt-sm-score.warn { color: var(--gold); }
.tt-sm-score.fail { color: var(--red); }

.tt-sm-gaps {
  margin: 12px 0 0 18px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.tt-sm-upgrade {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 600;
}

.tt-fiat-demand {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  max-width: 100%;
}

.tt-fiat-notice {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}


