:root{--bg:#071017;--card:#0e1c29;--text:#e9f3ff;--muted:#9fb2c9;--good:#2dd4a7;--bad:#f87171;--line:#bdd5eb40;--scrollbar-track:#0a1825e6;--scrollbar-thumb:#8eb2d1c7;--scrollbar-thumb-hover:#accee9e6;background-color:#03070d}:root[data-theme=light]{--bg:#eaf1f7;--card:#fff;--text:#12273a;--muted:#526577;--good:#15906e;--bad:#c44c5d;--line:#57789647;background-color:#e8f1fb}*{box-sizing:border-box}body,html{height:100%;min-height:100%;color:var(--text);background:radial-gradient(1200px 500px at 10% -20%,#2dd4a71f,transparent 45%),radial-gradient(1000px 500px at 90% -10%,#38bdf829,transparent 35%),linear-gradient(165deg,var(--bg),#03070d 70%);background-color:var(--bg);overscroll-behavior:none;margin:0;padding:0;font-family:IBM Plex Sans,Segoe UI,sans-serif;overflow:hidden}:root[data-background-animation=on] body{animation:28s ease-in-out infinite alternate app-background-drift}:root[data-background-animation=off] body{animation:none}:root[data-theme=light] body,:root[data-theme=light] html{background:radial-gradient(1100px 430px at 12% -14%,#3a8ae621,#0000 48%),radial-gradient(900px 380px at 88% -18%,#3abfa81f,#0000 44%),#e8f1fb linear-gradient(170deg,#f8fbff,#e8f1fb 72%)}.app-shell{isolation:isolate;overscroll-behavior-y:none;-webkit-overflow-scrolling:touch;height:100dvh;min-height:100dvh;position:relative;overflow-y:auto}:root:not([data-theme=light]) *{scrollbar-color:var(--scrollbar-thumb)var(--scrollbar-track)}:root:not([data-theme=light]) ::-webkit-scrollbar{width:10px;height:10px}:root:not([data-theme=light]) ::-webkit-scrollbar-track{background:var(--scrollbar-track);border-radius:999px}:root:not([data-theme=light]) ::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:2px solid var(--scrollbar-track);border-radius:999px}:root:not([data-theme=light]) ::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.global-bg-layer{pointer-events:none;z-index:0;opacity:0;background:radial-gradient(900px 320px at 16% 8%,#4dc4ff33,#0000 55%),radial-gradient(980px 380px at 84% 82%,#36e1b429,#0000 58%);transition:opacity .3s;position:fixed;inset:0}:root[data-theme=light] .global-bg-layer{background:radial-gradient(980px 360px at 12% 8%,#3a8ae629,#0000 58%),radial-gradient(920px 340px at 86% 84%,#3abfa824,#0000 56%)}:root[data-background-animation=on] .global-bg-layer{opacity:.85;animation:22s ease-in-out infinite alternate global-bg-flow}:root[data-background-animation=off] .global-bg-layer{opacity:0;animation:none}.global-spark-layer{pointer-events:none;z-index:0;opacity:0;transition:opacity .3s;position:fixed;inset:0;overflow:hidden}:root[data-background-animation=on] .global-spark-layer{opacity:1}:root[data-background-animation=off] .global-spark-layer{opacity:0}.app-body{z-index:1;max-width:1200px;margin:0 auto;overflow:visible}.app-body-embedded-chat{width:100%;max-width:none}.topbar{z-index:120;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#040a12d1;border-bottom:1px solid #799cc433;position:sticky;top:0;box-shadow:0 10px 26px #01080f47}:root[data-theme=light] .topbar{background:#eef5fce0;border-bottom:1px solid #698eb059;box-shadow:0 8px 22px #5a7d9c2e}.topbar-inner{flex-wrap:wrap;align-items:center;gap:1rem;max-width:1200px;margin:0 auto;padding:.8rem 1rem;display:flex}:root[data-theme=light] .menu{background:#ffffffd1}.brand{min-width:180px}.brand p{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:.68rem}.brand h1{margin:.2rem 0 0;font-size:.98rem;font-weight:650}.menu{background:#08111bb3;border:1px solid #8cb6df33;border-radius:14px;flex:640px;justify-content:space-between;align-items:center;gap:.8rem;min-width:0;padding:.34rem;display:flex}.menu-left{flex-wrap:wrap;gap:.4rem;display:flex}.menu-right{align-items:center;margin-left:auto;display:flex}.menu-link{color:var(--text);border:1px solid var(--line);background:#070f18b8;border-radius:10px;padding:.42rem .78rem;font-size:.82rem;font-weight:600;text-decoration:none;transition:border-color .12s,background-color .12s,transform .12s}.menu-link-wrapper{position:relative}.menu-submenu{border:1px solid var(--line);opacity:0;pointer-events:none;z-index:10;background:#060d15f2;border-radius:10px;min-width:160px;padding:.35rem 0;transition:opacity .18s,transform .18s;position:absolute;top:calc(100% + .35rem);left:0;transform:translateY(6px);box-shadow:0 10px 30px #00000059}:root[data-theme=light] .menu-submenu{background:#fffffff5}.menu-link-wrapper:hover .menu-submenu{opacity:1;pointer-events:auto;transform:translateY(0)}.menu-submenu-link{color:var(--text);padding:.35rem 1rem;font-size:.78rem;font-weight:500;text-decoration:none;transition:background .12s;display:block}:root[data-theme=light] .menu-submenu-link{color:var(--text)}.menu-submenu-link:hover{background:#ffffff14}:root[data-theme=light] .menu-submenu-link:hover{background:#164e7e1f}:root[data-theme=light] .menu-link{background:#ffffffe6}.menu-link:hover{background:#112637e0;border-color:#99cafd99;transform:translateY(-1px)}:root[data-theme=light] .menu-link:hover{background:#e8f3fff2;border-color:#508cc78c}.menu-link.is-active{background:linear-gradient(135deg,#1e4870cc,#0e3553cc);border-color:#99cafdcc;box-shadow:inset 0 0 0 1px #bde0ff38}:root[data-theme=light] .menu-link.is-active{color:#0d2f4a;background:linear-gradient(135deg,#c6e0f9f2,#aed3f5f2);border-color:#508cc78c;box-shadow:inset 0 0 0 1px #ffffffb3}.profile-wrapper{position:relative}.profile-badge{border:1px solid var(--line);background:#060d15f2;border-radius:10px;align-items:center;gap:.45rem;padding:.22rem .5rem .22rem .22rem;display:inline-flex}.profile-badge:hover{border-color:#99cafdcc}:root[data-theme=light] .profile-badge{background:#fffffff5}.profile-initials{background:linear-gradient(135deg,#2888dbf2,#115ba0f2);border-radius:999px;place-items:center;width:1.6rem;height:1.6rem;font-size:.75rem;font-weight:700;display:grid}.profile-name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:.8rem;line-height:1.25;overflow:hidden}.profile-menu{border:1px solid var(--line);z-index:30;background:#070f18fa;border-radius:12px;gap:.2rem;min-width:180px;padding:.3rem;display:grid;position:absolute;top:calc(100% + .45rem);right:0;box-shadow:0 16px 36px #00000059}:root[data-theme=light] .profile-menu{background:#fffffffa;box-shadow:0 14px 28px #5e7c9733}.profile-menu-item{color:var(--text);text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;padding:.45rem .55rem;font-size:.85rem;text-decoration:none;display:block}.profile-menu-item:hover{background:#132839b8;border-color:#99cafd80}:root[data-theme=light] .profile-menu-item:hover{background:#e6f2ffe6}.profile-menu-button{background:#0a1824d9;width:100%;font-weight:600}:root[data-theme=light] .profile-menu-button{background:#f4f9fffa}.page{padding:1.4rem 1rem 3rem}.loading-screen{min-height:100vh;color:var(--muted);place-items:center;display:grid}.landing{isolation:isolate;border-radius:0;gap:.45rem;max-width:1200px;min-height:calc(100vh - 2rem);margin:0 auto;padding:0 1rem 3rem;display:grid;position:relative;overflow:visible}.landing>*{z-index:2;position:relative}.landing-animation-toggle{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#060e18d6;border:1px solid #0000;border-radius:12px;justify-self:end;align-items:center;gap:.55rem;padding:.42rem .62rem;display:flex}.landing-animation-toggle-label{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0;font-size:.68rem}.landing-animation-switch{cursor:pointer;background:#08131fe0;border:1px solid #99cafd6b;border-radius:999px;width:2.35rem;height:1.3rem;padding:0;transition:background-color .16s,border-color .16s;position:relative}.landing-animation-switch-thumb{background:#d8ecff;border-radius:999px;width:.9rem;height:.9rem;transition:transform .16s;position:absolute;top:2px;left:2px}.landing-animation-switch.is-on{background:linear-gradient(135deg,#2888dbeb,#115ba0e6);border-color:#99cafd9e}.landing-animation-switch.is-on .landing-animation-switch-thumb{transform:translate(1.02rem)}.landing-animation-switch:focus-visible{outline-offset:2px;outline:2px solid #60b1f7db}.landing-spark-field,.global-spark-layer{position:absolute;inset:0;overflow:hidden}.landing-spark-field.is-embers{mix-blend-mode:screen}.global-spark-layer{position:fixed}.landing-spark,.global-spark{transform-origin:100%;background:linear-gradient(90deg,hsla(var(--spark-hue,30),100%,56%,0)0,hsla(var(--spark-hue,30),100%,56%,.3)36%,hsla(var(--spark-hue,30),100%,62%,.92)78%,#fff8e0fa 100%);box-shadow:0 0 14px hsla(var(--spark-hue,30),100%,58%,.78),0 0 3px #fff5dce6;filter:blur(.2px);animation:spark-streak linear infinite,spark-flicker var(--spark-flicker,.8s)ease-in-out infinite;border-radius:999px;position:absolute}.landing-spark:after,.landing-spark:before,.global-spark:after,.global-spark:before{content:"";border-radius:999px;position:absolute}.landing-spark:before,.global-spark:before{left:calc(var(--spark-tail,20px)*-.42);width:calc(var(--spark-tail,20px)*.48);background:radial-gradient(circle at right center,hsla(var(--spark-hue,30),100%,56%,.58),transparent 72%);filter:blur(1px);height:calc(100% + 2px);top:-1px}.landing-spark:after,.global-spark:after{background:radial-gradient(circle at right center,#fffaeefa,hsla(var(--spark-hue,30),100%,62%,.28)45%,transparent 72%);transform-origin:100%;width:calc(100% + 2px);height:calc(100% + 2px);top:-1px;right:-1px;transform:scale(.24)}.global-spark{mix-blend-mode:screen}:root[data-background-animation=off] .global-spark,:root[data-motion=reduced] .global-spark{opacity:0;animation:none}.landing-spark.is-ember{transform-origin:50%;background:radial-gradient(circle at 42% 42%,hsla(var(--spark-hue,14),100%,70%,.98)0,hsla(var(--spark-hue,14),100%,58%,.92)42%,hsla(var(--spark-cool-hue,36),68%,42%,.62)72%,transparent 100%);box-shadow:0 0 12px hsla(var(--spark-hue,14),100%,58%,.8),0 0 2px #ffe4bce6;filter:blur(.12px);animation:linear infinite ember-rise,linear infinite ember-cooldown}.landing-spark.is-ember:after,.landing-spark.is-ember:before{display:none}.landing-style-toolbar{border:1px solid var(--line);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#060e18e6;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem .95rem;display:flex}.landing-style-label{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0;font-size:.72rem}.landing-style-description{color:#cde4fb;margin:.3rem 0 0;font-size:.86rem}.landing-style-select-wrap{gap:.28rem;min-width:250px;display:grid}.landing-style-select-wrap span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.72rem}.landing-style-select{min-height:2.2rem;font:inherit;padding:.4rem 2rem .4rem .55rem;font-size:.88rem}.landing-hero{border:1px solid var(--line);background:radial-gradient(900px 260px at 15% -10%,#30aaff2e,#0000 45%),radial-gradient(600px 240px at 90% -20%,#26d8a12b,#0000 40%),#08101a;border-radius:16px;padding:1.5rem;position:relative}.landing-hero-head{grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;gap:1rem 1.5rem;display:grid}.landing-hero-copy{min-width:0}.landing-hero h1{text-wrap:balance;margin:.22rem 0;font-size:clamp(1.15rem,2.1vw,1.8rem);line-height:1.08}.landing-hero p{color:var(--muted);max-width:780px;margin:0}.landing-eyebrow{color:#b8ddff;letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:.76rem}.landing-actions{flex-wrap:wrap;gap:.6rem;margin-top:1rem;display:flex}.landing-hero-actions{flex:none;justify-content:flex-end;align-self:start;margin-top:0;position:static}.landing-btn{border:1px solid var(--line);border-radius:10px;padding:.56rem .95rem;font-weight:600;text-decoration:none}.landing-btn.primary{color:#eaf6ff;background:linear-gradient(135deg,#2888dbf2,#115ba0f2)}.landing-btn.secondary{color:#cde8ff;background:#08131fe6}.landing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.landing-focus-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.landing-focus-spacer,.landing-citation{grid-column:1/-1}.landing-focus-spacer{height:clamp(4rem,10vw,6.5rem)}.landing-citation{text-align:right;width:min(100%,980px);box-shadow:none;background:0 0;border:none;border-radius:0;justify-self:end;margin:0 0 clamp(2rem,4vw,3.25rem) auto;padding:0}.landing-citation p{margin:0;font-family:IBM Plex Serif,Times New Roman,serif;font-size:clamp(1.18rem,2.15vw,1.7rem);font-style:italic;font-weight:500;line-height:1.35}.landing-citation cite{color:var(--muted);margin-top:.5rem;font-family:IBM Plex Serif,Times New Roman,serif;font-size:.98rem;font-style:italic;line-height:1.45;display:block}.landing-subscription{border:1px solid var(--line);background:#08121d;border-radius:16px;gap:.85rem;margin-top:4rem;margin-bottom:4rem;padding:1rem;display:grid}.landing-subscription-head h2{margin:0}.landing-subscription-head p{color:var(--muted);margin:.45rem 0 0}.landing-card{border:1px solid var(--line);background:#08121d;border-radius:14px;padding:1rem}.landing-card h2{margin:0;font-size:1rem}.landing-card p{color:var(--muted);margin:.55rem 0 0}.landing-average-win-section{margin-top:1.4rem;margin-bottom:.7rem}.landing-average-win-card{grid-template-columns:minmax(0,1.55fr) minmax(280px,.82fr);align-items:stretch;gap:1.2rem;display:grid}.landing-average-win-plot-column{min-width:0}.landing-average-win-copy{align-content:center;gap:1rem;min-width:0;padding:.2rem 0;display:grid}.landing-average-win-head h2{margin:0;font-size:1.35rem;line-height:1.15}.landing-average-win-head p{color:var(--muted);margin:.55rem 0 0;font-size:1.02rem;line-height:1.55}.landing-average-win-formula{color:var(--text);background:linear-gradient(#0d1825eb,#08111cdb);border:1px solid #84b7ec2e;border-radius:12px;margin:0;padding:.9rem 1rem;font-size:.95rem;line-height:1.55}.landing-average-win-plot-wrap{border:1px solid var(--line);background:#050d17;border-radius:12px;height:560px;min-height:340px;overflow:hidden}.landing-average-win-section+.landing-subscription{margin-top:1.1rem}.landing-footer{border:1px solid var(--line);background:#060e18;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;display:flex}.landing-footer .landing-actions{align-items:center;margin-top:0}.landing-footer p{margin:0;font-weight:600}:root[data-theme=light] .landing{--text:#14324b;--muted:#567089;--line:#6c97bc5c}:root[data-theme=light] .landing-card,:root[data-theme=light] .landing-footer,:root[data-theme=light] .landing-hero,:root[data-theme=light] .landing-style-toolbar,:root[data-theme=light] .landing-subscription{background:#fcfffff0;border-color:#6f96b766;box-shadow:0 10px 24px #5c82a31f}:root[data-theme=light] .landing-average-win-plot-wrap{background:linear-gradient(#f6fafffa,#ebf4fcf2);border-color:#6f96b766;box-shadow:inset 0 0 0 1px #fff6}:root[data-theme=light] .landing-average-win-formula{color:#244565;background:linear-gradient(#f7fbfffa,#eef6fff0);border-color:#6f96b747}:root[data-theme=light] .landing-style-description{color:#49627b}:root[data-theme=light] .landing-eyebrow{color:#2f5f88}:root[data-theme=light] .landing-animation-toggle{background:#fafdfff2}:root[data-theme=light] .landing-animation-switch{background:#dff0fff0;border-color:#99cafd8c}:root[data-theme=light] .landing-animation-switch-thumb{background:#fff}:root[data-theme=light] .landing-btn.primary{color:#f2f9ff}:root[data-theme=light] .landing-btn.secondary{color:#1a4669;background:#f1f9fff2;border-color:#6f96b76b}@keyframes spark-streak{0%{transform:translateZ(0)rotate(var(--spark-rotate,0deg))scaleX(.3);opacity:0}12%,45%{opacity:1}to{transform:translate3d(var(--spark-dx,20px),var(--spark-dy,-220px),0)rotate(var(--spark-rotate,0deg))scaleX(1.18);opacity:0}}@keyframes spark-flicker{0%,to{filter:blur(.1px)brightness(.95)}45%{filter:blur(.22px)brightness(1.24)}}@keyframes ember-rise{0%{opacity:0;transform:translateZ(0)scale(.45)}14%{opacity:1}64%{opacity:.46}to{transform:translate3d(var(--spark-dx,12px),var(--spark-dy,-160px),0)scale(.08);opacity:0}}@keyframes ember-cooldown{0%{background:radial-gradient(circle at 42% 42%,hsla(var(--spark-hue,14),100%,72%,.98)0,hsla(var(--spark-hue,14),100%,60%,.94)46%,hsla(var(--spark-cool-hue,36),68%,44%,.62)76%,transparent 100%);box-shadow:0 0 13px hsla(var(--spark-hue,14),100%,60%,.84),0 0 2px #ffe6c5e6;filter:blur(.08px)brightness(1.2)}55%{background:radial-gradient(circle at 42% 42%,hsla(var(--spark-hue,14),94%,61%,.82)0,hsla(var(--spark-hue,14),88%,50%,.7)52%,hsla(var(--spark-cool-hue,36),56%,36%,.36)78%,transparent 100%);box-shadow:0 0 7px hsla(var(--spark-hue,14),96%,51%,.52),0 0 1px #ffdab073;filter:blur(.14px)brightness(.86)}to{background:radial-gradient(circle at 42% 42%,hsla(var(--spark-cool-hue,36),44%,30%,.36)0,hsla(var(--spark-cool-hue,36),36%,24%,.2)56%,transparent 100%);box-shadow:0 0 2px hsla(var(--spark-cool-hue,36),36%,28%,.2);filter:blur(.2px)brightness(.55)}}@keyframes app-background-drift{0%{background-position:0 0,100% 0,0 0}to{background-position:4% -3%,96% 3%,0 0}}@keyframes global-bg-flow{0%{transform:scale(1)translate(0,0)}to{transform:scale(1.06)translate(-1.5%,-1%)}}.auth-page{place-items:center;min-height:100vh;padding:1rem;display:grid}.auth-card{border:1px solid var(--line);background:radial-gradient(600px 220px at -10% -20%,#30aaff33,#0000 45%),#09121e;border-radius:16px;width:min(100%,430px);padding:1.2rem}.auth-card h1{margin:.35rem 0 .8rem;font-size:1.5rem}.auth-error{color:#ff9f9f;margin:.4rem 0 0;font-size:.9rem}.auth-info{margin:.75rem 0 0;color:#96a1b1!important}.auth-switch{color:var(--muted);margin:.85rem 0 0;font-size:.9rem}.auth-switch a{color:#bfe2ff}:root[data-theme=light] .auth-card{background:radial-gradient(620px 240px at -10% -20%,#3a8ae61a,#0000 45%),#fafdff;border-color:#8fb1d166;box-shadow:0 14px 34px #5d7d9824}:root[data-theme=light] .auth-card h1{color:#0f2740}:root[data-theme=light] .auth-card .landing-eyebrow{color:#356186}:root[data-theme=light] .auth-card .form-grid label{color:#4e6479}:root[data-theme=light] .auth-card .form-grid input,:root[data-theme=light] .auth-card .form-grid textarea{color:#10283f;background:#fffffff7;border-color:#83a7c980}:root[data-theme=light] .auth-card .form-grid input::placeholder,:root[data-theme=light] .auth-card .form-grid textarea::placeholder{color:#7088a0}:root[data-theme=light] .auth-card button{color:#0f3452;background:linear-gradient(135deg,#cbe2f8fa,#b3d4f3f5);border-color:#548bc29e;box-shadow:0 6px 12px #6688a729}:root[data-theme=light] .auth-card button:hover{background:linear-gradient(135deg,#bddaf5fc,#a6caeef7);border-color:#4a84bec2}:root[data-theme=light] .auth-card button:active{background:linear-gradient(135deg,#aecdecfc,#9bc1e7fa)}:root[data-theme=light] .auth-switch{color:#526577}:root[data-theme=light] .auth-switch a{color:#1f5d8e}:root[data-theme=light] .auth-info{color:#5f7388!important}:root[data-theme=light] .auth-error{color:#b63f4f}.legal-page{place-items:start center;min-height:100vh;padding:1rem;display:grid}.legal-card{border:1px solid var(--line);background:radial-gradient(700px 260px at -10% -20%,#30aaff2e,#0000 45%),#09121e;border-radius:16px;width:min(100%,980px);padding:1.2rem 1.3rem}.legal-card h1{margin:.35rem 0 .8rem;font-size:1.5rem}.legal-card h2{margin:1.1rem 0 .35rem;font-size:1rem}.legal-card-numbered-headings{counter-reset:legal-section}.legal-card-numbered-headings h2{counter-increment:legal-section}.legal-card-numbered-headings h2:before{content:counter(legal-section)". "}.legal-card p{color:var(--muted);margin:.35rem 0;line-height:1.55}.legal-list{margin:.2rem 0 .5rem;padding-left:1.1rem}.legal-list li{color:var(--muted);margin:.35rem 0}.legal-card a{color:#bfe2ff}.legal-cross-links{margin-top:1rem}:root[data-theme=light] .legal-card{background:radial-gradient(620px 240px at -10% -20%,#3a8ae61a,#0000 45%),#fafdff;border-color:#8fb1d166;box-shadow:0 14px 34px #5d7d9824}:root[data-theme=light] .legal-card h1,:root[data-theme=light] .legal-card h2{color:#0f2740}:root[data-theme=light] .legal-card p,:root[data-theme=light] .legal-list li{color:#475c71}:root[data-theme=light] .legal-card a{color:#1f5d8e}.hero h2{letter-spacing:.01em;margin:.2rem 0 .8rem;font-size:clamp(1.4rem,2.4vw,2.2rem)}.hero h3,.panel h3{margin:0 0 .9rem;font-size:1.05rem}.eyebrow,.subtext{color:var(--muted);margin:0}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.72rem}.subtext{max-width:840px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin-top:1rem;display:grid}.metric-card{border:1px solid var(--line);background:linear-gradient(150deg,#162637eb,var(--card));border-radius:14px;padding:.85rem;box-shadow:0 10px 28px #0003}.metric-card header{color:var(--muted);font-size:.78rem}.metric-value{margin-top:.45rem;font-size:1.35rem;font-weight:700}.metric-card footer{color:var(--muted);margin-top:.35rem;font-size:.76rem}.admin-overview{gap:.85rem;display:grid}.admin-status-badge{letter-spacing:.04em;color:var(--muted);text-transform:uppercase;background:#0a1825b3;border:1px solid #99cafd59;border-radius:999px;padding:.2rem .62rem;font-size:.72rem}.admin-status-badge.is-good{color:var(--good);background:#2dd4a71a;border-color:#2dd4a77a}.admin-status-badge.is-bad{color:var(--bad);background:#f872721f;border-color:#f872727a}.admin-status-badge.is-pending{color:#8dd8ff;background:#38bdf81f;border-color:#38bdf87a}.admin-overview-rows{gap:.34rem;display:grid}.admin-overview-row{background:#0a16239e;border:1px solid #99cafd33;border-radius:8px;grid-template-columns:minmax(84px,120px) minmax(0,1fr);align-items:baseline;gap:.55rem;padding:.33rem .45rem;font-size:.78rem;display:grid}.admin-overview-row span:first-child{color:var(--muted)}.admin-overview-mono{color:#cce5fcfa;overflow-wrap:anywhere;word-break:break-word;font-family:IBM Plex Mono,SFMono-Regular,Consolas,monospace}.admin-runtime-panel,.admin-users-panel{gap:.75rem;display:grid}.admin-runtime-kpis{margin-top:0}.admin-usage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.72rem;display:grid}.admin-usage-card h4{margin:0;font-size:.92rem}.admin-runtime-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem;display:grid}.admin-runtime-card{background:#08111ccc;border:1px solid #aacbeb38;border-radius:12px;gap:.55rem;padding:.72rem .78rem;display:grid}.admin-runtime-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.admin-runtime-card h4{margin:0;font-size:.92rem}.admin-users-head h3{margin:0}.admin-users-table{min-width:860px}.admin-users-virtual-scroll{max-height:560px;overflow-y:auto}.admin-users-virtual-spacer td{background:0 0;border-bottom:0;padding:0}.admin-users-data-row{height:72px}.admin-users-data-row.is-even{background:0 0}.admin-users-data-row.is-odd{background:#0a182657}.admin-credit-actions{align-items:center;margin-top:.55rem}.admin-credit-input{max-width:180px}.admin-credit-row{gap:.2rem;display:grid}.admin-user-actions{flex-wrap:nowrap;align-items:center;gap:.35rem;display:flex}.admin-user-actions>*{flex:none;width:fit-content}.admin-user-delete-btn{justify-content:center;align-items:center;min-width:2.75rem;padding:.54rem;display:inline-flex}.admin-user-delete-btn svg{width:1rem;height:1rem}.admin-user-delete-btn span{font-size:.82rem}.equity-chart{background:radial-gradient(900px 340px at 10% -20%,#38bdf81f,#0000 45%),#08111beb;border:1px solid #99cafd33;border-radius:12px;padding:.75rem}.equity-chart-head{justify-content:space-between;gap:1rem;margin-bottom:.45rem;display:flex}.equity-chart-head p{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:.74rem}.equity-chart-head strong{font-size:1.04rem}.equity-chart svg{width:100%;height:auto;display:block}.equity-grid-line{stroke:#a9c9e824;stroke-width:1px}.equity-grid-text{fill:#9fb2c9b3;text-anchor:end;font-size:10px}.equity-line{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100px;animation:1.2s forwards draw-line}.equity-area{animation:1.1s forwards fade-in-area}.trade-chart-animate[data-chart-animate=off] .equity-line,.trade-chart-animate[data-chart-animate=off] .equity-area,.trade-chart-animate[data-chart-animate=off] .insight-bar-fill,.trade-chart-animate[data-chart-animate=off] .distribution-fill{animation:none!important}.trade-chart-animate[data-chart-animate=off] .equity-line{stroke-dashoffset:100px}.trade-chart-animate[data-chart-animate=off] .equity-area{opacity:0}.trade-chart-animate[data-chart-animate=off] .insight-bar-fill{transform:scaleX(0)}.trade-chart-animate[data-chart-animate=off] .distribution-fill{height:0}.equity-hover-overlay{cursor:crosshair}.equity-hover-line{stroke:#88bcea99;stroke-width:1.5px;stroke-dasharray:5 5}.equity-hover-point{fill:#34d399;stroke:#08111be6;stroke-width:2px}.equity-tooltip rect{fill:#06101aeb;stroke:#80b2e280;stroke-width:1px}.equity-tooltip text{fill:#e6eef7;pointer-events:none}.equity-tooltip-date{opacity:.88;font-size:10px}.equity-tooltip-value{font-size:13px;font-weight:700}.equity-chart-foot{color:var(--muted);justify-content:space-between;margin-top:.35rem;font-size:.74rem;display:flex}.equity-chart-empty{text-align:center;min-height:240px;color:var(--muted);border:1px dashed #99cafd59;border-radius:12px;place-items:center;padding:1rem;display:grid}.panel-grid{grid-template-columns:1fr 1fr;gap:.8rem;margin-top:1rem;display:grid}.panel{border:1px solid var(--line);background:#0a131d;border-radius:14px;min-height:200px;padding:1rem}.panel-full{grid-column:1/-1}.backtest-hero{display:block}.backtest-hero h2{margin:.12rem 0 .02rem}.backtest-hero .subtext{margin-top:0}.trade-analysis-page .backtest-mode-panel{min-height:0}.backtest-mode-head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.backtest-mode-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.backtest-overview-note{background:#07111c8f;border:1px solid #99cafd38;border-radius:12px;margin-top:.8rem;padding:.5rem .7rem}.backtest-overview-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;list-style:none;display:flex}.backtest-overview-summary::-webkit-details-marker{display:none}.backtest-overview-toggle{color:#7ff0b0;background:linear-gradient(#45c27b2e,#45c27b1a);border:1px solid #68eaa352;border-radius:999px;flex:none;justify-content:center;align-items:center;width:2rem;height:2rem;line-height:1;display:inline-flex;box-shadow:inset 0 0 0 1px #0d1c2c3d,0 8px 18px #0814212e}.backtest-overview-toggle:before{content:"";border-top:.5rem solid;border-left:.35rem solid #0000;border-right:.35rem solid #0000;width:0;height:0;transform:translateY(.08rem)}.backtest-overview-note[open] .backtest-overview-toggle{color:#ff9c9c;background:linear-gradient(#d254542e,#d254541a);border-color:#ff8a8a47}.backtest-overview-note[open] .backtest-overview-toggle:before{border-top:0;border-bottom:.5rem solid;transform:translateY(-.08rem)}.backtest-overview-content{gap:.55rem;margin-top:.55rem;display:grid}.backtest-overview-title{color:var(--muted);text-transform:uppercase;letter-spacing:.1em;align-items:center;gap:.5rem;margin:0;font-size:.74rem;display:flex}.backtest-overview-top-row{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:.42rem;display:grid}.backtest-overview-card{background:#081421b8;border:1px solid #99cafd2e;border-radius:8px;min-width:0;padding:.45rem .52rem}.backtest-overview-card span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:0;font-size:.69rem;display:block}.backtest-overview-card p{overflow-wrap:anywhere;margin:.3rem 0 0;font-size:.84rem;font-weight:600}.backtest-overview-description p{font-weight:500}.backtest-overview-parameter-groups{gap:.62rem;display:grid}.backtest-overview-parameter-group{background:#08121d9e;border:1px solid #99cafd2e;border-radius:10px;margin:0;padding:.6rem .58rem .58rem;position:relative}.backtest-overview-parameter-group legend{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;padding:0 .3rem;font-size:.72rem}.backtest-overview-parameter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.42rem;display:grid}.backtest-overview-parameter-card{background:#081421b8;border:1px solid #99cafd2e;border-radius:8px;min-width:0;padding:.42rem .5rem}.backtest-overview-parameter-card span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.69rem;display:block}.backtest-overview-parameter-card p{overflow-wrap:anywhere;margin:.3rem 0 0;font-size:.84rem;font-weight:600}.backtest-control-grid{grid-template-columns:minmax(0,1.75fr) minmax(220px,.72fr);align-items:flex-start}.backtest-control-panel,.backtest-status-panel{min-height:0}.backtest-control-panel{position:relative}.backtest-status-panel{padding:.75rem}.backtest-status-heading{justify-content:space-between;align-items:center;gap:.45rem;margin-bottom:.2rem;display:flex}.backtest-status-heading h3{margin:0}.backtest-status-meta{gap:.2rem;margin-bottom:.15rem;display:grid}.backtest-status-meta-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.72rem}.backtest-status-job-id{overflow-wrap:anywhere;background:#08121cb8;border:1px solid #99cafd3d;border-radius:7px;padding:.2rem .38rem;font-size:.8rem;line-height:1.25}.backtest-status-analysis-btn{justify-content:center;align-self:stretch;width:100%;margin-top:.42rem;padding:.28rem .52rem;font-size:.78rem;line-height:1.1;display:flex}.backtest-input-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}:root:not([data-theme=light]) .backtest-date-input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root:not([data-theme=light]) .backtest-date-input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:1;filter:none}:root[data-theme=light] .backtest-date-input{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=light] .backtest-date-input::-webkit-calendar-picker-indicator{filter:none}.backtest-date-picker{position:relative}.backtest-date-picker-trigger{border:1px solid var(--line);width:100%;color:var(--text);font:inherit;font-weight:inherit;text-align:left;cursor:pointer;background:#06111beb;border-radius:10px;justify-content:space-between;align-items:center;gap:.55rem;padding:.52rem .62rem;display:flex}.backtest-date-picker-trigger.is-unavailable{border-color:#f472b673}.backtest-date-picker-trigger:disabled{cursor:not-allowed}:root[data-theme=light] .backtest-date-picker-trigger{border-color:var(--line);color:var(--text);font-weight:inherit;background:#fffffff5;padding:.52rem .62rem}.backtest-date-picker-value{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.backtest-date-picker-value.is-placeholder{color:var(--muted)}.backtest-date-picker-icon{width:1rem;height:1rem;color:var(--muted);flex:none;justify-content:center;align-items:center;display:inline-flex}.backtest-date-picker-icon svg{fill:currentColor;width:1rem;height:1rem}.backtest-date-picker-popover{z-index:70;border:1px solid var(--line);background:#08121ef7;border-radius:12px;gap:.55rem;width:min(320px,100%);padding:.65rem;display:grid;position:absolute;top:calc(100% + .35rem);left:0;box-shadow:0 20px 38px #0409108c}.backtest-date-picker-header{grid-template-columns:auto 1fr auto;align-items:center;gap:.45rem;display:grid}.backtest-date-picker-month-label{letter-spacing:.02em;text-align:center;font-size:.9rem}.backtest-date-picker-month-nav{border:1px solid var(--line);width:1.8rem;height:1.8rem;color:var(--text);font:inherit;cursor:pointer;background:#09131eeb;border-radius:9px;justify-content:center;align-items:center;padding:0;display:inline-flex}.backtest-date-picker-month-nav:hover:not(:disabled){border-color:#81c2f8a6}.backtest-date-picker-month-nav:disabled{cursor:not-allowed;opacity:.45}.backtest-date-picker-weekdays{color:var(--muted);text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:.2rem;font-size:.76rem;display:grid}.backtest-date-picker-weekdays .is-weekend{color:#f87171eb}.backtest-date-picker-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:.2rem;display:grid}.backtest-date-picker-cell-empty{height:2rem}.backtest-date-picker-day{height:2rem;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:.84rem;display:inline-flex}.backtest-date-picker-day:hover:not(:disabled){background:#22c55e1f;border-color:#99cafd85}.backtest-date-picker-day.is-selected{color:#e8f9ff;background:#38bdf833;border-color:#38bdf8f2;box-shadow:inset 0 0 0 1px #38bdf873}.backtest-date-picker-day.is-today:not(.is-selected){border-color:#81c2f87a}.backtest-date-picker-day.is-weekend{color:#f87171eb}.backtest-date-picker-day.is-unavailable{color:#94a3b88c;cursor:not-allowed;background:#94a3b814;border-color:#0000;text-decoration:line-through;text-decoration-thickness:1px}:root[data-theme=light] .backtest-date-picker-popover{background:#fffffffa;box-shadow:0 18px 34px #0f172a2e}:root[data-theme=light] .backtest-date-picker-month-nav{background:#fff}:root[data-theme=light] .backtest-date-picker-day.is-selected{color:#08243a}:root[data-theme=light] .backtest-date-picker-day.is-unavailable{color:#64748b9e;background:#94a3b824}.backtest-strategy-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.6rem;display:grid}.backtest-strategy-field{min-width:0}.backtest-strategy-select{position:relative}.backtest-strategy-select-trigger{border:1px solid var(--line);width:100%;color:var(--text);font:inherit;box-shadow:none;background:#06111beb;border-radius:10px;justify-content:space-between;align-items:center;gap:.52rem;padding:.52rem .62rem;font-weight:500;line-height:1.3;display:flex}.backtest-strategy-select-trigger:hover{background:#081521f0;border-color:#99cafd9e}.backtest-strategy-select-trigger:focus-visible{border-color:#81c2f8b8;outline:none;box-shadow:0 0 0 2px #38bdf833}.backtest-strategy-select-value{text-align:left}.backtest-strategy-select-caret{opacity:.75;border-bottom:2px solid;border-right:2px solid;flex:none;width:.55rem;height:.55rem;transform:rotate(45deg)translateY(-1px)}.backtest-strategy-dropdown{z-index:60;max-height:min(74vh,720px);top:calc(100% + .3rem)}.backtest-strategy-dropdown .backtest-strategy-dropdown-item{box-shadow:none;background:0 0;border:0;font-size:.88rem}:root[data-theme=light] .backtest-strategy-dropdown .backtest-strategy-dropdown-item{box-shadow:none;background:0 0;border:0}.backtest-strategy-dropdown .backtest-strategy-dropdown-item:hover,.backtest-strategy-dropdown .backtest-strategy-dropdown-item:focus-visible{background:#ffffff14}.backtest-strategy-dropdown .backtest-strategy-dropdown-item.is-active{background:#ffffff1f}:root[data-theme=light] .backtest-strategy-select-trigger{color:#103a5b;box-shadow:none;background:#fffffffa;border-color:#6f96b770}:root[data-theme=light] .backtest-strategy-select-trigger:hover{background:#f4f9ff;border-color:#5189c0b8}:root[data-theme=light] .backtest-strategy-select-trigger:focus-visible{border-color:#5189c0c2;box-shadow:0 0 0 2px #619bc933}:root[data-theme=light] .backtest-strategy-dropdown .backtest-strategy-dropdown-item.is-active{background:#1f29371a}:root[data-theme=light] .backtest-strategy-dropdown .backtest-strategy-dropdown-item:hover,:root[data-theme=light] .backtest-strategy-dropdown .backtest-strategy-dropdown-item:focus-visible{background:#1f29370f}.backtest-reset-inline{white-space:nowrap;align-self:end}.backtest-parameter-actions{flex-wrap:wrap;gap:.5rem;display:flex}.backtest-parameter-sections{gap:.65rem;display:grid}.backtest-parameter-section{background:#08121d9e;border:1px solid #99cafd33;border-radius:10px;margin:.45rem 0 0;padding:.6rem .58rem .58rem;position:relative}.backtest-parameter-section legend{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;max-width:calc(100% - 6.2rem);padding:0 .3rem;font-size:.72rem}.backtest-parameter-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:.62rem;display:grid}.backtest-strategy-description{margin-top:-.2rem}.backtest-parameter-grid label{gap:.32rem;display:grid}.backtest-parameter-help{font-size:.74rem}.backtest-parameter-checkbox{align-items:center;gap:.48rem;min-height:2.2rem;display:flex}.backtest-parameter-grid label.backtest-parameter-checkbox{background:#07101ab8;border:1px solid #99cafd33;border-radius:10px;align-items:center;gap:.55rem;min-height:2.35rem;padding:.52rem .62rem;display:flex}.backtest-parameter-grid label.backtest-parameter-checkbox span{line-height:1.25}.backtest-parameter-checkbox input[type=checkbox]{flex-shrink:0;width:1rem;height:1rem;margin:0}.backtest-parameter-section-head{z-index:2;flex-direction:column;justify-content:flex-end;align-items:flex-end;gap:.24rem;margin:0;display:flex;position:absolute;top:-.5rem;right:.62rem;transform:translateY(-50%)}.backtest-parameter-add-hint{color:#d8ecff;background:#08131ff5;border:1px solid #99cafd73;border-radius:8px;max-width:min(240px,58vw);padding:.3rem .48rem;font-size:.76rem;line-height:1.3}.backtest-parameter-section-head .account-btn-secondary{background:#08121d}.backtest-parameter-section-head .account-btn-secondary:hover{background:#0a1724}.backtest-parameter-section-head .account-btn-secondary:active{background:#07111b}:root[data-theme=light] .backtest-parameter-section-head .account-btn-secondary{background:#f6faff}:root[data-theme=light] .backtest-parameter-section-head .account-btn-secondary:hover{background:#eef6ff}:root[data-theme=light] .backtest-parameter-section-head .account-btn-secondary:active{background:#e6f1ff}:root[data-theme=light] .backtest-parameter-add-hint{color:#1b3f5f;background:#fffffffa;border-color:#6f96b76b}.backtest-parameter-set-list{gap:.35rem;margin-top:.55rem;display:grid}.backtest-parameter-set-item{background:#07101ab8;border:1px solid #99cafd33;border-radius:9px;justify-content:space-between;align-items:flex-start;gap:.45rem;padding:.42rem .5rem;display:flex}.backtest-parameter-set-summary{gap:.16rem;min-width:0;display:grid}.backtest-parameter-set-summary strong{font-size:.76rem}.backtest-parameter-set-summary span{color:var(--muted);white-space:normal;word-break:break-word;font-size:.74rem;line-height:1.32}.backtest-status-form{gap:.45rem;margin-bottom:.2rem}.backtest-status-form label{gap:.3rem}.backtest-action-row{flex-wrap:wrap;gap:.4rem;display:flex}.backtest-kpis{grid-template-columns:1fr;gap:.4rem;margin-top:.1rem;display:grid}.backtest-kpi{background:#08111bb8;border:1px solid #99cafd33;border-radius:9px;gap:.2rem;padding:.48rem .56rem;display:grid}.backtest-kpi span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.74rem}.backtest-kpi strong{font-size:1rem}.backtest-status-pill{letter-spacing:.06em;background:#142839b8;border:1px solid #9ac3ec47;border-radius:999px;justify-content:center;align-items:center;width:fit-content;padding:.16rem .55rem;font-size:.78rem;display:inline-flex}.backtest-status-pill.is-completed{color:var(--good);background:#2dd4a71f;border-color:#2dd4a773}.backtest-status-pill.is-failed{color:var(--bad);background:#f872721f;border-color:#f8727280}.backtest-status-pill.is-queued,.backtest-status-pill.is-running{color:#8dd8ff;background:#38bdf81f;border-color:#38bdf873}.backtest-chart-meta{justify-content:space-between}.backtest-chart-panel{gap:.62rem;display:grid}.backtest-results-list-panel{background:#07101abd;border:1px solid #99cafd38;border-radius:10px;gap:.45rem;padding:.52rem .58rem;display:grid}.backtest-results-list-head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.backtest-results-count{white-space:nowrap;align-self:center;margin-left:auto}.backtest-results-list-head h4{margin:0;font-size:1rem}.backtest-results-list{gap:.35rem;max-height:none;padding-right:0;display:grid;overflow:visible}.backtest-results-shell{background:#07101abd;border:1px solid #99cafd38;border-radius:10px;gap:.45rem;padding:.52rem .58rem;display:grid}.backtest-result-item{color:var(--text);text-align:left;cursor:pointer;background:#08111bc2;border:1px solid #99cafd38;border-radius:9px;gap:.28rem;padding:.45rem .52rem;transition:border-color .16s,background .16s,box-shadow .16s;display:grid;position:relative}.backtest-result-item.is-disabled{cursor:not-allowed;opacity:.6}.backtest-result-item:hover{background:#0a1622e6;border-color:#5db0f56b}.backtest-result-item:focus-visible{border-color:#5db0f5b8;outline:none;box-shadow:0 0 0 2px #5db0f547}.backtest-result-item.is-active{background:linear-gradient(135deg,#15283af5,#0c1c2bf5);border-color:#5db0f5d1;box-shadow:inset 0 0 0 1px #5db0f566}.backtest-result-item.is-active:before{content:"";background:linear-gradient(#88ccfff2,#48a5edf2);border-radius:999px;width:3px;position:absolute;top:8px;bottom:8px;left:0}.backtest-result-item-head{justify-content:space-between;align-items:center;gap:.45rem;display:flex}.backtest-run-name-display{align-items:center;display:flex}.backtest-run-name-trigger{color:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-size:.92rem;font-weight:700}.backtest-run-name-inline-edit{color:var(--text);box-sizing:border-box;background:0 0;border:none;border-bottom:1px solid #fff6;width:max-content;max-width:100%;padding:0;font-size:.92rem;font-weight:700}.backtest-run-name-trigger:focus-visible{outline-offset:2px;outline:2px solid #99cafdd9}.backtest-result-item-head strong{font-size:.82rem}.backtest-result-item-meta{color:var(--muted);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.5rem;font-size:.75rem;display:grid}.backtest-result-item-trades{white-space:nowrap;justify-self:end}.backtest-result-item-pnl{white-space:nowrap;text-align:right;justify-self:end}.backtest-result-delete{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;justify-self:end;align-items:center;width:36px;height:36px;padding:0;font-size:.9rem;transition:background .15s,color .15s;display:flex}.backtest-result-delete.head-delete{width:32px;height:32px;margin-left:auto}.backtest-result-delete-icon{width:1rem;height:1rem;display:block}.backtest-result-delete:hover{color:var(--text);background:#ffffff1a}:root[data-theme=light] .backtest-result-delete:hover{background:#13487d1a}.backtest-chart-panel .chart-window-head{align-items:center}.backtest-chart-panel .chart-window{padding:.5rem}.backtest-chart-errors{gap:.3rem;display:grid}.backtest-chart-errors .backtest-error{margin:0}.backtest-debug{background:#070f189e;border:1px solid #99cafd3d;border-radius:10px;margin-top:.6rem;overflow:hidden}.backtest-debug summary{cursor:pointer;color:var(--muted);-webkit-user-select:none;user-select:none;padding:.45rem .65rem;font-size:.8rem}.backtest-debug summary:hover{color:var(--text)}.backtest-debug pre{border:0;border-top:1px solid #99cafd2e;border-radius:0;margin:0}.backtest-error{color:#ff9f9f;margin:.45rem 0 0;font-size:.86rem}.backtest-chart-wrap{background:0 0;border:none;border-radius:0;width:100%;margin-top:.6rem;padding:0}.chart-window-body .backtest-chart-wrap{margin-top:0}.backtest-chart-svg{touch-action:none;cursor:crosshair;width:100%;height:auto;display:block}.backtest-chart-svg.is-pannable,.backtest-chart-svg.is-panning{cursor:crosshair}.backtest-chart-controls{justify-content:space-between;align-items:center;gap:.65rem;margin:0 0 .45rem;display:flex}.backtest-chart-hint{color:var(--muted);font-size:.76rem}.backtest-chart-reset{color:var(--text);font:inherit;cursor:pointer;background:#091421bd;border:1px solid #99cafd61;border-radius:8px;padding:.28rem .55rem;font-size:.72rem;font-weight:600;line-height:1}.backtest-chart-reset:hover{border-color:#99cafd94}.backtest-chart-axis-hitbox{fill:#0000;pointer-events:all}.backtest-chart-axis-hitbox-price,.backtest-chart-axis-hitbox-y{cursor:ns-resize}.backtest-chart-axis-hitbox-time{cursor:ew-resize}.backtest-chart-zoom-selection{pointer-events:none;stroke-width:1px}.backtest-chart-zoom-selection.is-time{fill:#38bdf81f;stroke:#7dd3fca6}.backtest-chart-zoom-selection.is-price{fill:#2dd4a71f;stroke:#6ee7b7a8}.backtest-chart-empty{min-height:190px;color:var(--muted);border:1px dashed #99cafd52;border-radius:12px;place-items:center;margin-top:.6rem;display:grid}.backtest-chart-grid{stroke:#a9c9e829;stroke-width:1px}.backtest-chart-grid-vertical{stroke:#a9c9e81f}.backtest-chart-price-label,.backtest-chart-time-label{fill:#9fb2c9d1;text-anchor:start;font-size:10px}.backtest-chart-time-label.is-center{text-anchor:middle}.backtest-chart-time-label.is-right{text-anchor:end}.backtest-volume-pane-bg{fill:#070f1861}.backtest-pane-separator{stroke:#b0b8c63d;stroke-width:1px;vector-effect:non-scaling-stroke}.backtest-pane-legend{pointer-events:none}.backtest-pane-legend-title{fill:#e2eaf4f5;letter-spacing:.04em;text-transform:uppercase;paint-order:stroke fill;stroke:#080e16eb;stroke-width:2.6px;font-size:10px;font-weight:700}.backtest-pane-legend-row{pointer-events:none}.backtest-pane-legend-text{fill:#c8d6e6f0;paint-order:stroke fill;stroke:#080e16eb;stroke-width:2.4px;font-size:10px}.backtest-pane-legend-toggle{pointer-events:all;cursor:pointer}.backtest-pane-legend-toggle-hitbox{fill:#0c1420d1;stroke:#5992c457;stroke-width:1px}.backtest-pane-legend-toggle text{fill:#dee9f4f0;paint-order:stroke fill;stroke:#080e16eb;stroke-width:2.4px;font-size:11px;font-weight:700}.backtest-volume-grid{stroke:#a9c9e824;stroke-width:1px;stroke-dasharray:4 4}.backtest-volume-bar{opacity:.68}.backtest-volume-bar.is-up{fill:#2dd4a76b}.backtest-volume-bar.is-down{fill:#f872726b}.backtest-delta-volume-bar{opacity:.8}.backtest-delta-volume-bar.is-positive{fill:#2dd4a7c7}.backtest-delta-volume-bar.is-negative{fill:#f87272c7}.backtest-delta-label{text-anchor:middle;pointer-events:none;font-size:9px;font-weight:600}.backtest-delta-label.is-positive{fill:#6ee7b7eb}.backtest-delta-label.is-negative{fill:#fecacaf0}.backtest-candle-wick{stroke-width:1.4px}.backtest-candle-wick.is-up{stroke:#2dd4a7e6}.backtest-candle-wick.is-down{stroke:#f87272e6}.backtest-candle-body{stroke-width:1px}.backtest-candle-body.is-up{fill:#2dd4a7e0;stroke:#2dd4a7f2}.backtest-candle-body.is-down{fill:#f87272e0;stroke:#f87272f2}.backtest-indicator-line{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}.backtest-indicator-line.is-dashed{stroke-dasharray:6 4}.backtest-fill-marker{stroke-width:1.5px}.backtest-fill-marker.is-buy{fill:#2dd4a7fa;stroke:#07101af2}.backtest-fill-marker.is-sell{fill:#f87272fa;stroke:#07101af2}.backtest-fill-marker.is-active{stroke-width:2.4px;filter:drop-shadow(0 0 5px #c5e3ff8c)}.backtest-trade-link{stroke-width:1.8px;fill:none;opacity:.48}.backtest-trade-link.is-profit{stroke:#2dd4a7db}.backtest-trade-link.is-loss{stroke:#f87272db}.backtest-trade-link.is-open{stroke:#99cafde0;stroke-dasharray:4 4}.backtest-trade-link.is-active{opacity:1;stroke-width:2.5px}.backtest-risk-line{stroke-width:1.4px;stroke-dasharray:6 5}.backtest-risk-line.is-tp{stroke:#2dd4a7d1}.backtest-risk-line.is-sl{stroke:#f87272d1}.backtest-risk-line.is-active{stroke-width:2.1px}.backtest-risk-label{text-anchor:end;font-size:10px;font-weight:700}.backtest-risk-label.is-tp{fill:#2dd4a7eb}.backtest-risk-label.is-sl{fill:#f87272eb}.backtest-risk-label.is-active{font-size:11px}.backtest-crosshair-line{stroke:#b0b8c6b3;stroke-width:1px;stroke-dasharray:6 5;stroke-linecap:butt;vector-effect:non-scaling-stroke;shape-rendering:crispEdges;pointer-events:none}.backtest-crosshair-line.is-horizontal{stroke:#b0b8c6a8}.backtest-crosshair-axis-label{pointer-events:none}.backtest-crosshair-axis-label rect{fill:#0a0e14f0;stroke:#96a1b26b;stroke-width:1px}.backtest-crosshair-price-label,.backtest-crosshair-time-label{fill:#e5ebf4f5;text-anchor:middle;font-family:IBM Plex Sans,Inter,Segoe UI,sans-serif;font-size:10px}.backtest-crosshair-time-label{letter-spacing:.01em}.backtest-tooltip{pointer-events:none}.backtest-tooltip rect{fill:#060c14eb;stroke:#99cafd70;stroke-width:1px;filter:drop-shadow(0 6px 12px #00000047)}.backtest-tooltip-line{fill:#dbeffff5;font-family:IBM Plex Mono,Fira Code,JetBrains Mono,monospace;font-size:10px}.backtest-tooltip-line.is-meta{fill:#b0dcfff2;letter-spacing:.01em;font-size:10.5px}.backtest-tooltip-line.is-highlight{fill:#eaf7fffa;font-weight:600}.backtest-tooltip-line.is-order{fill:#c6e2faeb;font-size:9.5px}.backtest-tooltip-line.is-fill.is-buy{fill:#62fcc7f5}.backtest-tooltip-line.is-fill.is-sell{fill:#ffa8a8f5}.backtest-trade-table td{vertical-align:middle}.backtest-trades-wrap{background:#070f189e;border:1px solid #99cafd38;border-radius:12px;max-height:1000px;overflow-y:auto}.backtest-trades-wrap .data-table{min-width:760px}.backtest-trade-side-buy{color:var(--good);font-weight:700}.backtest-trade-side-sell{color:var(--bad);font-weight:700}:root[data-theme=light] .panel{background:linear-gradient(165deg,#fffffff5,#f6fbffed);border-color:#6f96b752;box-shadow:0 8px 22px #5c7f9d24}:root[data-theme=light] .backtest-chart-panel.panel{box-shadow:none;background:0 0;border:none}:root[data-theme=light] .backtest-chart-wrap{background:radial-gradient(820px 300px at 8% -18%,#62aef738,#0000 46%),linear-gradient(170deg,#fffffffa,#f3fafff2);border-color:#6f96b75c}:root[data-theme=light] .backtest-chart-hint{color:#486682e6}:root[data-theme=light] .backtest-chart-reset{color:#486682f2;background:#fffffff5;border-color:#7098ba61}:root[data-theme=light] .backtest-chart-reset:hover{border-color:#5189c08f}:root[data-theme=light] .backtest-chart-zoom-selection.is-time{fill:#62aef726;stroke:#5189c0b3}:root[data-theme=light] .backtest-chart-zoom-selection.is-price{fill:#2dd4a724;stroke:#10b981ad}:root[data-theme=light] .backtest-chart-grid-vertical{stroke:#719abc33}:root[data-theme=light] .backtest-volume-pane-bg{fill:#ecf6ffa8}:root[data-theme=light] .backtest-pane-separator{stroke:#5c687933}:root[data-theme=light] .backtest-pane-legend-title{fill:#2c435cf5;stroke:#f7fafefa}:root[data-theme=light] .backtest-pane-legend-text{fill:#48647eeb;stroke:#f7fafefa}:root[data-theme=light] .backtest-pane-legend-toggle text{fill:#2c435cf5;stroke:#f7fafefa}:root[data-theme=light] .backtest-pane-legend-toggle-hitbox{fill:#f5f9fdeb;stroke:#5c82a557}:root[data-theme=light] .backtest-volume-grid{stroke:#7098ba3d}:root[data-theme=light] .backtest-volume-bar.is-up{fill:#10b98170}:root[data-theme=light] .backtest-volume-bar.is-down{fill:#ef44446b}:root[data-theme=light] .backtest-delta-volume-bar.is-positive{fill:#10b981b8}:root[data-theme=light] .backtest-delta-volume-bar.is-negative{fill:#ef4444b3}:root[data-theme=light] .backtest-delta-label.is-positive{fill:#108f6ceb}:root[data-theme=light] .backtest-delta-label.is-negative{fill:#bf3e4eeb}:root[data-theme=light] .backtest-fill-marker.is-active{filter:drop-shadow(0 0 5px #6999c161)}:root[data-theme=light] .backtest-trade-link.is-open{stroke:#4789c2d9}:root[data-theme=light] .backtest-crosshair-line{stroke:#5c68799e}:root[data-theme=light] .backtest-crosshair-line.is-horizontal{stroke:#5c68798f}:root[data-theme=light] .backtest-crosshair-axis-label rect{fill:#f7fafefa;stroke:#65738470}:root[data-theme=light] .backtest-crosshair-price-label,:root[data-theme=light] .backtest-crosshair-time-label{fill:#1d2938f0}:root[data-theme=light] .backtest-tooltip rect{fill:#fffffff7;stroke:#6590b480;filter:drop-shadow(0 6px 12px #527ba038)}:root[data-theme=light] .backtest-tooltip-line{fill:#1e3248f5}:root[data-theme=light] .backtest-tooltip-line.is-meta{fill:#446482f2}:root[data-theme=light] .backtest-tooltip-line.is-highlight{fill:#1a3045fa}:root[data-theme=light] .backtest-tooltip-line.is-order{fill:#3d5b78e6}:root[data-theme=light] .backtest-tooltip-line.is-fill.is-buy{fill:#09885ef2}:root[data-theme=light] .backtest-tooltip-line.is-fill.is-sell{fill:#c53c3cf2}:root[data-theme=light] .backtest-kpi{background:#fcfefff5;border-color:#6f96b757}:root[data-theme=light] .backtest-parameter-section{background:#fafdfff2;border-color:#6f96b757}:root[data-theme=light] .backtest-parameter-set-item{background:#ffffffd6;border-color:#6f96b747}:root[data-theme=light] .backtest-parameter-grid label.backtest-parameter-checkbox{background:#fffffff5;border-color:#6f96b757}:root[data-theme=light] .backtest-parameter-section legend{color:#486682e6}:root[data-theme=light] .backtest-overview-note{background:#f8fcfff0;border-color:#719abc4d}:root[data-theme=light] .backtest-overview-toggle{color:#22a06b;background:linear-gradient(#22a06b2e,#22a06b14);border-color:#22a06b6b;box-shadow:inset 0 0 0 1px #ffffffd9,0 8px 18px #22a06b29}:root[data-theme=light] .backtest-overview-card,:root[data-theme=light] .backtest-overview-parameter-card{background:#fffffff2;border-color:#719abc4d}:root[data-theme=light] .backtest-overview-parameter-group{background:#fafdfff2;border-color:#6f96b757}:root[data-theme=light] .backtest-overview-parameter-group legend{color:#486682e6}:root[data-theme=light] .backtest-trades-wrap{background:#fcfefff5;border-color:#6f96b757}:root[data-theme=light] .backtest-status-pill{background:#e9f6fff2;border-color:#74a0c666}:root[data-theme=light] .backtest-status-meta-label{color:#486682e6}:root[data-theme=light] .backtest-status-job-id{color:#163b5a;background:linear-gradient(165deg,#fffffffa,#f1f9fff2);border-color:#6f96b761;box-shadow:inset 0 1px #ffffffd9}:root[data-theme=light] .backtest-debug{background:#fafdfff2;border-color:#6f96b752}:root[data-theme=light] .backtest-results-list-panel,:root[data-theme=light] .backtest-results-shell{background:#f8fcffeb;border-color:#6f96b74d}:root[data-theme=light] .backtest-result-item{color:#123c5d;background:#ffffffe6;border-color:#6f96b747}:root[data-theme=light] .backtest-result-item:hover{background:#fffffffa;border-color:#6096c980}:root[data-theme=light] .backtest-result-item:focus-visible{border-color:#397fc3bf;box-shadow:0 0 0 2px #397fc338}:root[data-theme=light] .backtest-result-item.is-active{background:linear-gradient(160deg,#eef7fffa,#e2f1fffa);border-color:#397fc3b8;box-shadow:inset 0 0 0 1px #397fc33d}:root[data-theme=light] .backtest-result-item.is-active:before{background:linear-gradient(#4691d9f5,#2870b5f5)}:root[data-theme=light] .backtest-debug pre{color:#123c5d;background:#f5fbfffa;border-top-color:#6f96b73d;box-shadow:inset 0 1px #fffc}:root[data-theme=light] .trade-stats-expander{background:#fafdfff2;border-color:#6f96b752}:root[data-theme=light] .import-expander{background:linear-gradient(165deg,#fffffff5,#f6fbffed);border-color:#6f96b752;box-shadow:0 8px 22px #5c7f9d24}:root[data-theme=light] .import-expander[open] summary,:root[data-theme=light] .trade-stats-expander[open] summary{border-bottom-color:#6f96b73d}:root[data-theme=light] .trade-analysis-stats-divider td{border-bottom-color:#6f96b733}:root[data-theme=light] .backtest-chart-grid{stroke:#6691b638}:root[data-theme=light] .backtest-chart-price-label,:root[data-theme=light] .backtest-chart-time-label{fill:#48647ed1}:root[data-theme=light] .backtest-fill-marker.is-buy,:root[data-theme=light] .backtest-fill-marker.is-sell{stroke:#f5fafffa}:root[data-theme=light] .backtest-risk-line.is-tp{stroke:#108f6cbf}:root[data-theme=light] .backtest-risk-line.is-sl{stroke:#c44c5dc7}:root[data-theme=light] .backtest-risk-label.is-tp{fill:#108f6ceb}:root[data-theme=light] .backtest-risk-label.is-sl{fill:#c44c5deb}.account-connections-panel,.trade-upload-panel{gap:.55rem;padding:.8rem;display:grid}.account-connections-head{justify-content:space-between;align-items:center;gap:.55rem;display:flex}.account-connections-actions{align-items:center;gap:.5rem;display:flex}.connection-number-label{color:var(--text);font-weight:600}.connection-number-input-wrap{display:inline-block;position:relative}.connection-number-input{text-align:center;letter-spacing:.03em;width:10.5rem;color:var(--text);cursor:pointer;background:#0b1622c7;border:1px solid #99cafd4d;border-radius:8px;padding:.55rem 2.65rem .55rem .7rem;font-family:Cascadia Mono,Consolas,monospace;font-size:.98rem;font-weight:600;display:block}.connection-number-input.is-masked{-webkit-text-security:disc}.connection-number-input:hover{border-color:#99cafd73}.connection-number-popover{color:var(--muted);opacity:0;pointer-events:none;white-space:nowrap;background:#08131ef5;border:1px solid #99cafd3d;border-radius:999px;padding:.16rem .48rem;font-size:.72rem;line-height:1.2;transition:opacity .14s,transform .14s,background .14s,color .14s,border-color .14s;position:absolute;top:calc(100% + .08rem);left:50%;transform:translate(-50%)translateY(-.12rem)}.connection-number-input-wrap:hover .connection-number-popover,.connection-number-input-wrap:focus-within .connection-number-popover,.connection-number-popover.is-visible{opacity:1;transform:translate(-50%)translateY(.02rem)}.connection-number-popover.is-copied{color:#dff8ea;background:#145438f5;border-color:#4ec48c57}.account-management-panel{gap:.7rem;padding:.8rem;display:grid}.account-management-head h3{margin:0}.account-management-head .subtext{margin-top:.2rem}.account-management-empty-actions{gap:.45rem;display:grid}.account-management-empty-actions p{margin:0}.atas-setup-number-card{background:#08131ed1;border:1px solid #99cafd3d;border-radius:10px;gap:.5rem;padding:.7rem;display:grid}.atas-setup-number-card span{color:var(--muted);font-size:.78rem}.atas-setup-number{letter-spacing:.03em;text-align:left;background:#0b1622c7;border:1px solid #99cafd4d;border-radius:8px;padding:.55rem .7rem;font-family:Cascadia Mono,Consolas,monospace;font-size:.98rem;font-weight:600;display:block}.quick-connect-card .subtext{margin:0}.atas-account-filter-panel{border:1px solid var(--line);background:#08131ee0;border-radius:10px;gap:.5rem;padding:.65rem;display:grid}.atas-account-filter-panel h4{margin:0}.atas-account-table-wrap{margin-top:.15rem}.atas-account-table{font-size:.8rem}.atas-account-table tbody tr.is-active td{background:#126d5c47}.atas-account-select-btn{color:var(--text);background:#0b1622bf;border:1px solid #99cafd47;border-radius:7px;padding:.22rem .5rem;font-size:.74rem;font-weight:600}.atas-account-filter-btn.is-active,.atas-account-select-btn.is-active{background:linear-gradient(140deg,#10826859,#0c3748b8);border-color:#2dd4a785}:root[data-theme=light] .atas-account-filter-panel{background:#fafdfff5;border-color:#6f96b757}:root[data-theme=light] .atas-account-filter-btn.is-active{background:linear-gradient(140deg,#a0ebd7ad,#c9eeffd9);border-color:#108f6c70}:root[data-theme=light] .atas-account-table tbody tr.is-active td{background:#aae7d594}:root[data-theme=light] .atas-account-select-btn{color:#0f3452;background:#f0f8fffa;border-color:#6f96b757}:root[data-theme=light] .atas-account-select-btn.is-active{background:linear-gradient(140deg,#a0ebd7ad,#c9eeffd9);border-color:#108f6c70}.atas-setup-head .subtext{margin:.2rem 0 0}.atas-debug-panel{border:1px solid #99cafd3d;border-radius:8px;gap:.42rem;padding:.58rem .62rem;display:grid}.atas-debug-panel h5{margin:0;font-size:.86rem}.atas-debug-panel .subtext{margin:0}.atas-debug-table-wrap{margin-top:.1rem}.atas-debug-table{font-size:.76rem}:root[data-theme=light] .atas-setup-number-card{background:#f7fbfff7;border-color:#6f96b752}:root[data-theme=light] .atas-setup-number,:root[data-theme=light] .connection-number-input{color:#0f3452;background:#f0f8fffa;border-color:#6f96b757}:root[data-theme=light] .connection-number-popover{color:#4e6479;background:#fffffffa;border-color:#6f96b747}:root[data-theme=light] .connection-number-popover.is-copied{color:#205234;background:#e2f7eafa;border-color:#4aaa7452}:root[data-theme=light] .atas-debug-panel{background:#f7fbfff5;border-color:#6f96b74d}.trade-upload-actions{flex-wrap:nowrap;align-items:center;gap:.6rem;display:flex}.trade-upload-panel .trade-upload-actions h3{white-space:nowrap;margin:0}.trade-upload-panel .trade-upload-actions input[type=file]{flex:auto;min-width:0}.trade-upload-panel .trade-upload-actions button{flex:none;margin-left:0}.trade-upload-buttons{align-items:center;gap:.6rem;margin-left:auto;display:flex}.trade-admin-consent-toggle{color:var(--muted);white-space:nowrap;align-items:center;gap:.35rem;font-size:.78rem;display:inline-flex}.trade-admin-consent-toggle input[type=checkbox]{margin:0}.trade-admin-shared-users-panel .trade-admin-shared-users-head{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.trade-upload-btn-danger{color:#fee2e2;background:linear-gradient(#7f1d1d8c,#1e293b73);border-color:#f87171a6}.trade-upload-btn-danger:hover{background:linear-gradient(#991b1b9e,#1e293b73);border-color:#f87171e6}.trade-upload-btn-danger:disabled{opacity:.6;cursor:not-allowed}.trade-upload-panel input[type=file]{min-width:0;font-size:.82rem}.account-connections-panel .subtext,.account-connections-panel p,.trade-upload-panel .subtext,.trade-upload-panel p{margin:0}.account-connections-panel .form-grid{gap:.5rem;margin-bottom:.55rem}.account-connections-panel .form-grid label{font-size:.82rem}.account-connections-panel .form-grid input{border-radius:8px;padding:.42rem .52rem}.account-connections-panel .data-table{font-size:.82rem}.account-connections-panel .data-table td,.account-connections-panel .data-table th{padding:.38rem .45rem}.table-wrap{overflow-x:auto}.trades-table-wrap{margin-top:.45rem;overflow:visible}.data-table{border-collapse:collapse;width:100%;font-size:.86rem}.data-table td,.data-table th{text-align:left;white-space:nowrap;vertical-align:middle;border-bottom:1px solid #a2bfe038;padding:.48rem .55rem}.data-table.trades-table td.strategy-col,.data-table.trades-table th.strategy-col{width:280px;min-width:220px}.data-table.trades-table th.trade-label-col,.data-table.trades-table td.trade-label-cell,.data-table.trades-table th.trade-actions-col,.data-table.trades-table td.trade-actions-cell{white-space:nowrap;width:2%;min-width:0}.data-table.trades-table th.trade-number-col,.data-table.trades-table td.trade-number-col{text-align:right;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"lnum" 1}.trade-screenshot-cell{text-align:center;width:56px;min-width:56px}.trade-screenshot-button{width:32px;height:32px;color:var(--text);box-shadow:none;background:#0a18268a;border:1px solid #99cafd57;border-radius:10px;justify-content:center;align-items:center;padding:0;display:inline-flex}.trade-screenshot-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.trade-screenshot-button:hover,.trade-screenshot-button:focus-visible{background:#112c43db;border-color:#99cafdb8}.trade-screenshot-upload-button{border-style:dashed}.trade-screenshot-placeholder{color:var(--muted)}.table-strategy-input{width:100%;min-width:0;max-width:none;color:var(--text);font:inherit;background:#06111be6;border:1px solid #99cafd57;border-radius:8px;padding:.42rem .56rem;font-size:.82rem;line-height:1.25}.table-strategy-input::placeholder{color:#a9c6dfb8}.table-strategy-input:focus{border-color:#81c2f8b8;outline:none;box-shadow:0 0 0 2px #38bdf833}.strategy-cell{white-space:normal;padding-top:.34rem;padding-bottom:.34rem;position:relative}.trade-label-cell,.trade-actions-cell{text-align:center;padding-left:.15rem!important;padding-right:.15rem!important}.trade-actions-menu-anchor{justify-content:center;align-items:center;gap:0;min-width:0;display:flex;position:relative}.trade-label-icon-list{justify-content:center;align-items:center;gap:.22rem;min-height:22px;display:flex}.trade-label-tooltip{align-items:center;display:inline-flex;position:relative}.trade-label-icon{cursor:help;justify-content:center;align-items:center;width:16px;font-size:30px;line-height:1;display:inline-flex}.trade-label-tooltip-bubble{white-space:normal;word-break:break-word;opacity:0;visibility:hidden;pointer-events:none;z-index:24;width:min(320px,100vw - 2rem);top:calc(100% + .45rem);left:50%;transform:translate(-50%,-4px)}.trade-label-tooltip:hover .trade-label-tooltip-bubble,.trade-label-tooltip:focus-within .trade-label-tooltip-bubble{opacity:1;visibility:visible;transform:translate(-50%)}.trade-label-icon.is-note{color:#8b95a1}.trade-label-icon.is-inaccuracy{color:#f59e0b}.trade-label-icon.is-error{color:#ef4444}.trade-actions-toggle{width:30px;height:30px;color:var(--text);background:#0a18268a;border:1px solid #99cafd57;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:18px;line-height:1;display:inline-flex}.trade-actions-toggle:hover,.trade-actions-toggle:focus-visible{background:#112c43db;border-color:#99cafdb8}.trade-actions-menu{z-index:40;background:#08121dfc;border:1px solid #99cafd57;border-radius:10px;flex-direction:column;gap:.24rem;min-width:150px;padding:.3rem;display:flex;position:absolute;top:calc(100% + .32rem);right:0}.trade-actions-menu-item{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;padding:.42rem .5rem;font-size:.84rem;display:block}.trade-actions-menu-item:hover,.trade-actions-menu-item:focus-visible{background:#ffffff14}.trade-actions-menu-item.is-danger{color:#fca5a5}.trade-label-dialog{gap:.8rem;width:min(480px,100vw - 32px);padding:1rem}.trade-label-dialog .subtext{margin:0}.trade-label-dialog-list{gap:.62rem;display:grid}.trade-label-dialog-item{background:#ffffff05;border:1px solid #99cafd33;border-radius:12px;gap:.5rem;padding:.68rem;display:grid}.trade-label-dialog-item-head{color:var(--text);align-items:center;gap:.45rem;font-weight:600;display:flex}.trade-label-dialog-item-head input[type=checkbox]{width:1rem;height:1rem;margin-left:auto}.trade-label-dialog-item-title{font-size:.9rem}.trade-label-dialog-item-textarea{width:100%;color:var(--text);font:inherit;resize:vertical;background:#08121de6;border:1px solid #99cafd57;border-radius:10px;min-height:86px;padding:.48rem .58rem}.trade-label-dialog-item-textarea:disabled{opacity:.55}.strategy-dropdown{max-height:210px;box-shadow:none;z-index:20;background:#08121dfc;border:1px solid #99cafd57;border-radius:10px;padding:.22rem;position:absolute;top:calc(100% + .26rem);left:0;right:0;overflow-y:auto}.strategy-dropdown.is-upward{top:auto;bottom:calc(100% + .26rem)}.strategy-dropdown.backtest-strategy-dropdown{z-index:60;max-height:min(82vh,820px)}:root[data-theme=light] .strategy-dropdown{box-shadow:none;background:#fffffffc;border-color:#6f96b775}:root[data-theme=light] .strategy-dropdown.backtest-strategy-dropdown{box-shadow:none}.strategy-dropdown .strategy-dropdown-item{text-align:left;width:100%;box-shadow:none;color:var(--text);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:8px;padding:.42rem .52rem;font-size:.88rem;font-weight:500;line-height:1.25;display:block;overflow:hidden;transform:none}.strategy-dropdown .strategy-dropdown-item:hover,.strategy-dropdown .strategy-dropdown-item:focus-visible{background:#ffffff14}.strategy-dropdown .strategy-dropdown-item:focus-visible{box-shadow:none;outline:none}.strategy-dropdown .strategy-dropdown-item:active{transform:none}.strategy-dropdown-item-create{align-items:center;gap:.55rem;margin-bottom:.16rem;display:flex!important}.strategy-dropdown-plus{width:1.3rem;height:1.3rem;color:var(--text);background:#38bdf82e;border-radius:999px;flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.strategy-dropdown .strategy-dropdown-item.is-active{background:#ffffff1f}:root[data-theme=light] .table-strategy-input{color:#103a5b;background:#fffffffa;border-color:#6f96b770}:root[data-theme=light] .trade-actions-toggle{color:#123c5d;background:#fff;border-color:#6f96b770}:root[data-theme=light] .trade-actions-toggle:hover,:root[data-theme=light] .trade-actions-toggle:focus-visible{background:#e8f0f8eb;border-color:#5189c0b3}:root[data-theme=light] .trade-actions-menu{background:#fff;border-color:#6f96b775}:root[data-theme=light] .trade-actions-menu-item{color:#123c5d}:root[data-theme=light] .trade-actions-menu-item:hover,:root[data-theme=light] .trade-actions-menu-item:focus-visible{background:#1f29370f}:root[data-theme=light] .delete-account-dialog.trade-label-dialog{border-color:#6f96b74d}:root[data-theme=light] .trade-label-dialog-item{background:#f6fbffb3;border-color:#6f96b73d}:root[data-theme=light] .trade-label-dialog-item-textarea{color:#123c5d;background:#fff;border-color:#6f96b770}:root[data-theme=light] .table-strategy-input::placeholder{color:#486682b8}:root[data-theme=light] .table-strategy-input:focus{border-color:#5189c0c2;box-shadow:0 0 0 2px #619bc933}:root[data-theme=light] .strategy-dropdown .strategy-dropdown-item{color:#123c5d;box-shadow:none;background-image:none}:root[data-theme=light] .strategy-dropdown .strategy-dropdown-item:focus-visible,:root[data-theme=light] .strategy-dropdown .strategy-dropdown-item:hover{background:#1f29370f}:root[data-theme=light] .strategy-dropdown .strategy-dropdown-item.is-active{background:#1f29371a}:root[data-theme=light] .strategy-dropdown-plus{color:#103a5b;background:#5189c01f}.trade-strategy-editor-panel,.trade-strategy-card,.trade-strategies-empty{background:#0915219e;border:1px solid #99cafd2e}.trade-strategy-editor-head,.trade-strategies-list-head{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.trade-strategies-list-head h2,.trade-strategy-editor-head h3{margin:0}.trade-strategies-list-head .subtext,.trade-strategy-editor-head .subtext{margin:.35rem 0 0}.trade-analysis-filter-panel{min-height:0;margin-bottom:1rem}.trade-analysis-filter-head{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.trade-strategy-editor-form{gap:.9rem;margin-top:.55rem;display:grid}.trade-strategy-editor-form label{gap:.38rem;display:grid}.trade-strategy-editor-form label span{color:var(--muted);font-size:.88rem;font-weight:600}.trade-strategy-editor-form input,.trade-strategy-editor-form textarea{width:100%;color:var(--text);font:inherit;background:#06111be6;border:1px solid #99cafd47;border-radius:12px;padding:.72rem .82rem}.trade-strategy-editor-form textarea{resize:vertical;min-height:124px}.trade-strategy-editor-form input:focus,.trade-strategy-editor-form textarea:focus{border-color:#81c2f8b8;outline:none;box-shadow:0 0 0 2px #38bdf82e}.trade-strategy-editor-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.trade-strategies-count{color:var(--muted);font-size:.9rem;font-weight:600}.trade-strategies-list{flex-direction:column;gap:1rem;margin-top:1rem;display:flex}.trade-label-overview{gap:.62rem;margin-top:1rem;display:grid}.trade-label-overview h3{margin:0;font-size:1rem}.trade-label-overview-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;display:grid}.trade-label-overview-card h4{margin:0 0 .62rem;font-size:.94rem}.trade-strategy-list-item{flex-direction:column;gap:1rem;display:flex}.trade-strategy-card{border-radius:18px;gap:.24rem;padding:.92rem 1rem .72rem;display:grid}.trade-strategy-card-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.trade-strategy-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.55rem;display:flex}.trade-strategy-card-icon-actions{align-items:center;gap:.3rem;display:flex}.trade-strategy-icon-button{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;padding:0;transition:background .15s,color .15s;display:flex}.trade-strategy-action-icon{width:1rem;height:1rem;display:block}.trade-strategy-icon-button:hover,.trade-strategy-icon-button:focus-visible{color:var(--text);background:#ffffff1a}.trade-strategy-add-button{width:100%;min-height:72px;color:var(--text);font:inherit;text-align:left;background:#08131f85;border:1px dashed #99cafd47;border-radius:18px;justify-content:flex-start;align-items:center;gap:.8rem;padding:1rem 1.1rem;font-size:1rem;font-weight:700;display:flex}.trade-strategy-add-button:hover,.trade-strategy-add-button:focus-visible{background:#0b1b29c7;border-color:#81c2f894}.trade-strategy-add-button-plus{width:2rem;height:2rem;color:var(--text);background:#38bdf82e;border-radius:999px;flex:none;justify-content:center;align-items:center;font-size:1.25rem;font-weight:700;display:inline-flex}.trade-strategy-inline-editor,.trade-strategy-card-head h4{margin:0}.trade-strategy-card-head p{color:var(--muted);white-space:pre-wrap;margin:.32rem 0 0;line-height:1.5}.trade-strategy-card-metrics{grid-template-columns:repeat(auto-fit,minmax(122px,1fr))}.trade-strategies-empty{border-radius:16px;margin-top:1rem;padding:1rem 1.1rem}.trade-strategies-empty strong{margin-bottom:.3rem;display:block}:root[data-theme=light] .trade-strategy-editor-panel,:root[data-theme=light] .trade-strategy-card,:root[data-theme=light] .trade-strategies-empty{background:#ffffffd6;border-color:#6f96b73d}:root[data-theme=light] .trade-strategy-add-button{color:#103a5b;background:#ffffffe0;border-color:#6f96b74d}:root[data-theme=light] .trade-strategy-add-button:hover,:root[data-theme=light] .trade-strategy-add-button:focus-visible{background:#fff;border-color:#5189c085}:root[data-theme=light] .trade-strategy-icon-button:hover,:root[data-theme=light] .trade-strategy-icon-button:focus-visible{background:#13487d1a}:root[data-theme=light] .trade-screenshot-button{color:#103a5b;background:#ffffffe6;border-color:#548bc247}:root[data-theme=light] .trade-screenshot-button:hover,:root[data-theme=light] .trade-screenshot-button:focus-visible{background:#fff;border-color:#5189c08f}:root[data-theme=light] .trade-strategy-add-button-plus{color:#103a5b;background:#5189c01f}:root[data-theme=light] .trade-strategy-editor-form input,:root[data-theme=light] .trade-strategy-editor-form textarea{color:#103a5b;background:#fffffffa;border-color:#6f96b757}:root[data-theme=light] .trade-strategy-editor-form input:focus,:root[data-theme=light] .trade-strategy-editor-form textarea:focus{border-color:#5189c0c2;box-shadow:0 0 0 2px #619bc92e}.data-table th{color:var(--muted);font-weight:600}.data-table tbody tr:nth-child(odd){background:#0a182657}.trades-table .trades-table-row:hover{background:#1f496c61}.trades-subtable-row>td.trades-subtable-cell{padding:.38rem .62rem .6rem}.trades-subtable-wrap{margin-top:.18rem}.data-table.trades-subtable{font-size:.8rem}.data-table.trades-subtable td,.data-table.trades-subtable th{padding:.56rem .68rem;line-height:1.32}.data-table.trades-subtable th:first-child,.data-table.trades-subtable td:first-child{width:44px}.trade-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.trade-list li{border:1px solid var(--line);background:#090e18bf;border-radius:10px;grid-template-columns:1fr auto auto auto auto;gap:.5rem;padding:.5rem .6rem;display:grid}.form-grid{gap:.7rem;margin-bottom:.8rem;display:grid}.form-grid label{color:var(--muted);gap:.28rem;font-size:.86rem;display:grid}.form-grid label.auth-checkbox-row{align-items:center;gap:.5rem;display:flex}.form-grid label.auth-checkbox-row input[type=checkbox]{width:auto;margin:0}.form-grid label.auth-checkbox-row span a{color:#bfe2ff}:root[data-theme=light] .form-grid label.auth-checkbox-row span a{color:#1f5d8e}.form-grid input,.form-grid textarea,.inline-tools input{border:1px solid var(--line);width:100%;color:var(--text);font:inherit;background:#06111beb;border-radius:10px;padding:.52rem .62rem}.password-input-wrap{position:relative}.password-input-wrap input{padding-right:2.25rem}.form-grid .password-input-wrap .password-toggle,.connection-number-input-wrap .password-toggle{z-index:1;width:1.55rem;height:1.55rem;box-shadow:none;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;place-items:center;margin:0;padding:0;display:grid;position:absolute;top:50%;right:.42rem;transform:translateY(-50%)}.form-grid .password-input-wrap .password-toggle:hover,.connection-number-input-wrap .password-toggle:hover{background:#ffffff0f;border:none}.form-grid .password-input-wrap .password-toggle:active,.connection-number-input-wrap .password-toggle:active{background:#ffffff1a}.form-grid .password-input-wrap .password-toggle svg,.connection-number-input-wrap .password-toggle svg{stroke:currentColor;fill:none;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}:root[data-theme=light] .form-grid .password-input-wrap .password-toggle,:root[data-theme=light] .connection-number-input-wrap .password-toggle{color:#4e6479;box-shadow:none;background:0 0}:root[data-theme=light] .form-grid .password-input-wrap .password-toggle:hover,:root[data-theme=light] .connection-number-input-wrap .password-toggle:hover{background:#123f6614}:root[data-theme=light] .form-grid .password-input-wrap .password-toggle:active,:root[data-theme=light] .connection-number-input-wrap .password-toggle:active{background:#123f6621}input[type=number]{font-variant-numeric:tabular-nums;padding-right:2.2rem;line-height:1.2}:root:not([data-theme=light]) input[type=number]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=light] input[type=number]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}input[type=number]::-webkit-inner-spin-button{opacity:1;cursor:pointer;background:0 0;width:1.2rem;min-height:1.3rem;margin:0}input[type=number]::-webkit-outer-spin-button{opacity:1;cursor:pointer;background:0 0;width:1.2rem;min-height:1.3rem;margin:0}:root[data-theme=light] .form-grid input,:root[data-theme=light] .form-grid textarea,:root[data-theme=light] .inline-tools input{background:#fffffff5}button{color:var(--text);font:inherit;cursor:pointer;background:linear-gradient(135deg,#1e4870cc,#0e3553cc);border:1px solid #99cafd80;border-radius:10px;padding:.54rem .8rem;font-weight:600}:root[data-theme=light] button{color:#0f3452;background:linear-gradient(135deg,#cbe2f8fa,#b3d4f3f5);border-color:#548bc29e;box-shadow:0 6px 12px #6688a729}button:hover{border-color:#abd4ffbf}:root[data-theme=light] button:hover{background:linear-gradient(135deg,#bddaf5fc,#a6caeef7);border-color:#4a84bec2}button:active{transform:translateY(1px)}:root[data-theme=light] button:active{background:linear-gradient(135deg,#aecdecfc,#9bc1e7fa)}button:disabled{opacity:.6;cursor:not-allowed}:root[data-theme=light] button:disabled{color:#46617bcc;background:linear-gradient(135deg,#eaf3fcf2,#deebf7eb);border-color:#7b9dbe66}pre{border:1px solid var(--line);background:#040e15eb;border-radius:10px;margin:.5rem 0 0;padding:.7rem;font-size:.76rem;overflow:auto}.inline-tools{align-items:center;gap:.5rem;margin-bottom:.7rem;display:flex}.inline-tools label{color:var(--muted);gap:.28rem;max-width:140px;font-size:.85rem;display:grid}.settings-page{padding-top:1.1rem}.settings-hero{margin-bottom:.95rem}.settings-layout{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:.8rem;display:grid}.settings-card{gap:.8rem;min-height:0;display:grid}.account-card-head .subtext{margin:.22rem 0 0}.settings-main-card{gap:1rem}.settings-group{background:#07121d80;border:1px solid #a6c7e540;border-radius:12px;gap:.58rem;padding:.7rem;display:grid}:root[data-theme=light] .settings-group{background:#f5fafff2;border-color:#719abc4d}.settings-group-head h3{margin:0;font-size:.95rem}.settings-group-head .subtext{margin-top:.25rem}.settings-choice-row{flex-wrap:wrap;gap:.45rem;display:flex}.settings-choice{border:1px solid var(--line);color:var(--text);font:inherit;cursor:pointer;background:#081421c7;border-radius:10px;padding:.48rem .72rem;font-weight:600}.settings-choice:hover{border-color:#99cafdb3}.settings-choice.is-active{background:linear-gradient(135deg,#1e4870d9,#0e3553d1);border-color:#99cafdd9}:root[data-theme=light] .settings-choice{background:#fffffffa}:root[data-theme=light] .settings-choice:hover{background:#ecf6fff5;border-color:#5189c08c}:root[data-theme=light] .settings-choice.is-active{color:#0f3250;background:linear-gradient(135deg,#c6e0f9fa,#b1d5f5f5);border-color:#5189c094}.settings-preview-card{align-content:start}.settings-preview-surface{background:radial-gradient(700px 220px at 4% -20%,#38bdf829,#0000 50%),#08121db8;border:1px solid #a6c7e547;border-radius:12px;gap:.7rem;padding:.75rem;display:grid}:root[data-theme=light] .settings-preview-surface{background:radial-gradient(700px 220px at 4% -20%,#54a4f333,#0000 52%),#f8fcfff7;border-color:#719abc4d}.settings-preview-label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.75rem}.settings-preview-chips{flex-wrap:wrap;gap:.4rem;display:flex}.settings-preview-chip{border:1px solid var(--line);background:#091826b8;border-radius:999px;padding:.2rem .52rem;font-size:.77rem;font-weight:600}:root[data-theme=light] .settings-preview-chip{background:#eaf5fff5}.settings-preview-demo{background:#060f188f;border:1px solid #a2c4e53d;border-radius:10px;gap:.45rem;padding:.6rem;display:grid}:root[data-theme=light] .settings-preview-demo{background:#fffffff2}.settings-demo-line{background:linear-gradient(90deg,#78a1c68c,#60c9a880);border-radius:999px;height:8px}.settings-demo-line.is-strong{height:10px}.settings-demo-line.is-short{width:70%}.account-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.account-profile-grid{align-content:start}.account-fields label{color:var(--muted);gap:.28rem;font-size:.84rem;display:grid}.account-input{border:1px solid var(--line);width:100%;color:var(--text);font:inherit;background:#06111beb;border-radius:10px;padding:.52rem .62rem}:root[data-theme=light] .account-input{background:#fffffff5}.account-field-wide{grid-column:1/-1}.account-label{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:.82rem}.account-feedback-row{min-height:1.25rem}.account-feedback-row p{margin:0}.account-chip.is-good{color:#1fb588;background:#2dd4a71f;border-color:#1fb58866}.account-chip.is-neutral{color:var(--muted)}.settings-actions{flex-wrap:wrap;gap:.5rem;display:flex}.account-profile-actions{align-items:center}.account-btn-danger,.account-btn-secondary,.account-link-btn{font:inherit;cursor:pointer;border-radius:10px;padding:.54rem .8rem;font-weight:600;text-decoration:none}.account-link-btn{color:var(--text);background:linear-gradient(135deg,#1e4870cc,#0e3553cc);border:1px solid #99cafd80}.account-link-btn.ghost{background:#08121dcc}:root[data-theme=light] .account-link-btn{color:#0f3452;background:linear-gradient(135deg,#cbe2f8fa,#b3d4f3f5);border-color:#548bc29e}:root[data-theme=light] .account-link-btn.ghost{background:#f6fafff0}.account-btn-secondary{border:1px solid var(--line);color:var(--text);background:#08121dcc}:root[data-theme=light] .account-btn-secondary{background:#f6fafff0}.account-btn-danger{color:#ffd1d1;background:linear-gradient(135deg,#822730e6,#5c1821e6);border:1px solid #f8727273}:root[data-theme=light] .account-btn-danger{color:#5d1820;background:linear-gradient(135deg,#fdd7dcfa,#f6bec5fa)}.account-lite-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-top:1rem;display:grid}.account-lite-card{align-content:start;gap:.7rem;min-height:0;display:grid}.account-lite-card h3{margin:0}.account-lite-analytics{grid-column:span 2}.account-lite-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.account-lite-stat{background:#07121d7a;border:1px solid #a6c7e53d;border-radius:10px;gap:.26rem;padding:.6rem .65rem;display:grid}:root[data-theme=light] .account-lite-stat{background:#f5fafff2;border-color:#719abc4d}.account-lite-stat strong{font-size:1.35rem;line-height:1.1}.account-credit-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:.1rem}.account-danger-card .subtext,.account-lite-danger .bad{margin:0}.account-delete-inline{align-content:start;gap:.45rem;display:grid}.account-delete-inline .bad{margin:0}.account-danger-trigger{width:100%}.feature-suggestions-page{padding-top:1.1rem}.feature-suggestions-hero{margin-bottom:.95rem}.feature-suggestions-layout{grid-template-columns:minmax(0,1.85fr) minmax(300px,.9fr);align-items:start;gap:.8rem;display:grid}.feature-suggestions-form-card,.feature-suggestions-list-card{align-content:start;gap:.85rem;min-height:0;display:grid}.feature-suggestions-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;display:flex}.feature-suggestions-card-head h3,.feature-suggestions-empty h4,.feature-suggestion-item h4,.feature-suggestions-card-head .subtext,.feature-suggestions-empty .subtext,.feature-suggestion-meta,.feature-suggestion-description,.feature-suggestions-feedback{margin:0}.feature-suggestions-form{gap:.75rem;display:grid}.feature-suggestions-sort-field{color:var(--muted);align-items:center;gap:.45rem;margin-left:auto;font-size:.8rem;display:inline-flex}.feature-suggestions-sort-select{appearance:none;width:auto;min-width:0;max-width:none;color:var(--text);font:inherit;background-color:#081421c7;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' stroke='%23d9ecff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .48rem center;background-repeat:no-repeat;background-size:.7rem;border:1px solid #a6c7e53d;border-radius:10px;flex:none;padding:.42rem 1.55rem .42rem .68rem}.feature-suggestions-sort-select:focus{border-color:#99cafdb3;outline:none}:root[data-theme=light] .feature-suggestions-sort-select{background-color:#fff;border-color:#548bc247}.feature-suggestions-form label{color:var(--muted);gap:.28rem;font-size:.84rem;display:grid}.feature-suggestions-textarea{resize:vertical;min-height:170px}.feature-suggestions-form-actions{align-items:center}.feature-suggestions-list{gap:.75rem;display:grid}.feature-suggestion-item{background:#07121d7a;border:1px solid #a6c7e53d;border-radius:12px;gap:.7rem;padding:.8rem;display:grid}.feature-suggestion-item.is-completed{border-color:#73d0a352}:root[data-theme=light] .feature-suggestion-item{background:#f5fafff2;border-color:#719abc4d}.feature-suggestion-item.is-completed :is(h4,.feature-suggestion-description){opacity:.88}.feature-suggestion-head{justify-content:space-between;align-items:flex-start;gap:.8rem;display:flex}.feature-suggestion-head-tools{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:.55rem;display:flex}.feature-suggestion-meta{color:var(--muted);margin-top:.28rem;font-size:.82rem}.feature-suggestion-description{white-space:pre-wrap;line-height:1.55}.feature-suggestion-status{color:#85d7ab;flex:auto;min-width:0;margin:0;font-size:.83rem}:root[data-theme=light] .feature-suggestion-status{color:#1f7a4f}.feature-suggestion-score{background:#091826b8;border:1px solid #99cafd40;border-radius:12px;justify-self:end;justify-items:end;gap:.18rem;width:fit-content;padding:.5rem .65rem;display:grid}:root[data-theme=light] .feature-suggestion-score{background:#e8f4ffeb;border-color:#548bc252}.feature-suggestion-score-label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem}.feature-suggestion-score strong{font-size:1.35rem;line-height:1}.feature-suggestion-admin-actions{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.feature-suggestion-admin-button,.feature-suggestion-admin-icon-button{color:var(--text);font:inherit;cursor:pointer;background:#081421c7;border:1px solid #a6c7e53d;border-radius:10px}.feature-suggestion-admin-button{align-items:center;gap:.38rem;padding:.42rem .72rem;font-size:.82rem;font-weight:700;display:inline-flex}.feature-suggestion-admin-button svg,.feature-suggestion-admin-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.feature-suggestion-admin-button.is-completed{color:#9be0ba;border-color:#73d0a361}.feature-suggestion-admin-icon-button{place-items:center;width:36px;height:36px;padding:0;display:grid}.feature-suggestion-admin-icon-button.is-danger{color:#ffb3b3}.feature-suggestion-admin-button:hover,.feature-suggestion-admin-icon-button:hover{border-color:#99cafdb3}.feature-suggestion-admin-icon-button.is-danger:hover{color:#ffd0d0;border-color:#ff9696a6}.feature-suggestion-admin-button:disabled,.feature-suggestion-admin-icon-button:disabled{opacity:.6;cursor:default}:root[data-theme=light] .feature-suggestion-admin-button,:root[data-theme=light] .feature-suggestion-admin-icon-button{background:#fff;border-color:#548bc247}:root[data-theme=light] .feature-suggestion-admin-button.is-completed{color:#1f7a4f;border-color:#43976557}:root[data-theme=light] .feature-suggestion-admin-icon-button.is-danger{color:#b04343}.feature-suggestion-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.feature-suggestion-actions-spacer{flex:auto;min-width:0}.feature-suggestion-vote-field{color:var(--muted);flex:none;align-items:center;gap:.45rem;margin-left:auto;font-size:.82rem;display:inline-flex}.feature-suggestion-vote-field-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.78rem}.feature-suggestion-vote-select{appearance:none;width:3.25rem;min-width:3.25rem;max-width:3.25rem;color:var(--text);font:inherit;background-color:#081421c7;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' stroke='%23d9ecff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .48rem center;background-repeat:no-repeat;background-size:.7rem;border:1px solid #a6c7e542;border-radius:10px;flex:none;padding:.42rem 1.45rem .42rem .55rem;font-weight:700}.feature-suggestion-vote-select:focus{border-color:#99cafdb3;outline:none}:root[data-theme=light] .feature-suggestion-vote-select{background-color:#fff;border-color:#548bc247}.feature-suggestions-empty{background:#08121d6b;border:1px dashed #99cafd47;border-radius:12px;gap:.35rem;padding:.9rem;display:grid}:root[data-theme=light] .feature-suggestions-empty{background:#f3f9ffe6;border-color:#548bc24d}.payment-page{gap:.9rem;display:grid}.payment-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;display:grid}.payment-plan-card{background:#0a131d;flex-direction:column;gap:.75rem;display:flex}:root[data-theme=light] .payment-plan-card{background:#fff}.payment-plan-card.is-active{background:linear-gradient(165deg,#295f50,#173c33);border-color:#44ad8080;box-shadow:0 14px 30px #143e3233}:root[data-theme=light] .payment-plan-card.is-active{background:linear-gradient(165deg,#d8f4e8,#c2ebda);box-shadow:0 14px 30px #3e745f24}.payment-plan-head{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.payment-plan-head h3{margin:0}.payment-plan-price{letter-spacing:-.02em;margin:0 0 1.15rem;font-size:2rem;font-weight:700;line-height:1}.payment-plan-price span{color:var(--muted);margin-left:.25rem;font-size:.88rem;font-weight:500}.payment-plan-features{gap:.35rem;margin:0 0 1.25rem;padding-left:1rem;display:grid}.payment-plan-features li{color:var(--text)}.payment-plan-action{width:100%;margin-top:auto}.payment-plan-action:disabled{opacity:.8;cursor:not-allowed}.payment-plan-feedback{gap:.4rem;display:grid}.payment-plan-feedback p{margin:0}.dummy-payment-card{gap:.85rem;max-width:40rem;display:grid}.dummy-payment-note{color:var(--muted);margin:0}.dummy-payment-grid{gap:.75rem;display:grid}.dummy-payment-grid label{gap:.35rem;display:grid}.dummy-payment-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.dummy-payment-actions{flex-wrap:wrap;gap:.55rem;display:flex}.delete-account-overlay{z-index:80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#050b13c2;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.delete-account-dialog{background:linear-gradient(165deg,#220c10f7,#14070bf7);border:1px solid #f8727273;border-radius:14px;gap:.72rem;width:min(100%,30rem);padding:1rem;display:grid;box-shadow:0 20px 42px #0000006b}.delete-account-dialog .subtext,.delete-account-dialog h3{margin:0}.delete-account-confirm-input{border:1px solid var(--line);width:100%;color:var(--text);font:inherit;text-transform:uppercase;letter-spacing:.04em;background:#0b1825db;border-radius:10px;padding:.56rem .72rem}.delete-account-confirm-input:focus-visible{outline-offset:1px;border-color:#f87272bd;outline:2px solid #f8727259}.delete-account-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}:root[data-theme=light] .delete-account-overlay{background:#12192380}:root[data-theme=light] .delete-account-dialog{background:linear-gradient(165deg,#fff3f5fc,#fde8ecfc);border-color:#d5627080;box-shadow:0 20px 42px #0a18283d}:root[data-theme=light] .delete-account-confirm-input{background:#fff9fafa}:root[data-density=compact] .page{padding:1rem .85rem 2.3rem}:root[data-density=compact] .panel{padding:.8rem}:root[data-density=compact] .menu-link{padding:.3rem .62rem;font-size:.79rem}:root[data-density=compact] .form-grid{gap:.55rem}:root[data-motion=reduced] *,:root[data-motion=reduced] :after,:root[data-motion=reduced] :before{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.metric-grid-wide{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.trade-analysis-page,.dashboard-page{gap:.8rem;display:grid}.dashboard-page .panel{min-height:0}.dashboard-page .hero h2{margin:.2rem 0}.dashboard-page .metric-grid,.trade-analysis-page .panel-grid,.trade-analysis-page .pnl-analytics-grid,.trade-analysis-page .import-expander{margin-top:0}.kpi-tile{border:1px solid var(--line);background:#08111cdb;border-radius:12px;gap:.3rem;padding:.75rem;display:grid}.kpi-tile span{color:var(--muted);font-size:.78rem}.kpi-tile strong{font-size:1.22rem}.trade-advanced-section{gap:1rem;display:grid}.trade-doc-tooltip{align-items:center;max-width:100%;display:inline-flex;position:relative}.trade-doc-tooltip-trigger{max-width:100%;color:inherit;cursor:help;outline:none;align-items:center;gap:.35rem;display:inline-flex}.trade-doc-tooltip-icon{fill:none;stroke:currentColor;stroke-width:1.35px;opacity:.72;flex:none;width:14px;height:14px}.trade-doc-tooltip-icon-dot{fill:currentColor;stroke:none}.trade-doc-tooltip-bubble,.explanatory-popover{color:#deecf9fa;white-space:pre-line;opacity:0;visibility:hidden;z-index:22;pointer-events:none;background:#060d16f7;border:1px solid #99cafd3d;border-radius:12px;width:min(320px,100vw - 2rem);padding:.72rem .82rem;font-size:.75rem;font-weight:400;line-height:1.45;transition:opacity .14s,transform .14s,visibility .14s;position:absolute;top:calc(100% + .45rem);left:0;transform:translateY(-4px);box-shadow:0 14px 34px #00000052}.trade-doc-tooltip-bubble strong,.explanatory-popover strong{font-size:inherit;font-weight:700}.trade-doc-tooltip:hover .trade-doc-tooltip-bubble,.trade-doc-tooltip:focus-within .trade-doc-tooltip-bubble{opacity:1;visibility:visible;transform:translateY(0)}.trade-advanced-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex;position:relative}.trade-advanced-controls{flex:none;position:relative}.trade-advanced-settings-btn{width:42px;height:42px;color:var(--text);background:#08111ce6;border:1px solid #99cafd3d;border-radius:12px;justify-content:center;align-items:center;transition:border-color .18s,background .18s,transform .18s;display:inline-flex}.trade-advanced-settings-btn:hover,.trade-advanced-settings-btn.is-active{background:#0c1723fa;border-color:#99cafd6b;transform:translateY(-1px)}.trade-advanced-settings-btn svg{fill:none;stroke:currentColor;stroke-width:1.4px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.trade-advanced-settings-popover{z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:linear-gradient(165deg,#091420fa,#060f19f5);border:1px solid #99cafd52;border-radius:14px;width:min(680px,100vw - 3rem);padding:1rem;position:absolute;top:calc(100% + .7rem);right:0;box-shadow:0 16px 36px #00000057}.trade-table-settings-popover{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:linear-gradient(165deg,#091420fa,#060f19f5);border:1px solid #99cafd52;border-radius:14px;width:fit-content;min-width:320px;max-width:calc(100vw - 3rem);box-shadow:0 16px 36px #00000057}.trade-table-settings-popover .trade-advanced-settings-grid{grid-template-columns:1fr}.trade-table-settings-popover .trade-advanced-setting-field{min-width:280px}.trade-advanced-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.trade-advanced-setting-field{gap:.38rem;display:grid}.trade-advanced-setting-field span{color:var(--muted);font-size:.8rem}.trade-advanced-setting-field input{width:100%;min-width:0;color:var(--text);background:#0c1622e6;border:1px solid #99cafd33;border-radius:12px;padding:.72rem .8rem}.trade-advanced-setting-field input:focus{border-color:#78c4f794;outline:none;box-shadow:0 0 0 3px #41a1dc29}.trade-advanced-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;margin:0}.trade-advanced-kpi-grid-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}.trade-advanced-grid>.panel{min-width:0}.trade-advanced-metric-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin-top:.4rem;display:grid}.trade-advanced-metric-row{background:#070f1870;border:1px solid #99cafd2e;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;padding:.68rem .8rem;display:flex}.trade-advanced-metric-row span{color:var(--muted);font-size:.85rem}.trade-advanced-metric-row strong{text-align:right;font-size:1rem}.trade-advanced-monte-carlo-panel{gap:1rem;display:grid}.trade-advanced-monte-carlo-layout{grid-template-columns:minmax(320px,1.05fr) minmax(0,1.4fr);align-items:start;gap:1rem;display:grid}.trade-advanced-monte-carlo-metrics{margin-top:0}.trade-advanced-monte-carlo-chart{min-width:0}.trade-advanced-monte-carlo-chart h4{margin:0;font-size:1rem}.trade-advanced-expander{margin-top:.2rem}.trade-advanced-expander-body{gap:1rem;padding:.85rem 1rem 1rem;display:grid}.trade-advanced-chart-shell{background:#08111c9e;border:1px solid #99cafd2e;border-radius:14px;margin-top:.5rem;overflow:hidden}.trade-advanced-svg{width:100%;height:auto;display:block}.trade-advanced-axis{stroke:#94bcdf3d;stroke-width:1px}.trade-advanced-axis-label{fill:var(--muted);font-size:12px}.trade-advanced-axis-zero{stroke-dasharray:6 6}.trade-kde-area{fill:#38bdf82e}.trade-kde-line{fill:none;stroke:#38bdf8;stroke-width:3px}.trade-montecarlo-band{fill:#38bdf829}.trade-montecarlo-median{fill:none;stroke:#38bdf8;stroke-width:2.5px}.trade-montecarlo-observed{fill:none;stroke:#f59e0b;stroke-width:2.5px}.trade-advanced-chart-foot{color:var(--muted);justify-content:space-between;gap:.75rem;margin-top:.45rem;font-size:.78rem;display:flex}.trade-stats-expander{background:#070f18a3;border:1px solid #99cafd42;border-radius:10px;margin-top:.8rem;overflow:hidden}.import-expander{border:1px solid var(--line);background:#0a131deb;border-radius:14px;margin-top:.8rem;overflow:hidden}.import-expander summary{cursor:pointer;color:var(--text);-webkit-user-select:none;user-select:none;padding:1rem;font-size:1.05rem;font-weight:700}.import-expander summary:hover{color:var(--text)}.import-expander[open] summary{border-bottom:none}.import-expander-body{gap:.8rem;padding:.8rem 1rem 1rem;display:grid}.import-expander-body .panel{min-height:0}.trade-score-panel{box-shadow:none;background:0 0;border:0;gap:1rem;padding:.15rem 0 .35rem;display:grid}.trade-score-panel-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.trade-score-panel-head h3{margin-bottom:.2rem}.trade-score-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.trade-score-card{--score-meter-rotation:0deg;justify-items:center;gap:.55rem;padding:.35rem .2rem 0;display:grid}.trade-score-meter{background:0 0;place-items:center;width:100%;min-height:182px;padding-top:.15rem;display:grid;position:relative}.trade-score-meter svg{filter:drop-shadow(0 18px 20px #02061747);width:100%;max-width:228px;overflow:visible}.trade-score-meter-track,.trade-score-meter-band,.trade-score-meter-gloss{fill:none;stroke-linecap:butt}.trade-score-meter-track{stroke:#111a26eb;stroke-width:18px}.trade-score-meter-band{stroke-width:15px}.trade-score-meter-center{width:0;height:0;position:absolute;top:78%;left:50%}.trade-score-meter-center:before{content:"";background:radial-gradient(circle,#274d73 0 62%,#5fa2df 64% 100%);border:4px solid #0f2234f5;border-radius:999px;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #ffffff1f}.trade-score-meter-needle{pointer-events:none;width:0;height:0;position:absolute;top:50%;left:50%}.trade-score-meter-needle span{transform-origin:bottom;width:16px;height:92px;transform:translate(-50%,-100%)rotate(var(--score-meter-rotation));clip-path:polygon(50% 0,79% 14%,68% 100%,32% 100%,21% 14%);background:#274d73;position:absolute;top:50%;left:50%;box-shadow:0 0 0 1px #ffffff29,0 10px 18px #0f172a47}.trade-score-meter-value{letter-spacing:-.02em;text-align:center;color:#f8fafc;text-shadow:0 2px 14px #0f172a52;z-index:2;width:auto;height:auto;font-size:1.2rem;font-weight:700;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.trade-score-meter-gloss{stroke:#ffffff3d;stroke-width:2.5px;stroke-linecap:round}.trade-score-meter-threshold{fill:#d6e3f4e6;text-anchor:middle;dominant-baseline:middle;paint-order:stroke;stroke:#040c16b8;stroke-width:1.4px;letter-spacing:.01em;font-size:6px;font-weight:700}.trade-score-card-label{color:#d7e4f3;letter-spacing:.01em;text-align:center;font-size:1rem;font-weight:700}:root[data-theme=light] .trade-score-meter svg{filter:drop-shadow(0 10px 14px #466c8e33)}:root[data-theme=light] .trade-score-meter-track{stroke:#0000;stroke-width:0}:root[data-theme=light] .trade-score-meter-center:before{border-color:#2c5477e0;box-shadow:0 0 0 2px #ffffff8f}:root[data-theme=light] .trade-score-meter-value{color:#fff;text-shadow:0 1px 8px #0a1c2e40}:root[data-theme=light] .trade-score-meter-threshold{fill:#294966;stroke:#ffffffb8;stroke-width:.8px}:root[data-theme=light] .trade-score-card-label{color:#5a7590;text-shadow:0 1px #ffffff8c}@media (max-width:1100px){.trade-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.trade-score-grid{grid-template-columns:1fr}}.trade-stats-expander summary{cursor:pointer;color:var(--muted);-webkit-user-select:none;user-select:none;padding:.48rem .65rem;font-size:.82rem}.trade-stats-expander summary:hover{color:var(--text)}.trade-stats-expander[open] summary{border-bottom:1px solid #99cafd2e}.trade-analysis-stats-wrap{margin-top:0}.trade-analysis-stats-table{min-width:640px}.trade-analysis-stats-table td:first-child,.trade-analysis-stats-table th:first-child{text-align:left;min-width:280px}.trade-analysis-stats-table td:not(:first-child),.trade-analysis-stats-table th:not(:first-child){text-align:right}.trade-analysis-stats-table tbody tr:hover{background:#1f496c61}.trade-analysis-stats-table tbody tr.trade-analysis-stats-divider:hover{background:0 0}.trade-analysis-stats-divider td{background:0 0;border-bottom:1px solid #99cafd29;padding:.28rem 0}.trade-analysis-stats-divider{background:0 0!important}.insight-bars{gap:.7rem;display:grid}.insight-row{background:#08101abf;border:1px solid #aacbeb33;border-radius:10px;padding:.55rem .65rem}.insight-row-head{grid-template-columns:1fr auto auto;align-items:baseline;gap:.45rem;margin-bottom:.45rem;display:grid}.insight-row-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}.insight-row-head span{color:var(--muted);font-size:.76rem}.insight-row-head .bad,.insight-row-head .good{font-weight:700}.insight-row-meta{justify-content:space-between;gap:.5rem;margin-bottom:.45rem;display:flex}.insight-row-meta span{color:var(--muted);font-size:.74rem}.insight-bar-track{background:#39587459;border-radius:999px;width:100%;height:.5rem;overflow:hidden}.insight-bar-fill{transform-origin:0;border-radius:999px;height:100%;animation:.7s forwards grow-bar}.insight-bar-fill.is-positive{background:linear-gradient(90deg,#2dd4a7bf,#2dd4a7)}.insight-bar-fill.is-negative{background:linear-gradient(90deg,#f87272bf,#f87171)}.trade-calendar-panel{min-height:0}.trade-calendar-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.65rem;display:flex}.trade-calendar-month-label{letter-spacing:.04em;color:var(--muted);background:#081421ad;border:1px solid #99cafd4d;border-radius:999px;padding:.18rem .55rem;font-size:.72rem}.trade-calendar-month-controls{align-items:center;gap:.35rem;display:inline-flex}.trade-calendar-month-nav{min-width:1.85rem;height:1.85rem;color:var(--muted);background:#081421ad;border:1px solid #99cafd4d;border-radius:999px;place-items:center;padding:0;transition:border-color .14s,background-color .14s,color .14s,transform .12s;display:grid;box-shadow:inset 0 1px #bde0ff14}.trade-calendar-month-nav:hover:not(:disabled){color:var(--text);background:#0d1e2fd9;border-color:#99cafd8c;transform:translateY(-1px)}.trade-calendar-month-nav:active:not(:disabled){transform:translateY(0)}.trade-calendar-month-nav:disabled{opacity:.45;cursor:not-allowed}.trade-calendar-month-nav-icon{fill:none;stroke:currentColor;stroke-width:2.35px;stroke-linecap:round;stroke-linejoin:round;width:.82rem;height:.82rem}.trade-calendar-scroll{padding-bottom:.2rem;overflow:auto hidden}.trade-calendar-weekday-row{grid-template-columns:repeat(7,minmax(112px,1fr));gap:.42rem;min-width:812px;margin-bottom:.4rem;display:grid}.trade-calendar-weekday{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:.68rem}.trade-calendar-grid{grid-template-columns:repeat(7,minmax(112px,1fr));gap:.42rem;min-width:812px;display:grid}.trade-calendar-day{background:#08111bcc;border:1px solid #99cafd38;border-radius:10px;grid-template-rows:auto 1fr;gap:.4rem;min-height:108px;padding:.5rem;display:grid}.trade-calendar-day.is-positive{background:linear-gradient(165deg,#071a18eb,#07121bd6);border-color:#2dd4a761}.trade-calendar-day.is-negative{background:linear-gradient(165deg,#270c12e0,#0c0f19d1);border-color:#f8717161}.trade-calendar-day.is-empty{background:#08111b8f;border-style:dashed}.trade-calendar-day-empty{border:1px dashed #99cafd26;border-radius:10px;min-height:108px}.trade-calendar-day-number{color:var(--text);font-size:.82rem;font-weight:700}.trade-calendar-day-metrics{align-content:start;gap:.25rem;display:grid}.trade-calendar-day-metric{color:var(--muted);justify-content:space-between;align-items:baseline;gap:.4rem;font-size:.7rem;display:flex}.trade-calendar-day-metric strong{color:var(--text);font-size:.76rem}.trade-calendar-summary{border-top:1px solid #99cafd33;grid-template-columns:auto repeat(3,minmax(0,auto));justify-content:start;align-items:center;gap:.45rem .65rem;margin-top:.62rem;padding-top:.52rem;display:grid}.trade-calendar-summary-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.74rem}.trade-calendar-summary-value{color:var(--text);font-size:.8rem;font-weight:700}.distribution-chart{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb)var(--scrollbar-track);grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:.5rem;margin-top:.5rem;padding-bottom:.22rem;display:grid;overflow:auto hidden}.distribution-chart::-webkit-scrollbar{height:6px}.distribution-chart::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:999px}.distribution-chart::-webkit-scrollbar-track{background:var(--scrollbar-track);border-radius:999px}.distribution-col{grid-template-rows:auto 142px minmax(2.1rem,auto);place-items:end center;gap:.3rem;min-width:0;display:grid}.distribution-count{color:var(--muted);font-size:.8rem;font-weight:600}.distribution-track{background:linear-gradient(#0b1928bd,#08111cdb);border:1px solid #99cafd33;border-radius:10px;align-items:flex-end;width:100%;height:142px;padding:.24rem;display:flex;position:relative;box-shadow:inset 0 1px #8fc1f414,inset 0 -16px 22px #060e1773}.distribution-track:after{content:"";background:#7ba5c673;border-radius:999px;height:1px;position:absolute;bottom:.24rem;left:.24rem;right:.24rem}.distribution-fill{background:linear-gradient(#38bdf8f2,#2dd4a7eb);border-radius:6px;width:100%;animation:.78s forwards rise-fill;box-shadow:0 0 0 1px #42c6f040,0 8px 20px #2dd4a747}.distribution-label{color:var(--muted);text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.7rem;line-height:1.3;overflow:hidden}.distribution-col.is-empty .distribution-count{opacity:.72}.distribution-col.is-empty .distribution-fill{opacity:0}.pnl-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1rem}.pnl-analytics-grid>*{min-width:0;display:flex}.pnl-analytics-grid>.panel{flex-direction:column;flex:1}.pnl-analytics-grid>.trade-chart-animate>.panel{flex:1}.pnl-bars-chart{gap:.45rem;margin-top:.35rem;display:grid}.pnl-bars-scroll{padding-bottom:0;overflow:hidden}.pnl-bars-head{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.4rem;display:flex}.pnl-bars-head h3{margin:0}.pnl-bars-aggregation-select{color:#c8e2f8fa;background:#091522d1;border:1px solid #99cafd4d;border-radius:8px;min-width:7.25rem;padding:.28rem .55rem;font-size:.78rem;font-weight:600}.pnl-bars-aggregation-select:focus{outline-offset:1px;outline:1px solid #99cafdb8}.pnl-bars-scroll.is-scrollable{scrollbar-width:thin;scrollbar-gutter:stable both-edges;scrollbar-color:var(--scrollbar-thumb)var(--scrollbar-track);padding-bottom:.22rem;overflow:auto hidden}.pnl-bars-scroll.is-scrollable::-webkit-scrollbar{height:10px}.pnl-bars-scroll.is-scrollable::-webkit-scrollbar-track{background:var(--scrollbar-track);border-radius:999px}.pnl-bars-scroll.is-scrollable::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#6f9dc5e6,#76c3cfdb);border-radius:999px}.pnl-bars-scroll.is-scrollable::-webkit-scrollbar-thumb:hover{background:linear-gradient(90deg,#8db7dcf0,#91d8e2eb)}.pnl-bars-grid{background:#08111cbf;border:1px solid #99cafd33;border-radius:10px;grid-auto-columns:minmax(10px,1fr);grid-auto-flow:column;align-items:stretch;gap:.25rem;height:210px;padding:.4rem .35rem;display:grid;position:relative;overflow:hidden}.pnl-bars-zero-line{pointer-events:none;border-top:1px dashed #91b2d173;position:absolute;top:50%;left:.35rem;right:.35rem}.pnl-bars-mean-line{pointer-events:none;z-index:3;border-top:2px dashed #aab1bcc7;position:absolute;left:.35rem;right:.35rem}.pnl-bars-mean-label{letter-spacing:.02em;color:#bec7d3f2;z-index:5;background:#06101bd9;border-radius:4px;padding:.06rem .3rem;font-size:.62rem;position:absolute;bottom:.5rem;right:.5rem}.pnl-bars-col{cursor:pointer;z-index:2;min-width:0;position:relative}.pnl-bars-flat{border-top:2px solid #97b3cdad;border-radius:999px;position:absolute;top:calc(50% - 1px);left:0;right:0}.pnl-bars-fill{border-radius:6px;min-height:2px;position:absolute;left:0;right:0}.pnl-bars-col.is-hovered .pnl-bars-fill{filter:saturate(1.18)brightness(1.08);box-shadow:0 0 0 1px #c7e4ff40,0 0 12px #81c2f82e}.pnl-bars-fill.is-positive{background:linear-gradient(#38bdf8f2,#2dd4a7e6);bottom:50%}.pnl-bars-fill.is-negative{background:linear-gradient(#f87272f2,#ef4444e6);top:50%}.pnl-bars-tooltip{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);pointer-events:none;z-index:4;background:#050c14f2;border:1px solid #99cafd73;border-radius:10px;gap:.32rem;padding:.38rem .5rem;display:grid;position:absolute;top:8px;transform:translate(-50%);box-shadow:0 12px 28px #00000057}.pnl-bars-tooltip-head{justify-content:space-between;align-items:center;gap:.55rem;display:flex}.pnl-bars-tooltip-trade{color:#cee6fbfa;letter-spacing:.02em;font-size:.68rem;font-weight:700}.pnl-bars-tooltip-time{color:#a7c2dcf2;white-space:nowrap;text-overflow:ellipsis;font-size:.66rem;overflow:hidden}.pnl-bars-tooltip-body{justify-content:space-between;align-items:center;gap:.55rem;display:flex}.pnl-bars-tooltip-chip{letter-spacing:.03em;text-transform:uppercase;color:#bcd9f4f5;background:#11273ba6;border:1px solid #99cafd47;border-radius:999px;padding:.1rem .38rem;font-size:.64rem}.pnl-bars-tooltip-body strong{font-size:.82rem;font-weight:700}.pnl-bars-axis{grid-auto-columns:minmax(10px,1fr);grid-auto-flow:column;gap:.25rem;padding:.18rem .35rem 0;display:grid}.pnl-bars-axis-label{text-align:center;color:#a4bdd5e6;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.6rem;overflow:hidden}.hour-bars-chart{gap:.45rem;margin-top:.35rem;display:grid}.hour-bars-scroll{padding-bottom:0;overflow:hidden}.hour-bars-content{gap:.28rem;width:100%;min-width:0;display:grid}.hour-bars-grid{background:#08111cbf;border:1px solid #99cafd33;border-radius:10px;grid-template-columns:repeat(24,minmax(10px,1fr));align-items:stretch;gap:.18rem;height:210px;padding:.4rem .35rem;display:grid;position:relative;overflow:hidden}.hour-bars-zero-line{pointer-events:none;border-top:1px dashed #91b2d173;position:absolute;top:50%;left:.35rem;right:.35rem}.hour-bars-col{cursor:pointer;border-radius:7px;min-width:0;position:relative}.hour-bars-col.is-hovered{background:linear-gradient(#5596c52e,#5596c50d)}.hour-bars-fill{border-radius:5px;width:clamp(4px,58%,9px);min-height:2px;position:absolute;left:50%;transform:translate(-50%)}.hour-bars-fill.is-positive{background:linear-gradient(#38bdf8f2,#2dd4a7e6);bottom:50%}.hour-bars-fill.is-negative{background:linear-gradient(#f87272f2,#ef4444e6);top:50%}.hour-bars-flat{border-top:2px solid #99cafd99;border-radius:999px;width:clamp(4px,58%,9px);position:absolute;top:calc(50% - 1px);left:50%;transform:translate(-50%)}.hour-bars-col.is-hovered .hour-bars-fill{filter:saturate(1.16)brightness(1.08);box-shadow:0 0 0 1px #c7e4ff3d,0 0 11px #81c2f829}.hour-bars-col.is-hovered .hour-bars-flat{border-top-color:#bcdefcf2}.hour-bars-tooltip{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);pointer-events:none;z-index:4;background:#050c14f2;border:1px solid #99cafd73;border-radius:10px;gap:.28rem;padding:.34rem .5rem;display:grid;position:absolute;top:8px;transform:translate(-50%);box-shadow:0 12px 28px #00000057}.hour-bars-tooltip-head{justify-content:space-between;align-items:center;gap:.55rem;display:flex}.hour-bars-tooltip-hour{letter-spacing:.02em;color:#cee6fbfa;font-size:.68rem;font-weight:700}.hour-bars-tooltip-trades{color:#a7c2dcf2;white-space:nowrap;font-size:.64rem}.hour-bars-tooltip-body{justify-content:flex-end;align-items:center;display:flex}.hour-bars-tooltip-body strong{letter-spacing:.01em;font-size:.84rem;font-weight:700}.hour-bars-label-row{grid-template-columns:repeat(24,minmax(10px,1fr));gap:.18rem;padding:0 .35rem;display:grid}.hour-bars-label{text-align:center;min-width:0;color:var(--muted);letter-spacing:.01em;font-size:.64rem}.hour-bars-foot{color:var(--muted);grid-template-columns:1fr auto 1fr;align-items:center;gap:.45rem;font-size:.74rem;display:grid}.hour-bars-foot-edge{justify-self:start}.hour-bars-foot-edge:last-child{justify-self:end}.hour-bars-foot-summary{letter-spacing:.03em;background:#0a1623b8;border:1px solid #99cafd4d;border-radius:999px;justify-self:center;padding:.12rem .52rem;font-size:.68rem}@media (max-width:700px){.trade-calendar-weekday-row,.trade-calendar-grid{grid-template-columns:repeat(7,minmax(92px,1fr));min-width:672px}.trade-calendar-day,.trade-calendar-day-empty{min-height:96px}.trade-calendar-summary{grid-template-columns:1fr 1fr;justify-content:stretch}.hour-bars-scroll{padding-bottom:.12rem;overflow:auto hidden}.hour-bars-content{min-width:640px}.hour-bars-foot{grid-template-columns:1fr;gap:.3rem}.hour-bars-foot-edge,.hour-bars-foot-edge:last-child,.hour-bars-foot-summary{justify-self:start}}.chart-window{background:radial-gradient(1000px 320px at 12% -25%,#38bdf821,#0000 44%),#08111bed;border:1px solid #99cafd33;border-radius:14px;gap:.65rem;padding:.75rem;display:grid}.chart-window-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.7rem;display:flex}.chart-window-title-wrap h3{margin:0}.chart-window-title-wrap .subtext{margin-top:.28rem}.chart-window-meta{flex-wrap:wrap;gap:.38rem;display:flex}.chart-window-chip{letter-spacing:.04em;color:var(--muted);background:#081421a8;border:1px solid #99cafd47;border-radius:999px;padding:.14rem .48rem;font-size:.72rem}.chart-window-chip-status{color:#8dd8ff;background:#38bdf81f;border-color:#38bdf873}.chart-window-chip-status.is-completed{color:var(--good);background:#2dd4a724;border-color:#2dd4a780}.chart-window-chip-status.is-failed{color:var(--bad);background:#f8727224;border-color:#f8727280}.chart-window-toolbar{background:#070f189e;border:1px solid #99cafd33;border-radius:10px;flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding:.36rem .44rem;display:flex}.chart-window-toolbar-group{flex-wrap:wrap;gap:.35rem;display:flex}.chart-window-timeframe,.chart-window-tool{color:var(--muted);font:inherit;cursor:pointer;background:#091421bd;border:1px solid #99cafd47;border-radius:8px;padding:.18rem .5rem;font-size:.72rem;font-weight:600}.chart-window-timeframe:hover,.chart-window-tool:hover{color:var(--text);border-color:#99cafd80}.chart-window-timeframe.is-active,.chart-window-tool.is-active{color:#d6f2ff;background:linear-gradient(#1f5f91b8,#12486fc7);border-color:#38bdf89e}.backtest-indicator-manager{display:inline-flex;position:relative}.backtest-indicator-trigger{min-width:98px}.backtest-indicators-popover{z-index:34;background:#070f18f2;border:1px solid #99cafd4d;border-radius:10px;gap:.54rem;width:min(390px,100vw - 2rem);padding:.62rem;display:grid;position:absolute;top:calc(100% + .45rem);left:0;box-shadow:0 14px 30px #02080f6b}.backtest-indicators-popover .subtext{margin:0;font-size:.74rem}.backtest-indicator-search{grid-template-columns:1fr auto;gap:.4rem;display:grid}.backtest-indicator-search input{min-width:0;color:var(--text);font:inherit;background:#091421c7;border:1px solid #99cafd47;border-radius:8px;padding:.32rem .46rem;font-size:.76rem}.backtest-indicator-search-results{flex-wrap:wrap;gap:.35rem;min-height:24px;display:flex}.backtest-indicator-option{color:var(--text);font:inherit;cursor:pointer;background:#0b1827b8;border:1px solid #99cafd3d;border-radius:999px;padding:.16rem .5rem;font-size:.72rem;font-weight:600}.backtest-indicator-option:hover{border-color:#99cafd7a}.backtest-indicator-list-title{margin-top:.12rem}.backtest-indicators-list{gap:.4rem;display:grid}.backtest-indicator-item{background:#091421a8;border:1px solid #99cafd33;border-radius:8px;grid-template-columns:1fr auto;gap:.32rem;padding:.34rem .4rem;display:grid;position:relative}.backtest-indicator-item.is-selected{border-color:#38bdf88a;box-shadow:inset 0 0 0 1px #38bdf842}.backtest-indicator-item-main{text-align:left;cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:flex-start;gap:.12rem;padding:.04rem .06rem;display:flex}.backtest-indicator-item-main span{color:var(--text);font-size:.78rem;font-weight:600}.backtest-indicator-item-main small{color:var(--muted);font-size:.69rem}.backtest-indicator-delete{color:#fecaca;font:inherit;cursor:pointer;background:#7f1d1d47;border:1px solid #f8727257;border-radius:7px;align-self:center;padding:.16rem .44rem;font-size:.7rem;font-weight:600}.backtest-indicator-delete:hover{background:#99252557;border-color:#f8727280}.backtest-indicator-settings-popover{z-index:36;background:#07101afa;border:1px solid #99cafd4d;border-radius:8px;flex-wrap:wrap;gap:.42rem;width:min(320px,100vw - 2.5rem);padding:.45rem;display:flex;position:absolute;top:calc(100% + .36rem);left:0;box-shadow:0 12px 24px #02080f70}.backtest-indicator-settings-popover label{color:var(--muted);gap:.24rem;font-size:.72rem;display:grid}.backtest-indicator-settings-popover input:not([type=checkbox]){width:100px;color:var(--text);min-height:2rem;font:inherit;background:#091421c7;border:1px solid #99cafd47;border-radius:7px;padding:.24rem 1.7rem .24rem .38rem;font-size:.74rem}.backtest-indicator-settings-dropdown,.backtest-indicator-settings-dropdown-trigger{width:100%}.backtest-indicator-settings-dropdown-trigger{border-radius:7px;min-height:2rem;padding:.24rem .52rem;font-size:.78rem}.backtest-indicator-settings-dropdown .backtest-strategy-select-value{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:600;overflow:hidden}.backtest-indicator-settings-dropdown-menu{z-index:48;width:max-content;min-width:max-content;max-width:min(14rem,100vw - 2.5rem);left:0;right:auto}.backtest-indicator-settings-dropdown-item{white-space:normal;text-overflow:clip;font-size:.78rem;font-weight:600;overflow:visible}.backtest-indicator-checkbox-setting{align-items:center;gap:.45rem;min-width:210px;display:flex!important}.backtest-indicator-checkbox-setting input[type=checkbox]{accent-color:#38bdf8;width:14px;min-height:14px;margin:0;padding:0}.backtest-indicator-color-setting{gap:.45rem}.backtest-indicator-color-input{cursor:pointer;color:#f8fafc;letter-spacing:.04em;background:0 0;border:1px solid #475569e6;border-radius:7px;justify-content:center;align-items:center;width:100%;min-width:0;height:2rem;min-height:2rem;padding:0;font-size:.78rem;font-weight:600;display:flex;position:relative}.backtest-indicator-color-picker{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.backtest-indicator-color-text{z-index:1;pointer-events:none;color:#f8fafc;text-shadow:0 1px 2px #0000008c;font-size:inherit;font-weight:inherit;line-height:1;position:relative}.backtest-indicators-actions{justify-content:flex-end;display:flex}.chart-window-body{min-height:140px}.chart-window-foot{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:.6rem;font-size:.76rem;display:flex}:root[data-theme=light] .metric-card{background:linear-gradient(160deg,#fffffffc,#f2f9fff0);border-color:#6f96b757;box-shadow:0 8px 18px #678aa824}:root[data-theme=light] .equity-chart{background:radial-gradient(820px 300px at 8% -18%,#62aef733,#0000 46%),linear-gradient(170deg,#fffffffa,#f3fafff2);border-color:#6f96b75c;box-shadow:inset 0 0 0 1px #ffffffb3}:root[data-theme=light] .equity-grid-line{stroke:#6691b63b}:root[data-theme=light] .equity-grid-text{fill:#48647ec2}:root[data-theme=light] .equity-hover-line{stroke:#5285afa8}:root[data-theme=light] .equity-hover-point{stroke:#f3fafff2}:root[data-theme=light] .equity-tooltip rect{fill:#fffffff5;stroke:#6590b480}:root[data-theme=light] .equity-tooltip text{fill:#243a51f2}:root[data-theme=light] .equity-chart-empty{background:#fafdffe6;border-color:#7099bc6b}:root[data-theme=light] .kpi-tile{background:linear-gradient(165deg,#fffffffc,#f2f8fff2);border-color:#6f96b757;box-shadow:0 6px 16px #698dac21}:root[data-theme=light] .trade-advanced-metric-row{background:#f8fcffe6;border-color:#6f96b738}:root[data-theme=light] .trade-advanced-expander{background:#fafdfff5}:root[data-theme=light] .trade-doc-tooltip-bubble,:root[data-theme=light] .explanatory-popover{color:#263d54f5;background:#fcfefffa;border-color:#6f96b73d;box-shadow:0 14px 30px #547ea029}:root[data-theme=light] .trade-advanced-settings-btn{background:#f9fcfffa;border-color:#6f96b73d}:root[data-theme=light] .trade-advanced-settings-btn:hover,:root[data-theme=light] .trade-advanced-settings-btn.is-active{background:#f1f8fffa;border-color:#6f96b766}:root[data-theme=light] .trade-advanced-setting-field input{background:#f6fafff5;border-color:#6f96b738}:root[data-theme=light] .trade-advanced-settings-popover,:root[data-theme=light] .trade-table-settings-popover{background:linear-gradient(165deg,#fffffffa,#f4fafffa);border-color:#6f96b76b;box-shadow:0 12px 28px #6285a533}:root[data-theme=light] .trade-advanced-setting-field input:focus{border-color:#609bc985;box-shadow:0 0 0 3px #609bc924}:root[data-theme=light] .trade-advanced-chart-shell{background:linear-gradient(#fcfefffa,#f4f9fff2);border-color:#6f96b738}:root[data-theme=light] .trade-advanced-axis{stroke:#6e95b73d}:root[data-theme=light] .trade-advanced-axis-label{fill:#5f7a95d9}:root[data-theme=light] .trade-kde-area{fill:#59a5d92e}:root[data-theme=light] .trade-kde-line{stroke:#3b82f6}:root[data-theme=light] .trade-montecarlo-band{fill:#3b82f624}:root[data-theme=light] .trade-montecarlo-median{stroke:#3b82f6}:root[data-theme=light] .trade-montecarlo-observed{stroke:#d97706}@media (max-width:1200px){.trade-advanced-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-advanced-monte-carlo-layout{grid-template-columns:1fr}}@media (max-width:700px){.trade-advanced-kpi-grid,.trade-advanced-grid,.trade-advanced-metric-list,.trade-advanced-settings-grid{grid-template-columns:1fr}.trade-advanced-metric-row{flex-direction:column;align-items:flex-start}.trade-advanced-metric-row strong{text-align:left}.trade-advanced-head{flex-direction:column;align-items:stretch}.trade-advanced-controls{align-self:flex-end}.trade-advanced-settings-popover{width:min(100vw - 2rem,640px)}.trade-table-settings-popover{width:min(100vw - 2rem,380px);min-width:0}.trade-advanced-expander-body{padding:.75rem}}:root[data-theme=light] .admin-status-badge{color:#486682f2;background:#f6fbfff2;border-color:#6f96b761}:root[data-theme=light] .admin-status-badge.is-good{color:#0d7053;background:#c7eee0b8;border-color:#4ba58275}:root[data-theme=light] .admin-status-badge.is-bad{color:#9e3042;background:#f8dce1c2;border-color:#c15e6f75}:root[data-theme=light] .admin-status-badge.is-pending{color:#174f79;background:#d4e9fbcc;border-color:#5189c085}:root[data-theme=light] .admin-overview-row{background:#f7fcfff5;border-color:#6f96b74d}:root[data-theme=light] .admin-overview-mono{color:#144369}:root[data-theme=light] .admin-runtime-card{background:linear-gradient(168deg,#fffffffa,#f3f9fff0);border-color:#6f96b75c}:root[data-theme=light] .insight-row{background:linear-gradient(165deg,#fffffffa,#f4fafff2);border-color:#719abc57}:root[data-theme=light] .insight-row-head span,:root[data-theme=light] .insight-row-meta span{color:#486682e6}:root[data-theme=light] .insight-bar-track{background:#95b6d357}:root[data-theme=light] .hour-bars-grid{background:linear-gradient(#f6fbfff0,#ecf6ffeb);border-color:#719abc5c}:root[data-theme=light] .hour-bars-zero-line{border-top-color:#6d93b473}:root[data-theme=light] .hour-bars-flat{border-top-color:#618db3c7}:root[data-theme=light] .hour-bars-col.is-hovered{background:linear-gradient(#6d9ac033,#6d9ac012)}:root[data-theme=light] .hour-bars-col.is-hovered .hour-bars-fill{box-shadow:0 0 0 1px #558aba40,0 0 10px #75a8d333}:root[data-theme=light] .hour-bars-col.is-hovered .hour-bars-flat{border-top-color:#517da3e6}:root[data-theme=light] .hour-bars-tooltip{background:#fffffffa;border-color:#6f96b775;box-shadow:0 10px 24px #6285a533}:root[data-theme=light] .hour-bars-tooltip-hour{color:#163b5a}:root[data-theme=light] .hour-bars-tooltip-trades{color:#486682f2}:root[data-theme=light] .hour-bars-label{color:#486682e6}:root[data-theme=light] .hour-bars-foot-summary{color:#486682f2;background:#f6fbfff2;border-color:#6f96b761}:root[data-theme=light] .pnl-bars-scroll.is-scrollable{scrollbar-color:#74a3c9e6 #deecf8f2}:root[data-theme=light] .pnl-bars-aggregation-select{color:#1b425f;background:#f5fbfff2;border-color:#6f96b766}:root[data-theme=light] .pnl-bars-aggregation-select:focus{outline-color:#6f96b7b8}:root[data-theme=light] .pnl-bars-scroll.is-scrollable::-webkit-scrollbar-track{background:#deecf8f2}:root[data-theme=light] .pnl-bars-scroll.is-scrollable::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#609bc9f2,#5bbdc7e6)}:root[data-theme=light] .pnl-bars-scroll.is-scrollable::-webkit-scrollbar-thumb:hover{background:linear-gradient(90deg,#5189c0fa,#4db1bbf2)}:root[data-theme=light] .pnl-bars-col.is-hovered .pnl-bars-fill{box-shadow:0 0 0 1px #558aba47,0 0 10px #75a8d333}:root[data-theme=light] .pnl-bars-flat{border-top-color:#7a96b29e}:root[data-theme=light] .pnl-bars-grid{background:linear-gradient(#f6fbfff0,#ecf6ffeb);border-color:#6f96b75c;box-shadow:inset 0 1px #fffc,inset 0 -14px 20px #97b6d229}:root[data-theme=light] .pnl-bars-zero-line{border-top-color:#6d93b473}:root[data-theme=light] .pnl-bars-mean-line{border-top-color:#7a8491bd}:root[data-theme=light] .pnl-bars-mean-label{color:#4f5a6af2;background:#f5fbfff5}:root[data-theme=light] .pnl-bars-axis-label{color:#546f88e6}:root[data-theme=light] .pnl-bars-tooltip{background:#fffffffa;border-color:#6f96b775;box-shadow:0 10px 24px #6285a533}:root[data-theme=light] .pnl-bars-tooltip-trade{color:#163b5a}:root[data-theme=light] .pnl-bars-tooltip-time{color:#486682f2}:root[data-theme=light] .pnl-bars-tooltip-chip{color:#486682f2;background:#f6fbfff2;border-color:#6f96b766}:root[data-theme=light] .distribution-track{background:linear-gradient(#f6fbfff0,#ecf6ffeb);border-color:#719abc5c;box-shadow:inset 0 1px #fffc,inset 0 -14px 20px #97b6d229}:root[data-theme=light] .distribution-track:after{background:#7098ba80}:root[data-theme=light] .distribution-fill{background:linear-gradient(#409ff0f5,#2bb892eb);box-shadow:0 0 0 1px #5691c83d,0 8px 18px #65abd733}:root[data-theme=light] .distribution-chart{scrollbar-color:#74a3c9e6 #deecf8f2}:root[data-theme=light] .distribution-chart::-webkit-scrollbar-track{background:#deecf8f2}:root[data-theme=light] .distribution-chart::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#609bc9f2,#5bbdc7e6)}:root[data-theme=light] .chart-window{background:radial-gradient(900px 300px at 10% -20%,#62aef733,#0000 48%),linear-gradient(170deg,#fffffffa,#f3fafff2);border-color:#6f96b75c;box-shadow:inset 0 0 0 1px #ffffffa6}:root[data-theme=light] .chart-window-chip{color:#486682f2;background:#f6fbfff2;border-color:#6f96b761}:root[data-theme=light] .chart-window-toolbar{background:#f7fcfff0;border-color:#7098ba61}:root[data-theme=light] .chart-window-timeframe,:root[data-theme=light] .chart-window-tool{color:#486682f0;background:#fffffff5;border-color:#7098ba5c}:root[data-theme=light] .chart-window-timeframe:hover,:root[data-theme=light] .chart-window-tool:hover{color:#173f60;border-color:#5189c08f}:root[data-theme=light] .chart-window-timeframe.is-active,:root[data-theme=light] .chart-window-tool.is-active{color:#0f3453;background:linear-gradient(#cbe2f8fa,#b1d4f3f2);border-color:#5189c09e}:root[data-theme=light] .backtest-indicators-popover{background:#fcfffffa;border-color:#7098ba66;box-shadow:0 12px 26px #6285a533}:root[data-theme=light] .backtest-indicator-search input{color:#173f60;background:#fffffffa;border-color:#7098ba5c}:root[data-theme=light] .backtest-indicator-option{color:#163a59;background:#f6fcfffa;border-color:#7098ba5c}:root[data-theme=light] .backtest-indicator-item{background:#f7fcfff0;border-color:#7098ba52}:root[data-theme=light] .backtest-indicator-item.is-selected{border-color:#5189c085;box-shadow:inset 0 0 0 1px #5189c033}:root[data-theme=light] .backtest-indicator-item-main span{color:#163a59}:root[data-theme=light] .backtest-indicator-item-main small{color:#486682eb}:root[data-theme=light] .backtest-indicator-delete{color:#8c1a27;background:#ffebebe0;border-color:#c958586b}:root[data-theme=light] .backtest-indicator-settings-popover{background:#fcfffffa;border-color:#7098ba66;box-shadow:0 12px 26px #6285a533}:root[data-theme=light] .backtest-indicator-settings-popover label{color:#486682eb}:root[data-theme=light] .backtest-indicator-settings-popover input:not([type=checkbox]){color:#173f60;background:#fffffffa;border-color:#7098ba5c}:root[data-theme=light] .distribution-count,:root[data-theme=light] .distribution-label{color:#4a6883e6}:root[data-theme=light] .data-table tbody tr:nth-child(odd){background:#e4f1fc99}:root[data-theme=light] .trades-table .trades-table-row:hover,:root[data-theme=light] .trade-analysis-stats-table tbody tr:hover{background:#cce2f6c2}:root[data-theme=light] .trade-analysis-stats-table tbody tr.trade-analysis-stats-divider:hover{background:0 0}:root[data-theme=light] .trade-calendar-month-label{color:#486682f2;background:#f6fbfff5;border-color:#6f96b76b}:root[data-theme=light] .trade-calendar-month-nav{color:#486682f2;background:#f6fbfff5;border-color:#6f96b76b;box-shadow:inset 0 1px #ffffffd1}:root[data-theme=light] .trade-calendar-month-nav:hover:not(:disabled){color:#163b5a;background:#ecf6fffa;border-color:#5189c099}:root[data-theme=light] .trade-calendar-day{background:#fafdfff5;border-color:#6f96b757}:root[data-theme=light] .trade-calendar-day.is-positive{background:linear-gradient(165deg,#edfcf6fa,#f6fcfff5);border-color:#4ab98e70}:root[data-theme=light] .trade-calendar-day.is-negative{background:linear-gradient(165deg,#fff3f4fa,#f6fafff5);border-color:#d2606070}:root[data-theme=light] .trade-calendar-day.is-empty{background:#f7fcffeb}:root[data-theme=light] .trade-calendar-day-empty{border-color:#6f96b73d}:root[data-theme=light] .trade-calendar-day-metric{color:#486682eb}:root[data-theme=light] .trade-calendar-day-metric strong{color:#163b5a}:root[data-theme=light] .trade-calendar-summary{border-top-color:#6f96b74d}:root[data-theme=light] .trade-calendar-summary-label{color:#486682f2}:root[data-theme=light] .trade-list li{background:#fafdfff2;border-color:#719abc52}.chat-panel{gap:.72rem;display:grid}.chat-page{gap:.8rem;display:grid}.chat-page-embedded{min-height:100dvh;padding:0}.chat-page .chat-panel{grid-template-rows:auto minmax(0,1fr) auto auto auto auto;min-height:clamp(26rem,62vh,46rem);padding-bottom:.55rem}.chat-page-embedded .chat-panel{border-left:none;border-right:none;border-radius:0;gap:.52rem;min-height:100dvh;padding:.72rem .72rem .34rem}.chat-page-embedded .chat-toolbar h3{font-size:1.02rem}.chat-page-embedded .chat-provider-label{font-size:.68rem}.chat-page-embedded .chat-provider-trigger,.chat-page-embedded .chat-clear-btn{padding:.3rem .5rem;font-size:.74rem}.chat-page-embedded .chat-list{gap:.38rem}.chat-page-embedded .chat-item{padding:.45rem .54rem}.chat-page-embedded .chat-item>strong{font-size:.7rem}.chat-page-embedded .chat-message{font-size:.93rem;line-height:1.34}.chat-page-embedded .chat-prompt-chip{padding:.42rem .55rem;font-size:.86rem;line-height:1.22}.chat-page-embedded .chat-form{grid-template-columns:1fr auto;align-items:end;gap:.38rem;margin-top:0}.chat-page-embedded .chat-form textarea{min-height:calc(1.2em + .88rem + 2px);padding:.44rem .5rem;font-size:.92rem;line-height:1.2}.chat-page-embedded .chat-form button{white-space:nowrap;align-self:end;padding:.45rem .62rem}.chat-page-embedded .chat-status{font-size:.75rem}.chat-page-embedded .chat-prompts-right{margin:.3rem 0 0 .72rem}.chat-page .hero h2{margin:.2rem 0}.chat-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.55rem;display:flex}.chat-page .chat-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.72rem;display:grid}.chat-toolbar h3{margin:0}.chat-toolbar-actions{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.chat-page .chat-toolbar-actions{justify-self:end}.chat-model-control{align-items:center;gap:.45rem;display:flex}.chat-provider-label{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.76rem}.chat-provider-dropdown{flex:none;min-width:0}.chat-provider-trigger{padding:.4rem .62rem;font-size:.8rem;line-height:1.2}.chat-provider-dropdown .backtest-strategy-select-caret{display:none}.chat-clear-btn{padding:.4rem .62rem;font-size:.8rem}.chat-prompts{flex-wrap:wrap;gap:.4rem;display:flex}.chat-page .chat-prompts{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.45rem;display:grid}.chat-page .chat-prompts-right{flex-direction:column;align-items:flex-end;gap:.45rem;margin:.6rem 0 0 1.5rem;display:flex}.chat-item .chat-prompts{margin-top:.6rem}.chat-prompt-chip{background:#0b1d2db8;border-color:#70b8fa73;border-radius:999px;padding:.25rem .56rem;font-size:.76rem}.chat-page .chat-prompt-chip{text-align:left;white-space:normal;border-radius:12px;padding:.5rem .66rem;font-size:1rem;line-height:1.32}.chat-list{grid-auto-rows:max-content;align-content:start;gap:.55rem;max-height:460px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.chat-page .chat-list{height:100%;min-height:0;max-height:none}.chat-page .chat-form textarea{min-height:calc(1.25em + 1.04rem + 2px);line-height:1.25}.chat-item{border:1px solid var(--line);background:#080f18e0;border-radius:10px;justify-self:start;width:fit-content;max-width:min(112ch,100%);padding:.6rem .7rem}.chat-item>strong{color:var(--muted);margin-bottom:.2rem;font-size:.78rem;display:block}.chat-message{overflow-wrap:anywhere;line-height:1.42}.chat-message-plain{white-space:pre-wrap}.chat-message-markdown{word-break:break-word}.chat-message-markdown :where(strong){font-size:1.06em;font-weight:750;display:inline}.chat-message-markdown>:first-child{margin-top:0}.chat-message-markdown>:last-child{margin-bottom:0}.chat-message-markdown :where(p,ul,ol,pre,blockquote,table){margin:.35rem 0}.chat-message-markdown :where(table){width:max-content;min-width:100%;max-width:100%;display:block;overflow-x:auto}.chat-message-markdown :where(ul,ol){padding-left:1.2rem}.chat-message-markdown :where(li){margin:.18rem 0}.chat-message-markdown :where(h1,h2,h3){margin:.5rem 0 .28rem;font-weight:700;line-height:1.2}.chat-message-markdown h1{font-size:1.18rem}.chat-message-markdown h2{font-size:1.1rem}.chat-message-markdown h3{font-size:1.12rem}.chat-message-markdown :where(code){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9em}.chat-message-markdown :where(p code,li code){background:#0a192666;border:1px solid #99cafd38;border-radius:6px;padding:.12rem .28rem}.chat-message-markdown :where(pre){background:#06111bb8;border:1px solid #99cafd33;border-radius:10px;padding:.55rem .6rem;overflow:auto}.chat-message-markdown :where(blockquote){background:#0a192652;border-left:3px solid #4ad2ab8c;border-radius:10px;margin:.45rem 0;padding:.35rem .55rem}.chat-message-markdown :where(pre code){white-space:pre;background:0 0;border:0;padding:0;display:block}.chat-message-markdown :where(hr){border:0;border-top:1px solid #99cafd38;margin:.55rem 0}.chat-user{background:#0a1a28e6;border-color:#63b0ff99;justify-self:end}.chat-assistant{border-color:#4ad2ab80}.chat-message-error{background:#48161c8c;border-color:#f872728c}.chat-meta{gap:.3rem;margin-top:.5rem;display:grid}.chat-meta span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.7rem}.chat-tag-list{flex-wrap:wrap;gap:.34rem;margin:0;padding:0;list-style:none;display:flex}.chat-tag-list li{background:#0a1926b8;border:1px solid #99cafd61;border-radius:999px;padding:.12rem .42rem;font-size:.73rem}.chat-action-list{gap:.25rem;margin:0;padding-left:1.1rem;font-size:.84rem;display:grid}.chat-status{color:var(--muted);margin:0;font-size:.82rem}.chat-form{grid-template-columns:1fr auto;align-items:end;gap:.5rem;margin-top:.12rem;display:grid}.chat-form textarea{border:1px solid var(--line);color:var(--text);font:inherit;resize:vertical;background:#06111beb;border-radius:10px;padding:.52rem .62rem}.dashboard-chat-form textarea{min-height:calc(3.75em + 1.04rem + 2px);line-height:1.25}.chat-hint{color:var(--muted);margin:0;font-size:.75rem}:root[data-theme=light] .chat-prompt-chip{background:#f1f9fff2;border-color:#5b91c273}:root[data-theme=light] .chat-user{background:#e3f2ffdb}:root[data-theme=light] .chat-assistant{background:#f0fcf7e0}:root[data-theme=light] .chat-message-error{background:#ffedefeb}:root[data-theme=light] .chat-tag-list li{background:#f3f9fff2;border-color:#6f96b773}:root[data-theme=light] .chat-form textarea{background:#fffffff5}:root[data-theme=light] .chat-message-markdown :where(p code,li code){background:#f1f9fff2;border-color:#6f96b747}:root[data-theme=light] .chat-message-markdown :where(pre){background:#f3f9fff2;border-color:#6f96b740}:root[data-theme=light] .chat-message-markdown :where(hr){border-top-color:#6f96b747}:root[data-theme=light] .chat-message-markdown :where(blockquote){background:#f1f9ffe6;border-left-color:#2b6fb073}.dashboard-chat-fab{z-index:125;color:#f1f8ff;background:linear-gradient(145deg,#1569b3f2,#124b86f2);border:1px solid #7eb9f28c;border-radius:999px;place-items:center;width:3.2rem;height:3.2rem;transition:transform .13s,box-shadow .13s,opacity .13s;display:grid;position:fixed;bottom:1.1rem;right:1.1rem;box-shadow:0 12px 28px #06142166}.dashboard-chat-fab svg{fill:currentColor;width:1.3rem;height:1.3rem}.dashboard-chat-fab:hover{transform:translateY(-2px);box-shadow:0 16px 32px #05101c7a}.dashboard-chat-fab.is-hidden{opacity:0;pointer-events:none;transform:translateY(8px)scale(.95)}.dashboard-chat-overlay{z-index:124;background:#040b136b;position:fixed;inset:0}.dashboard-chat-drawer{border:1px solid var(--line);background:#0a131df7;border-radius:16px;flex-direction:column;gap:.5rem;width:min(25rem,100vw - 2rem);height:fit-content;min-height:550px;max-height:calc(100dvh - 2rem);padding:.72rem;animation:.18s ease-out dashboard-chat-in;display:flex;position:absolute;top:auto;bottom:1rem;right:1rem;box-shadow:0 24px 44px #020a127a}.dashboard-chat-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.dashboard-chat-head h3{margin:0;font-size:.97rem}.dashboard-chat-list{flex:auto;gap:.45rem;min-height:0;max-height:none}.dashboard-chat-list .chat-item{max-width:100%;padding:.52rem .6rem}.dashboard-chat-list .chat-user{justify-self:end}.dashboard-chat-list .chat-assistant{justify-self:start}:root[data-theme=light] .dashboard-chat-fab{color:#f7fbff;background:linear-gradient(145deg,#488fd0f2,#2b6fb0f2);border-color:#4788c48c}:root[data-theme=light] .dashboard-chat-overlay{background:#0c18263d}:root[data-theme=light] .dashboard-chat-drawer{background:#fafdfffc;box-shadow:0 20px 38px #162e463d}@keyframes dashboard-chat-in{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.good{color:var(--good)}.bad{color:var(--bad)}@keyframes draw-line{to{stroke-dashoffset:0}}@keyframes fade-in-area{0%{opacity:0}to{opacity:1}}@keyframes grow-bar{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes rise-fill{0%{height:0}}@media (max-width:1000px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-runtime-results,.admin-usage-grid,.backtest-kpis,.panel-grid{grid-template-columns:1fr}.backtest-overview-top-row,.metric-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.backtest-overview-parameter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-grid{grid-template-columns:1fr}.landing-style-toolbar{flex-direction:column;align-items:flex-start}.landing-style-select-wrap{width:100%;min-width:0}.landing-style-select{width:100%}.landing-average-win-card{grid-template-columns:1fr}.landing-average-win-copy{order:-1;padding:0}.landing-average-win-plot-wrap{height:510px}.distribution-chart{grid-template-columns:repeat(7,minmax(0,1fr))}.account-lite-grid,.settings-layout,.feature-suggestions-layout{grid-template-columns:1fr}.account-lite-analytics{grid-column:auto}.payment-plan-grid,.dummy-payment-row{grid-template-columns:1fr}}@media (max-width:560px){.backtest-mode-head{flex-direction:column;align-items:stretch}.landing-hero-head{grid-template-columns:1fr}.landing-hero-actions{justify-content:flex-start;margin-top:.55rem;position:static}.landing-animation-toggle{justify-self:start}.landing-average-win-head h2{font-size:1.15rem}.landing-average-win-head p{font-size:.96rem}.landing-average-win-plot-wrap{height:390px;min-height:300px}.chat-page .chat-toolbar{grid-template-columns:1fr}.chat-page .chat-toolbar-actions{justify-self:start}.chat-page .chat-prompts{grid-template-columns:1fr}.topbar-inner{gap:.65rem;padding:.72rem .75rem}.brand{min-width:0}.menu{grid-template-columns:1fr auto;gap:.35rem;width:100%;padding:.3rem;display:grid}.menu-left{white-space:nowrap;flex-wrap:nowrap;padding-bottom:.2rem;overflow-x:auto}.menu-right{justify-content:flex-end;margin-left:0}.profile-name{max-width:120px}.settings-choice-row{grid-template-columns:1fr 1fr;display:grid}.settings-choice-row .settings-choice{width:100%}.account-fields,.account-profile-actions{grid-template-columns:1fr}.account-profile-actions{display:grid}.account-lite-stats,.backtest-input-grid,.backtest-strategy-row,.trade-upload-actions,.account-credit-grid{grid-template-columns:1fr}.trade-upload-actions{display:grid}.trade-upload-buttons{flex-wrap:wrap;justify-content:flex-start;width:100%;margin-left:0}.trade-admin-shared-users-panel .trade-admin-shared-users-head{flex-direction:column;align-items:flex-start}.trade-upload-panel .trade-upload-actions button{margin-left:0}.trade-analysis-filter-head,.trade-strategy-editor-head,.trade-strategies-list-head,.trade-strategy-card-head,.trade-strategy-card-actions{flex-direction:column;align-items:flex-start}.backtest-reset-inline{justify-self:start}.admin-overview-row,.backtest-kpis,.backtest-overview-top-row,.backtest-parameter-grid,.backtest-overview-parameter-grid{grid-template-columns:1fr}.backtest-parameter-section legend{max-width:100%}.backtest-parameter-section-head{justify-content:flex-start;align-items:flex-start;margin:0 0 .38rem;display:flex;position:static}.backtest-parameter-add-hint{max-width:100%}.backtest-parameter-set-item{flex-direction:column;align-items:stretch}.backtest-result-item-meta{grid-template-columns:1fr;gap:.2rem}.admin-overview-row{gap:.25rem}.admin-runtime-kpis,.admin-usage-grid,.backtest-action-row{grid-template-columns:1fr}.backtest-action-row{display:grid}.account-connections-head{flex-direction:column}.distribution-chart{grid-template-columns:repeat(7,minmax(0,1fr))}.trade-list li{grid-template-columns:1fr 1fr}.chat-form{grid-template-columns:1fr}.chat-page-embedded .chat-form{grid-template-columns:1fr auto}.chat-assistant,.chat-user{margin-left:0;margin-right:0}.dashboard-chat-fab{bottom:.8rem;right:.8rem}.dashboard-chat-drawer{width:auto;height:auto;max-height:none;inset:.5rem}.landing-footer{justify-content:flex-start;display:grid}.landing{border-radius:16px}}.documentation-panel{margin-top:1rem}.documentation-intro-panel{min-height:0}.documentation-category-title{letter-spacing:.01em;font-size:clamp(1.25rem,2.1vw,1.65rem);line-height:1.2}.documentation-anchor-target{scroll-margin-top:110px}.documentation-toc{gap:.55rem;margin-top:.65rem;display:grid}.documentation-toc-group,.documentation-toc-subgroup{background:#07111c66;border:1px solid #99cafd3d;border-radius:10px;padding:.5rem .6rem}.documentation-toc-subgroup{background:#07111c47;margin-top:.2rem}.documentation-toc-group>summary,.documentation-toc-subgroup>summary{cursor:pointer;color:var(--text);-webkit-user-select:none;user-select:none;font-size:.92rem;font-weight:600;list-style:none}.documentation-toc-group>summary::-webkit-details-marker{display:none}.documentation-toc-subgroup>summary::-webkit-details-marker{display:none}.documentation-toc-group>summary:before,.documentation-toc-subgroup>summary:before{content:"▸";color:var(--muted);margin-right:.4rem;transition:transform .15s;display:inline-block}.documentation-toc-group[open]>summary:before,.documentation-toc-subgroup[open]>summary:before{transform:rotate(90deg)}.documentation-toc-links{gap:.24rem;margin-top:.45rem;padding-left:1.3rem;display:grid}.documentation-toc-links-indented{padding-left:1rem}.documentation-toc a{color:var(--text);border-radius:6px;padding:.1rem .32rem;font-size:.85rem;text-decoration:none}.documentation-toc a:hover{color:#7dd3fc;background:#7dd3fc24;text-decoration:none}.documentation-item-grid{gap:.8rem;margin-top:.9rem;display:grid}.documentation-item{background:#07111c85;border:1px solid #99cafd33;border-radius:12px;padding:.85rem}.documentation-item h4{margin:0;font-size:1rem}.documentation-item h5{margin:0 0 .35rem;font-size:.9rem}.documentation-item p{margin:.35rem 0 0}.documentation-item-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.45rem;display:flex}.documentation-badge-row{flex-wrap:wrap;gap:.35rem;display:flex}.documentation-badge{color:var(--muted);background:#07121da3;border:1px solid #99cafd59;border-radius:999px;padding:.15rem .5rem;font-size:.72rem}.documentation-outputs{color:var(--muted)}.documentation-table-wrap{margin-top:.6rem}.documentation-table .documentation-details{white-space:normal;min-width:260px}.documentation-table .documentation-calculation{white-space:pre-line;min-width:280px}.documentation-key{color:var(--muted);margin-top:.2rem;font-size:.74rem}.documentation-empty{color:var(--muted);margin-top:.55rem}.documentation-subsection{border-top:1px dashed #99cafd38;margin-top:.7rem;padding-top:.55rem}.documentation-notes{margin-top:.55rem}.documentation-notes p{margin:.25rem 0 0}:root[data-theme=light] .documentation-item{background:#f0f8ffb8;border-color:#2e6fa238}:root[data-theme=light] .documentation-badge{color:#30577a;background:#e6f2fcd6;border-color:#2e6fa259}:root[data-theme=light] .documentation-subsection{border-top-color:#2e6fa240}:root[data-theme=light] .documentation-toc-group,:root[data-theme=light] .documentation-toc-subgroup{background:#ebf6ffb8;border-color:#2e6fa242}:root[data-theme=light] .documentation-toc-subgroup{background:#ebf6ff7a}:root[data-theme=light] .documentation-toc a:hover{background:#2e6fa21f}.backtest-run-list{flex-direction:column;gap:.85rem;margin:0;padding:0;list-style:none;display:flex}.backtest-filter-row{flex-wrap:wrap;gap:1rem;margin-bottom:1rem;display:flex}.backtest-run-actions{align-items:center;gap:.75rem;display:flex}.backtest-run-item{border-bottom:1px dashed #ffffff14;padding-bottom:.75rem}.backtest-run-item:last-child{border-bottom:0;padding-bottom:0}.backtest-run-header{justify-content:space-between;align-items:center;gap:.75rem;font-weight:500;display:flex}.backtest-run-id{word-break:break-word;font-family:JetBrains Mono,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.backtest-run-status{color:var(--muted);text-transform:capitalize;font-size:.85rem}.backtest-run-meta{color:var(--muted);margin:.35rem 0 0;font-size:.85rem}.backtest-run-metrics{color:var(--muted);flex-wrap:wrap;gap:.75rem;margin:.35rem 0 0;font-size:.85rem;display:flex}.backtest-run-metric{font-weight:500}.model-lab-form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.model-lab-field span{color:#93c5fd;letter-spacing:.02em;font-size:12px}.model-lab-field input{color:#e2e8f0;background:#0b1220;border:1px solid #24324a;border-radius:10px;padding:10px 12px}.model-lab-selectors{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.model-lab-selector-group{flex-direction:column;gap:8px;display:flex}.model-lab-chips{flex-wrap:wrap;gap:8px;display:flex}.model-lab-chip{color:#cbd5e1;cursor:pointer;background:#111827;border:1px solid #334155;border-radius:999px;padding:6px 12px}.model-lab-chip.is-active{color:#e0f2fe;background:#082f49;border-color:#0ea5e9}.model-lab-results-head{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px;display:flex}.model-lab-table-wrap{overflow:auto}.model-lab-table{border-collapse:collapse;width:100%;font-size:13px}.model-lab-table th,.model-lab-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #1f2937;padding:8px}.model-lab-eval-btn{margin-top:12px}.model-lab-outsample-summary{background:#082f49;border:1px solid #164e63;border-radius:10px;margin-top:12px;padding:12px}.model-lab-hist-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.model-lab-hist-card{background:#0b1220;border:1px solid #1f2937;border-radius:10px;padding:10px}.model-lab-hist-plot{background:linear-gradient(#0f172a,#020617);border:1px solid #1e293b;border-radius:8px;height:130px;margin-top:10px;position:relative}.model-lab-hist-bar{background:#0ea5e9;border-radius:3px 3px 0 0;position:absolute;bottom:0}.model-lab-curve-plots{grid-template-columns:1fr;gap:14px;display:grid}.model-lab-curve-card{background:#020617;border:1px solid #1f2937;border-radius:10px;padding:10px}.model-lab-curve-svg{background:linear-gradient(#0b1220,#020617);border:1px solid #0f172a;border-radius:8px;width:100%;height:auto}.model-lab-page{flex-direction:column;gap:.75rem;display:flex}.model-lab-section-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.25rem;display:flex}.model-lab-section-actions{background:#0f172ae6;border:1px solid #334155f2;border-radius:999px;flex-wrap:nowrap;justify-content:flex-end;align-items:stretch;display:inline-flex;overflow:hidden}.model-lab-section-actions .model-lab-pill{background:0 0;border:0;border-radius:0;min-height:30px;padding:.35rem .7rem;font-size:.76rem;transform:none}.model-lab-section-actions .model-lab-pill:hover{transform:none}.model-lab-section-actions .model-lab-pill+.model-lab-pill{border-left:1px solid #334155bf}.model-lab-section-actions .model-lab-pill.is-active{border-color:#0000}.model-lab-section-head h3{margin:0}.model-lab-header{justify-content:space-between;align-items:flex-start;gap:1rem;min-height:80px;margin-bottom:0;display:flex;position:relative}.model-lab-header .hero{flex:1}.model-lab-header .hero h2{margin:.2rem 0;line-height:1.2}.model-lab-sticky-wrapper{z-index:100;align-self:flex-start;max-width:280px;margin-left:auto;position:sticky;top:64px}.model-lab-sticky-wrapper.is-sticky .model-lab-run-note{display:none}.model-lab-sticky-wrapper.is-sticky .model-lab-run-note-compact{display:flex}.model-lab-sticky-wrapper{z-index:100;align-self:flex-start;max-width:280px;margin-bottom:0;margin-left:auto;position:sticky;top:64px}.model-lab-sticky-wrapper.is-sticky{z-index:1000;max-width:180px;position:fixed;top:90px;right:20px}.model-lab-run-note-compact{display:none}.model-lab-run-note{background:linear-gradient(145deg,#081427f5,#062c43b8);border:1px solid #38bdf838;border-radius:18px;min-width:220px;max-width:280px;padding:1rem 1.1rem;box-shadow:inset 0 1px #ffffff08}.model-lab-run-note-compact{min-width:auto;max-width:150px;padding:.5rem .75rem}.model-lab-run-note strong{color:#f8fafc;font-size:1.25rem;line-height:1.2;display:block}.model-lab-run-note span{color:#94a3b8;margin-top:.45rem;font-size:.8rem;line-height:1.45;display:block}.model-lab-form{flex-direction:column;gap:1rem;display:flex}.model-lab-field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;display:grid}.model-lab-field{flex-direction:column;gap:.45rem;display:flex}.model-lab-field span{letter-spacing:.04em;text-transform:uppercase;color:#93c5fd;font-size:.78rem}.model-lab-label-line{align-items:center;gap:.35rem;display:inline-flex}.model-lab-help-dot{color:#cbd5e1;text-transform:none;cursor:help;border:1px solid #93c5fd80;border-radius:999px;justify-content:center;align-items:center;width:1rem;height:1rem;font-size:.68rem;font-weight:700;line-height:1;display:inline-flex}.model-lab-field input{color:#e2e8f0;background:#020617eb;border:1px solid #334155f2;border-radius:14px;width:100%;min-height:44px;padding:.8rem .95rem;transition:border-color .18s,box-shadow .18s,background .18s}.model-lab-field input:focus{border-color:#38bdf8cc;outline:none;box-shadow:0 0 0 3px #38bdf824}.model-lab-field .backtest-strategy-select,.model-lab-field .backtest-strategy-select-trigger{width:100%}.model-lab-field-grid.is-advanced{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:1rem}.model-lab-input-groups{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.model-lab-chart-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.model-lab-input-group{background:linear-gradient(#080f1fdb,#030813f0);border:1px solid #1e293bf2;border-radius:18px;padding:.75rem}.model-lab-input-group-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.9rem;display:flex}.model-lab-input-group-head strong{color:#f8fafc;font-size:.95rem}.model-lab-input-group-head span{color:#94a3b8;text-align:right;max-width:280px;font-size:.8rem;line-height:1.45}.model-lab-chip-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;display:grid}.model-lab-chip-grid.is-compact{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))}.model-lab-pill{color:#cbd5e1;cursor:pointer;background:#0f172ae6;border:1px solid #334155f2;border-radius:999px;min-height:40px;padding:.62rem .8rem;font-size:.86rem;font-weight:600;transition:transform .18s,border-color .18s,background .18s,color .18s}.model-lab-pill:hover,.model-lab-chip:hover{transform:translateY(-1px)}.model-lab-pill.is-active{color:#f0f9ff;background:linear-gradient(135deg,#0e749057,#082f49c7);border-color:#38bdf8b3}.model-lab-inline-edit{align-items:center;gap:.5rem;display:flex}.model-lab-inline-edit input{color:#cbd5e1;background:#0f172ae6;border:1px solid #334155f2;border-radius:8px;min-width:100px;padding:.5rem .7rem;font-size:.86rem}.model-lab-inline-edit input:focus{border-color:#38bdf8b3;outline:none;box-shadow:0 0 0 2px #38bdf833}.model-lab-inline-edit input::placeholder{color:#64748b}.model-lab-inline-edit .model-lab-pill{z-index:10;position:relative}.model-lab-pill.is-cancel{color:#fff;background:#b91c1c;border-color:#ef4444}.model-lab-pill.is-cancel:hover{background:#dc2626;border-color:#f87171}.model-lab-chip.is-cancel{color:#fff;background:#b91c1c;border-color:#ef4444}.model-lab-chip.is-cancel:hover{background:#dc2626;border-color:#f87171}.model-lab-inline-edit-chip{flex-wrap:wrap;width:100%}.model-lab-inline-edit-chip input:first-child,.model-lab-inline-edit-chip input:nth-child(2){flex:1;min-width:120px}.model-lab-chip{color:#cbd5e1;cursor:pointer;text-align:left;background:#0f172ae0;border:1px solid #334155f2;border-radius:16px;flex-direction:column;align-items:flex-start;gap:.32rem;width:100%;padding:.95rem 1rem;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s;display:flex}.model-lab-chip strong{color:#f8fafc;font-size:.95rem}.model-lab-chip span{color:#94a3b8;font-size:.8rem;line-height:1.45}.model-lab-chip.is-active{background:linear-gradient(145deg,#064e3b80,#081427eb);border-color:#34d3998c;box-shadow:0 12px 28px #0f766e24}.model-lab-chip.is-active span,.model-lab-pill.is-active{color:#ecfeff}.model-lab-advanced{border-top:1px solid #1e293be6;padding-top:1rem}.model-lab-advanced summary{cursor:pointer;color:#cbd5e1;font-size:.9rem;font-weight:600}.model-lab-actions{flex-wrap:wrap;align-items:center;gap:.8rem;display:flex}.model-lab-primary-btn{color:#020617;cursor:pointer;background:linear-gradient(135deg,#0ea5e9,#14b8a6);border:0;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:.78rem 1.2rem;font-size:.92rem;font-weight:700;transition:transform .18s,box-shadow .18s,opacity .18s;display:inline-flex;box-shadow:0 16px 30px #14b8a62e}.model-lab-primary-btn:hover{transform:translateY(-1px);box-shadow:0 18px 34px #0ea5e93d}.model-lab-primary-btn:disabled{cursor:not-allowed;opacity:.55;box-shadow:none;transform:none}.model-lab-warning-list{color:#fecaca;background:#450a0a73;border:1px solid #f8717159;border-radius:16px;margin-top:1rem;padding:1rem 1.05rem}.model-lab-warning-list strong{margin-bottom:.55rem;display:block}.model-lab-warning-list p{margin:.3rem 0 0}.model-lab-selection-box{background:#080f1fc7;border:1px solid #334155e6;border-radius:16px;min-width:180px;padding:.95rem 1rem}.model-lab-selection-box strong{color:#f8fafc;font-size:1.3rem;display:block}.model-lab-selection-box span{color:#94a3b8;margin-top:.3rem;font-size:.82rem;display:block}.model-lab-toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.model-lab-metric-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.8rem;margin-bottom:1rem;display:grid}.model-lab-metric-card{background:linear-gradient(#080f1feb,#020617f5);border:1px solid #1e293bf2;border-radius:16px;flex-direction:column;gap:.34rem;min-height:112px;padding:.95rem 1rem;display:flex}.model-lab-metric-card span{letter-spacing:.04em;text-transform:uppercase;color:#94a3b8;font-size:.77rem}.model-lab-metric-card strong{color:#f8fafc;font-size:1.25rem;line-height:1.1}.model-lab-metric-card small{color:#64748b}.model-lab-table-wrap{border:1px solid #1e293be0;border-radius:18px;overflow:auto}.model-lab-table{border-collapse:collapse;table-layout:auto;width:100%;min-width:100%;font-size:.88rem}.model-lab-table thead th{z-index:1;color:#93c5fd;text-align:left;letter-spacing:.05em;text-transform:uppercase;white-space:normal;background:#080f1ff5;border-bottom:1px solid #334155d9;padding:.4rem .35rem;font-size:.76rem;position:sticky;top:0}.model-lab-table-sort{font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:inline}.model-lab-table-sort:hover{color:#e0f2fe}.model-lab-table-sort:focus-visible{outline-offset:3px;border-radius:8px;outline:2px solid #38bdf8a6}.model-lab-table thead th[aria-sort=ascending] .model-lab-table-sort:after{content:" ▲";opacity:.9;font-size:.75em}.model-lab-table thead th[aria-sort=descending] .model-lab-table-sort:after{content:" ▼";opacity:.9;font-size:.75em}.model-lab-table tbody td{color:#dbe4f0;vertical-align:top;border-bottom:1px solid #1e293bb3;padding:.45rem .35rem}.model-lab-table thead th:first-child,.model-lab-table tbody td:first-child{padding-inline:.3rem}.model-lab-table tbody tr:hover{background:#0ea5e912}.model-lab-table input{accent-color:#14b8a6}.model-lab-model-cell{flex-direction:column;gap:.2rem;max-width:240px;display:flex}.model-lab-model-cell strong{color:#f8fafc}.model-lab-model-cell span{color:#94a3b8;text-transform:capitalize}.model-lab-model-cell small{color:#64748b;white-space:normal;overflow-wrap:anywhere;line-height:1.35}.model-lab-table th,.model-lab-table td{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.model-lab-table thead th:first-child,.model-lab-table tbody td:first-child{width:32px}.model-lab-table thead th:nth-child(2),.model-lab-table tbody td:nth-child(2){min-width:88px}.model-lab-table thead th:nth-child(3),.model-lab-table tbody td:nth-child(3){min-width:110px}.model-lab-table thead th:nth-child(4),.model-lab-table tbody td:nth-child(4),.model-lab-table thead th:nth-child(5),.model-lab-table tbody td:nth-child(5){min-width:72px}.model-lab-table thead th:nth-child(6),.model-lab-table tbody td:nth-child(6){min-width:80px}.model-lab-table thead th:nth-child(7),.model-lab-table tbody td:nth-child(7){min-width:88px}.model-lab-table thead th:nth-child(8),.model-lab-table tbody td:nth-child(8),.model-lab-table thead th:nth-child(9),.model-lab-table tbody td:nth-child(9){min-width:72px}.model-lab-table thead th:nth-child(10),.model-lab-table tbody td:nth-child(10),.model-lab-table thead th:nth-child(11),.model-lab-table tbody td:nth-child(11){min-width:88px}.model-lab-table thead th[aria-sort=ascending] .model-lab-table-sort:after{content:"\\25B2";margin-left:.3rem}.model-lab-table thead th[aria-sort=descending] .model-lab-table-sort:after{content:"\\25BC";margin-left:.3rem}.model-lab-table thead th[aria-sort=ascending] .model-lab-table-sort:after{content:"▲"}.model-lab-table thead th[aria-sort=descending] .model-lab-table-sort:after{content:"▼"}.model-lab-chart-empty{color:#64748b;background:#020617bd;border:1px dashed #334155f2;border-radius:18px;justify-content:center;align-items:center;min-height:220px;display:flex}.model-lab-chart-grid{stroke:#4755694d;stroke-width:1px}.model-lab-histogram{flex-direction:column;gap:.75rem;display:flex}.model-lab-histogram svg,.model-lab-multi-curve svg{background:linear-gradient(#080f1ff2,#020617fa);border:1px solid #1e293be6;border-radius:18px;width:100%;height:auto}.model-lab-histogram-bar{fill:#0ea5e9;opacity:.92}.model-lab-histogram-count{fill:#e0f2fe;font-size:14px;font-weight:700}.model-lab-marker-line{stroke-width:2px;stroke-dasharray:5 6;opacity:.85}.model-lab-chart-foot{color:#cbd5e1;justify-content:space-between;align-items:center;gap:.8rem;font-size:.95rem;font-weight:600;display:flex}.model-lab-chart-foot span:nth-child(2){color:#e2e8f0}.model-lab-chart-card{flex-direction:column;gap:.85rem;display:flex}.model-lab-chart-card-title strong{color:#f8fafc;font-size:.98rem;display:block}.model-lab-chart-card-description{color:#94a3b8;margin:0;font-size:.88rem;line-height:1.55}.model-lab-multi-curve{flex-direction:column;gap:.75rem;display:flex}.model-lab-curve-path{opacity:.88}.model-lab-curve-endpoint{stroke:#080f1feb;stroke-width:1.2px}.model-lab-equity-baseline{stroke:#94a3b894;stroke-width:1.5px;stroke-dasharray:6 6}.model-lab-equity-crosshair{stroke:#bfdbfeb8;stroke-width:1.2px;stroke-dasharray:5 5;pointer-events:none}.model-lab-equity-crosshair.is-horizontal{stroke:#94a3b89e}.model-lab-equity-label rect{fill:#080f1ff5;stroke:#7dd3fc5c;stroke-width:1px}.model-lab-equity-label text{fill:#e2e8f0;font-size:11px;font-weight:600}.model-lab-equity-strategy-label text{font-size:10.5px}.model-lab-curve-legend{flex-wrap:wrap;gap:.55rem .9rem;display:flex}.model-lab-curve-legend-item{color:#cbd5e1;align-items:center;gap:.4rem;font-size:.78rem;display:inline-flex}.model-lab-curve-legend-item i{border-radius:999px;flex:none;width:12px;height:12px;display:inline-block}.model-lab-curve-legend-item.is-muted{color:#64748b}:root[data-theme=light] .model-lab-run-note{background:linear-gradient(145deg,#fffffffa,#e6f7fff2);border-color:#0e74902e}:root[data-theme=light] .model-lab-field input{color:#0f172a;background:#fff;border-color:#bfdbfef2}:root[data-theme=light] .model-lab-input-group{background:linear-gradient(#fffffffa,#f1f5f9eb);border-color:#bfdbfed9}:root[data-theme=light] .model-lab-pill{color:#334155;background:#fff;border-color:#bfdbfef2}:root[data-theme=light] .model-lab-pill.is-active{color:#0c4a6e;background:#e0f2fef2;border-color:#0ea5e970}:root[data-theme=light] .model-lab-chip{color:#334155;background:#fff;border-color:#bfdbfef2}:root[data-theme=light] .model-lab-chip.is-active{background:linear-gradient(145deg,#ecfdf5fa,#f0f9fffa);border-color:#10b98159}:root[data-theme=light] .model-lab-warning-list{color:#991b1b;background:#fef2f2f5}:root[data-theme=light] .model-lab-selection-box{background:#fffffff2;border-color:#bfdbfef2}:root[data-theme=light] .model-lab-metric-card{background:linear-gradient(#fffffffa,#f1f5f9eb);border-color:#bfdbfed9}:root[data-theme=light] .model-lab-table tbody tr:hover{background:#0ea5e914}:root[data-theme=light] .model-lab-chart-empty{color:#64748b;background:#ffffffeb;border-color:#bfdbfef2}@media (max-width:1000px){.model-lab-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-lab-input-groups,.model-lab-chart-grid{grid-template-columns:1fr}.model-lab-toolbar{flex-direction:column;align-items:stretch}.model-lab-section-head{flex-direction:column}.model-lab-chart-foot{flex-direction:column;align-items:flex-start}.model-lab-table-wrap{margin-inline:-.25rem}}@media (max-width:560px){.model-lab-field-grid,.model-lab-field-grid.is-advanced{grid-template-columns:1fr}.model-lab-run-note,.model-lab-selection-box{width:100%;min-width:0}.model-lab-chart-foot{gap:.3rem}}.model-lab-page-v2{flex-direction:column;gap:.35rem;display:flex;overflow:visible}.model-lab-hero{min-height:0;padding-top:.9rem;padding-bottom:.9rem;position:relative;overflow:hidden}.model-lab-hero-copy{z-index:1;position:relative}.model-lab-hero-copy h2{margin:0;line-height:1.08}.model-lab-field-grid.model-lab-field-grid-wide{grid-template-columns:repeat(4,minmax(0,1fr))}.model-lab-field-grid.model-lab-field-grid-tight{grid-template-columns:repeat(3,minmax(0,1fr))}.model-lab-select{color:#e2e8f0;background:#020617eb;border:1px solid #334155f2;border-radius:14px;width:100%;min-height:44px;padding:.8rem .95rem}.model-lab-chip-stack{flex-direction:column;gap:1rem;display:flex}.model-lab-toggle-row{grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr);align-items:stretch;gap:.9rem;display:grid}.model-lab-toggle-card{cursor:pointer;background:#0f172ad1;border:1px solid #334155e6;border-radius:18px;flex-direction:column;gap:.35rem;min-height:100px;padding:1rem;display:flex}.model-lab-toggle-card input{accent-color:#14b8a6;width:18px;height:18px}.model-lab-toggle-card span{color:#f8fafc;font-size:.95rem}.model-lab-toggle-card small{color:#94a3b8;line-height:1.45}.model-lab-toggle-card.is-active{background:linear-gradient(145deg,#064e3b6b,#081427eb);border-color:#14b8a68c}.model-lab-toggle-card-inline{justify-content:center}.model-lab-results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.model-lab-results-grid-single{grid-template-columns:1fr}.model-lab-insight-card{background:linear-gradient(#080f1feb,#020617f5);border:1px solid #1e293bf2;border-radius:18px;padding:1rem 1.05rem}.model-lab-insight-card h4{color:#f8fafc;margin:0 0 .85rem}.model-lab-collapsible summary{cursor:pointer;color:#f8fafc;margin:0;font-weight:700}.model-lab-collapsible[open] summary{margin-bottom:.85rem}.model-lab-definition-list{gap:.7rem;display:grid}.model-lab-definition-list div{border-bottom:1px solid #33415573;justify-content:space-between;gap:1rem;padding-bottom:.45rem;display:flex}.model-lab-definition-list span{color:#94a3b8;font-size:.82rem}.model-lab-definition-list strong{color:#e2e8f0;text-align:right}.model-lab-decision-list{flex-direction:column;gap:.7rem;display:flex}.model-lab-decision-item{background:#0f172a99;border:1px solid #334155a6;border-radius:14px;padding:.85rem .9rem}.model-lab-decision-item.is-selected{background:#0d363d59;border-color:#14b8a673}.model-lab-decision-item strong,.model-lab-decision-item span,.model-lab-decision-item small{display:block}.model-lab-decision-item span{color:#cbd5e1;margin-top:.25rem}.model-lab-decision-item small{color:#94a3b8;margin-top:.3rem;line-height:1.45}.model-lab-table-rich{min-width:0}.model-lab-feature-cell{flex-direction:column;gap:.2rem;max-width:160px;display:flex}.model-lab-feature-cell span{color:#cbd5e1}.model-lab-feature-cell small{color:#64748b;white-space:normal;overflow-wrap:anywhere}.model-lab-row-expandable{cursor:pointer}.model-lab-row-expandable:focus{outline-offset:-2px;outline:2px solid #7dd3fc73}.model-lab-row-expandable.is-expanded{background:#0ea5e914}.model-lab-row-detail td{background:0 0;padding:0!important}.model-lab-row-detail-shell{background:linear-gradient(#02061759,#02061794);border-top:1px solid #1e293bd9;padding:1.05rem 1.1rem}.model-lab-row-detail-shell .mono{font-family:JetBrains Mono,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.model-lab-row-detail-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.model-lab-row-detail-head strong{color:#f8fafc;display:block}.model-lab-row-detail-head small{color:#64748b;overflow-wrap:anywhere;margin-top:.25rem;display:block}.model-lab-row-detail-badges{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;display:flex}.model-lab-row-detail-badges span{color:#cbd5e1;background:#0f172aa6;border:1px solid #334155b3;border-radius:999px;padding:.25rem .5rem;font-size:.78rem}.model-lab-row-detail-grid{grid-template-columns:minmax(320px,1.2fr) minmax(340px,1fr) minmax(240px,.8fr);gap:.95rem;margin-top:.95rem;display:grid}.model-lab-row-detail-card{background:#0f172a8c;border:1px solid #1e293be6;border-radius:18px;padding:1rem}.model-lab-row-detail-card h4{color:#e2e8f0;letter-spacing:.01em;margin:0 0 .75rem;font-size:.92rem}.model-lab-row-detail-formula{color:#cbd5e1;white-space:pre-wrap;background:#0206178c;border:1px solid #33415599;border-radius:14px;max-height:240px;margin:0;padding:.75rem .85rem;font-size:.82rem;line-height:1.5;overflow:auto}.model-lab-row-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.85rem;display:grid}.model-lab-row-detail-meta div{background:#02061759;border:1px solid #1e293b8c;border-radius:14px;padding:.7rem .75rem}.model-lab-row-detail-meta span,.model-lab-row-detail-metrics span{color:#64748b;font-size:.78rem;display:block}.model-lab-row-detail-meta strong{color:#f8fafc;margin-top:.3rem;display:block}.model-lab-row-detail-meta small{color:#94a3b8;margin-top:.25rem;font-size:.78rem;display:block}.model-lab-row-detail-table-wrap{background:#02061759;border:1px solid #33415599;border-radius:14px;overflow:auto}.model-lab-row-detail-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0}.model-lab-row-detail-table thead th{z-index:1;text-align:left;color:#93c5fd;background:#020617d9;border-bottom:1px solid #334155b3;padding:.55rem clamp(.65rem,1.2vw,1rem);font-size:.75rem;position:sticky;top:0}.model-lab-row-detail-table tbody td{color:#cbd5e1;border-bottom:1px solid #1e293b8c;padding:.55rem clamp(.65rem,1.2vw,1rem);font-size:.82rem}.model-lab-row-detail-table th,.model-lab-row-detail-table td{text-overflow:ellipsis;overflow:hidden}.model-lab-row-detail-table thead th:first-child,.model-lab-row-detail-table tbody td:first-child{white-space:normal;overflow-wrap:anywhere}.model-lab-row-detail-table thead th:nth-child(2),.model-lab-row-detail-table thead th:nth-child(3),.model-lab-row-detail-table tbody td:nth-child(2),.model-lab-row-detail-table tbody td:nth-child(3){text-align:right}.model-lab-row-detail-table tbody tr:last-child td{border-bottom:0}.model-lab-row-detail-fallback ul{flex-direction:column;gap:.45rem;margin:.75rem 0 0;padding:0;list-style:none;display:flex}.model-lab-row-detail-fallback li{color:#cbd5e1;background:#02061759;border:1px solid #1e293b8c;border-radius:14px;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .65rem;font-size:.82rem;display:flex}.model-lab-row-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.model-lab-row-detail-metrics div{background:#02061759;border:1px solid #1e293b8c;border-radius:14px;padding:.7rem .75rem}.model-lab-row-detail-metrics strong{color:#f8fafc;margin-top:.25rem;display:block}@media (max-width:1100px){.model-lab-row-detail-grid{grid-template-columns:1fr}.model-lab-row-detail-badges{justify-content:flex-start}}.model-lab-window-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem;display:grid}.model-lab-window-card{background:linear-gradient(#080f1feb,#020617f5);border:1px solid #1e293bf2;border-radius:18px;padding:1rem}.model-lab-window-card span,.model-lab-window-card small{display:block}.model-lab-window-card span{letter-spacing:.05em;text-transform:uppercase;color:#7dd3fc;font-size:.74rem}.model-lab-window-card strong{color:#f8fafc;margin-top:.4rem;display:block}.model-lab-window-card small{color:#94a3b8;margin-top:.3rem}.model-lab-window-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.85rem;display:grid}.model-lab-window-stats div{background:#0f172ab8;border-radius:14px;padding:.7rem .75rem}.model-lab-window-stats span{color:#64748b}.model-lab-window-stats strong{margin-top:.22rem;font-size:1rem}.model-lab-correlation-matrix-wrap{border:1px solid #334155c7;border-radius:18px;overflow:auto}.model-lab-correlation-matrix{background:#02061780;grid-template-columns:220px repeat(12,minmax(76px,1fr));width:max-content;display:grid}.model-lab-correlation-corner,.model-lab-correlation-header,.model-lab-correlation-cell{border-bottom:1px solid #1e293bbf;border-right:1px solid #1e293bbf;min-height:56px;padding:.4rem .45rem}.model-lab-correlation-header{color:#cbd5e1;background:#080f1ff5;justify-content:flex-start;align-items:center;font-size:.72rem;font-weight:600;line-height:1.2;display:flex}.model-lab-correlation-header.is-column{text-align:left;writing-mode:vertical-rl;justify-content:center;align-items:flex-end;min-height:112px;transform:rotate(180deg)}.model-lab-correlation-header.is-row{z-index:1;position:sticky;left:0}.model-lab-correlation-corner{z-index:2;background:#080f1ffa;position:sticky;left:0}.model-lab-correlation-cell{color:#e2e8f0;background:#0f172ab8;justify-content:center;align-items:center;font-size:.8rem;font-weight:700;display:flex}.model-lab-correlation-cell.is-empty{color:#64748b;background:#080f1fc7}.model-lab-correlation-cell.is-hidden{color:#0000;background:#080f1f57}.model-lab-correlation-cell.is-low{background:#082f498c}.model-lab-correlation-cell.is-mid{background:#0891b27a}.model-lab-correlation-cell.is-high{color:#f8fafc;background:#0ea5e99e}.model-lab-correlation-cell.is-negative{color:#fee2e2;background:#b91c1c85}.model-lab-metric-card.is-good{border-color:#14b8a661}.model-lab-metric-card.is-warn{border-color:#f59e0b61}:root[data-theme=light] .model-lab-insight-card,:root[data-theme=light] .model-lab-window-card,:root[data-theme=light] .model-lab-toggle-card,:root[data-theme=light] .model-lab-window-stats div{background:linear-gradient(#fffffffa,#f1f5f9eb);border-color:#bfdbfee6}:root[data-theme=light] .model-lab-toggle-card span,:root[data-theme=light] .model-lab-insight-card h4,:root[data-theme=light] .model-lab-window-card strong{color:#0f172a}:root[data-theme=light] .model-lab-toggle-card small,:root[data-theme=light] .model-lab-window-card small,:root[data-theme=light] .model-lab-window-stats span{color:#475569}:root[data-theme=light] .model-lab-correlation-matrix-wrap{border-color:#bfdbfee6}:root[data-theme=light] .model-lab-correlation-header,:root[data-theme=light] .model-lab-correlation-corner{color:#0f172a;background:#f8fafcfa}:root[data-theme=light] .model-lab-correlation-cell{color:#0f172a}:root[data-theme=light] .model-lab-toggle-card.is-active{background:linear-gradient(145deg,#e0f2fef5,#eff6fff5);border-color:#0ea5e98c;box-shadow:0 18px 30px #7dd3fc2e}:root[data-theme=light] .model-lab-select{color:#0f172a;background:#fff;border-color:#bfdbfef2}@media (max-width:1200px){.model-lab-results-grid{grid-template-columns:1fr}}@media (max-width:1280px){.model-lab-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1000px){.model-lab-field-grid.model-lab-field-grid-wide,.model-lab-field-grid.model-lab-field-grid-tight,.model-lab-toggle-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.model-lab-field-grid.model-lab-field-grid-wide,.model-lab-field-grid.model-lab-field-grid-tight,.model-lab-toggle-row,.model-lab-window-stats{grid-template-columns:1fr}}
