:root{--bg:#f7f7f2;--paper:#fff;--ink:#233d33;--muted:#7c847b;--green:#214d3b;--line:#e7e9e0;--soft:#edf2e9;--gold:#b69658;--red:#b24e3a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}.hidden{display:none!important}.muted,small{color:var(--muted)}small{display:block;font-size:12px;margin-top:6px}h1,h2,h3,h4,p{margin:0}h1{font-size:33px;letter-spacing:-1px;line-height:1.4;font-weight:600}h2{font-size:21px;font-weight:600}h3{font-size:17px;font-weight:600}label{display:block;font-size:13px;font-weight:500}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;border:1px solid #dfe4d9;background:#fff;border-radius:8px;color:var(--ink);padding:11px 12px;outline:none;margin-top:9px;min-height:45px}input:focus,select:focus,textarea:focus{border-color:#6a8d71!important;box-shadow:0 0 0 3px #214d3b0b}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}button{border:0;background:none;color:var(--ink)}.primary,.secondary{border-radius:8px;padding:10px 18px;font-size:13px;font-weight:500;transition:.15s}.primary{background:var(--green);color:#fff}.primary:hover{background:#123626}.secondary{border:1px solid #dce2d5;background:#fff}.secondary:hover{background:var(--soft)}.text-button{color:var(--green);padding:8px 0;font-size:12px}.full{width:100%}.brand{display:flex;align-items:center;gap:11px;font-size:26px;font-weight:650;letter-spacing:3px;line-height:1.25}.brand img{width:49px;height:49px}.brand small{font-size:10px;font-weight:400;letter-spacing:3px;margin-top:5px;color:#858d7e}.topbar{height:94px;border-bottom:1px solid var(--line);background:#fdfdf9;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1180px)/2));gap:20px}.top-actions{display:flex;align-items:center;gap:26px;position:relative}.private-label{font-size:12px;color:#7b8677;display:flex;align-items:center;gap:8px}.dot{width:6px;height:6px;border-radius:50%;background:#7e9a66}.user-pill{display:flex;align-items:center;gap:10px;font-size:12px}.user-pill>span:first-child{background:#e8eee0;border:1px solid #dce5d2;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;color:#506a3c}.user-menu{position:absolute;right:0;top:45px;background:#fff;padding:8px;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #233d3312;z-index:5;min-width:150px}.user-menu button{display:block;padding:9px 13px;width:100%;text-align:left}.user-menu button:hover{background:var(--soft)}main{max-width:1180px;margin:auto;padding:45px 0 0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px}.eyebrow{font-size:10px;letter-spacing:2px;color:#82906f;display:block;margin-bottom:13px;font-weight:600}.page-heading p{margin-top:10px;font-size:13px}.research-mark{font-size:12px;text-align:right;color:#657852;border-right:2px solid #bac6a7;padding-right:15px}.research-mark span{display:block;font-size:10px;color:#93998b;margin-top:3px}.tabs{display:flex;gap:28px;border-bottom:1px solid #dfe4d8;margin-bottom:32px}.tab{font-size:15px;padding:14px 4px 15px;position:relative;color:#8b9386}.tab span{font-size:10px;margin-left:13px;color:#a6ad9d}.tab.active{color:var(--green);font-weight:650}.tab.active:after{content:"";height:3px;background:var(--green);position:absolute;bottom:-1px;left:0;right:0;border-radius:2px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.section-title p{color:var(--muted);font-size:12px;margin-top:4px}.outline-badge,.subtag{font-size:10px;border:1px solid var(--line);color:#839073;border-radius:5px;padding:3px 9px}.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;margin-bottom:23px;box-shadow:0 3px 8px #203e3202;overflow:hidden}.card-heading{display:flex;align-items:center;gap:13px;padding:25px 28px}.number{width:35px;height:35px;border-radius:9px;background:#edf1e8;color:#7f9365;display:grid;place-items:center;font-size:12px}.card-heading p{font-size:12px;color:var(--muted);margin-top:2px}.subtag{margin-left:auto}.screen-grid{display:grid;grid-template-columns:1fr 1fr 1.45fr 1fr;gap:24px;padding:4px 28px 29px}.screen-grid select{font-size:19px;font-weight:500;background:#fafbf7}.days-field{border:0;margin:0;padding:0;min-width:0}.days-field legend{font-size:13px;font-weight:500;padding:0}.day-inputs{display:flex;align-items:center;gap:9px;margin-top:9px;height:53px;background:#fafbf7;border:1px solid #dfe4d9;border-radius:8px;padding:0 10px}.day-inputs input{margin:0!important;border:0!important;background:transparent!important;padding:6px!important;min-height:30px!important;font-size:19px;width:70px!important;box-shadow:none!important}.day-inputs span{color:#9ba18f;font-size:12px}.card-footer{padding:17px 28px;border-top:1px solid #f0f1eb;background:#fdfdfb;display:flex;align-items:center;justify-content:space-between;gap:15px}.card-footer>span{font-size:11px;color:#929a88}.rule-list{padding:0 28px}.rule{display:flex;gap:13px;align-items:center;border-bottom:1px solid #eef0e8;padding:16px 0;cursor:pointer}.rule:first-child{padding-top:4px}.rule b{font-weight:500;font-size:13px}.rule small{font-weight:400;margin-top:3px}.rule-label{margin-left:auto;color:#9aa38e;font-size:10px;white-space:nowrap}.trading-bottom{display:grid;grid-template-columns:1fr 1.1fr;gap:55px;padding:25px 28px 28px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.chip{background:#eef2e9;border:1px solid #e3e9da;padding:3px 8px 3px 11px;border-radius:5px;display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.3px}.chip button{color:#9aa38f;padding:0 2px}.symbol-add{display:flex;gap:9px;margin:13px 0 9px}.symbol-add input{margin:0!important;min-height:38px!important;padding:7px 12px!important}.symbol-add button{white-space:nowrap}.account-choices{display:grid;gap:10px;margin-top:12px}.account-choice{border:1px solid #e4e8dd;display:flex;align-items:center;gap:10px;border-radius:8px;padding:11px 13px;cursor:pointer}.account-choice:has(input:checked){border-color:#9cae8b;background:#f8faf4}.account-choice b{font-weight:500;font-size:12px}.account-choice small{font-size:11px;margin-top:1px}.account-tools{display:flex;justify-content:space-between;gap:12px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:0 28px 26px;max-width:850px}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:23px 0 30px;margin-top:38px;font-size:10px;color:#959b8e;letter-spacing:.3px}.calc-toolbar{background:#eef2e8;border:1px solid #e2e8d9;border-radius:10px;padding:16px 20px;display:flex;align-items:center;gap:25px;margin-bottom:23px}.calc-toolbar label{width:200px;font-size:11px}.calc-toolbar select{margin-top:4px;padding:7px 10px;min-height:36px;font-size:12px}.account-summary{flex:1;font-size:12px;color:#718263}.account-summary strong{font-size:20px;color:var(--green);font-weight:550;display:block}.results-layout{display:grid;grid-template-columns:275px 1fr;gap:22px;align-items:start}.history-panel{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.history-title{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid var(--line)}.history-title h3{font-size:14px}.history-title span{font-size:11px;background:var(--soft);border-radius:5px;padding:1px 7px}.history-item{display:block;text-align:left;width:100%;padding:16px 18px;border-bottom:1px solid #eef0e8}.history-item.active{background:#f0f5e9;box-shadow:inset 3px 0 var(--green)}.history-item b{font-size:12px;font-weight:550}.history-item small{font-size:10px;line-height:1.7}.history-item .badge{float:right}.history-empty{color:var(--muted);padding:30px 16px;font-size:12px}.result-panel{min-width:0}.empty-state{min-height:400px;border:1px dashed #dce2d3;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fcfcf8;padding:35px}.empty-state p{font-size:12px;color:var(--muted);margin-top:10px}.empty-icon{font-size:40px;color:#a1ae8c;margin-bottom:15px}.progress-card{padding:20px 25px}.progress-head{display:flex;justify-content:space-between;font-size:13px}progress{display:block;width:100%;height:7px;border:0;border-radius:8px;margin-top:12px;accent-color:var(--green)}progress::-webkit-progress-bar{background:#e9eee0;border-radius:8px}progress::-webkit-progress-value{background:var(--green);border-radius:8px}.badge{display:inline-block;font-size:10px;padding:2px 7px;border-radius:5px;background:#edf2e7;color:#5c7950}.badge.warn{background:#faf0db;color:#a28239}.badge.bad{background:#faeae4;color:#aa624d}.result-head{padding:23px}.result-head h2{font-size:21px;margin:6px 0}.result-meta{font-size:11px;color:var(--muted);margin-top:7px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}.stat{padding:17px 20px;background:#fff}.stat span{font-size:11px;color:var(--muted)}.stat strong{display:block;font-size:20px;font-weight:550;margin-top:4px}.params{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:18px}.params summary{padding:14px 18px;cursor:pointer;font-size:12px}.params-content{padding:0 20px 18px}.param-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;font-size:12px}.param-grid span{color:var(--muted)}.result-notes{padding:15px 20px;font-size:12px;border:1px solid #e6e8da;background:#fafbf5;border-radius:9px;margin-bottom:18px}.result-notes p+p{margin-top:7px}.result-section{margin-top:23px}.result-section h3{font-size:14px;margin-bottom:12px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:9px;background:#fff}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:11px}th{text-align:left;padding:12px 13px;color:#7d8971;background:#f8faf5;font-weight:500;border-bottom:1px solid var(--line)}td{padding:11px 13px;border-bottom:1px solid #eff1e9;color:#40523e}tbody tr:last-child td{border:0}.filters{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.filters label{font-size:10px;color:var(--muted)}.filters input,.filters select{min-height:34px!important;padding:6px 8px!important;font-size:11px;margin-top:4px!important}.range-pair{display:flex;gap:4px}.table-caption{font-size:10px;color:var(--muted);margin:8px 0}.distribution{display:flex;gap:10px;flex-wrap:wrap}.distribution>div{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px 16px;min-width:120px;font-size:11px}.distribution strong{display:block;font-size:17px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-story{background:#173e32;color:#f2efdf;padding:55px max(45px,calc((100vw - 1100px)/2));padding-right:55px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:440px;height:440px;border:1px solid #ffffff0d;border-radius:50%;bottom:-200px;right:-140px;pointer-events:none;box-shadow:0 0 0 55px #ffffff03,0 0 0 110px #ffffff02}.auth-story .brand img{border:1px solid #ffffff20;border-radius:16px;width:57px;height:57px}.auth-story .brand small{color:#b0bda3}.auth-story .eyebrow{color:#b4bf9b;margin-bottom:23px}.auth-story h1{font-family:Georgia,"Songti SC",serif;font-size:43px;line-height:1.7;font-weight:400;letter-spacing:2px}.auth-story p{font-size:14px;line-height:2;color:#bac7b3;margin-top:25px}.auth-foot{font-size:11px;color:#aebf9e;border-top:1px solid #ffffff19;padding-top:22px;margin-top:45px}.edition{font-size:9px;letter-spacing:1.6px;color:#87a18b}.auth-panel{display:grid;place-items:center;padding:40px}.auth-box{width:100%;max-width:340px}.auth-box h2{font-size:30px;margin:0 0 10px}.auth-box form{margin-top:32px}.auth-box label{margin-bottom:20px}.auth-box input{background:#fdfefa!important}.auth-note{font-size:11px;color:#929b89;line-height:1.9;margin-top:28px}.error{color:var(--red);font-size:12px;margin:10px 0;white-space:pre-line}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--green);color:#fff;border-radius:9px;padding:12px 22px;z-index:100;font-size:12px;box-shadow:0 5px 30px #173e3230;max-width:90vw}dialog{border:1px solid var(--line);border-radius:15px;padding:0;max-width:850px;width:calc(100% - 40px);color:var(--ink);max-height:90vh}dialog::backdrop{background:#15291f66;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-top h2{font-size:18px}.icon-button{font-size:25px;line-height:1;color:#8e9883}.dialog-content,#dialog-content{padding:23px 25px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.saved-summary{display:grid;gap:12px}.saved-summary>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px;font-size:13px;gap:20px}.saved-summary b{font-weight:500}.notice{font-size:12px;background:#f4f6ed;border-radius:8px;padding:13px 16px;margin-bottom:18px;color:#6d7b5c}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.upload-zone{border:1px dashed #adb99b;background:#fafbf6;padding:20px;border-radius:10px;margin:16px 0}.upload-zone input{border:0!important;background:transparent!important}.ocr-text{white-space:pre-wrap;font-size:11px;color:#68785c;background:#f7f8f3;padding:15px;max-height:180px;overflow:auto}.upload-preview{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.upload-preview img{height:100px;max-width:160px;object-fit:contain;border:1px solid var(--line);border-radius:5px}.editor-table input,.editor-table select{font-size:11px!important;min-width:80px;min-height:32px!important;padding:5px!important;margin:0!important}.editor-table td{padding:6px}.editor-table th{font-size:10px;padding:8px}.editor-table .code-input{min-width:170px}.editor-table input[type=checkbox]{min-width:unset}.positions-heading{display:flex;justify-content:space-between;margin:20px 0 10px}.positions-heading h3{font-size:13px}.positions-heading button{font-size:11px}.check-line{display:flex;align-items:flex-start;gap:9px;font-size:12px;margin:20px 0}.link-output{word-break:break-all;background:#f0f4e9;padding:15px;border-radius:8px;margin-top:15px;font-size:12px}.source-list{font-size:11px;line-height:1.9;word-break:break-word}.source-list>div{margin-bottom:9px;border-bottom:1px solid var(--line);padding-bottom:9px}.source-list a{color:var(--green);text-decoration:underline}.no-results{padding:25px;text-align:center;color:var(--muted);font-size:12px}@media(max-width:1250px){main{margin:0 32px}.topbar{padding:0 32px}}@media(max-width:850px){.screen-grid{grid-template-columns:1fr 1fr}.trading-bottom{gap:25px}.results-layout{grid-template-columns:210px 1fr}.filters{grid-template-columns:1fr 1fr}.auth-story{padding:40px}.auth-story h1{font-size:33px}.private-label{display:none}}@media(max-width:620px){body{font-size:13px}.topbar{height:76px;padding:0 20px}.brand{font-size:23px}.brand img{width:42px;height:42px}main{margin:0 17px;padding-top:28px}.page-heading{margin-bottom:22px}h1{font-size:26px}.research-mark{display:none}.eyebrow{font-size:8px;letter-spacing:1.4px}h2{font-size:18px}.tabs{margin-bottom:24px}.card-heading{padding:20px}.card-heading h3{font-size:15px}.subtag{display:none}.screen-grid{padding:0 20px 22px;gap:20px 15px}.screen-grid select{font-size:16px}.day-inputs{gap:3px;padding:0 5px}.day-inputs input{font-size:16px;width:48px!important}.card-footer{padding:15px 20px;align-items:flex-end}.card-footer span{font-size:10px;max-width:50%}.primary,.secondary{padding:9px 13px;font-size:12px}.rule-list{padding:0 20px}.rule small{font-size:11px}.rule-label{display:none}.trading-bottom{grid-template-columns:1fr;padding:20px;gap:23px}.contact-grid{padding:0 20px 22px;gap:20px;grid-template-columns:1fr}.calc-toolbar{gap:12px;flex-wrap:wrap;padding:14px}.calc-toolbar label{width:100%}.account-summary strong{font-size:17px}.results-layout{grid-template-columns:1fr}.history-panel{max-height:245px;overflow:auto}.history-item{padding:12px 16px}.empty-state{min-height:300px}.stats .stat{padding:13px}.stat strong{font-size:17px}.param-grid{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr}.auth-story{padding:26px;min-height:300px;gap:25px}.auth-story h1{font-size:27px;line-height:1.5}.auth-story .eyebrow{margin-bottom:12px}.auth-story p{font-size:12px;margin-top:15px}.auth-foot,.edition{display:none}.auth-story .brand img{width:43px;height:43px}.auth-panel{padding:35px 27px}.auth-box h2{font-size:25px}footer{gap:20px;font-size:9px}.form-grid{grid-template-columns:1fr}#dialog-content{padding:20px}.dialog-top{padding:17px 20px}.section-title h2{font-size:18px}}
/* Model report: clear hierarchy, readable line length and expandable caveats. */
.ai-report .card-heading{border-bottom:1px solid var(--line)}.report-tag{margin-left:auto;font-size:11px;color:#7a8b69;white-space:nowrap}.report-content{padding:26px 28px 22px;font-size:14px;line-height:1.95;overflow-wrap:anywhere}.report-content p+p{margin-top:12px}.report-content a{color:#356d50;text-decoration:underline;text-underline-offset:3px}.report-verdict{background:#f1f5eb;border-left:3px solid #52744c;border-radius:0 9px 9px 0;padding:18px 22px}.report-kicker{font-size:10px;letter-spacing:2px;color:#7b8b66}.report-verdict h3{font-size:23px;line-height:1.5;margin:4px 0 10px;letter-spacing:0}.report-verdict p{color:#53644a}.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.report-metrics>div{border:1px solid var(--line);border-radius:8px;padding:12px 14px;background:#fdfefa}.report-metrics span{font-size:10px;color:var(--muted);display:block}.report-metrics strong{font-size:22px;font-weight:550;display:block;line-height:1.6;font-variant-numeric:tabular-nums}.report-section{margin:26px 0}.report-section h4{font-size:14px;margin-bottom:13px;display:flex;align-items:center;gap:9px}.report-section h4:before{content:"";width:4px;height:15px;border-radius:2px;background:#a8b493}.report-explanation,.report-context{color:#53604f}.report-context{margin-top:15px}.report-points{list-style:none;padding:0;margin:0}.report-points li{display:flex;align-items:flex-start;gap:13px;padding:15px 0;border-bottom:1px solid #eef0e8}.report-points li:first-child{padding-top:0}.report-points li:last-child{border:0;padding-bottom:0}.report-point-index{font-size:10px;color:#899a75;flex:none;line-height:27px;min-width:19px;font-variant-numeric:tabular-nums}.report-points li>div{min-width:0;color:#4b5a45}.report-details{border:1px solid #e4e7dc;background:#fbfcf7;border-radius:9px;margin-top:23px}.report-details summary{cursor:pointer;padding:13px 17px;font-size:12px;color:#697a55}.report-details summary span{font-size:10px;color:#8d9980;margin-left:10px}.report-limitations{padding:0 22px 16px 36px;margin:0;font-size:12px;color:#77816f;line-height:1.9}.report-limitations li+li{margin-top:12px}.report-footnote{border-top:1px solid var(--line);margin-top:24px;padding-top:14px;font-size:10px;color:#8f9888;line-height:1.9}.report-footnote span{display:block}.report-rejected{margin-top:18px;padding:15px;border-radius:8px;background:#fbf0e9;color:#a46a4c;font-size:12px}.report-rejected strong{display:block;margin-bottom:5px}@media(max-width:620px){.report-content{padding:19px 18px;font-size:13px;line-height:1.95}.report-verdict{padding:15px 16px}.report-verdict h3{font-size:20px}.report-metrics{grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.report-metrics strong{font-size:21px}.report-tag{display:none}.report-points li{gap:9px}.report-section{margin:23px 0}}


.event-config{padding:0 28px 24px;display:grid;gap:10px}.event-config textarea{width:100%;resize:vertical;min-height:145px;font:inherit;line-height:1.7;padding:14px;border:1px solid var(--line,#d9ded7);border-radius:10px;background:#fff}.event-config small{color:#647069;line-height:1.7}.event-text,.saved-summary b{white-space:pre-wrap;overflow-wrap:anywhere}.event-impact{padding:18px;margin:16px 0;background:#f5f7f4;border-radius:10px;border:1px solid #dce3dc}.event-impact h4{margin:0 0 12px}.event-impact dl{margin:0;display:grid;grid-template-columns:140px 1fr;gap:10px}.event-impact dt{font-weight:600}.event-impact dd{margin:0}.event-impact dd p{margin:0 0 6px}.event-major{color:#a31818;background:#fff2f1;border:2px solid #c73535}.event-major h4{color:#a31818;font-size:19px}.event-major .table-caption{color:#a31818}.event-incomplete{background:#fff7e5;border-left:3px solid #b87716;padding:14px;margin:16px 0}.event-fact{padding:16px 0;border-bottom:1px solid #ddd}.event-fact p{overflow-wrap:anywhere}@media(max-width:650px){.event-impact dl{grid-template-columns:1fr;gap:5px}.event-impact dd{margin-bottom:10px}.event-config{padding:0 18px 18px}}

.run-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.run-actions .event-toggle{margin:0;display:flex;align-items:center;gap:8px;white-space:nowrap}.run-actions input[type=checkbox]{width:17px;height:17px;accent-color:#244f3c}@media(max-width:650px){.run-actions{justify-content:flex-start;margin-top:16px}.run-actions .event-toggle{width:100%}}
