/* FALCON PRO page layouts (owner's mockups, 4 Oct 2026). Shared tokens and components are in wing.css. */

/* ===================================================================== home */
#page-overview>:not(#account-hub):not(.w-hello):not(#twofa-banner){display:none!important}
.w-home{display:flex;flex-direction:column;gap:12px}
.w-home-top{display:flex;flex-direction:column;gap:12px}
/* portfolio card */
.w-port{position:relative;overflow:hidden;padding:18px 18px 14px;border-radius:var(--w-r);color:#fff;background:linear-gradient(135deg,#07271c 0%,#0d8c59 55%,#11b071 100%);box-shadow:0 14px 30px -18px rgba(10,58,42,.9)}
.w-port:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(90% 120% at 100% 0%,rgba(255,255,255,.22),transparent 55%)}
.w-port>*{position:relative}
.w-port-head{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}
.w-eye{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#fff}
.w-eye:before{content:'';width:20px;height:20px;background:currentColor;-webkit-mask:var(--i-eye) center/contain no-repeat;mask:var(--i-eye) center/contain no-repeat}
.w-eye.off{opacity:.6}
.w-port-value{display:block;margin:10px 0 2px;font-size:34px;font-weight:800;letter-spacing:-.5px;line-height:1.15;font-variant-numeric:tabular-nums}
.w-port-change{display:block;min-height:18px;font-size:13px;color:rgba(255,255,255,.85)}
.w-port-periods{display:grid;grid-template-columns:repeat(3,1fr);margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.18)}
.w-period{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;min-width:0}
.w-period+.w-period{border-left:1px solid rgba(255,255,255,.28)}
.w-period span{color:rgba(255,255,255,.82)}
.w-period strong{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
/* drawdown and system status */
.w-home-duo{display:grid;grid-template-columns:1fr 1fr;gap:10px}
/* account counters (owner's dark mockups, 9 Oct 2026) */
.w-counts{display:flex;flex-direction:column;width:100%;padding:0;border-radius:var(--w-r);background:var(--w-surface);border:1px solid var(--w-border);box-shadow:var(--w-shadow);color:var(--w-text);text-align:left;overflow:hidden}
.w-counts-top{display:grid;grid-template-columns:repeat(3,1fr);padding:14px 6px 12px}
.w-count{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.w-count+.w-count{border-left:1px solid var(--w-border)}
.w-count span{font-size:13px;font-weight:700;color:var(--w-text)}
.w-count strong{font-size:30px;line-height:1.15;font-weight:800;color:var(--w-primary-text)}
.w-count small{font-size:12px;color:var(--w-text2)}
.w-count-running strong{color:var(--w-green)}
.w-count-stopped strong{color:var(--w-red)}
.w-counts-low{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--w-border)}
.w-count-row{display:flex;align-items:center;gap:10px;padding:12px 14px}
.w-count-row+.w-count-row{border-left:1px solid var(--w-border)}
.w-count-row>div{display:flex;flex-direction:column;min-width:0}
.w-count-row span{font-size:13px;font-weight:700}
.w-count-row strong{font-size:15px;font-weight:700}
.w-count-ic{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--w-primary-soft);color:var(--w-primary-text)}
.w-count-review .w-count-ic{background:var(--w-amber-soft);color:var(--w-amber)}
.w-count-ic .wi{width:20px;height:20px}
.w-mini{display:flex;align-items:center;gap:10px;padding:12px;border-radius:var(--w-r);background:var(--w-surface);border:1px solid var(--w-border);box-shadow:var(--w-shadow);text-align:left;min-width:0}
.w-mini>div{min-width:0}
.w-mini span{display:block;font-size:12.5px;color:var(--w-text2)}
.w-mini strong{display:block;font-size:15px;font-weight:700;color:var(--w-text);line-height:1.3}
/* The icon is the .wi inside. ".w-mini span" (block, grey) also matched this span and its icon, so the
   icon sat grey at the top of a pale circle that read as a blur (FALCON's owner, 15 Oct 2026). */
.w-mini .w-mini-ic{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;background:var(--w-red-soft);color:var(--w-red);--wi:var(--i-alert)}
.w-mini .w-mini-ic .wi{display:block;width:18px;height:18px;color:inherit}
.w-mini-dot{width:38px;height:38px;border-radius:50%;flex:none;background:var(--w-green-soft);position:relative}
.w-mini-dot:after{content:'';position:absolute;inset:13px;border-radius:50%;background:var(--w-green)}
.w-mini-sys[data-tone=warn] .w-mini-dot{background:var(--w-amber-soft)}.w-mini-sys[data-tone=warn] .w-mini-dot:after{background:#f0a400}
.w-mini-sys[data-tone=idle] strong{color:var(--w-primary-text)}
/* next news */
.w-next{display:block;width:100%;text-align:left;padding:14px}
.w-next-head{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:15px}
.w-next-ic{width:22px;height:22px;color:var(--w-text)}
.w-next-body{display:flex;align-items:center;gap:12px}
.w-next-what{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.w-next-what strong{font-size:15px;line-height:1.35;color:var(--w-text);word-break:break-word}
.w-clock{display:flex;align-items:flex-start;gap:4px;flex:none}
.w-clock-cell{display:flex;flex-direction:column;align-items:center;gap:2px}
.w-clock-cell strong{min-width:40px;height:40px;display:grid;place-items:center;border-radius:9px;background:var(--w-surface2);border:1px solid var(--w-border);font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--w-text)}
.w-clock-cell small{font-size:11.5px;color:var(--w-text3)}
.w-clock-sep{line-height:40px;font-weight:700;color:var(--w-text2)}
/* chart */
.w-chart{padding:14px}
.w-chart-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.w-chart-title{display:flex;align-items:center;gap:10px;flex:1;font-size:17px}
.w-coin{width:28px;height:22px;flex:none;background:linear-gradient(160deg,#ffe07a,#e3a10b);border-radius:4px;clip-path:polygon(18% 0,82% 0,100% 100%,0 100%);box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
.w-frame{width:auto;min-height:34px;padding:0 30px 0 10px;font-size:13.5px;font-weight:600;background-position:right 8px center;background-size:15px}
.w-full{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:var(--w-text2);border:1px solid var(--w-border)}
.w-full:before{content:'';width:16px;height:16px;background:currentColor;-webkit-mask:var(--i-panels) center/contain no-repeat;mask:var(--i-panels) center/contain no-repeat}
.w-plot{height:190px;border-radius:var(--w-r-sm);background:var(--w-surface2);border:1px solid var(--w-border);overflow:hidden;
  background-image:linear-gradient(var(--w-border) 1px,transparent 1px),linear-gradient(90deg,var(--w-border) 1px,transparent 1px);background-size:100% 25%,12.5% 100%}
.w-plot-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--w-text3);font-size:14px}
.w-plot-ic{width:40px;height:40px;color:var(--w-text3);opacity:.7}
.w-chart-note{display:block;margin-top:6px;color:var(--w-text3);font-size:12px}
.w-candles{display:block}
.w-candles .w-grid{stroke:var(--w-border);stroke-width:1}
.w-candles .w-axis{fill:var(--w-text3);font-size:11px}
.w-candles .w-up{stroke:#16a34a;fill:#16a34a}.w-candles .w-down{stroke:#e03a3a;fill:#e03a3a}
.w-candles .w-ma{fill:none;stroke:var(--w-chart);stroke-width:1.5}
.w-candles .w-last-line{stroke-dasharray:3 3;stroke-width:1}
.w-candles .w-last-tag.w-up{fill:#16a34a}.w-candles .w-last-tag.w-down{fill:#e03a3a}
.w-candles .w-last-text{fill:#fff;font-size:11px;font-weight:700}
.w-chart-full{position:fixed;inset:0;z-index:300;border-radius:0;display:flex;flex-direction:column;padding:calc(12px + env(safe-area-inset-top)) 12px 12px}
.w-chart-full .w-plot{flex:1;height:auto}
body.w-chart-open{overflow:hidden}
/* your MT5 accounts */
.w-acct-block{display:flex;flex-direction:column;gap:12px}
.w-block-head{display:flex;align-items:center;gap:10px}
.w-block-head h2{flex:1;font-size:16px;margin:0}
.w-mt5-ic{width:34px;height:34px;flex:none;border-radius:50%;background:conic-gradient(from 200deg,#1f8f4e,#2fb35f,#f2b430,#0b8f5c,#1f8f4e);position:relative}
.w-mt5-ic:after{content:'5';position:absolute;inset:7px;border-radius:50%;background:var(--w-surface);display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--w-text)}
.w-norunner{display:flex;align-items:center;gap:12px;padding:6px 4px}
.w-lock{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:12px;background:var(--w-surface2);color:var(--w-text3)}
.w-lock:before{content:'';width:22px;height:22px;background:currentColor;-webkit-mask:var(--i-lock) center/contain no-repeat;mask:var(--i-lock) center/contain no-repeat}
.w-norunner strong{display:block;font-size:15px}
.w-norunner small{display:block;color:var(--w-text2);font-size:13px}
.w-empty-line{color:var(--w-text2);font-size:14px;text-align:center;padding:8px}
.w-acct-list{display:flex;flex-direction:column;gap:12px}
.w-acct-list:empty{display:none}
.w-block-actions{display:grid;grid-template-columns:1fr auto;gap:10px}
.w-add:disabled{background:var(--w-surface2);color:var(--w-text3);border-color:var(--w-border)}
.w-add:not(:disabled){background:var(--w-primary);color:#fff;border-color:var(--w-primary)}
.w-killall{gap:8px}
.w-killall:before{content:'';width:18px;height:18px;background:currentColor;-webkit-mask:var(--i-minuscircle) center/contain no-repeat;mask:var(--i-minuscircle) center/contain no-repeat}
#hub-archived{margin:0;align-self:center;font-size:14px}
.ea-launch-note{margin:0;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-primary-soft);font-size:14px}
/* the stop-all dialog */
.w-kill{max-width:440px;text-align:center}
.w-kill-mark{width:58px;height:58px;margin:4px auto 10px;border-radius:50%;background:var(--w-red);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 8px var(--w-red-soft)}
.w-kill-mark .wi{width:30px;height:30px}
.w-kill h2{color:var(--w-red)}
.w-kill-list{margin:14px 0 6px;padding:12px 14px 12px 30px;border-radius:var(--w-r-sm);background:var(--w-red-soft);border:1px solid var(--w-red-border);text-align:left;font-size:14px;line-height:1.6;color:var(--w-text)}
.w-kill-list li::marker{color:var(--w-red)}
.w-kill-count{font-size:13.5px;color:var(--w-text2);margin-top:8px}
.w-danger-solid:not(:disabled){background:var(--w-red);color:#fff;border-color:var(--w-red)}
.w-kill-admin{display:flex;align-items:center;gap:10px;width:100%;margin-top:14px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-amber-soft);border:1px solid var(--w-amber-border);color:var(--w-text);font-size:13px;text-align:left}
.w-kill-admin .wi{color:#c98a00}

/* ===================================================================== the account card */
.w-acct{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:var(--w-r);background:var(--w-surface);border:1px solid var(--w-border);box-shadow:var(--w-shadow)}
.w-acct-list .w-acct{box-shadow:none;background:var(--w-surface)}
.w-acct-top{display:flex;align-items:center;gap:8px}
.w-acct-coin{width:26px;height:26px;border-radius:7px;flex:none;background:linear-gradient(160deg,#ffd85e,#f0a400);position:relative}
.w-acct-coin:after{content:'';position:absolute;inset:6px;border-radius:50%;border:2px solid rgba(120,70,0,.45)}
.w-type{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;font-size:12.5px;font-weight:700;background:var(--w-primary-soft);color:var(--w-primary-text)}
.w-type-real{background:var(--w-amber-soft);color:var(--w-amber)}
.w-type-none{background:var(--w-surface3);color:var(--w-text2)}
.w-ver{margin-left:auto;font-size:12px;font-weight:700;color:var(--w-text3)}
.w-acct-top .w-badge{margin-left:auto}
.w-acct-top .w-ver+.w-badge{margin-left:0}
.w-acct-more{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:var(--w-text);flex:none}
.w-acct-more:before{content:'';width:20px;height:20px;background:currentColor;-webkit-mask:var(--i-more) center/contain no-repeat;mask:var(--i-more) center/contain no-repeat}
.w-acct-more:hover{background:var(--w-surface2)}
.w-acct-head h3{font-size:17px;font-weight:800;letter-spacing:.2px}
.w-acct-head small{display:block;color:var(--w-text2);font-size:13px}
.w-acct-state{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13.5px}
.w-acct-state .w-dot{background:var(--w-text3)}
.w-acct-state small{color:var(--w-text2);font-size:13px}
.w-acct.tone-running .w-acct-state .w-dot{background:var(--w-green)}.w-acct.tone-running .w-acct-state strong{color:var(--w-green)}
.w-acct.tone-error .w-acct-state .w-dot{background:var(--w-red)}.w-acct.tone-error .w-acct-state strong{color:var(--w-red)}
.w-acct.tone-pending .w-acct-state .w-dot,.w-acct.tone-unknown .w-acct-state .w-dot{background:#f0a400}
.w-acct-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.w-acct-tiles>div{padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);min-width:0}
.w-acct-tiles span{display:block;font-size:12.5px;color:var(--w-text2)}
.w-acct-tiles strong{display:block;margin-top:2px;font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-acct-pl{display:flex;align-items:baseline;gap:6px 10px;flex-wrap:wrap;font-size:13px;color:var(--w-text2);padding:0 2px}
.w-acct-pl strong{font-size:14px;color:var(--w-text);margin-right:8px}
.w-acct-rows{display:flex;flex-direction:column;gap:6px}
.w-acct-row{display:grid;grid-template-columns:22px auto 1fr auto;align-items:center;gap:10px;min-height:46px;padding:6px 10px 6px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);font-size:14px}
.w-acct-row .wi{width:20px;height:20px;color:var(--w-text)}
.w-acct-row>span:nth-child(2){font-weight:600;white-space:nowrap}
.w-acct-row>strong{text-align:right;font-size:13.5px;color:var(--w-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.w-acct-row .pill{min-width:84px;justify-content:center}
.w-acct-ea{grid-template-columns:22px auto 1fr}
.w-acct-actions{display:flex;flex-direction:column;gap:8px}
.w-acct-actions>.primary,.w-acct-actions>.secondary,.w-acct-actions>.danger{width:100%;min-height:46px}
.w-acct-actions>.w-wait{gap:10px}
.w-acct-actions>.w-wait:before{content:'';width:18px;height:18px;background:currentColor;-webkit-mask:var(--i-gear) center/contain no-repeat;mask:var(--i-gear) center/contain no-repeat}
.w-acct-actions>.w-stop{color:var(--w-red);border-color:var(--w-red-border)}
.w-acct-sub{display:flex;gap:8px}
.w-acct-sub>button{flex:1;min-height:38px;padding:0 8px;font-size:13.5px}
.portfolio-notice,.setup-notice{margin:0;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-primary-soft);color:var(--w-text);font-size:13.5px;line-height:1.5}
.license-check-panel{display:flex;flex-direction:column;gap:8px}
.license-check-panel .hint{margin:0}
.fx-real-ok{background:var(--w-green-soft)!important;color:var(--w-green)!important;font-weight:600}
.slot-note{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);font-size:13.5px}
.slot-note>div{flex:1;min-width:0}
.slot-note strong{display:block}
.slot-note small{display:block;color:var(--w-text2)}
.slot-note.wait{background:var(--w-amber-soft)}.slot-note.stop{background:var(--w-red-soft)}.slot-note.ready{background:var(--w-green-soft)}
.portfolio-password{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-amber-soft)}
.portfolio-password>span{flex-basis:100%;font-size:13px;font-weight:600}
.portfolio-password input{flex:1 1 8rem}

/* ===================================================================== page header buttons and the accounts page */
.w-icon-btn{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:12px;background:var(--w-surface);border:1px solid var(--w-border2);color:var(--w-primary)}
.w-icon-btn:before{content:'';width:20px;height:20px;background:currentColor;-webkit-mask:var(--wi,var(--i-refresh)) center/contain no-repeat;mask:var(--wi,var(--i-refresh)) center/contain no-repeat}
.w-icon-btn:disabled{opacity:.6}
.w-filter{--wi:var(--i-filter);color:var(--w-text)}
.w-filter[aria-expanded=true]{background:var(--w-primary-soft);border-color:var(--w-primary)}
.w-head-add{min-height:42px;padding:0 16px}
.w-help-dot{display:inline-grid;place-items:center;width:24px;height:24px;margin-left:6px;vertical-align:-3px;color:var(--w-text)}
.w-help-dot:before{content:'';width:22px;height:22px;background:currentColor;-webkit-mask:var(--i-help) center/contain no-repeat;mask:var(--i-help) center/contain no-repeat}
.w-search-row{display:flex;gap:10px}
.w-search-row input{flex:1;min-height:46px}
.w-filter-box{padding:12px;border-radius:var(--w-r);background:var(--w-surface);border:1px solid var(--w-border)}
.w-filter-box label{margin-top:0}
.w-foot-note{text-align:center;color:var(--w-text2);font-size:13.5px;line-height:1.6;padding:4px 10px}
.fxc-panel{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:var(--w-r-sm);border:1px solid var(--w-border);background:var(--w-surface)}
.fxc-head{display:flex;justify-content:space-between;align-items:center;font-size:14px}
.fxc-note,.fxc-foot{font-size:13px;color:var(--w-text2);margin:0}
.fxc-list,.fxc-dlist{display:flex;flex-direction:column;gap:4px}
.fxc-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;background:var(--w-surface2);font-size:13.5px}
.fxc-what{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.fxc-side{font-size:11.5px;font-weight:800;padding:2px 6px;border-radius:5px;color:#fff}
.fxc-side.buy{background:var(--w-green)}.fxc-side.sell{background:var(--w-red)}
.fxc-ticket{color:var(--w-text3)}
.fxc-pl{font-variant-numeric:tabular-nums}
.fxc-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fxc-acts>button{min-height:40px;font-size:13.5px;padding:0 10px}
.fxc-more{font-size:12.5px;color:var(--w-text3);margin:2px 0 0}

/* ===================================================================== settings (a grouped list) */
.w-profile{display:flex;align-items:center;gap:14px;padding:14px 16px}
.w-profile-ic{width:52px;height:52px;flex:none;border-radius:50%;background:var(--w-primary-soft);position:relative}
.w-profile-ic:before{content:'';position:absolute;inset:12px;background:var(--w-primary);-webkit-mask:var(--i-user) center/contain no-repeat;mask:var(--i-user) center/contain no-repeat}
.w-profile h2{font-size:17px;margin:0}
.w-profile p{font-size:13.5px;word-break:break-all}
.w-list{background:var(--w-surface);border:1px solid var(--w-border);border-radius:var(--w-r);box-shadow:var(--w-shadow);overflow:hidden}
.w-list>*+*{border-top:1px solid var(--w-border)}
.w-list-solo{display:block}
.w-row{display:flex;align-items:center;gap:14px;width:100%;min-height:54px;padding:8px 14px 8px 16px;background:var(--w-surface);color:var(--w-text);font-size:15px;font-weight:500;text-align:left;text-decoration:none;list-style:none;cursor:pointer}
.w-row::-webkit-details-marker{display:none}
.w-row:hover{background:var(--w-surface2)}
.w-row>.wi{width:22px;height:22px;color:var(--w-primary-text)}
.w-row-label{flex:1;min-width:0}
.w-row .w-seg{margin:0;flex:none}
.w-seg-sm{padding:3px;border-radius:10px}
.w-seg-sm>button{min-height:30px;padding:0 14px;font-size:13.5px;border-radius:8px}
.w-chev{width:18px;height:18px;flex:none;background:var(--w-text3);-webkit-mask:var(--i-chevron) center/contain no-repeat;mask:var(--i-chevron) center/contain no-repeat;transition:transform .15s}
details[open]>.w-row .w-chev{transform:rotate(90deg)}
.w-row-status{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--w-red)}
.w-row-status[data-on=true]{color:var(--w-green)}
.w-row-body{padding:4px 16px 16px;display:flex;flex-direction:column;gap:10px;background:var(--w-surface)}
.w-row-danger,.w-row-danger>.wi{color:var(--w-red)!important;font-weight:700}
.w-row-danger .w-chev{background:var(--w-red)}
.w-row[hidden]{display:none}
.security-state{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:14px;color:var(--w-text2)}
.security-state>.primary,.security-state>.secondary{min-height:40px}
.security-devices{display:flex;flex-direction:column;gap:8px}
.security-devices-title{display:none}
.security-device{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2)}
.security-device>div{flex:1;min-width:0}
.security-device strong{display:block;font-size:14px}
.security-device small{display:block;color:var(--w-text3);font-size:12.5px}
.health-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--w-border);font-size:14px}
.health-row:last-child{border-bottom:0}
.health-row span{color:var(--w-text2)}
.health-row strong{text-align:right}
.support-rows{display:flex;flex-direction:column;gap:8px}
.support-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2)}
.support-row>i{width:38px;height:38px;flex:none;border-radius:10px;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:11px;color:#fff;background:var(--w-primary)}
.support-row.line>i,.support-row.group>i{background:var(--w-line-green)}
.support-row.fb>i{background:#1877f2;font-size:18px}
.support-row>span{flex:1;min-width:0}
.support-row strong{display:block;font-size:14.5px}
.support-row small{display:block;color:var(--w-text2);font-size:12.5px}
.support-row .secondary{min-height:36px;padding:0 12px;font-size:13.5px}
.set-support h4{margin-top:4px}
.support-links{display:flex;flex-direction:column}
.support-links a{padding:10px 2px;border-bottom:1px solid var(--w-border);font-size:14px;font-weight:600}
.support-links a:last-child{border-bottom:0}
#legal-receipts:empty{display:none}
#legal-receipts .ops-event{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);font-size:13px;margin-top:6px}
.invite-output{display:block;margin-top:8px;font-family:ui-monospace,Consolas,monospace;word-break:break-all;font-size:14px}
.invite-output:empty{display:none}
.w-set-foot{display:flex;justify-content:space-between;padding:2px 6px;color:var(--w-text3);font-size:12.5px}
#page-settings>.w-list,#page-settings>.w-profile{max-width:760px;width:100%}

/* ===================================================================== history */
.fx-backtest-link{min-height:38px;padding:0 14px;font-size:14px}
.w-hx-filter{display:flex;flex-direction:column;gap:8px}
#deals-filter .settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
#deals-filter label{margin:0 0 4px;font-size:13px;color:var(--w-text2)}
#deals-filter input,#deals-filter select{min-height:42px;font-size:14px}
#deals-filter .w-search-btn{width:100%;margin-top:10px;min-height:42px}
#deals-filter .w-search-btn:before{content:'';width:18px;height:18px;background:currentColor;-webkit-mask:var(--i-search) center/contain no-repeat;mask:var(--i-search) center/contain no-repeat}
#deals-status{font-size:13px;color:var(--w-text2)}
#deals-status:empty{display:none}
#deals-sources{font-size:12px;color:var(--w-text3)}
#deals-sources:empty{display:none}
#deals-sources p{margin:2px 0}
.hx{display:flex;flex-direction:column;gap:12px}
.hx:empty{display:none}
.hx.loading{opacity:.6}
.hx-currencies{display:flex;gap:8px}
.hx-currencies button{min-height:32px;padding:0 12px;border-radius:999px;background:var(--w-surface3);font-weight:600;font-size:13px}
.hx-currencies button.selected{background:var(--w-primary);color:#fff}
.hx-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--w-surface);border:1px solid var(--w-border);border-radius:var(--w-r);box-shadow:var(--w-shadow);padding:12px 4px}
.hx-tile{display:flex;flex-direction:column;align-items:center;gap:4px;padding:2px 6px;text-align:center;min-width:0}
.hx-tile+.hx-tile{border-left:1px solid var(--w-border)}
.hx-tile>span{font-size:12px;color:var(--w-text2);line-height:1.25}
.hx-tile>strong{font-size:15px;font-weight:800;white-space:nowrap}
.hx-tile>small{display:none}
.hx-tile.orders{display:none}
.hx-chart .hx-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.hx-chart h2{font-size:16px;margin:0}
.hx-legend{display:flex;gap:12px;font-size:12.5px;color:var(--w-text2)}
.hx-legend span:before{content:'';display:inline-block;width:10px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle;background:var(--w-primary)}
.hx-legend .e:before{background:#14a24b}
.hx-svg{display:block;width:100%;height:auto;margin-top:8px}
.hx-svg .grid{stroke:var(--w-border)}
.hx-svg .axis{fill:var(--w-text3);font-size:11px}
.hx-svg .line{fill:none;stroke-width:2}
.hx-svg .line.b{stroke:var(--w-primary)}.hx-svg .line.e{stroke:#14a24b}
.hx-svg .area.b{fill:rgba(11,143,92,.08)}.hx-svg .area.e{fill:none}
.hx-last{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:var(--w-text2);margin-top:4px}
.hx-chart .unavailable{margin-top:8px}
.hx-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hx-grid>.panel{padding:12px;min-width:0}
.hx-grid h3{font-size:14px;margin-bottom:8px}
.hx-grid .unavailable{padding:14px 8px;font-size:13px}
.hx-donut-row{display:flex;align-items:center;gap:10px}
.hx-donut{width:84px;height:84px;flex:none}
.hx-donut circle{fill:none;stroke-width:16}
.hx-donut .long{stroke:var(--w-primary)}.hx-donut .short{stroke:#f0a400}
.hx-donut-legend{display:flex;flex-direction:column;gap:4px;font-size:12.5px}
.hx-donut-legend>div{display:flex;align-items:center;gap:6px}
.hx-donut-legend i{width:9px;height:9px;border-radius:50%;background:var(--w-primary)}
.hx-donut-legend .short i{background:#f0a400}
.hx-donut-legend small{color:var(--w-text3)}
.hx-big{display:block;font-size:20px;font-weight:800;margin-bottom:6px}
.hx-bar-row{margin-top:6px}
.hx-bar-label{display:flex;justify-content:space-between;font-size:12.5px;color:var(--w-text2)}
.hx-track{height:8px;border-radius:9px;background:var(--w-surface3);overflow:hidden;margin-top:3px}
.hx-track i{display:block;height:100%;border-radius:9px;background:var(--w-green)}
.hx-track i.loss{background:var(--w-red)}
.hx-sym{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;font-size:12.5px;margin-top:6px}
.hx-columns{display:flex;align-items:flex-end;gap:6px;height:110px}
.hx-columns>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;height:100%;justify-content:flex-end;font-size:11px}
.hx-col{flex:1;width:100%;display:flex;align-items:flex-end}
.hx-col i{display:block;width:100%;border-radius:5px 5px 2px 2px;background:var(--w-primary)}
.hx-columns small{color:var(--w-text3)}
.hx-monthly h2{font-size:16px}
.hx-table{overflow-x:auto;margin-top:8px}
.hx-table table{font-size:12.5px}
.hx-table th,.hx-table td{padding:6px 8px;white-space:nowrap}
.hx-monthly .mobile-record-table{display:table}
.hx-details{padding:0}
.hx-details>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 16px;font-weight:600;list-style:none;color:var(--w-primary-text)}
.hx-details>summary::-webkit-details-marker{display:none}
.hx-details>summary:before{content:'';width:16px;height:16px;background:currentColor;-webkit-mask:var(--i-chevron) center/contain no-repeat;mask:var(--i-chevron) center/contain no-repeat;transition:transform .15s}
.hx-details[open]>summary:before{transform:rotate(90deg)}
.hx-details>section{padding:0 16px 16px;display:flex;flex-direction:column;gap:8px}
#deals-totals,#deals-periods,#deals-portfolio{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
#deals-totals .panel,#deals-periods .panel,#deals-portfolio .panel{padding:10px 12px;box-shadow:none;font-size:13px}
.deal-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;font-size:12px}
.deal-calendar>strong{text-align:center;color:var(--w-text2)}
.deal-calendar>button{min-height:44px;padding:2px;flex-direction:column;gap:0;font-size:12px;border-radius:8px}
.deal-calendar>button small{font-size:10px;color:var(--w-text2)}
.w-ledger .panel-heading{margin-bottom:4px}
.w-export{min-height:36px;padding:0 12px;font-size:13.5px}
.w-export:before{content:'';width:16px;height:16px;background:currentColor;-webkit-mask:var(--i-download) center/contain no-repeat;mask:var(--i-download) center/contain no-repeat}
.w-ledger-help{font-size:13px;color:var(--w-text2);margin-bottom:8px}
.w-ledger-help summary{color:var(--w-primary-text);font-weight:600}
.w-ledger-help p{margin-top:6px}
.w-empty-deals{--wi:var(--i-file)}
.w-ledger #deals-page{font-size:13px;color:var(--w-text2);align-self:center}
@media (max-width:800px){
 .w-deals-table thead{display:none}
 .w-deals-table,.w-deals-table tbody{display:block}
 .w-deals-table tbody tr{display:grid;grid-template-columns:1.2fr 1fr .6fr 1fr;gap:2px 8px;align-items:center;padding:9px 2px;border-bottom:1px solid var(--w-border)}
 .w-deals-table tbody td{display:block;padding:0;border:0;font-size:13px}
 .w-deals-table tbody td:is(:nth-child(1),:nth-child(3),:nth-child(7),:nth-child(8),:nth-child(9),:nth-child(10),:nth-child(11),:nth-child(13)){display:none}
 .w-deals-table tbody td:nth-child(2){grid-column:1;grid-row:1/3;font-size:12px;color:var(--w-text2)}
 .w-deals-table tbody td:nth-child(4){grid-column:2;grid-row:1;font-weight:600}
 .w-deals-table tbody td:nth-child(5){grid-column:2;grid-row:2;font-size:12px;color:var(--w-text2)}
 .w-deals-table tbody td:nth-child(6){grid-column:3;grid-row:1/3;text-align:center}
 .w-deals-table tbody td:nth-child(12){grid-column:4;grid-row:1/3;text-align:right;font-weight:700}
}

/* ===================================================================== choose EA (page and dialog) */
.w-catalog{padding:12px}
.w-ea-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.w-ea{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:10px;border-radius:var(--w-r);border:1.5px solid var(--w-border);background:var(--w-surface);text-align:left;min-width:0}
.w-ea img{width:100%;height:84px;object-fit:contain;border-radius:10px;background:linear-gradient(160deg,var(--w-surface2),var(--w-primary-soft))}
.w-ea strong{display:block;font-size:15px}
.w-ea small{display:block;font-size:12px;color:var(--w-text2)}
.w-ea-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:11.5px;color:var(--w-text2)}
.w-ea-state{margin-left:auto;padding:1px 8px;border-radius:999px;background:var(--w-amber-soft);color:var(--w-amber);font-size:11px}
.w-ea-state.ready{background:var(--w-green-soft);color:var(--w-green)}
.w-coin-sm{width:16px;height:12px}
.w-radio{position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:50%;border:2px solid var(--w-border2);background:var(--w-surface);z-index:1}
.w-ea.on,.w-set.on{border-color:var(--w-primary);box-shadow:0 0 0 3px rgba(11,143,92,.14)}
.w-ea.on .w-radio,.w-set.on .w-radio{border-color:var(--w-primary);background:radial-gradient(circle,var(--w-primary) 0 5px,var(--w-surface) 6px)}
.w-ea-setup h2{font-size:16px;margin-bottom:8px}
.w-ea-setup h3{font-size:14px;margin-bottom:6px}
.w-ea-setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.w-mode{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:14px;font-weight:500;cursor:pointer}
.w-summary{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:0;font-size:13.5px}
.w-summary dt{color:var(--w-text2)}
.w-summary dd{margin:0;text-align:right;font-weight:600;word-break:break-word}
/* the EA and lot dialog */
.w-pick{max-width:520px}
.w-pick-title{font-size:14.5px;margin:14px 0 8px}
/* the change-EA dialog: one heading per EA system over its sets (15 Oct 2026) */
.w-pick-sys{margin:14px 0 8px;padding:7px 12px}
.w-pick-sets>.w-pick-sys:first-child{margin-top:0}
.w-pick-sys strong{font-size:14px}
.w-sets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.w-set{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;border-radius:12px;border:1.5px solid var(--w-border);background:var(--w-surface);text-align:center;min-width:0}
.w-set img{width:100%;height:46px;object-fit:contain}
.w-set strong{font-size:13px;display:block}
.w-set small{font-size:11px;color:var(--w-text3);display:block}
.w-set .w-radio{top:5px;right:5px;width:16px;height:16px}
.w-field-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);font-size:14px}
.w-field-row>span{color:var(--w-text2)}
.w-locked{display:inline-flex;align-items:center;gap:6px}
.w-locked:before{content:'';width:15px;height:15px;background:var(--w-text3);-webkit-mask:var(--i-lock) center/contain no-repeat;mask:var(--i-lock) center/contain no-repeat}
.w-modes{display:flex;gap:18px;flex-wrap:wrap}
.w-lot{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.w-lot.off{opacity:.5}
.w-step{width:44px;height:44px;border-radius:10px;border:1px solid var(--w-border2);font-size:22px;font-weight:600;color:var(--w-text);display:grid;place-items:center}
.w-lot-input{width:96px!important;text-align:center;font-weight:700;font-size:17px!important}
.w-lot small{flex-basis:100%;color:var(--w-text3);font-size:12px}
.w-pick .w-warn{margin-top:12px;font-size:13px}

/* ===================================================================== dialogs from the mockups */
#account-dialog .dialog-heading,#real-start-dialog .dialog-heading,#hub-status-dialog .dialog-heading{align-items:center}
.w-form-row{display:grid;grid-template-columns:minmax(110px,40%) 1fr;align-items:center;gap:10px;margin:0 0 10px}
.w-form-row>label,.w-form-row>legend{margin:0;font-size:14px}
.w-form-row label small,.w-form-row legend small{display:block;font-weight:500;color:var(--w-text3);font-size:12px}
.w-form-col{grid-template-columns:1fr;gap:6px}
fieldset.w-radios{border:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center}
fieldset.w-radios legend{flex-basis:100%;padding:0;margin-bottom:4px;font-weight:600}
.w-radios .w-mode{margin:0}
.w-mode small{color:var(--w-text3)}
#mt-node{margin-bottom:6px}
.w-owner span small{display:block;color:var(--w-text3);font-size:12px;font-weight:400}
.w-limit-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.w-limit-tiles>div{padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-primary-soft)}
.w-limit-tiles small{display:block;font-size:12.5px;color:var(--w-text2);font-weight:600}
.w-limit-tiles strong{display:block;font-size:20px;font-weight:800;color:var(--w-primary-text)}
.w-limit-tiles span{display:block;font-size:11.5px;color:var(--w-text3)}
#account-dialog .w-alert{margin-top:12px}
#account-dialog .w-alert span{display:block;color:var(--w-text2);font-size:13px}
.flow-security{margin-top:12px;font-size:12.5px;color:var(--w-text3);display:flex;align-items:center;gap:6px}
.flow-security:before{content:'';width:14px;height:14px;background:currentColor;-webkit-mask:var(--i-lock) center/contain no-repeat;mask:var(--i-lock) center/contain no-repeat}
.hint.centered{text-align:center}
/* the start confirmation */
.w-facts{margin-top:12px}
.w-facts h3{font-size:14.5px;margin-bottom:6px}
.w-facts dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);font-size:13.5px}
.w-facts dt{color:var(--w-text2)}
.w-facts dd{margin:0;text-align:right;font-weight:600}
.w-consent{border-top:2px solid var(--w-amber-border);padding-top:10px}
#real-start-dialog .primary.full{margin-top:12px}
/* status, archive, chooser and confirm dialogs */
#hub-status-dialog,#hub-archive-dialog{max-width:520px}
#hub-status-dialog>strong{display:block;font-size:16px}
.flow-status-banner{margin:10px 0;padding:12px 14px;border-radius:var(--w-r-sm);background:var(--w-primary-soft)}
.flow-status-banner.risk{background:var(--w-red-soft)}
.flow-status-banner h3{font-size:15px}
.flow-status-banner p{font-size:13.5px;color:var(--w-text2)}
.flow-summary{margin-top:10px;padding:12px 14px;border-radius:var(--w-r-sm);border:1px solid var(--w-border)}
.flow-summary h3{font-size:15px;margin-bottom:6px}
.flow-summary-row{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid var(--w-border);font-size:13.5px}
.flow-summary-row span{color:var(--w-text2)}
.flow-summary>.full{margin-top:8px}
.flow-task{font-size:13.5px;padding:4px 0}
.flow-status-actions{display:flex;gap:8px;margin:10px 0}
.flow-status-actions>button{flex:1}
.flow-account{display:flex;align-items:center;gap:8px;padding:10px 0;border-top:1px solid var(--w-border)}
.flow-account>div{flex:1;min-width:0}
.flow-account strong{display:block}
.flow-account small{color:var(--w-text3)}
.flow-account>button{min-height:36px;padding:0 12px;font-size:13.5px}
/* the steps of a start, in the status dialog */
.w-steps-list{list-style:none;margin:10px 0;padding:0;display:flex;flex-direction:column;gap:2px}
.w-step-item{display:grid;grid-template-columns:30px 1fr 22px;gap:10px;align-items:center;padding:8px 10px;border-radius:10px}
.w-step-item.now{background:var(--w-amber-soft)}
.w-step-no{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12.5px;font-weight:700;background:var(--w-surface3);color:var(--w-text2)}
.w-step-item.now .w-step-no{background:#f0b429;color:#fff}
.w-step-item.done .w-step-no{background:var(--w-primary);color:#fff}
.w-step-item.bad .w-step-no{background:var(--w-red);color:#fff}
.w-step-item strong{display:block;font-size:14px}
.w-step-item small{display:block;font-size:12px;color:var(--w-text2)}
.w-step-mark{width:20px;height:20px;background:var(--w-text3);-webkit-mask:var(--i-clock) center/contain no-repeat;mask:var(--i-clock) center/contain no-repeat}
.w-step-item.done .w-step-mark{background:var(--w-green);-webkit-mask-image:var(--i-checkcircle);mask-image:var(--i-checkcircle)}
.w-step-item.now .w-step-mark{background:var(--w-primary);-webkit-mask-image:var(--i-loader);mask-image:var(--i-loader);animation:w-spin 1.2s linear infinite}
.w-step-item.bad .w-step-mark{background:var(--w-red);-webkit-mask-image:var(--i-alertcircle);mask-image:var(--i-alertcircle)}
@keyframes w-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.w-step-item.now .w-step-mark{animation:none}}
/* problems a member may meet, in the status dialog */
.w-issues{margin:4px 0 10px}
.w-issues h3{font-size:14.5px;margin-bottom:2px}
.w-issue{margin-top:6px;border:1px solid var(--w-border);border-radius:var(--w-r-sm);background:var(--w-surface)}
.w-issue summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;font-size:13.5px}
.w-issue summary::-webkit-details-marker{display:none}
.w-issue summary:before{content:'';flex:none;width:18px;height:18px;background:var(--w-red);-webkit-mask:var(--i-alertcircle) center/contain no-repeat;mask:var(--i-alertcircle) center/contain no-repeat}
.w-issue:last-child summary:before{background:var(--w-amber)}
.w-issue summary:after{content:'';flex:none;margin-left:auto;width:16px;height:16px;background:var(--w-text3);-webkit-mask:var(--i-chevron) center/contain no-repeat;mask:var(--i-chevron) center/contain no-repeat;transform:rotate(90deg);transition:transform .15s}
.w-issue[open] summary:after{transform:rotate(-90deg)}
.w-issue strong{font-weight:600}
.w-issue p{padding:0 12px 10px 40px;font-size:13px;color:var(--w-text2)}
/* choices when stopping with open positions, and picking positions */
.fxc-dialog{max-width:480px}
.fxc-dhead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.fxc-dhead p{font-size:13px;color:var(--w-text2)}
.fxc-summary{margin:10px 0;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-red-soft);font-size:14px;font-weight:600}
.fxc-choices{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.fxc-choice-btn{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px 12px 44px;border-radius:var(--w-r-sm);border:1px solid var(--w-border2);background:var(--w-surface);text-align:left;position:relative}
.fxc-choice-btn:before{content:'';position:absolute;left:14px;top:14px;width:18px;height:18px;border-radius:50%;border:2px solid var(--w-border2)}
.fxc-choice-btn:hover:not(:disabled){border-color:var(--w-primary)}
.fxc-choice-btn:hover:not(:disabled):before{border-color:var(--w-primary);background:radial-gradient(circle,var(--w-primary) 0 4px,transparent 5px)}
.fxc-choice-btn strong{font-size:14px}
.fxc-choice-btn small{font-size:12px;color:var(--w-text2)}
.fxc-choice-btn.only{border-color:var(--w-red-border)}
.fxc-choice-btn.only strong{color:var(--w-red)}
.fxc-choice-btn:disabled{opacity:.5}
.fxc-chips{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.fxc-chip{min-height:30px;padding:0 12px;border-radius:999px;background:var(--w-surface3);font-size:13px;font-weight:600}
.fxc-dlist{max-height:46vh;overflow:auto}
.fxc-dlist .fxc-row{cursor:pointer}
.fxc-dfoot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.fxc-dsum{font-size:13.5px}
/* legal consent */
.legal-dialog{max-width:520px}
.legal-dialog form{display:flex;flex-direction:column;gap:8px}
.legal-summary{padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);font-size:13px;color:var(--w-text2)}
.legal-links{display:flex;flex-direction:column;gap:2px}
.legal-links a{padding:6px 0;font-weight:600;font-size:14px}
.legal-check{display:flex;align-items:flex-start;gap:10px;margin:2px 0;font-size:13.5px;font-weight:500;line-height:1.5}
.legal-check input{margin-top:2px}
.legal-actions{display:flex;gap:10px;margin-top:6px}
.legal-actions>button{flex:1}
.legal-dialog small{color:var(--w-text3);font-size:12px}

/* ===================================================================== news calendar */
#news-panel{display:flex;flex-direction:column;gap:12px}
.fxn-daynav{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fxn-daynav strong{display:flex;flex-direction:column;align-items:center;font-size:16px;line-height:1.3}
.fxn-daynav small{font-size:12.5px;color:var(--w-text2);font-weight:500}
.fxn-step{width:38px;height:38px;border-radius:10px;border:1px solid var(--w-border2);display:grid;place-items:center;color:var(--w-text)}
.fxn-step:before{content:'';width:18px;height:18px;background:currentColor;-webkit-mask:var(--i-chevron) center/contain no-repeat;mask:var(--i-chevron) center/contain no-repeat;transform:scaleX(-1)}
.fxn-step.fxn-next:before{transform:none}
.fxn-step:disabled{opacity:.4}
.fxn-selects{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fxn-selects label{margin:0;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--w-text2);font-weight:500}
.fxn-selects select{min-height:40px;font-size:14px}
.fxn-warn small{display:block;color:var(--w-text2);margin-top:2px}
.fxn-table{display:flex;flex-direction:column;border:1px solid var(--w-border);border-radius:var(--w-r-sm);overflow:hidden}
.fxn-row{display:grid;grid-template-columns:62px 64px 1fr 62px;gap:8px;align-items:center;padding:10px 12px;font-size:13.5px;border-top:1px solid var(--w-border)}
.fxn-headrow{border-top:0;background:var(--w-surface2);color:var(--w-text2);font-size:12px;font-weight:600;padding:8px 12px}
.fxn-event.past{opacity:.55}
.fxn-time{font-weight:700;font-variant-numeric:tabular-nums}
.fxn-cur{display:flex;align-items:center;gap:5px;font-size:12.5px}
.fxn-what{min-width:0;display:flex;flex-direction:column;gap:2px}
.fxn-what strong{font-size:13.5px;line-height:1.35;word-break:break-word}
.fxn-what small{color:var(--w-text3);font-size:12px}
.fxn-guard-tag{align-self:flex-start;font-size:11.5px;font-weight:600;padding:1px 8px;border-radius:999px;background:var(--w-amber-soft);color:var(--w-amber)}
.fxn-imp{display:flex;align-items:center;gap:5px;font-size:12.5px}
.fxn-dot{width:9px;height:9px;border-radius:50%;background:var(--w-text3);flex:none}
.fxn-event[data-impact=high] .fxn-dot{background:var(--w-red)}.fxn-event[data-impact=medium] .fxn-dot{background:#f0a400}.fxn-event[data-impact=low] .fxn-dot{background:#f5d75b}
.fxn-empty{--wi:var(--i-calendar);border-top:1px solid var(--w-border);padding:24px 12px}
.fxn-guard{display:flex;flex-direction:column;gap:8px}
.fxn-guard h3{font-size:15px}
.fxn-accounts{display:flex;flex-direction:column;gap:8px}
.fxn-account{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2)}
.fxn-account>div{flex:1;min-width:0}
.fxn-account strong{display:block;font-size:14px}
.fxn-account small{display:block;font-size:12.5px;color:var(--w-text2)}
.fxn-foot{font-size:12px;color:var(--w-text3)}
/* the news-guard switch (a button with ON/OFF) and small country flags */
.fx-toggle{position:relative;flex:none;width:52px;height:30px;border-radius:999px;background:var(--w-track);color:transparent;font-size:0}
.fx-toggle i{position:absolute;top:4px;left:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.fx-toggle[aria-checked=true]{background:var(--w-primary)}
.fx-toggle[aria-checked=true] i{transform:translateX(22px)}
.fx-toggle[aria-checked=mixed]{background:#f0a400}
.fx-toggle[aria-checked=mixed] i{transform:translateX(11px)}
.fx-toggle:disabled{opacity:.5}
.fx-flag{display:inline-grid;place-items:center;width:22px;height:15px;flex:none;border-radius:3px;background:var(--w-surface3);font-size:8.5px;font-weight:800;color:var(--w-text2);overflow:hidden}
.fx-flag[data-c=USD]{background:linear-gradient(#3c3b6e,#3c3b6e) 0 0/45% 54% no-repeat,repeating-linear-gradient(#b22234 0 1.15px,#fff 1.15px 2.3px)}

/* ===================================================================== notifications */
body:not([data-role=admin]) .w-admin-only{display:none}
#alerts-status{margin:-4px 2px 0;font-size:12.5px;color:var(--w-text3)}
#page-notifications .page-heading #alerts-status{flex-basis:100%;order:3;margin:0}
.ntf-layout{display:flex;flex-direction:column;gap:12px}
.ntf-list{display:flex;flex-direction:column;gap:12px}
.ntf-list>.w-seg{margin:0}
.w-chip-dot:before{content:'';width:9px;height:9px;border-radius:50%;background:var(--w-text3)}
.w-chip-dot.error:before{background:var(--w-red)}.w-chip-dot.warn:before{background:#f0a400}
.w-chip-dot[aria-pressed=true]:before{background:#fff}
#alerts-list{display:flex;flex-direction:column;gap:8px}
.w-empty-bell{--wi:var(--i-bell)}
.ops-alert{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;border-radius:var(--w-r-sm);background:var(--w-surface2);border-left:4px solid #f0a400;font-size:13.5px}
.ops-alert.error{border-left-color:var(--w-red)}
.ops-alert.resolved{border-left-color:var(--w-green)}
.ops-alert>strong{font-size:15px}
.ops-alert>span{color:var(--w-text2)}
.ops-alert>small{color:var(--w-text3)}
.ops-alert>.secondary{min-height:34px;padding:0 12px;font-size:13px;margin-top:4px}
.ops-alert>.secondary+.secondary{margin-top:0}
.w-pager{display:flex;gap:8px;justify-content:flex-end}
.w-pager>button{min-height:36px;font-size:13.5px}
.ntf-prefs fieldset{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:8px}
.ntf-prefs fieldset:disabled{opacity:.7}
.ntf-prefs h3{margin-top:8px;font-size:15px}
.w-chan{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--w-border)}
.w-chan>div{flex:1;min-width:0}
.w-chan strong{display:block;font-size:15px}
.w-chan small{display:block;font-size:12.5px;color:var(--w-text2)}
.w-chan-ok{color:var(--w-green)!important}
.w-chan-ic{width:38px;height:38px;flex:none;border-radius:11px;background:var(--w-primary-soft);position:relative}
.w-chan-ic:before{content:'';position:absolute;inset:9px;background:var(--w-primary);-webkit-mask:var(--wi) center/contain no-repeat;mask:var(--wi) center/contain no-repeat}
.w-chan-line{background:var(--w-line-green);color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center}
.w-chan-line:before{display:none}
.w-switch-only{padding:0;flex:none}
label.switch{flex-direction:row-reverse}
label.switch.w-switch-only{flex-direction:row}
.alerts-email-actions{display:flex;gap:8px;flex-wrap:wrap}
.alerts-email-actions:not(:has(button:not([hidden]))){display:none}
.line-link{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2)}
.line-code{font-size:22px;letter-spacing:2px;font-family:ui-monospace,Consolas,monospace}
#alerts-save-status:empty{display:none}

/* ===================================================================== orders */
#twofa-banner{display:none}
body[data-page=overview] #twofa-banner{display:flex}
.w-orders-tabs{margin:0}
.ord-stats{display:none}
.ord-layout{display:flex;flex-direction:column;gap:12px}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.panel-heading h2{margin:0;font-size:16px}
.w-empty-orders{--wi:var(--i-file)}
.w-empty-orders:empty{display:none}
.w-orders-panel>.hint{margin-top:8px}
.w-orders-table tbody tr{cursor:pointer}
.w-orders-table tbody tr.chosen td{background:var(--w-primary-soft)}
.ord-detail{display:flex;flex-direction:column;gap:10px}
.ord-title{font-size:15px}
.ord-head{display:flex;justify-content:space-between;align-items:center}
.ord-head>div{display:flex;align-items:center;gap:8px;font-size:17px}
.ord-side{font-size:12px;font-weight:800;padding:2px 8px;border-radius:6px;color:#fff}
.ord-side.buy{background:var(--w-green)}.ord-side.sell{background:var(--w-red)}
.ord-facts{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}
.ord-facts>div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--w-border);font-size:13.5px}
.ord-facts span{color:var(--w-text2)}
.ord-range{padding:8px 0}
.ord-track{position:relative;height:8px;border-radius:9px;background:linear-gradient(90deg,var(--w-red),#f0a400,var(--w-green))}
.ord-track.flip{transform:scaleX(-1)}
.ord-track i{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff;border:3px solid var(--w-text)}
.ord-track i.now{border-color:var(--w-primary)}
.ord-labels{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-top:8px;font-size:12px;color:var(--w-text2)}
.ord-note{font-size:13px;color:var(--w-text2)}
@media (max-width:800px){
 /* the orders list: type and symbol, lot, open and current price, P/L */
 .w-orders-table thead{display:none}
 .w-orders-table,.w-orders-table tbody{display:block}
 .w-orders-table tbody tr{display:grid;grid-template-columns:1.3fr .7fr 1.2fr 1fr;align-items:center;gap:4px 8px;padding:10px 4px;border-bottom:1px solid var(--w-border)}
 .w-orders-table tbody td{display:block;padding:0;border:0;font-size:13.5px}
 .w-orders-table tbody td:nth-child(1),.w-orders-table tbody td:nth-child(7),.w-orders-table tbody td:nth-child(8),.w-orders-table tbody td:nth-child(10){display:none}
 .w-orders-table tbody td:nth-child(2){grid-column:1;grid-row:2;color:var(--w-text2);font-size:12.5px}
 .w-orders-table tbody td:nth-child(3){grid-column:1;grid-row:1;font-weight:700}
 .w-orders-table tbody td:nth-child(4){grid-column:2;grid-row:1/3}
 .w-orders-table tbody td:nth-child(5){grid-column:3;grid-row:1;text-align:right}
 .w-orders-table tbody td:nth-child(6){grid-column:3;grid-row:2;text-align:right;color:var(--w-text2);font-size:12.5px}
 .w-orders-table tbody td:nth-child(9){grid-column:4;grid-row:1/3;text-align:right;font-weight:700}
 #orders-rows tr{grid-template-columns:1.3fr .7fr 1.2fr}
}

@media (min-width:801px){
 .ord-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 .ord-tile{padding:14px 16px;border-radius:var(--w-r);background:var(--w-surface);border:1px solid var(--w-border);box-shadow:var(--w-shadow)}
 .ord-tile span{display:block;font-size:13px;color:var(--w-text2)}
 .ord-tile strong{display:block;font-size:24px;font-weight:800;margin-top:2px}
 .ord-tile small{color:var(--w-text3);font-size:12.5px}
 .ord-layout.with-detail{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start}
 .w-orders-tabs{max-width:460px}
}

@media (min-width:801px){
 .w-home{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:start}
 .w-home-top{display:contents}
 .w-counts{grid-column:1/3;grid-row:1}
 .w-counts-top{padding:16px 10px 14px}
 .w-port{grid-column:1;grid-row:2;padding:24px 24px 18px}
 .w-port-value{font-size:40px}
 .w-home-duo{grid-column:2;grid-row:2;grid-template-columns:1fr;align-self:stretch}
 .w-next{grid-column:2;grid-row:3}
 .w-chart{grid-column:1;grid-row:3/5}
 .w-plot{height:300px}
 .w-acct-block{grid-column:1/3}
 .w-acct-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px}
 .w-block-actions{grid-template-columns:auto auto;justify-content:flex-start}
}

/* ===================================================================== risk */
.w-risk-grid{display:grid;gap:12px}
.w-guard-head{display:flex;align-items:center;gap:12px}
.w-guard-head h2{margin:0;font-size:17px}
.w-guard-head h2 span{color:var(--w-primary-text);font-weight:800}
.w-guard-ic{width:42px;height:42px;flex:none;border-radius:12px;display:grid;place-items:center;background:linear-gradient(160deg,#ffd76a,#eba400)}
.w-guard-ic:before{content:'';width:23px;height:23px;background:#fff;-webkit-mask:var(--i-shieldcheck) center/contain no-repeat;mask:var(--i-shieldcheck) center/contain no-repeat}
.w-guard.ea .w-guard-ic{background:linear-gradient(160deg,#74e7bd,#0b8f5c)}
.w-guard.ea .w-guard-ic:before{-webkit-mask-image:var(--i-cpu);mask-image:var(--i-cpu)}
.w-guard-text{margin:10px 0 12px;font-size:13.5px;line-height:1.55;color:var(--w-text2)}
.w-guard-now{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);font-size:14px}
.w-guard-now>span:first-child{color:var(--w-text2)}
.w-guard-now strong{flex:1;font-size:16px;font-variant-numeric:tabular-nums}
.w-state{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:700;background:var(--w-surface3);color:var(--w-text2);white-space:nowrap}
.w-state:before{content:'';width:8px;height:8px;border-radius:50%;background:currentColor}
.w-state[data-tone=ok]{background:var(--w-green-soft);color:var(--w-green)}
.w-state[data-tone=warn]{background:var(--w-amber-soft);color:var(--w-amber)}
.w-state[data-tone=bad]{background:var(--w-red-soft);color:var(--w-red)}
.w-whenstop h2,.w-risk-actions h2{margin:0 0 12px;font-size:16px}
.w-stop-list{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:12px;font-size:14px}
.w-stop-list li{display:flex;align-items:center;gap:10px}
.w-stop-list .wi{width:20px;height:20px;flex:none;color:var(--w-red)}
.w-stop-list .i-lock{color:var(--w-text)}
.w-stop-list .i-repeat{color:var(--w-primary)}
.w-owner-box{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:var(--w-r-sm);background:var(--w-surface2);border:1px dashed var(--w-border2);text-align:center}
.w-owner-box small{font-size:12.5px;color:var(--w-text2)}
.w-owner-box small:first-child{font-weight:700;color:var(--w-text)}
.w-risk-actions .hint{margin:6px 0 12px;font-size:12.5px}
.w-risk-actions .hint:last-child{margin-bottom:0}

/* ===================================================================== analytics */
.w-filters{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px 10px;margin:0 0 12px}
.w-filters.one{grid-template-columns:auto minmax(0,1fr)}
.w-filters label{margin:0;font-size:13.5px;font-weight:600;color:var(--w-text2)}
.w-filters select{min-height:40px;font-size:14px}
@media (max-width:370px){.w-filters{grid-template-columns:auto minmax(0,1fr)}}
.w-an-card{margin-bottom:12px;padding:14px}
.w-an-card>h2{margin:0 0 10px;font-size:16px}
.w-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.w-card-head h2{margin:0;font-size:16px}
.w-card-head small{font-size:12px;color:var(--w-text3);text-align:right}
.w-an-plot{height:200px;border-radius:var(--w-r-sm);background:var(--w-surface2);border:1px solid var(--w-border);overflow:hidden}
.w-an-plot .w-empty{height:100%;padding:0 12px}
.w-an-plot .w-empty:before{width:40px;height:40px;margin-bottom:2px}
.w-an-plot .w-empty strong{font-size:14.5px}
.w-eq{display:block}
.w-eq .w-grid{stroke:var(--w-border);stroke-width:1}
.w-eq .w-axis{fill:var(--w-text3);font-size:11px}
.w-eq-line{fill:none;stroke:var(--w-primary);stroke-width:2;stroke-linejoin:round}
.w-eq-bal{fill:none;stroke:var(--w-text3);stroke-width:1.2;stroke-dasharray:4 4}
.w-eq-area{fill:var(--w-primary);opacity:.09}
.w-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.w-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:74px;padding:10px 6px;border-radius:var(--w-r-sm);background:var(--w-surface2);border:1px solid var(--w-border);text-align:center;min-width:0}
.w-stat span{font-size:12px;line-height:1.3;color:var(--w-text2)}
.w-stat strong{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--w-text)}
.w-stat strong.up{color:var(--w-green)}.w-stat strong.down{color:var(--w-red)}
#an-note{margin:10px 0 0;font-size:12.5px}
#an-note:empty{display:none}

/* ===================================================================== activity */
.w-events{padding:0;overflow:hidden}
.w-events-head{display:grid;grid-template-columns:62px 78px minmax(0,1fr);gap:10px;padding:10px 14px;background:var(--w-surface2);border-bottom:1px solid var(--w-border);font-size:12.5px;font-weight:600;color:var(--w-text2)}
.w-event{display:grid;grid-template-columns:62px 78px minmax(0,1fr);gap:10px;align-items:start;padding:11px 14px;border-left:3px solid transparent}
.w-event+.w-event{border-top:1px solid var(--w-border)}
.w-event.sev-warn{border-left-color:#f0a400}
.w-event.sev-error{border-left-color:var(--w-red)}
.w-ev-time strong{display:block;font-size:13.5px;font-variant-numeric:tabular-nums}
.w-ev-time small{display:block;font-size:12px;color:var(--w-text3)}
.w-ev-kind{justify-self:start;display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:700;background:var(--w-surface3);color:var(--w-text2);white-space:nowrap}
.w-ev-kind.k-trade{background:var(--w-primary-soft);color:var(--w-primary-text)}
.w-ev-kind.k-user{background:var(--w-green-soft);color:var(--w-green)}
.w-ev-body{min-width:0}
.w-ev-body strong{display:block;font-size:14px;line-height:1.4;word-break:break-word}
.w-ev-body small{display:block;font-size:12.5px;color:var(--w-text2);word-break:break-word}
.w-events .w-empty{padding:40px 16px}
#page-activity>.hint{margin-top:10px;font-size:12.5px}

/* ===================================================================== help */
.w-search{position:relative;display:block;margin:0 0 12px}
.w-search>.wi{position:absolute;left:14px;top:50%;width:19px;height:19px;margin-top:-9.5px;color:var(--w-text3);pointer-events:none}
.w-search input,#help-search{padding-left:44px;min-height:48px}
#help-none{--wi:var(--i-search)}
.w-help-block{margin-bottom:12px;padding:14px}
.w-help-block>h2{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:16px}
.w-help-ic{width:30px;height:30px;flex:none;border-radius:9px;display:grid;place-items:center;background:var(--w-amber-soft)}
.w-help-ic:before{content:'';width:18px;height:18px;background:#e09a00;-webkit-mask:var(--i-book) center/contain no-repeat;mask:var(--i-book) center/contain no-repeat}
.w-help-ic.faq{background:var(--w-primary-soft)}.w-help-ic.faq:before{background:var(--w-primary);-webkit-mask-image:var(--i-help);mask-image:var(--i-help)}
.w-help-ic.contact{background:var(--w-green-soft)}.w-help-ic.contact:before{background:var(--w-green);-webkit-mask-image:var(--i-headset);mask-image:var(--i-headset)}
.w-help-list{display:flex;flex-direction:column}
.w-help-item+.w-help-item{border-top:1px solid var(--w-border)}
.w-help-item>summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 2px;list-style:none;font-size:14.5px;font-weight:500;color:var(--w-text)}
.w-help-item>summary::-webkit-details-marker{display:none}
.w-help-item>summary>span:nth-child(2){flex:1;min-width:0}
.w-help-item>summary:after{content:'';width:16px;height:16px;flex:none;background:var(--w-text3);-webkit-mask:var(--i-chevron) center/contain no-repeat;mask:var(--i-chevron) center/contain no-repeat;transition:transform .15s}
.w-help-item[open]>summary:after{transform:rotate(90deg)}
.w-num{width:26px;height:26px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--w-primary-soft);color:var(--w-primary-text);font-size:12.5px;font-weight:800}
.w-help-body{padding:0 4px 12px 40px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:14px;line-height:1.6;color:var(--w-text2)}
.w-help-body button{min-height:38px;font-size:13.5px}
.help-contact{display:flex;flex-direction:column;gap:8px}
.help-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:var(--w-r-sm);background:var(--w-surface2);border:1px solid var(--w-border);color:var(--w-text);text-decoration:none}
.help-card[hidden]{display:none}
.help-card:hover{border-color:var(--w-primary)}
.help-ic{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;background:#06c755}
.help-ic:before{content:'';width:22px;height:22px;background:#fff;-webkit-mask:var(--i-chat) center/contain no-repeat;mask:var(--i-chat) center/contain no-repeat}
.help-group .help-ic:before{-webkit-mask-image:var(--i-users);mask-image:var(--i-users)}
.help-mail .help-ic{background:var(--w-primary)}.help-mail .help-ic:before{-webkit-mask-image:var(--i-mail);mask-image:var(--i-mail)}
.help-txt{display:flex;flex-direction:column;min-width:0}
.help-txt strong{font-size:14.5px}
.help-txt small{font-size:12.5px;color:var(--w-text2)}
.help-status h2{margin:0 0 6px;font-size:16px}
.help-status .w-block-actions{grid-template-columns:1fr;margin:10px 0}
#diagnostic-status:not(:empty){display:grid;gap:6px;margin-top:8px}
#diagnostic-status article{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:var(--w-r-sm);background:var(--w-surface2);font-size:13.5px}
#diagnostic-status article span{color:var(--w-text2)}

/* ===================================================================== trade */
#trade-frames{margin:0 0 12px}
.w-trade-slot{margin-bottom:12px}
.w-trade-slot:empty{display:none}
.w-chart-trade .w-frame{display:none}
.w-chart-trade .w-plot{height:min(56vh,440px)}
.w-trade-note{margin-bottom:12px}
.w-trade-note span{display:block;color:var(--w-text2);font-size:13.5px}

@media (min-width:801px){
 .w-risk-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .w-stat-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
 #page-analytics .w-seg,#page-activity .w-seg,#trade-frames{max-width:480px}
 .w-filters{max-width:640px}
 .w-an-plot{height:300px}
 .w-events-head,.w-event{grid-template-columns:110px 96px minmax(0,1fr)}
 #page-help{max-width:880px}
 .help-contact{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
 .help-status .w-block-actions{grid-template-columns:auto auto;justify-content:flex-start}
}

/* ===================================================================== backtest */
#backtest-error:empty{display:none}
.w-bt{display:flex;flex-direction:column;gap:12px}
.w-bt-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.w-bt-fact{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface);border:1px solid var(--w-border);min-width:0}
.w-bt-fact:last-child{grid-column:1/-1}
.w-bt-fact span{font-size:12px;color:var(--w-text2)}
.w-bt-fact strong{font-size:14px}
.w-bt-report h3,.w-bt-sum h3,.w-bt-months h3{margin:0 0 10px;font-size:16px}
.w-bt-chart{min-height:200px}
.w-bt-report .w-empty{padding:26px 8px 18px}
.w-bt-report .w-empty:before{width:46px;height:46px}
.w-bt-dls{display:grid;gap:8px;margin-top:10px}
.w-bt-dl{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:var(--w-r-sm);background:var(--w-primary-soft);color:var(--w-primary-text);text-decoration:none}
.w-bt-dl strong{display:flex;align-items:center;gap:8px;font-size:14px}
.w-bt-dl strong:before{content:'';width:18px;height:18px;background:currentColor;-webkit-mask:var(--i-download) center/contain no-repeat;mask:var(--i-download) center/contain no-repeat}
.w-bt-dl small{color:var(--w-text2);font-size:12px}
.w-bt-dls button:before{content:'';width:18px;height:18px;margin-right:8px;background:currentColor;-webkit-mask:var(--i-download) center/contain no-repeat;mask:var(--i-download) center/contain no-repeat}
.w-bt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.w-bt-tile{display:grid;grid-template-columns:26px minmax(0,1fr);gap:6px;align-items:center;padding:10px 8px;border-radius:var(--w-r-sm);background:var(--w-surface2);border:1px solid var(--w-border);min-width:0}
.w-bt-ic{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--w-green-soft);color:var(--w-green)}
.w-bt-ic:before{content:'';width:15px;height:15px;background:currentColor;-webkit-mask:var(--wi) center/contain no-repeat;mask:var(--wi) center/contain no-repeat}
.w-bt-tile:nth-child(2) .w-bt-ic{background:var(--w-primary-soft);color:var(--w-primary)}
.w-bt-tile:nth-child(3) .w-bt-ic{background:var(--w-amber-soft);color:#d99a00}
.w-bt-tile:nth-child(4) .w-bt-ic{background:var(--w-red-soft);color:var(--w-red)}
.w-bt-tile:nth-child(5) .w-bt-ic{background:#efe9ff;color:#7c4dff}
.w-bt-tile>span:not(.w-bt-ic){font-size:11.5px;line-height:1.25;color:var(--w-text2);min-width:0}
.w-bt-tile strong{grid-column:1/-1;padding-left:2px;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-bt-tile strong.up{color:var(--w-green)}.w-bt-tile strong.down{color:var(--w-red)}
.w-bt-mlist{display:flex;flex-direction:column}
.w-bt-mrow{display:grid;grid-template-columns:minmax(0,1fr) auto 64px;gap:10px;align-items:center;padding:9px 2px;font-size:14px}
.w-bt-mrow+.w-bt-mrow{border-top:1px solid var(--w-border)}
.w-bt-mrow strong{font-variant-numeric:tabular-nums}
.w-bt-mrow strong.up{color:var(--w-green)}.w-bt-mrow strong.down{color:var(--w-red)}
.w-bt-mrow small{text-align:right;color:var(--w-text2);font-variant-numeric:tabular-nums}
.w-bt-none{color:var(--w-text3);margin:0}
.w-bt-evidence{font-size:13px;color:var(--w-text2)}
.w-bt-evidence code{display:block;word-break:break-all;font-size:11.5px}
#backtest-warnings{margin-top:12px}
.w-bt-warn{padding:12px 14px;border-radius:var(--w-r-sm);background:var(--w-amber-soft);border:1px solid var(--w-amber-border);font-size:13.5px}
.w-bt-warn summary{font-weight:600}
.w-bt-warn ul{margin:8px 0 0;padding-left:18px;line-height:1.6}
:root[data-theme=dark] .w-bt-tile:nth-child(5) .w-bt-ic{background:#2a2350;color:#b39dff}
@media (min-width:801px){
 #backtest-tabs{max-width:560px}
 .w-bt-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
 .w-bt-fact:last-child{grid-column:auto}
 .w-bt-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
 .w-bt-dls{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
}

/* ===================================================================== added 8 Oct 2026: EA systems, risk level, daily stop, Guardian, sign-in, live status */
/* home: cent accounts in the total */
.w-port-cent{display:block;margin-top:2px;font-size:12px;color:rgba(255,255,255,.82);font-variant-numeric:tabular-nums}
/* the EA dialog: risk level, daily stop, Guardian */
.w-opts{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;min-width:0}
.w-opts>legend{padding:0;margin:14px 0 8px}
.w-opts>.hint{margin:2px 0 0;font-size:12.5px}
.w-opt{display:flex;align-items:flex-start;gap:10px;margin:0;padding:10px 12px;border-radius:var(--w-r-sm);border:1.5px solid var(--w-border);background:var(--w-surface);cursor:pointer}
.w-opt:has(input:checked){border-color:var(--w-primary);background:var(--w-primary-soft)}
.w-opt input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--w-primary)}
.w-opt>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.w-opt strong{font-size:14px;overflow-wrap:anywhere}
.w-opt small{font-size:12.5px;color:var(--w-text2);line-height:1.45}
.w-brakes{display:flex;flex-direction:column;gap:8px}
.w-brakes>.hint{margin:0 0 2px;font-size:12.5px}
.w-brake{display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border-radius:var(--w-r-sm);border:1.5px solid var(--w-border);background:var(--w-surface2);cursor:pointer}
.w-brake:has(input[type=checkbox]:checked){border-color:var(--w-primary);background:var(--w-primary-soft)}
.w-brake input[type=checkbox]{flex:none;width:18px;height:18px;margin:0;accent-color:var(--w-primary)}
.w-brake>span:first-of-type{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.w-brake strong{font-size:14px}
.w-brake small{font-size:12px;color:var(--w-text3)}
.w-brake-input{flex:none;width:72px!important;min-height:38px!important;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.w-brake-input:disabled{opacity:.5}
.w-brake-unit{flex:none;font-weight:700;color:var(--w-text2)}
.w-guardian{margin-top:16px;padding-top:4px;border-top:1px solid var(--w-border)}
.w-guardian>.hint{margin:6px 2px}
.w-guardian>.w-warn{margin:6px 0 10px;font-size:12.5px}
.w-pick .w-pick-note{margin-top:12px;font-size:13px}
/* the account sheet from the EA page */
.w-sub-title{display:flex;align-items:center;gap:10px;min-width:0}
.w-sub-title h2{overflow-wrap:anywhere}
.w-sub-art{flex:none;width:44px;height:44px;border-radius:10px;object-fit:contain;background:linear-gradient(160deg,var(--w-surface2),var(--w-primary-soft))}
.w-sub-note{margin:10px 0 4px;padding:10px 12px;border-radius:var(--w-r-sm);font-size:13.5px;line-height:1.55;color:var(--w-text2);background:var(--w-surface2);border:1px solid var(--w-border)}
.w-sub-note:empty{display:none}
.w-sub-note.bad{color:var(--w-red);background:var(--w-red-soft);border-color:var(--w-red-border)}
#hub-status-dialog .primary.full,#hub-status-dialog .secondary.full{margin-top:8px}
/* the EA page: systems, sets, the chosen set in full */
.w-ea-filters{margin:0 0 10px}
.w-ea-system{--w-sys:var(--w-primary);grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2);border-left:4px solid var(--w-sys)}
.w-ea-system img{flex:none;width:44px;height:44px;border-radius:10px;object-fit:cover}
.w-ea-system>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.w-ea-system strong{font-size:15px}
.w-ea-system small{font-size:12px;color:var(--w-text2);line-height:1.45}
.w-ea-system .w-ea-methods,.w-ea-detail .w-ea-methods{color:var(--w-primary-text);font-weight:600}
.w-ea-count{flex:none;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;color:var(--w-text2);background:var(--w-surface);border:1px solid var(--w-border)}
.w-ea-risk{display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap;border:1px solid currentColor}
.w-ea-risk.low{color:var(--w-green);background:var(--w-green-soft)}
.w-ea-risk.medium{color:var(--w-amber);background:var(--w-amber-soft)}
.w-ea-risk.high{color:#d9561c;background:rgba(240,120,40,.12)}
.w-ea-risk.very-high{color:var(--w-red);background:var(--w-red-soft)}
:root[data-theme="dark"] .w-ea-risk.high{color:#ff9a62}
.w-ea-badge,.w-ea-hidden{position:absolute;top:8px;left:8px;z-index:1;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:700;color:#fff;background:var(--w-primary)}
.w-ea-hidden{background:var(--w-text3)}
.w-ea.hidden-set{border-style:dashed}
.w-ea-detail{display:flex;flex-direction:column;gap:10px}
.w-ea-detail-head{display:flex;align-items:center;gap:12px}
.w-ea-detail-head img{flex:none;width:64px;height:48px;object-fit:contain;border-radius:10px;background:linear-gradient(160deg,var(--w-surface2),var(--w-primary-soft))}
.w-ea-detail-head>div{flex:1;min-width:0}
.w-ea-detail-head h2{font-size:17px;margin:0}
.w-ea-detail-head small{display:block;font-size:12.5px;color:var(--w-text2)}
.w-ea-detail .w-ea-text{margin:0;font-size:14px;color:var(--w-text2);line-height:1.6}
.w-ea-detail .w-ea-methods{margin:0;font-size:13px}
.w-ea-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.w-ea-stats>div{display:flex;flex-direction:column;gap:2px;padding:10px;border-radius:var(--w-r-sm);background:var(--w-surface2);min-width:0}
.w-ea-stats strong{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.w-ea-stats strong.gain,.w-ea-month strong.gain,.w-ea-live.gain{color:var(--w-green)}
.w-ea-stats strong.loss,.w-ea-month strong.loss,.w-ea-live.loss{color:var(--w-red)}
.w-ea-stats span{font-size:12px;color:var(--w-text2);line-height:1.35}
.w-ea-detail>.hint{margin:0;font-size:12px}
.w-ea-months{padding:10px;border-radius:var(--w-r-sm);border:1px solid var(--w-border)}
.w-ea-months h3{font-size:13px;margin:0 0 8px}
.w-ea-months>.hint{margin:8px 0 0;font-size:11.5px;line-height:1.45}
.w-ea-month-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.w-ea-month{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 2px;border-radius:8px;background:var(--w-surface2);text-align:center;min-width:0}
.w-ea-month span,.w-ea-month small{font-size:11px;color:var(--w-text3)}
.w-ea-month strong{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.w-ea-month.danger{background:var(--w-red-soft);box-shadow:inset 0 0 0 1px var(--w-red-border)}
.w-ea-month.danger small{color:var(--w-red);font-weight:700}
.w-ea-live{margin:0;font-size:12.5px;font-weight:600;color:var(--w-text2)}
.w-ea-tags{display:flex;flex-wrap:wrap;gap:6px}
.w-ea-min{display:inline-flex;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;color:var(--w-amber);background:var(--w-amber-soft);border:1px solid var(--w-amber-border)}
.w-ea-features{margin:0;padding-left:18px;font-size:13.5px;color:var(--w-text2);line-height:1.7}
.w-catalog-risk{border:0;margin:10px 0 0;padding:0}
.w-catalog-risk legend{padding:0;margin-bottom:4px;font-size:14px;font-weight:600}
.w-catalog-risk .w-mode{flex-wrap:wrap;margin:4px 0}
.w-catalog-risk .w-mode small{flex-basis:100%;margin-left:26px;font-size:12px}
#mt-mode-note{flex-basis:100%;margin:2px 0 0;font-size:12.5px}
/* passkeys: the sign-in button, the Settings row and the one offer after signing in on a phone */
.fx-passkey-login{display:flex;flex-direction:column;gap:6px;margin-top:12px}
button.fx-passkey-button{gap:10px;min-height:50px;font-weight:600}
.fx-passkey-mark{flex:none;width:20px;height:20px;font-size:0;background:currentColor;-webkit-mask:var(--i-key) center/contain no-repeat;mask:var(--i-key) center/contain no-repeat}
.fx-passkey-note{margin:0;font-size:13px;text-align:center;color:var(--w-red)}
.fx-passkey-hint{margin:0;text-align:center;font-size:12.5px}
.fx-passkeys{display:flex;flex-direction:column;gap:8px}
.fx-passkeys-title{font-size:14.5px;margin:0}
#passkeys-host .fx-passkeys-title{display:none}
#settings-passkey-status{color:var(--w-text3)}
.fx-passkeys>.hint{margin:0}
.fx-passkey-offer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:12px 14px;border-radius:var(--w-r);background:var(--w-primary-soft);border:1px solid var(--w-border2)}
.fx-passkey-offer p{flex:1;min-width:200px;margin:0;font-size:13.5px;color:var(--w-text2)}
.fx-passkey-offer strong{color:var(--w-text)}
.fx-passkey-offer .primary{min-height:38px}
/* first visit: the three steps */
.w-start-steps h2{font-size:16px;margin-bottom:10px}
.w-start-steps ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.w-start-steps li{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:1px;align-items:center;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2)}
.w-start-steps .w-step-no{grid-row:span 2;background:var(--w-primary);color:#fff}
.w-start-steps strong{font-size:14px}
.w-start-steps small{font-size:12px;color:var(--w-text2)}
/* sign in with Google (shown only once the server holds WING's own Google credentials) */
.fx-google-wrap{display:flex;flex-direction:column;gap:12px;margin:16px 0 4px}
button.fx-google{gap:10px;min-height:50px;font-weight:600;color:var(--w-text);border-color:var(--w-border2)}
.fx-google-mark{flex:none;width:20px;height:20px;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center/contain no-repeat}
.fx-google-or{position:relative;text-align:center;font-size:12.5px;color:var(--w-text3)}
.fx-google-or:before,.fx-google-or:after{content:'';position:absolute;top:50%;width:calc(50% - 26px);height:1px;background:var(--w-border)}
.fx-google-or:before{left:0}.fx-google-or:after{right:0}
.fx-google-note{margin:0;font-size:13px;text-align:center;color:var(--w-text2)}
.fx-google-note[data-tone=bad]{color:var(--w-red)}
/* live status of the installed app: in the top bar on a desktop, a slim line under the header on a phone */
.fx-live{display:inline-flex;align-items:center;gap:8px;flex:none;height:30px;padding:0 6px 0 10px;border-radius:999px;font-size:12.5px;font-weight:600;white-space:nowrap;
  color:var(--w-text2);background:var(--w-surface);border:1px solid var(--w-border);box-shadow:var(--w-shadow)}
.fx-live-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--w-green)}
.fx-live[data-tone=live] .fx-live-dot{animation:w-live-pulse 2.4s ease-out infinite}
.fx-live[data-tone=slow] .fx-live-dot{background:#e09a00}
.fx-live[data-tone=down]{color:var(--w-red);border-color:var(--w-red-border)}
.fx-live[data-tone=down] .fx-live-dot{background:var(--w-red)}
.fx-live[data-tone=update]{color:#fff;background:var(--w-primary);border-color:var(--w-primary)}
.fx-live[data-tone=update] .fx-live-dot{background:#fff}
.fx-live-icon{flex:none;width:20px;height:20px;background:currentColor;opacity:.8;-webkit-mask:var(--i-refresh) center/16px no-repeat;mask:var(--i-refresh) center/16px no-repeat}
.fx-live[data-busy] .fx-live-icon{animation:w-spin .8s linear infinite}
.workspace-main>.fx-live{display:flex;width:max-content;max-width:calc(100% - 28px);margin:8px auto 0}
.topbar>.fx-live{color:#fff;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.26);box-shadow:none}
.topbar>.fx-live[data-tone=down]{background:rgba(224,58,58,.85);border-color:transparent}
.topbar>.fx-live[data-tone=update]{background:#fff;color:var(--w-primary)}
.topbar>.fx-live[data-tone=update] .fx-live-dot{background:var(--w-primary)}
@keyframes w-live-pulse{0%{box-shadow:0 0 0 0 rgba(20,162,75,.55)}70%{box-shadow:0 0 0 7px rgba(20,162,75,0)}100%{box-shadow:0 0 0 0 rgba(20,162,75,0)}}
@media (prefers-reduced-motion:reduce){.fx-live-dot,.fx-live-icon{animation:none!important}}
@media (min-width:801px){
 .w-start-steps ol{grid-template-columns:repeat(3,minmax(0,1fr))}
 .w-ea-month-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
 .topbar>.fx-live{margin-left:auto}
 .topbar>.fx-live~.account-context,.topbar>.fx-live~.theme-switch{margin-left:0}
}
@media (max-width:370px){.w-ea-stats{grid-template-columns:1fr 1fr}.w-ea-stats>div:last-child{grid-column:1/-1}}

/* ===================================================================== EA cards (owner's card design, 9 Oct 2026) */
.w-catalog:has(.w-ea-row){background:none;border:0;box-shadow:none;padding:0}
.w-ea-grid:has(.w-ea-row){display:flex;flex-direction:column;gap:12px}
.w-ea-row{grid-column:1/-1;display:grid;grid-auto-flow:column;grid-auto-columns:min(84%,340px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
  margin:0 -12px;padding:4px 12px 14px;scrollbar-width:none;overscroll-behavior-x:contain}
.w-ea-row::-webkit-scrollbar{display:none}
/* One-set systems (owner, 21 Oct 2026): their cards share one row, and each says how its system trades in one line. */
.w-ea-card .w-ea-how{margin:0;font-size:12.5px;line-height:1.45;font-weight:600;color:var(--w-primary-text)}
.w-ea-card{--ea:var(--w-primary);position:relative;display:flex;flex-direction:column;min-width:0;scroll-snap-align:center;border-radius:18px;
  background:var(--w-surface);border:1px solid var(--w-border);box-shadow:var(--w-shadow);overflow:hidden;cursor:pointer;text-align:left;transition:box-shadow .15s,transform .15s}
.w-ea.w-ea-card{gap:0;padding:0;align-items:stretch}
.w-ea-card .w-ea-art img{height:100%;border-radius:0;background:none;object-fit:cover}
.w-ea-card small{display:inline}
.w-ea-card:focus-visible{outline:3px solid var(--ea);outline-offset:2px}
.w-ea-card[aria-checked=true]{border-color:var(--ea);box-shadow:0 0 0 2px var(--ea),0 16px 34px -20px var(--ea)}
.w-ea-art{position:relative;height:250px;overflow:hidden;background:#e6f0eb}
.w-ea-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% 40%}
.w-ea-art:after{content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.7) 36%,rgba(255,255,255,0) 64%),linear-gradient(180deg,rgba(255,255,255,0) 60%,var(--w-surface) 100%)}
.w-ea-head{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;max-width:74%;padding:16px 0 0 16px}
.w-ea-chip{padding:3px 9px;border-radius:7px;background:rgba(255,255,255,.88);color:var(--ea);font-size:11px;font-weight:800;letter-spacing:.6px}
.w-ea-name{display:flex;flex-direction:column;margin:20px 0 8px;line-height:1}
.w-ea-name1{font-size:26px;font-weight:600;color:#172f27;letter-spacing:.4px}
.w-ea-name2{margin-top:4px;font-size:38px;font-weight:900;color:var(--ea);letter-spacing:.4px}
.w-ea-line{margin:0;font-size:14.5px;font-weight:700;line-height:1.45;color:#1f342d}
.w-ea-card .w-ea-hidden,.w-ea-card .w-ea-badge{position:absolute;z-index:1;top:14px;right:14px;left:auto;bottom:auto;width:auto;max-width:45%}
.w-ea-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:6px 16px 16px}
.w-ea-hl{display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:0;list-style:none}
.w-ea-hl li{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 4px;text-align:center;font-size:12.5px;line-height:1.35;color:var(--w-text2)}
.w-ea-hl li+li{border-left:1px solid var(--w-border)}
.w-ea-hl .wi{width:28px;height:28px;color:var(--ea)}
.w-ea-quote{position:relative;margin:0;padding:12px 14px 12px 40px;border-radius:12px;font-size:14px;font-style:italic;line-height:1.5;text-align:center;color:var(--w-text);
  background:color-mix(in srgb,var(--ea) 7%,var(--w-surface));border:1px solid color-mix(in srgb,var(--ea) 18%,transparent)}
.w-ea-quote:before{content:'\201C';position:absolute;left:12px;top:4px;font-size:38px;font-style:normal;font-weight:800;line-height:1;color:var(--ea);opacity:.7}
.w-ea-fit h4{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:14px;font-weight:800;color:var(--w-text)}
.w-ea-fit h4:after{content:'';flex:1;height:1px;background:var(--w-border2)}
.w-ea-fit ul{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;list-style:none}
.w-ea-fit li{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.45;color:var(--w-text)}
.w-ea-fit li:before{content:'';flex:none;width:20px;height:20px;margin-top:1px;border-radius:50%;background:var(--ea) var(--w-check-white) center/12px no-repeat}
.w-ea-card .w-ea-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;font-size:12.5px;color:var(--w-text2)}
.w-ea-go{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:12px;font-size:15.5px;font-weight:800;color:#fff;
  background:linear-gradient(180deg,color-mix(in srgb,var(--ea) 80%,#fff),var(--ea));box-shadow:0 10px 22px -14px var(--ea)}
.w-ea-go:hover{filter:brightness(1.06)}
.w-ea-go-ic{width:16px;height:16px;background:currentColor;-webkit-mask:var(--i-chevron) center/contain no-repeat;mask:var(--i-chevron) center/contain no-repeat}
.w-ea-perks{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 10px;margin-top:4px;padding:14px;border-radius:16px;background:var(--w-surface);border:1px solid var(--w-border)}
.w-ea-perks>span{display:grid;grid-template-columns:30px 1fr;column-gap:8px;align-items:center}
.w-ea-perks>span:before{content:'';grid-row:1/3;width:26px;height:26px;background:var(--w-primary);-webkit-mask:var(--wi) center/contain no-repeat;mask:var(--wi) center/contain no-repeat}
.w-ea-perks b{font-size:13.5px;color:var(--w-text)}
.w-ea-perks small{font-size:12px;color:var(--w-text2)}
.w-ea-perks em{grid-column:1/-1;text-align:right;font-family:'Segoe Script','Brush Script MT',cursive;font-size:17px;color:var(--w-primary-text)}
@media (min-width:801px){
 .w-ea-row{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));overflow:visible;margin:0;padding:4px 0 10px}
 .w-ea-row.w-ea-solo{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
 .w-ea-perks{grid-template-columns:repeat(4,1fr) auto;align-items:center}
 .w-ea-perks em{grid-column:auto}
}

/* ===================================================================== the EA page on a phone: one screen (owner, 9 Oct 2026) */
.w-ea-steps,.w-ea-cta{display:none}
@media (max-width:800px){
 body[data-page=catalog] #twofa-banner,#page-catalog .w-ea-setup,#page-catalog #w-start-steps,#page-catalog .w-ea-perks,#page-catalog>#ea-detail,
 #page-catalog .w-ea-card .w-ea-go,#page-catalog .w-ea-filters,#page-catalog .falcon-lineup{display:none!important}
 #page-catalog{gap:10px}
 #page-catalog .page-heading{min-height:0;padding-top:2px}
 #page-catalog .page-heading h1{font-size:18px;line-height:1.3}
 #page-catalog .page-heading h1:before{display:none}
 #page-catalog .page-heading p.muted{display:none}
 #page-catalog .ea-launch-note{padding:8px 12px;font-size:12.5px}
 .w-ea-steps{display:flex;gap:6px;margin:0 0 10px;padding:0;list-style:none;counter-reset:step}
 .w-ea-steps li{flex:1;display:flex;align-items:center;gap:6px;min-width:0;padding:6px 8px;border-radius:10px;font-size:12px;font-weight:700;line-height:1.25;
   color:var(--w-text2);background:var(--w-surface);border:1px solid var(--w-border);counter-increment:step}
 .w-ea-steps li:before{content:counter(step);flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:11.5px;color:#fff;background:var(--w-primary)}
 .w-ea-steps li:first-child{color:var(--w-text);border-color:var(--w-primary)}
 .w-ea-row{grid-auto-columns:86%;padding-bottom:6px}
 .w-ea-art{height:168px}
 .w-ea-head{padding:12px 0 0 14px}
 .w-ea-name{margin:10px 0 4px}
 .w-ea-name1{font-size:19px}
 .w-ea-name2{font-size:30px}
 .w-ea-line{font-size:13px}
 .w-ea-body{gap:9px;padding:2px 14px 14px}
 .w-ea-hl .wi{width:24px;height:24px}
 .w-ea-hl li{font-size:12px;gap:4px}
 #page-catalog .w-ea-quote{display:none}
 .w-ea-fit h4{margin-bottom:5px;font-size:13px}
 .w-ea-fit ul{gap:4px}
 .w-ea-fit li{font-size:13px}
 .w-ea-fit li:nth-child(n+4){display:none}
 .w-ea-fit li:before{width:18px;height:18px;background-size:11px}
 .w-ea-cta{display:flex;flex-direction:column;align-items:stretch;gap:6px;position:sticky;z-index:5;bottom:calc(72px + env(safe-area-inset-bottom));
   margin:0 -12px;padding:8px 12px 2px;background:linear-gradient(180deg,transparent,var(--w-bg) 26%)}
 .w-ea-cta .primary{min-height:50px;font-size:16px;font-weight:800;border-radius:14px}
 .w-ea-cta .text-button{align-self:center;padding:2px 0 4px;font-size:13.5px}
 .w-ea-dots{display:flex;justify-content:center;gap:6px;margin-bottom:2px}
 .w-ea-dots i{width:7px;height:7px;border-radius:4px;background:var(--w-border2);transition:width .2s}
 .w-ea-dots i.on{width:20px;background:var(--w-primary)}
}
@media (max-width:800px) and (max-height:760px){
 .w-ea-art{height:140px}
 .w-ea-steps{margin-bottom:6px}
}
/* the set in full, in a sheet on a phone */
.w-ea-sheet{position:fixed;inset:auto 0 0 0;width:100%;max-width:560px;max-height:88dvh;margin:0 auto;padding:44px 14px calc(14px + env(safe-area-inset-bottom));
  border:0;border-radius:20px 20px 0 0;background:var(--w-bg);color:var(--w-text);overflow:auto}
.w-ea-sheet::backdrop{background:var(--w-overlay)}
.w-ea-sheet>#ea-detail{margin:0}
.w-ea-sheet-x{position:absolute;top:8px;right:10px;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:var(--w-text2)}
.w-ea-sheet-x:before{content:'';width:20px;height:20px;background:currentColor;-webkit-mask:var(--i-x) center/contain no-repeat;mask:var(--i-x) center/contain no-repeat}
.w-ea-sheet-go{position:sticky;bottom:0;margin-top:12px;min-height:50px;font-size:16px}

/* ===================================================================== price tiles above the chart (owner, 11 Oct 2026)
   Each pair's price and the day's change; the tile is also the chart's symbol switch. */
.w-syms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
.w-sym{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;min-height:0;padding:10px 12px;border-radius:14px;text-align:left;
  color:var(--w-text);background:var(--w-surface2);border:1px solid var(--w-border);cursor:pointer;transition:border-color .15s,background .15s}
.w-sym[aria-pressed=true]{background:var(--w-primary-soft);border-color:var(--w-primary);box-shadow:inset 0 0 0 1px var(--w-primary)}
.w-sym-top{display:flex;align-items:center;gap:7px;width:100%;min-width:0;font-size:12.5px;font-weight:700;color:var(--w-text2)}
.w-sym-top .w-coin{width:18px;height:14px;border-radius:3px}
.w-sym-shut{margin-left:auto;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:700;white-space:nowrap;color:var(--w-text2);background:var(--w-surface3)}
.w-sym-price{font-size:19px;font-weight:800;line-height:1.3;letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap}
.w-sym-chg{font-size:12.5px;font-weight:700;color:var(--w-text3);font-variant-numeric:tabular-nums}
.w-sym-chg[data-tone=up]{color:var(--w-green)}
.w-sym-chg[data-tone=down]{color:var(--w-red)}
.w-coin.w-coin-btc{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;clip-path:none;color:#fff;font-size:14px;font-weight:800;line-height:1;
  background:linear-gradient(160deg,#ffc24a,#f7931a);box-shadow:inset 0 -2px 0 rgba(0,0,0,.12)}
.w-sym-top .w-coin.w-coin-btc{width:18px;height:18px;border-radius:50%;font-size:11px}
.w-chart-full .w-syms{margin-bottom:8px}
@media (min-width:801px){.w-sym{padding:10px 14px}.w-sym-price{font-size:21px}}
/* ===================================================================== the pop-up and visit mode (wing-popup.js, wing-visit.js; owner, 11 Oct 2026) */
dialog.w-popup{width:auto;max-width:min(560px,calc(100vw - 24px));max-height:none;padding:0;border-radius:16px;background:transparent;box-shadow:none;overflow:visible}
.w-popup img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 96px);margin:0 auto;border-radius:16px;box-shadow:0 26px 60px -22px rgba(0,0,0,.7)}
.w-popup a{display:block}
.w-popup-x{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:36px;height:36px;min-height:0;padding:0;border-radius:50%;background:rgba(12,17,16,.72);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.w-popup-x:hover{background:rgba(12,17,16,.92)}
.w-visit-bar{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;margin-bottom:12px;padding:10px 14px;border-radius:var(--w-r);background:var(--w-surface);border:1px solid var(--w-amber-border);box-shadow:var(--w-shadow);font-size:13.5px;line-height:1.5}
.w-visit-bar p{flex:1 1 260px;min-width:0;margin:0;color:var(--w-text2)}
.w-visit-bar p strong{display:block;color:var(--w-text)}
.w-visit-actions{display:flex;gap:8px;flex-wrap:wrap}
.w-visit-actions button{min-height:36px;padding:0 14px;font-size:14px}
.w-visit-sheet .w-visit-actions{margin:14px 0 6px}
.w-visit-sheet .w-visit-actions button{flex:1 1 140px;min-height:44px}
.w-visit-sheet .text-button{display:flex;margin:4px auto 0}
.w-visit-door{width:100%;margin-top:8px}
.w-mode-only{cursor:default}
/* A visitor has no sign-in of their own to look after, and nothing to export. */
body[data-visit] #profile-2fa,body[data-visit] #settings-passkeys-row,body[data-visit] #privacy-panel,body[data-visit] #privacy-close,body[data-visit] #deals-export,
body[data-visit] .w-row-d:has(#security-state),body[data-visit] .w-row-d:has(#security-devices),body[data-visit] .w-row-d:has(#legal-receipts){display:none}

/* the Backtest page with more than one EA system (12 Oct 2026): the system switch, a fourth fact, the developer's result picture */
.w-bt-systems{margin-bottom:10px}
.w-bt-facts4 .w-bt-fact:last-child{grid-column:auto}
.w-bt-pic h3{margin:0 0 10px;font-size:16px}
.w-bt-pic img{display:block;width:100%;max-width:620px;height:auto;margin:0 auto;border-radius:var(--w-r-sm);border:1px solid var(--w-border)}

/* ---------- cards made quicker to read (FALCON's owner, 14 Oct 2026: "confusing, hard to read") ---------- */
/* the account card: what it is doing, which account and EA, the money, one line of figures, the actions;
   the runner seat, licence and version folded underneath */
.w-acct2{gap:12px;padding:16px}
.w-acct2 .w-acct-top{gap:8px}
.w-acct2 .w-acct-state{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:999px;background:var(--w-surface2);color:var(--w-text2);font-size:13px}
.w-acct2 .w-acct-state strong{font-weight:700}
.w-acct2 .w-acct-state .w-dot{width:8px;height:8px;border-radius:50%;background:currentColor}
.w-acct2.tone-running .w-acct-state{background:var(--w-green-soft);color:var(--w-green)}
.w-acct2.tone-error .w-acct-state{background:var(--w-red-soft);color:var(--w-red)}
.w-acct2.tone-pending .w-acct-state,.w-acct2.tone-unknown .w-acct-state{background:var(--w-amber-soft);color:var(--w-amber)}
.w-acct2.tone-running .w-acct-state .w-dot,.w-acct2.tone-error .w-acct-state .w-dot,.w-acct2.tone-pending .w-acct-state .w-dot,.w-acct2.tone-unknown .w-acct-state .w-dot{background:currentColor}
.w-acct2 .w-acct-top .w-type{margin-left:auto}
.w-acct2 .w-acct-head h3{font-size:18px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w-acct2 .w-acct-head small{margin-top:2px;font-size:12.5px;color:var(--w-text3)}
.w-acct2 .w-acct-ea{display:flex;align-items:center;gap:6px 9px;flex-wrap:wrap;padding:9px 12px;border-radius:var(--w-r-sm);
  background:color-mix(in srgb,var(--ea,var(--w-primary)) 7%,var(--w-surface));border:1px solid color-mix(in srgb,var(--ea,var(--w-primary)) 24%,transparent)}
.w-acct-eadot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--ea,var(--w-primary))}
.w-acct2 .w-acct-ea strong{font-size:14.5px;font-weight:800}
.w-acct2 .w-acct-ea small{font-size:12.5px;color:var(--w-text2)}
.w-acct-money{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.w-acct-eq span,.w-acct-today span{display:block;font-size:12.5px;color:var(--w-text2)}
.w-acct-eq strong{display:block;font-size:27px;font-weight:800;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap}
.w-acct-eq strong small{font-size:13px;font-weight:600;color:var(--w-text2)}
.w-acct-today{text-align:right}
.w-acct-today strong{display:block;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.w-acct-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px;border-radius:var(--w-r-sm);background:var(--w-surface2)}
.w-acct-facts>span{display:flex;flex-direction:column;gap:1px;min-width:0}
.w-acct-facts small{font-size:11.5px;color:var(--w-text3)}
.w-acct-facts b{font-size:13.5px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-acct2 .gain{color:var(--w-green)}
.w-acct2 .loss{color:var(--w-red)}
.w-acct-why{margin:0;font-size:13px;color:var(--w-text2)}
.w-acct2 .w-acct-actions{gap:8px}
.w-acct2 .w-acct-sub>button{min-height:36px;font-size:13px}
.w-acct-info{padding-top:8px;border-top:1px solid var(--w-border)}
.w-acct-info>summary{display:flex;align-items:center;gap:10px;min-height:28px;cursor:pointer;list-style:none;font-size:13px;font-weight:700;color:var(--w-text2)}
.w-acct-info>summary::-webkit-details-marker{display:none}
.w-acct-info>summary:after{content:'';flex:none;width:14px;height:14px;margin-left:auto;background:currentColor;-webkit-mask:var(--i-chevrondown) center/contain no-repeat;mask:var(--i-chevrondown) center/contain no-repeat;transition:transform .15s}
.w-acct-info[open]>summary:after{transform:rotate(180deg)}
.w-acct-info-sum{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:var(--w-text3)}
.w-acct-info-sum.warn{color:var(--w-amber)}
.w-acct-info .w-acct-row{margin-top:6px;min-height:40px}
.w-acct-orders{border-radius:var(--w-r-sm);background:var(--w-surface2);padding:2px 12px}
.w-acct-orders>summary{display:flex;align-items:center;gap:10px;min-height:42px;cursor:pointer;list-style:none;font-size:13.5px}
.w-acct-orders>summary::-webkit-details-marker{display:none}
.w-acct-orders>summary strong{font-weight:700}
.w-acct-orders>summary:after{content:'';flex:none;width:14px;height:14px;margin-left:8px;background:currentColor;-webkit-mask:var(--i-chevrondown) center/contain no-repeat;mask:var(--i-chevrondown) center/contain no-repeat;transition:transform .15s}
.w-acct-orders[open]>summary:after{transform:rotate(180deg)}
.w-acct-orders>summary .fxc-sum{margin-left:auto}
.w-acct-orders>.fxc-panel{margin:0 0 10px;padding:0;background:none;border:0}
@media (max-width:480px){
 .w-acct-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .w-acct-eq strong{font-size:24px}
}
/* the EA card: a shorter picture with the risk level on it, three small fact tiles, two "suits" lines, the version */
.w-ea2 .w-ea-art{height:auto;min-height:178px;padding-bottom:14px}
.w-ea2 .w-ea-head{padding:14px 0 0 14px}
.w-ea2 .w-ea-name{margin:12px 0 6px}
.w-ea2 .w-ea-name1{font-size:20px}
.w-ea2 .w-ea-name2{font-size:31px}
.w-ea2 .w-ea-line{font-size:13.5px}
/* Under the tagline, in the words' own column, so a two-line tagline pushes it down instead of lying on it (15 Oct 2026). */
.w-ea2 .w-ea-riskart{position:static;margin-top:10px;padding:3px 10px;font-size:12px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
/* A light card colour takes dark ticks (fenix-lineup.js marks it ea-light). */
.w-ea.ea-light .w-ea-fit li:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306140b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
.w-ea2 .w-ea-body{gap:10px;padding:10px 14px 14px}
.w-ea2 .w-ea-hl{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.w-ea2 .w-ea-hl li{flex-direction:row;align-items:center;justify-content:flex-start;gap:6px;padding:7px 8px;border-radius:10px;
  background:color-mix(in srgb,var(--ea) 7%,var(--w-surface));text-align:left;font-size:12px;line-height:1.3;color:var(--w-text)}
.w-ea2 .w-ea-hl li+li{border-left:0}
.w-ea2 .w-ea-hl .wi{flex:none;width:18px;height:18px}
.w-ea2 .w-ea-fit h4{margin-bottom:6px;font-size:13px}
.w-ea2 .w-ea-fit ul{gap:5px}
.w-ea2 .w-ea-fit li{font-size:13px}
.w-ea2 .w-ea-fit li:before{width:16px;height:16px;background-size:10px}
.w-ea-ver{font-size:11.5px;color:var(--w-text3)}
.w-ea2 .w-ea-go{min-height:42px;font-size:15px}
@media (min-width:900px){
 .w-ea-row:has(.w-ea2){grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));overflow:visible;margin:0;padding:4px 0 8px;scroll-snap-type:none}
}
