/* TRIAX / 03: isolated .tx-root design system. No CSS framework or network fonts. */
.tx-root{--tx-bg:#09121e;--tx-panel:#111e2c;--tx-panel2:#0d1928;--tx-border:#25384b;--tx-line:#1e3141;--tx-text:#edf4f8;--tx-muted:#8ca1b2;--tx-soft:#60788f;--tx-mint:#74e8cc;--tx-lime:#e2f18d;--tx-purple:#c0aafa;--tx-red:#ff8290;--tx-pad:clamp(16px,2.5vw,39px);background:#09121e;color:var(--tx-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.4;min-height:100vh;box-sizing:border-box}
.tx-root *{box-sizing:border-box}
.tx-root button,.tx-root input,.tx-root select{font:inherit}
.tx-root button{cursor:pointer}
.tx-root button:focus-visible,.tx-root input:focus-visible,.tx-root select:focus-visible{outline:2px solid var(--tx-lime);outline-offset:3px}
.tx-root .tx-shell{max-width:1740px;padding:0 var(--tx-pad);margin:0 auto}
body:has(.tx-root){margin:0;background:#09121e}
.tx-root .tx-header{min-height:77px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #263749;gap:20px}
.tx-root .tx-brand{font-size:16px;display:flex;gap:14px;align-items:center;font-weight:850;letter-spacing:1.1px;line-height:1.3}
.tx-root .tx-brand-accent{color:#7fe6cf}
.tx-root .tx-brand small{display:block;margin-top:3px;font-size:8px;color:#879baa;letter-spacing:2.2px;font-weight:650}
.tx-root .tx-brandmark{height:35px;width:35px;display:inline-flex;align-items:center;justify-content:center;position:relative;transform:rotate(-8deg)}
.tx-root .tx-brandmark i{width:25px;height:25px;border:2px solid #82ddcb;position:absolute;border-radius:3px;transform:rotate(0deg)}
.tx-root .tx-brandmark i:nth-child(2){transform:rotate(55deg);opacity:.75}
.tx-root .tx-brandmark i:nth-child(3){transform:rotate(110deg);opacity:.5}
.tx-root .tx-header-right{display:flex;gap:11px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.tx-root .tx-chip{font:600 10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;color:#bacad2;padding:10px 13px;border:1px solid #293e4d;border-radius:4px;letter-spacing:.45px;white-space:nowrap}
.tx-root .tx-green-dot{display:inline-block;background:#6fefd0;box-shadow:0 0 9px #60ecc777;width:7px;height:7px;min-width:7px;border-radius:99px;vertical-align:middle;margin-right:7px}
.tx-root .tx-seed{color:#8ca2b6}
.tx-root .tx-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:36px 0 30px}
.tx-root .tx-eyebrow,.tx-root .tx-section-kicker{font:650 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;color:#85ddca;letter-spacing:1.45px}
.tx-root .tx-intro h1{font-size:clamp(34px,4.4vw,62px);line-height:1.01;letter-spacing:-2.1px;font-weight:780;margin:12px 0 12px}
.tx-root .tx-intro h1 span{color:#b5c2cf;font-weight:400}
.tx-root .tx-intro p{margin:0;color:#9cabb9;font-size:13px;max-width:650px;line-height:1.75}
.tx-root .tx-id{border-left:1px solid #2f4352;padding:0 0 2px 26px;display:flex;flex-direction:column;min-width:205px;gap:6px}
.tx-root .tx-id>span{font:600 9px ui-monospace,monospace;color:#7792a4;letter-spacing:1.2px}
.tx-root .tx-id strong{font:700 22px ui-monospace,Consolas,monospace;letter-spacing:.2px;color:#d6e8ee}
.tx-root .tx-id strong span{color:#7fe6c8}
.tx-root .tx-layout{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(325px,.84fr);gap:17px;align-items:stretch}
.tx-root .tx-viewport-card,.tx-root .tx-controls,.tx-root .tx-chartpanel,.tx-root .tx-exportpanel{border:1px solid #263b4b;background:var(--tx-panel2);border-radius:5px;min-width:0}
.tx-root .tx-viewport-card{display:flex;flex-direction:column;overflow:hidden}
.tx-root .tx-viewhead{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:#101e2e;gap:12px}
.tx-root .tx-small-tag{font:500 10px ui-monospace,Consolas,monospace;color:#8499ad}
.tx-root .tx-scene{position:relative;flex:1;min-height:520px;overflow:hidden;background:radial-gradient(ellipse 55% 68% at 50% 40%,#243c4e 0%,#122536 47%,#091828 95%),linear-gradient(135deg,#172e41,#0d1929)}
.tx-root .tx-scene:after{content:"";position:absolute;pointer-events:none;inset:0;background:linear-gradient(to bottom,rgba(8,19,33,.05),transparent 40%,rgba(2,10,20,.16)),repeating-linear-gradient(0deg,transparent,transparent 3px,#a9e1e008 4px);opacity:.6}
.tx-root .tx-webgl{display:block;width:100%;height:100%;position:absolute;touch-action:none;cursor:grab;outline:0}
.tx-root .tx-webgl:active{cursor:grabbing}
.tx-root .tx-scene-top{position:absolute;z-index:2;inset:23px 23px auto;display:flex;justify-content:space-between;pointer-events:none;align-items:center;gap:12px}
.tx-root .tx-target-label{font:600 10px ui-monospace,Consolas,monospace;color:#b5d2d8;letter-spacing:.8px}
.tx-root .tx-target-label span{color:var(--tx-mint)}
.tx-root .tx-live-status{font:700 9px ui-monospace,Consolas,monospace;color:#b4eccd;background:#173839c7;border:1px solid #3a7b6d;border-radius:3px;padding:7px 11px;letter-spacing:.7px}
.tx-root .tx-live-status.tx-warn{color:#ffd9aa;background:#663923a3;border-color:#b07851}
.tx-root .tx-scene-cross{position:absolute;z-index:2;pointer-events:none;left:50%;top:45%;height:26px;width:26px;opacity:.21;transform:translate(-50%,-50%)}
.tx-root .tx-scene-cross span:first-child{height:1px;width:26px;background:#d9eeed;position:absolute;top:12px}
.tx-root .tx-scene-cross span:last-child{height:26px;width:1px;background:#d9eeed;position:absolute;left:12px}
.tx-root .tx-scene-low{position:absolute;z-index:2;inset:auto 24px 23px;pointer-events:none;display:flex;align-items:flex-end;justify-content:space-between}
.tx-root .tx-scene-low strong{display:block;font-size:24px;line-height:1.2;font-weight:300;letter-spacing:2px;color:#d6e3ed}
.tx-root .tx-scene-low small{font:550 10px ui-monospace,Consolas,monospace;color:#a7b6c6;letter-spacing:1px}
.tx-root .tx-compass{font:700 12px ui-monospace,Consolas,monospace;letter-spacing:3px;color:#eb8fa0}
.tx-root .tx-compass span{color:#95e5cd}
.tx-root .tx-scene-hint{position:absolute;z-index:2;bottom:22px;left:50%;transform:translateX(-50%);pointer-events:none;color:#d4e6e8a8;font:600 9px ui-monospace,Consolas,monospace;letter-spacing:.4px;white-space:nowrap}
.tx-root .tx-toolbar{min-height:58px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;background:#101e2e;flex-wrap:wrap}
.tx-root .tx-toolgroup,.tx-root .tx-material-key{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.tx-root .tx-iconbutton{display:inline-flex;align-items:center;gap:8px;color:#9cd3d1;background:transparent;border:1px solid transparent;border-radius:4px;font-size:19px;padding:6px 7px;line-height:1.1}
.tx-root .tx-iconbutton:hover{border-color:#345164;background:#22394b}
.tx-root .tx-iconbutton span{font:550 10px ui-monospace,Consolas,monospace;color:#9ab5bc}
.tx-root .tx-iconbutton.is-disabled{opacity:.4}
.tx-root .tx-material-key{gap:16px;font:600 9px ui-monospace,Consolas,monospace;color:#9cabb7;letter-spacing:.5px}
.tx-root .tx-material-key i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:baseline}
.tx-root .tx-controls{display:flex;flex-direction:column;overflow:hidden}
.tx-root .tx-panelhead{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 19px;border-bottom:1px solid var(--tx-line)}
.tx-root h2{font-size:18px;font-weight:640;letter-spacing:-.3px;line-height:1.2;margin:8px 0 0;color:#e5eef3}
.tx-root .tx-panel-id{font:550 9px ui-monospace,Consolas,monospace;color:#758c9f;white-space:nowrap}
.tx-root .tx-panel-scroll{flex:1;max-height:589px;overflow-y:auto;padding:20px 22px 12px;scrollbar-color:#3b5967 #112232;scrollbar-width:thin}
.tx-root .tx-fieldrow{display:flex;flex-direction:column;gap:8px;padding-bottom:17px}
.tx-root .tx-fieldrow label{font-size:11px;font-weight:600;color:#bacbd5}
.tx-root .tx-select{width:100%;padding:12px 13px;background:#1a2a3a;border:1px solid #34495b;border-radius:4px;color:#e7f0f1;font-size:11px;cursor:pointer}
.tx-root .tx-control-section{border-top:1px solid #24384a;padding:18px 0 5px}
.tx-root .tx-control-section h3{font:700 10px ui-monospace,Consolas,monospace;letter-spacing:.9px;color:#c5d5dd;display:flex;align-items:center;gap:12px;margin:0 0 22px}
.tx-root .tx-control-section h3 span{color:#79d3c1}
.tx-root .tx-slider{display:block;margin-bottom:24px}
.tx-root .tx-sl-header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:11px}
.tx-root .tx-sl-header>span{font-size:11px;color:#b1c0ce}
.tx-root .tx-sl-header output{font:700 11px ui-monospace,Consolas,monospace;color:#d7efd9;white-space:nowrap}
.tx-root input[type=range]{display:block;width:100%;height:4px;background:#364d5e;accent-color:#87dbc6;border-radius:4px;appearance:none;outline-offset:7px;cursor:ew-resize;margin:0}
.tx-root input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border:2px solid #182c3a;background:#9ae5d1;border-radius:50%;box-shadow:0 0 0 1px #8adccc}
.tx-root input[type=range]::-moz-range-thumb{width:10px;height:10px;background:#9ae5d1;border:2px solid #182c3a;border-radius:50%}
.tx-root .tx-range{display:flex;justify-content:space-between;margin-top:8px;color:#6e869b;font:550 9px ui-monospace,Consolas,monospace}
.tx-root .tx-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:25px}
.tx-root .tx-mode{border:1px solid #30485a;background:#162638;color:#8ea7b6;padding:10px 12px;border-radius:3px;font:700 10px ui-monospace,Consolas,monospace;letter-spacing:.5px}
.tx-root .tx-mode.is-active{border-color:#7bdbc0;background:#244b4b;color:#cffde6}
.tx-root .tx-wave-controls.is-muted{opacity:.52}
.tx-root .tx-runbar{padding:16px;display:flex;gap:8px;border-top:1px solid #2b4050;background:#111f2e}
.tx-root .tx-runbar button{font:750 10px ui-monospace,Consolas,monospace;border-radius:3px;min-height:46px;letter-spacing:.5px}
.tx-root .tx-primary{flex:1;background:#c8eb9d;color:#172b2e;border:1px solid #c8eb9d}
.tx-root .tx-primary:hover{background:#dff9bb}
.tx-root .tx-primary span{font-size:14px;margin-right:5px}
.tx-root .tx-secondary{padding:0 17px;color:#b5e4df;border:1px solid #4b756f;background:#213e45}
.tx-root .tx-secondary:hover{background:#30565c}
.tx-root .tx-square{padding:0 14px;border:1px solid #3b5867;background:#1a2e40;color:#c8d7dd;font-size:21px!important}
.tx-root .tx-diagnostics{margin-top:20px}
.tx-root .tx-diagnostics-header{display:flex;align-items:center;justify-content:space-between;padding:0 2px 12px;gap:10px}
.tx-root .tx-sync{font:600 10px ui-monospace,Consolas,monospace;color:#779c97;letter-spacing:.7px}
.tx-root .tx-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid #2a3c4e;border-radius:4px;background:#111e2d;overflow:hidden}
.tx-root .tx-metric{min-height:128px;padding:21px 15px 17px;border-right:1px solid #2a3c4e;display:flex;flex-direction:column;gap:11px}
.tx-root .tx-metric:last-child{border-right:0}
.tx-root .tx-metric-name{font:650 9px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.65px;color:#93a9b8}
.tx-root .tx-metric strong{font:540 clamp(18px,2vw,30px)/1 ui-monospace,Consolas,monospace;letter-spacing:-1.1px;color:#eef6f5;white-space:nowrap}
.tx-root .tx-metric:nth-child(2) strong,.tx-root .tx-metric:nth-child(4) strong{color:#aeeedb}
.tx-root .tx-metric strong small{font:500 11px ui-monospace,Consolas,monospace;letter-spacing:0;color:#889fab}
.tx-root .tx-metric em{font:500 10px ui-monospace,Consolas,monospace;color:#718da1;font-style:normal;margin-top:auto}
.tx-root .tx-bottom{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.7fr);gap:17px;margin-top:18px}
.tx-root .tx-chartpanel{padding:23px 23px 15px}
.tx-root .tx-charthead{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:18px}
.tx-root .tx-charthead h2{margin-top:6px}
.tx-root .tx-legend{display:flex;gap:16px;flex-wrap:wrap;font:600 9px ui-monospace,Consolas,monospace;color:#99adbc}
.tx-root .tx-legend i{display:inline-block;width:12px;height:3px;vertical-align:middle;margin-right:5px}
.tx-root .tx-chart{height:192px;width:100%;display:block}
.tx-root .tx-chart-footnote{font:500 10px ui-monospace,Consolas,monospace;color:#668296;margin:4px 0 0}
.tx-root .tx-exportpanel{padding:24px}
.tx-root .tx-exportpanel h2{margin:7px 0 10px}
.tx-root .tx-exportpanel p{font-size:12px;color:#8ea4b5;line-height:1.6;margin:0 0 20px}
.tx-root .tx-exportbutton{background:#182a3d;color:#d1e3e5;width:100%;border:1px solid #344e60;text-align:left;font:650 10px ui-monospace,Consolas,monospace;padding:13px 13px;margin:0 0 9px;letter-spacing:.5px}
.tx-root .tx-exportbutton:hover{border-color:#74d9ba;background:#213c49}
.tx-root .tx-exportbutton span{margin-left:8px}
.tx-root .tx-validation{display:flex;align-items:flex-start;font:600 9px/1.7 ui-monospace,Consolas,monospace;letter-spacing:.5px;color:#a5d2c4;border-top:1px solid #2a3e4e;padding-top:16px;margin-top:12px}
.tx-root .tx-validation .tx-green-dot{margin-top:4px}
.tx-root .tx-validation small{color:#718f9c;font-size:10px;letter-spacing:0}
.tx-root .tx-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #283b4a;padding:26px 0;margin-top:32px;color:#6f8899;font:600 9px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.45px}
.tx-root .tx-footer b{color:#90aaa8}
@media(max-width:1180px){.tx-root .tx-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.tx-root .tx-metric:nth-child(3){border-right:0}.tx-root .tx-metric:nth-child(-n+3){border-bottom:1px solid #2a3c4e}.tx-root .tx-intro h1{font-size:46px}.tx-root .tx-layout{grid-template-columns:minmax(0,1.2fr) minmax(320px,.82fr)}.tx-root .tx-material-key{gap:9px}.tx-root .tx-iconbutton span{display:none}}
@media(max-width:850px){.tx-root .tx-layout{grid-template-columns:1fr}.tx-root .tx-scene{min-height:440px}.tx-root .tx-panel-scroll{max-height:none}.tx-root .tx-bottom{grid-template-columns:1fr}.tx-root .tx-intro{align-items:flex-start}.tx-root .tx-id{display:none}}
@media(max-width:570px){.tx-root .tx-header{min-height:71px}.tx-root .tx-header-right .tx-chip:first-child{display:none}.tx-root .tx-chip{padding:7px;font-size:9px}.tx-root .tx-intro{padding:25px 0}.tx-root .tx-intro h1{font-size:39px;letter-spacing:-1.5px}.tx-root .tx-intro p{font-size:12px}.tx-root .tx-scene{min-height:360px}.tx-root .tx-scene-hint{display:none}.tx-root .tx-scene-low{inset:auto 15px 17px}.tx-root .tx-scene-low strong{font-size:18px}.tx-root .tx-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-root .tx-metric:nth-child(3){border-right:1px solid #2a3c4e}.tx-root .tx-metric:nth-child(even){border-right:0}.tx-root .tx-metric:nth-child(4){border-bottom:1px solid #2a3c4e}.tx-root .tx-metric{min-height:113px;padding:15px 12px}.tx-root .tx-metric strong{font-size:22px}.tx-root .tx-viewhead{padding:0 12px}.tx-root .tx-small-tag{display:none}.tx-root .tx-toolbar{padding:10px}.tx-root .tx-material-key{font-size:8px}.tx-root .tx-charthead{display:block}.tx-root .tx-legend{margin-top:12px}.tx-root .tx-runbar{padding:10px}.tx-root .tx-footer{flex-direction:column;align-items:flex-start}.tx-root .tx-chartpanel{padding:16px}}
