
:root {
    --bg: #0d0f14;
    --surface: #141720;
    --surface2: #1a1e2b;
    --border: #252a38;
    --border2: #2f364a;
    --accent: var(--e-global-color-uc_primary);
    --accent2: #00d4aa;
    --accent3: #E3C083;
    --text: #ffffff;
    --muted: #ffffff;
    --mono: 'JetBrains Mono', monospace;
    --sans: 'Onest', sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  .tz-wrap {
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.65;
    padding: 0;
  }

  
  .tz-hero {
    padding: 0 0 48px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }
  .tz-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -80px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, color-mix(in srgb, var(--e-global-color-uc_primary) 12%, transparent) 0%, transparent 70%);
    pointer-events: none;
  }
  .tz-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent2);
    background: rgba(0,212,170,.08);
    border: 1px solid rgba(0,212,170,.2);
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 20px;
  }
  .tz-tag::before { content: '◆'; font-size: 8px; }
  .tz-hero h1 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 12px;
  }
  .tz-hero h1 span {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .tz-hero p {
    color: var(--muted);
    font-size: 16px;
    max-width: 580px;
    margin-bottom: 32px;
  }
  .tz-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .tz-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
  }
  .tz-meta-item b { color: var(--text); }

  
  .tz-section {
    margin-top: 52px;
  }
  .tz-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  .tz-num {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    background: color-mix(in srgb, var(--e-global-color-uc_primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--e-global-color-uc_primary) 25%, transparent);
    border-radius: 6px;
    padding: 3px 8px;
    white-space: nowrap;
  }
  .tz-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
  }
  .tz-section p {
    color: #ffffff;
    margin-bottom: 12px;
  }

  
  .tz-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 16px;
  }
  .tz-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px 20px;
    position: relative;
    transition: border-color .2s, transform .2s;
  }
  .tz-card:hover {
    border-color: var(--border2);
    transform: translateY(-2px);
  }
  .tz-card-icon {
    font-size: 22px;
    margin-bottom: 10px;
    display: block;
  }
  .tz-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
  }
  .tz-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
  }

  
  .tz-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
  }
  .tz-info-table tr { border-bottom: 1px solid var(--border); }
  .tz-info-table tr:last-child { border-bottom: none; }
  .tz-info-table td {
    padding: 11px 14px;
    vertical-align: top;
  }
  .tz-info-table td:first-child {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    width: 220px;
    background: var(--surface);
  }
  .tz-info-table td:last-child {
    color: var(--text);
    background: var(--surface2);
  }
  .tz-info-table tr:first-child td:first-child { border-radius: 6px 0 0 0; }
  .tz-info-table tr:first-child td:last-child  { border-radius: 0 6px 0 0; }
  .tz-info-table tr:last-child td:first-child  { border-radius: 0 0 0 6px; }
  .tz-info-table tr:last-child td:last-child   { border-radius: 0 0 6px 0; }

  
  .tz-pipeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
    position: relative;
  }
  .tz-pipeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
  }
  .tz-stage {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    align-items: flex-start;
    position: relative;
  }
  .tz-stage-dot {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--surface);
    border: 2px solid var(--border2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: border-color .2s;
  }
  .tz-stage:hover .tz-stage-dot {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--e-global-color-uc_primary) 10%, transparent);
  }
  .tz-stage-body {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 18px;
    transition: border-color .2s;
  }
  .tz-stage:hover .tz-stage-body { border-color: var(--border2); }
  .tz-stage-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
  }
  .tz-stage-resp {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent2);
    margin-bottom: 6px;
  }
  .tz-stage-desc {
    font-size: 13px;
    color: var(--muted);
  }
  .tz-stage-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 12px;
    font-family: var(--mono);
    color: var(--accent);
    background: color-mix(in srgb, var(--e-global-color-uc_primary) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--e-global-color-uc_primary) 15%, transparent);
    border-radius: 6px;
    padding: 3px 8px;
  }

  
  .tz-accordion { margin-top: 16px; }
  .tz-acc-item {
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 6px;
    overflow: hidden;
  }
  .tz-acc-toggle {
    width: 100%;
    background: var(--surface);
    border: none;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    transition: background .15s;
  }
  .tz-acc-toggle:hover { background: var(--surface2); }
  .tz-acc-toggle .tz-acc-arrow {
    margin-left: auto;
    font-size: 10px;
    color: var(--muted);
    transition: transform .2s;
  }
  .tz-acc-item.open .tz-acc-arrow { transform: rotate(180deg); }
  .tz-acc-count {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 7px;
    margin-left: auto;
    margin-right: 8px;
  }
  .tz-acc-body {
    display: none;
    background: var(--surface2);
    border-top: 1px solid var(--border);
    padding: 14px 18px;
  }
  .tz-acc-item.open .tz-acc-body { display: block; }
  .tz-field-row {
    display: grid;
    grid-template-columns: 1fr 110px 90px;
    gap: 8px;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
  }
  .tz-field-row:last-child { border-bottom: none; }
  .tz-field-name { color: var(--text); }
  .tz-field-type {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent2);
    background: rgba(0,212,170,.07);
    border-radius: 6px;
    padding: 2px 6px;
    text-align: center;
  }
  .tz-field-req {
    font-size: 12px;
    text-align: center;
  }
  .tz-field-req.yes { color: var(--accent3); }
  .tz-field-req.no  { color: var(--muted); }

  
  .tz-robots { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
  .tz-robot {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 120px 1fr 160px;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    transition: border-color .15s;
  }
  .tz-robot:hover { border-color: var(--border2); }
  .tz-robot-stage {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    background: color-mix(in srgb, var(--e-global-color-uc_primary) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--e-global-color-uc_primary) 15%, transparent);
    border-radius: 6px;
    padding: 3px 8px;
    text-align: center;
  }
  .tz-robot-action { color: var(--text); }
  .tz-robot-target {
    font-size: 12px;
    color: var(--muted);
    text-align: right;
  }

  
  .tz-questions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
  .tz-question {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 18px;
  }
  .tz-q-num {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent3);
    min-width: 28px;
  }
  .tz-q-text { font-size: 14px; color: var(--text); }

  
  .tz-note {
    background: color-mix(in srgb, var(--e-global-color-uc_primary) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--e-global-color-uc_primary) 20%, transparent);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 14px;
    color: #ffffff;
    margin-top: 16px;
  }

  
  .tz-div {
    height: 1px;
    background: var(--border);
    margin: 52px 0 0;
  }

  
  @media(max-width: 640px) {
    .tz-robot { grid-template-columns: 1fr; }
    .tz-robot-target { text-align: left; }
    .tz-info-table td:first-child { width: auto; white-space: normal; }
    .tz-pipeline::before { left: 18px; }
    .tz-stage-dot { width: 36px; height: 36px; min-width: 36px; font-size: 11px; }
  }

