/* Terminal X page — on top of scm-page + pp-page + mfg-page + dms-page + frame + light + mono + turquoise. */
.tx-hero { display: block; width: 100%; height: auto; }
.tx-hero text { font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .08em; fill: #fff; }
.tx-hero .sub { font-size: 8px; fill: rgba(255,255,255,.55); letter-spacing: .03em; }
.tx-src { fill: rgba(255,255,255,.06); stroke: rgba(92,200,214,.45); }
.tx-ag { fill: #0b8fa8; stroke: #5cc8d6; }
.tx-db { fill: rgba(255,255,255,.1); stroke: #fff; }
.tx-xls { fill: #fff; } .tx-xls-l { stroke: #0b8fa8; stroke-width: 1.4; }
.tx-wire { fill: none; stroke: rgba(92,200,214,.45); stroke-dasharray: 3 4; }
.tx-pkt { fill: #fff; }

/* cockpit */
.tx-t th small { display: block; }
.tx-t .n, .tx-t th.n { text-align: right; font-variant-numeric: tabular-nums; }
.tx-st { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 "IBM Plex Mono", monospace; padding: 5px 8px; white-space: nowrap; }
.tx-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tx-st--done { color: #12805c; background: #e6f5ef; } .tx-st--scraping { color: #0a6f83; background: #e3f4f7; } .tx-st--scraping::before { animation: tx-blink .8s infinite; }
.tx-st--pending { color: #7b8a8c; background: #f1f4f5; } .tx-st--error { color: #a15c00; background: #fff3df; } .tx-st--no_data, .tx-st--skipped { color: #55605f; background: #eef2f3; }
@keyframes tx-blink { 50% { opacity: .2; } }
.tx-run { background: #fff; border: 1px solid #ddebed; padding: 14px 16px; margin-bottom: 12px; display: grid; gap: 10px; }
.tx-run__h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: #2f3a3d; }
.tx-run__h span { font: 600 12px "IBM Plex Mono", monospace; color: #0b8fa8; }
.tx-run__bar { display: flex; height: 8px; background: #eef3f4; overflow: hidden; }
.tx-run__bar i { display: block; height: 100%; background: #0b8fa8; transition: width .4s ease; } .tx-run__bar i.is-live { background: #5cc8d6; }
.tx-run__c { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: #55605f; }
.tx-run__c b { font: 600 15px "IBM Plex Mono", monospace; color: #2f3a3d; margin-right: 6px; }
.tx-run__c .is-live b { color: #0b8fa8; } .tx-run__c .is-warn b { color: #a15c00; }
.tx-run__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.tx-run__btns button, .tx-filt button, .tx-xl__bar button, .tx-xl__tabs button { border: 1px solid #cfe0e3; background: #fff; padding: 7px 12px; font: 600 12px "Source Sans 3", sans-serif; color: #2f3a3d; cursor: pointer; }
.tx-run__btns button:last-child, .tx-xl__bar button { background: #0b8fa8; border-color: #0b8fa8; color: #fff; }
.tx-filt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.tx-filt span { font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #79a2a8; margin: 0 4px 0 8px; }
.tx-filt span:first-child { margin-left: 0; }
.tx-filt button[aria-pressed="true"], .tx-xl__tabs button[aria-pressed="true"] { background: #0b8fa8; border-color: #0b8fa8; color: #fff; }
.tx-heat { background: rgba(18, 128, 92, calc(max(var(--a), 0) * .16)); }
.tx-heat b { display: block; font: 600 13px "IBM Plex Mono", monospace; color: #2f3a3d; }
.tx-heat small { font-size: 10.5px; color: #79a2a8; }
.tx-neg { color: #b42318 !important; font-weight: 600; }
.tx-tier { font: 600 11px "IBM Plex Mono", monospace; padding: 4px 8px; }
.tx-tier--High { background: #e6f5ef; color: #12805c; } .tx-tier--Mid { background: #e3f4f7; color: #0a6f83; } .tx-tier--Low { background: #fbefed; color: #b42318; }
.tx-flags, .tx-chg, .tx-lin { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 1px; background: #e3eced; border: 1px solid #e3eced; }
.tx-flags li, .tx-chg li { display: grid; gap: 2px; padding: 8px 10px; background: #fff; font-size: 13px; color: #55605f; }
.tx-flags b { color: #2f3a3d; font-size: 13.5px; }
.tx-chg li { grid-template-columns: 70px 1fr; align-items: center; }
.tx-chg b { font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.tx-chg .is-add b { color: #12805c; } .tx-chg .is-rem b { color: #b42318; }
.tx-idx { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.tx-idx button { display: grid; gap: 3px; text-align: left; padding: 14px; background: #fff; border: 0; box-shadow: inset 0 0 0 1px #d9e6e8; cursor: pointer; }
.tx-idx button.is-on { box-shadow: inset 3px 0 0 #0b8fa8, inset 0 0 0 1px #c5e2e8; background: #e8f6f8; }
.tx-idx span { font: 500 17px/1.2 "Newsreader", Georgia, serif; color: #2f3a3d; }
.tx-idx em { font: 600 12px "IBM Plex Mono", monospace; font-style: normal; color: #0b8fa8; }
.tx-idx small { font-size: 12px; color: #79a2a8; }
.tx-xl { background: #fff; border: 1px solid #cfdcdf; }
.tx-xl__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 12px; background: #f3f7f8; border-bottom: 1px solid #cfdcdf; font-size: 13px; color: #55605f; }
.tx-xl__bar b { font: 600 13px "IBM Plex Mono", monospace; color: #2f3a3d; } .tx-xl__bar button { margin-left: auto; }
.tx-xl__grid { overflow-x: auto; }
.tx-xl__grid table { border-collapse: collapse; font: 12.5px "Source Sans 3", sans-serif; min-width: 640px; width: 100%; }
.tx-xl__grid th, .tx-xl__grid td { border: 1px solid #dfe6e8; padding: 5px 8px; white-space: nowrap; }
.tx-xl__grid thead th, .tx-xl__grid tbody th { background: #f3f7f8; color: #7b8a8c; font: 500 11px "IBM Plex Mono", monospace; text-align: center; }
.tx-xl__grid .is-h td { font-weight: 700; background: #e3f4f7; color: #0a6f83; }
.tx-xl__grid td.n { text-align: right; font-variant-numeric: tabular-nums; }
.tx-xl__grid td.is-ok { background: #e6f5ef; color: #12805c; text-align: center; font-weight: 700; }
.tx-xl__grid td.is-bad { background: #fbefed; color: #b42318; text-align: center; font-weight: 700; }
.tx-xl__tabs { display: flex; gap: 2px; padding: 6px 8px; background: #f3f7f8; border-top: 1px solid #cfdcdf; }
.tx-lin { margin-top: 12px; }
.tx-lin li { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 9px 12px; background: #fff; font: 500 12.5px "IBM Plex Mono", monospace; color: #55605f; }
.tx-lin span { font-family: "Source Sans 3", sans-serif; font-weight: 600; color: #2f3a3d; min-width: 110px; }

/* agents */
.tx-agents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tx-agent { background: #fff; border: 1px solid #dfe8ea; border-top: 3px solid #0b8fa8; padding: 22px 24px; display: grid; gap: 10px; align-content: start; color: #2f3a3d; }
.tx-agent small { font: 600 10.5px "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #0b8fa8; }
.tx-agent h3 { margin: 0; font: 500 24px/1.2 "Newsreader", Georgia, serif; color: #2f3a3d; }
.tx-agent p { margin: 0; font-size: 15px; line-height: 1.5; color: #55605f; }
.tx-agent__vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e3eced; border: 1px solid #e3eced; margin-top: 4px; }
.tx-agent__vs div { background: #fff; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; color: #55605f; }
.tx-agent__vs b { display: block; font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.tx-agent__vs div:first-child b { color: #b42318; } .tx-agent__vs div:last-child b { color: #12805c; }
@media (max-width: 860px) { .tx-agents { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tx-agent__vs { grid-template-columns: 1fr; } }
