/* Modern Gold. Classic Maxwell remains in brand.css; the preference is browser-local. */
.sr-modern-art,.sr-modern-hero,.sr-modern-story{display:none}
.sr-theme-trigger{font-size:11px;white-space:nowrap;padding:8px 11px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--text);cursor:pointer}
.sr-theme-trigger:before{content:'';width:11px;height:11px;border-radius:50%;background:linear-gradient(90deg,#d9ba77 50%,#191b1c 50%);border:1px solid #9e895e}
#sr-appearance{box-sizing:border-box;width:min(530px,calc(100vw - 32px));padding:28px;font:14px/1.6 'DM Sans',Arial,sans-serif}
.sr-appearance-head{display:flex;justify-content:space-between;align-items:start;gap:20px}.sr-appearance-head h2{font:650 28px/1.2 'DM Sans',Arial;margin:9px 0 0;letter-spacing:-1px}.sr-appearance-head button{border:0;background:transparent;font-size:24px;padding:0 8px;color:inherit}.sr-appearance-kicker{font-size:9px;letter-spacing:2px;color:var(--muted)}#sr-appearance>p{color:var(--muted);font-size:13px}#sr-appearance fieldset{padding:0;border:0;margin:22px 0}#sr-appearance legend{font-size:12px;margin-bottom:10px}.sr-theme-option{display:flex;gap:13px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:16px;margin:10px 0;cursor:pointer}.sr-theme-option:has(input:checked){border-color:var(--gold);background:var(--mint)}.sr-theme-option input{accent-color:#bc9955}.sr-theme-option strong,.sr-theme-option small{display:block}.sr-theme-option small{font-size:11px;margin-top:4px;color:var(--muted)}.sr-theme-swatch{width:31px;height:36px;border-radius:5px;flex-shrink:0}.sr-theme-swatch.modern{background:linear-gradient(135deg,#151718 60%,#d3b474 61%)}.sr-theme-swatch.classic{background:linear-gradient(135deg,#f8f6ef 55%,#173c31 56%)}#sr-appearance>.primary{width:100%;padding:11px;border:0;border-radius:7px;cursor:pointer}#sr-appearance .sr-theme-footnote{font-size:11px}
/* One readable metric list; category counts stay above it. */
.screen-metric-list.sr-metric-rows{display:block;list-style:none;max-height:240px;padding:0;margin:0}.sr-metric-rows li,.sr-column-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line)}.metric-list-link{border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;color:inherit!important;font-size:12px!important;text-align:left;font-weight:500!important}.metric-list-link:hover{text-decoration:underline;text-underline-offset:4px}.sr-column-row small,.sr-metric-rows small{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);white-space:nowrap}.sr-column-row .metric-name{min-width:0}.sr-column-row{padding:8px 3px}.category-note{margin:6px 0 15px!important}
html[data-theme=modern]{--ink:#f2eee3;--text:#dedcd4;--muted:#a3a399;--green:#ddc18a;--mint:#2b2922;--gold:#d9ba77;--paper:#101112;--line:#323335;--white:#181a1b;--red:#ef9692;color-scheme:dark}
html[data-theme=modern] body{background:#101112;color:var(--text);font-family:'DM Sans',Arial,sans-serif}
html[data-theme=modern] :is(h1,h2,h3,h4){color:#f1eee5}
html[data-theme=modern] :is(a,.text-button){color:#ddc18a}
html[data-theme=modern] :is(button,input,select,textarea){border-color:#3a3b3b;background:#202223;color:#e8e6de;border-radius:6px}
html[data-theme=modern] button{transition:background .18s,color .18s,border-color .18s,transform .18s}
html[data-theme=modern] button:hover{background:#2d2e2d;border-color:#8e7a55}
html[data-theme=modern] button:active{transform:translateY(1px)}
html[data-theme=modern] :is(input,textarea)::placeholder{color:#8e918c}
html[data-theme=modern] :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #ddc18a;outline-offset:4px}
html[data-theme=modern] :is(button.primary,.primary){background:#d9ba77;border-color:#d9ba77;color:#181815}
html[data-theme=modern] :is(button.primary,.primary):hover{background:#ebd09b;border-color:#ebd09b;box-shadow:0 3px 20px #d9ba7714}
html[data-theme=modern] .sidebar{background:#141617;border-right:1px solid #303133;color:#cecdc5;padding-top:28px}
html[data-theme=modern] .sidebar .brand{gap:10px;color:#f4eedf}
html[data-theme=modern] .sidebar .brand img{width:41px;height:47px}
html[data-theme=modern] .sidebar .brand>span{font-size:18px;letter-spacing:-.8px}
html[data-theme=modern] .brand small{color:#a19e92!important;letter-spacing:1.35px!important;font-size:7px!important}
html[data-theme=modern] .sidebar .workspace{font-size:8px;letter-spacing:1.5px;color:#81857f}
html[data-theme=modern] .sidebar nav a{color:#aaaead;border-radius:6px;font-weight:500;transition:background .2s,color .2s}
html[data-theme=modern] .sidebar nav a:hover{background:#222423;color:#f0e8d5}
html[data-theme=modern] .sidebar nav a.active{background:#292820;color:#e4c887;box-shadow:inset 2px 0 #d6b778}
html[data-theme=modern] .sidebar nav a small{background:#292d2c;color:#b4b9b2}
html[data-theme=modern] .sidebar nav a.active small{background:#45402f;color:#ead4a3}
html[data-theme=modern] .sidebar .nav-divider{background:#2b2d2d}
html[data-theme=modern] .sidebar-note{border-color:#36352f}
html[data-theme=modern] .sidebar-note strong{font-size:15px;color:#dfcfaa}
html[data-theme=modern] .sidebar-note p{color:#929991}
html[data-theme=modern] .sidebar-footer{border-color:#343535!important;color:#a4a89e!important}
html[data-theme=modern] .sidebar-footer small{color:#7d827a!important}
html[data-theme=modern] .sr-sidebar-link{color:#d4bb83;font-size:11px}
html[data-theme=modern] .topbar{background:#101112;border-color:#292b2c;height:72px}
html[data-theme=modern] .top-actions .avatar{background:#27271f;color:#d9ba77;border:1px solid #514832}
html[data-theme=modern] .crumb,html[data-theme=modern] .snapshot{color:#a2a69f}
html[data-theme=modern] .sr-join-link{color:#d9ba77;border-color:#4a4435;border-radius:5px}
html[data-theme=modern] .sr-join-link:hover{background:#29271f}
html[data-theme=modern] .page-heading.sr-page-heading{grid-template-columns:minmax(0,1fr) 240px;gap:8px 30px;min-height:210px;padding:28px 0 28px;margin-bottom:26px;border:0;border-bottom:1px solid #38362e;border-radius:0;background:transparent;overflow:visible}
html[data-theme=modern] .sr-page-heading h1{font:600 clamp(36px,3.2vw,51px)/1.1 'Manrope','DM Sans',sans-serif;letter-spacing:-2px;margin:13px 0}
html[data-theme=modern] .sr-page-heading .eyebrow{font-size:9px;letter-spacing:2.2px;color:#c4a66c}
html[data-theme=modern] .sr-page-heading p{color:#a7aca4;font-size:13px;max-width:570px;line-height:1.8}
html[data-theme=modern] .sr-page-art{display:none}
html[data-theme=modern] .sr-modern-art{display:block;position:relative;grid-column:2;grid-row:1 / span 2;height:190px;overflow:hidden;isolation:isolate;animation:sr-enter .65s cubic-bezier(.2,.65,.3,1) both}
.sr-modern-art .sr-contour{width:175px;height:175px;position:absolute;right:8px;top:1px;opacity:.5;transform:rotate(-7deg)}
.sr-modern-art .sr-aperture{position:absolute;inset:56px 16px 40px 0;transform:rotate(-7deg);border:1px solid #695537;border-radius:80px;overflow:hidden;background:#101112;box-shadow:0 12px 35px #0005}
.sr-aperture img{width:100%;height:100%;object-fit:cover;object-position:50% 52%;filter:saturate(.8)}
.sr-art-caption{position:absolute;bottom:13px;right:17px;font-size:7px;letter-spacing:2px;color:#a48b5c}
html[data-theme=modern] .sr-page-heading .heading-actions{margin-top:4px}
html[data-theme=modern] .sr-page-heading .heading-actions button{font-size:11px}
html[data-theme=modern] .stats{gap:0;border:1px solid #333534;border-radius:8px;overflow:hidden}
html[data-theme=modern] .stats .stat{border:0;border-radius:0;background:#17191a;padding:19px 23px;border-right:1px solid #333534}
html[data-theme=modern] .stats .stat:last-child{border-right:0}
html[data-theme=modern] .stat strong{color:#ead7ae;font-weight:500;font-size:27px}
html[data-theme=modern] :is(.stat .label,.stat .sub,.stat small){color:#9b9e95}
html[data-theme=modern] .stat .label{letter-spacing:.07em;text-transform:uppercase;font-size:9px}
html[data-theme=modern] .panel{background:#181a1b;border-color:#323435;border-radius:8px;box-shadow:none}
html[data-theme=modern] .panel-head{background:#181a1b;border-color:#323435;padding:16px 22px}
html[data-theme=modern] .panel-head h2{font-family:'DM Sans',sans-serif;font-weight:500}
html[data-theme=modern] .panel-body{padding:18px 22px}
html[data-theme=modern] :is(.note,.subtle,.screen-note,.evidence-date,.muted,.detail-label){color:#a2a89e}
html[data-theme=modern] :is(.filter-row,.workspace-controls,.screen-selector-bar){border-color:#323435}
html[data-theme=modern] .filter-row{padding:8px 0}
html[data-theme=modern] .filter-row button{color:#d5d9d0;background:transparent}
html[data-theme=modern] .filter-row input,html[data-theme=modern] .filter-row select{height:34px}
html[data-theme=modern] .metric-name i{background:#262a27;color:#a8b0a0}
html[data-theme=modern] .metric-tabs{border-color:#3b3930;padding-bottom:10px;gap:12px;margin-bottom:12px}
html[data-theme=modern] .metric-tabs button{color:#a4a89f;border-radius:0;background:transparent;padding:7px 8px}
html[data-theme=modern] .metric-tabs button.active{color:#ecd19a;background:transparent;box-shadow:0 2px #d9ba77}
html[data-theme=modern] .metric-tabs button span{color:#b4a17a;opacity:1}
html[data-theme=modern] .table-toolbar input{background:#202223}
html[data-theme=modern] .sr-fetch-button{background:#d9ba77;color:#191a16;border-color:#d9ba77}
html[data-theme=modern] .sr-fetch-button:hover{background:#e7cc94}
html[data-theme=modern] :is(thead th,thead th:first-child){background:#222422;color:#aab19f;border-color:#3a3d36}
html[data-theme=modern] :is(td,.picker-item){border-color:#303432}
html[data-theme=modern] .stock-row td:first-child{background:#181a1b}
html[data-theme=modern] :is(.stock-row:hover td,.stock-row:hover td:first-child){background:#222723}
html[data-theme=modern] .company-icon{background:#2b2d26;color:#dbca9f}
html[data-theme=modern] :is(.positive,.score){color:#a5d6ba}
html[data-theme=modern] .negative{color:#eea69a}
html[data-theme=modern] .score b{background:#c6ad75}
html[data-theme=modern] .badge{background:#292f29;color:#b4d0b3}
html[data-theme=modern] .badge.pending{background:#322d22;color:#dac18d}
html[data-theme=modern] .badge.external{background:#292d36;color:#aabbd9}
html[data-theme=modern] :is(.callout,.plain-english,.assistant-handoff,.review-placeholder span,.diagnostic){background:#232620;border-color:#434a38;color:#c1ccaf}
html[data-theme=modern] .callout.warning{background:#2a261e;border-color:#574a30;color:#d6c29c}
html[data-theme=modern] .assistant-handoff p{color:#b5c0a8}
html[data-theme=modern] .metric-card{background:#191c1d;border-color:#333738;border-radius:8px}
html[data-theme=modern] .metric-card:hover{background:#222622;border-color:#776a4b;transform:translateY(-2px)}
html[data-theme=modern] .metric-card h3{color:#e4e0d4;font-family:'DM Sans',sans-serif;font-weight:500}
html[data-theme=modern] :is(.metric-card p,.metric-meta,.picker-item small){color:#9ba696}
html[data-theme=modern] :is(dialog,#backtest-review){background:#191c1d;border-color:#505147;color:#e1e4da;box-shadow:0 30px 100px #0009}
html[data-theme=modern] dialog::backdrop{background:#030505b0;backdrop-filter:blur(6px)}
html[data-theme=modern] :is(.review-footer,.review-evidence,.picker-footer){background:#202421;border-color:#3c4137}
html[data-theme=modern] :is(.review-description,.review-cards>div,.review-section,.formula-box,#strategy-json){background:#222623;border-color:#3b4137;color:#d3ddc6}
html[data-theme=modern] :is(.picker-categories button,.picker-refine label,.picker-refine #picker-count){color:#b9c4af}
html[data-theme=modern] .picker-categories button[aria-pressed=true]{color:#ead19b;background:#353122;box-shadow:inset 2px 0 #d5b676}
html[data-theme=modern] .picker-item button:disabled{color:#b4c3a5;background:#273027}
html[data-theme=modern] .toast{background:#d9ba77;color:#191b16;box-shadow:0 10px 30px #0005}
html[data-theme=modern] .app-footer{color:#939c8e;border-color:#33372f}
html[data-theme=modern] .quality-note,html[data-theme=modern] .lab-layout .field{color:#a2ad98}
html[data-theme=modern] :is(.crumb #breadcrumb,.snapshot b,.ticker strong){color:#ddd8c8}
html[data-theme=modern] .ticker .company-icon{background:#2b2d26;color:#dbca9f;border-color:#4d5142}
html[data-theme=modern] .ticker small{color:#a0ad94}
html[data-theme=modern] .detail-section h3{color:#d0cba9}
html[data-theme=modern] :is(.detail-section p,.details-metrics span,.summary-line span,.chart-labels){color:#b3bea3}
html[data-theme=modern] .review-group{background:#242a24;border-color:#71694c}
html[data-theme=modern] .review-summary-line dt{color:#d7c28d}
html[data-theme=modern] .details-metrics button{border-color:#3e4638}
html[data-theme=modern] :is(.error,#bt-error,#review-error){background:#352823;color:#f0b5a7;border-color:#68473b}
/* Signup: large type, a photographic aperture and fine gold contours. */
html[data-theme=modern] .signup-page{color:#dedbd2;background:#101112}
html[data-theme=modern] .sr-public-header{max-width:1340px;padding:25px 42px;border-bottom:1px solid #2a2d2b}
html[data-theme=modern] .sr-wordmark{color:#eee6d5!important;font-size:25px;letter-spacing:-1.2px}
html[data-theme=modern] .sr-wordmark img{width:43px;height:49px}
html[data-theme=modern] .sr-public-nav{gap:24px}
html[data-theme=modern] .sr-public-nav a{color:#bebcad;font-size:12px}
html[data-theme=modern] .sr-public-nav .sr-outline{color:#e1c58b;border-color:#635638;border-radius:4px}
html[data-theme=modern] .sr-signup-wrap{max-width:1340px;padding:65px 42px 35px}
html[data-theme=modern] .sr-signup-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:65px}
html[data-theme=modern] .sr-kicker{color:#cdb37c;font-size:9px;letter-spacing:2.4px}
html[data-theme=modern] .sr-kicker:before{width:21px;height:1px;border-radius:0;background:#cdb37c}
html[data-theme=modern] .signup-page h1{font:550 clamp(48px,4.7vw,73px)/1.04 'DM Sans',sans-serif;letter-spacing:-3.7px;max-width:690px;margin:24px 0 27px;color:#f0ebdf}
html[data-theme=modern] .signup-page h1 em{font-style:normal;font-weight:450;color:#d6b87b}
html[data-theme=modern] .sr-signup-copy>p{font-size:14px;line-height:1.9;color:#aeb3a6;max-width:460px}
html[data-theme=modern] .sr-puppy-stage{display:none}
html[data-theme=modern] .sr-modern-hero{display:block;position:relative;height:270px;margin:30px 0 10px;isolation:isolate}
.sr-modern-hero .sr-hero-eye{position:absolute;inset:20px 5px 28px 0;overflow:hidden;border-radius:150px;transform:rotate(-8deg);border:1px solid #675634;background:#101112;animation:sr-hero-in 1s cubic-bezier(.2,.65,.3,1) both}
.sr-hero-eye img{width:100%;height:100%;object-fit:cover;filter:saturate(.85)}
.sr-modern-hero .sr-hero-contour{width:235px;position:absolute;right:-12px;top:-58px;opacity:.28;z-index:-1;transform:rotate(7deg)}
.sr-hero-detail{position:absolute;bottom:0;right:28px;color:#b5a277;letter-spacing:3px;font-size:8px}
html[data-theme=modern] .sr-maxwell-note{color:#909b88;font-size:10px}
html[data-theme=modern] .sr-maxwell-note:before{background:#665c42}
html[data-theme=modern] .sr-signup-card{background:#191c1c;border:1px solid #3c4038;border-radius:10px;box-shadow:0 15px 60px #0003;padding:32px;margin-top:12px}
html[data-theme=modern] .signup-page h2{font-family:'DM Sans',sans-serif;font-weight:500;color:#ebe6d9;letter-spacing:-1.2px}
html[data-theme=modern] .sr-signup-card h2{font-size:29px}
html[data-theme=modern] .sr-signup-card>p{color:#acb4a4}
html[data-theme=modern] .sr-signup-card input:not([type=checkbox]),html[data-theme=modern] .sr-signup-card select{background:#222622;color:#dfdfd2;border-color:#444b3d;border-radius:5px}
html[data-theme=modern] .sr-signup-card .sr-consent{color:#aeb9a1}
html[data-theme=modern] .sr-consent input{accent-color:#d9ba77}
html[data-theme=modern] :is(.sr-form-note,.sr-signup-card details){color:#a4af97;border-color:#3c4236}
html[data-theme=modern] .sr-signup-card button.primary{border-radius:5px}
html[data-theme=modern] .sr-signup-status{color:#d6ca9d}
html[data-theme=modern] .sr-signup-status.is-error{background:#3c2823;color:#edb5a5}
html[data-theme=modern] .sr-confirmation button{background:#302e22;color:#e3c791;border-color:#5d5339}
html[data-theme=modern] .sr-plan-intro{border-top:1px solid #383b33;padding-top:40px;margin-top:65px}
html[data-theme=modern] .sr-plan-intro h2{font-size:35px;max-width:510px}
html[data-theme=modern] .sr-plan-intro p{color:#acb3a1}
html[data-theme=modern] .sr-plans{background:#181c1a;border-color:#3c4436;border-radius:8px}
html[data-theme=modern] .sr-plan+.sr-plan{background:#24251d;border-color:#4c4935}
html[data-theme=modern] .sr-plan .sr-plan-label{color:#d0b379}
html[data-theme=modern] :is(.sr-plan p,.sr-plan li){color:#b2bca5}
html[data-theme=modern] .sr-plan strong{color:#e4dfca}
html[data-theme=modern] .sr-story{border-color:#3a3f32;grid-template-columns:150px 1fr;gap:45px;padding:48px 0}
html[data-theme=modern] .sr-story>.sr-classic-story{display:none}
html[data-theme=modern] .sr-modern-story{display:block;width:145px;opacity:.7}
html[data-theme=modern] .sr-story p{color:#b0b9a1}
html[data-theme=modern] .sr-public-footer{max-width:1340px;color:#a1aa93;padding:22px 42px 35px}
html[data-theme=modern] .sr-public-footer a{color:#d6be83}
@keyframes sr-enter{from{opacity:0;transform:translateX(15px) rotate(3deg)}to{opacity:1;transform:translateX(0) rotate(0)}}
@keyframes sr-hero-in{from{opacity:0;transform:translateY(14px) rotate(-3deg)}to{opacity:1;transform:translateY(0) rotate(-8deg)}}
@media(min-width:1650px){html[data-theme=modern] .page-heading.sr-page-heading{grid-template-columns:minmax(0,1fr) 240px!important}}
@media(max-width:1000px){html[data-theme=modern] .sr-signup-layout{gap:32px}html[data-theme=modern] .sr-signup-wrap{padding:45px 25px}html[data-theme=modern] .sr-public-nav{gap:14px}html[data-theme=modern] .sr-public-header{padding:20px 25px}html[data-theme=modern] .sr-signup-card{padding:24px}html[data-theme=modern] .signup-page h1{font-size:54px}.sr-modern-hero .sr-hero-contour{width:200px;right:0}}
@media(max-width:760px){html[data-theme=modern] .sr-signup-layout{grid-template-columns:1fr;gap:20px}html[data-theme=modern] .sr-signup-wrap{padding:35px 22px}html[data-theme=modern] .sr-public-header{padding:15px 22px}html[data-theme=modern] .sr-public-nav .sr-outline{display:none}html[data-theme=modern] .sr-wordmark{font-size:22px}html[data-theme=modern] .signup-page h1{font-size:54px;letter-spacing:-2.8px}html[data-theme=modern] .sr-modern-hero{max-width:520px;height:230px;margin-top:20px}html[data-theme=modern] .sr-maxwell-note{justify-content:start}html[data-theme=modern] .sr-plan-intro{margin-top:40px;padding-top:30px}html[data-theme=modern] .sr-story{grid-template-columns:80px 1fr;gap:20px}html[data-theme=modern] .sr-modern-story{width:80px}html[data-theme=modern] .sr-plan+.sr-plan{border-color:#4c4935}html[data-theme=modern] .sr-public-footer{padding:20px 22px}}
@media(max-width:700px){html[data-theme=modern] .sidebar{padding:17px 18px;border-right:0;border-bottom:1px solid #383a33}html[data-theme=modern] .sidebar nav{margin-top:18px}html[data-theme=modern] .topbar{height:58px}.top-actions{gap:8px}.top-actions .sr-theme-trigger{font-size:10px;padding:7px}.top-actions .sr-theme-trigger span{display:none}html[data-theme=modern] .stats .stat{padding:15px}.sr-column-row .metric-name i{display:none}html[data-theme=modern] .panel-body{padding:16px}html[data-theme=modern] .filter-row{grid-template-columns:minmax(0,1fr) 58px 85px 24px;gap:5px}.sr-theme-trigger:before{width:12px;height:12px}}
@media(max-width:600px){html[data-theme=modern] .page-heading.sr-page-heading{grid-template-columns:minmax(0,1fr) 105px;gap:10px;min-height:180px;padding:12px 0 24px}html[data-theme=modern] .sr-page-heading h1{font-size:35px;letter-spacing:-1.5px}html[data-theme=modern] .sr-page-heading p{font-size:12px;line-height:1.75}html[data-theme=modern] .sr-page-heading .eyebrow{font-size:7px;letter-spacing:1.5px}html[data-theme=modern] .sr-modern-art{height:140px;grid-row:1}.sr-modern-art .sr-contour{width:110px;height:130px;right:-8px}.sr-modern-art .sr-aperture{inset:62px 0 33px 0}.sr-art-caption{font-size:5px;right:0;bottom:10px;letter-spacing:1px}html[data-theme=modern] .metric-tabs{gap:4px}html[data-theme=modern] .metric-tabs button{font-size:11px;padding:7px 5px}html[data-theme=modern] .stats .stat{border-bottom:1px solid #333534}#sr-appearance{padding:22px}.sr-theme-swatch{display:none}html[data-theme=modern] .sr-plan-intro h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
