/* The Trace product page (v60), part 2: the autonomy table, the two-column card grids and their visuals,
   the FAQ, closing panel and footer, and the phone layout. */

/* 4. autonomy by ticket type */
.tx-ld { padding: 0 0 8px; }
.tx-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--d-line); }
.tx-tab { display: inline-flex; gap: 8px; align-items: center; height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: none; font: 13.5px var(--font); color: var(--d-mu); cursor: pointer; box-shadow: inset 0 0 0 1px var(--d-line); transition: color var(--t1), background-color var(--t1); }
.tx-tab span { color: var(--d-dim); } .tx-tab:hover { color: var(--d-hi); }
.tx-tab.on { background: rgba(15, 23, 42, .07); color: var(--d-hi); box-shadow: inset 0 0 0 1px var(--d-line2); }
.tx-tab:focus-visible, .tx-more:focus-visible { outline: 2px solid #22b8ff; outline-offset: 2px; }
.tx-tbl-wrap { overflow-x: auto; }
.tx-tbl { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 14px; }
.tx-tbl caption { caption-side: bottom; padding: 14px 24px 6px; text-align: left; font-size: 12.5px; color: var(--d-dim); } .tx-tbl caption code { color: var(--d-mu); }
.tx-tbl th, .tx-tbl td { padding: 0 16px; height: 58px; text-align: left; border-bottom: 1px solid rgba(15, 23, 42, .05); font-weight: 400; white-space: nowrap; }
.tx-tbl thead th { height: 46px; font-size: 13px; color: var(--d-dim); }
.tx-tbl th:first-child { padding-left: 24px; width: 30%; } .tx-tbl td:last-child, .tx-tbl th:last-child { padding-right: 24px; }
.tx-tbl tbody th b { display: block; font-weight: 400; color: var(--d-hi); } .tx-tbl tbody th code { font-size: 12px; color: var(--d-dim); }
.tx-tbl td { color: var(--d-tx); } .tx-tbl tbody tr:hover { background: rgba(15, 23, 42, .02); }
.tx-small { margin-left: 6px; font-style: normal; font-size: 12px; color: #9a5b00; }
.tx-dots span, .tx-key { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; color: var(--d-tx); }
.tx-dots span::before, .tx-key i { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.tx-key i { margin-left: 4px; } .tx-key i:first-child { margin-left: 0; }
.d-a::before, i.d-a { background: var(--d-a); } .d-b::before, i.d-b { box-shadow: inset 0 0 0 2px var(--d-b); } .d-c::before, i.d-c { background: var(--d-c); }
.tx-cap { color: var(--d-mu) !important; }
.tx-more, .tx-rest { display: none; }
.tx-js .tx-more { display: block; margin: 10px 24px 6px; padding: 0; border: 0; background: none; font: 14px var(--font); color: var(--d-mu); cursor: pointer; } .tx-js .tx-more:hover { color: var(--d-hi); }
.tx-js .tx-more[hidden] { display: none; }
.tx-path { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; padding-top: 0; }
.tx-path li { position: relative; padding: 18px 20px 0 0; border-top: 1px solid var(--d-line); }
.tx-path li::before { content: ""; position: absolute; left: 0; top: -1px; width: 32px; height: 1px; background: linear-gradient(90deg, #2ee6d6, #2f6bff); }
.tx-path b { display: block; font-weight: 500; color: var(--d-hi); font-size: 15px; } .tx-path span { display: block; margin-top: 4px; font-size: 14px; color: var(--d-mu); }

/* 5–6. two-column card grids: a visual on top, a title and one line at the bottom */
.tx-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 72px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--d-line); }
.tx-card { display: flex; flex-direction: column; padding: 40px 44px 44px; min-width: 0; border-bottom: 1px solid var(--d-line); }
.tx-card:nth-child(odd) { border-right: 1px solid var(--d-line); } .tx-card:nth-last-child(-n+2) { border-bottom: 0; }
.tx-vis { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 340px; margin-bottom: 36px; }
.tx-vis > * { width: 100%; max-width: 480px; }
.tx-card h3 { margin: 0; font-size: 17px; font-weight: 500; color: var(--d-hi); letter-spacing: -.01em; }
.tx-card > p { margin: 8px 0 0; max-width: 40ch; font-size: 15.5px; line-height: 1.55; color: var(--d-mu); }
.tx-card > p a { color: var(--d-tx); text-decoration: underline; text-decoration-color: var(--d-line2); text-underline-offset: 3px; }
.tx-sc, .tx-th, .tx-chart, .tx-au, .tx-up > div, .tx-rbs li { border-radius: 12px; background: var(--d-panel); box-shadow: 0 0 0 1px var(--d-line), 0 30px 60px -30px rgba(15, 23, 42, .12); }
.tx-sc, .tx-th, .tx-chart, .tx-au { padding: 22px 24px; }
.tx-verdict { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--d-line); font-size: 14px; color: #0b8f7c; }

/* the Replay report part */
.pd .tx-rep .report { width: 100%; } .pd .tx-rep .r-card { background: var(--d-panel); color: var(--d-mu); box-shadow: 0 0 0 1px var(--d-line), 0 30px 60px -30px rgba(15, 23, 42, .12); }
.pd .tx-rep .r-head b { color: var(--d-hi); } .pd .tx-rep .rr-k, .pd .tx-rep .thr p { color: var(--d-dim); }
.pd .tx-rep .r-big span { color: var(--d-hi); font-weight: 500; } .pd .tx-rep .r-big small { color: var(--d-mu); }
.pd .tx-rep .thr p b, .pd .tx-rep .ob5 li b { color: var(--d-hi); } .pd .tx-rep .ob5 ul { color: var(--d-mu); }
.pd .tx-rep .thr-bg { fill: rgba(15, 23, 42, .07); } .pd .tx-rep .thr-v { fill: #2f6bff; } .pd .tx-rep .thr-m { fill: #0b1220; }
.pd .tx-rep .o-a { fill: #2f6bff; background: #2f6bff; } .pd .tx-rep .o-b { fill: #8f9bff; background: #8f9bff; } .pd .tx-rep .o-c { fill: #c9ced6; background: #c9ced6; }
.pd .tx-rep .r-card li { color: var(--d-mu); }
.pd .tx-rep .r-note { border-top-color: var(--d-line); color: var(--d-dim); } .pd .tx-rep .r-note a { color: #2f6bff; } .pd .tx-rep code { color: var(--d-mu); }
.pd .pill-v { background: rgba(62, 224, 200, .12); color: #0b8f7c; }

/* outcomes by ticket type */
.tx-bt { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tx-bt li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 34px; align-items: center; gap: 12px; font-size: 12.5px; }
.tx-bt-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--d-mu); }
.tx-bt-b { display: flex; height: 8px; border-radius: 2px; overflow: hidden; background: rgba(15, 23, 42, .04); }
.tx-bt-b i, .tx-leg i { display: block; height: 100%; } .tx-bt-b i + i { box-shadow: inset 1px 0 0 var(--d-panel); }
.tx-bt li b { text-align: right; font-weight: 400; color: var(--d-tx); }
.s-a { background: #2f6bff; } .s-b { background: #8f9bff; } .s-c { background: #c9ced6; } .s-e { background: #ff5f7e; }
.tx-leg { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--d-line); font-size: 12.5px; color: var(--d-mu); }
.tx-leg li { display: inline-flex; align-items: center; gap: 6px; } .tx-leg i { width: 8px; height: 8px; border-radius: 2px; } .tx-leg b { font-weight: 500; color: var(--d-hi); }

/* the audit chain */
.pd .tx-au .chain li { border-top-color: var(--d-line); color: var(--d-mu); } .pd .tx-au .chain b { color: var(--d-hi); }
.pd .tx-au .chain li span { white-space: normal; } .pd .tx-au .chain code { background: rgba(79, 134, 255, .16); color: #1f4fd8; }
.pd .tx-au .chain-n { color: var(--d-dim); }

/* the thread */
.tx-th .msg { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--d-line); }
.tx-th .av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #eef1f5; font-style: normal; font-size: 13px; color: var(--d-tx); }
.tx-th .av.tx-mk { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #2ee6d6, #2f6bff 50%, #7b5cff); }
.tx-th b { font-weight: 500; font-size: 14px; color: var(--d-hi); } .tx-th small { margin-left: 6px; font-weight: 400; font-size: 12px; color: var(--d-dim); }
.tx-th .msg p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--d-tx); } .tx-th .msg:not(.tr) p { color: var(--d-mu); }
.tx-th .ev { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 10px !important; }

/* the integrations graph */
.tx-ng { position: relative; height: 240px; }
.tx-ng-l { position: absolute; inset: 0; width: 100%; height: 100%; }
.tx-ng-l path { fill: none; stroke: rgba(15, 23, 42, .14); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.tx-ng-l path.on { stroke: #2ee6d6; stroke-dasharray: none; opacity: .8; }
.tx-ng-s { list-style: none; position: absolute; left: 0; top: 0; width: 37.5%; height: 100%; margin: 0; padding: 0; display: grid; align-content: space-between; }
.tx-ng-s li, .tx-ng-c, .tx-ng-r { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 9px; background: var(--d-panel); box-shadow: 0 0 0 1px var(--d-line); }
.tx-ng-s li { height: 52px; justify-content: center; } .tx-ng-s li.on { box-shadow: 0 0 0 1px rgba(46, 230, 214, .45); }
.tx-ng b { font-weight: 500; font-size: 12.5px; color: var(--d-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tx-ng .stat { height: 18px; padding: 0 7px; font-size: 11px; align-self: flex-start; }
.tx-ng-c { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; flex-direction: row; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; box-shadow: 0 0 0 1px var(--d-line2), 0 0 40px -6px rgba(47, 107, 255, .55); }
.tx-ng-c .tx-mk { width: 26px; height: 26px; border-radius: 7px; } .tx-ng-c b { font-size: 15px; }
.tx-ng-r { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; width: 30%; }

/* runbooks */
.tx-rbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tx-rbs li { display: grid; grid-template-columns: 92px 1fr; gap: 2px 12px; padding: 14px 16px; }
.tx-rbs code { grid-row: span 2; color: #2f6bff; font-size: 12px; padding-top: 2px; }
.tx-rbs b { font-weight: 500; font-size: 14px; color: var(--d-hi); } .tx-rbs span { font-size: 13px; color: var(--d-mu); }

/* the update cards */
.tx-up { position: relative; display: grid; gap: 0; padding-bottom: 28px; }
.tx-up > div { padding: 18px 22px; }
.tx-up p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--d-hi); } .tx-up p + p { margin-top: 10px; }
.tx-up p:first-child { display: flex; justify-content: space-between; gap: 12px; } .tx-up p:first-child code, .tx-up p:first-child > span:last-child { font-size: 13px; color: var(--d-dim); }
.tx-up b { font-weight: 500; } .tx-up code { color: var(--d-tx); }
.tx-up .u1 { position: relative; z-index: 2; }
.tx-up .u2 { position: relative; z-index: 1; margin: -6px 16px 0; padding-top: 22px; background: var(--d-bg2); opacity: .8; }
.tx-up .u2 p { font-size: 13.5px; color: var(--d-mu); }


/* FAQ, closing and footer */
.tx-faq .faq-h { margin: 0 0 36px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.035em; color: var(--d-hi); }
.pd .faq-i { border-color: var(--d-line); } .pd .faq-i:last-child, .pd .faq-i:nth-last-child(2) { border-bottom-color: var(--d-line); }
.pd .faq-i summary { color: var(--d-hi); } .pd .faq-i summary:hover { color: #2f6bff; } .pd .faq-i p { color: var(--d-mu); } .pd .faq-i a { color: #2f6bff; }
.tx-close { position: relative; isolation: isolate; overflow: hidden; margin-top: 150px; padding: 120px 0 130px; text-align: center; border-top: 1px solid var(--d-line); background: #fbfcfe; }
.tx-close .tx-river { inset: 52% 0 0; height: 48%; } .tx-close .tx-river.on { opacity: .5; }
.tx-close > .wrap { position: relative; }
.tx-close .form label { color: var(--d-mu); text-align: center; font-weight: 500; }
.tx-close .field-row { background: #fff; box-shadow: 0 0 0 1px var(--d-line2), 0 12px 32px -18px rgba(15, 23, 42, .3); }
.tx-close .field-row:focus-within { box-shadow: 0 0 0 1px #2f6bff, 0 0 0 4px rgba(47, 107, 255, .16); }
.tx-close .field-row input { color: var(--d-hi); } .tx-close .field-row input::placeholder { color: var(--d-dim); }
.tx-close .form-msg { color: var(--d-mu); }
.tx-close h2 { margin: 0; line-height: 1.06; font-size: clamp(36px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.04em; color: var(--d-hi); }
.tx-close > .wrap > p { max-width: 36em; margin: 18px auto 0; font-size: 18px; color: var(--d-mu); }
.tx-close .form { max-width: 520px; margin: 34px auto 0; text-align: left; }
.pd .foot { background: var(--d-bg); border-top-color: var(--d-line); color: var(--d-mu); }
.pd .foot .logo, .pd .foot b { color: var(--d-hi); } .pd .foot a { color: var(--d-mu); } .pd .foot a:hover { color: var(--d-hi); }
.pd .foot-bottom { border-top-color: var(--d-line); }

@media (max-width: 960px) {
  .tx-head { grid-template-columns: 1fr; gap: 20px; }
  .tx-q { grid-template-columns: 1fr; } .tx-side { display: none; }
  .tx-rows p { grid-template-columns: 14px 86px minmax(0, 1fr) 150px; } .tx-rows .ty, .tx-rows .rb, .tx-rows time { display: none; }
  .tx-ap-in { grid-template-columns: 1fr; } .tx-fix { margin: 0 16px; }
  .tx-grid { grid-template-columns: 1fr; } .tx-card:nth-child(odd) { border-right: 0; } .tx-card:nth-last-child(2) { border-bottom: 1px solid var(--d-line); }
  .tx-path { grid-template-columns: 1fr 1fr; gap: 24px 0; }
}
@media (max-width: 640px) {
  .tx-hero { padding: 120px 0 40px; min-height: 0; } .tx-lede { font-size: 17px; }
  .tx-cta .btn { width: 100%; justify-content: center; }
  .tx-fh { margin-top: 44px; } .tx-facts { grid-template-columns: 1fr 1fr; } .tx-facts dd { font-size: 24px; }
  .tx-facts > div:nth-child(3) { border-left: 0; } .tx-facts > div:nth-child(n+3) { border-top: 1px solid var(--d-line); }
  .tx-sec { padding-top: 96px; } .tx-head > div > p:not(.tx-num) { font-size: 17px; }
  .tx-stage { margin-top: 48px; padding: 40px 12px 0; border-radius: 14px; }
  .tx-bar span:nth-child(n+3) { display: none; }
  .tx-rows p { grid-template-columns: minmax(0, 1fr) auto; height: auto; gap: 4px 10px; padding: 10px 14px; }
  .tx-rows .pr { display: none; } .tx-rows code:first-of-type { grid-column: 1 / -1; order: -1; } .tx-rows .op { font-size: 12px; }
  .tx-tk { padding: 24px 18px 28px; } .tx-tt { font-size: 21px; } .tx-props > div { grid-template-columns: 1fr; gap: 6px; }
  .tx-fix { margin: 0 8px; padding: 18px 16px; } .tx-checks li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .tx-card { padding: 28px 18px 32px; } .tx-vis { min-height: 0; margin-bottom: 26px; }
  .tx-bt li { grid-template-columns: 112px minmax(0, 1fr) 30px; gap: 8px; }
  .tx-ng { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .tx-ng-l { display: none; }
  .tx-ng-s { position: static; grid-column: 1 / -1; width: auto; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tx-ng-c, .tx-ng-r { position: static; transform: none; width: auto; } .tx-ng-c { justify-content: center; }
  .tx-path { grid-template-columns: 1fr; }
  .tx-tbl { min-width: 0; } .tx-tbl th:nth-child(3), .tx-tbl td:nth-child(3), .tx-tbl th:nth-child(4), .tx-tbl td:nth-child(4), .tx-tbl th:nth-child(6), .tx-tbl td:nth-child(6) { display: none; }
  .tx-tbl th, .tx-tbl td { padding: 0 8px; } .tx-tbl th:first-child { padding-left: 14px; width: auto; white-space: normal; } .tx-tbl td:last-child { padding-right: 14px; }
  .tx-dots span { margin-right: 6px; } .tx-key { font-size: 0; } .tx-key i { margin: 0 3px; } .tx-tbl caption { padding: 12px 14px 4px; white-space: normal; }
  .tx-close { margin-top: 96px; padding: 80px 0 90px; }
}
