/* Each theme has legible surfaces, controls and data, not a colour filter. */
[data-theme=light]{--bg:#fafcfb;--bg-soft:#f5f9f7;--surface:#fff;--bg-card:#fff;--surface-raised:#fff;--surface-tint:#fff;--surface-hover:#edf7f1;--text:#17251e;--text-soft:#344c3e;--text-muted:#405d4c;--subtle:#405d4c;--line:#c5d8cc;--accent-fill:#17643d;--accent-hover:#104b2d;--accent-ink:#fff;--accent-text:#17643d;--accent-border:#7aa98d;--accent-soft:#edf8f1;--danger:#a8243c;--header-bg:#fffffff5;--overlay:#071c14b3;--shadow-card:0 8px 30px #174b2f0a}
[data-theme=dark]{--accent-soft:#203329;--surface-tint:#1b2921;--text-soft:#d2e1d7;--text-muted:#b6ccbe;--line:#415e4c}
body{font-size:16px;line-height:1.6}body :is(p,li,dt,dd){letter-spacing:normal}body :is(h1,h2,h3,h4){letter-spacing:normal;line-height:1.3;text-wrap:balance}body input::placeholder,body textarea::placeholder{color:var(--text-muted);opacity:1}.site-bg{background:var(--bg)}.grid-noise{opacity:0!important}[hidden]{display:none!important}
/* Navigation */
.site-brand{display:flex;align-items:center;gap:20px;flex-shrink:0}.site-header .nav{display:flex;align-items:center;justify-content:space-between;gap:28px}.site-header .nav-panel-inner{display:flex;align-items:center;gap:30px}.site-header .nav-menu{gap:22px}.site-header .nav-actions{display:flex;align-items:center;gap:10px}.site-header .nav-menu a{font-size:15px;font-weight:500}.site-header .theme-switcher{margin:0}
body :is(.nav-actions .btn,.account-topbar__site-link){height:44px;min-height:44px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;line-height:22px;border-radius:8px;font-size:15px;font-weight:500;box-shadow:none}
.theme-switcher{position:relative;display:block;padding:0;border:0;border-radius:8px;background:transparent;z-index:85;flex:0 0 auto}body .theme-switcher .theme-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;height:44px;min-width:100px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:14px;line-height:22px}.theme-switcher svg{width:18px;height:18px;stroke-width:1.5}.theme-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:184px;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 10px 32px #0002;animation:theme-menu-in .15s ease-out}
body .theme-menu button{width:100%;height:auto;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;border-radius:6px;background:transparent;color:var(--text);font-size:15px;text-align:left;white-space:nowrap}body .theme-menu button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-text)}.theme-menu button[aria-pressed=true]::after{content:'✓';font-size:16px}.theme-menu button:hover{background:var(--surface-hover)}
body .locale-switcher{display:flex;align-items:center;gap:2px;height:44px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:none}body .locale-switcher a{height:36px;min-width:38px;padding:7px 9px;font-size:12px;line-height:22px;border-radius:5px;background:transparent;color:var(--text-muted);font-weight:500;box-shadow:none}body .locale-switcher a.is-active{background:var(--accent-soft)!important;color:var(--accent-text)!important}.account-topbar__right{gap:10px;align-items:center}.account-workspace__topbar{overflow:visible}.account-topbar__right .theme-menu{right:0;left:auto}.account-topbar__plan{display:none!important}body .account-workspace__content{padding-top:28px}.account-view__heading{gap:24px}.account-view__heading p{font-size:16px;color:var(--text-soft)}
/* Surfaces and fields */
body :is(.home-forecast-console,.form-card,.account-surface,.account-kpi,.account-plan-card,.account-profile-card,.account-security-card,.radar-filters,.monitor-calculation,.forecast-tools,.monitor-watch-card,.radar-card,.plan-card,.comment-card,.feature-card,.forecast-help-dialog){border-color:var(--line);box-shadow:none;background:var(--surface)!important}
body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.site-select-trigger),#forecast-app :is(input:not([type=checkbox]):not([type=radio]),select){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:none;line-height:1.5;font-size:16px}
body .market-selector{gap:8px;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--bg-soft)}body .market-selector label{margin:0}body .market-selector span{border:1px solid transparent!important;border-radius:6px;min-height:52px;background:transparent!important;color:var(--text-soft)!important;font-size:16px;align-items:baseline;gap:8px;padding:12px}body .market-selector input:checked+span{background:var(--accent-fill)!important;color:var(--accent-ink)!important;border-color:var(--accent-fill)!important}body .market-selector input:checked+span small{color:inherit!important;opacity:1}body .market-selector small{font-size:13px;color:var(--text-muted);line-height:1.5}body .market-selector strong{font-weight:600;line-height:1.5}
body :is(.forecast-guide-button,.forecast-help-trigger){color:var(--accent-text);background:var(--surface);border-color:var(--accent-border);box-shadow:none}.forecast-guide-button{font-weight:500}
body :is(.plan-card__description,.plan-card__period,.plan-card__feature,.plan-card p,.feature-copy p,.comment-card p,.faq-content,.radar-notice,.radar-page-heading p,.monitor-description,.forecast-risk-note){color:var(--text-soft);font-size:16px;line-height:1.75}body :is(.account-kpi small,.account-surface p,.account-profile-row small,.account-plan-card p,.account-telegram-card p){color:var(--text-soft)}
body .home-forecast-trial-note{background:transparent!important;border:0;border-top:1px solid var(--line);padding:20px 0 0;gap:20px;line-height:1.7;color:var(--text-soft)!important}.home-forecast-trial-note strong{color:var(--text)}body :is(.plan-card--standard,.plan-card--pro,.plan-card--vip){background:var(--surface)!important}.plan-card--standard{border-top:3px solid var(--accent-border)!important}.plan-card--pro{border-top:3px solid var(--accent-fill)!important}.plan-card--vip{border-top:3px solid var(--text)!important}
body :is(.support-chat-panel,.support-chat-panel textarea){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)}
/* Code-native diagrams */
body .feature-card{padding:24px}.feature-demo{min-height:300px;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:24px;border:1px solid var(--line);border-radius:10px;background:var(--bg-soft);font-variant-numeric:tabular-nums}.feature-demo__label{color:var(--text-muted);font-size:12px;font-weight:600;letter-spacing:.07em;margin-bottom:12px}.demo-level,.demo-journal-row{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;line-height:1.5;color:var(--text-soft);padding:10px 0;border-bottom:1px solid var(--line)}.demo-level b,.demo-journal-row b{color:var(--text);font-size:15px}.demo-level--entry{border-bottom:2px solid var(--accent-fill);color:var(--accent-text)}.demo-level--stop{border-color:var(--danger)}.demo-level--stop b{color:var(--danger)}.demo-checklist{list-style:none;padding:0;margin:0;display:grid;gap:16px}.demo-checklist li{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--text)}.demo-checklist li::before{content:'✓';display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border:1px solid var(--accent-border);border-radius:50%;color:var(--accent-text)}.demo-verdict{padding:12px 16px;border-left:3px solid var(--accent-fill);background:var(--surface);color:var(--accent-text);font-size:16px;font-weight:600;margin-top:12px}.demo-journal-note{font-size:13px;color:var(--text-muted);padding-top:8px}.feature-copy h3{margin:24px 0 16px;font-size:24px}.feature-copy p{margin:0}
/* Forecast rows */
body #forecast-app .forecast-snapshot{display:grid;grid-template-columns:minmax(140px,auto) minmax(0,1fr);gap:24px;padding:24px;background:var(--bg-soft);border:1px solid var(--line);border-radius:10px}.forecast-snapshot>div{min-width:0}.forecast-snapshot>div+div{padding-left:24px;border-left:1px solid var(--line)}body #forecast-app .forecast-snapshot span{color:var(--text-muted);font-size:12px}body #forecast-app .forecast-snapshot strong{color:var(--text);font-size:24px;line-height:1.4;margin-top:8px}
body #forecast-app .execution-card{padding:24px;border:1px solid var(--line);border-top:3px solid var(--accent-fill);border-radius:10px;display:flex;flex-direction:column;gap:20px;min-width:0;background:var(--surface)!important}.execution-card.is-short{border-top-color:var(--danger)!important}body #forecast-app .execution-card header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0}.execution-card header strong{color:var(--text)!important;font-size:18px}.execution-card header span{color:var(--text-muted)!important;font-size:13px}body #forecast-app .execution-price{margin:0;color:var(--text);font-size:32px;line-height:1.3}.execution-price small{display:inline-block;margin-left:8px;color:var(--text-muted)!important;font-size:14px}
body #forecast-app .execution-window{margin:0;padding:0}.execution-window__label{display:block;color:var(--text-muted)!important;font-size:13px;margin-bottom:8px}.execution-window__dates{display:flex;gap:6px 12px;flex-wrap:wrap;line-height:1.7;font-size:14px;color:var(--text)!important}body #forecast-app .execution-card>p{padding:18px 0;margin:0;border-top:1px solid var(--line);color:var(--text-soft);font-size:15px;line-height:1.75}body #forecast-app .execution-card>dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.execution-card dl>div{display:flex;flex-direction:column;gap:10px;min-width:0}.execution-card dt{font-size:13px;color:var(--text-muted)!important;min-height:42px;line-height:1.6}.execution-card dd{margin:0;color:var(--text)!important;font-size:17px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}body #forecast-app .execution-card footer{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:20px;margin-top:auto;padding:18px 0 0;border-top:1px solid var(--line);font-size:13px;color:var(--text-muted)}.execution-card footer span{display:flex;flex-direction:column;gap:8px}.execution-card footer b{color:var(--text);font-size:16px}
.entry-decision{display:grid;gap:8px;padding:16px;border-left:3px solid var(--accent-border);background:var(--bg-soft);color:var(--text)}.entry-decision strong{font-size:15px}.entry-decision span{font-size:14px;line-height:1.6;color:var(--text-soft)}.entry-decision.is-allowed{border-left-color:var(--accent-fill);background:var(--accent-soft)}.entry-decision.is-allowed strong{color:var(--accent-text)}body #forecast-app .plan-warnings{margin:0;background:transparent;color:var(--danger);border-left:2px solid var(--danger);font-size:13px;padding:10px 14px}
body #forecast-app .forecast-corridor{padding:24px;border:1px solid var(--line);background:var(--bg-soft);border-radius:10px;margin:24px 0}.forecast-corridor__head{gap:16px;align-items:flex-end}.forecast-corridor__head span{font-size:12px;color:var(--text-muted)}.forecast-corridor__head strong{font-size:20px;color:var(--text)}.forecast-corridor__head small{color:var(--text-muted)}body #forecast-app .forecast-corridor__track{height:8px;margin:24px 8px 20px;border-radius:4px;background:linear-gradient(90deg,rgba(76,175,80,.76),rgba(80,255,64,.72) 50%,rgba(239,83,80,.76))!important;position:relative;border:0}.forecast-corridor__track::after{content:none}.forecast-corridor__current{width:12px!important;height:24px!important;top:50%!important;transform:translate(-50%,-50%);border:2px solid var(--text)!important;border-radius:3px!important;background:var(--surface)!important;z-index:1;box-shadow:0 0 0 3px var(--bg-soft)!important}.forecast-corridor__legend{gap:12px;font-size:12px;color:var(--text-soft);overflow-wrap:anywhere}
body #forecast-app :is(.analysis,.analysis-body,.plan-indicators,.inventory-exit){color:var(--text-soft)}body #forecast-app .analysis{padding:24px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.analysis-body{font-size:16px!important;line-height:1.85!important}.analysis-body p+p,.analysis-body ul{margin-top:16px}.plan-indicators{padding:18px 24px!important;border-color:var(--line)!important;background:var(--bg-soft)!important;gap:16px}.plan-indicators span{font-size:14px!important}
/* Monitoring and forms */
body .forecast-tools{margin-top:28px;padding:24px;border:1px solid var(--line);border-radius:10px;color:var(--text)}.forecast-tools h3{margin:0;font-size:21px}.forecast-tools>p{font-size:15px;line-height:1.75;color:var(--text-soft);margin:16px 0}.forecast-tools__actions{gap:16px;align-items:center}.forecast-tools__actions h3{flex:1}.forecast-tools__actions button{min-height:44px;white-space:normal}.forecast-tools [data-tools-message]:empty{display:none}.position-calculator{padding-top:24px;margin-top:24px;border-top:1px solid var(--line)}.position-calculator>p{margin:12px 0 20px;color:var(--text-soft);font-size:15px;line-height:1.7}.monitor-position-form{gap:20px;margin-top:0}.monitor-position-form label,.journal-form label{font-size:14px;line-height:1.6;color:var(--text-soft);gap:8px}.monitor-position-form button{margin-top:4px}.monitor-calculation dt{font-size:13px;color:var(--text-muted)}.monitor-calculation dd{font-size:18px;color:var(--text)}.monitor-calculation p{font-size:14px;color:var(--text-soft)}
body :is(.monitor-leg p,.monitor-watch-events li,.monitor-watch-card header small,.monitor-watch-actions label,.radar-times,.radar-notice,.radar-details p,.radar-entry p,.radar-toolbar p){font-size:14px;line-height:1.75;color:var(--text-soft)}.monitor-watch-events{padding:16px 0;border-top:1px solid var(--line)}.monitor-levels dt,.radar-levels dt{font-size:13px;color:var(--text-muted)}.monitor-levels dd,.radar-levels dd{font-size:17px;color:var(--text)}.radar-state{font-size:13px;color:var(--text-soft)}.radar-filters .radar-button{height:50px;align-self:end}.radar-filters label{font-size:14px;color:var(--text-soft)}
.journal-launch{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.journal-launch p{margin:0;max-width:540px;font-size:15px;color:var(--text-soft)}.journal-launch a{color:var(--accent-text);text-decoration:underline;text-underline-offset:4px}
.journal-dialog,.tour-course{width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:28px;box-shadow:0 20px 70px #0003}.journal-dialog::backdrop,.tour-course::backdrop{background:var(--overlay)}.journal-dialog header,.tour-course header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.journal-dialog h2,.tour-course h2{font-size:24px;margin:0}.journal-dialog>p,.tour-course>p{font-size:16px;line-height:1.75;color:var(--text-soft);margin:18px 0 24px}.journal-form{display:grid;grid-template-columns:1fr 1fr;gap:20px}.journal-form label{display:grid;min-width:0}.journal-form :is(input,select,textarea){width:100%;height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:7px}.journal-form textarea{height:80px}.journal-form .journal-wide{grid-column:1/-1}.journal-form .journal-check{display:flex;align-items:flex-start;gap:12px}.journal-form input[type=checkbox]{width:20px;height:20px;margin-top:2px;flex-shrink:0;accent-color:var(--accent-fill)}.journal-form small{color:var(--text-muted);font-size:13px}.journal-dialog button{min-height:44px}.journal-close{width:44px;padding:4px;border:1px solid var(--line);border-radius:8px;font-size:24px;background:var(--surface);color:var(--text);cursor:pointer}.journal-actions{grid-column:1/-1;display:flex;justify-content:space-between;gap:24px;align-items:center;margin-top:8px}.journal-actions button,.journal-actions a{padding:10px 16px;font-size:15px}
.journal-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.journal-summary>div{padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--surface);display:grid;gap:8px}.journal-summary span{font-size:14px;color:var(--text-muted)}.journal-summary strong{font-size:25px;font-variant-numeric:tabular-nums}.journal-list{display:grid;gap:24px}.journal-card{border:1px solid var(--line);border-radius:10px;padding:24px;background:var(--surface)}.journal-card header{display:flex;gap:16px;justify-content:space-between;align-items:baseline;flex-wrap:wrap}.journal-card h3{font-size:22px;margin:0}.journal-card p{font-size:15px;color:var(--text-soft);line-height:1.8;margin:16px 0}.journal-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0}.journal-card dt{font-size:13px;color:var(--text-muted);margin-bottom:8px}.journal-card dd{font-size:18px;overflow-wrap:anywhere;margin:0}.journal-card__model{padding:18px;border-left:3px solid var(--accent-border);background:var(--bg-soft)}.journal-card__model p{margin:8px 0 0}.journal-card__actions{display:flex;gap:16px;justify-content:space-between;margin-top:20px;flex-wrap:wrap}.journal-card .monitor-button{font-size:15px}.journal-fills{margin:20px 0;padding:0;list-style:none;display:grid;gap:12px}.journal-fills li{font-size:14px;color:var(--text-soft)}
/* Guided journey */
.tour-course{width:min(650px,calc(100vw - 24px))}.tour-course ol{list-style:none;padding:0;margin:0;display:grid}.tour-course li{padding:18px 0;border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:16px}.tour-course li>span{width:28px;height:28px;border:1px solid var(--accent-border);border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:13px;color:var(--accent-text)}.tour-course li b{font-size:17px;font-weight:500}.tour-course li p{font-size:14px;line-height:1.7;color:var(--text-soft);margin:6px 0 0}.tour-course li button,.tour-course li a{font-size:14px;display:inline-flex;margin-top:12px;padding:8px 14px;min-height:40px}.tour-course__progress{color:var(--accent-text);font-size:14px;margin-bottom:16px}.tour-panel{width:380px;z-index:10002!important;max-height:calc(100dvh - 24px);padding:26px}.tour-highlight{z-index:10001!important}.tour-panel h3{font-weight:600}.tour-panel small{font-size:13px;color:var(--text-muted);letter-spacing:normal}.tour-panel p{color:var(--text-soft)}.tour-close{border:0!important;background:transparent!important}.tour-actions{margin-top:22px;gap:32px}.tour-actions button{border-radius:7px}.tour-panel .tour-progress{display:flex;gap:4px;margin:18px 0 0}.tour-progress i{height:3px;flex:1;background:var(--line)}.tour-progress i.is-done{background:var(--accent-fill)}.tour-invite{z-index:9995;position:fixed;right:24px;bottom:24px;width:350px;max-width:calc(100vw - 24px);border:1px solid var(--line);border-radius:12px}.tour-invite p{margin-bottom:16px}
@keyframes theme-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:1250px){.site-header .nav{gap:18px}.site-header .nav-menu{gap:15px}.site-header .nav-panel-inner{gap:18px}.site-brand{gap:12px}.site-header .nav-actions .btn{padding-inline:14px}}
@media(max-width:1100px){.site-header .nav,.site-header.menu-open .nav{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.site-header .site-brand{grid-column:1;grid-row:1}.site-header .theme-switcher{grid-column:auto;grid-row:auto;justify-self:auto}.site-header .burger,.site-header.menu-open .burger{grid-column:2;grid-row:1}.site-header .nav-panel{grid-column:1/-1}.site-header .nav-panel-inner{display:flex;flex-direction:column;align-items:stretch;gap:20px}.site-header .nav-menu{gap:10px}.site-header .nav-actions{flex-wrap:wrap}.journal-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-demo{padding:18px}.demo-journal-row{flex-wrap:wrap;gap:4px}}
@media(max-width:760px){.site-brand{gap:16px}.theme-menu{min-width:176px}.account-topbar__right{gap:8px}.account-topbar__right .theme-toggle{min-width:44px}.account-topbar__right [data-theme-label]{display:none}.account-topbar__right .locale-switcher a{min-width:32px}.account-workspace__topbar{gap:16px;align-items:center}.account-topbar__right{margin-left:auto;flex-wrap:nowrap}body .account-topbar__site-link{padding:10px 12px}body .market-selector span{align-items:center;min-height:72px;gap:2px;padding:10px 6px}body .market-selector small{font-size:12px;line-height:1.5}body .market-selector strong{font-size:15px}.feature-demo{min-height:270px}.feature-grid{gap:20px}body .feature-card{padding:20px}.feature-copy h3{font-size:22px}.journal-summary{gap:12px}.journal-summary>div{padding:16px}.journal-summary strong{font-size:22px}.journal-dialog,.tour-course,.journal-card{padding:20px}.journal-card dl{grid-template-columns:1fr 1fr;gap:18px}.journal-form{gap:18px}.tour-panel{width:calc(100vw - 24px);max-height:49dvh;bottom:12px;left:12px!important;top:auto!important}.tour-invite{bottom:16px;right:12px;width:340px}.forecast-tools__actions{flex-wrap:wrap}.forecast-tools__actions h3{flex-basis:100%}body #forecast-app .forecast-snapshot{padding:20px;gap:18px;grid-template-columns:1fr}.forecast-snapshot>div+div{padding:18px 0 0;border-left:0;border-top:1px solid var(--line)}body #forecast-app .forecast-snapshot strong{font-size:22px}body #forecast-app .execution-card{padding:20px;gap:18px}body #forecast-app .forecast-corridor{padding:20px}.forecast-corridor__legend{display:grid;grid-template-columns:1fr 1fr}.forecast-corridor__legend>span:nth-child(2){grid-column:1/-1;grid-row:2}.forecast-corridor__legend>span:last-child{text-align:right}body #forecast-app .analysis{padding:20px}.plan-indicators{grid-template-columns:1fr 1fr}.monitor-position-form{grid-template-columns:1fr 1fr}.monitor-position-form label{font-size:14px}.radar-filters .radar-button{width:100%}.journal-launch{gap:16px}}
@media(max-width:440px){.account-workspace__topbar{align-items:flex-start}.account-topbar__left{width:100%}.account-topbar__right{width:100%;justify-content:flex-start;margin-left:0}.account-topbar__right .theme-toggle{min-width:100px}.account-topbar__right [data-theme-label]{display:block}.account-topbar__right .theme-menu{left:0;right:auto}.journal-form{grid-template-columns:1fr}.journal-card dl{grid-template-columns:1fr 1fr}.journal-card__actions button{width:100%}.journal-summary span{font-size:13px}.forecast-tools{padding:20px!important}.monitor-position-form,.monitor-calculation dl{grid-template-columns:1fr}.forecast-form-guide{justify-content:space-between}.forecast-guide-button{font-size:14px}body #forecast-app .execution-card>dl{gap:10px}.execution-card dt{font-size:12px;min-height:40px}.execution-card dd{font-size:15px}.forecast-corridor__head{flex-wrap:wrap;gap:8px}.journal-actions{gap:20px}.journal-actions button{font-size:14px}.tour-course h2{font-size:23px}.tour-invite{bottom:12px}}
body #forecast-app .execution-card dl>div{display:flex;flex-direction:column;gap:10px;min-width:0}body #forecast-app .execution-card dd{text-align:left}body #forecast-app .execution-card .execution-window{border:0}body #forecast-app .execution-card>dl{border-bottom:0}
@media(max-width:480px){body #forecast-app .execution-card>dl{grid-template-columns:1fr;gap:14px}body #forecast-app .execution-card dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:baseline}body #forecast-app .execution-card dt{min-height:0;font-size:14px}body #forecast-app .execution-card dd{text-align:right;font-size:17px}body #forecast-app .execution-card footer{grid-template-columns:1fr 1fr}.execution-card__decision{font-size:14px}}
@media(prefers-reduced-motion:reduce){.theme-menu,.tour-panel,.tour-invite{animation:none!important;transition:none!important}}
/* Controls: one language switcher, distinct toggle states and aligned navigation. */
#forecast-app{--shadow:var(--shadow-card)}
.site-header .nav{justify-content:flex-start;gap:28px}.site-header .nav-panel{display:block;flex:1;min-width:0}.site-header .nav-panel-inner{width:100%;gap:24px}.site-header .nav-menu{flex:1;justify-content:space-between;gap:16px}.site-header .nav-menu a{padding:10px 6px;white-space:nowrap}.site-header .nav-actions{flex-shrink:0;margin-left:0}
.theme-toggle [data-theme-icon]{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center}.theme-toggle [data-theme-icon] svg{width:20px;height:20px}.theme-menu{min-width:212px;padding:7px}body .theme-menu button{display:grid;grid-template-columns:20px minmax(0,1fr) 16px;gap:12px;min-height:44px;padding:10px 12px;align-items:center}.theme-menu button>svg{width:19px;height:19px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;fill:none}.theme-menu button span{text-align:left}.theme-menu button .theme-choice-check{width:16px;height:16px;visibility:hidden}.theme-menu [aria-pressed=true] .theme-choice-check{visibility:visible}.theme-menu button[aria-pressed=true]::after{content:none}
body .market-selector{border:0;padding:0;background:transparent;gap:8px}body .market-selector legend{display:block;padding:0;margin:0 0 10px;color:var(--text-muted);font-size:12px;line-height:1.5}body .market-selector span{border:1px solid var(--line)!important;background:var(--surface)!important;justify-content:center;text-align:center}#forecast-app.account-forecast-app .market-selector__option{flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:76px;padding:12px 8px}#forecast-app.account-forecast-app .market-selector small{font-size:12px;white-space:normal;text-align:center;max-width:130px}
body #forecast-app .switch-row{background:var(--surface);min-height:60px}body #forecast-app .switch-row>span{font-size:15px;color:var(--text-soft)}body #forecast-app .switch .slider{inset:0;border:1px solid #526559;border-radius:20px;background:#697d71;box-sizing:border-box}body #forecast-app .switch .slider::before{left:3px;top:3px;width:18px;height:18px;background:#fff;box-shadow:0 1px 3px #0003;transform:none}body #forecast-app .switch input:checked+.slider{background:#17643d;border-color:#17643d}body #forecast-app .switch input:checked+.slider::before{transform:translateX(18px);background:#fff}body #forecast-app .switch input:focus-visible+.slider{outline:2px solid var(--accent-text);outline-offset:4px}[data-theme=dark] body #forecast-app .switch .slider{background:#405447;border-color:#739781}[data-theme=dark] body #forecast-app .switch input:checked+.slider{background:#247a4b;border-color:#4ca273}.account-layout-body input[type=checkbox]{accent-color:var(--accent-fill)}
body .empty-icon.chart-placeholder{display:grid!important;place-items:center;align-items:center;width:68px;height:68px;margin:0 auto 20px;border:1px solid var(--line);border-radius:16px;background:var(--accent-soft);color:var(--accent-text)}.empty-icon.chart-placeholder::before,.empty-icon.chart-placeholder::after{content:none}.empty-icon.chart-placeholder svg{width:34px;height:34px;display:block}
/* Visual explanations, with one restrained palette in either theme. */
.feature-grid{align-items:stretch}body .feature-card{display:flex;flex-direction:column}.feature-art{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:276px;height:276px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--bg-soft);padding:18px 20px}.feature-art__caption,.feature-art__labels{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--text-muted);font-size:12px;line-height:1.5}.feature-art__caption span:first-child{font-weight:600;color:var(--text)}.feature-art__caption span:last-child{font-variant-numeric:tabular-nums}.feature-art__chart{display:block;width:100%;height:180px;overflow:visible}.art-grid{stroke:var(--line);stroke-width:.6;opacity:.55}.art-zone{fill:var(--accent-soft);stroke:none}.art-price{stroke:var(--accent-text);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.art-target{stroke:var(--accent-border);stroke-width:1;stroke-dasharray:5 5}.art-stop{stroke:var(--danger);stroke-width:1;stroke-dasharray:5 5}.art-point{fill:var(--surface);stroke:var(--accent-text);stroke-width:2.5}.art-label-target,.art-label-entry{color:var(--accent-text)}.art-label-stop{color:var(--danger)}.art-connection{stroke:var(--accent-border);stroke-width:2}.art-node-ring{fill:var(--surface);stroke:var(--line);stroke-width:1}.art-node{fill:var(--accent-fill);stroke:none}.art-check{stroke:var(--accent-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.art-text{fill:var(--text-soft);font-size:12px;font-family:Roboto,Arial,sans-serif}.art-ledger{fill:var(--surface);stroke:var(--accent-border);stroke-width:1.2}.art-rule{stroke:var(--line);stroke-width:2;stroke-linecap:round}.feature-copy{display:flex;flex:1;flex-direction:column}.feature-copy h3{font-size:23px;margin:24px 0 14px}.feature-copy p{font-size:16px;line-height:1.75}
.audience-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.audience-heading h2{font-size:clamp(28px,3vw,36px);line-height:1.3;margin:0}.audience-heading .btn{flex-shrink:0}.audience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.audience-card{display:flex;flex-direction:column;min-width:0;padding:28px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.audience-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:24px;color:var(--accent-text);background:var(--accent-soft);border-radius:12px}.audience-icon svg{width:24px;height:24px}.audience-card h3{font-size:23px;margin:0 0 14px}.audience-card p{font-size:16px;line-height:1.75;margin:0 0 24px;color:var(--text-soft)}.audience-note{display:block;font-size:13px;color:var(--text-muted);margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}
/* The article button has its own row, never an overlay over readable text. */
.home-content-expandable{overflow:visible;max-height:none;padding:28px}.home-content-body{overflow:hidden;transition:max-height .3s ease}.home-content-expandable::after{content:none}.home-content-toggle-wrap{position:static;transform:none;display:flex;justify-content:center;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}body .home-content-toggle{width:auto;min-height:44px;height:auto;padding:10px 22px;border:1px solid var(--accent-border);border-radius:8px;background:var(--surface);color:var(--text);font-size:15px;line-height:1.5;backdrop-filter:none;box-shadow:none;cursor:pointer}.home-richtext :is(p,li){color:var(--text-soft);font-size:16px;line-height:1.8;font-weight:400}.home-richtext :is(h2,h3){color:var(--text);font-size:24px;line-height:1.4}.home-richtext b,.home-richtext strong{font-weight:600}
@media(min-width:1101px) and (max-width:1250px){.site-header .nav{gap:20px}.site-header .nav-panel-inner{gap:18px}.site-header .nav-menu{gap:8px}.site-header .nav-menu a{font-size:14px;padding-inline:4px}}
@media(max-width:1100px){.site-header .nav,.site-header.menu-open .nav{overflow:visible;gap:12px}.site-header .nav-panel{display:grid;flex:none;max-height:calc(100dvh - 100px);overflow-y:auto}.site-header .nav-panel-inner{gap:16px}.site-header .nav-menu{justify-content:flex-start;flex:none;gap:10px}.site-header .nav-menu a{padding:8px 12px}.site-header .nav-actions{margin:0}.feature-art{padding-inline:16px}.feature-copy h3{font-size:21px}.audience-grid{gap:18px}.audience-card{padding:22px}.audience-card h3{font-size:21px}}
@media(max-width:760px){.feature-art{height:270px;min-height:270px}.audience-heading{align-items:flex-start;flex-direction:column;gap:20px}.audience-grid{grid-template-columns:1fr;gap:18px}.audience-card{padding:24px}.audience-icon{margin-bottom:20px}.audience-card p{margin-bottom:20px}.home-content-expandable{padding:22px}.home-richtext :is(h2,h3){font-size:22px}.home-content-toggle-wrap{padding-top:18px;margin-top:18px}.theme-menu{min-width:204px}body .market-selector span{min-height:72px}.feature-copy h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){.home-content-body{transition:none}}
/* Support is a real interface in both themes, including outgoing messages. */
body .account-support-avatar,body .support-chat-avatar{display:grid;place-items:center;flex-shrink:0;border:1px solid var(--line);border-radius:12px;background:var(--accent-soft);color:var(--accent-text)}.account-support-avatar svg{display:block;width:32px;height:32px}.support-chat-avatar svg{display:block;width:24px;height:24px}body .support-chat-toggle{background:var(--accent-fill);color:var(--accent-ink);box-shadow:0 6px 20px #0001}.support-chat-toggle svg{width:27px;height:27px}.support-chat-panel{display:flex;flex-direction:column;width:390px;height:min(600px,calc(100dvh - 120px));max-height:calc(100dvh - 120px);overflow:hidden;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 54px #0002}.support-chat-head{flex-shrink:0;padding:18px;background:var(--surface);border-bottom:1px solid var(--line);align-items:flex-start}.support-chat-title strong{font-size:15px;line-height:1.5;color:var(--text)}.support-chat-title small{font-size:12px;line-height:1.6;color:var(--text-muted)}.support-chat-close{width:36px;height:36px;flex-shrink:0;border:1px solid var(--line);background:var(--surface);font-size:24px;line-height:1}
.support-chat-panel{top:auto}.support-chat-body{flex:1;min-height:80px;height:auto;gap:14px;padding:18px;background:var(--surface)}.support-chat-empty{font-size:14px;line-height:1.7;padding:16px;background:var(--bg-soft);color:var(--text-soft);border:1px solid var(--line)}.support-msg{font-size:14px;line-height:1.65;padding:12px 14px;background:var(--bg-soft);color:var(--text);overflow-wrap:anywhere}.support-msg.is-own{background:var(--accent-fill);color:var(--accent-ink)}.support-msg-meta{font-size:11px;opacity:1;line-height:1.6;margin-top:8px;color:inherit}.support-chat-form{flex-shrink:0;padding:16px;background:var(--bg-soft);gap:12px}.support-chat-form textarea{min-height:84px;max-height:150px;font-size:16px;line-height:1.6;resize:vertical;background:var(--surface)}.support-chat-actions{align-items:center;gap:14px}.support-chat-note{font-size:11px;line-height:1.6;color:var(--text-muted);max-width:190px}body .support-chat-send{min-height:44px;flex-shrink:0;padding:10px 18px;background:var(--accent-fill);border:1px solid var(--accent-fill);border-radius:8px;color:var(--accent-ink);font-size:15px;line-height:1.5;font-weight:500;box-shadow:none}.support-chat-send:hover{background:var(--accent-hover)}.support-chat-send:disabled{opacity:.65;cursor:wait}.support-chat-error{font-size:13px;line-height:1.6;color:var(--danger);min-height:0}.support-chat-error:empty{display:none}.account-support-card{grid-template-columns:64px minmax(0,1fr) auto;gap:20px}.account-support-card h3{font-size:21px}.account-support-card p{margin-top:6px;font-size:15px}
@media(max-width:760px){.support-chat-panel{right:12px;bottom:80px;width:390px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 96px);height:min(600px,calc(100dvh - 96px))}.support-chat-toggle{right:16px;bottom:16px}.support-chat-head,.support-chat-body{padding:16px}.account-support-card{grid-template-columns:52px minmax(0,1fr);padding:20px}.account-support-avatar{width:52px!important;height:52px!important}.account-support-card>button{grid-column:1/-1;justify-self:stretch}.account-support-card h3{font-size:19px}.support-chat-form{padding:14px}.support-chat-title strong{font-size:14px}.support-chat-title small{font-size:11px}}
