.term-section{padding:110px 0 84px;color:var(--ink,#ede6d6);font-family:inherit;scroll-margin-top:90px}.term-section *{box-sizing:border-box}.term-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:37px}.term-overline{font:11px 'Geist Mono',Consolas,monospace;letter-spacing:.055em;color:var(--gold,#c8a96e)}.term-section-head h2{font-family:'Noto Serif SC','Songti SC','SimSun',serif;font-weight:400;font-size:42px;line-height:1.3;letter-spacing:.03em;margin:14px 0 0}.term-section-head>p{font-size:14px;line-height:1.95;color:var(--muted,#a79a83);margin:0;max-width:400px}.term-workstation{background:var(--panel,#0e0d0b);border:1px solid rgba(200,169,110,.27);border-radius:3px;overflow:hidden;box-shadow:0 22px 60px rgba(0,0,0,.24)}.term-topbar{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:62px;padding:15px 25px;border-bottom:1px solid var(--line,rgba(200,169,110,.18));background:linear-gradient(110deg,rgba(200,169,110,.045),transparent 65%)}.term-terminal-name{display:flex;align-items:center;gap:12px;font-family:'Geist Mono',Consolas,monospace;font-size:13px;color:var(--ink,#ede6d6)}.term-terminal-name>svg{width:20px;height:24px;stroke:var(--gold,#c8a96e);stroke-width:1.1;fill:none}.term-slash{margin:0 10px;color:#6f6149}.term-name-secondary{font-size:11px;color:#b8ac96}.term-demo-badge{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;color:#d7be8d;border:1px solid rgba(200,169,110,.24);border-radius:2px;background:rgba(200,169,110,.055);padding:6px 9px;font-size:11px;line-height:1.4}.term-demo-badge>span{width:5px;height:5px;display:block;background:var(--gold,#c8a96e);border-radius:50%}.term-grid{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.92fr) minmax(0,1fr)}.term-field-panel,.term-candidate-panel,.term-flow-panel{min-width:0;padding:25px}.term-field-panel,.term-candidate-panel{border-right:1px solid var(--line,rgba(200,169,110,.18))}.term-field-panel{padding:25px 20px 23px}.term-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:20px;margin-bottom:23px}.term-panel-heading h3{font-size:13px;font-weight:500;letter-spacing:.015em;line-height:1.5;margin:0}.term-panel-heading>span{font-size:10px;color:var(--muted,#a79a83);line-height:1.5;white-space:nowrap}.term-field-wrap{margin:10px -10px 5px}.term-radar{display:block;width:100%;height:auto;overflow:visible}.term-map-grid{fill:none;stroke:rgba(200,169,110,.20);stroke-width:.7}.term-map-grid circle:first-child{stroke:rgba(200,169,110,.37)}.term-map-grid path{stroke:rgba(200,169,110,.13)}.term-map-ticks{fill:none;stroke:rgba(200,169,110,.55);stroke-width:1}.term-map-ticks path+path{stroke:rgba(200,169,110,.25)}.term-map-axis{font:8px 'Geist Mono',Consolas,monospace;letter-spacing:.09em;fill:#988569}.term-map-dots{fill:#8d7953;opacity:.72}.term-map-rays{fill:none;stroke:rgba(200,169,110,.22);stroke-width:.7}.term-selected-ray{fill:none;stroke:#d8b873;stroke-width:.9}.term-map-points{fill:#d8b873}.term-selected-halo{fill:rgba(200,169,110,.07);stroke:rgba(200,169,110,.14);stroke-width:.7}.term-selected-ring{fill:none;stroke:var(--gold-bright,#e8c97a);stroke-width:.9}.term-map-labels{font:10px 'Geist Mono',Consolas,monospace;fill:#b19c76}.term-map-labels .term-map-label-active{fill:#f1d79d}.term-map-center{fill:#17140e;stroke:rgba(200,169,110,.7);stroke-width:.8}.term-map-center circle+circle{fill:var(--gold-bright,#e8c97a);stroke:none}.term-core-label{font:7px 'Geist Mono',Consolas,monospace;letter-spacing:.12em;fill:#9c8863}.term-map-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:15px;font-size:10px;line-height:1.6;color:var(--muted,#a79a83);margin:22px -8px 0}.term-map-legend span{display:inline-flex;align-items:center;gap:6px}.term-map-legend i{height:4px;width:4px;background:var(--gold,#c8a96e);border-radius:50%}.term-map-legend span:nth-child(2) i{background:#7a6846}.term-map-legend span:last-child{color:#8f816a}.term-candidates{display:flex;flex-direction:column;gap:8px;margin-bottom:29px}.term-candidate{display:grid;grid-template-columns:1fr 1fr 14px;align-items:center;gap:10px;min-height:47px;width:100%;background:rgba(200,169,110,.015);border:1px solid rgba(200,169,110,.13);border-radius:2px;color:var(--muted,#a79a83);padding:11px 12px;text-align:left;font-family:inherit;font-size:11px;cursor:pointer;transition:background .2s,border-color .2s}.term-candidate .term-ticker{font:13px 'Geist Mono',Consolas,monospace;color:#c5b79d;letter-spacing:.025em}.term-candidate>span:nth-child(2){text-align:right;font-size:11px;white-space:nowrap}.term-candidate>svg{width:14px;height:14px;stroke:#86724e;stroke-width:1;fill:none;opacity:.55}.term-candidate:hover{border-color:rgba(200,169,110,.40);background:rgba(200,169,110,.04)}.term-candidate.term-candidate-active{border-color:rgba(200,169,110,.50);background:linear-gradient(100deg,rgba(200,169,110,.105),rgba(200,169,110,.03))}.term-candidate-active .term-ticker{color:var(--gold-bright,#e8c97a)}.term-candidate-active>svg{stroke:var(--gold-bright,#e8c97a);opacity:1}.term-rule-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.term-rule-title h4{font-size:11px;font-weight:500;color:#d8c9ab;margin:0;line-height:1.5}.term-rule-label{font-size:9px;line-height:1.5;color:#9e8b6b;white-space:nowrap}.term-rule-detail>p{font-size:11px;line-height:1.85;min-height:40px;color:var(--muted,#a79a83);margin:10px 0 13px}.term-rule-list{list-style:none;margin:0;padding:0}.term-rule-list li{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:7px;align-items:center;min-height:35px;border-top:1px solid rgba(200,169,110,.09);font-size:10px;line-height:1.65;color:#b6a88d}.term-check-mark{width:5px;height:5px;border:1px solid #726248;border-radius:50%}.term-check-status{font-size:9px;color:#8f816a;white-space:nowrap}.term-rule-list li.term-check-current{color:#ead1a0}.term-check-current .term-check-mark{background:#e8c97a;border-color:#e8c97a;box-shadow:0 0 0 3px rgba(200,169,110,.1)}.term-check-current .term-check-status{color:#d6b875}.term-rule-list li.term-check-done .term-check-mark{background:#9f895e;border-color:#9f895e}.term-rule-list li.term-check-done .term-check-status{color:#c0a572}.term-flow-panel{padding:25px 24px 22px}.term-flow-list{list-style:none;padding:0;margin:0 0 18px}.term-flow-step{position:relative;display:grid;grid-template-columns:25px minmax(0,1fr);gap:12px;padding-bottom:25px;min-height:75px}.term-flow-step:not(:last-child):after{content:'';position:absolute;left:12px;top:29px;width:1px;bottom:4px;background:rgba(200,169,110,.16)}.term-flow-step:last-child{padding-bottom:0;min-height:55px}.term-step-number{display:grid;place-items:center;border:1px solid #4b402c;border-radius:50%;width:25px;height:25px;font:10px 'Geist Mono',Consolas,monospace;color:#a18b65;background:#100f0c;position:relative;z-index:1}.term-flow-step h4{font-size:12px;font-weight:500;line-height:1.6;margin:2px 0 7px;color:#d0c1a6}.term-flow-step h4 span{font:9px 'Geist Mono',Consolas,monospace;color:#8e7b5b;margin-left:6px}.term-flow-step p{font-size:10px;line-height:1.75;color:#a6987e;margin:0;max-width:250px}.term-flow-step.term-flow-current .term-step-number{border-color:#cfb071;background:#302617;color:#f1d79d;box-shadow:0 0 0 4px rgba(200,169,110,.055)}.term-flow-current h4{color:#f0d49a}.term-flow-current p{color:#c7b592}.term-flow-step.term-flow-done .term-step-number{border-color:#9e8454;color:#cdb17a}.term-flow-step.term-flow-done:after{background:rgba(200,169,110,.48)}.term-flow-status{min-height:37px;font-size:10px;line-height:1.65;color:#ac9771;margin-bottom:11px}.term-flow-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.term-flow-controls button{font-family:inherit;cursor:pointer;transition:background .18s,border-color .18s,color .18s}.term-run{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b79a63;background:#c8a96e;color:#100e0a;padding:9px 11px;min-height:36px;line-height:1.4;border-radius:2px;font-size:11px}.term-run svg{width:11px;height:11px;fill:currentColor}.term-run:hover:not(:disabled){background:#e0bf7d;border-color:#e0bf7d}.term-run:disabled{cursor:default;background:#54472f;border-color:#6d5938;color:#d2bb8e}.term-control{border:0;border-bottom:1px solid transparent;border-radius:0;padding:6px 1px;min-height:36px;background:none;color:#c6b28a;font-size:10px}.term-control:hover:not(:disabled){color:#efd6a2;border-bottom-color:#9e8354}.term-control:disabled{color:#74654c;cursor:default}.term-candidate:focus-visible,.term-flow-controls button:focus-visible{outline:2px solid #e8c97a;outline-offset:3px}.term-bottom-bar{min-height:40px;padding:12px 25px;border-top:1px solid var(--line,rgba(200,169,110,.18));display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;font-size:10px;line-height:1.65;color:#9d8c70;background:rgba(200,169,110,.015)}.term-section-note{font-size:11px;line-height:1.8;color:var(--muted,#a79a83);margin:15px 0 0;max-width:840px}
@media(max-width:1180px){.term-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.term-candidate-panel{border-right:0}.term-field-panel{display:flex;flex-direction:column}.term-field-wrap{width:100%;max-width:425px;margin:auto;align-self:center}.term-map-legend{margin-top:auto;padding-top:14px}.term-flow-panel{grid-column:1/-1;border-top:1px solid var(--line,rgba(200,169,110,.18));display:grid;grid-template-columns:1fr auto;gap:0 28px;padding:23px 25px}.term-flow-panel>.term-panel-heading{grid-column:1/-1;margin-bottom:24px}.term-flow-list{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-bottom:23px}.term-flow-step{display:block;min-height:0;padding:0}.term-flow-step:not(:last-child):after{left:34px;top:12px;right:-12px;bottom:auto;width:auto;height:1px}.term-step-number{margin-bottom:12px}.term-flow-step h4{margin-top:0}.term-flow-step p{max-width:200px}.term-flow-status{min-height:0;max-width:430px;align-self:center;margin:0}.term-flow-controls{align-self:center}.term-candidates{margin-bottom:24px}}
@media(max-width:800px){.term-section{padding:78px 0 64px}.term-section-head{margin-bottom:28px}.term-section-head h2{font-size:35px}.term-section-head>p{font-size:12px}.term-topbar{padding:15px 20px;gap:14px}.term-demo-badge{font-size:10px}.term-name-secondary{font-size:10px}.term-field-panel,.term-candidate-panel{padding:23px 18px}.term-field-panel{padding-left:14px;padding-right:14px}.term-field-wrap{margin:auto -6px;width:calc(100% + 12px)}.term-flow-panel{padding:22px 20px}.term-flow-list{gap:15px}.term-flow-step h4 span{display:block;margin:3px 0 0}.term-flow-step p{font-size:10px}.term-flow-status{max-width:310px}.term-flow-controls{gap:12px}.term-map-legend{gap:9px;font-size:9px}.term-bottom-bar{padding:12px 20px}}
@media(max-width:620px){.term-section{padding:64px 0 54px}.term-section-head{display:block;margin-bottom:25px}.term-section-head h2{font-size:32px;margin-top:12px}.term-section-head>p{font-size:12px;margin-top:17px;line-height:1.8}.term-section-head>p br{display:none}.term-topbar{flex-wrap:wrap;gap:13px;padding:17px 18px}.term-terminal-name{font-size:12px}.term-terminal-name>svg{width:18px;height:21px}.term-name-secondary{font-size:10px}.term-demo-badge{font-size:10px;padding:5px 8px}.term-grid{grid-template-columns:1fr}.term-field-panel{border-right:0;border-bottom:1px solid var(--line,rgba(200,169,110,.18));padding:23px 18px 22px}.term-field-panel>.term-panel-heading{margin-bottom:8px}.term-field-wrap{width:100%;max-width:410px;margin:0 auto}.term-map-legend{margin-top:3px;padding-top:6px;font-size:9px;gap:14px}.term-candidate-panel{padding:24px 20px 22px}.term-candidate-panel>.term-panel-heading{margin-bottom:17px}.term-candidates{margin-bottom:25px}.term-candidate{min-height:44px;padding:10px 12px}.term-rule-detail>p{min-height:0;font-size:11px}.term-rule-list li{min-height:37px;font-size:11px;gap:8px}.term-check-status{font-size:10px}.term-rule-title h4{font-size:12px}.term-rule-label{font-size:10px}.term-flow-panel{display:block;padding:24px 20px}.term-flow-panel>.term-panel-heading{margin-bottom:23px}.term-flow-list{display:block;margin-bottom:20px}.term-flow-step{display:grid;grid-template-columns:26px minmax(0,1fr);gap:14px;min-height:78px;padding-bottom:25px}.term-flow-step:not(:last-child):after{left:12px;top:30px;bottom:5px;right:auto;width:1px;height:auto}.term-step-number{margin:0}.term-flow-step h4{font-size:12px;line-height:1.6;margin:2px 0 6px}.term-flow-step h4 span{display:inline;margin-left:8px}.term-flow-step p{font-size:11px;max-width:300px;line-height:1.8}.term-flow-step:last-child{min-height:54px;padding-bottom:0}.term-flow-status{min-height:36px;max-width:none;font-size:11px;margin-bottom:14px}.term-flow-controls{gap:18px}.term-run{font-size:11px;padding:10px 13px;min-height:40px}.term-control{font-size:11px;min-height:40px}.term-bottom-bar{gap:4px;padding:13px 20px;font-size:9px}.term-bottom-bar>span{width:100%}.term-section-note{font-size:10px;line-height:1.85;margin-top:14px}}
@media(max-width:360px){.term-topbar{padding:16px}.term-terminal-name{gap:9px}.term-slash{margin:0 7px}.term-field-panel{padding-left:14px;padding-right:14px}.term-candidate-panel,.term-flow-panel{padding-left:16px;padding-right:16px}.term-rule-list li{font-size:10px}.term-check-status{font-size:9px}.term-flow-controls{gap:15px}.term-run{padding:9px 10px}.term-map-legend{gap:10px;font-size:8px}.term-bottom-bar{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.term-section *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Ambient gold field; lifecycle is controlled by terminal.js. */
.term-ambient{animation-play-state:paused!important}.term-section[data-term-motion="running"] .term-ambient{animation-play-state:running!important}.term-scan{transform-origin:220px 180px;transform-box:view-box;animation:term-radar-turn 7.5s linear infinite;will-change:transform}.term-scan-edge{fill:none;stroke:#E8C97A;stroke-width:1.1;opacity:.8;filter:drop-shadow(0 0 3px rgba(232,201,122,.5))}.term-radar-wave{fill:none;stroke:#C8A96E;stroke-width:1;opacity:0;transform-box:fill-box;transform-origin:center;animation:term-radar-wave 7.5s linear infinite}.term-ray-stream,.term-selected-stream{fill:none;stroke:#D7B773;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:8 92;stroke-dashoffset:100;opacity:.65;animation:term-ray-travel 3.8s linear infinite}.term-ray-stream:nth-child(2){animation-delay:-1.2s}.term-ray-stream:nth-child(3){animation-delay:-2.4s}.term-selected-stream{stroke:#F0D89D;stroke-width:1.8;stroke-dasharray:12 88;opacity:.9;animation-duration:2.8s;filter:drop-shadow(0 0 3px rgba(232,201,122,.5))}.term-signal-pulse{fill:rgba(200,169,110,.035);stroke:#D2B371;stroke-width:.8;transform-box:fill-box;transform-origin:center;animation:term-signal-breathe 4.8s ease-out infinite;opacity:.2}.term-signal-pulse:nth-child(2){animation-delay:-1.6s}.term-signal-pulse:nth-child(3){animation-delay:-3.2s}.term-selected-halo{animation:term-selected-breathe 3.4s ease-in-out infinite;transform-box:fill-box;transform-origin:center;fill:rgba(200,169,110,.1);stroke:rgba(200,169,110,.3)}.term-map-points{filter:drop-shadow(0 0 3px rgba(232,201,122,.35))}.term-selected-ring{stroke-width:1.15}.term-check-current{position:relative;overflow:hidden}.term-check-current:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 20%,rgba(200,169,110,.1),transparent 75%);animation:term-rule-gleam 1.9s ease-in-out infinite;animation-play-state:paused}.term-flow-current .term-step-number:before{content:'';position:absolute;inset:-5px;border-radius:50%;border:1px solid rgba(200,169,110,.12);border-top-color:#E8C97A;border-right-color:rgba(232,201,122,.45);animation:term-radar-turn 1.9s linear infinite;animation-play-state:paused}.term-flow-current:not(:last-child):after{background:linear-gradient(180deg,rgba(200,169,110,.18) 5%,#E8C97A 48%,rgba(200,169,110,.18) 85%);background-size:100% 220%;animation:term-flow-down 1.9s linear infinite;animation-play-state:paused;box-shadow:0 0 6px rgba(200,169,110,.15)}.term-section[data-term-motion="running"][data-term-phase="running"] .term-check-current:after,.term-section[data-term-motion="running"][data-term-phase="running"] .term-flow-current .term-step-number:before,.term-section[data-term-motion="running"][data-term-phase="running"] .term-flow-current:not(:last-child):after{animation-play-state:running}.term-flow-meter{position:relative;height:2px;width:100%;background:rgba(200,169,110,.12);margin:0 0 17px;overflow:hidden}.term-flow-meter>span{position:absolute;inset:0;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#8D7346,#E8C97A);transition:transform .7s cubic-bezier(.16,.8,.3,1)}.term-flow-meter>i{position:absolute;width:2px;top:0;bottom:0;left:25%;background:#0e0d0b}.term-flow-meter>i:nth-of-type(2){left:50%}.term-flow-meter>i:nth-of-type(3){left:75%}.term-section[data-term-motion="paused"] .term-flow-meter>span{transition:none}.term-section[data-term-phase="complete"] .term-flow-meter>span{box-shadow:0 0 8px rgba(232,201,122,.35)}
@keyframes term-radar-turn{to{transform:rotate(360deg)}}@keyframes term-radar-wave{0%{transform:scale(.15);opacity:0}10%{opacity:.22}65%{opacity:.12}88%,100%{transform:scale(1);opacity:0}}@keyframes term-ray-travel{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}@keyframes term-signal-breathe{0%{transform:scale(.45);opacity:.55}70%,100%{transform:scale(1.5);opacity:0}}@keyframes term-selected-breathe{0%,100%{transform:scale(.85);opacity:.45}50%{transform:scale(1.16);opacity:1}}@keyframes term-rule-gleam{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@keyframes term-flow-down{from{background-position:0 100%}to{background-position:0 0}}@keyframes term-flow-right{from{background-position:100% 0}to{background-position:0 0}}
@media(max-width:1180px) and (min-width:621px){.term-flow-meter{grid-column:1/-1;grid-row:3;margin-bottom:17px}.term-flow-status{grid-column:1;grid-row:4}.term-flow-controls{grid-column:2;grid-row:4}.term-flow-current:not(:last-child):after{background:linear-gradient(90deg,rgba(200,169,110,.18) 5%,#E8C97A 48%,rgba(200,169,110,.18) 85%);background-size:220% 100%;animation-name:term-flow-right}}
@media(prefers-reduced-motion:reduce){.term-section .term-ambient,.term-section *:before,.term-section *:after{animation:none!important;transition:none!important}.term-scan{opacity:.3;transform:rotate(-28deg)}.term-radar-wave,.term-signal-pulse,.term-ray-stream,.term-selected-stream{opacity:0}.term-selected-halo{opacity:.65;transform:none}.term-flow-meter>span{transition:none}}

.term-section[data-term-phase="paused"] .term-flow-meter>span{transition:none}

/* V2 instrument: scan, echoes and tracking share one animation clock. */
.term-workstation{border-color:rgba(200,169,110,.34);background:linear-gradient(150deg,#12100d,#0b0a09 62%);box-shadow:0 30px 80px rgba(0,0,0,.4),inset 0 1px 0 rgba(236,207,149,.085),0 0 0 5px rgba(200,169,110,.025)}.term-topbar{min-height:65px;background:linear-gradient(100deg,rgba(220,188,122,.075),rgba(200,169,110,.015) 52%,transparent);box-shadow:inset 0 -1px 0 rgba(0,0,0,.5)}.term-field-panel{background:radial-gradient(ellipse at 50% 45%,rgba(173,133,66,.065),transparent 64%),linear-gradient(180deg,rgba(255,226,173,.015),transparent 45%)}.term-candidate-panel{background:rgba(8,7,6,.2)}.term-flow-panel{background:linear-gradient(180deg,rgba(200,169,110,.018),transparent 60%)}.term-field-wrap{position:relative}.term-field-panel>.term-panel-heading{padding-bottom:12px;border-bottom:1px solid rgba(200,169,110,.11);margin-bottom:16px}.term-field-panel #term-track-status{color:#c6ae7f;font-family:'Geist Mono',Consolas,monospace;font-size:10px}.term-instrument-bezel{fill:none;stroke:#C8A96E;stroke-width:.75}.term-bezel-outer{stroke:#8f7952;stroke-width:.65}.term-bezel-inner{stroke:rgba(200,169,110,.18);stroke-width:.5}.term-bezel-major{stroke:#d8ba7f;stroke-width:1}.term-bezel-mid{stroke:rgba(200,169,110,.62);stroke-width:.8}.term-bezel-minor{stroke:rgba(200,169,110,.28);stroke-width:.6}.term-section .term-scan{animation:none!important;transform-box:view-box;transform-origin:220px 180px;will-change:transform}.term-scan-edge{stroke:#f3d79b;stroke-width:.85;opacity:.9}.term-map-grid circle:first-child{stroke:rgba(200,169,110,.28)}.term-map-grid circle:nth-child(2){stroke-dasharray:1 4;stroke:rgba(200,169,110,.25)}.term-map-grid circle:nth-child(3){stroke:rgba(200,169,110,.22)}.term-map-grid path{stroke:rgba(200,169,110,.105)}.term-map-axis{font-size:8px;fill:#a28c66;letter-spacing:.055em}.term-return-echoes circle{fill:rgba(232,201,122,.035);stroke:#efd394;stroke-width:.85;opacity:0}.term-echo-flights circle{fill:#f1d99f;opacity:0;filter:drop-shadow(0 0 3px rgba(232,201,122,.75))}.term-track-reticle{fill:none;stroke:#efd394;stroke-width:1;filter:drop-shadow(0 0 2px rgba(200,169,110,.22))}.term-track-cross{stroke:rgba(200,169,110,.4);stroke-width:.65}.term-selected-ray{stroke:#cfb16f;stroke-width:.75;stroke-dasharray:2 4;opacity:.65}.term-selected-ring{stroke:#d9b978;stroke-width:.7;opacity:.8}.term-map-labels text{font-size:10px;transition:fill .18s}.term-map-labels .term-label-echo{fill:#f1d99f}.term-candidate{position:relative;isolation:isolate;min-height:50px}.term-candidate:before{content:'';position:absolute;inset:-1px;pointer-events:none;border:1px solid #e8c97a;border-radius:2px;box-shadow:inset 0 0 20px rgba(200,169,110,.05),0 0 8px rgba(200,169,110,.1);opacity:var(--term-echo,0)}.term-candidate.term-candidate-active{background:linear-gradient(100deg,rgba(213,178,108,.14),rgba(200,169,110,.025));box-shadow:inset 2px 0 0 #c8a96e}.term-candidate .term-ticker{font-size:14px}.term-rule-title{padding-bottom:10px;border-bottom:1px solid rgba(200,169,110,.12)}.term-rule-detail>p{margin-top:11px}.term-flow-step.term-flow-current .term-step-number{box-shadow:0 0 0 4px rgba(200,169,110,.06),0 0 17px rgba(200,169,110,.07)}.term-flow-meter{height:3px;box-shadow:0 1px 0 rgba(0,0,0,.7)}.term-run{box-shadow:inset 0 1px 0 rgba(255,238,196,.2),0 3px 9px rgba(0,0,0,.2)}
@media(max-width:620px){.term-workstation{box-shadow:0 18px 45px rgba(0,0,0,.25),0 0 0 3px rgba(200,169,110,.02)}.term-field-panel>.term-panel-heading{margin-bottom:13px}.term-candidate{min-height:46px}.term-map-legend{column-gap:10px}.term-map-legend span:last-child{font-size:8px}}
@media(prefers-reduced-motion:reduce){.term-section .term-scan{opacity:.35}.term-return-echoes circle,.term-echo-flights circle{opacity:0!important}.term-candidate:before{opacity:0!important}.term-track-reticle{filter:none}}

/* Keep the account and the market it describes in a shared instrument bay. */
.term-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr) minmax(0, 1fr);
  grid-template-areas:
    "account radar rules"
    "events events events"
    "flow flow flow";
}
.account-slot { grid-area: account; min-width: 0; border-right: 1px solid var(--line); }
.event-slot { grid-area: events; min-width: 0; border-top: 1px solid var(--line); }
.term-field-panel { grid-area: radar; display: flex; flex-direction: column; }
.term-field-wrap { width: 100%; margin: auto 0; }
.term-grid .term-candidate-panel { grid-area: rules; border-right: 0; }
.term-grid .term-flow-panel { grid-area: flow; border-top: 1px solid var(--line); }

@media (min-width: 621px) {
  .term-grid .term-flow-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; padding: 23px 25px; }
  .term-flow-panel > .term-panel-heading { grid-column: 1/-1; margin-bottom: 18px; }
  .term-flow-list { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 16px; }
  .term-flow-step, .term-flow-step:last-child { min-height: 0; padding: 0; display: block; }
  .term-flow-step:not(:last-child)::after { width: auto; height: 1px; left: 37px; right: 0; top: 13px; bottom: auto; }
  .term-step-number { margin-bottom: 10px; }
  .term-flow-step h4 { margin: 5px 0; }
  .term-flow-meter { grid-column: 1/-1; grid-row: 3; margin: 4px 0 14px; }
  .term-flow-status { grid-column: 1; grid-row: 4; align-self: center; min-height: 0; margin: 0; }
  .term-flow-controls { grid-column: 2; grid-row: 4; align-self: center; margin: 0; }
}
@media (min-width: 621px) and (max-width: 1040px) {
  .term-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-areas: "account radar" "events events" "rules rules" "flow flow";
  }
  .term-grid .term-field-panel { border-right: 0; }
  .term-candidate-panel { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0 28px; border-top:1px solid var(--line); }
  .term-candidate-panel .term-panel-heading { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  .term-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "account" "events" "radar" "rules" "flow"; }
  .account-slot { border-right: 0; }
  .term-grid .term-field-panel { border-top: 1px solid var(--line); }
}

.account-slot { container-type: inline-size; }
.account-slot .acc-panel { height: 100%; border: 0; border-radius: 0; --acc-positive: #87d7b1; }
.account-slot .acc-nav { font-size: clamp(26px, 9.8cqi, 42px); letter-spacing: -.047em; }
.account-slot .acc-heading-row h3 { font-size: 14px; }
.account-slot .acc-regime-heading h4, .account-slot .acc-chart-heading h4 { font-size: 12px; }
.event-slot .evt-feed { border-top: 0; }
@media(min-width: 800px) {
  .event-slot .evt-line { font-size: 12px; }
}

/* Keep mobile rule checks optional; selection and the decision path stay available. */
.term-rule-disclosure{min-width:0}
.term-rule-summary{display:none}
@media(max-width:680px){
  .term-rule-disclosure{border-top:1px solid rgba(200,169,110,.18);margin-top:15px}
  .term-rule-summary{display:block;min-height:44px;list-style:none;padding:14px 0 13px;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .term-rule-summary::-webkit-details-marker{display:none}
  .term-rule-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:20px}
  .term-rule-summary-heading>strong{font:500 13px/1.6 var(--mono,Consolas,'Microsoft YaHei',sans-serif);color:#e2c893}
  .term-rule-disclosure-action{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;font-size:12px;line-height:1.6;color:#b7a17c}
  .term-rule-disclosure-action i{width:8px;height:8px;border-right:1px solid #c8a96e;border-bottom:1px solid #c8a96e;transform:rotate(45deg);margin-top:-4px}
  .term-rule-disclosure[open] .term-rule-disclosure-action i{transform:rotate(225deg);margin-top:3px}
  .term-rule-summary-text{display:block;margin-top:7px;font-size:13px;line-height:1.75;color:#ad9d82;overflow-wrap:anywhere}
  .term-rule-disclosure[open] .term-rule-detail{padding-top:10px;border-top:1px solid rgba(200,169,110,.1)}
  .term-rule-summary:focus-visible{outline:2px solid #e8c97a;outline-offset:4px}
  .term-flow-controls button{min-height:44px}
}
