/* TRAXEVORA guided research. Trading charts intentionally use exchange conventions. */
.guided-workspace{--guide-accent:#127c70;--guide-ink:#1c303a;--guide-muted:#647681}
.guided-workspace .workspace main{max-width:1580px;margin:auto}
.guided-workspace h1,.guided-workspace h2,.guided-workspace h3{word-break:keep-all;overflow-wrap:break-word}
.guided-workspace #build #previewLive,.guided-workspace #build .builder-live-start{display:none}
.guide-pattern-picker,.guide-rule-editor,.guide-execution-settings{border:1px solid #dce7e1;border-radius:12px;padding:16px;margin:16px 0;background:#fbfdfc}
.guide-pattern-picker>summary,.guide-rule-editor>summary,.guide-execution-settings>summary{cursor:pointer;color:#42675b;font-size:13px;font-weight:650}
.guide-pattern-picker[open]>summary,.guide-rule-editor[open]>summary,.guide-execution-settings[open]>summary{margin-bottom:18px}
.guide-execution-settings label{display:block;margin:16px 0}.guide-execution-settings select{margin-top:8px}
.guided-workspace #build .guide-builder-footer{position:sticky;bottom:0;z-index:5;background:#f7fbf9f5;backdrop-filter:blur(8px);padding:14px 18px;border:1px solid #dce7e1;border-radius:12px;box-shadow:0 -5px 20px #193c2410}
.guided-workspace .workspace main>.steps{display:none!important}
.guided-workspace .dashboard-hero{padding:42px;min-height:240px;background:radial-gradient(ellipse at 80% 100%,#245b54 0,transparent 55%),#142e37}
.guided-workspace .dashboard-hero h1{max-width:650px;font-size:clamp(28px,3vw,44px);line-height:1.35;font-weight:750;letter-spacing:-1.8px}
.guided-workspace .dashboard-hero h1+p{max-width:570px;line-height:1.9}
.guide-start{padding:20px 0 32px;scroll-margin-top:20px}.guide-start h2{font-size:26px;letter-spacing:-.9px;margin:6px 0 10px}.guide-start>p{color:var(--guide-muted)}
.guide-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 16px}
.guide-preset{position:relative;display:flex;flex-direction:column;align-items:start;min-width:0;padding:26px;border:1px solid #dce5e6;border-radius:18px;background:#fff;box-shadow:0 5px 24px #223f4805;transition:border-color .18s,transform .18s}
.guide-preset:hover{border-color:#65aa9d;transform:translateY(-3px)}.guide-tag{display:inline-block;border-radius:6px;padding:5px 9px;background:#edf5f2;color:#287165;font-size:11px;font-weight:650}.guide-preset-number{font-family:monospace;font-size:36px;font-weight:400;color:#d5e5df;margin:22px 0 10px}.guide-preset h3{font-size:18px;margin:0 0 12px;letter-spacing:-.5px}.guide-preset p{font-size:13px;line-height:1.8;color:var(--guide-muted);margin:0 0 18px;flex:1}.guide-preset small{font-size:11px;color:#77898b;margin-bottom:18px}.guide-preset .primary{width:100%;min-height:44px;box-shadow:none}.guide-custom{font-size:13px}
.guide-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;border:1px solid #dce7e5;background:#eef4f1;border-radius:14px;margin:4px 0 12px}.guide-step{border:0!important;background:transparent!important;color:#647770!important;box-shadow:none!important;padding:14px 8px!important;min-height:48px}.guide-step.active{background:#fff!important;color:#136c60!important;box-shadow:0 2px 6px #143e2410!important}.guide-status{color:#9b5c11;font-size:13px;line-height:1.7;min-height:2px;margin-bottom:14px}.guide-status:empty{display:none}
.guided-workspace #build .heading{flex-wrap:wrap}.guided-workspace #build .heading>div{flex:1}.guided-workspace #build .layout{grid-template-columns:minmax(0,1fr) 290px;align-items:start}.guided-workspace #build[data-guide-mode=guided] .guide-advanced-panel{display:none}.guided-workspace #build[data-guide-mode=guided]:not([data-guide-current="3"]) .research-action{display:none}.guided-workspace #build [data-guide-panel][hidden]{display:none!important}.guided-workspace #build[data-guide-mode=guided] .layout>.sticky{top:20px}
.guide-inline-presets{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 22px;padding:16px;border-radius:10px;background:#f2f7f5}.guide-inline-presets p{flex-basis:100%;margin:0;color:#4c675d;font-size:13px}.guide-inline-presets button{font-size:12px;padding:8px 12px;min-height:38px}
.guide-review-sentence{font-size:20px;line-height:1.7;color:#17665c}.guide-review>p{line-height:1.85}.guide-review #guideReviewRules{padding:16px;background:#f1f6f4;border-radius:12px;overflow-wrap:anywhere}.guide-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-top:1px solid #dde7e4}.guide-builder-footer span{font-size:12px;color:#718079}.guide-result-help{border-left:3px solid #198674;background:#eaf5f0;padding:20px 24px;margin:18px 0 24px;border-radius:0 12px 12px 0}.guide-result-help p{font-size:13px;line-height:1.8}.guide-result-help small{color:#546a61}.guided-workspace.backtest-only #researchReport .next{display:block!important}.guided-workspace.backtest-only #useStrategy{display:none!important}
.guided-workspace.signed-out dialog.guide-demo-dialog[open]{display:block}.guide-demo-dialog{width:min(1050px,94vw);max-height:92vh;padding:28px;border:1px solid #435251;border-radius:18px;overflow:auto}.guide-demo-dialog::backdrop{background:#0b1b27b8;backdrop-filter:blur(5px)}.guide-demo-heading{display:flex;justify-content:space-between;align-items:center;color:#548376;font-size:12px;font-weight:700}.guide-demo-dialog h2{font-size:24px;line-height:1.5;margin-top:18px}.guide-demo-dialog p{line-height:1.8;color:#60746e;font-size:13px}.guide-public-demo{margin-top:22px!important;background:#99e3cb!important;color:#153c34!important;border-color:#99e3cb!important}
.exchange-chart{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;background:#181a20;color:#eaecef;border:1px solid #30343c;border-radius:10px;overflow:hidden;margin:16px 0;contain:layout style}.exchange-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px 16px;border-bottom:1px solid #30343c}.exchange-chart-identity{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.exchange-chart-identity strong{color:#eaecef;font-size:14px}.exchange-chart .chart-frame{color:#f0b90b;font-size:12px}.exchange-chart .chart-source{font-size:10px;border:1px solid #495047;border-radius:4px;padding:3px 6px;color:#b2b9c2}.exchange-chart-tools{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.exchange-chart .exchange-chart-tools button{border:0;background:transparent;color:#b7bdc6;font-size:11px;line-height:1.4;padding:7px 9px;min-height:32px;border-radius:4px;box-shadow:none}.exchange-chart .exchange-chart-tools button:hover,.exchange-chart .exchange-chart-tools button[aria-pressed=true]{background:#343124;color:#f0b90b}.exchange-chart-quote{display:flex;gap:12px;flex-wrap:wrap;min-height:44px;padding:10px 16px 0;font:11px/1.7 ui-monospace,monospace;color:#929aa8}.exchange-chart-quote .chart-up{color:#0ecb81}.exchange-chart-quote .chart-down{color:#f6465d}.exchange-chart-canvas{width:100%;min-width:0;min-height:290px;touch-action:pan-y}.exchange-chart-canvas:focus-visible{outline:2px solid #f0b90b;outline-offset:-3px}.exchange-chart-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 16px;border-top:1px solid #30343c;font-size:10px;color:#929aa8}.exchange-chart-foot a{color:#aab4c2;text-decoration:none}.exchange-chart:fullscreen{border-radius:0;padding:12px}.exchange-chart:fullscreen .exchange-chart-canvas{height:calc(100vh - 140px)}.chart-expanded{position:relative;width:100%}
@media(max-width:1100px){.guided-workspace #build .layout{grid-template-columns:minmax(0,1fr)}.guided-workspace #build .layout>aside{position:static}.guide-preset{padding:20px}.guide-preset h3{font-size:16px}}
@media(max-width:760px){.guided-workspace .dashboard-hero{padding:26px 22px;min-height:0}.guide-preset-grid{grid-template-columns:1fr;gap:12px}.guide-preset{padding:22px;min-height:0}.guide-preset-number{position:absolute;right:20px;top:12px;margin:0;font-size:29px}.guide-preset h3{margin-top:22px}.guide-start h2{font-size:23px}.guide-stepper{gap:3px;padding:5px}.guide-step{font-size:11px!important;padding:10px 4px!important}.guide-builder-footer span{display:none}.guide-demo-dialog{padding:18px;width:96vw}.guide-demo-dialog h2{font-size:20px}.exchange-chart-head{padding:10px}.exchange-chart-quote{gap:5px 10px;padding:10px;font-size:10px}.exchange-chart-tools{width:100%;justify-content:space-between}.exchange-chart-foot{font-size:9px;padding:9px}.guide-result-help{padding:16px}.guide-inline-presets button{width:100%}.guided-workspace #build .heading>.secondary{min-height:38px}}
@media(prefers-reduced-motion:reduce){.guide-preset{transition:none}.guide-preset:hover{transform:none}}

@media(max-width:760px){.guide-step{word-break:keep-all;line-height:1.5}.guided-workspace #build [data-guide-panel="1"]{padding:14px}.guided-workspace #conditionExampleOverview{padding:12px 0;border:0;background:transparent}.guided-workspace .guide-inline-presets{padding:12px}}

.exchange-chart:fullscreen .exchange-chart-canvas{min-height:160px}

.guided-workspace .guide-confirm-dialog{box-sizing:border-box;position:fixed;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;overflow:auto;padding:32px;border:1px solid #d8e6e1;border-radius:24px;background:#fff;color:#1c353d;box-shadow:0 28px 100px #0b29363d;font-family:inherit}
.guide-confirm-dialog::backdrop{background:#102c3b80;backdrop-filter:blur(6px)}
.guide-confirm-dialog .guide-confirm-close{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:10px;background:transparent;color:#728580;font-size:24px;box-shadow:none}
.guide-confirm-dialog .guide-confirm-close:hover{background:#edf5f1;color:#147d70}
.guide-confirm-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:22px;border-radius:14px;background:linear-gradient(140deg,#a2e5ce,#42b79f);color:#123f36;font-size:28px;font-weight:700;box-shadow:0 5px 16px #1b8b7320}
.guide-confirm-dialog .eyebrow{margin:0 0 8px;color:#548177;font-size:10px;letter-spacing:.13em;font-weight:700}
.guide-confirm-dialog h2{font-size:26px;line-height:1.4;letter-spacing:-.8px;margin:0 0 12px;word-break:keep-all}
.guide-confirm-dialog #guidePresetConfirmDescription{font-size:14px;color:#637a78;line-height:1.8;margin:0 0 22px;word-break:keep-all}
.guide-confirm-selection{padding:18px;border:1px solid #cfe6dc;border-radius:14px;background:#f0f8f4}.guide-confirm-selection>span{display:block;color:#648379;font-size:11px;margin-bottom:8px}.guide-confirm-selection>strong{display:block;color:#1a6758;font-size:17px;line-height:1.5}.guide-confirm-selection>p{color:#5b756b;font-size:12px;line-height:1.8;margin:8px 0 0;word-break:keep-all}
.guide-confirm-note{padding:0;margin:16px 0 24px;color:#657c74;font-size:12px;line-height:1.8;word-break:keep-all}
.guide-confirm-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:10px}.guide-confirm-actions button{min-height:48px;padding:12px 10px;font-size:13px;font-weight:700;border-radius:12px;box-shadow:none;word-break:keep-all}.guide-confirm-actions .primary{background:#147f73;border-color:#147f73;color:white}.guide-confirm-actions .primary:hover{background:#106b61}.guide-confirm-actions .secondary{border:1px solid #d6e3dd;background:white;color:#4b6960}.guide-confirm-dialog button:focus-visible{outline:3px solid #67cbb3;outline-offset:3px}
.guided-workspace #dashboard>.attendance-card{margin:0 0 28px}
@media(max-width:400px){.guided-workspace .guide-confirm-dialog{padding:26px 22px;border-radius:20px}.guide-confirm-dialog h2{font-size:23px}.guide-confirm-actions{grid-template-columns:1fr 1fr}.guide-confirm-actions button{font-size:12px}}

.guide-rule-help{padding:18px;background:#eef7f5;border:1px solid #cce5df;border-radius:14px;margin:16px 0}.guide-rule-help h3{margin:0 0 10px}.guide-rule-help p{font-size:13px;line-height:1.8;margin:6px 0 14px}.guide-rule-help>div{padding:10px 0;border-top:1px solid #d4e7e2}.guide-rule-help small{line-height:1.7;display:block}
.guided-workspace .guide-demo-dialog{box-sizing:border-box;width:min(1040px,calc(100vw - 24px));max-width:1040px;max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.guide-demo-heading{position:sticky;top:-20px;z-index:3;background:#fff;padding:10px 0}.guide-demo-tutorial{background:#eef7f5;border:1px solid #cde5de;border-radius:12px;padding:14px;margin:12px 0}.guide-demo-tutorial p{font-size:13px;line-height:1.7;margin:8px 0}.guide-demo-actions{display:flex;justify-content:space-between;gap:12px}.guide-demo-actions button{min-height:42px}.guide-demo-chart{min-width:0}.guide-demo-dialog h2{font-size:20px}.guide-demo-dialog>p{font-size:12px;line-height:1.7}@media(max-width:600px){.guided-workspace .guide-demo-dialog{padding:12px}.guide-demo-heading{top:-12px}.guide-demo-dialog h2{font-size:17px}.guide-demo-tutorial{padding:10px}}

/* Keep one editor and one live chart alongside the complete editing column. */
.guided-workspace #build .layout{grid-template-columns:minmax(320px,1fr) minmax(380px,.95fr);align-items:stretch}
.guide-side-rail{min-width:0;align-self:stretch}.guide-side-rail>aside{position:static;margin:0 0 18px}.guide-live-preview{position:sticky;top:90px;max-height:calc(100dvh - 175px);overflow:auto;overscroll-behavior:contain;border:1px solid #d8e6e2;border-radius:16px;background:#f7fbf9;padding:14px;box-sizing:border-box;scrollbar-gutter:stable}
.guide-live-preview #conditionExampleOverview{margin:0;padding:0;border:0;background:transparent}.guide-live-preview #conditionExampleOverview>h3{font-size:16px;margin:0 0 12px}.guide-live-preview #conditionExampleOverview>p,.guide-live-preview .example-entry-steps{display:none}.guide-live-preview #conditionExampleOverview>.example-status{display:block;font-size:12px;color:#95601e}.guide-live-preview .example-legend{font-size:11px;line-height:1.7;gap:7px 12px}.guide-live-preview .exchange-chart{margin:10px 0}.guide-live-preview .exchange-chart-head{padding:10px}.guide-live-preview .exchange-chart-tools{width:100%;justify-content:space-between}.guide-live-preview .exchange-chart-quote{font-size:10px;padding:6px 10px;gap:4px 8px}.guide-live-preview .example-moments{padding-left:20px;font-size:12px}.guide-live-preview .example-combination{font-size:12px}.guide-rule-help>summary{cursor:pointer;font-weight:600}.guide-rule-editor>.guide-pattern-picker{margin-top:0}.guide-rule-editor>summary{font-size:15px}
@media(max-width:1100px){.guided-workspace #build .layout{grid-template-columns:minmax(300px,1fr) minmax(330px,1fr)}}
@media(max-width:950px){.guided-workspace #build .layout{grid-template-columns:minmax(0,1fr)}.guide-side-rail{min-width:0}.guide-live-preview{position:static;max-height:none;overflow:visible}.guide-live-preview .exchange-chart-canvas{min-height:290px}}
.guided-workspace .guide-rule-editor .inline-condition-example{display:none}
