/* ChartMemory soft-dark trading workspace palette */
:root{--bg:#0f1320;--ink:#c7cedb;--muted:#929bad;--mint:#f2c45a;--line:#1b2030;--paper:#0f1320;--surface:#141a27;--surface-soft:#171e2c;--indigo:#f2c45a;--indigo-dark:#326ed1;--persimmon:#e0556b;--violet:#7ba9ff;--green:#f2c45a;--red:#e0556b;--border:#252c3c}
body{background:#0f1320!important;background-image:none!important;color:#c7cedb!important;font-family:Inter,"Avenir Next",Avenir,system-ui,sans-serif!important}
small,.muted{color:#929bad!important}
h1,h2,h3{color:#dce2ed}
.eyebrow{color:#718096!important;letter-spacing:1.7px!important}
.brand{color:#dce2ed!important}.brandmark,.brand svg{color:#f2c45a!important}
.brandbar,nav{border-color:#1b2030!important}
.navpill{border-color:#283345!important;color:#9eabc0!important;background:#141a27}
form,.card{background:#141a27!important;border:1px solid #252c3c!important;box-shadow:0 10px 32px #0003!important;border-radius:14px!important}
#form{background:#141a27!important}
label,.field-label{color:#a5afc0!important}
select,input,button{background:#0f1320!important;color:#c7cedb!important;border-color:#30394b!important}
select:hover,input:hover,button:hover:enabled{border-color:#f2c45a!important}
select:focus-visible,input:focus-visible,button:focus-visible{outline:2px solid #f2c45a!important;outline-offset:2px}
.consent-actions button,.consent-dialog button{background:#0f1320!important;color:#c7cedb!important;border-color:#30394b!important}
.consent-actions button:hover:enabled,.consent-dialog button:hover:enabled{background:#1b2332!important;color:#e0e6ef!important;border-color:#f2c45a!important}
.consent-actions .consent-accept,.consent-dialog .consent-accept{background:#f2c45a!important;color:#101522!important;border-color:#f2c45a!important}
.consent-actions .consent-accept:hover:enabled,.consent-dialog .consent-accept:hover:enabled{background:#ffd875!important;color:#101522!important;border-color:#ffd875!important}
button.primary,.button:not(.ghost){background:#f2c45a!important;color:#101522!important;border-color:#f2c45a!important;box-shadow:0 4px 14px #f2c45a1c}
button.primary:hover:enabled,.button:not(.ghost):hover{background:#ffd875!important;color:#101522!important;border-color:#ffd875!important}
button.primary:disabled{opacity:.42}
.recent-list button{background:#171f2d!important;border-color:#30394b!important;color:#bdc7d6!important}
.recent-list button[aria-pressed=true]{background:#172a45!important;color:#f2c45a!important;border-color:#f2c45a!important}
.current-market{background:#141a27!important;border-color:#252c3c!important}
#marketPrice{color:#e1e7f0!important}
.chart-stage{border-radius:10px;overflow:hidden;background:#0f1320}
canvas{background:#0f1320;border-radius:8px}
.chart-action{border-color:#252c3c!important}
.chart-action small,footer,.chart-explanation{color:#8490a5!important}
#position{color:#c7cedb!important}
#status{color:#bac4d3!important}
.stat-card{background:#141a27!important;border:1px solid #252c3c!important;box-shadow:0 8px 24px #0002!important;border-radius:12px!important}
.stats-grid{gap:14px}
.stat-heading,.stat-card small,.score-filter-label{color:#9da8bb!important}
.stat-icon{background:#f2c45a18!important;color:#f2c45a!important}
.stat-card strong.positive{color:#f2c45a!important}.stat-card strong.negative{color:#e66a7c!important}
.score-filter output{color:#f2c45a!important}
input[type=range]{accent-color:#f2c45a!important}
#outcome{color:#aeb9ca!important}
.chart-legend .legend-item{color:#a9b3c3!important}
.legend-swatch.match{border-color:#7ba9ff!important}.legend-swatch.future{border-color:#f1bd65!important}.legend-swatch.current{border-color:#f2c45a!important}.legend-swatch.boundary{border-color:#8490a5!important}
.legend-swatch.up{background:#3fb68b!important}.legend-swatch.down{background:#e0556b!important}
.chart-loader{background:#0f1320a8}.loading-ring,.spinner{border-color:#f2c45a36!important;border-top-color:#f2c45a!important}
.site-footer,footer{border-color:#1b2030!important}
.site-footer .legal-links a,.legal-links a{color:#a4afc1!important}.site-footer .legal-links a:hover,.legal-links a:hover{color:#f2c45a!important}
.legal-main h1{color:#e0e6ef!important}.legal-main h2{color:#c7cedb!important}.legal-main p,.legal-main li{color:#a9b3c3!important}.legal-main a{color:#f2c45a!important}.legal-main .updated{color:#8591a6!important}
.dialog,.symbol-dialog,dialog{background:#141a27!important;color:#c7cedb!important;border-color:#30394b!important;box-shadow:0 28px 100px #0009!important;border-radius:16px!important}
dialog::backdrop{background:#070a10c9!important;backdrop-filter:blur(4px)}
dialog h2,dialog h3{color:#e0e6ef!important}
dialog p,dialog small,.symbol-list-head,.symbol-search-count{color:#9da8bb!important}
.symbol-dialog-head button{color:#a5afc0!important}
.symbol-search-wrap{border-color:#30394b!important;color:#929bad!important}
.symbol-search-wrap input{background:transparent!important;color:#dce2ed!important}
.symbol-search-wrap:focus-within{border-color:#f2c45a!important}
.symbol-categories button{background:#1b2332!important;color:#b3bdcc!important}
.symbol-categories button[aria-pressed=true]{background:#f2c45a!important;color:#101522!important}
.symbol-result,.symbol-row,.saved-pattern-row{border-color:#252c3c!important}
.symbol-results button:hover,.symbol-results [role=option]:hover{background:#1b2332!important}
.google-preview-button{background:#101622!important;color:#dce2ed!important;border-color:#30394b!important}
/* Homepage */
nav,.wrap{max-width:1240px}
nav{border-color:#1b2030!important}
nav .navlinks>a:not(.button){color:#a9b3c3!important}
.hero:before{background:radial-gradient(ellipse,#f2c45a12,transparent 66%)!important}
.intro h1{color:#e0e6ef!important;font-family:Georgia,"Times New Roman",serif!important;font-weight:500!important;letter-spacing:-3.8px!important}
.intro h1 em{color:#f2c45a!important}
.lead{color:#a0abbd!important}
.micro{color:#838fa4!important}
.button{border-radius:8px!important}
.button.ghost{background:transparent!important;color:#c7cedb!important;border-color:#394356!important}
.product{background:#141a27!important;border-color:#252c3c!important;box-shadow:0 28px 80px #0006!important;border-radius:16px!important}
.product-top,.demo-controls{border-color:#252c3c!important;color:#929bad!important}
.product-name,.chart-head h3{color:#dce2ed!important}
.demo-tag{color:#929bad!important;border-color:#30394b!important}
.chart-head small{color:#8d99ae!important}
.pill{background:#f2c45a14!important;color:#f2c45a!important;border-color:#f2c45a30!important}
.chart line{stroke:#1b2030!important}.matched{stroke:#7ba9ff!important}.now{stroke:#f2c45a!important}.future{stroke:#f1bd65!important}
.chart-foot,.strip{color:#929bad!important}.strip{border-color:#1b2030!important}.strip b{color:#f2c45a!important}
.swatch{background:#f2c45a!important}.swatch.blue{background:#7ba9ff!important}.swatch.amber{background:#f1bd65!important}
.play{background:#f2c45a14!important;border-color:#f2c45a55!important;color:#f2c45a!important}
.section-intro p,.closing p{color:#a0abbd!important}
.step{border-color:#30394b!important}.number{color:#f2c45a!important}.step p{color:#929bad!important}
.outcomes{background:#171e2c!important;color:#dce2ed!important}.outcomes .eyebrow{color:#f2c45a!important}.outcomes p{color:#a2adbf!important}
.outcome-art{background:#111722!important;border-color:#30394b!important}.average-label{color:#f2c45a!important}.average-label i{border-color:#f2c45a!important}
.features span{border-color:#f2c45a40!important;color:#b5c0d0!important}
footer p{color:#8490a5!important}
/* Unified historical match + continuation workspace */
#viewer{gap:8px!important}
#viewer>.toolbar{margin:0!important;min-height:34px}
#position{font-size:14px}
#historicalCard{margin-top:0!important;padding:22px!important}
#historicalCard .historical-card-header{margin-bottom:0!important;align-items:center}
#historicalCard #matchTitle{margin:0 0 3px!important}
#historicalCard .combined-charts{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;margin-top:16px;padding-top:16px;border-top:1px solid #252c3c}
#historicalCard .combined-history-panel,#historicalCard .combined-future-panel{min-width:0}
#historicalCard .combined-future-panel{border-left:1px solid #252c3c;padding-left:22px}
#historicalCard .combined-charts canvas{height:260px;margin-top:10px;border-radius:8px}
.future-view-controls{display:flex;justify-content:flex-end;align-items:center;margin:0!important;min-height:34px}
.future-view-controls label{display:flex;align-items:center;gap:9px;font-size:12px;color:#a5afc0!important}
.future-view-controls select{min-height:36px;padding:6px 30px 6px 10px;border-radius:7px}
#filterStatus.sr-only{position:absolute!important}
.watch-promo{display:flex;align-items:center;gap:17px;padding:19px 22px!important;background:linear-gradient(110deg,#f2c45a0c,#7ba9ff0a),#141a27!important;border-color:#30394b!important}
.watch-promo-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#f2c45a18;color:#f2c45a}
.watch-promo-copy{flex:1;min-width:0}
.watch-promo-copy h3{margin:0 0 4px;font-size:16px;letter-spacing:-.2px}
.watch-promo-copy p{margin:0;color:#9da8bb;font-size:13px;line-height:1.5}
#watchPromoButton{flex:none;min-height:42px;padding:9px 16px}
@media(max-width:800px){#historicalCard .combined-charts{grid-template-columns:1fr;gap:15px}#historicalCard .combined-future-panel{border-left:0;border-top:1px solid #252c3c;padding:15px 0 0}.watch-promo{align-items:flex-start;flex-wrap:wrap}.watch-promo-copy{flex-basis:calc(100% - 64px)}#watchPromoButton{margin-left:61px}}
@media(max-width:520px){#historicalCard{padding:17px!important}.historical-card-header{align-items:flex-start!important}.historical-chart-controls{gap:6px}.future-view-controls{justify-content:flex-start}.future-view-controls label{width:100%;justify-content:space-between}.future-view-controls select{max-width:62%}.watch-promo{gap:12px}.watch-promo-copy{flex-basis:calc(100% - 58px)}#watchPromoButton{margin-left:56px}}
/* Blue accent coverage for secondary labels, states, and account dialogs */
.member-kicker,.number,.score-filter output,.legal-main a,.average-label,.strip b{color:#f2c45a!important}
.member-hero svg [stroke="#f2c45a"]{stroke:#f2c45a!important}
.chart-type-button[aria-pressed=true]{background:#172a45!important;color:#ffffff!important;box-shadow:inset 0 0 0 1px #f2c45a66!important}
.chart-type-button:focus-visible{outline-color:#f2c45a!important}
button.save-primary,.save-pattern-actions .save-primary{background:#f2c45a!important;color:#101522!important;border-color:#f2c45a!important}
button.save-primary:hover:enabled,.save-pattern-actions .save-primary:hover:enabled{background:#ffd875!important;color:#101522!important}
.profile-avatar-large{background:linear-gradient(145deg,#1b3156,#182b37)!important;border-color:#f2c45a66!important;color:#72a4ff!important}
input[type=checkbox],input[type=radio]{accent-color:#f2c45a!important}

/* Keep chart-series colors independent from the yellow interface accent. */
.now{stroke:#4c8dff!important}.swatch{background:#4c8dff!important}.average-label{color:#4c8dff!important}.average-label i{border-color:#4c8dff!important}.legend-swatch.current{border-color:#4c8dff!important}
