:root{--bg:#f6f5f0;--paper:#fffefa;--ink:#262d2a;--muted:#7b817a;--line:#e4e5dd;--teal:#315e52;--teal-light:#edf3ee;--amber:#8f6f35;--amber-light:#f7f0e2;--radius:12px;font-family:Arial,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif;color:var(--ink);font-size:13px;line-height:1.6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #5b8c7c}a{color:inherit;text-decoration:none}button{border:1px solid var(--line);background:var(--paper);border-radius:7px;padding:9px 13px;transition:background .15s,border-color .15s}button:hover:not(:disabled){background:#f0f2eb;border-color:#c4cec2}button.primary{background:var(--teal);color:white;border-color:var(--teal);font-weight:600;white-space:nowrap}button.primary:hover:not(:disabled){background:#244b40}.ghost{background:transparent}.text-button{border:0;background:transparent;color:var(--teal);font-weight:600;padding:4px 0;white-space:nowrap}.small{font-size:11px;padding:6px 10px}.text-button.small{padding:0}.chip,.tiny-tag{display:inline-flex;align-items:center;justify-content:center;border-radius:4px;padding:2px 7px;background:#efefe9;color:#656e63;font-size:10px;font-weight:500;line-height:1.8;white-space:nowrap;vertical-align:middle}.chip.green,.tiny-tag.green,.green{background:var(--teal-light);color:var(--teal)}.chip.amber,.tiny-tag.amber,.amber{background:var(--amber-light);color:var(--amber)}.eyebrow{font-size:10px;color:var(--muted);font-weight:600;letter-spacing:1.1px;display:flex;align-items:center;gap:7px}.prototype{height:25px;background:#e9ede5;text-align:center;line-height:25px;font-size:10px;letter-spacing:.2px;color:#5d6c5d}.prototype span{opacity:.8}.topbar{height:65px;display:flex;align-items:center;gap:35px;padding:0 24px;background:var(--paper);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:18px;letter-spacing:-.6px;font-weight:600}.brand-symbol{width:26px;height:30px;font-family:Georgia,serif;font-size:38px;line-height:29px;color:var(--teal);letter-spacing:-7px}.brand-symbol span{font-size:28px}.breadcrumb{font-size:11px;color:var(--muted);display:flex;gap:13px}.breadcrumb span{color:#c3c6bd}.top-actions{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:10px;color:var(--muted)}.session-dot{height:5px;width:5px;background:#789778;border-radius:100%;margin-left:8px}.top-actions button{margin-left:9px}.workspace{display:grid;grid-template-columns:72px minmax(0,1fr) 340px;height:calc(100dvh - 90px);min-height:590px}.rail{background:var(--paper);border-right:1px solid var(--line);padding:25px 8px 16px;display:flex;flex-direction:column;gap:12px}.rail-link{border:0;background:transparent;padding:9px 0;width:56px;display:flex;flex-direction:column;align-items:center;gap:4px;color:#92978e;border-radius:8px}.rail-link>span{font-size:22px;line-height:28px}.rail-link small{font-size:9px;font-weight:500}.rail-link.active{background:var(--teal-light);color:var(--teal)}.rail-bottom{margin-top:auto;text-align:center;color:#b5baae;line-height:1.1;font-size:12px;letter-spacing:2px}.rail-bottom small{font-size:7px}.main{min-width:0;overflow:hidden;display:flex;flex-direction:column}.strategy-strip{background:#f0f1e9;display:flex;padding:22px 28px 19px;gap:15px;flex-shrink:0;border-bottom:1px solid var(--line)}.strategy-mark{height:38px;width:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid #d5dcca;background:#e6ebdd;color:#657d59;font-family:Georgia,serif;font-size:23px;flex-shrink:0;margin-top:3px}.strategy-copy{min-width:0;flex:1}.strategy-copy h1{font-size:19px;line-height:1.4;letter-spacing:-.7px;margin:7px 0 5px;font-weight:600}.strategy-copy p{font-size:11px;line-height:1.6;color:#71796c;margin:0;max-width:550px}.strategy-tags{display:flex;gap:14px;margin-top:11px;color:#77816f;font-size:10px}.strategy-tags span+span:before{content:'·';margin-right:14px;color:#b5beaa}.strategy-actions{display:flex;flex-direction:column;justify-content:center;gap:7px;flex-shrink:0}.strategy-actions button{font-size:10px;padding:6px 10px;min-width:85px}.main-content{padding:25px 28px 32px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#c6cdc0 transparent}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.section-heading h2{font-size:21px;letter-spacing:-.8px;font-weight:600;line-height:1.4;margin:6px 0 7px}.section-heading p{font-size:11px;color:var(--muted);margin:0}.section-heading>select{width:190px;font-size:10px}.mode-tabs{border-bottom:1px solid var(--line);display:flex;gap:23px;margin-bottom:22px}.mode-tabs button{position:relative;padding:0 0 11px;border:none;background:transparent;border-radius:0;font-size:11px;color:#8d9387;display:flex;gap:6px;align-items:center;white-space:nowrap}.mode-tabs .selected{color:var(--teal);font-weight:600}.mode-tabs .selected:after{content:'';position:absolute;height:2px;bottom:-1px;left:0;right:0;background:var(--teal)}.paid-label{font-size:8px;padding:0 4px;border:1px solid #d3d1c7;border-radius:3px;color:#9b998d;line-height:1.6}.primary .paid-label{color:#d1ded6;border-color:#658679}label{display:block;font-size:11px;font-weight:500;color:#697263}input,select,textarea{color:var(--ink);background:var(--paper);border:1px solid #dcdfd4;border-radius:6px;padding:9px 11px;width:100%}select{padding-right:23px;font-size:11px}textarea{resize:vertical;min-height:80px}input::placeholder,textarea::placeholder{color:#a4aa9e;font-size:11px}.experiment-controls{display:flex;gap:14px;align-items:flex-end;margin-bottom:20px}.experiment-controls>div:first-child{flex:1;max-width:255px}.experiment-controls label{margin-bottom:6px;font-size:10px}.experiment-controls select{font-size:11px}.experiment-controls .primary{font-size:10px;height:37px;margin-left:auto}.next-run-context{font-size:10px;color:#8a9082;line-height:1.6;white-space:nowrap}.next-run-context small{display:block;margin-top:4px;font-size:9px;color:#a4aa9c}.next-run-context .chip{font-size:9px}.result-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);overflow:hidden}.result-header{display:flex;justify-content:space-between;padding:19px 22px 10px;align-items:center}.result-header h3{font-size:16px;margin:5px 0 0;line-height:1.5;letter-spacing:-.5px}.result-id{font-size:10px;color:#999f93;font-weight:400;margin-left:6px}.result-select select{max-width:190px;font-size:10px;border:0;color:#818a7b;padding:6px;background:transparent}.snapshot-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:0 22px 13px;font-size:9px;color:#9b9f94}.snapshot-row>span:not(.chip){margin-left:3px}.snapshot-row .text-button{font-size:9px;margin-left:auto}.snapshot-row .chip{font-size:9px;padding:1px 6px}.metrics{display:grid;grid-template-columns:1.3fr 1fr 1fr;margin:0 22px 9px;padding:16px 0;border-top:1px solid #eff0e9}.metrics>div{display:flex;flex-direction:column;gap:3px}.metrics>div+div{border-left:1px solid #eceee5;padding-left:24px}.metrics span{font-size:10px;color:#91988b}.metrics strong{font-size:26px;letter-spacing:-1px;font-weight:500;line-height:1.5;font-variant-numeric:tabular-nums}.metrics strong i{font-size:13px;font-style:normal;margin-left:2px;letter-spacing:0}.metrics small{font-size:9px;color:#a2a897}.positive{color:var(--teal)}.negative{color:#ad735c}.equity-chart{width:calc(100% - 40px);display:block;margin:0 20px;height:auto;max-height:190px;overflow:visible}.gridline{stroke:#e9ece4;stroke-dasharray:3,4;stroke-width:1}.chart-label{fill:#a1a794;font-family:Arial,'Apple SD Gothic Neo',sans-serif;font-size:10px}.chart-path{fill:none;stroke:#477e6c;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.compare-line{stroke:#b69c60;stroke-dasharray:6,4}.chart-dot{fill:var(--paper);stroke:#477e6c;stroke-width:2}.chart-footer{display:flex;justify-content:space-between;padding:8px 23px 16px;color:#a1a795;font-size:9px}.legend-dot{width:6px;height:6px;border-radius:50%;background:#50806f;display:inline-block;margin-right:6px}.legend-dot.gold{background:#b69c60}.result-bottom{display:flex;gap:17px;align-items:center;border-top:1px solid #eceee5;background:#fafbf6;padding:12px 22px}.result-bottom p{font-size:10px;color:#939b89;margin:0;flex:1}.result-bottom .text-button{font-size:10px}.result-bottom .ghost{font-size:9px}.lab-bottom{margin-top:18px}.next-step{display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid var(--line);border-radius:8px}.step-icon{color:#78906d;font-size:22px}.next-step h4{font-size:11px;margin:0 0 2px;font-weight:500}.next-step p{font-size:10px;color:#9ba28f;margin:0}.next-step button{margin-left:auto;font-size:9px}.micro-note{font-size:10px;line-height:1.8;color:#9a9f92;margin:13px 0 0}.chat{background:var(--paper);border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;min-width:0}.chat-header{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #eff0e8}.chat-header>div{display:flex;align-items:center;gap:9px}.chat-header strong{font-size:13px;font-weight:600}.chat-star{font-size:23px;color:var(--teal)}.chat-context{padding:13px 22px;background:#fafbf6;border-bottom:1px solid #eff0e8;display:flex;flex-direction:column;gap:4px}.chat-context>span{font-size:9px;color:#a4aa99}.chat-context strong{font-size:10px;font-weight:500;color:#72816c}.chat-context .text-button{text-align:left;font-size:9px;align-self:start}.messages{flex:1;overflow:auto;padding:22px 20px 12px;scrollbar-width:thin;scrollbar-color:#d4dbcb transparent}.message{font-size:11px;line-height:1.9;margin-bottom:20px}.message p{margin:7px 0;color:#727e6a;white-space:normal;overflow-wrap:anywhere}.message-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:#63735b}.message-meta small{font-size:8px;color:#a1a995;border:1px solid #e9ecdf;border-radius:3px;line-height:1.7;padding:0 4px}.message.user{margin-left:25px;border-radius:9px;background:#edf3ec;padding:10px 13px}.message.user p{margin:0;color:#4e6552}.message.system{font-size:10px;border-top:1px solid var(--line);padding-top:10px;color:var(--muted)}.message-context{display:block;font-size:8px;color:#96a58d;margin-top:5px}.message-action{border:1px solid #dde5d7;background:transparent;font-size:9px;padding:5px 9px;color:var(--teal);margin-top:3px}.chat-compose{border-top:1px solid #eff0e8;padding:15px 17px 11px}.chat-suggestions{display:flex;gap:5px;margin-bottom:10px;flex-wrap:wrap}.prompt{font-size:9px;padding:5px 8px;border-radius:20px;border-color:#e2e7d8;color:#8c977f;background:#fafbf6}.chat-compose form{border:1px solid #d8dfcf;border-radius:10px;overflow:hidden;background:#fffefa;padding:0 12px}.chat-compose textarea{background:transparent;border:0;padding:13px 0 0;min-height:88px;max-height:180px;outline-offset:-2px;font-size:11px;line-height:1.8}.compose-bottom{display:flex;align-items:center;justify-content:space-between;padding:5px 0 9px}.compose-bottom small{font-size:8px;color:#b0b6a6}.send{border:0;background:var(--teal);color:#fff;width:28px;height:28px;padding:0;font-size:18px;line-height:28px;border-radius:6px}.chat-footnote{font-size:8px;text-align:center;margin-top:9px;color:#b3b9aa}.proposal-card{background:#f2f5eb;border:1px solid #dbe3d1;padding:13px;border-radius:8px;font-size:10px;overflow-wrap:anywhere}.proposal-card strong{display:block;margin-top:5px}.proposal-card p{margin:6px 0;color:#969e8d}.proposal-card .after{color:var(--teal)}.mobile-chat{display:none}.standalone.snapshot-row{padding:0 0 17px}.decision-layout{display:grid;grid-template-columns:144px minmax(0,1fr);gap:16px}.decision-list{display:flex;flex-direction:column;gap:10px}.decision-item{text-align:left;padding:13px 14px;background:transparent;border-radius:9px}.decision-item.selected{border-color:#79957d;background:#f0f5ec}.decision-item small{display:flex;justify-content:space-between;font-size:9px;color:#a4aa9b}.decision-item strong{font-size:12px;display:block;margin-top:10px;font-weight:500}.decision-item p{font-size:9px;color:#99a28d;margin:4px 0 12px}.decision-badge{display:inline-block;font-size:8px;padding:2px 6px;border-radius:3px}.decision-detail{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:21px}.detail-heading{display:flex;justify-content:space-between;align-items:center}.detail-heading h3{font-size:23px;letter-spacing:-.7px;line-height:1.3;margin:8px 0}.decision-art{width:38px;height:38px;border:1px solid #dce5d6;border-radius:50%;color:#849a72;font-size:22px;text-align:center;line-height:35px}.decision-summary{font-size:11px;color:#86927b;line-height:1.9;margin:8px 0 22px}.detail-section h4{font-size:11px;font-weight:500;margin-bottom:12px}.check-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #f0f1e8}.check-icon{display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;font-size:10px;flex-shrink:0}.check-icon.pass{background:#edf3e7;color:#719153}.check-icon.block{background:#f7f0e2;color:#a5945f}.check-icon.neutral{background:#f0f1eb;color:#a1aa94}.check-row strong{font-size:10px;font-weight:500}.check-row p{font-size:9px;margin:0;color:#a2aa95}.check-row>small{font-size:8px;color:#a4ae96;margin-left:auto;white-space:nowrap}.evidence-section{margin-top:19px}.evidence-section summary{font-size:11px;cursor:pointer;margin-bottom:10px}.evidence-section summary span{font-size:9px;color:#abb29e;margin-left:8px}.evidence-row{display:flex;gap:9px;align-items:flex-start;padding:7px 0}.evidence-row strong{font-size:10px;font-weight:500;color:#7b886f}.evidence-row p{font-size:8px;color:#a7af9a;margin:1px 0}.evidence-row .tiny-tag{font-size:8px;padding:1px 4px;margin-top:3px;min-width:43px}.uncertainty{background:#f5f6ef;padding:12px 14px;margin-top:16px;border-radius:7px}.uncertainty strong{font-size:10px;font-weight:500;color:#8b957e}.uncertainty p{font-size:9px;line-height:1.8;color:#a0a88f;margin:5px 0 0}.decision-footer{margin-top:18px;display:flex;justify-content:flex-end}.decision-footer button{font-size:10px}.config-section{margin-bottom:28px}.config-label{display:flex;gap:12px;align-items:center;margin-bottom:13px}.section-number{font-family:Georgia,serif;font-size:26px;color:#b6bfaa;line-height:1.5}.config-label h3{font-size:13px;font-weight:500;margin:0}.config-label p{font-size:10px;color:#a0a994;margin:2px 0 0}.model-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.model-card{text-align:left;padding:17px 15px;border-radius:9px;background:#fffefa}.model-card.selected,.pipeline-card.selected{border-color:#7c987e;background:#f0f5ec}.model-card>div{display:flex;justify-content:space-between;align-items:center}.model-icon{font-size:27px;color:#839b70}.radio-indicator{border:1px solid #cbd5c0;height:12px;width:12px;border-radius:50%}.selected .radio-indicator{border:4px solid #698a62}.model-card h4{font-size:12px;margin:9px 0 5px;font-weight:500}.model-card .tiny-tag{font-size:8px;padding:1px 5px}.model-card p{font-size:9px;line-height:1.8;color:#a0aa91;margin:11px 0 0}.pipeline-options{display:grid;grid-template-columns:1fr;gap:10px}.pipeline-card{text-align:left;padding:15px 18px;display:flex;flex-direction:column;gap:10px}.pipeline-card>strong{font-size:11px;font-weight:500}.pipeline-steps{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pipeline-steps span{font-size:10px;background:#f4f5ef;border:1px solid #e1e6d7;padding:6px 14px;border-radius:5px;color:#89967b}.pipeline-steps i{font-style:normal;color:#b7c0aa}.pipeline-card small{font-size:8px;color:#a5af97}.config-save{border-top:1px solid var(--line);padding-top:20px;display:flex;gap:15px;align-items:center;justify-content:space-between}.config-save strong{font-size:11px;font-weight:500}.config-save p{font-size:9px;color:#a1aa92;margin:5px 0 0}.config-save button{font-size:10px}.version-section{border:1px solid var(--line);background:var(--paper);border-radius:10px;margin-bottom:18px;overflow:hidden}.version-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 19px;border-bottom:1px solid #eef0e6}.version-heading h3{font-size:12px;margin:0;font-weight:500}.version-heading>span{font-size:9px;color:#a1ab92}.version-row{padding:18px 19px;display:flex;gap:14px;align-items:center;position:relative}.version-row+.version-row{border-top:1px solid #f1f2e9}.timeline-dot{height:7px;width:7px;border-radius:50%;background:#8aa274;flex-shrink:0}.timeline-dot.neutral{background:#b4bea7}.version-id{display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:55px}.version-id small{font-size:8px;color:#a0aa91}.version-content{flex:1;min-width:0}.version-content strong{font-size:11px;font-weight:500;overflow-wrap:anywhere}.version-content p{font-size:9px;color:#a1ab92;margin:5px 0 0}.version-row button{font-size:9px}.run-history{display:flex;width:100%;gap:17px;padding:15px 19px;align-items:center;border:0;border-bottom:1px solid #f0f1e7;border-radius:0;font-size:10px}.run-history strong{font-size:11px;font-weight:500}.run-history strong span{font-size:8px;font-weight:400;color:#a6af99;margin-left:5px}.run-history>span{color:#a0a992;font-size:9px}.run-history b{font-size:11px;font-weight:500;color:var(--teal);margin-left:auto}.paid-workspace{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:27px}.paid-intro .large-icon{font-size:30px;color:#9cac8e}.paid-intro h3{font-size:23px;letter-spacing:-.7px;margin:10px 0}.paid-intro p{font-size:10px;color:#9ca78e}.paid-form{display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin-top:28px;padding-top:23px;border-top:1px solid var(--line)}.paid-form label{flex:1;min-width:170px}.paid-form input{display:block;margin-top:7px}.paid-form .primary{margin-top:10px;font-size:11px}.paid-form .muted{width:100%;margin:0}.field-error{width:100%;font-size:10px;color:#ac7461;margin:0}.paid-gate{padding:30px 0;border-top:1px solid var(--line);margin-top:25px;text-align:center}.paid-gate h3{font-size:20px;font-weight:500;margin:12px 0}.paid-gate p{color:#9caa8c;font-size:11px}.paid-gate button{margin:12px 4px 0;font-size:11px}dialog{border:1px solid #dde2d3;border-radius:14px;background:var(--paper);padding:0;width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 50px);box-shadow:0 24px 100px #263a282f;color:var(--ink)}dialog.wide{width:min(660px,calc(100vw - 32px))}dialog::backdrop{background:#26372a52;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:23px 26px 19px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:21px;font-weight:500;letter-spacing:-.7px;line-height:1.4;margin:5px 0 0}.close-button{font-size:23px;border:0;color:#a6ad9a;padding:0 5px;background:transparent}.dialog-body{padding:22px 26px;overflow-wrap:anywhere}.dialog-body>h3{font-size:13px;font-weight:500;margin:13px 0}.dialog-body>p{font-size:11px;line-height:1.9}.dialog-footer{padding:16px 26px;border-top:1px solid var(--line);display:flex;gap:9px;justify-content:flex-end;background:#fafbf5;border-radius:0 0 14px 14px}.dialog-footer button{font-size:11px}.dialog-body form{display:flex;flex-direction:column;gap:15px}.dialog-body form input,.dialog-body form textarea,.dialog-body form select{display:block;margin-top:6px;font-size:12px}.dialog-body form .primary{align-self:flex-end;font-size:11px}.dialog-body form .micro-note{margin:0}.muted{color:#98a18c;font-size:10px;font-weight:400}.strategy-field{padding:14px 0;border-bottom:1px solid #ecefe3}.strategy-field>div{display:flex;align-items:center;justify-content:space-between}.strategy-field h3{font-size:11px;font-weight:500;margin:0}.strategy-field p{font-size:12px;color:#859275;line-height:1.9;white-space:pre-wrap}.strategy-field .text-button{font-size:9px}.example-settings{margin-top:22px}.example-settings summary{font-size:11px;cursor:pointer;display:flex;justify-content:space-between}.example-settings summary span{color:#a4af94;font-size:10px}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 22px;margin:13px 0 0}.settings-grid>div{border-bottom:1px solid #ecefe3;display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 0;font-size:11px}.settings-grid span{color:#99a489;font-size:10px}.settings-grid strong{font-weight:500;font-size:11px}.example-settings .ghost{margin-top:15px}.dialog-body .snapshot-row{padding:0 0 12px}.diff-block{border:1px solid #e3e8d8;border-radius:8px;padding:12px 15px;margin:13px 0}.diff-block small{font-size:9px;color:#a9b29b}.diff-block p{font-size:12px;margin:6px 0 0;line-height:1.9;white-space:pre-wrap}.diff-block.before p{color:#9ca68f}.diff-block.after{border-color:#b9c9aa;background:#f2f6eb}.diff-block.after p{color:#6a8454}.snapshot-meta{margin-top:20px;padding:14px;background:#f5f7ef;border-radius:7px}.snapshot-meta p{font-size:10px;color:#8e9e7b;margin:5px 0}.snapshot-meta code{font-size:9px;color:#a1ac90;overflow-wrap:anywhere}.confirm-check{display:flex;gap:9px;align-items:flex-start;font-size:11px;line-height:1.8;margin:20px 0 0}.confirm-check input{width:14px;margin:4px 0 0;accent-color:var(--teal)}.compare-select{display:flex;gap:25px;align-items:center}.compare-select>div{flex:1;min-width:0}.compare-select strong{font-size:13px;font-weight:500;display:block}.compare-select small{display:block;font-size:10px;color:#9ba98b}.compare-select label{font-size:10px;color:#9ba98b}.compare-select select{margin-top:5px}.comparison-note{font-size:10px!important;background:#f0f5e9;padding:10px 12px;border-radius:5px;color:#859b6e}.comparison-legend{display:flex;justify-content:center;gap:25px;font-size:9px;color:#a4af95;margin:12px 0 17px}.compare-table{width:100%;font-size:10px;border-collapse:collapse;margin-top:12px;text-align:left}.compare-table td,.compare-table th{padding:10px 0;border-bottom:1px solid #e9eddf;font-weight:400}.compare-table th{color:#9cab8a}.compare-table td{color:#768b61}.compare-table thead{font-weight:600}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;margin:-1px;overflow:hidden}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;border:1px solid #d7e0cc;background:#294a37;color:#eff5e8;padding:12px 20px;border-radius:9px;z-index:10;font-size:11px;max-width:calc(100% - 32px);transition:all .2s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.workspace{grid-template-columns:78px minmax(0,1fr) 385px}.main-content{padding:31px 45px}.strategy-strip{padding-left:45px;padding-right:45px}.main{max-width:1400px}.metrics strong{font-size:32px}.equity-chart{max-height:230px}.chat-header,.chat-context{padding-left:27px;padding-right:27px}.messages{padding-left:27px;padding-right:27px}.chat-compose{padding-left:24px;padding-right:24px}}
@media(max-width:1250px) and (min-width:1001px){.workspace{grid-template-columns:64px minmax(0,1fr) 310px}.rail{padding-left:4px;padding-right:4px}.main-content{padding:22px 21px}.strategy-strip{padding:21px 21px 18px;gap:10px}.strategy-mark{display:none}.strategy-copy h1{font-size:17px}.strategy-tags{gap:8px;font-size:9px}.strategy-tags span+span:before{margin-right:8px}.strategy-actions button{min-width:75px;padding:5px 8px}.experiment-controls{gap:10px}.next-run-context{display:none}.mode-tabs{gap:20px}.metrics{margin-left:18px;margin-right:18px}.metrics>div+div{padding-left:15px}.metrics strong{font-size:23px}.result-bottom p{display:none}.result-bottom .text-button{margin-right:auto}.chat-header,.chat-context{padding-left:18px;padding-right:18px}.messages{padding:19px 17px}.model-options{gap:8px}.model-card{padding:13px 11px}.model-card h4{font-size:11px}.model-card p{font-size:8px}.decision-layout{grid-template-columns:118px minmax(0,1fr);gap:12px}.decision-item{padding:12px}.decision-detail{padding:17px}.breadcrumb{font-size:10px}}
@media(max-width:1000px){.workspace{grid-template-columns:64px minmax(0,1fr)}.chat{display:none}.chat.open{display:flex;position:fixed;z-index:4;top:90px;right:0;width:360px;bottom:0;box-shadow:-12px 0 45px #31493222}.mobile-chat{display:inline-flex}.chat-header>.mobile-chat{margin-left:auto;padding:1px 7px;font-size:20px;border:0}.chat-header>.tiny-tag{margin-left:9px}.main-content{padding:25px 30px}.strategy-strip{padding:23px 30px}.metrics strong{font-size:29px}.topbar{gap:25px}.chat.open .mobile-chat{display:block}.main{width:100%}.experiment-controls>div:first-child{max-width:300px}.next-run-context{margin-left:10px}.equity-chart{max-height:210px}.result-bottom p{display:block}.top-actions>.session-dot,.top-actions>span:not(.session-dot){display:none}.model-card{padding:20px}.decision-layout{grid-template-columns:160px minmax(0,1fr)}}
@media(max-width:680px){.prototype{font-size:8px;height:22px;line-height:22px}.prototype span{font-size:7px}.topbar{height:57px;padding:0 15px;gap:8px}.brand{font-size:16px;gap:8px}.brand-symbol{font-size:32px;width:22px}.breadcrumb{display:none}.top-actions{gap:0}.top-actions button{font-size:9px;margin-left:4px;padding:5px 7px}.workspace{height:calc(100dvh - 79px);min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 62px}.rail{grid-row:2;display:flex;flex-direction:row;justify-content:space-around;border-right:0;border-top:1px solid var(--line);padding:4px 6px;gap:4px;z-index:1}.rail-link{padding:3px 12px;flex:1;width:auto;gap:0}.rail-link>span{font-size:19px;line-height:26px}.rail-link small{font-size:8px}.rail-bottom{display:none}.main{grid-row:1}.strategy-strip{padding:15px 17px;gap:12px}.strategy-mark{display:none}.strategy-copy h1{font-size:16px;margin:6px 0 4px;letter-spacing:-.6px}.strategy-copy .eyebrow{font-size:8px;gap:5px;letter-spacing:0}.strategy-copy .chip{font-size:8px;padding:1px 4px}.strategy-copy p{font-size:9px;line-height:1.8}.strategy-actions{gap:5px}.strategy-actions button{font-size:8px;padding:5px 7px;min-width:70px}.strategy-tags{font-size:8px;gap:7px;margin-top:8px}.strategy-tags span+span:before{margin-right:7px}.main-content{padding:19px 17px 25px}.section-heading{margin-bottom:17px}.section-heading h2{font-size:19px;margin:5px 0}.section-heading p{font-size:9px}.section-heading .eyebrow{font-size:8px}.mode-tabs{gap:22px;margin-bottom:17px}.mode-tabs button{font-size:10px;gap:4px}.paid-label{font-size:7px}.experiment-controls{gap:9px;margin-bottom:16px}.experiment-controls>div:first-child{max-width:none;min-width:0}.experiment-controls label{font-size:8px}.experiment-controls select{font-size:10px;padding:8px}.experiment-controls .primary{font-size:8px;height:35px;padding:8px}.next-run-context{display:none}.result-header{padding:15px 16px 10px;gap:8px}.result-header .eyebrow{font-size:8px}.result-header h3{font-size:15px}.result-select{max-width:140px}.result-select select{font-size:8px;padding-right:13px;max-width:135px}.snapshot-row{padding:0 16px 12px;gap:4px}.snapshot-row .chip{font-size:8px}.snapshot-row>span:not(.chip){display:none}.snapshot-row .text-button{font-size:8px}.metrics{margin:0 16px 6px;padding:13px 0;grid-template-columns:1.3fr 1fr 1fr}.metrics>div+div{padding-left:13px}.metrics span{font-size:8px}.metrics strong{font-size:22px;letter-spacing:-.7px}.metrics strong i{font-size:10px}.metrics small{font-size:7px}.equity-chart{width:calc(100% - 28px);margin:0 14px;max-height:none}.chart-footer{padding:9px 16px 13px;font-size:7px}.result-bottom{padding:11px 16px;gap:10px}.result-bottom p{display:none}.result-bottom .text-button{font-size:9px;margin-right:auto}.result-bottom button.ghost{font-size:8px;padding:5px 7px}.next-step{padding:11px 13px;gap:9px}.next-step h4{font-size:10px}.next-step p{font-size:8px}.next-step button{font-size:8px;padding:5px 7px;max-width:100px}.micro-note{font-size:8px}.chat.open{top:79px;bottom:62px;width:min(390px,100%);box-shadow:-10px 0 40px #31493244}.chat-header{height:52px;padding:0 19px}.chat-context{padding:10px 19px}.messages{padding:17px 20px}.chat-compose{padding:12px 17px 10px}.chat-compose textarea{min-height:70px}.decision-layout{grid-template-columns:1fr;gap:13px}.decision-list{flex-direction:row;gap:7px}.decision-item{flex:1;min-width:0;padding:10px}.decision-item strong{font-size:11px;margin-top:6px}.decision-item p{font-size:8px;margin-bottom:8px}.decision-item small{font-size:8px}.decision-badge{font-size:7px;padding:1px 4px}.decision-detail{padding:18px}.section-heading>select{font-size:8px;width:145px;padding:6px}.decision-summary{font-size:10px}.check-row p{font-size:8px}.model-options{grid-template-columns:1fr;gap:8px}.model-card{padding:14px 16px;position:relative;display:grid;grid-template-columns:34px 1fr auto;gap:1px 10px}.model-card>div{grid-row:1/4;align-self:center;position:static}.model-card h4{font-size:12px;margin:0}.model-card .tiny-tag{grid-column:3;grid-row:1;align-self:center}.model-card p{grid-column:2/4;font-size:9px;margin:4px 22px 0 0}.model-card .radio-indicator{position:absolute;right:16px;bottom:15px}.pipeline-steps{gap:7px}.pipeline-steps span{font-size:9px;padding:5px 10px}.pipeline-card{padding:14px}.config-label h3{font-size:12px}.config-label p{font-size:9px}.config-save{align-items:flex-start}.config-save>div{max-width:65%}.config-save button{font-size:9px;padding:8px 10px}.version-row{padding:15px 13px;gap:9px}.version-content strong{font-size:10px}.version-content p{font-size:8px}.version-id{min-width:45px}.version-row button{font-size:8px;padding:4px 7px}.run-history{padding:13px;gap:8px;flex-wrap:wrap}.run-history strong{font-size:10px}.run-history>span{font-size:8px}.run-history b{font-size:10px}.paid-workspace{padding:20px}.paid-intro h3{font-size:21px}.paid-intro p{font-size:9px}.paid-form{margin-top:20px;gap:13px}.paid-form label{min-width:100%;font-size:10px}.paid-form .primary{font-size:10px}.paid-gate h3{font-size:18px}.dialog-header{padding:18px 20px 15px}.dialog-header h2{font-size:19px}.dialog-body{padding:18px 20px}.dialog-footer{padding:13px 20px}.settings-grid{gap:0 15px}.settings-grid>div{font-size:9px}.settings-grid span{font-size:8px}.settings-grid strong{font-size:10px}.dialog-body>p{font-size:10px}.compare-select{gap:15px}.compare-select select{font-size:9px}.compare-table{font-size:9px}.dialog-body .comparison-note{font-size:9px!important}.comparison-legend{font-size:8px;gap:17px}.dialog-body .equity-chart{width:100%;margin:0}.dialog-body form input,.dialog-body form textarea,.dialog-body form select{font-size:11px}#toast{font-size:10px;bottom:77px;width:max-content}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.paid-form .paid-question{flex-basis:100%}.paid-question textarea{display:block;margin-top:7px;font-size:11px;min-height:65px}
@media(min-width:800px) and (max-width:1000px){.workspace{grid-template-columns:56px minmax(0,1fr) 272px}.rail{padding:20px 4px 14px}.rail-link{width:48px}.rail-link small{font-size:8px}.chat,.chat.open{display:flex;position:static;width:auto;box-shadow:none;min-width:0}.main{width:auto}.main-content{padding:22px 18px}.strategy-strip{padding:20px 18px 17px;gap:9px}.strategy-mark{display:none}.strategy-copy h1{font-size:16px}.strategy-copy p{font-size:10px}.strategy-copy .eyebrow{font-size:8px;gap:4px;letter-spacing:0}.strategy-copy .chip{font-size:8px;padding:1px 5px}.strategy-tags{gap:8px;font-size:8px}.strategy-tags span+span:before{margin-right:8px}.strategy-actions{justify-content:flex-start;padding-top:6px}.strategy-actions button{font-size:8px;padding:5px 7px;min-width:67px}.section-heading h2{font-size:19px}.section-heading p{font-size:10px}.section-heading .eyebrow{font-size:8px}.mode-tabs{gap:18px}.mode-tabs button{font-size:10px;gap:4px}.mode-tabs .paid-label{font-size:7px}.experiment-controls{gap:10px}.next-run-context{display:none}.experiment-controls .primary{font-size:9px;padding:8px 10px}.experiment-controls>div:first-child{max-width:225px}.experiment-controls label{font-size:9px}.experiment-controls select{font-size:10px}.result-header{padding:17px 17px 10px}.result-header h3{font-size:15px}.result-select{max-width:155px}.result-select select{max-width:155px;font-size:8px}.snapshot-row{padding-left:17px;padding-right:17px;gap:4px}.snapshot-row>span:not(.chip){display:none}.metrics{margin-left:17px;margin-right:17px;grid-template-columns:1.3fr 1fr 1fr}.metrics>div+div{padding-left:15px}.metrics strong{font-size:24px}.metrics span{font-size:9px}.metrics small{font-size:8px}.equity-chart{max-height:none}.chart-footer{font-size:8px;padding:8px 17px 14px}.result-bottom{padding:12px 17px;gap:10px}.result-bottom p{display:none}.result-bottom .text-button{font-size:9px;margin-right:auto}.result-bottom .ghost{font-size:8px;padding:5px 7px}.next-step{gap:9px;padding:12px}.next-step h4{font-size:10px}.next-step p{font-size:9px}.next-step button{font-size:8px;padding:5px 7px}.micro-note{font-size:9px}.chat-header{padding:0 17px;height:60px}.chat-context{padding:12px 17px}.chat-header>.mobile-chat{display:none}.chat-header .tiny-tag{font-size:8px}.chat-header strong{font-size:12px}.messages{padding:20px 16px 12px}.message{font-size:11px}.chat-compose{padding:14px 13px 11px}.prompt{font-size:8px;padding:5px 7px}.chat-compose textarea{font-size:11px;min-height:83px}.compose-bottom small{font-size:7px}.chat-footnote{font-size:7px}.top-actions .mobile-chat{display:none}.topbar{padding:0 20px}.top-actions button{font-size:9px}.decision-layout{grid-template-columns:1fr;gap:14px}.decision-list{flex-direction:row;gap:7px}.decision-item{flex:1;padding:10px}.decision-item strong{font-size:11px}.decision-item small{font-size:8px}.decision-item p{font-size:8px}.decision-detail{padding:18px}.model-options{gap:8px}.model-card{padding:14px 11px}.model-card h4{font-size:10px}.model-card p{font-size:8px}.model-card .tiny-tag{font-size:7px}.config-label h3{font-size:12px}.pipeline-steps{gap:8px}.pipeline-steps span{padding:6px 10px;font-size:9px}.run-history{gap:10px;flex-wrap:wrap}.run-history>span{font-size:8px}.run-history strong{font-size:10px}.version-row{padding:15px 13px;gap:9px}.version-content strong{font-size:10px}.version-content p{font-size:8px}.paid-workspace{padding:22px}.paid-form label{min-width:140px}}

/* English copy wraps within the same responsive layout. */
.strategy-copy .eyebrow{flex-wrap:wrap;letter-spacing:.5px}.strategy-tags{flex-wrap:wrap;row-gap:3px}.mode-tabs{overflow-x:auto;scrollbar-width:none}.mode-tabs button{flex-shrink:0}.chat-header{gap:8px}.chat-header>div{min-width:0}.chat-header strong{line-height:1.3}.chat-header>.tiny-tag{flex-shrink:0}.next-step>div{min-width:0}.next-step button{flex-shrink:0}.result-bottom button{white-space:nowrap}.snapshot-row .text-button{margin-left:auto}
@media(max-width:1000px){.breadcrumb{font-size:10px}.strategy-tags{column-gap:8px}.chat-header strong{font-size:11px}.chat-header>.tiny-tag{font-size:7px}.next-step p{font-size:9px}.next-step button{max-width:106px;white-space:normal}}
@media(max-width:680px){.strategy-copy h1{font-size:15px}.strategy-actions button{min-width:73px;font-size:8px;white-space:normal}.strategy-tags{font-size:7px}.strategy-tags span+span:before{margin-right:5px}.strategy-tags{column-gap:5px}.top-actions .mobile-chat{max-width:95px;white-space:normal;line-height:1.3}.top-actions button{font-size:8px}.chat-header strong{font-size:12px}.next-step h4{font-size:9px}.next-step p{font-size:8px}.next-step button{max-width:83px;font-size:8px}.result-bottom .ghost{max-width:124px;white-space:normal;line-height:1.4}.metrics strong i{font-size:8px}.metrics small{line-height:1.6}.strategy-copy .eyebrow{letter-spacing:0}.settings-grid>div{gap:8px}.settings-grid span{max-width:100px}}
/* Prepared reviews stay visually distinct from calculated fictional experiments. */
.sample-library{margin:0 0 26px}.sample-library-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:20px 0 14px}.sample-library-heading .eyebrow{font-size:9px}.sample-filters{display:flex;gap:6px;margin-bottom:16px}.sample-filters button{border:1px solid #dce4de;background:transparent;border-radius:7px;padding:8px 13px;color:#5b6a60;font-size:11px}.sample-filters button.selected{background:#e8eee9;color:#2d594b;border-color:#a8b9ad}.sample-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-bottom:14px}.sample-choice{text-align:left;background:#fff;border:1px solid #dfe6df;border-radius:10px;padding:15px;display:flex;flex-direction:column;gap:10px;min-width:0}.sample-choice.selected{border-color:#729782;box-shadow:0 0 0 1px #72978222}.sample-choice>span:first-child{color:#315744;font-size:12px;font-weight:600}.sample-choice small{font-size:9px;color:#86918b;margin-left:5px}.sample-choice strong{font-size:14px;line-height:1.5;color:#293b31}.sample-choice .decision-badge{align-self:flex-start;white-space:normal;font-size:9px}.prepared-review{background:#fff;border:1px solid #dce4de;border-radius:13px;padding:25px}.prepared-review-top{display:flex;justify-content:space-between;gap:18px;align-items:center}.prepared-review-top h3{font-size:23px;line-height:1.35;margin:10px 0;color:#2b4337}.sample-symbol{font-size:31px;color:#75927d;background:#eff3ed;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;flex-shrink:0}.sample-decision-summary{font-size:13px;line-height:1.8;color:#5b695f;margin:9px 0 20px}.sample-time-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;border-top:1px solid #edf0e9;border-bottom:1px solid #edf0e9;padding:16px 0}.sample-time-grid span,.sample-time-grid strong{display:block}.sample-time-grid span{font-size:9px;color:#89938b;line-height:1.6}.sample-time-grid strong{font-size:11px;margin-top:4px;color:#526859}.sample-snapshot-note{font-size:10px;line-height:1.7;color:#8a7451;background:#f7f4e9;padding:10px 12px;margin-top:15px;border-radius:7px}.sample-facts{display:grid;gap:12px;margin:20px 0}.sample-facts>div{display:flex;gap:10px;align-items:flex-start}.sample-facts>div>span{font-size:10px;color:#5c8a71;background:#eef4ed;border-radius:50%;width:19px;height:19px;display:grid;place-items:center;flex-shrink:0}.sample-facts p{margin:0;font-size:12px;line-height:1.7;color:#4f6254}.sample-unknown{background:#f6f5ee;border-left:2px solid #b9ad87;padding:12px 14px}.sample-unknown strong{font-size:11px;color:#75694f}.sample-unknown p{font-size:11px;line-height:1.7;margin:6px 0 0;color:#827960}.sample-review-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.sample-review-actions button{font-size:11px}.sample-source-preview{border-top:1px solid #edf0e9;padding-top:14px;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}.sample-source-preview a,.rationale-source a{font-size:10px;color:#5f8070;text-decoration:none;line-height:1.6}.sample-source-preview a:hover,.rationale-source a:hover{text-decoration:underline}.sample-source-preview small,.rationale-source small{display:block;font-size:9px;line-height:1.7;color:#939a91}.sample-overlay{background:#edf3f2;border:1px dashed #a1b8b0;border-radius:8px;padding:13px;margin-top:17px;overflow-wrap:anywhere}.sample-overlay strong{font-size:11px;color:#3e6e62}.sample-overlay p{font-size:11px;line-height:1.8;margin:6px 0}.sample-overlay small{font-size:9px;color:#708b80}.rationale-section{margin:22px 0;border-top:1px solid #e7ebe4;padding-top:18px}.rationale-section h3{font-size:14px}.rationale-list{padding-left:18px;font-size:12px;line-height:1.9;color:#60705f}.rationale-list li{padding:3px 0}.rationale-source{margin:12px 0;overflow-wrap:anywhere}.runtime-guide{border:1px solid #dce4de;border-radius:10px;background:#f7f9f4;padding:19px;margin-bottom:18px}.runtime-guide strong{font-size:13px;color:#405f49}.runtime-guide ol{font-size:11px;line-height:1.9;color:#5c705e;margin:12px 0;padding-left:19px}.runtime-guide p{font-size:10px;line-height:1.8;color:#83917f;margin:0}.runtime-state{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 25px}.runtime-state>div{border:1px solid #e1e6dd;border-radius:9px;padding:14px;min-width:0}.runtime-state span,.runtime-state strong,.runtime-state small{display:block}.runtime-state span{font-size:9px;color:#86917f;margin-bottom:7px}.runtime-state strong{font-size:11px;color:#4c644f;line-height:1.6}.runtime-state small{font-size:9px;color:#8b9583;line-height:1.8;margin-top:5px}.message-context,.chat-context strong{overflow-wrap:anywhere}
@media(max-width:1000px){.prepared-review{padding:18px}.prepared-review-top h3{font-size:18px}.sample-decision-summary{font-size:11px}.sample-time-grid{gap:8px}.sample-time-grid span{font-size:8px}.sample-time-grid strong{font-size:9px}.sample-library-heading{align-items:flex-start}.sample-library-heading .tiny-tag{font-size:7px;flex-shrink:0}.sample-library-heading .eyebrow{font-size:8px}.sample-facts p{font-size:10px}.sample-unknown strong,.sample-unknown p{font-size:10px}.sample-choice strong{font-size:12px}.sample-choice .decision-badge{font-size:8px}.sample-review-actions button{font-size:9px}.runtime-guide{padding:15px}.runtime-guide ol{font-size:10px}.runtime-state>div{padding:11px}.runtime-state strong{font-size:10px}}
@media(max-width:680px){.sample-library-heading{gap:5px}.sample-filters{gap:5px}.sample-filters button{font-size:9px;padding:7px 10px}.sample-cards{grid-template-columns:1fr}.sample-choice{padding:12px;gap:7px}.sample-choice strong{font-size:12px}.prepared-review{padding:16px}.prepared-review-top h3{font-size:18px}.sample-symbol{width:36px;height:36px;font-size:25px}.sample-time-grid{grid-template-columns:1fr;gap:10px}.sample-time-grid>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.sample-time-grid strong{margin:0}.sample-review-actions{gap:7px}.sample-source-preview a{font-size:9px}.sample-source-preview small{font-size:8px}.rationale-list{font-size:11px}.runtime-state{grid-template-columns:1fr}.runtime-guide strong{font-size:11px}.runtime-guide ol{font-size:10px}.runtime-guide p{font-size:9px}}
.sample-period{font-size:10px;color:#86917f;margin:0 0 5px;line-height:1.7}.sample-policy-label{font-size:9px;line-height:1.8;color:#82927f;margin:12px 0 0;overflow-wrap:anywhere}@media(max-width:680px){.sample-period{font-size:9px}.sample-policy-label{font-size:8px}}

.sample-comparison{margin:18px 0;padding:22px;border:1px solid #c9d9d3;border-radius:14px;background:#f7faf7;scroll-margin-top:18px}.comparison-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.comparison-heading h3{font-size:19px;margin:7px 0}.comparison-heading p{font-size:12px;color:#6c7772;margin:0 0 16px}.sample-comparison-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sample-comparison-cards article{padding:17px;border:1px solid #dce2dc;border-radius:10px;background:#fff;min-width:0}.sample-comparison-cards article>small{display:block;color:#7b837e;margin-top:6px}.sample-comparison-cards h4{font-size:20px;margin:18px 0 5px;line-height:1.3}.allocation-status{font-size:12px;color:#8b6d34;margin:0 0 16px}.comparison-thresholds>div{border-top:1px solid #edf0eb;padding:10px 0}.comparison-thresholds span,.comparison-thresholds strong{display:block;font-size:11px;line-height:1.5}.comparison-thresholds strong{font-weight:500}.comparison-outcome{padding:12px 14px;background:#eaf0e9;font-size:12px;line-height:1.6;border-radius:7px}.comparison-outcome.changed{background:#f5ebd6}.comparison-allocation-note{font-size:12px;line-height:1.6;color:#6f6653}.comparison-check-details summary,.original-review>summary{cursor:pointer;padding:13px 0;font-size:12px;font-weight:600}.comparison-check-details a,.comparison-check-details>small{display:block;font-size:11px;overflow-wrap:anywhere;margin:6px 0}.sample-comparison-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.sample-criteria-choice{border:1px solid #d9e2d9;padding:15px;border-radius:9px;margin:15px 0}.sample-criteria-choice legend{font-size:12px;font-weight:600}.sample-criteria-choice .confirm-check{display:flex;align-items:flex-start;gap:8px}.sample-criteria-choice input[type=checkbox]{width:auto;margin-top:3px}.sample-criteria-choice label{font-size:12px}.sample-criteria-choice input[type=number]{margin-top:6px}.original-review{margin-top:14px}.sample-comparison .micro-note{margin-top:12px}.proposal-criteria{padding:14px;background:#f5f8f3;border-radius:8px}.proposal-criteria p{font-size:12px}
@media(max-width:1050px){.sample-comparison{padding:16px}.sample-comparison-cards{gap:8px}.sample-comparison-cards article{padding:12px}.sample-comparison-cards h4{font-size:17px}.sample-comparison-cards .eyebrow{font-size:9px}.comparison-heading h3{font-size:17px}}
@media(max-width:550px){.sample-comparison-cards{grid-template-columns:1fr}.comparison-heading{flex-wrap:wrap}.sample-comparison .compare-table{font-size:10px}.sample-comparison{padding:14px}.comparison-check-details{overflow-x:auto}.sample-comparison-actions>button{max-width:100%}}
.alternatives-section,.decision-comparison{margin:22px 0;padding:18px;border:1px solid var(--line,#dbe2df);border-radius:12px;background:#fbfcfb;min-width:0}.alternatives-section>h4,.decision-comparison>h4{font-size:17px;margin:10px 0}.alternatives-list{display:grid;gap:8px;margin-top:14px}.alternative-item{border:1px solid #dfe5e2;border-radius:9px;background:#fff;min-width:0}.alternative-item>summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;cursor:pointer;list-style:none}.alternative-item>summary>span:first-child{min-width:0;flex:1}.alternative-item summary strong{display:block;font-size:13px}.alternative-item summary small{display:block;font-size:11px;line-height:1.6;margin-top:4px;color:#63736e;overflow-wrap:anywhere}.alternative-item summary .tiny-tag{white-space:normal;max-width:145px;text-align:right;flex-shrink:0}.alternative-body{border-top:1px solid #edf0ee;padding:12px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.alternative-body ul{padding-left:18px}.alternative-actions{display:flex;gap:14px;flex-wrap:wrap}.final-choice{padding:12px 14px;margin-top:12px;border-left:3px solid #478475;background:#edf5f1;border-radius:6px}.final-choice p{font-size:12px;line-height:1.6}.final-choice small{font-size:10px;color:#61736b}.decision-comparison .compare-table{font-size:11px;table-layout:fixed;width:100%}.decision-comparison th,.decision-comparison td{overflow-wrap:anywhere}.decision-comparison details{font-size:12px;line-height:1.7;margin-top:12px}.decision-comparison .sample-comparison-cards article{min-width:0}.decision-comparison .sample-comparison-cards small{overflow-wrap:anywhere}@media(max-width:600px){.alternatives-section,.decision-comparison{padding:12px}.alternative-item>summary{gap:7px}.alternative-item summary .tiny-tag{max-width:100px;font-size:9px}.decision-comparison .sample-comparison-cards{grid-template-columns:1fr}}
/* Guided onboarding uses a locally vendored Driver.js layer, including native dialogs. */
.tour-welcome{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#eaf2ec;border:1px solid #c8d9cd;border-radius:10px;padding:15px 17px;margin-bottom:22px}.tour-welcome strong{font-size:13px;color:#315b45}.tour-welcome p{font-size:11px;color:#66796b;margin:4px 0 0}.tour-welcome>div:last-child{display:flex;gap:7px;flex-shrink:0}.top-actions .tour-replay{color:#315e52;white-space:nowrap}.driver-popover.thesis-tour{font-family:Arial,sans-serif;color:#263b31;border:1px solid #ccdbd0;border-radius:12px;padding:20px;max-width:min(330px,calc(100vw - 24px));box-shadow:0 14px 45px #173b2c26}.thesis-tour .driver-popover-title{font-size:16px;line-height:1.4;padding-right:48px}.thesis-tour .driver-popover-description{font-size:12px;line-height:1.65}.thesis-tour .driver-popover-description p{margin:9px 0}.thesis-tour .tour-progress{color:#7c8d80;font-size:10px;letter-spacing:.4px;margin:8px 0}.thesis-tour .tour-action-hint{font-size:10px;color:#7b897f}.thesis-tour code{display:block;background:#edf3ee;border:1px solid #dce6de;border-radius:6px;padding:6px 8px;font:11px Arial,sans-serif;margin:8px 0;overflow-wrap:anywhere}.thesis-tour .driver-popover-close-btn{width:auto;height:auto;font-size:10px;padding:5px 6px;right:9px;top:10px;color:#657d6b;line-height:1.4}.thesis-tour .driver-popover-close-btn:hover{color:#254d38;background:#edf3ee}.thesis-tour .driver-popover-footer button{font:11px Arial,sans-serif;text-shadow:none;border-radius:6px;padding:9px 12px;background:#315e52;color:#fff;border:1px solid #315e52}.thesis-tour .driver-popover-footer button:hover{background:#244b40}.tour-running .tour-welcome{display:none}
@media(max-width:1000px){.tour-welcome{align-items:flex-start;flex-direction:column;gap:10px}.top-actions .tour-replay{margin-left:0;font-size:10px;padding:6px}}
@media(max-width:680px){.tour-welcome{padding:12px}.tour-welcome p{font-size:10px}.top-actions .tour-replay{font-size:9px;padding:6px 4px}.driver-popover.thesis-tour{padding:15px;max-width:min(300px,calc(100vw - 24px))}.thesis-tour .driver-popover-title{font-size:14px}.thesis-tour .driver-popover-description{font-size:11px}.thesis-tour .tour-action-hint{font-size:9px}}
/* Decision questions are primary; sample and sandbox choices belong to each question. */
.intent-tabs{gap:24px;margin-bottom:17px}.intent-tabs button{font-size:13px;padding-bottom:12px}.intent-intro h3{font-size:17px;margin:0 0 6px;letter-spacing:-.3px}.intent-intro p{font-size:11px;line-height:1.8;color:#788477;margin:0 0 15px}.input-choices{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.input-choices button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 12px;flex:1;min-width:115px;text-align:left;background:#fffefa}.input-choices button>span{font-size:11px;color:#516654}.input-choices button>small{font-size:9px;color:#8b9689}.input-choices button.selected{background:#eaf1eb;border-color:#9eb6a6;box-shadow:0 0 0 1px #9eb6a622}.input-choices button.selected>span{color:#315e52;font-weight:600}.input-scope-note{font-size:11px;line-height:1.8;background:#f6f2e7;border:1px solid #e7dfc9;border-radius:8px;padding:12px 14px;color:#7d7154;margin:0 0 16px}.input-scope-note p{margin:4px 0 0}.fictional-scope{background:#f0f4ed;border-color:#dce5d8;color:#62725c}.top-actions .primary.tour-replay{color:#fff;padding:9px 13px;font-size:11px}.tour-help{padding:12px 15px}.tour-help strong{font-size:12px}
@media(max-width:680px){.intent-tabs{gap:20px}.intent-tabs button{font-size:12px}.intent-intro h3{font-size:15px}.input-choices{gap:6px}.input-choices button{min-width:95px;padding:9px}.input-choices button>span{font-size:10px}.input-choices button>small{font-size:8px}.top-actions .primary.tour-replay{padding:8px 10px;font-size:10px}.input-scope-note{font-size:10px}}
/* Investment agent builder: model assignments and bounded, inspectable review runs. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.runtime-builder-guide{margin-bottom:25px}.runtime-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:15px}.runtime-section-heading h3{font-size:15px;line-height:1.5;margin:4px 0}.runtime-section-heading p{margin:3px 0}.runtime-filters,.runtime-presets{display:flex;flex-wrap:wrap;gap:6px}.runtime-filters{flex-shrink:0}.runtime-filters button,.runtime-presets button{font-size:10px;padding:7px 9px}.runtime-filters button.selected,.runtime-presets button.selected{background:#e8f0e9;border-color:#aac3b3;color:#315e52}.runtime-model-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.runtime-model-card{min-width:0;border:1px solid var(--line);border-radius:9px;padding:16px;background:var(--paper);display:flex;flex-direction:column}.runtime-model-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.runtime-model-top small{font-size:9px;color:#8b9387}.runtime-model-card h4{font-size:14px;letter-spacing:-.2px;margin:10px 0 4px}.runtime-model-card>code{font-size:10px;color:#6f806e;overflow-wrap:anywhere}.runtime-model-card>p{font-size:10px;color:#7b8577;line-height:1.7;margin:11px 0 13px}.runtime-model-meta{margin-top:auto;display:flex;flex-direction:column;font-size:9px;gap:3px;color:#8c947f}.runtime-model-meta a{text-decoration:underline}.runtime-model-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}.runtime-model-actions a{font-size:10px;color:#315e52}.runtime-model-actions button{font-size:10px}.runtime-role-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.runtime-role-list>article{min-width:0;background:var(--paper);border:1px solid var(--line);padding:15px;border-radius:9px;overflow-wrap:anywhere}.runtime-role-heading{display:flex;align-items:center;gap:9px;margin-bottom:10px}.runtime-role-heading label{font-size:12px;font-weight:600}.runtime-role-card select{width:100%;min-width:0;font-size:10px;padding:10px}.runtime-role-card details{margin:11px 0;font-size:10px;color:#6c7f6f}.runtime-role-card textarea{width:100%;min-height:120px;resize:vertical;font-size:11px;line-height:1.6;margin-top:9px}.runtime-role-card>small{display:block;font-size:9px;color:#8b937f}.runtime-role-list p{font-size:11px;line-height:1.7}.runtime-limits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.runtime-limits label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#788371}.runtime-limits input{width:100%;font-size:12px;padding:9px;background:var(--paper);border:1px solid var(--line);border-radius:7px}.runtime-execution-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.runtime-execution-modes label{display:grid;grid-template-columns:17px 1fr;gap:5px 7px;border:1px solid var(--line);padding:13px;border-radius:9px;background:var(--paper);font-size:11px}.runtime-execution-modes input{grid-row:1/3;margin:3px 0;accent-color:#315e52}.runtime-execution-modes span{color:#89917e;font-size:10px;line-height:1.6}.runtime-builder-guide~.config-section .config-save{flex-wrap:wrap;gap:10px}.runtime-builder-guide~.config-section .config-save>div{flex:1;min-width:200px}.runtime-builder-guide~.config-section .config-save p{font-size:10px}.runtime-test-panel{margin-top:20px;background:#edf3ee;border:1px solid #d6e3d8;border-radius:10px;padding:17px}.runtime-test-panel>label{font-size:11px;font-weight:600;display:block;margin-bottom:6px}.runtime-test-panel>select{width:100%;font-size:11px}.runtime-test-panel .muted{font-size:10px}.runtime-run-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.runtime-run-controls button{font-size:11px}.runtime-warning{color:#8e6730;background:#f6eddb;padding:10px 12px;border-radius:7px;font-size:11px;overflow-wrap:anywhere}.runtime-trace{padding:20px;border:1px solid #cfded2;border-radius:11px;background:var(--paper);margin:24px 0}.runtime-trace .muted{font-size:11px}.runtime-result{padding:13px;background:#edf3ed;border-radius:8px;margin:16px 0;font-size:11px;overflow-wrap:anywhere}.runtime-result>div{margin-bottom:12px}.runtime-result p{margin:4px 0}.runtime-result ul{padding-left:19px;margin:5px 0}.runtime-trace-steps>details{border:1px solid var(--line);border-radius:8px;margin:9px 0;overflow:hidden;font-size:11px}.runtime-trace-steps>details>summary{padding:12px;display:flex;justify-content:space-between;gap:10px;cursor:pointer;background:#f8f8f2;font-weight:600}.runtime-step-body{padding:14px;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.runtime-step-body>div{margin:9px 0}.runtime-step-body p{margin:4px 0 10px}.runtime-step-body ul{padding-left:19px}.runtime-step-body .link-button{margin-top:10px;font-size:10px}.runtime-trace>details{margin-top:14px;font-size:10px;overflow-wrap:anywhere}.runtime-json{font-size:10px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto;padding:12px;background:#f3f4ee;border:1px solid #e2e6db;border-radius:7px}.runtime-role-list code{font-size:10px}
@media(min-width:800px) and (max-width:1000px){.runtime-model-catalog,.runtime-role-list{grid-template-columns:1fr}.runtime-section-heading{flex-direction:column}.runtime-limits{grid-template-columns:repeat(2,minmax(0,1fr))}.runtime-execution-modes{grid-template-columns:1fr}}
@media(max-width:680px){.runtime-model-catalog,.runtime-role-list,.runtime-execution-modes{grid-template-columns:1fr}.runtime-section-heading{flex-direction:column;gap:8px}.runtime-model-card{padding:14px}.runtime-limits{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.runtime-test-panel{padding:13px}.runtime-builder-guide~.config-section .config-save{align-items:stretch}.runtime-builder-guide~.config-section .config-save>div{max-width:100%;flex-basis:100%}.runtime-trace{padding:13px}.runtime-trace .runtime-section-heading .tiny-tag{white-space:normal}.runtime-run-controls button{font-size:10px}.runtime-trace h3{font-size:14px}}
.runtime-catalog>summary{cursor:pointer;font-size:12px;font-weight:600;color:#315e52;padding:13px 15px;border:1px solid #d7e1d5;background:#f0f4ed;border-radius:8px}.runtime-catalog[open]>summary{margin-bottom:16px}.runtime-builder-guide>details{font-size:11px;margin-top:7px}.runtime-builder-guide>details>summary{cursor:pointer;color:#637d68}.runtime-catalog+.config-section .config-label{margin-top:18px}
.runtime-result>h4{font-size:15px;margin:0 0 9px;color:#315e52}.runtime-output-section{margin:16px 0}.runtime-output-section h5{font-size:11px;letter-spacing:.1px;margin:0 0 7px;color:#647960}.runtime-rejected-choice{border-left:2px solid #d3ddd0;padding:4px 0 4px 10px;margin:8px 0}.runtime-rejected-choice p{color:#798570;font-size:11px;margin:3px 0}.runtime-step-body>details{margin-top:12px}
.runtime-connection-setup{margin-top:12px;font-size:10px;color:#6b7e69;overflow-wrap:anywhere}.runtime-connection-setup>summary{cursor:pointer;color:#315e52;font-weight:600}.runtime-connection-setup code{font-size:10px}.runtime-connection-setup a{text-decoration:underline}.runtime-connection-setup ul{padding-left:18px}
/* Global help stays one click away; opening it never edits the current draft. */
.top-actions .help-header{color:#315e52;border-color:#acc1b1;background:#eef4ee;white-space:nowrap;font-weight:600}.service-help-intro{max-width:660px;margin:0 0 22px}.service-help-intro h3{font-size:21px;line-height:1.4;margin:7px 0 10px;letter-spacing:-.5px}.service-help-intro p{font-size:12px;color:#71816f;line-height:1.8}.service-help-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.service-help-paths>section{min-width:0;border:1px solid #dce4d7;background:#f7f8f2;border-radius:10px;padding:18px;display:flex;flex-direction:column}.service-help-paths h3{font-size:15px;line-height:1.5;margin:12px 0 10px}.service-help-paths ol{padding-left:18px;margin:0 0 18px;font-size:11px;line-height:1.8;color:#778171}.service-help-paths li{padding-left:4px;margin-bottom:12px}.service-help-paths strong{color:#496047}.service-help-paths .primary{font-size:11px;align-self:flex-start;margin-top:auto}.service-help-paths .micro-note{margin-bottom:0}.service-help-versions{margin-top:22px}.service-help-versions h3{font-size:13px}.service-help-versions dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;font-size:11px}.service-help-versions dl>div{border-top:1px solid #dce4d7;padding-top:10px}.service-help-versions dt{font-weight:600;color:#496047}.service-help-versions dd{margin:5px 0;color:#7b8776;line-height:1.7}.service-help-boundary{font-size:10px;line-height:1.8;color:#8c896e;background:#f6f2e6;border-radius:7px;padding:11px 13px;margin-top:22px}.runtime-builder-guide .runtime-quickstart{font-size:11px;line-height:1.8;padding-left:19px;margin:10px 0}.runtime-quickstart li{padding-left:3px;margin:5px 0}.runtime-quickstart strong{color:#49654b}.runtime-builder-guide>.text-button{margin:1px 0 7px}
@media(max-width:680px){.top-actions .help-header{font-size:10px;padding:7px 9px;margin-left:3px}.top-actions .tour-replay{display:none}.service-help-intro h3{font-size:18px}.service-help-intro p{font-size:11px}.service-help-paths{grid-template-columns:1fr;gap:12px}.service-help-paths>section{padding:15px}.service-help-paths h3{font-size:14px}.service-help-versions dl{grid-template-columns:1fr;gap:7px}.service-help-versions dl>div{display:grid;grid-template-columns:100px 1fr;gap:10px}.service-help-versions dd{margin:0}.service-help-boundary{font-size:9px}.runtime-builder-guide .runtime-quickstart{font-size:10px}}
dialog.wide.service-help-dialog{width:min(960px,calc(100vw - 32px))}.service-help-paths>section>.primary{margin:0 0 16px}.service-help-paths>section>.micro-note{margin-top:auto}
/* The primary journey starts with the owner's strategy, before examples or engine settings. */
.journey-navigation{display:flex;gap:4px;align-items:stretch;flex-shrink:0;padding:12px 20px;border-bottom:1px solid var(--line);background:#f5f6ef;overflow-x:auto;min-width:0;scrollbar-width:thin}.journey-navigation button{display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:6px 8px;font-size:10px;white-space:nowrap;flex-shrink:0}.journey-navigation button>span{width:20px;height:20px;background:#e9ede2;color:#89947b;display:grid;place-items:center;border-radius:50%;font-size:9px}.journey-navigation button strong{font-weight:500;color:#819076}.journey-navigation button.current{background:#e4eee4}.journey-navigation button.current>span{background:#315e52;color:#fff}.journey-navigation button.current strong{color:#315e52;font-weight:600}.journey-navigation>small{margin-left:auto;align-self:center;font-size:8px;color:#91a083;white-space:nowrap;padding-left:7px}.strategy-intake-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.strategy-intake-entry,.strategy-understanding{min-width:0;border:1px solid #dce4d4;border-radius:11px;background:#fffefa;padding:20px}.strategy-intake-entry form>label,.strategy-understanding form>label{display:flex;flex-direction:column;font-size:12px;font-weight:600;margin-bottom:10px;color:#4c6048}.strategy-intake-entry textarea,.strategy-understanding textarea{display:block;width:100%;resize:vertical;padding:11px;font-size:11px;line-height:1.8;border:1px solid #dce2d3;border-radius:7px;background:#fdfdf7;color:#40543e}.strategy-intake-entry #strategy-brief{min-height:150px}.strategy-clarifications{font-size:11px;margin:15px 0}.strategy-clarifications>summary{cursor:pointer;color:#6b8063;margin-bottom:12px}.strategy-clarifications label{display:block;font-size:10px;margin:11px 0;color:#73846a}.strategy-clarifications textarea{margin-top:5px;font-size:10px}.strategy-intake-actions{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.strategy-intake-actions button{font-size:10px}.strategy-understanding{background:#f1f5ec}.strategy-understanding h3{font-size:16px;letter-spacing:-.3px;margin:7px 0 10px}.strategy-understanding form>label{font-size:10px;margin-top:14px}.strategy-understanding form>label>textarea{margin-top:6px}.strategy-understanding form>.confirm-check{display:flex;flex-direction:row;gap:8px;line-height:1.7;align-items:flex-start;font-weight:400;margin:17px 0}.strategy-understanding .confirm-check input{margin-top:4px;accent-color:#315e52}.strategy-understanding form>button{font-size:11px}.strategy-summary-empty{min-height:230px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#8b9980;font-size:11px;line-height:1.8}.strategy-summary-empty>span{font-size:28px;color:#8da383;margin-bottom:14px}.strategy-summary-empty>p{max-width:245px;margin:3px 0}.strategy-unknowns{margin:16px 0;padding:12px 14px;border:1px solid #e0dfc8;background:#f6f1e3;border-radius:7px;font-size:10px;color:#887a57}.strategy-unknowns ul{margin:7px 0 0;padding-left:15px;line-height:1.8}.original-thought{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.8}.strategy-understanding form>details{font-size:10px;color:#70826a}.journey-company-criteria{margin:16px 0;border:1px solid #d9e2d0;border-radius:7px;padding:12px}.journey-company-criteria legend{font-size:10px;font-weight:600;color:#5d7354}.journey-company-criteria label{display:block;font-size:10px;margin:8px 0}.journey-company-criteria input{width:100%;margin-top:4px;padding:7px;border:1px solid #d6dfcd;background:#fffefa;border-radius:5px}.journey-next{margin-top:18px;padding-top:15px;border-top:1px solid #d9e2cf;display:flex;flex-direction:column;align-items:flex-start;gap:9px;font-size:11px;color:#315e52}.journey-next button{font-size:10px}.strategy-ai-reply{margin-top:20px;border-top:1px solid #dce4d6;padding-top:16px;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.strategy-ai-reply h3{font-size:14px}.strategy-ai-reply h4{font-size:11px}.strategy-ai-reply ul{padding-left:17px}.strategy-ai-reply button{font-size:10px;margin-top:10px}.journey-gate{max-width:600px;border:1px solid #d8e2d1;border-radius:11px;background:#f0f5eb;padding:26px}.journey-gate h2{font-size:22px;letter-spacing:-.6px;line-height:1.4}.journey-gate p{font-size:12px;color:#7f8d72;line-height:1.8}.journey-gate button{font-size:11px;margin:7px 8px 7px 0}.journey-refine-actions{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0}.journey-refine-actions button{font-size:10px}.journey-field-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0}.journey-field-summary article{border:1px solid #dce3d5;background:#fffefa;padding:16px;border-radius:9px;min-width:0;overflow-wrap:anywhere}.journey-field-summary h3{font-size:12px;color:#657e58;margin:0 0 7px}.journey-field-summary p{font-size:11px;line-height:1.8;color:#7c8871;margin:0;white-space:pre-wrap}.journey-backtest-setup,.backtest-beginner,.today-review-card{background:#fffefa;border:1px solid #dce3d4;padding:20px;border-radius:10px;margin:16px 0}.backtest-beginner{font-size:11px;line-height:1.8;color:#77886d}.backtest-beginner h3{font-size:14px;color:#3f5e38;margin:0 0 8px}.backtest-beginner>p{margin:0 0 10px}.backtest-beginner summary{cursor:pointer;font-size:10px;color:#4c6d43}.backtest-beginner dl{font-size:10px}.backtest-beginner dt{font-weight:600;color:#5a754f}.backtest-beginner dd{margin:3px 0 13px}.journey-backtest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.journey-backtest-grid label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#728567}.journey-backtest-grid input,.journey-backtest-grid select{width:100%;min-width:0;padding:9px;font-size:11px;border:1px solid #d7e0ce;background:#fffefa;border-radius:7px}.journey-backtest-availability{padding:11px 13px;background:#f0f5eb;color:#56714c;font-size:11px;border-radius:7px;margin:14px 0}.journey-backtest-availability p{font-size:10px;margin-bottom:0}.journey-backtest-setup form>button{font-size:10px}.journey-backtest-result{margin-top:24px}.journey-backtest-result>.micro-note,.journey-backtest-result>.journey-refine-actions{margin-left:20px;margin-right:20px}.today-review-card>h4{font-size:12px;margin:18px 0 5px;color:#5d7752}.today-review-card>p{font-size:11px;line-height:1.8;color:#7a896f}.today-review-heading{display:flex;gap:13px;align-items:center;margin-bottom:15px}.today-review-heading .sample-symbol{font-size:11px;width:48px;height:48px}.today-review-heading h3{font-size:18px;margin:0}.today-review-heading p{font-size:10px;color:#89967d;margin:3px 0}.today-review-card>details{font-size:11px;color:#6e8563;margin:16px 0}.today-review-card>details article{border-top:1px solid #e0e6d9;padding-top:10px;margin-top:10px}.today-review-card>details p{font-size:10px;line-height:1.8}.journey-data-coverage{margin-top:24px;font-size:11px;line-height:1.8}.journey-data-coverage h3{font-size:15px;color:#48663d}.journey-data-coverage a{text-decoration:underline;color:#4c6d43}.journey-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.journey-source-grid article{min-width:0;overflow-wrap:anywhere;border:1px solid #dce3d3;border-radius:8px;padding:15px;background:#fbfcf5}.journey-source-grid h4{font-size:12px;margin:0 0 8px;color:#526e46}.journey-source-grid p,.journey-data-coverage details{font-size:10px}.journey-data-coverage details{margin-top:12px}.journey-data-coverage ul{padding-left:18px}.journey-data-coverage .tiny-tag{white-space:normal}
@media(min-width:800px) and (max-width:1150px){.strategy-intake-grid{grid-template-columns:1fr}.journey-navigation{padding:9px 12px}.journey-navigation button{font-size:9px;padding:5px}.journey-navigation>small{display:none}}
@media(max-width:799px){.strategy-intake-grid{grid-template-columns:1fr}.journey-navigation>small{display:none}.journey-navigation{padding:9px 12px;gap:1px}.journey-navigation button{font-size:9px;padding:5px 6px}.strategy-intake-entry,.strategy-understanding{padding:16px}.journey-field-summary,.journey-source-grid{grid-template-columns:1fr}.journey-backtest-grid{grid-template-columns:1fr 1fr}.journey-gate{padding:19px}.journey-gate h2{font-size:19px}.journey-gate p{font-size:11px}.journey-backtest-setup,.backtest-beginner,.today-review-card{padding:15px}.rail-link{padding-left:4px;padding-right:4px}.rail-link small{font-size:7px}.strategy-understanding form>button{font-size:10px;white-space:normal}.journey-backtest-setup form>button{white-space:normal}.journey-data-coverage{font-size:10px}.strategy-intake-entry #strategy-brief{min-height:140px}}
@media(min-width:800px){.workspace.strategy-entry{grid-template-columns:72px minmax(0,1fr)}.workspace.strategy-entry .strategy-intake-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.workspace.strategy-entry .main-content{padding-left:40px;padding-right:40px}}@media(min-width:800px) and (max-width:1000px){.workspace.strategy-entry{grid-template-columns:56px minmax(0,1fr)}.workspace.strategy-entry .main-content{padding-left:22px;padding-right:22px}}
.top-actions .ghost.tour-replay{background:transparent;color:#607b56;border-color:#d8e2d0;font-weight:400}
.strategy-intake-entry #strategy-name{display:block;width:100%;margin:0 0 17px;padding:10px;border:1px solid #dce2d3;border-radius:7px;background:#fdfdf7;color:#40543e;font-size:12px}.strategy-template-entry{display:flex;align-items:flex-start;gap:15px;margin:0 0 18px}.strategy-template-entry>.text-button{flex-shrink:0;font-size:10px}.strategy-template-chooser{flex:1;min-width:0;font-size:11px;color:#6d8363}.strategy-template-chooser>summary{cursor:pointer;font-size:10px;margin:4px 0}.strategy-template-chooser>p{font-size:10px;line-height:1.7}.strategy-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.strategy-template-grid article{min-width:0;padding:13px;border:1px solid #dce4d5;background:#fffefa;border-radius:8px}.strategy-template-grid h3{font-size:12px;line-height:1.6;margin:9px 0 6px;color:#4e7045}.strategy-template-grid p{font-size:10px;margin:0 0 10px}.strategy-template-grid button{font-size:9px}.strategy-readiness{margin:23px 0;background:#f5f3e8;border:1px solid #e3ddc8;padding:18px;border-radius:9px;font-size:11px;line-height:1.8;color:#827654}.strategy-readiness h3{font-size:14px;line-height:1.5;color:#715f3f;margin:5px 0 10px}.strategy-readiness details{font-size:10px;margin-top:12px}.strategy-readiness ul{padding-left:18px}.strategy-compare-form{border:1px solid #dce4d5;border-radius:9px;background:#fffefa;padding:18px}.strategy-compare-form fieldset{padding:12px;border:1px solid #dce4d5;border-radius:7px;max-height:250px;overflow-y:auto;margin:0 0 15px}.strategy-compare-form legend{font-size:11px;font-weight:600;color:#6c815f}.strategy-compare-form fieldset label{display:flex;gap:9px;margin:7px 0;font-size:11px;line-height:1.7}.strategy-compare-form fieldset input{flex-shrink:0;accent-color:#315e52;margin-top:4px}.strategy-compare-form fieldset small{display:block;color:#a2a58c;font-size:9px}.strategy-compare-form>label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#718466;margin-bottom:14px}.strategy-compare-form>label select{width:100%;font-size:11px}.strategy-compare-form>button{font-size:11px}.strategy-comparison-result{margin:23px 0}.strategy-comparison-result>h3{font-size:16px;color:#4b6941}.strategy-comparison-scroll{max-width:100%;overflow-x:auto;border:1px solid #dbe3d1;border-radius:8px;background:#fffefa}.strategy-comparison-scroll table{margin:0;font-size:11px;min-width:650px;table-layout:fixed}.strategy-comparison-scroll td,.strategy-comparison-scroll th{min-width:190px;width:190px;vertical-align:top;padding:13px!important;overflow-wrap:anywhere}.strategy-comparison-scroll th:first-child{min-width:125px;width:125px;color:#6e805f}.strategy-comparison-scroll td p{margin:0 0 9px;line-height:1.8}.strategy-comparison-scroll td button{font-size:9px;white-space:normal;margin:3px 0}.today-review-card>.tiny-tag{white-space:normal}.strategy-understanding textarea[readonly],.strategy-intake-entry textarea[readonly],.strategy-intake-entry input[readonly],.journey-company-criteria input[readonly]{background:#f3f5ec;color:#819176}
@media(max-width:799px){.strategy-template-grid{grid-template-columns:1fr}.strategy-template-entry{flex-direction:column;gap:6px}.strategy-compare-form{padding:13px}.strategy-readiness{padding:14px}.strategy-comparison-scroll table{font-size:10px}}
/* Strategy entry is one real conversation beside one reviewable understanding. */
.strategy-chat{min-width:0;display:flex;flex-direction:column;border:1px solid #dce4d4;background:#fffefa;border-radius:11px;padding:18px}.strategy-chat-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid #e4e9dc}.strategy-chat-heading h3{font-size:14px;margin:0;color:#4b6842}.strategy-chat-heading .tiny-tag{font-size:8px;white-space:normal;text-align:right}.strategy-chat-transcript{min-height:145px;max-height:330px;overflow-y:auto;scrollbar-width:thin;padding:15px 0}.strategy-chat-empty{min-height:145px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#8e9d80}.strategy-chat-empty>span{font-size:24px;line-height:1.4;color:#9bad8b}.strategy-chat-empty h3{font-size:17px;letter-spacing:-.3px;color:#637f55;margin:7px 0}.strategy-chat-empty p{max-width:340px;font-size:11px;line-height:1.8;margin:0}.strategy-chat-message{font-size:11px;line-height:1.9;overflow-wrap:anywhere;margin:0 0 12px;padding:11px 13px;border:1px solid #e0e7d9;border-radius:8px;background:#f5f7ee}.strategy-chat-message.user{margin-left:20px;background:#edf3e5;border-color:#dbe7d1}.strategy-chat-message.assistant{margin-right:12px;background:#fffefa}.strategy-chat-message small{font-size:9px;color:#8fa180}.strategy-chat-message p{margin:4px 0 0;white-space:pre-wrap}.strategy-connect-banner{display:flex;align-items:center;gap:10px;padding:10px 11px;background:#f4f1e4;border:1px solid #e5dfc8;border-radius:7px;color:#8e805d;font-size:10px;margin:4px 0 11px}.strategy-connect-banner p{margin:0;line-height:1.7;flex:1}.strategy-connect-banner button{font-size:9px;flex-shrink:0}.strategy-chat form textarea{width:100%;resize:vertical;min-height:78px;max-height:200px;background:#fdfdf7;border:1px solid #d8e1ce;border-radius:8px;padding:10px;font-size:11px;line-height:1.8;color:#435e3a}.strategy-chat-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.strategy-chat-compose-actions small{font-size:8px;color:#9bab8e}.strategy-chat-compose-actions button{font-size:11px;min-width:66px}.strategy-chat>.strategy-local-preview{font-size:9px;color:#9aa58c;align-self:flex-start;margin-top:12px}.strategy-chat>.micro-note{font-size:8px;margin:3px 0 0;color:#a1ad93}.strategy-stale-response{font-size:10px;color:#8b795c;padding:10px;background:#f6f1e4;margin-bottom:10px;overflow-wrap:anywhere}.strategy-readable-fields{margin-top:16px}.strategy-readable-fields article{border-top:1px solid #dce5d4;padding:12px 0}.strategy-readable-fields h4{font-size:10px;text-transform:uppercase;letter-spacing:.4px;color:#7c9370;margin:0 0 5px}.strategy-readable-fields p{font-size:12px;line-height:1.8;color:#506c44;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.strategy-understanding .strategy-name-label{margin:13px 0 10px}.strategy-name-label input{width:100%;font-size:12px;padding:8px 10px;border:1px solid #d6e1cd;border-radius:6px;background:#fffefa;margin-top:6px}.strategy-understanding .journey-execution-checks{font-size:10px;color:#7c8e6e;margin:16px 0}.journey-execution-checks>summary{cursor:pointer}.strategy-template-source{font-size:10px;border-left:2px solid #c7d8b9;margin:12px 0;padding-left:10px;line-height:1.8;color:#7c8e6d}.strategy-template-source a{display:block;text-decoration:underline;font-size:9px}.strategy-template-compact{padding:11px 14px;margin:0 0 18px;background:#eff3e8;border:1px solid #dce5d2;border-radius:9px}.strategy-template-row{display:flex;align-items:flex-end;gap:17px}.strategy-template-row>label{font-size:9px;color:#839771;display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.strategy-template-row select{font-size:11px;padding:7px 10px;min-width:0;width:100%;background:#fffefa;border:1px solid #d7e2cb;border-radius:6px}.strategy-template-row>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.strategy-template-row button{font-size:9px}.strategy-template-compact>p{font-size:8px;color:#9aa88b;margin:7px 0 0}.workspace.strategy-entry .strategy-intake-grid{gap:20px}.strategy-understanding form>button{margin-top:5px}
@media(max-width:1000px){.strategy-template-row{flex-direction:column;align-items:stretch;gap:8px}.strategy-template-row>div{gap:11px}.strategy-chat-heading{align-items:flex-start}.strategy-chat-heading h3{font-size:13px}}@media(max-width:799px){.strategy-chat{padding:14px}.strategy-chat-transcript{min-height:135px;max-height:300px}.strategy-chat-empty{min-height:135px}.strategy-chat-empty h3{font-size:16px}.strategy-chat-empty p{font-size:10px}.strategy-template-compact{padding:10px 12px}.strategy-template-row>div{gap:9px}.strategy-template-row button{font-size:8px}.strategy-readable-fields p{font-size:11px}.strategy-connect-banner{align-items:flex-start}.strategy-chat-compose-actions small{font-size:7px}}
/* One compact strategy context; navigation lives only in the left rail. */
.strategy-strip.strategy-context{padding:13px 25px;gap:14px;align-items:center;min-height:78px;background:#f0f4e9}.strategy-context .strategy-copy{min-width:0}.strategy-context .strategy-copy .eyebrow{font-size:9px;letter-spacing:.4px;gap:7px;flex-wrap:wrap}.strategy-context .strategy-copy h1{font-size:15px;letter-spacing:-.25px;line-height:1.5;margin:4px 0 2px;overflow-wrap:anywhere;font-weight:600}.strategy-context .strategy-copy>p{font-size:9px;max-width:none;line-height:1.7;margin:0;color:#829273}.strategy-context .strategy-copy>.strategy-execution-note{font-size:9px;color:#637f55;margin-top:3px}.strategy-context .strategy-actions{flex-direction:row;align-items:center;justify-content:flex-end;gap:6px;flex-shrink:0}.strategy-context .strategy-actions button{font-size:9px;min-width:0;white-space:nowrap;padding:6px 9px}.strategy-context.is-empty{min-height:64px}.strategy-context .strategy-context-conflict{color:#92743f}.strategy-context-status{font-size:9px;background:#e0e9d7;color:#5b794d;padding:1px 6px;border-radius:4px;font-weight:500}.strategy-context-status.is-draft{background:#f1e7cc;color:#93743d}.strategy-understanding .strategy-display-meta{font-size:9px;line-height:1.8;color:#7f9470;margin:7px 0 12px}.strategy-understanding .strategy-shared-title{font-size:17px;line-height:1.5;color:#3e6134;letter-spacing:-.3px;margin:8px 0;overflow-wrap:anywhere}.strategy-understanding .strategy-display-execution{font-size:10px;line-height:1.8;border:1px solid #d7e3cc;padding:9px 11px;border-radius:6px;background:#edf3e6;color:#6d855e;margin:10px 0}.strategy-understanding .strategy-conflict{font-size:10px;line-height:1.8;background:#f7efdd;color:#8f7443;padding:10px 12px;border-radius:6px}.strategy-workspace-save{margin-top:15px}.strategy-workspace-save button{font-size:11px}.strategy-context~.main-content .strategy-intake .section-heading h2{font-size:22px}.strategy-context~.main-content .strategy-intake .section-heading{margin-bottom:16px}
@media(min-width:800px) and (max-width:1000px){.strategy-strip.strategy-context{padding:12px 18px;gap:9px}.strategy-context .strategy-actions{flex-direction:column;align-items:stretch}.strategy-context .strategy-copy h1{font-size:13px}.strategy-context .strategy-copy>p{font-size:8px}}@media(max-width:799px){.strategy-strip.strategy-context{padding:11px 16px;gap:10px;min-height:72px}.strategy-context .strategy-copy h1{font-size:13px}.strategy-context .strategy-copy .eyebrow{font-size:8px;gap:5px}.strategy-context .strategy-copy>p,.strategy-context .strategy-copy>.strategy-execution-note{font-size:8px}.strategy-context .strategy-actions{flex-direction:column;gap:5px}.strategy-context .strategy-actions button{font-size:8px;padding:5px 7px}.strategy-context-status{font-size:8px}.strategy-context .strategy-copy{width:100%}.strategy-context.is-empty{min-height:61px}.strategy-understanding .strategy-shared-title{font-size:16px}.strategy-context~.main-content .strategy-intake .section-heading h2{font-size:20px}}
/* Historical case review keeps decision-time evidence separate from later observed prices. */
.historical-workspace{margin-top:12px;min-width:0}.historical-intro h2{font-size:21px;line-height:1.5;letter-spacing:-.5px;margin:7px 0}.historical-intro>p{font-size:11px;line-height:1.8;color:#819374;margin:0 0 18px}.historical-selectors{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.historical-selectors label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#7b916b;min-width:0}.historical-selectors select{width:100%;min-width:0;padding:9px;font-size:11px;background:#fffefa;border:1px solid #d9e3d0;border-radius:7px}.historical-case-card{border:1px solid #d9e2cf;border-radius:11px;background:#fffefa;min-width:0;overflow:hidden}.historical-case-card>header{padding:20px 22px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e9d9;background:#f3f6ed}.historical-case-card>header h3{font-size:20px;line-height:1.5;letter-spacing:-.4px;margin:6px 0 4px;color:#46683b}.historical-case-card>header p{font-size:10px;color:#8c9d7e;margin:0}.historical-case-status{font-size:9px;line-height:1.7;color:#879c78;text-align:right;max-width:145px}.historical-step{display:grid;grid-template-columns:25px minmax(0,1fr);gap:12px;padding:22px;border-bottom:1px solid #e6ebdf}.historical-step:last-child{border-bottom:0}.historical-step-number{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e6efdd;color:#69865a;font-size:11px;font-weight:600;margin-top:2px}.historical-step>div{min-width:0}.historical-step h4{font-size:15px;margin:0 0 8px;color:#4d7040;letter-spacing:-.2px;line-height:1.6}.historical-step p{font-size:11px;line-height:1.9;color:#7e9070;margin:8px 0}.historical-step .historical-known-context{font-size:12px;color:#586f4a}.historical-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.historical-facts article{padding:12px;border:1px solid #e0e8d6;border-radius:7px;background:#f7f9f1;min-width:0}.historical-facts span{display:block;font-size:10px;color:#80956e}.historical-facts strong{display:block;font-size:23px;letter-spacing:-.5px;color:#557744;line-height:1.8}.historical-facts small{font-size:8px;color:#a0ae93;overflow-wrap:anywhere;display:block}.historical-reference-price{border-left:2px solid #c6d8b7;padding:8px 0 8px 12px;font-size:10px!important}.historical-reference-price small{font-size:9px;color:#9bad8b}.historical-step a{color:#68885a;text-decoration:underline;overflow-wrap:anywhere}.historical-step details{margin:13px 0;font-size:10px;color:#7c946c;line-height:1.9}.historical-step details summary{cursor:pointer;color:#587947}.historical-step details ul{padding-left:17px}.historical-step h5{font-size:10px;color:#647f54;margin:13px 0 6px}.historical-check-table{font-size:10px;table-layout:fixed;width:100%;margin:13px 0}.historical-check-table td,.historical-check-table th{padding:10px 8px!important;overflow-wrap:anywhere;vertical-align:top}.historical-check-table th:first-child{width:35%}.historical-decision{background:#edf4e5;border:1px solid #d5e3c9;border-radius:8px;padding:14px 16px;margin:15px 0}.historical-decision>span{font-size:9px;color:#8ba278;display:block}.historical-decision>strong{font-size:18px;color:#4d723b;line-height:1.6;display:block;margin:3px 0}.historical-decision p{font-size:11px;margin:6px 0}.historical-decision small{font-size:10px;color:#889d77;line-height:1.9;display:block}.historical-step .historical-outcome-boundary{background:#f8f0df;border:1px solid #e9ddc1;padding:11px 13px;border-radius:7px;color:#927e52;font-size:10px}.historical-outcome-metric{display:flex;gap:17px;align-items:baseline;margin:16px 0}.historical-outcome-metric strong{font-size:31px;color:#577c43;letter-spacing:-.8px}.historical-outcome-metric span{font-size:10px;color:#8ba076}.historical-price-chart{margin:14px 0;border:1px solid #e0e8d5;border-radius:9px;background:#f9fbf3;padding:14px}.historical-chart-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline;color:#6a8756}.historical-chart-heading strong{font-size:11px}.historical-chart-heading span{font-size:9px;text-align:right}.historical-price-chart svg{display:block;width:100%;height:auto;margin:12px 0 1px}.historical-price-chart figcaption{font-size:9px;line-height:1.9;color:#9bad8a}.historical-quote-sources{border-top:1px solid #e5ebdc;margin-top:10px;padding-top:9px;display:flex;flex-wrap:wrap;gap:9px;font-size:9px;color:#8da47c}.historical-price-unavailable{background:#f6f2e6;border:1px solid #e7dfc8;border-radius:8px;padding:14px;font-size:11px;color:#948258;margin:14px 0}.historical-step .historical-outcome-lesson{background:#f1f5e9;border-left:3px solid #bdcea8;padding:12px 14px;font-size:12px;color:#637b50}.historical-outcome-lesson strong{font-size:9px;text-transform:uppercase;letter-spacing:.4px;color:#8ba375}.historical-revision-note{border:1px dashed #cfdec1;background:#f8faf2;border-radius:7px;padding:12px 14px;font-size:10px;color:#7c956a;margin:16px 0}.historical-revision-note p{font-size:10px;margin-bottom:0}.historical-revision-comparison{margin:18px 0;border:1px solid #d5e2c7;border-radius:8px;padding:14px;background:#f6f9ef}.historical-revision-comparison h3{font-size:12px;color:#6d8758;margin:0 0 11px}.historical-revision-comparison>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.historical-revision-comparison article{min-width:0}.historical-revision-comparison article>span{display:block;font-size:9px;color:#95a983}.historical-revision-comparison article>strong{display:block;font-size:12px;color:#5e7d49;line-height:1.8;margin:3px 0}.historical-revision-comparison article>p,.historical-revision-comparison>p{font-size:9px;line-height:1.8}.historical-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:17px 0}.historical-actions button{font-size:10px}.historical-edge-explorer{margin:25px 0}.historical-edge-explorer h3{font-size:17px;line-height:1.5;color:#5d7c4a;margin:7px 0}.historical-edge-explorer>div>p{font-size:10px;line-height:1.9;color:#91a37e}.historical-ranking-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.historical-ranking-grid>section{padding:15px;border:1px solid #dbe6cf;border-radius:9px;background:#fffefa;min-width:0}.historical-ranking-grid h4{font-size:12px;color:#698654;line-height:1.6;margin:0 0 5px}.historical-ranking-grid p{font-size:9px;line-height:1.8;color:#a1af90;margin:0 0 10px}.historical-ranking-grid button{display:flex;width:100%;text-align:left;align-items:center;justify-content:space-between;gap:10px;background:#f4f8ed;border:1px solid #e3ebd8;border-radius:6px;padding:10px;margin:7px 0}.historical-ranking-grid button strong{font-size:10px;display:block;color:#6d8757}.historical-ranking-grid button small{font-size:8px;display:block;color:#a5b394;line-height:1.8}.historical-ranking-grid button b{font-size:12px;color:#6a8c51;flex-shrink:0}.historical-ranking-grid>section>small{font-size:9px;color:#a8b698;line-height:1.8}.historical-global-limit{font-size:9px;line-height:1.9;color:#a2ad91;margin:18px 0}.historical-original-workspace{padding-top:24px;margin-top:24px;border-top:1px solid #dce5d2}.historical-original-workspace>h3{font-size:15px;color:#728a60;line-height:1.6}
@media(max-width:799px){.historical-intro h2{font-size:18px}.historical-selectors{grid-template-columns:1fr;gap:10px}.historical-case-card>header{padding:15px;flex-direction:column;gap:8px}.historical-case-card>header h3{font-size:18px}.historical-case-status{text-align:left;max-width:none;font-size:8px}.historical-step{padding:15px 12px;gap:8px;grid-template-columns:21px minmax(0,1fr)}.historical-step-number{height:21px;width:21px;font-size:10px}.historical-step h4{font-size:13px}.historical-step p{font-size:10px}.historical-step .historical-known-context{font-size:11px}.historical-facts{gap:7px}.historical-facts article{padding:9px}.historical-facts strong{font-size:21px}.historical-facts span{font-size:8px}.historical-facts small{font-size:7px}.historical-check-table{font-size:8px}.historical-check-table td,.historical-check-table th{padding:8px 5px!important}.historical-decision{padding:11px}.historical-decision>strong{font-size:16px}.historical-outcome-metric{gap:11px;flex-wrap:wrap}.historical-outcome-metric strong{font-size:27px}.historical-chart-heading{flex-direction:column;gap:3px}.historical-chart-heading span{text-align:left}.historical-price-chart{padding:10px}.historical-actions button{font-size:9px;white-space:normal}.historical-ranking-grid{grid-template-columns:1fr}.historical-revision-comparison{padding:10px}.historical-revision-comparison>div{gap:9px}.historical-revision-comparison article>strong{font-size:10px}.historical-edge-explorer h3{font-size:15px}.historical-outcome-lesson{font-size:10px!important}}
/* Dated market screen, real-data simulation and isolated agent repositories. */
.portfolio-workspace,.real-backtest,.agent-library{min-width:0}.portfolio-boundary{padding:12px 15px;border:1px solid #e3d9c1;background:#f9f3e7;color:#85714c;font-size:11px;border-radius:8px;line-height:1.8}.portfolio-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px;background:var(--paper);margin:18px 0}.portfolio-table{border-collapse:collapse;width:100%;min-width:570px;font-size:10px}.portfolio-table th,.portfolio-table td{padding:11px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.portfolio-table th{font-size:9px;color:var(--muted);background:#f0f3ea}.portfolio-table td:last-child{max-width:210px;line-height:1.7}.portfolio-table td button{border:0;padding:0;background:transparent;text-align:left}.portfolio-table small{display:block;font-size:9px;color:var(--muted)}.portfolio-table tr.selected{background:#edf3e7}.market-signal{display:inline-block;padding:2px 7px;border-radius:5px;white-space:nowrap;background:#f2efe4;color:#947a42;font-size:9px}.market-signal.buy{background:#e5f0df;color:#4a743b}.market-signal.sell{background:#f3e5df;color:#98644e}.company-decision,.assumption-drawer,.real-backtest-result,.agent-repository{padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--paper);margin:18px 0}.company-decision h3,.assumption-drawer h3,.agent-repository h3{margin:4px 0;font-size:17px}.company-decision p,.assumption-drawer p,.agent-library p{font-size:11px;line-height:1.8;color:#76856c}.portfolio-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.portfolio-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:10px}.portfolio-form-grid .portfolio-checkbox{display:flex;flex-direction:row;align-items:center}.portfolio-checkbox input{width:auto}.portfolio-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:10px}.portfolio-detail-grid h4{font-size:11px;margin:13px 0 7px}.portfolio-detail-grid ul{padding-left:17px;line-height:1.9}.company-decision details,.real-backtest-result details{font-size:10px;margin-top:15px;color:#7e9070}.company-decision pre,.real-backtest-result pre,.agent-library pre,.expert-council pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:9px;background:#f4f6ef;padding:12px;border-radius:6px;max-height:300px;overflow:auto}.portfolio-metrics{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.portfolio-metrics span{display:block;font-size:10px;color:var(--muted)}.portfolio-metrics strong{font-size:23px;color:var(--teal);font-weight:500}.daily-equity{margin:17px 0;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f6f8f0}.daily-equity svg{width:100%;display:block}.daily-equity text{font-size:9px;fill:#88967d}.daily-equity figcaption{font-size:9px;color:#8b9a7e}.agent-list{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.agent-list button{min-width:145px;flex:1;text-align:left}.agent-list button small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.agent-list .selected,.agent-branches .selected{background:#e7efdf;border-color:#bfd0ad;color:#4d703b}.agent-branches{display:flex;gap:12px;flex-wrap:wrap;padding-bottom:17px;border-bottom:1px solid var(--line)}.agent-branches>div{display:flex;flex-direction:column;gap:3px;align-items:start}.agent-binding{padding:12px 0}.agent-commits{display:flex;flex-direction:column;gap:10px}.agent-commits article{border-left:2px solid #bdcfab;padding:10px 14px;background:#f6f8f0;border-radius:0 6px 6px 0}.agent-commits strong{display:block;font-size:11px}.agent-commits small{display:block;font-size:9px;color:#8b9a7b}.agent-commits p{margin:4px 0}.agent-diff-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}.agent-diff section,.merge-conflict{padding:12px 0;border-bottom:1px solid var(--line)}.agent-diff h4,.merge-conflict h4{font-size:11px;overflow-wrap:anywhere}.council-members{display:flex;flex-direction:column;gap:8px;margin:15px 0}.council-members>label{display:flex;align-items:center;gap:8px}.council-members input[type=checkbox]{width:auto}.council-members input[type=number]{width:75px;margin-left:auto}.council-result{margin-top:15px;border-top:1px solid var(--line);padding-top:14px}.agent-library-link{margin:0 0 15px}.workspace.with-decision-chat.strategy-entry{grid-template-columns:72px minmax(0,1fr) 330px}.workspace.with-decision-chat .chat{display:flex}.workspace.with-decision-chat .strategy-intake-grid{grid-template-columns:minmax(0,1fr)}.workspace.with-decision-chat .chat-context small{display:block;font-size:8px;overflow-wrap:anywhere;line-height:1.8;color:#93a180}.workspace.with-decision-chat .chat-compose label{font-size:10px;margin-bottom:7px}
@media(max-width:1100px){.workspace.with-decision-chat.strategy-entry{grid-template-columns:64px minmax(0,1fr) 290px}.portfolio-detail-grid{grid-template-columns:1fr}.portfolio-form-grid{gap:9px}.top-actions .session-dot+.top-actions{display:none}}
@media(max-width:820px){.workspace.with-decision-chat.strategy-entry{grid-template-columns:60px minmax(0,1fr)}.workspace.with-decision-chat .chat{display:none}.workspace.with-decision-chat .chat.open{display:flex;position:fixed;right:0;top:90px;bottom:0;width:min(360px,100vw);z-index:20;box-shadow:-6px 0 20px #324c2720}.portfolio-form-grid,.portfolio-metrics{grid-template-columns:1fr 1fr}.company-decision,.assumption-drawer,.real-backtest-result,.agent-repository{padding:15px}.agent-diff-values{grid-template-columns:1fr}.agent-list{flex-direction:column}}
@media(max-width:520px){.portfolio-form-grid{grid-template-columns:1fr}.portfolio-metrics strong{font-size:20px}.real-backtest>.section-heading h2,.portfolio-workspace>.section-heading h2{font-size:19px}.agent-list button{width:100%}}
.market-source-coverage{border:1px solid var(--line);background:#f4f7ee;border-radius:8px;padding:13px 15px;margin:15px 0;font-size:10px;color:#7c8d6e;line-height:1.9}.market-source-coverage>p{margin:0 0 7px}.market-source-coverage details>summary{cursor:pointer;color:#5e7b4c}.market-source-coverage article{border-top:1px solid #e0e7d7;padding:10px 0}.market-source-coverage h4{font-size:10px;margin:0 0 5px}.market-source-coverage h4 .tiny-tag{white-space:normal;margin-left:5px}.market-source-coverage article p{margin:5px 0;font-size:10px}.market-source-coverage a{text-decoration:underline;color:#688556}

/* Dedicated key entry is intentionally outside chat and exported studio state. */
.workspace-connections-dialog{max-width:640px}.workspace-connections h3{font-size:22px;margin:5px 0 12px}.workspace-provider-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px solid var(--line);background:var(--teal-light);padding:14px;border-radius:8px;margin:18px 0}.workspace-provider-status small{flex-basis:100%;color:var(--muted)}.workspace-connections form label{margin-bottom:7px}.workspace-connections input[type=password]{font-family:monospace;min-height:44px}.workspace-connection-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.workspace-connection-notice{color:var(--teal)}.workspace-key-details{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.workspace-key-details summary{cursor:pointer;font-weight:600}.workspace-key-details li{margin:8px 0}.top-actions .workspace-settings-button{white-space:nowrap}
@media(max-width:700px){.topbar{height:auto;min-height:65px;flex-wrap:wrap;padding:10px 12px;gap:10px}.top-actions{gap:6px;flex-wrap:wrap}.top-actions .workspace-settings-button{display:inline-flex;margin-left:0;padding:6px 8px;font-size:10px}.workspace-connections-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.workspace-connection-actions button{flex:1 1 auto}.workspace-connections-dialog .dialog-body{padding:16px}}

/* The workspace itself is not rendered until the owner session is verified. */
.workspace-lock{min-height:100vh;display:grid;place-items:center;padding:28px;background:var(--bg,#f6f7f2)}
.workspace-lock-card{width:min(100%,540px);padding:36px;border:1px solid var(--line,#dfe4da);border-radius:20px;background:var(--paper,#fff);box-shadow:0 16px 60px #183c2c0c}
.workspace-lock-card h1{font-size:30px;line-height:1.2;margin:14px 0 18px;color:#244e43}.workspace-lock-card>p{line-height:1.65}.workspace-lock-card form{display:grid;gap:12px;margin:25px 0 16px}.workspace-lock-card input{width:100%;min-height:46px}.workspace-lock-card .micro-note{line-height:1.55}.workspace-lock-card>button{margin-bottom:16px}
@media(max-width:600px){.workspace-lock{padding:16px}.workspace-lock-card{padding:25px 20px}.workspace-lock-card h1{font-size:26px}}

/* One persistent conversation beside every workspace view. */
.workspace.with-decision-chat,.workspace.with-decision-chat.strategy-entry{grid-template-columns:72px minmax(0,1fr) 380px;min-height:0;height:calc(100dvh - 90px)}
.workspace.with-decision-chat .chat{display:flex;overflow:hidden;min-height:0;height:100%}
.ai-partner-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 18px 10px;flex-shrink:0}.ai-partner-heading>div{display:flex;align-items:center;gap:8px}.ai-partner-heading strong{font-size:14px}.ai-partner-modes{display:flex;gap:5px;padding:0 16px 11px;border-bottom:1px solid var(--line);flex-shrink:0}.ai-partner-modes button{flex:1;font-size:10px;padding:8px;background:transparent}.ai-partner-modes .selected{background:var(--teal-light);border-color:#b9d0bd;color:var(--teal);font-weight:600}.ai-partner-context{padding:12px 18px 6px;background:#f5f7ef;flex-shrink:0}.ai-partner-context strong{font-size:10px;color:#5a7750}.ai-partner-context p{font-size:10px;line-height:1.7;color:#87967b;margin:4px 0}.ai-partner-context button{font-size:9px;margin-bottom:4px}.ai-partner-secondary{padding:4px 18px 7px;background:#f5f7ef;border-bottom:1px solid var(--line);flex-shrink:0}.ai-partner-secondary button{font-size:9px;color:#88997a}.ai-partner-secondary [aria-pressed=true]{color:var(--teal);font-weight:600}
#ai-partner .strategy-chat{border:0;border-radius:0;padding:14px 18px 12px;flex:1;min-height:0;overflow:hidden}#ai-partner .strategy-chat-heading{flex-shrink:0;padding-bottom:10px}#ai-partner .strategy-chat-heading h3{font-size:12px}#ai-partner .strategy-chat-transcript{flex:1;min-height:60px;max-height:none;overflow-y:auto;padding:12px 0}#ai-partner .strategy-chat-message{font-size:11px;padding:10px;margin-bottom:10px}#ai-partner .strategy-chat-empty{min-height:130px}#ai-partner .strategy-chat form{flex-shrink:0;border-top:1px solid var(--line);padding-top:12px}#ai-partner .strategy-chat form textarea{min-height:85px;max-height:140px;resize:vertical}#ai-partner .strategy-local-preview{margin-top:5px;font-size:8px}#ai-partner .strategy-chat>.micro-note{font-size:8px;line-height:1.5}#ai-partner .strategy-connect-banner{font-size:9px;padding:7px;flex-shrink:0}#ai-partner .strategy-chat>.runtime-warning{max-height:80px;overflow:auto;flex-shrink:0}#ai-partner .strategy-stale-response{max-height:90px;overflow:auto;flex-shrink:0}#ai-partner .messages{min-height:0}#ai-partner>.chat-header{height:auto;min-height:43px;flex-shrink:0;padding:10px 18px}#ai-partner>.chat-context{padding:10px 18px;flex-shrink:0}#ai-partner>.chat-compose{flex-shrink:0}#ai-partner .chat-footnote{line-height:1.7}.ai-partner-launcher{display:none}
@media(min-width:821px){.ai-partner-heading .mobile-chat{display:none}}
@media(min-width:821px) and (max-width:1100px){.workspace.with-decision-chat,.workspace.with-decision-chat.strategy-entry{grid-template-columns:64px minmax(0,1fr) 330px}.main-content{padding:20px 18px}.ai-partner-context{padding:9px 14px 5px}.ai-partner-context p{font-size:9px}}
@media(max-width:820px){.workspace.with-decision-chat,.workspace.with-decision-chat.strategy-entry{grid-template-columns:60px minmax(0,1fr)}.workspace.with-decision-chat .chat{display:none;height:auto}.workspace.with-decision-chat .chat.open{display:flex;position:fixed;right:0;top:90px;bottom:0;width:min(380px,calc(100vw - 60px));z-index:20;box-shadow:-6px 0 20px #324c2720}.ai-partner-heading .mobile-chat{display:inline-flex}.ai-partner-launcher{display:block;position:fixed;right:14px;bottom:14px;z-index:21;font-size:11px;box-shadow:0 3px 14px #324c2728}.workspace.with-decision-chat .chat.open~.ai-partner-launcher{display:none}.ai-partner-context p{font-size:9px}.main-content{padding-bottom:75px}#ai-partner .strategy-chat{padding:10px 14px}#ai-partner .strategy-chat>.micro-note{display:none}.ai-partner-heading{padding:10px 14px 7px}.ai-partner-modes{padding-bottom:8px}.ai-partner-context{padding-top:8px}}
.workspace.with-decision-chat .rail{min-height:0;overflow-y:auto;scrollbar-width:thin}
.workspace.with-decision-chat{grid-template-rows:minmax(0,1fr)}
.workspace.with-decision-chat .main{min-height:0}
@media(max-width:820px){#app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.prototype,.topbar{flex-shrink:0}.workspace.with-decision-chat{position:relative;flex:1;min-height:0;height:auto}.workspace.with-decision-chat .chat.open{position:absolute;top:0}}
@media(max-height:720px){#ai-partner .ai-partner-context p{display:none}#ai-partner .strategy-chat>.micro-note{display:none}#ai-partner .strategy-chat-empty{min-height:70px}#ai-partner .strategy-chat form textarea{min-height:65px;max-height:100px}#ai-partner .strategy-connect-banner{margin:2px 0 6px}#ai-partner .strategy-chat-transcript{min-height:35px}}

/* Compact evidence attached to the persistent AI partner. */
.chat-result-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 0}.chat-result-metrics div{min-width:0}.chat-result-metrics dt{font-size:10px;color:var(--muted)}.chat-result-metrics dd{margin:3px 0 0;font-size:14px;font-weight:700}.chat-draft-notice{padding:12px 16px;background:#eef4ed;border-top:1px solid var(--line);font-size:12px}.chat-draft-notice p{margin:5px 0 9px}.chat-context small{overflow-wrap:anywhere}.message>small{overflow-wrap:anywhere}

/* SEC evidence keeps reporting periods and as-of eligibility visible. */
.sec-workspace{font-size:12px;line-height:1.7}.sec-selection{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:18px;background:#eef3e7;border:1px solid var(--line);border-radius:10px;margin:16px 0}.sec-selection label{display:flex;flex:1;min-width:180px;flex-direction:column;gap:6px;font-size:11px}.sec-selection select,.sec-selection input,.sec-history-filters select{width:100%;padding:9px;border:1px solid var(--line);border-radius:6px;background:#fffefa;color:var(--text)}.sec-coverage{border:1px solid var(--line);padding:14px;border-radius:8px;margin:16px 0;overflow-wrap:anywhere;color:var(--muted)}.sec-review-card,.sec-filing-history{border:1px solid var(--line);padding:20px;border-radius:10px;background:#fffefa;margin:20px 0}.sec-review-card .section-heading{align-items:start;flex-wrap:wrap}.sec-availability{margin:20px 0;padding:12px;background:#f4f6ed;border-radius:7px}.sec-availability summary,.sec-fact-detail summary,.sec-coverage summary{cursor:pointer;font-weight:600}.sec-selected-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sec-fact-detail{min-width:0;border:1px solid var(--line);padding:12px;border-radius:7px;font-size:11px;overflow-wrap:anywhere}.sec-fact-detail summary{color:var(--teal)}.sec-fact-detail dl{margin:12px 0}.sec-fact-detail dl>div{margin:8px 0}.sec-fact-detail dt{font-size:10px;color:var(--muted)}.sec-fact-detail dd{margin:2px 0 0}.sec-history-filters{display:flex;gap:12px;margin:12px 0}.sec-history-filters label{display:flex;flex-direction:column;gap:5px;font-size:11px;min-width:120px}.sec-table-wrap{overflow-x:auto}.sec-table-wrap table{min-width:500px}.sec-table-wrap td{font-size:10px;overflow-wrap:anywhere}.sec-table-wrap small{display:block;color:var(--muted)}.sec-filing-history .historical-actions{align-items:center}.sec-filing-history .historical-actions span{font-size:10px}
@media(max-width:1100px){.sec-selected-facts{grid-template-columns:1fr}.sec-review-card,.sec-filing-history{padding:14px}.sec-selection{padding:13px}.sec-selection label{min-width:150px}}

/* Small phones use a full-width page above a horizontally scrollable bottom rail. */
@media(max-width:680px){
 .workspace.with-decision-chat,.workspace.with-decision-chat.strategy-entry{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 62px}
 .workspace.with-decision-chat .main{grid-column:1;grid-row:1;min-width:0}
 .workspace.with-decision-chat .rail{grid-column:1;grid-row:2;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;min-width:0;min-height:62px}
 .workspace.with-decision-chat .rail-link{flex:0 0 74px;min-width:74px;padding:3px 5px}
 .workspace.with-decision-chat .chat.open{right:8px;bottom:70px;width:calc(100% - 16px)}
 .ai-partner-launcher{bottom:76px}
 .sec-workspace>.section-heading{flex-direction:column;align-items:stretch;gap:12px}
 .sec-workspace>.section-heading>div{min-width:0;max-width:100%}
 .sec-workspace>.section-heading>.historical-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
 .sec-workspace>.section-heading>.historical-actions button{flex:1 1 130px;min-width:0;white-space:normal;font-size:11px}
 .sec-selection{display:flex;flex-direction:column;align-items:stretch}
 .sec-selection label,.sec-selection button{flex:none;min-width:0;width:100%}
 .sec-selection input,.sec-selection select{min-width:0;max-width:100%}
}
/* One workspace agent, with optional source receipts after each response. */
.workspace-agent{display:flex;flex-direction:column;min-height:0;flex:1}.workspace-agent .ai-partner-context{margin:0 0 12px}.workspace-agent .strategy-chat-transcript{min-height:180px;flex:1;overflow-y:auto}.agent-source-details,.agent-source-archive{font-size:12px;padding:9px 0;color:var(--muted)}.agent-source-details>div{padding:8px 0;border-bottom:1px solid var(--line)}.agent-source-details small,.agent-action-receipts small{display:block;margin-top:4px}.agent-action-receipts{padding:8px;background:#e5eee7;border-radius:8px;color:#315b50}.agent-working{font-size:12px;color:#315b50}.agent-source-archive .chat-header,.agent-source-archive #chat-form{display:none}.workspace-agent textarea{width:100%;resize:vertical;box-sizing:border-box}
.agent-source-archive{flex-shrink:0;max-height:180px;overflow:auto}.agent-source-archive .messages{max-height:140px;overflow:auto}
/* Browser-local ThesisLab conversations. */
.ai-partner-heading>[data-action="chat-new"]{margin-left:auto;font-size:9px;padding:5px 7px}.chat-storage-note{font-size:9px;line-height:1.6;color:#76866d;margin:8px 0;overflow-wrap:anywhere}.workspace-agent>.chat-storage-note{flex-shrink:0}.chat-history-list{display:grid;gap:12px;margin-top:22px}.chat-history-card{display:block;text-align:left;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fffefa;color:#40593a;width:100%}.chat-history-card.selected{border-color:#719476;background:#eff4e9}.chat-history-card>div{display:flex;justify-content:space-between;gap:15px}.chat-history-card strong{font-size:13px;overflow-wrap:anywhere}.chat-history-card span,.chat-history-card small{font-size:10px;color:#829274}.chat-history-card p{font-size:11px;line-height:1.7;color:#718468;overflow-wrap:anywhere}.chat-import-label{display:flex;align-items:center;gap:12px;font-size:11px;color:#718468}.chat-import-label input{max-width:100%;font-size:10px}.chat-history-view .section-heading{align-items:center}@media(max-width:680px){.chat-history-card>div{flex-direction:column;gap:7px}.chat-import-label{flex-direction:column;align-items:flex-start}.chat-history-view .section-heading{flex-direction:column;align-items:flex-start}.workspace-agent>.chat-storage-note{font-size:8px}}
/* One agent workspace; execution details and source selection are child views. */
.agent-workspace-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:15px}.agent-workspace-toolbar>small{font-size:10px;color:#819273}.agent-options{position:relative;font-size:11px;color:#617956}.agent-options>summary{cursor:pointer;padding:8px 11px;border:1px solid var(--line);border-radius:7px;background:#f7f9f2}.agent-options>div{position:absolute;right:0;top:36px;z-index:6;display:flex;flex-direction:column;gap:5px;background:#fffefa;border:1px solid var(--line);padding:10px;min-width:210px;border-radius:9px;box-shadow:0 8px 25px #344d2420}.agent-options button{text-align:left}.agent-child-header{display:flex;align-items:center;gap:14px;margin-bottom:18px}.agent-child-header>span{font-size:10px;color:#819273}.source-catalog{display:grid;gap:16px;margin-top:18px}.source-card{padding:20px;border:1px solid var(--line);border-radius:11px;background:#fffefa}.source-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.source-card h3{font-size:16px;margin:8px 0 4px}.source-card small{font-size:10px;color:#819273}.source-toggle{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.source-toggle input{accent-color:#365f51;width:16px;height:16px}.source-status{font-size:11px;color:#607d54;margin:13px 0}.source-card dl{display:grid;grid-template-columns:130px 1fr;font-size:11px;line-height:1.8;gap:8px 14px;margin:14px 0}.source-card dt{color:#819273}.source-card dd{margin:0;color:#526e47}.source-card-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.source-card-actions a{font-size:10px;text-decoration:underline;color:#6a835b}.source-preference-status{font-size:10px;color:#819273}.source-policy-notice{padding:15px 17px;border:1px solid #e6dab6;border-radius:9px;background:#f8f4e8;margin:10px 0 20px;font-size:11px;color:#897044}.source-policy-notice p{line-height:1.8;margin:6px 0 10px}.unavailable-sources{margin-top:30px}.unavailable-sources h3{font-size:16px}.unavailable-sources>p{font-size:11px;color:#819273}.unavailable-sources article{display:flex;align-items:center;gap:15px;padding:15px;border-bottom:1px solid var(--line);font-size:11px}.unavailable-sources article strong{flex:1}.unavailable-sources button{font-size:10px}.answer-source-policy{font-size:10px;margin-top:10px;color:#788d69}.answer-source-policy p{line-height:1.8}@media(max-width:680px){.source-card{padding:15px}.source-card-heading{flex-direction:column;gap:12px}.source-card dl{grid-template-columns:1fr;gap:3px}.source-card dd{margin-bottom:8px}.unavailable-sources article{flex-wrap:wrap;gap:8px}.unavailable-sources article strong{flex-basis:100%}.agent-options>div{min-width:190px}.agent-child-header{gap:8px}.agent-workspace-toolbar{gap:9px}}

.community-coming-soon{min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px;border:1px solid var(--line);border-radius:14px;background:#f6f8ef}.community-coming-soon .eyebrow{color:#91a083}.community-symbol{font-size:42px;color:#7e9b6b;margin:20px 0 8px}.community-coming-soon h2{font-size:27px;letter-spacing:-.6px;color:#405f39;margin:0 0 14px}.community-coming-soon p{font-size:12px;line-height:1.9;color:#829574;max-width:300px;margin:18px 0 0}
/* Agent replay keeps the instructions, audit and execution in one place. */
.agent-replay-controls{border:0;padding:0;margin:0;min-width:0}.agent-replay-pins,.agent-clause-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.agent-replay-pins{align-items:start;background:var(--paper,#fafaf5);padding:18px;border:1px solid var(--line,#dfe3d9);border-radius:12px;margin:18px 0}.agent-replay-pins small{display:block;margin-top:8px;line-height:1.6}.agent-replay-universe{display:flex;flex-wrap:wrap;gap:12px 20px;border:1px solid var(--line,#dfe3d9);border-radius:10px;margin:16px 0;padding:14px}.agent-replay-universe label{display:flex;align-items:center;gap:6px;font-size:12px}.agent-replay-universe input{width:auto}.agent-replay-custom{display:block;margin:18px 0}.agent-replay-custom textarea{display:block;width:100%;margin:8px 0}.agent-replay-execution,.agent-replay-instructions,.agent-replay-coverage,.agent-replay-baseline{margin:18px 0;padding:16px;border:1px solid var(--line,#dfe3d9);border-radius:12px}.agent-replay-execution p,.agent-replay-instructions p,.agent-replay-coverage p{font-size:13px;line-height:1.7}.agent-replay-plan{background:#edf3eb;border-radius:10px;padding:16px;margin:20px 0}.agent-replay-plan p{font-size:13px;line-height:1.6}.agent-replay-result{border-top:1px solid var(--line,#dfe3d9);padding-top:28px;margin-top:28px}.agent-replay-table-wrap{overflow:auto}.agent-replay-table-wrap td{min-width:110px;vertical-align:top}.agent-replay-table-wrap td:last-child{min-width:230px;max-width:420px;white-space:normal}.agent-replay-table-wrap tr.selected{background:#edf3eb}.agent-decision-detail{margin:22px 0;padding:22px;background:#fafbf7;border:1px solid var(--line,#dfe3d9);border-radius:14px}.agent-clause-checks article{border:1px solid var(--line,#dfe3d9);border-radius:10px;padding:15px;background:white}.agent-clause-checks article>strong{display:block;margin:8px 0;text-transform:capitalize}.agent-clause-checks blockquote{margin:10px 0;padding:0 0 0 12px;border-left:3px solid #b4c4b2;font-size:13px;line-height:1.65}.agent-clause-checks p,.agent-decision-evidence p{font-size:13px;line-height:1.7}.agent-trade-detail{display:grid;grid-template-columns:minmax(150px,1fr) 2fr;gap:12px;font-size:13px}.agent-trade-detail dd{margin:0}.agent-decision-evidence details{padding:12px;border-bottom:1px solid var(--line,#dfe3d9)}.agent-decision-evidence small{display:block;overflow-wrap:anywhere;margin-top:8px}.agent-replay-history button{display:block;margin:8px 0;white-space:normal;text-align:left}.agent-replay-comparison td small{display:block;margin-top:8px;line-height:1.5}.agent-replay-modes{margin-top:22px}.agent-case-presets button{margin:4px}.agent-replay-comparison,.agent-replay-history{margin-top:24px}.agent-replay-coverage li{line-height:1.6;margin:8px 0}@media(max-width:900px){.agent-replay-pins,.agent-clause-checks{grid-template-columns:1fr}.agent-decision-detail{padding:14px}.agent-trade-detail{grid-template-columns:1fr}.agent-trade-detail dd{margin-bottom:10px}}
/* Read-only portfolio report: metrics are full-run; filters affect ledgers only. */
.agent-report-tabs{margin:20px 0}.agent-report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.agent-report-metric{padding:16px;border:1px solid var(--line,#dfe3d9);border-radius:12px;background:#fff}.agent-report-metric>span{font-size:11px;color:#647568;display:block;min-height:28px}.agent-report-metric>strong{display:block;font-size:22px;font-weight:600;margin:8px 0 12px;overflow-wrap:anywhere}.agent-report-metric details{font-size:11px;line-height:1.65}.agent-report-metric summary{font-size:11px;color:#637b6b}.agent-report-advanced-metrics{padding:14px;border:1px solid var(--line,#dfe3d9);border-radius:12px;margin-bottom:18px}.agent-report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;background:#f0f4ed;border-radius:12px;margin:16px 0}.agent-report-filters label{display:flex;flex-direction:column;gap:6px;font-size:11px;min-width:0}.agent-report-filters input,.agent-report-filters select{width:100%;font-size:12px;min-width:0;background:#fff}.agent-report-search{grid-column:span 2}.agent-report-count{font-size:12px;line-height:1.65;color:#47634f}.agent-report-ledger td small,.agent-report-positions td small,.agent-portfolio-overview td small{display:block;font-size:10px;margin-top:5px;line-height:1.6}.agent-report-counts{display:flex;flex-wrap:wrap;gap:10px 20px;margin:14px 0}.agent-report-counts span{padding:10px 12px;background:#eef2e9;border-radius:9px;font-size:12px}.agent-report-counts strong{margin-right:4px}.agent-report-audit-summary,.agent-report-positions,.agent-round-trips{margin:22px 0;padding:18px;border:1px solid var(--line,#dfe3d9);border-radius:12px}.agent-report-positions p,.agent-round-trips p,.agent-portfolio-overview>p{font-size:12px;line-height:1.7}.agent-universe-actions{width:100%;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.agent-universe-actions small{display:block;width:100%;line-height:1.5}.agent-drawdown{background:#fcf8f4}.agent-drawdown figcaption{color:#906456}.agent-replay-universe{max-height:330px;overflow:auto}.agent-report-tabs button{white-space:normal}@media(max-width:1050px){.agent-report-metrics,.agent-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.agent-report-metrics,.agent-report-filters{grid-template-columns:1fr}.agent-report-search{grid-column:auto}.agent-report-metric>span{min-height:0}.agent-report-tabs{display:flex;flex-wrap:wrap}.agent-report-ledger>.section-heading{display:block}.agent-universe-actions{gap:6px}.agent-report-positions{padding:12px}}

/* Live quotes remain separate from frozen research data. */
.live-market-panel{border:1px solid var(--line,#d7dfd5);border-radius:18px;padding:20px;margin:0 0 24px;background:var(--surface,#fff)}
.live-market-panel h2{font-size:21px;margin:5px 0 10px}.live-market-panel p{line-height:1.6}.live-market-watch{margin:16px 0}.live-market-watch>summary{cursor:pointer;font-weight:700;padding:12px;border-radius:10px;background:#edf3ed}.live-market-watch iframe{display:block;width:100%;border:0;border-radius:12px;margin-top:12px;background:#f7f9f5}.unsaved-dialog{max-width:560px;width:calc(100% - 32px);border:1px solid #d8dfd6;border-radius:18px;padding:0;color:#273c34}.unsaved-dialog::backdrop{background:#142d2577}.unsaved-dialog .dialog-footer{display:flex;flex-wrap:wrap;gap:10px;padding:20px}.unsaved-error{color:#a33720}.qualitative-starts{margin:0 0 20px;padding:18px;border:1px solid #d8dfd6;border-radius:16px}.qualitative-starts>summary{font-weight:700;cursor:pointer}.qualitative-starts article{padding:14px 0;border-bottom:1px solid #e5e9e1}.qualitative-starts article:last-child{border-bottom:0}

.recovery-panel{margin:12px 24px;padding:12px 16px;border:1px solid #d7e2d9;border-radius:10px;background:#f4f7f1}.recovery-panel>p{margin:0 0 6px}.recovery-copy{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 0}.recovery-copy>span{flex:1;min-width:180px}

/* Alpha reference studies and owner-private report archive. */
.alpha-lab,.reports-workspace{display:grid;gap:20px;min-width:0}.alpha-lab form,.report-email-settings form{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.alpha-lab form label{display:grid;gap:6px;flex:1;min-width:150px}.alpha-lab input,.alpha-lab select{width:100%;min-height:36px}.alpha-lab table,.reports-workspace table{width:100%;border-collapse:collapse}.alpha-lab th,.alpha-lab td,.reports-workspace th,.reports-workspace td{padding:10px;text-align:left;border-bottom:1px solid var(--line,#dfe3da)}.alpha-lab details,.reports-workspace details{margin:12px 0;padding:12px;border:1px solid var(--line,#dfe3da);border-radius:10px}.report-email-settings{margin-top:24px;padding-top:20px;border-top:1px solid var(--line,#dfe3da)}.report-email-settings input[type=checkbox]{width:auto}.rail{overflow-y:auto}.report-email-settings strong{overflow-wrap:anywhere}

.help-chapter{margin:12px 0;border:1px solid #dce4d7;border-radius:10px;background:#fafbf7;padding:14px 16px}.help-chapter>summary{cursor:pointer;font-size:13px;font-weight:600;line-height:1.6;color:#315e52}.help-chapter dl{margin:18px 0}.help-chapter dt{margin-top:16px;font-size:12px;color:#344f43}.help-chapter dd{margin:5px 0 12px;font-size:12px;line-height:1.8;color:#647460}.workspace-security{margin-top:22px;padding:16px 0 0;border-top:1px solid #dce4d7}.workspace-security>summary{cursor:pointer;font-weight:600}.workspace-security p{font-size:12px;line-height:1.8;color:#647460}

/* Hosted account access and feedback keep credentials outside research state. */
.hosted-auth{min-height:100dvh;max-height:100dvh;overflow:auto;display:grid;place-items:center;padding:28px 16px;background:var(--bg,#f5f7f0)}.hosted-auth-card{width:min(100%,510px);padding:32px;border:1px solid #d6dfd0;border-radius:14px;background:#fffef9;box-shadow:0 14px 50px #294a3710}.hosted-brand{display:block;font-weight:700;color:#315e50;text-decoration:none;font-size:22px;margin-bottom:25px}.hosted-auth h1{font-size:30px;line-height:1.18;color:#294a37;margin:12px 0 14px}.hosted-auth p{font-size:14px;line-height:1.65}.hosted-auth form{display:flex;flex-direction:column;gap:10px;margin:22px 0 12px}.hosted-auth label,.feedback-panel label{font-size:13px;font-weight:600;color:#3b5545}.hosted-auth input{width:100%;min-height:45px;padding:11px;border:1px solid #cbd7c4;border-radius:7px;font-size:16px;background:white;color:#243d2c}.hosted-auth .primary{min-height:45px;margin-top:6px;justify-content:center}.hosted-auth-links{display:flex;flex-wrap:wrap;gap:16px;margin:15px 0}.hosted-auth .micro-note{font-size:12px;color:#697c5e}.hosted-notice{color:#315e50;background:#edf4e8;padding:12px;border-radius:7px}.hosted-sync{padding:10px 24px;border-bottom:1px solid #e0e7d9;background:#f1f6eb;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#546d42}.hosted-sync [hidden]{display:none!important}.hosted-sync button{margin-left:10px}.hosted-account{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #e1e7d9}.hosted-account h3{overflow-wrap:anywhere}.feedback-panel form{display:flex;flex-direction:column;gap:12px}.feedback-panel textarea,.feedback-panel select{width:100%;padding:11px;border:1px solid #d3dfc8;background:#fffef9;color:#294a37;border-radius:6px;font:inherit}.feedback-panel textarea{resize:vertical;min-height:130px}.feedback-panel .confirm-check{font-size:12px;margin:6px 0}.feedback-panel details{font-size:12px;line-height:1.6;max-height:260px;overflow:auto;background:#f4f7ef;padding:10px 12px;border-radius:6px}.feedback-panel details p{overflow-wrap:anywhere;white-space:pre-wrap}.feedback-panel .primary{align-self:flex-start;min-height:42px}.feedback-panel .micro-note{font-size:12px;line-height:1.6}.hosted-verify-address{overflow-wrap:anywhere}@media(max-width:600px){.hosted-auth-card{padding:24px 20px}.hosted-auth h1{font-size:26px}.hosted-sync{padding:9px 12px;align-items:flex-start;flex-direction:column}.hosted-sync button{margin:0 12px 0 0}}

.hosted-google{display:flex;flex-direction:column;gap:8px;margin:22px 0 8px}.hosted-google>button{min-height:46px;width:100%;justify-content:center;background:white;color:#315e50}.hosted-google>span{font-size:12px;color:#76856e;text-align:center;margin:6px 0}.hosted-google p{margin:0}.hosted-google button:disabled{opacity:.6;cursor:not-allowed}

.vault-recovery-key{display:block;padding:16px;margin:16px 0;background:#f1f4ee;border:1px solid #ccd7c9;border-radius:10px;font:14px/1.7 ui-monospace,monospace;overflow-wrap:anywhere;user-select:all}.hosted-auth-card label:has(input[type=checkbox]){display:flex;gap:8px;align-items:flex-start;font-weight:400}.hosted-auth-card input[type=checkbox]{width:auto;margin-top:3px}

.vault-passkey-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:1px solid var(--line,#dbe0d8);border-radius:20px;background:var(--paper,#fafaf6);color:var(--ink,#223d33)}
.vault-passkey-dialog .hosted-auth-card{width:auto;max-width:none;box-sizing:border-box;padding:24px;border:0;box-shadow:none}
.vault-passkey-dialog button{min-height:44px;white-space:normal;margin:6px 6px 6px 0}.vault-passkey-dialog input{box-sizing:border-box;width:100%;min-height:44px;font-size:16px}.vault-passkey-dialog::backdrop{background:#142c2366}
@media(max-width:480px){.vault-passkey-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.vault-passkey-dialog .hosted-auth-card{padding:20px}.vault-passkey-dialog button{width:100%;margin:6px 0}}

/* Keep persistent context in one quiet row; research owns the main canvas. */
.strategy-context.workspace-context,.strategy-context.workspace-context.is-empty{position:relative;flex-shrink:0;min-height:0;padding:10px 24px;background:var(--paper);border-bottom:1px solid var(--line);z-index:3}
.workspace-context-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px 16px;min-width:0}
.workspace-agent-identity{display:flex;align-items:center;flex:1 1 190px;flex-wrap:wrap;gap:4px 9px;min-width:0}
.workspace-agent-name{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:280px;padding:0;border:0;background:transparent;color:var(--ink);font:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer}
.workspace-agent-name>[data-strategy-display-name]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.workspace-agent-name>span[aria-hidden]{color:var(--muted);font-weight:400;flex-shrink:0}
.workspace-context .strategy-context-status{font-size:10px;line-height:1.5;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;background:transparent;color:var(--muted);padding:0}
.workspace-context .strategy-context-status.is-draft{color:var(--amber);background:var(--amber-light);padding:2px 7px;border-radius:4px}
.workspace-context-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px 12px;min-width:0;font-size:11px}.workspace-context-tools>button{font-size:11px;padding:5px 9px;white-space:normal}
.workspace-sync-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);line-height:1.5;white-space:normal}.workspace-sync-status::before{content:'';width:5px;height:5px;flex-shrink:0;border-radius:50%;background:#739080}.workspace-sync-status[data-sync-state="pending"],.workspace-sync-status[data-sync-state="saving"]{color:var(--amber)}.workspace-sync-status[data-sync-state="pending"]::before,.workspace-sync-status[data-sync-state="saving"]::before{background:var(--amber)}.workspace-sync-status[data-sync-state="error"],.workspace-sync-status[data-sync-state="conflict"]{color:#9b4537;font-weight:600}.workspace-sync-status[data-sync-state="error"]::before,.workspace-sync-status[data-sync-state="conflict"]::before{background:#9b4537}
.workspace-context-details{font-size:11px}.workspace-context-details>summary{cursor:pointer;color:var(--muted);padding:4px 0;list-style:none;white-space:nowrap}.workspace-context-details>summary::-webkit-details-marker{display:none}.workspace-context-details>summary::after{content:' ⌄';font-size:12px}.workspace-context-details[open]>summary{color:var(--teal)}
.workspace-context-popover{position:absolute;left:12px;right:12px;top:calc(100% + 4px);padding:18px 20px;background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px #263d3020;max-height:min(60dvh,420px);overflow:auto;overflow-wrap:anywhere;z-index:5;font-size:12px;line-height:1.7}.workspace-context-popover h3{font-size:12px;margin:0 0 8px}.workspace-context-popover>p{margin:6px 0;color:var(--muted)}.workspace-context-popover .recovery-panel{margin:14px 0 0;padding:14px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;font-size:12px}.workspace-context-popover .micro-note{font-size:11px;line-height:1.7}.workspace-context-popover .recovery-copy>span{min-width:0;flex-basis:100%;overflow-wrap:anywhere}
.workspace-save-alert{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;flex-shrink:0;gap:7px 14px;padding:11px 24px;background:var(--amber-light);border-bottom:1px solid #e5d8bc;color:#775c2a;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.workspace-save-alert>span:first-child{min-width:0;flex:1 1 240px}.workspace-save-alert [data-cloud-tools]{display:flex;gap:8px;flex-wrap:wrap}.workspace-save-alert button{font-size:11px;white-space:normal}.workspace-save-alert[hidden],.workspace-save-alert [hidden]{display:none!important}
@media(max-width:1100px){.strategy-context.workspace-context,.strategy-context.workspace-context.is-empty{padding:9px 18px}.workspace-agent-name{max-width:220px}.workspace-context-line{gap:6px 12px}.workspace-context-tools{gap:6px 10px}}
@media(max-width:700px){.strategy-context.workspace-context,.strategy-context.workspace-context.is-empty{padding:9px 12px}.workspace-context-line{gap:6px 10px}.workspace-agent-identity{flex-basis:150px;gap:3px 7px}.workspace-agent-name{font-size:12px;max-width:100%}.workspace-context-tools{font-size:11px;gap:6px 9px}.workspace-context-tools>button{min-height:32px;font-size:11px;padding:4px 8px}.workspace-context-details>summary{min-height:32px;display:flex;align-items:center}.workspace-context-popover{left:6px;right:6px;padding:15px;max-height:58dvh}.workspace-save-alert{padding:10px 12px;font-size:12px}.workspace-context .strategy-context-status{font-size:10px}.workspace-sync-status{font-size:10px}}

.report-email-settings .report-recipient-label{display:block;font-size:12px;font-weight:600;margin:14px 0 6px}.report-email-settings .report-recipient{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:#f4f6f1;color:var(--ink);font:inherit;font-size:13px}.report-email-settings .report-recipient[readonly]{cursor:default}

.shared-ai-disclosure{padding:10px 12px;background:var(--teal-light);border-radius:7px;font-size:12px;line-height:1.7}.shared-ai-usage{font-size:13px;font-weight:600}.shared-ai-chat-status{padding:3px 0 8px;font-size:10px;color:var(--muted)}.shared-ai-chat-status>p{margin:3px 0}.shared-ai-chat-status details{font-size:10px;line-height:1.6}.shared-ai-chat-status summary,.workspace-own-key>summary{cursor:pointer}.workspace-own-key{margin-top:18px}.workspace-own-key>summary{font-size:12px;font-weight:600}.workspace-own-key>p{font-size:12px;line-height:1.7}

.beta-invitations{margin:24px 0;padding:20px;border:1px solid var(--line,#dbe1eb);border-radius:12px}.beta-invite-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.beta-invitations input{width:100%;box-sizing:border-box;margin:8px 0;max-width:100%;font:inherit;padding:10px}.beta-invite-list{padding-left:20px}.beta-invite-list li{margin:10px 0}.beta-invite-list button{margin-left:10px}
