*{box-sizing:border-box}body{margin:0;background:rgb(var(--color-surface));color:#13233c;font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.2;letter-spacing:-1.15px;font-weight:650}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:15px;font-weight:650}.layout{display:flex;min-height:100vh}.sidebar{background:rgb(var(--color-brand-950));color:#fff;width:238px;position:fixed;inset:0 auto 0 0;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;padding:0 12px 34px}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border:1px solid #d3b26e80;border-radius:10px;color:#dfc487;font-size:16px;font-weight:700}.brand strong{display:block;letter-spacing:2px;font-size:14px}.brand small{display:block;letter-spacing:1.4px;color:#7d8ca3;font-size:9px;margin-top:3px}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;color:#73829a;padding:8px 15px 15px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 16px;margin:3px 0;border:0;color:#aebacd;text-decoration:none;font-size:13px;border-radius:9px;background:none;width:100%;position:relative;text-align:left}.nav-item svg{width:18px;height:18px}.nav-item.active{background:#102748;color:#fff}.nav-item.active:before{content:"";position:absolute;left:0;height:20px;width:3px;background:#d3b26e;border-radius:3px}.nav-item.active svg{color:#d3b26e}.nav-item:hover{background:#ffffff09;color:#fff}.side-bottom{margin-top:auto;padding-top:35px}.private-box{border:1px solid #23334b;border-radius:12px;padding:15px;margin:15px 8px;color:#aebacd;font-size:12px}.private-box strong{display:block;color:#dfe5ee;font-size:12px;margin-bottom:4px}.side-foot{display:flex;gap:10px;align-items:center;padding:18px 12px 0;border-top:1px solid #213149}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#2a3b55;color:#edce89;font-size:12px}.side-foot small{color:#8092ac;display:block;font-size:10px}.main{margin-left:238px;flex:1;min-width:0}.topbar{height:80px;background:#fff9;border-bottom:1px solid #e4e4e7;display:flex;align-items:center;justify-content:space-between;padding:0 40px;color:#738090;font-size:12px}.topbar strong{color:#172c49;font-weight:600}.top-right{display:flex;align-items:center;gap:20px}.pill{display:inline-flex;gap:7px;align-items:center;border:1px solid #e5e7eb;border-radius:20px;padding:5px 10px;font-size:10px;letter-spacing:.4px;background:white;white-space:nowrap}.pill.demo{background:#fbf7ee;border-color:#ead9b0;color:#806230}.pill.muted{background:#f5f6f8;color:#65748a}.dot{width:6px;height:6px;border-radius:50%;background:#bf9856}.page{padding:36px 40px 55px;max-width:1530px;margin:auto}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:#9b7b40;font-weight:650;margin-bottom:11px}.heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.sub{color:#778190;font-size:13px;max-width:700px;margin-top:10px;line-height:1.65}.actions{display:flex;gap:9px;align-items:center}.button{border:1px solid #dfe2e6;background:white;color:#203654;border-radius:8px;padding:10px 15px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:8px;text-decoration:none;white-space:nowrap}.button.primary{background:rgb(var(--color-brand-700));border-color:rgb(var(--color-brand-700));color:white}.button.accent{background:#d3b26e;border-color:#d3b26e;color:#182942}.button.small{padding:7px 10px;font-size:11px}.button.ghost{background:transparent;border-color:transparent}.button svg{width:15px;height:15px}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:23px}.stat{background:#fff;border:1px solid #e4e4e7;padding:18px 21px;border-radius:12px;display:flex;align-items:center;justify-content:space-between}.stat strong{font-size:26px;display:block;letter-spacing:-1px;line-height:1.3}.stat span{color:#758194;font-size:11px}.stat-icon{padding:12px;background:#f0f4fa;border-radius:12px;color:#7890ad;display:grid}.stat-icon svg{width:18px;height:18px}.research-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.card{border:1px solid #e4e4e7;background:#fff;border-radius:16px;padding:25px;box-shadow:0 1px 2px #06142b03}.card+ .card{margin-top:18px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.muted{color:#8190a2}.small{font-size:11px}.research-hero{padding:29px 30px}.hero-title{display:flex;align-items:center;gap:10px;margin-bottom:8px}.hero-title svg{width:21px;color:#bd9451}.question-box{border:1px solid #dce2eb;border-radius:12px;margin-top:22px;overflow:hidden;background:#fdfdfd}.question-box textarea{width:100%;resize:vertical;min-height:98px;border:0;background:transparent;padding:18px;color:#183354;font-size:14px;line-height:1.65}.question-box textarea:focus{outline:none}.question-box:focus-within{outline:2px solid #8da9d0}.question-foot{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border-top:1px solid #edf0f4}.quiet-select{border:0;background:#f2f4f7;border-radius:6px;padding:6px 8px;color:#596b82;font-size:11px}.method-note{font-size:10px;color:#8390a1;margin-top:12px;line-height:1.6}.flow{display:flex;justify-content:space-between;gap:8px;margin:27px 0 8px}.flow-step{font-size:10px;color:#8090a5;display:flex;gap:7px;align-items:center}.flow-step b{display:grid;place-items:center;width:20px;height:20px;border:1px solid #dfe4ea;border-radius:50%;font-weight:500;font-size:9px;color:#6c7f99}.flow-step:first-child{color:#244471}.flow-step:first-child b{background:#eff4fc;border-color:#c4d4eb}.flow-arrow{color:#c5cdd7;font-size:12px}.suggestion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.suggestion{border:1px solid #e6e8ec;border-radius:11px;background:#fff;padding:16px;text-align:left;transition:.15s;color:#203552}.suggestion:hover{border-color:#baa06c;background:#fdfbf6}.suggestion .label{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#9c804d}.suggestion h3{font-size:12px;margin-top:9px;margin-bottom:7px;line-height:1.5}.suggestion p{font-size:10px;line-height:1.6;color:#8490a0}.list-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid #edf0f4}.list-row:last-child{border:0;padding-bottom:0}.list-row:first-child{padding-top:0}.list-row strong{display:block;font-size:12px}.list-row p{font-size:10px;color:#8090a2;margin-top:4px}.asset{display:flex;align-items:center;gap:10px}.coin{width:30px;height:30px;border-radius:50%;background:#fbf2df;color:#ac8238;display:grid;place-items:center;font-size:13px;font-weight:600}.coin.eth{background:#edf1f7;color:#6a7a94}.scope-row{display:flex;justify-content:space-between;gap:10px;margin:12px 0;font-size:11px;color:#7f8a9a}.scope-row strong{color:#324967;font-size:11px;font-weight:500}.scope-note{border-radius:10px;padding:13px;background:#f7f8fa;font-size:10px;line-height:1.7;color:#7e8b9e;margin-top:15px}.empty{padding:25px 10px;text-align:center;color:#8c99a8;font-size:12px}.empty svg{display:block;margin:0 auto 10px;width:26px;color:#b2bed0}.status-line{display:flex;align-items:center;gap:8px;font-size:11px;margin:14px 0;color:#64748a}.line-icon{width:20px;height:20px;border-radius:50%;background:#f3f5f8;display:grid;place-items:center;color:#92a0b1;font-size:10px}.notice{background:#fbf7ee;border:1px solid #ede0c5;color:#8d7240;padding:13px 17px;font-size:11px;border-radius:10px;line-height:1.7;margin-bottom:22px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-size:10px;color:#8b98a9;text-transform:uppercase;letter-spacing:.8px;font-weight:500;padding:14px;border-bottom:1px solid #e6e9ee}td{padding:16px 14px;border-bottom:1px solid #edf0f3;color:#40546e}td strong{display:block;color:#1f3553;font-size:12px}td small{font-size:10px;color:#8b96a5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field label{font-size:11px;display:block;font-weight:600;color:#5d6e82;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dce1e7;border-radius:8px;padding:11px;color:#263f5d;background:#fff}.field textarea{min-height:85px;resize:vertical}.field.full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.backdrop{position:fixed;inset:0;background:#06142b66;z-index:20;display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.modal{background:#fff;border-radius:18px;padding:30px;max-width:760px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 20px 70px #06142b40}.modal .sub{margin-bottom:23px}.close{border:0;background:#f3f5f8;border-radius:50%;width:28px;height:28px;font-size:17px;color:#72839b}.login-layout{min-height:100vh;display:grid;grid-template-columns:42% 58%}.login-art{background:#06142b;color:white;padding:70px;display:flex;flex-direction:column;justify-content:space-between}.login-art h1{font-size:49px;line-height:1.17;color:#f5f6f8;font-weight:550}.login-art p{color:#91a2ba;line-height:1.8;margin-top:25px}.login-form{display:grid;place-items:center;padding:30px}.login-inner{width:390px;max-width:100%}.login-inner .field{margin-top:22px}.login-inner .button{width:100%;justify-content:center;margin-top:25px}.login-note{font-size:11px;color:#8090a2;line-height:1.75;margin-top:25px}#toast{position:fixed;right:28px;bottom:25px;background:#142b4b;color:white;border-radius:10px;padding:14px 20px;box-shadow:0 5px 25px #06142b22;z-index:100;max-width:460px;font-size:12px;display:none}.chart{width:100%;height:205px;margin:20px 0}.report-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.report-stats div{padding:16px;background:#f5f7fa;border-radius:10px}.report-stats strong{font-size:21px;display:block}.report-stats small{color:#8893a3;font-size:10px}.checklist{padding-left:18px;color:#73829a;font-size:12px;line-height:1.9}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.loading{padding:100px;text-align:center;color:#7d8ba0}@media(max-width:1200px){.sidebar{width:210px}.main{margin-left:210px}.page{padding:28px}.topbar{padding:0 28px}.research-grid{grid-template-columns:1fr 255px}.suggestion-grid{grid-template-columns:1fr}.suggestion{padding:13px}.suggestion p{display:none}}@media(max-width:950px){.research-grid{grid-template-columns:1fr}.context{display:grid;grid-template-columns:1fr 1fr;gap:16px}.context>.card{margin:0}.context>.card:last-child{display:none}.top-right .small{display:none}}@media(max-width:700px){.sidebar{width:68px;padding:22px 8px}.brand{padding:0 6px 25px}.brand>div:last-child,.nav-label,.nav-item span,.private-box,.side-foot>div:last-child{display:none}.brand-mark{width:33px;height:33px}.nav-item{padding:13px;justify-content:center}.side-foot{padding:12px 7px}.main{margin-left:68px}.topbar{padding:0 18px;height:65px}.page{padding:23px 17px}.heading-row{display:block}.heading-row .actions{margin-top:16px}h1{font-size:27px}.summary{gap:9px}.stat{padding:14px}.stat strong{font-size:22px}.stat-icon{display:none}.research-hero{padding:20px}.context,.form-grid,.two-columns{grid-template-columns:1fr}.context>.card:last-child{display:block}.flow-step{font-size:8px;gap:3px}.flow-step b{width:17px;height:17px}.login-layout{display:block}.login-art{display:none}.login-form{min-height:100vh}.report-stats{grid-template-columns:1fr}.card{padding:20px}.top-right{gap:8px}.question-foot{gap:9px}.question-foot .button{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.research-grid>*,.context>*,.card,.stat{min-width:0}.scope-row strong{text-align:right}.list-row>div{min-width:0}.list-row strong,.list-row p{overflow-wrap:anywhere}.method-note{overflow-wrap:anywhere}@media(max-width:700px){.research-grid,.context{grid-template-columns:minmax(0,1fr)}.summary{grid-template-columns:repeat(3,minmax(0,1fr))}.stat span{display:block;overflow-wrap:anywhere}.flow{flex-wrap:wrap}.flow-step{flex:1 1 40%;font-size:9px}.flow-arrow{display:none}.topbar{gap:8px;font-size:10px}.topbar .pill{font-size:8px;padding:4px 6px}.top-right{gap:0}.topbar .button.ghost{padding:5px}.card-head{flex-wrap:wrap;gap:10px}.question-foot{padding:10px}.scope-row{font-size:10px}.scope-row strong{font-size:10px}#toast{max-width:calc(100vw - 32px);right:16px;bottom:16px}}
/* Slightly larger text and a more compact research workspace. */
body{font-size:15px}
.brand{padding-bottom:28px}
.brand small{font-size:10px}
.nav-label{font-size:11px;padding-bottom:11px}
.nav-item{font-size:14px;padding:10px 15px;margin:2px 0}
.side-bottom{padding-top:25px}
.private-box{margin:11px 8px;padding:13px;font-size:13px}
.page{padding:30px 32px 45px}
.heading-row{margin-bottom:20px}
.sub{font-size:14px;line-height:1.55}
.notice{font-size:12px;margin-bottom:18px}
.summary{gap:14px;margin-bottom:19px}
.research-grid{gap:18px}
.context{gap:14px}
.card{padding:22px}
.card-head{margin-bottom:16px}
.scope-row,.scope-row strong{font-size:12px}
.scope-row{margin:9px 0}
.scope-note{font-size:11px;line-height:1.6;padding:11px;margin-top:12px}
@media(max-width:1200px){.page{padding:25px}}
@media(max-width:700px){.brand{padding-bottom:23px}.nav-item{padding:11px}.page{padding:20px 15px}.card{padding:18px}.scope-row,.scope-row strong{font-size:11px}}
/* Live OKX trades are display-only and remain separate from research datasets. */
.market-quote{background:#f7f9fc;border:1px solid #e5eaf1;border-radius:10px;padding:14px 15px;margin:0 0 14px}
.market-quote-source{display:block;color:#6d7c91;font-size:11px;letter-spacing:.3px}
.market-quote strong{display:block;color:#132c4b;font-size:22px;line-height:1.35;margin:5px 0}
.market-quote-meta{display:block;color:#66778d;font-size:11px}
@media(max-width:700px){.market-quote{padding:12px}.market-quote strong{font-size:20px}}
.market-structure{border-top:1px solid #e5eaf1;padding-top:13px;margin-bottom:13px;min-width:0}
.market-section-title{font-size:12px;font-weight:700;color:#263d59;margin:7px 0}
.market-book-label{font-size:11px;color:#6d7c91;overflow-wrap:anywhere}
.market-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:11px 0 16px}
.market-book-grid>div{min-width:0}
.market-book-grid b{display:block;font-size:11px;color:#62758c;margin-bottom:5px}
.market-book-row{display:flex;justify-content:space-between;gap:5px;font-variant-numeric:tabular-nums;font-size:11px;line-height:1.7;color:#223b58}
.market-book-row span{min-width:0;overflow-wrap:anywhere}
.market-structure .scope-row{align-items:start;gap:8px}
.market-structure .scope-row strong{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.market-book-grid{gap:7px}.market-book-row{font-size:10px}}
.research-workspace{margin-bottom:18px}
.research-workspace .pill{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.research-workspace .card-head{flex-wrap:wrap;gap:8px}
.research-workspace .event-evidence{margin:18px 0;min-width:0}
.event-evidence td:first-child{min-width:220px;max-width:400px;white-space:normal;overflow-wrap:anywhere}
.event-evidence td small{display:block;margin-top:4px}
.research-workspace details{margin-top:14px}
.timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 20px}
.timeline-item{display:flex;gap:7px;align-items:flex-start;min-width:0}
.timeline-item>div{min-width:0}
.timeline-item strong,.timeline-item small{display:block;overflow-wrap:anywhere}
.timeline-item strong{font-size:11px;line-height:1.35}
.timeline-item small{color:#718198;font-size:10px;margin-top:3px}
.timeline-dot{display:grid;place-items:center;flex:0 0 20px;height:20px;border:1px solid #b8c8db;border-radius:50%;color:#6d7d91;font-size:12px}
.timeline-dot.complete{background:#dff3e9;border-color:#7ac29b;color:#1f8050}
.run-artifacts{gap:12px;margin-top:6px}
.artifact{border:1px solid #e2e8f0;border-radius:8px;padding:15px;min-width:0}
.artifact p{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.artifact .card-head{margin-bottom:10px}
.factor-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.factor-chips span{font-size:10px;padding:5px 7px;background:#eef3f8;border-radius:5px;color:#35516d}
.report-artifact{grid-column:span 2;background:#f8fbff}
@media(max-width:900px){.timeline{grid-template-columns:repeat(4,minmax(0,1fr))}.report-artifact{grid-column:auto}}
@media(max-width:700px){.timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.artifact{padding:13px}}
.question-foot{flex-wrap:wrap;gap:9px}
.job-workflow{padding:16px 0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.research-preparation{padding:12px 0}
.research-preparation>.card-head{flex-wrap:wrap;gap:10px}
.research-preparation h2{font-size:19px}
.research-preparation .actions{flex-wrap:wrap}
.study-fold{border:0;border-top:1px solid #e2e8f0;padding:14px 0;margin:16px 0;min-width:0}
.study-fold legend{font-size:14px;font-weight:600;padding:0 8px 0 0}
.study-dialog .modal{width:min(820px,calc(100vw - 32px))}
.study-dialog .form-grid{gap:12px}
.study-dialog .field{min-width:0}
.study-dialog input,.study-dialog select{min-width:0;max-width:100%}
.study-fold-actions{justify-content:flex-start;flex-wrap:wrap}
.study-register summary{display:flex;justify-content:space-between;gap:12px;padding:10px 0;cursor:pointer;border-bottom:1px solid #e2e8f0}
.study-register summary>span{min-width:0;overflow-wrap:anywhere}
.study-register pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:320px;overflow:auto}
.study-register .scope-row,.job-preparation-scope .scope-row{align-items:flex-start;gap:12px}
.study-register .scope-row strong,.job-preparation-scope strong{max-width:65%;overflow-wrap:anywhere}
@media(max-width:700px){.research-preparation .actions{gap:8px}.research-preparation .button{font-size:11px;padding:8px 10px}.study-dialog .modal{padding:18px}.study-dialog h2{font-size:20px}.study-register summary{flex-wrap:wrap}.study-register .scope-row,.job-preparation-scope .scope-row{flex-wrap:wrap}.study-register .scope-row strong,.job-preparation-scope strong{max-width:100%}.study-dialog .form-actions .button{white-space:normal}}
.job-workflow h2,.workflow-report h2{font-size:19px}
.agent-configuration{padding:18px 0;margin-top:12px;border-top:1px solid #e2e8f0;min-width:0}
.agent-configuration h2{font-size:19px}
.agent-configuration .card-head{flex-wrap:wrap;gap:10px}
.agent-configuration .scope-row{align-items:flex-start;gap:12px}
.agent-configuration .scope-row strong{max-width:65%;overflow-wrap:anywhere}
.agent-role-register summary{display:flex;justify-content:space-between;gap:12px;padding:12px 0;cursor:pointer;border-bottom:1px solid #e2e8f0}
.agent-role-register summary>span{min-width:0;overflow-wrap:anywhere}
.agent-role-register p{line-height:1.6;overflow-wrap:anywhere}
.agent-config-dialog .modal{width:min(720px,calc(100vw - 32px))}
.agent-config-form .field{margin-bottom:14px;min-width:0}
.agent-config-form textarea{min-height:100px;min-width:0;max-width:100%}
.frozen-agent-config{margin:14px 0;min-width:0}
.frozen-agent-config details{margin-top:6px}
.frozen-agent-config code{display:block;margin-top:6px;overflow-wrap:anywhere;white-space:normal;font-size:12px}
@media(max-width:700px){.agent-configuration .scope-row{flex-wrap:wrap}.agent-configuration .scope-row strong{max-width:100%}.agent-role-register summary{flex-wrap:wrap}.agent-config-dialog .modal{padding:18px}.agent-config-dialog h2{font-size:20px}.agent-config-dialog .form-actions{flex-wrap:wrap}}
.workflow-controls{display:flex;align-items:center;gap:10px;margin:12px 0}
.workflow-controls select{flex:1;min-width:0;width:100%;max-width:620px;min-height:40px;padding:8px 10px;border:1px solid #dce3eb;border-radius:6px;font-size:14px;color:#263d59;background:#fff}
.workflow-controls .button{flex-shrink:0}
.workflow-artifacts{margin-top:14px}
.workflow-artifacts pre{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto;padding:12px;background:#f5f7f9}
.workflow-report{margin-top:20px;padding-top:16px;border-top:1px solid #e2e8f0}
.workflow-report .scope-row{align-items:flex-start;gap:12px}
.workflow-report .scope-row strong{max-width:65%;overflow-wrap:anywhere}
@media(max-width:700px){.workflow-controls{flex-wrap:wrap}.workflow-controls select{flex-basis:100%}.job-workflow>.card-head{align-items:flex-start}.workflow-report .scope-row{flex-wrap:wrap}.workflow-report .scope-row strong{max-width:100%}.summary{grid-template-columns:minmax(0,1fr)}.summary .stat{padding:12px 15px}.summary .stat span{overflow-wrap:normal}}
@media(max-width:700px){
  .question-foot{display:grid;grid-template-columns:minmax(0,1fr) auto}
  .question-foot [data-action="research-run"]{grid-column:1/-1;justify-content:center}
  .question-foot .quiet-select{min-width:0;max-width:96px;width:100%}
}
/* Dedicated exchange demo orders use the existing research density. */
.demo-order { padding: 16px 0; border-top: 1px solid var(--border, #e4e8ed); }
.demo-order code { overflow-wrap: anywhere; font-size: 12px; }
.demo-order .actions { margin-top: 12px; flex-wrap: wrap; }
#market-context-hub .card { margin: 0; }
#market-context-hub .two-columns { margin-bottom: 16px; align-items: start; }
.login-form { grid-template-columns: minmax(0, 1fr); }
.login-inner { width: 100%; max-width: 390px; min-width: 0; }
