/* World markets (20261017bv) -- scoped to .wm, on admin.css's variables. Money made green, lost or spent
   red; every price in its market's own units (London's in pence). On a phone each table row is a card. */
.wm{display:grid;gap:20px}
.wm .is-gain{color:var(--t-good)}
.wm .is-loss{color:var(--t-bad)}
/* why each losing trade lost (20261021ci): a list under the closed trades, a sentence each */
.wm-panel > .wm-losses__title{margin:4px 24px 6px;font-size:18px;font-weight:800}
.wm .wm-losses{display:grid;gap:0;max-width:92ch;margin:0 24px 16px;padding:0;list-style:none}
@media (max-width: 760px){.wm-panel > .wm-losses__title{margin:4px 14px 6px}.wm .wm-losses{margin:0 14px 14px}}
.wm .wm-losses li{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid var(--t-line)}
.wm .wm-losses li:last-child{border-bottom:0}
.wm .wm-loss{color:var(--t-ink);font-size:17px;line-height:1.5}
.wm .is-flat{color:var(--t-ink-2)}
.wm-status, .wm-note{margin:0;color:var(--t-ink-2);font-size:17px;line-height:1.5}
.wm-note{max-width:100ch}
.wm-message{margin:0;padding:14px 16px;border:2px solid var(--t-good-line);border-radius:10px;background:var(--t-good-bg);color:var(--t-good);font-size:17px;font-weight:700}
.wm-error{margin:0;padding:14px 16px;border:2px solid var(--t-bad-line);border-radius:10px;background:var(--t-bad-bg);color:var(--t-bad);font-size:17px;font-weight:700}
.wm-error-text{color:var(--t-bad);white-space:normal}

/* the figures at the top, as the ledger's: tiles edged in their tone */
.wm-summary{display:grid;grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));gap:14px;margin:0}
.wm-summary > div{position:relative;padding:20px 18px 16px;border:1px solid var(--t-line);border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,0) 55%),var(--t-surface);box-shadow:var(--t-shadow);overflow:hidden}
.wm-summary > div::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--t-brand)}
.wm-summary > div:has(dd .is-gain)::before{background:var(--t-good-fill)}
.wm-summary > div:has(dd .is-loss)::before{background:var(--t-bad-fill)}
.wm-summary dt{color:var(--t-ink-2);font-size:17px;font-weight:650}
.wm-summary dd{margin:6px 0 0;font-size:30px;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.wm-summary dd.wm-sub{margin-top:4px;color:var(--t-ink-2);font-size:17px;font-weight:500;letter-spacing:0}

/* the five markets: a card each, the one shown below picked out in amber */
.wm-markets{display:grid;grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));gap:14px}
.wm-card{display:grid;gap:8px;align-content:start;min-height:44px;padding:16px 18px;border:2px solid var(--t-line);border-radius:12px;background:var(--t-surface);box-shadow:var(--t-shadow);color:var(--t-ink);font:inherit;font-size:17px;font-weight:500;text-align:left;cursor:pointer}
.wm-card:hover{border-color:var(--t-line-strong)}
/* picked out by its edge and an amber bar along the top: the card itself stays the surface its figures are read on */
.wm-card[aria-pressed="true"]{border-color:var(--t-brand-line);box-shadow:inset 0 4px 0 var(--t-brand),var(--t-shadow)}
.wm-card:focus-visible, .wm-button:focus-visible{outline:3px solid var(--t-focus);outline-offset:2px}
.wm-card__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px}
.wm-card__head b{font-size:20px;font-weight:800}
.wm-card__line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-variant-numeric:tabular-nums}
.wm-card__small{color:var(--t-ink-2)}
.wm-state{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid var(--t-line-strong);border-radius:999px;background:var(--t-surface-3);color:var(--t-ink-2);font-size:16px;font-weight:750}
.wm-state.is-open{border-color:var(--t-good-line);background:var(--t-good-bg);color:var(--t-good)}
.wm-state.is-lunch{border-color:var(--t-accent-line);background:var(--t-accent-bg);color:var(--t-accent)}
.wm-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid var(--t-line-strong);border-radius:999px;color:var(--t-ink-2);font-size:16px;font-weight:750}
.wm-badge.is-proven{border-color:var(--t-good-line);background:var(--t-good-bg);color:var(--t-good)}

/* a panel, as the ledger's */
.wm-panel{min-width:0;border:1px solid var(--t-line);border-radius:var(--t-radius);background:var(--t-surface);box-shadow:var(--t-shadow)}
.wm-panel__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px;padding:18px 24px 14px;margin-bottom:14px;border-bottom:1px solid var(--t-line);border-radius:calc(var(--t-radius) - 1px) calc(var(--t-radius) - 1px) 0 0;background:var(--t-surface-2)}
.wm-panel__head h2{margin:0;font-size:var(--t-fs-h3);font-weight:800}
.wm-panel > .wm-note, .wm-panel > .wm-status, .wm-panel > .wm-book, .wm-panel > .wm-error, .wm-panel > .wm-tests, .wm-panel > .wm-list{margin:0 24px 14px}
.wm-panel > .table-wrap, .wm-rules, .wm-gate, .wm-form{margin:0 24px 18px}
.wm-panel > .wm-button{margin:0 24px 18px}
.wm-panel h3{margin:6px 0 10px;font-size:20px;font-weight:800}
.wm-book{color:var(--t-ink);font-size:18px;line-height:1.5}
.wm-book b{font-weight:800}
.wm-table td, .wm-table th{padding:12px 14px}
.wm-table td{font-variant-numeric:tabular-nums}
.wm-table td small{color:var(--t-ink-2);font-size:16px}
.wm-table th.wm-num{text-align:right}
.wm-table td[data-label="Price"], .wm-table td[data-label="Today"], .wm-table td[data-label="Gain"], .wm-table td[data-label="A round trip"],
.wm-table td[data-label="Trades"], .wm-table td[data-label="Won"], .wm-table td[data-label="A year"], .wm-table td[data-label="95% range"],
.wm-table td[data-label="Sharpe"], .wm-table td[data-label="Worst fall"], .wm-table td[data-label="Net"], .wm-table td[data-label="Shares"],
.wm-table td[data-label="Bought"], .wm-table td[data-label="Sold at"], .wm-table td[data-label="In dollars"]{text-align:right}
.wm-table td[data-label="Held"], .wm-table td[data-label="Why"], .wm-table td[data-label="Name"], .wm-table td:first-child{white-space:normal;min-width:16ch}
.wm-closed td:first-child{min-width:12ch}
.wm-table tr.is-benchmark td{color:var(--t-ink-2)}
.wm-table tr.is-chosen td{background:var(--t-accent-row)}
.wm-table tr.is-chosen td:first-child{box-shadow:inset 4px 0 0 var(--t-brand)}
.wm-table tr.is-followed td, .wm-table tr.is-hold td{border-top:2px solid var(--t-line-strong)}
.wm-table tr.wm-row-note td{padding-top:0}
.wm-verdict{margin:12px 0 4px;color:var(--t-ink);font-size:19px;font-weight:800;line-height:1.45}
.wm-verdict.is-proven{color:var(--t-good)}

/* the tests live needs, as the ledger's "Before LIVE" */
.wm-tests{display:grid;margin:0;padding:0;list-style:none;font-size:17px;font-variant-numeric:tabular-nums}
.wm-test{display:grid;grid-template-columns:22px minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 1.4fr);gap:12px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--t-line)}
.wm-test:last-child{border-bottom:0}
.wm-test__mark{font-weight:800}
.wm-test.is-pass .wm-test__mark, .wm-test.is-pass b{color:var(--t-good)}
.wm-test.is-wait .wm-test__mark{color:var(--t-accent)}
.wm-test small{color:var(--t-ink-2);font-size:16px}
/* how long the rest of the trades take at the pace of the market's replayed record (20261020cf), under its test */
.wm-test small.wm-test__eta{grid-column:2 / -1;line-height:1.45}
.wm-list{display:grid;gap:8px;padding:0;list-style:none;font-size:17px}
.wm-list li{padding:10px 14px;border:1px solid var(--t-line);border-radius:10px}
.wm-problems{display:grid;gap:8px;margin:0 24px 18px;padding:0;list-style:none;color:var(--t-bad);font-size:17px}

/* the IBKR routes */
.wm-form{display:grid;gap:10px;padding:16px 18px;border:1px solid var(--t-line);border-radius:12px;background:var(--t-surface-2)}
.wm-form h3{margin:0}
.wm-checks{display:flex;flex-wrap:wrap;gap:8px 18px}
.wm-checks label{display:inline-flex;align-items:center;min-height:44px;color:var(--t-ink);font-size:17px;font-weight:650}
.wm-checks label.is-off{color:var(--t-ink-2);text-decoration:line-through}
.wm-form input[type="text"]{min-height:44px;max-width:28rem;padding:0 10px;border:2px solid var(--t-line-strong);border-radius:8px;background:var(--t-surface);color:var(--t-ink);font-size:18px}
.wm-button{justify-self:start;min-height:44px;padding:0 16px;border:2px solid var(--t-line-strong);border-radius:10px;background:var(--t-surface);color:var(--t-ink);font-size:17px;font-weight:750;cursor:pointer}
.wm-button--primary{border-color:var(--t-brand-line);background:var(--t-brand);color:var(--t-on-brand)}
.wm-button--danger{border-color:var(--t-danger-fill);background:var(--t-danger-fill);color:var(--t-on-danger)}
.wm-button:disabled{border-style:dashed;background:var(--t-surface-3);color:var(--t-ink-2);cursor:default}
.wm-sell{display:block;margin-top:8px}

@media (max-width: 760px){
  .wm-panel > .wm-note, .wm-panel > .wm-status, .wm-panel > .wm-book, .wm-panel > .wm-error, .wm-panel > .wm-tests, .wm-panel > .wm-list{margin:0 14px 12px}
  .wm-panel > .table-wrap, .wm-rules, .wm-gate, .wm-form{margin:0 14px 14px}
  .wm-panel > .wm-button{margin:0 14px 14px}
  .wm-test{grid-template-columns:18px minmax(0, 1fr);gap:2px 8px}
  .wm-test b, .wm-test small{grid-column:2}
  /* each row a card: its cells one under the other, each with its column's name */
  .wm-cards-on-phone thead{display:none}
  .wm-cards-on-phone table, .wm-cards-on-phone tbody, .wm-cards-on-phone tr{display:block;width:100%}
  .wm-cards-on-phone tr{margin:0 0 12px;padding:10px 12px;border:1px solid var(--t-line);border-radius:10px;background:var(--t-surface)}
  .wm-cards-on-phone td{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1.3fr);gap:10px;padding:6px 0;border-bottom:0;white-space:normal;text-align:right}
  .wm-cards-on-phone td:nth-child(n){min-width:0}
  .wm-cards-on-phone td:first-child{display:block;text-align:left}
  .wm-cards-on-phone td[data-label]::before{content:attr(data-label);color:var(--t-ink-2);font-size:16px;font-weight:650;text-align:left}
  .wm-cards-on-phone td:empty{display:none}
  /* the rule followed: the whole card picked out, not its first line */
  .wm-cards-on-phone tr.is-chosen{border-color:var(--t-brand-line);background:var(--t-accent-row)}
  .wm-cards-on-phone tr.is-chosen td, .wm-cards-on-phone tr.is-chosen td:first-child{background:transparent;box-shadow:none}
  .wm-cards-on-phone tr.is-followed td, .wm-cards-on-phone tr.is-hold td{border-top:0}
}

/* the markets MIP cannot trade, and why (20261018bz) */
.wm-unavailable{display:grid;gap:12px;margin:0;padding:16px 20px 20px;list-style:none}
.wm-unavailable li{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--t-line);border-left:4px solid var(--t-bad-fill);border-radius:8px;background:var(--t-surface-2)}
.wm-unavailable b{color:var(--t-ink);font-size:18px}
.wm-unavailable span{color:var(--t-ink-2)}

/* the Forex page (20261018bz) wears this look: its figures right-aligned like the markets' */
.fx-live .wm-table td[data-label="The paper book wants"], .fx-live .wm-table td[data-label="MIP holds"],
.fx-live .wm-table td[data-label="OANDA shows"], .fx-live .wm-table td[data-label="Units"],
.fx-live .wm-table td[data-label="Filled"], .fx-live .wm-table td[data-label="Price"],
.fx-live .wm-table td[data-label="Made after costs"], .fx-live .wm-table td[data-label="Paper trades closed"]{text-align:right}

/* the OANDA keys, the accounts read on request and the desk's settings, on the Forex page (20261018cb); the world
   markets desk's settings wear the same look on its admin view (20261020cf) */
.fx-keys, .fx-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 24px 18px}
.fx-key, .fx-setting{display:grid;gap:10px;align-content:start;min-width:0;padding:16px 18px;border:1px solid var(--t-line);border-radius:12px;background:var(--t-surface-2)}
.fx-key.is-saved{border-color:var(--t-good-line)}
.fx-key__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.fx-key__head b{display:block;font-size:19px;font-weight:800}
.fx-key__head small, .fx-key__when, .fx-setting__state, .fx-setting__about{color:var(--t-ink-2);font-size:16px;line-height:1.45}
.fx-pill{flex:none;padding:4px 12px;border:1px solid var(--t-line-strong);border-radius:999px;color:var(--t-ink);font-size:16px;font-weight:700;white-space:nowrap}
.fx-pill.is-saved{border-color:var(--t-good-line);background:var(--t-good-bg);color:var(--t-good)}
.fx-field{display:grid;gap:6px;color:var(--t-ink-2);font-size:16px;font-weight:650}
.fx-field input, .fx-setting input, .fx-setting select{width:100%;min-width:0;min-height:44px;padding:0 10px;border:2px solid var(--t-line-strong);border-radius:8px;background:var(--t-surface);color:var(--t-ink);font-size:18px}
.fx-field input:focus-visible, .fx-setting input:focus-visible, .fx-setting select:focus-visible{outline:3px solid var(--t-focus);outline-offset:1px}
.fx-key__actions{display:flex;flex-wrap:wrap;gap:10px}
.fx-flash{margin:0}
.fx-setting__head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.fx-setting__head b{font-size:18px;font-weight:800}
.fx-setting__line{display:flex;gap:10px}
.fx-setting__line .wm-button{flex:none}
.fx-accounts .wm-table td:not(:first-child){text-align:right}
/* the books' records and live tests (20261020cf: four; 20261021cg: fourteen): cells that wrap, the page's width and no more */
.fx-books th, .fx-books td{padding:12px 10px;white-space:normal}
.fx-books td:first-child{min-width:9rem;font-weight:700}
.fx-books td:nth-child(3){min-width:9rem}
.fx-books td:last-child{min-width:11rem}
.fx-books tr.is-off td{color:var(--t-ink-2)}
.fx-accounts .wm-table td[colspan]{text-align:left}
@media (max-width: 760px){
  .fx-keys, .fx-settings{grid-template-columns:minmax(0, 1fr);margin:0 14px 14px}
}
/* graphics (20261019cc; pages/viz.rs): the markets proven and each market's tests for live that hold, as bars filling
   toward all of them; each rule's 95% range a band against zero; each closed trade's net a column from the zero line */
.wm-viz{display:block;min-width:0}
.wm-summary dd.wm-viz{margin-top:10px;font-size:17px}
.wm-card__viz{display:grid;gap:2px}
.wm-table td .wm-viz{margin-top:2px}
.wm-progress{display:grid;gap:2px;max-width:520px;margin:0 0 12px;color:var(--t-ink-2);font-size:17px;font-variant-numeric:tabular-nums}
.wm-progress .viz-bar{height:12px}
.wm-chart{margin:0 24px 16px}
.wm-chart figcaption{color:var(--t-ink-2);font-size:17px;font-weight:650}
@media (max-width: 760px){
  .wm-chart{margin:0 14px 14px}
  .wm-cards-on-phone td > .wm-viz{grid-column:1 / -1}
}
/* The AI operator on each desk's admin view (20261020cf): its mode, its facts, real money, and its decisions with
   what became of each and what followed. Drawn on the On-chain arbitrage view too, so its colours are its own. */
.ai-op .is-gain{color:var(--t-good)}
.ai-op .is-loss{color:var(--t-bad)}
.ai-op .is-flat{color:var(--t-ink-2)}
.ai-op > .ai-op__body{display:grid;gap:16px;margin:0 24px 20px;min-width:0}
.ai-op__mode{display:grid;gap:8px}
.ai-op__modes{display:inline-flex;flex-wrap:wrap;justify-self:start;max-width:100%;border:2px solid var(--t-line-strong);border-radius:10px;overflow:hidden}
.ai-op__modes button{min-height:44px;padding:0 20px;border:0;border-right:2px solid var(--t-line-strong);background:var(--t-surface);color:var(--t-ink);font-size:17px;font-weight:750;cursor:pointer}
.ai-op__modes button:last-child{border-right:0}
.ai-op__modes button[aria-pressed="true"]{background:var(--t-brand);color:var(--t-on-brand);cursor:default}
.ai-op__modes button:disabled{background:var(--t-surface-3);color:var(--t-ink-2)}
.ai-op__about, .ai-op__facts{margin:0;color:var(--t-ink-2);font-size:17px;line-height:1.5}
.ai-op__bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.ai-op__bar .ai-op__facts{flex:1 1 22rem}
.ai-op__fast[aria-pressed="true"]{border-color:var(--t-brand-line);color:var(--t-accent)}
.ai-op .wm-form{margin:0}
.ai-op__money p{margin:0}
.ai-op__rules{color:var(--t-ink-2);font-size:17px;line-height:1.5}
.ai-op__rules summary{padding:10px 0;color:var(--t-ink);font-weight:750;cursor:pointer}
.ai-op__rules ul{display:grid;gap:6px;margin:4px 0 0;padding-left:22px}
.ai-op__history h3{margin:0 0 10px}
.ai-op__decisions{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.ai-op__decision{display:grid;gap:8px;padding:14px 16px;border:1px solid var(--t-line);border-left:4px solid var(--t-line-strong);border-radius:10px;background:var(--t-surface-2)}
.ai-op__decision.is-latest{border-left-color:var(--t-brand)}
.ai-op__decision p{margin:0}
.ai-op__when{color:var(--t-ink-2);font-size:16px;font-weight:650}
.ai-op__read{color:var(--t-ink);font-size:17px;line-height:1.55;max-width:100ch}
.ai-op__actions{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.ai-op__actions li{display:grid;gap:4px;padding:10px 12px;border:1px solid var(--t-line);border-radius:8px;background:var(--t-surface)}
.ai-op__line{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px}
.ai-op__what{color:var(--t-ink);font-size:17px;font-weight:700;overflow-wrap:anywhere}
.ai-op__why, .ai-op__said, .ai-op__watch{color:var(--t-ink-2);font-size:16px;line-height:1.45;overflow-wrap:anywhere}
.ai-op__chip{flex:none;padding:2px 10px;border-radius:999px;font-size:16px;font-weight:750}
.ai-op__chip--applied{background:var(--t-good-bg);color:var(--t-good)}
.ai-op__chip--suggested{background:var(--t-accent-bg);color:var(--t-accent)}
.ai-op__chip--refused, .ai-op__chip--failed{background:var(--t-bad-bg);color:var(--t-bad)}
.ai-op__apply{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}
.ai-op__apply input[type="text"]{min-height:44px;width:min(22rem,100%);padding:0 10px;border:2px solid var(--t-line-strong);border-radius:8px;background:var(--t-surface);color:var(--t-ink);font-size:17px}
.ai-op__since{font-size:17px;font-weight:700}
/* who answers, in order (20261021ch): the ones asked, numbered as they are asked, each with its state; the ones left
   out after them, dashed */
.ai-op__who{display:grid;gap:8px}
.ai-op__who > .ai-op__auto{justify-self:start}
.ai-op__who h3{margin:0}
.ai-op__order{display:grid;gap:8px;margin:0;padding:0;list-style:none;counter-reset:ai-step}
.ai-op__step{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:10px 12px;border:1px solid var(--t-line);border-radius:8px;background:var(--t-surface)}
.ai-op__step > .ai-op__line, .ai-op__step > .ai-op__step-note{grid-column:1}
ol.ai-op__order > .ai-op__step{counter-increment:ai-step}
ol.ai-op__order > .ai-op__step .ai-op__step-name::before{content:counter(ai-step) ". ";color:var(--t-ink-2)}
.ai-op__step.is-off{border-style:dashed;background:none}
.ai-op__step-name{color:var(--t-ink);font-size:17px;font-weight:750;overflow-wrap:anywhere}
.ai-op__state{font-size:16px;font-weight:700;overflow-wrap:anywhere}
.ai-op__state--ready{color:var(--t-good)}
.ai-op__state--resting{color:var(--t-accent)}
.ai-op__state--no_key{color:var(--t-bad)}
.ai-op__state--off{color:var(--t-ink-2)}
.ai-op__step-note, .ai-op__passed{margin:0;color:var(--t-ink-2);font-size:16px;line-height:1.45}
.ai-op__step-do{grid-column:2;grid-row:1 / span 2;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
@media (max-width: 760px){
  .ai-op > .ai-op__body{margin:0 14px 16px}
  .ai-op__modes button{padding:0 14px}
  .ai-op__step{grid-template-columns:minmax(0,1fr)}
  .ai-op__step-do{grid-column:1;grid-row:auto;justify-content:flex-start}
}
/* the fourteen Forex books (20261021cg): the table and the route forms in two parts, the swing books and the day
   books, each under its heading and each book by its candles */
.fx-books tr.fx-books__group th{padding:16px 10px 8px;border-bottom:2px solid var(--t-line-strong);background:var(--t-surface-2);color:var(--t-ink);font-size:18px;font-weight:800;text-align:left}
.fx-books tbody tr.fx-books__group:hover{background:none}
.fx-books tbody tr.fx-books__group:hover th{box-shadow:none}
.fx-choose{display:grid;gap:8px}
.fx-choose__kind{display:grid;gap:2px}
.fx-choose__name{color:var(--t-ink-2);font-size:16px;font-weight:750}
@media (max-width: 760px){
  .wm-cards-on-phone tr.fx-books__group{margin:18px 0 8px;padding:0;border:0;background:none}
  .wm-cards-on-phone tr.fx-books__group th{display:block;padding:0;border:0;background:none}
  /* each book's card titled by its candles, not "Book" run into them */
  .wm-cards-on-phone .fx-books td:first-child::before{content:none}
  .wm-cards-on-phone .fx-books td:first-child{font-size:18px;font-weight:800}
}
/* 20261022cm: a market in plain words first -- its headline, its lines, and the rules followed against the index fund
   held (each from 1.00, as the Research lab draws a replay against buy-and-hold); the details folded under it */
.wm .wm-plain{display:grid;gap:12px;margin:0 24px 18px;padding:16px 18px;border:1px solid var(--t-line);border-left:4px solid var(--t-brand);border-radius:10px;background:var(--t-surface-2)}
.wm .wm-plain__headline{margin:0;font-size:20px;font-weight:800;line-height:1.4}
.wm .wm-plain__lines{display:grid;gap:6px;margin:0;padding-left:20px;font-size:18px;line-height:1.55}
.wm .wm-curve{margin:4px 0 0}
.wm .wm-curve__legend{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:17px}
.wm .wm-curve__legend span{display:inline-flex;align-items:center;gap:8px}
.wm .wm-curve__legend i{display:inline-block;width:22px;height:4px;border-radius:2px}
.wm .wm-curve__legend .is-rules i{background:var(--t-brand)}
.wm .wm-curve__legend .is-fund i{background:var(--t-violet)}
.wm .wm-curve__plot{margin-top:10px;padding:8px 0;border-top:1px solid var(--t-line);border-bottom:1px solid var(--t-line)}
.wm .wm-curve figcaption{margin-top:8px;color:var(--t-ink-2);font-size:16px}
.wm .wm-details{margin:0 24px 18px;border:1px solid var(--t-line);border-radius:10px;background:var(--t-surface)}
.wm .wm-details > summary{padding:12px 16px;color:var(--t-info);font-size:18px;font-weight:750;cursor:pointer}
.wm .wm-details[open] > summary{border-bottom:1px solid var(--t-line)}
.wm .wm-details > *:not(summary){margin:14px 16px}
.wm .wm-details > .wm-rules, .wm .wm-details > .wm-gate, .wm .wm-details > .table-wrap{margin:14px 16px}
@media (max-width: 760px){
  .wm .wm-plain, .wm .wm-details{margin:0 14px 14px}
  .wm .wm-plain{padding:12px 14px}
}

/* three brokers on the Forex page (20261022cn): the route forms' choice of account -- OANDA practice, FOREX.com demo or
   IBKR paper; live at any of the three -- with the boxes' look, and each broker's column of what it shows */
.fx-route-account{max-width:28rem}
.fx-route-account select{width:100%;min-width:0;min-height:44px;padding:0 10px;border:2px solid var(--t-line-strong);border-radius:8px;background:var(--t-surface);color:var(--t-ink);font-size:18px}
.fx-route-account select:focus-visible{outline:3px solid var(--t-focus);outline-offset:1px}
.fx-route-missing{margin:0}
.fx-live .wm-table td[data-label="FOREX.com shows"], .fx-live .wm-table td[data-label="IBKR shows"],
.fx-live .wm-table td[data-label="the broker shows"]{text-align:right}
