:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#202624;background:#f5f7f6;font-synthesis:none;--green:#157759;--muted:#747e79;--line:#e6ebe8;--red:#c55454;letter-spacing:0}*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.35}button{transition:background .15s,color .15s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #268c6f;outline-offset:3px}button svg{width:16px;height:16px;flex-shrink:0}button{display:inline-flex;align-items:center;justify-content:center;gap:7px}a{color:inherit;text-decoration:none}svg{width:17px;height:17px;flex-shrink:0}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 40px;gap:24px}.brand{font-size:20px;display:flex;gap:7px;align-items:center;font-weight:500}.brand strong{font-weight:700}.brand-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#173c31;color:#fff;border-radius:7px;margin-right:4px}.brand-icon svg{width:21px;height:21px}.top-divider{height:20px;width:1px;background:var(--line)}.workspace{color:#65716a}.top-right{margin-left:auto;display:flex;align-items:center;gap:25px}.demo-badge{display:flex;align-items:center;gap:7px;color:#92671d;background:#fbf5e8;padding:6px 10px;border-radius:4px;font-size:12px}.demo-badge>span{width:5px;height:5px;border-radius:50%;background:#bf903b}.version{font-size:10px;color:#818983}main{max-width:1520px;margin:auto;padding:33px 40px 40px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{font-size:10px;font-weight:600;color:var(--green);margin-bottom:7px}h1{font-size:26px;margin:0;line-height:1.4;font-weight:650}h2{font-size:14px;font-weight:600;margin:0;display:flex;align-items:center;gap:9px}.heading-meta{display:flex;gap:9px;align-items:center;color:#7c857f;font-size:12px}.heading-meta svg{width:15px}.heading-meta span{margin:0 5px;color:#c2cac5}.layout{display:grid;grid-template-columns:282px minmax(0,1fr);gap:32px;align-items:start}.parameters{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.parameters form{padding:21px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.parameters .section-heading{margin-bottom:19px}.section-heading h2 svg{color:#65796d;width:16px}.icon-button{width:30px;height:30px;background:transparent;border:1px solid transparent;border-radius:4px;color:#67776e;padding:0}.icon-button:hover{background:#eef3f0}.parameters label:not(.checkbox-label){display:block;font-size:12px;color:#58675e;margin-bottom:9px;margin-top:20px}select,input[type=number],input[type=date]{width:100%;height:40px;border:1px solid #dce4df;background:white;border-radius:4px;color:#263e31;padding:0 11px;min-width:0}select{font-weight:500}input[readonly]{background:#f7f9f8;color:#707f75}.segmented{display:flex;background:#f0f3f1;border-radius:5px;padding:3px;gap:2px}.segmented button{min-height:33px;flex:1;white-space:nowrap;border:0;background:transparent;border-radius:3px;color:#718077;font-size:12px;padding:0 10px}.segmented button[aria-pressed=true]{background:white;color:#243a2f;box-shadow:0 1px 3px #172b1e12}.direction button[aria-pressed=true]{color:var(--green);background:#e4f2eb;box-shadow:none}.field-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px;margin-bottom:9px}.field-title label:not(.checkbox-label){margin:0}.field-title>span{font-size:10px;color:#7e8981}.date-fields{display:flex;flex-direction:column;gap:4px}.date-fields>span{font-size:11px;color:#86938b;text-align:center;line-height:12px}.quick-ranges{display:flex;gap:7px;margin-top:10px}.quick-ranges button{border:1px solid #e4eae6;background:white;border-radius:4px;padding:5px 9px;font-size:11px;flex:1;color:#6a7b70}.quick-ranges button[aria-pressed=true]{color:var(--green);border-color:#b9d6c6;background:#f4faf6}.form-divider{height:1px;background:var(--line);margin:22px 0}.input-unit{position:relative}.input-unit input{padding-right:60px;font-variant-numeric:tabular-nums}.input-unit>span{position:absolute;right:12px;top:13px;color:#8b958f;font-size:10px;pointer-events:none}.checkbox-label{display:flex;align-items:center;gap:4px;font-size:11px;color:#819085}.checkbox-label input{accent-color:var(--green);width:12px;height:12px;margin:0}.field-note{font-size:10px;color:#8b958f;margin-top:7px;line-height:1.6}.position-summary{margin:20px 0;background:#f7f9f8;padding:13px 10px;border-radius:4px}.position-summary>div{display:flex;justify-content:space-between;gap:5px;margin-bottom:10px;font-size:10px}.position-summary>div:last-child{margin:0}.position-summary dt{color:#7d8981}.position-summary dd{margin:0;font-weight:500;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums}.primary-button{width:100%;height:41px;border:0;border-radius:4px;background:var(--green);color:white;font-weight:500}.primary-button:hover{background:#0e6248}.pending{text-align:center;color:#91a095;font-size:10px;margin:10px 0 0}.pending.dirty{color:#a37328}.form-error{font-size:12px;color:var(--red);line-height:1.6}.scope{padding:18px 21px;border-top:1px solid var(--line);display:flex;gap:11px;background:#fcfdfc}.scope>svg{color:#839689;margin-top:1px}.scope strong{font-size:11px;color:#66796c;font-weight:500}.scope p{font-size:11px;color:#94a096;line-height:1.9;margin:6px 0 0}.results{min-width:0;background:#fff;border:1px solid var(--line);padding:25px 27px 0}.result-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.instrument{display:flex;gap:11px;align-items:center}.asset-icon{width:40px;height:40px;background:#eff2f0;border:1px solid #e2e8e3;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-weight:bold;font-size:18px;color:#617269}.instrument h2{font-size:17px}.instrument div>span{font-size:10px;color:#8b978f;display:block;margin-top:5px}.secondary-button{height:33px;border:1px solid #dfe6e1;background:white;border-radius:4px;padding:0 12px;color:#586b5e;font-size:11px}.secondary-button:hover{background:#f3f7f4}.coverage{display:flex;justify-content:space-between;align-items:center;background:#f4f8f5;border:1px solid #e7eee8;margin-top:20px;padding:10px 12px;gap:10px;color:#798b7c;font-size:10px}.coverage>div{display:flex;align-items:center;gap:8px}.coverage svg{width:13px;height:13px}.metrics{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;padding:28px 0 27px;border-bottom:1px solid var(--line);gap:16px}.metric{min-width:0}.metric>span{color:#7f8c82;font-size:11px;display:flex;align-items:center;gap:7px}.metric>span svg{width:13px;height:13px}.metric>div{display:flex;align-items:baseline;gap:6px;margin-top:12px;flex-wrap:wrap}.metric strong{font-size:24px;font-weight:550;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metric small{font-size:10px;color:#8b968e}.metric p{font-size:10px;color:#96a198;margin:9px 0 0}.positive{color:var(--green)}.negative{color:var(--red)}.chart-section{padding:25px 0 18px;border-bottom:1px solid var(--line)}.chart-heading{align-items:flex-start}.chart-heading h2{font-size:13px}.chart-heading p{font-size:10px;color:#92a096;margin:8px 0 0}.compact{padding:3px}.compact button{min-height:27px;padding:0 11px;font-size:10px}.chart-wrap{position:relative;height:265px;width:100%;margin-top:15px}canvas{width:100%;height:100%;display:block}.chart-tooltip{position:absolute;z-index:4;pointer-events:none;background:#fff;border:1px solid #dfe7e1;border-radius:5px;box-shadow:0 5px 20px #203d2912;padding:10px 13px;font-size:11px;line-height:1.8;white-space:nowrap}.chart-footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#94a197;padding-left:4px;gap:10px}.chart-footer>span:first-child{display:flex;align-items:center;gap:6px}.legend-dot{width:6px;height:6px;background:var(--green);border-radius:50%}.records-section{padding-top:21px}.records-heading{margin-bottom:16px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:right;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}th{color:#8b978e;background:#f7f9f7;font-weight:400;padding:11px 10px;font-size:10px}th small{font-size:9px;color:#a6afa8;margin-left:3px}td{padding:12px 10px;border-bottom:1px solid #eff2ef}th:first-child,td:first-child{text-align:left}td:first-child{color:#576b5d}td:last-child{font-weight:500}tbody tr:hover{background:#fafcfa}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 0;color:#97a299;font-size:10px}.pagination{display:flex;align-items:center;gap:10px}.pagination .icon-button{border-color:#e8ede9;width:25px;height:25px}.pagination svg{width:13px}.result-footer{display:flex;justify-content:space-between;gap:10px;margin:0 -27px;padding:14px 27px;border-top:1px solid var(--line);color:#9ba69d;background:#fbfcfb;font-size:9px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:5px;background:#244d3a;color:white;box-shadow:0 4px 18px #163c2420;font-size:12px;z-index:10;max-width:90%}[hidden]{display:none!important}@media(min-width:1500px){main{padding-top:42px}.chart-wrap{height:290px}.metrics{padding:34px 0}}@media(max-width:1150px){main{padding:26px 24px}.topbar{padding:0 24px}.layout{grid-template-columns:252px minmax(0,1fr);gap:20px}.parameters form{padding:17px}.results{padding:21px 20px 0}.metrics{gap:12px;grid-template-columns:1fr 1fr}.metric strong{font-size:25px}.result-footer{margin:0 -20px;padding:14px 20px}.coverage{flex-wrap:wrap}.version{display:none}}@media(max-width:760px){.topbar{height:62px;padding:0 18px;gap:14px}.workspace,.top-divider,.heading-meta{display:none}.brand{font-size:18px}.top-right{gap:0}main{padding:23px 16px}.page-heading{margin-bottom:21px}h1{font-size:24px}.layout{grid-template-columns:1fr;gap:20px}.parameters form{padding:20px}.date-fields{flex-direction:row;align-items:center;gap:8px}.date-fields input{width:calc((100% - 28px)/2)}.date-fields>span{flex-shrink:0}.scope{display:none}.parameters label:not(.checkbox-label){margin-top:17px}.field-title label:not(.checkbox-label){margin-top:0}.results{padding:20px 17px 0}.metrics{gap:25px 16px;padding:25px 0}.chart-heading{flex-wrap:wrap;gap:12px}.chart-wrap{height:240px}.records-heading{flex-wrap:wrap}.result-footer{margin:0 -17px;padding:14px 17px;flex-direction:column;gap:6px}.coverage{font-size:10px;line-height:1.7}.chart-footer{font-size:9px}.secondary-button{padding:0 9px}.instrument h2{font-size:15px}.asset-icon{width:35px;height:35px}input[type=number],input[type=date],select{font-size:16px}.table-scroll table{min-width:520px}.compact button{min-height:32px}.segmented button{min-height:36px}.icon-button{min-height:32px;min-width:32px}.quick-ranges button{min-height:32px}.metric strong{font-size:25px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
:root .field-note,:root .pending,:root .position-summary>div,:root .metric>span,:root .metric p,:root .metric small,:root .coverage,:root .compact button,:root .table-footer,:root .result-footer,:root .instrument div>span{font-size:11px}
.segmented button[aria-pressed=true],.quick-ranges button[aria-pressed=true]{background:#215c46;color:#fff;border-color:#215c46;box-shadow:none;font-weight:500}
.segmented button[aria-pressed=true]:hover,.quick-ranges button[aria-pressed=true]:hover{background:#194b39;border-color:#194b39}
.input-unit #symbol{padding-right:60px}
.pnl-section{padding:22px 0;border-bottom:1px solid var(--line)}.pnl-section .section-heading{flex-wrap:wrap}.pnl-time{font-size:11px;color:#7f8c82;line-height:1.7}.price-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.price-comparison dt{font-size:11px;color:#7f8c82}.price-comparison small{font-size:10px;margin-left:4px}.price-comparison dd{font-size:16px;font-weight:500;font-variant-numeric:tabular-nums;margin:9px 0 0;overflow-wrap:anywhere}.pnl-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pnl-footer{display:flex;justify-content:space-between;gap:12px;margin-top:18px;color:#7f8c82;font-size:11px}@media(max-width:760px){.price-comparison{gap:12px}.price-comparison dt small{display:block;margin:4px 0 0}.price-comparison dd{font-size:14px}.pnl-metrics{gap:16px}.pnl-metrics .metric p{line-height:1.7}}
#symbol{width:100%;height:40px;border:1px solid #dce4df;background:white;border-radius:4px;color:#263e31;padding:0 11px;min-width:0;font-weight:500}.instrument>div{min-width:0}.instrument h2{overflow-wrap:anywhere}.asset-icon{flex-shrink:0}@media(max-width:760px){#symbol{font-size:16px}}
.result-empty{min-height:440px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:17px;color:#7d9084;border:1px solid #e6ebe8;background:white}.result-empty>svg{width:34px;height:34px}.result-empty>span{font-size:12px}.result-status{padding:12px;margin-bottom:20px;background:#fbf5e8;color:#92671d;font-size:12px;line-height:1.7}.results[aria-busy=true]{opacity:.7}
@media(max-width:760px){:root .table-scroll table{min-width:0}:root th:nth-child(3),:root td:nth-child(3),:root th:nth-child(4),:root td:nth-child(4){display:none}:root th,:root td{padding-left:6px;padding-right:6px}:root td:first-child{white-space:normal;overflow-wrap:anywhere}}
