body {
    background-color: #1a1a1f; 
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 40px;
}

.loading {
    text-align: center;
    font-size: 20px;
    margin-top: 50px;
    color: #888;
}

/* FINVIZ RELATIVE PERFORMANCE CHART */
.finviz-chart-container {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 60px auto;
    border: 1px solid #333;
    border-radius: 4px;
    background: #1e1e24;
    padding: 20px;
    box-sizing: border-box;
}

.finviz-header { display: flex; justify-content: center; position: relative; margin-bottom: 30px; }
.finviz-title { font-size: 22px; font-weight: bold; color: #d1d4dc; text-transform: uppercase; letter-spacing: 0.5px; }
.finviz-tfs { position: absolute; right: 0; top: 0; display: flex; gap: 2px; }
.tf-btn { background: transparent; border: 1px solid #444; color: #888; padding: 2px 8px; cursor: pointer; font-size: 12px; font-weight: bold; border-radius: 2px; }
.tf-btn:hover { color: #fff; border-color: #666; }
.tf-btn.active { background: #333; color: #fff; border-color: #555; }

/* Pair Focus modal chart timeframe buttons — same convention as .tf-btn */
.pf-tf-btn { background: transparent; border: 1px solid #444; color: #888; padding: 3px 8px; cursor: pointer; font-size: 11px; font-weight: bold; border-radius: 2px; }
.pf-tf-btn:hover { color: #fff; border-color: #666; }
.pf-tf-btn.active { background: #333; color: #00ffcc; border-color: #00ffcc; }
.finviz-body { position: relative; height: 350px; margin-right: 0px; margin-left: 0px; }
.grid-lines { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.grid-line { position: absolute; left: 0; right: 60px; border-bottom: 1px dashed #3a3a44; display: flex; align-items: center; }
.grid-line.zero-line { border-bottom: 1px solid #555; }
.grid-label { position: absolute; right: -55px; transform: translateY(50%); color: #888; font-size: 13px; font-weight: 500; text-align: left; }
.bars-container { position: absolute; top: 0; left: 0; right: 60px; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 2px; }
.perf-col { position: relative; height: 100%; flex: 1; max-width: 85px; }
.perf-label-box { position: absolute; top: 50%; left: 0; right: 0; height: 26px; transform: translateY(0); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; z-index: 10; }
.perf-bar { position: absolute; left: 0; right: 0; z-index: 5; }
.perf-bar.up { bottom: 50%; }
.perf-bar.down { top: calc(50% + 26px); }
.perf-val { position: absolute; width: 100%; text-align: center; font-size: 13px; font-weight: bold; color: #fff; z-index: 15; }
.perf-val.up { bottom: calc(100% + 5px); }
.perf-val.down { top: calc(100% + 5px); }

/* HEATMAP DASHBOARD */
.dashboard { display: flex; flex-wrap: wrap; gap: 60px 100px; max-width: 1200px; margin: 50px auto 0 auto; justify-content: center; }
.currency-group { background: transparent; position: relative; width: 380px; }
.row { display: flex; align-items: center; border-bottom: 1px solid #333; padding: 5px 0; }
.row:first-child { border-top: 1px solid #333; }
.pair-name { font-weight: bold; font-size: 14px; width: 95px; color: #fff; display: flex; align-items: center; }
.pct-change { width: 65px; text-align: left; margin-left: 10px; font-size: 14px; font-weight: bold; display: flex; align-items: center;}
.pct-change.positive { color: #00FF00; }
.pct-change.negative { color: #FF0000; }
.bar-container { width: 100px; height: 12px; position: relative; background: transparent; margin-left: 10px; }
.bar { height: 100%; position: absolute; left: 0; top: 0; }
.bar.positive { background-color: #00FF00; }
.bar.negative { background-color: #FF0000; }
.arrow { margin-left: 10px; font-size: 14px; font-weight: bold; }
.arrow.up { color: #00FF00; }
.arrow.down { color: #FF0000; }
.group-score-container { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 5px; font-size: 28px; font-weight: bold; }
.group-score-container.strong { color: #00FF00; }
.group-score-container.weak { color: #FF0000; }

/* PHASE 2 ADVANCED INDICATORS */
.mtf-dots { display: inline-flex; margin-right: 6px; gap: 2px; }
.dot { border-radius: 50%; width: 5px; height: 5px; }
.dot.green { background-color: #00FF00; box-shadow: 0 0 2px #00FF00; }
.dot.red { background-color: #FF0000; box-shadow: 0 0 2px #FF0000; }
.exhausted { color: #FFB300 !important; }
.velocity-icon { color: #FFEB3B; font-size: 13px; margin-left: 4px; text-shadow: 0 0 5px rgba(255, 235, 59, 0.6); }
.news-warning { color: #FF3B30; font-size: 14px; margin-right: 4px; animation: blink 1.5s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }

/* AI INSIGHTS CARD — was completely unstyled (no border/radius/background of its
   own), unnoticeable as one appendage at the bottom of a long page, but glaring
   now that it's the sole content of its own tab. Match the calendar/legend
   container convention so it doesn't look visually "broken" against them. */
.card {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 30px auto;
    background: #1e1e24;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden; /* clip header + feed corners to the rounded border */
    box-sizing: border-box;
}
.card-header {
    padding: 15px 20px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

/* LEGEND STYLES */
.legend-container { max-width: 1160px; margin: 0 auto 30px auto; background: #1e1e24; border: 1px solid #333; border-radius: 4px; padding: 15px 20px; }
.legend-title { color: #888; font-size: 12px; text-transform: uppercase; font-weight: bold; margin-bottom: 10px; letter-spacing: 1px; }
.legend-grid { display: flex; flex-wrap: wrap; gap: 15px 30px; }
.legend-item { display: flex; align-items: center; font-size: 13px; color: #ccc; }
.legend-icon { width: 30px; text-align: center; margin-right: 10px; }
.legend-desc strong { color: #fff; }

/* PHASE 3 TRADE IDEAS PANEL */
.trade-ideas-container { width: 100%; max-width: 780px; margin: 0 auto 30px auto; border: 1px solid #4CAF50; border-radius: 4px; background: #111e15; padding: 20px; box-sizing: border-box; position: relative; }
.trade-ideas-title { font-size: 16px; font-weight: bold; color: #4CAF50; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; }
.trade-timestamp { position: absolute; top: 22px; right: 20px; font-size: 12px; color: #888; }
.trade-idea { background: #1a1a1f; border: 1px solid #333; border-radius: 4px; padding: 15px; margin-bottom: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.trade-idea:last-child { margin-bottom: 0; }
.idea-pair { font-size: 20px; font-weight: bold; color: #fff; }
.idea-direction { font-weight: bold; font-size: 14px; }
.idea-direction.long { color: #00FF00; }
.idea-direction.short { color: #FF0000; }
.idea-reasoning { display: flex; gap: 10px; font-size: 12px; color: #ccc; flex-wrap: wrap; }
.reason-checkbox { background: rgba(0, 255, 0, 0.05); padding: 6px 10px; border-radius: 3px; border: 1px solid rgba(0, 255, 0, 0.3); display: flex; align-items: center; gap: 6px; color: #ddd; }
.reason-checkbox.failed { background: rgba(255, 0, 0, 0.05); border-color: rgba(255, 0, 0, 0.3); color: #888; }
.check-icon { font-size: 14px; color: #00FF00; }
.cross-icon { font-size: 12px; color: #FF0000; }

/* WEEKLY ECONOMIC CALENDAR */
.calendar-container { width: 100%; max-width: 1160px; margin: 0 auto 50px auto; border: 1px solid #333; border-radius: 4px; background: #1e1e24; padding: 20px; box-sizing: border-box; }
.calendar-title { font-size: 16px; font-weight: bold; color: #d1d4dc; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; }
.calendar-table-container { overflow-x: auto; }
.calendar-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.calendar-table th { color: #888; border-bottom: 1px solid #444; padding: 10px 15px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.calendar-table td { padding: 12px 15px; border-bottom: 1px solid #2a2a35; color: #ccc; }
.calendar-table tbody tr:hover { background-color: #25252d; }
.calendar-table tbody tr:last-child td { border-bottom: none; }
.impact-badge { padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; }
.impact-badge.high { background: rgba(255, 59, 48, 0.1); color: #FF3B30; border: 1px solid rgba(255, 59, 48, 0.3); }
.impact-badge.medium { background: rgba(255, 179, 0, 0.1); color: #FFB300; border: 1px solid rgba(255, 179, 0, 0.3); }
.actual-result.pending { color: #888; font-style: italic; }
.actual-result.released { font-weight: bold; color: #fff; animation: pulseResult 2s; }
@keyframes pulseResult { 0% { color: #FFEB3B; text-shadow: 0 0 10px #FFEB3B; } 100% { color: #fff; text-shadow: none; } }
.day-header { background: #15151a; }
.day-header td { font-weight: bold; color: #fff; font-size: 14px; padding-top: 20px; border-bottom: 1px solid #444; }

/* TRADING PSYCHOLOGY WISDOM BANNER */
@keyframes wisdomShimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

#wisdom-banner:hover {
    border-color: rgba(99, 102, 241, 0.6) !important;
}

#scripture-banner:hover {
    border-color: rgba(212, 175, 55, 0.6) !important;
}

@keyframes wisdomFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.wisdom-fade {
    animation: wisdomFadeIn 0.4s ease forwards;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    body { padding: 15px; }
    .finviz-chart-container { padding: 15px 10px; }
    .finviz-title { font-size: 16px; margin-bottom: 35px; text-align: left; }
    .finviz-tfs { top: 35px; right: 0; }
    .grid-label { font-size: 11px; right: -45px; }
    .grid-line { right: 50px; }
    .bars-container { right: 50px; }
    .perf-label-box { font-size: 11px; height: 22px; }
    .perf-bar.down { top: calc(50% + 22px); }
    .perf-val { font-size: 11px; }
    .trade-ideas-container { padding: 15px; }
    .trade-ideas-title { font-size: 14px; }
    .idea-reasoning { flex-wrap: wrap; gap: 5px; }
    .reason-checkbox { font-size: 11px; padding: 4px 6px; }
    .dashboard { gap: 40px; margin-top: 30px; }
    .currency-group { width: 100%; max-width: 380px; }
    .pair-name { font-size: 13px; width: 85px; }
    .pct-change { font-size: 13px; width: 55px; margin-left: 5px; }
    .bar-container { margin-left: 5px; }
    .group-score-container { right: 0; top: -35px; transform: none; font-size: 22px; }
    .legend-item { align-items: flex-start; }
    .legend-icon { margin-top: 2px; }
    .calendar-container { padding: 15px 10px; margin-bottom: 30px; }
    .calendar-title { font-size: 14px; margin-bottom: 15px; }
    .calendar-table th, .calendar-table td { padding: 8px 10px; font-size: 12px; }
    /* Wisdom banner mobile */
    #wisdom-banner { padding: 14px 16px !important; gap: 12px !important; }
    #wisdom-quote { font-size: 13px !important; }
    #wisdom-icon { font-size: 22px !important; min-width: 30px !important; }

    /* Top nav mobile: shrink + swap to short labels so it never wraps or collides
       with the sub-tab bar below it ("FX SCANNER" -> "FX", "Heatmap Dashboard" ->
       "Heatmap", "Trade Journal" -> "Journal"). */
    #top-nav-bar { padding: 8px 12px; }
    #fx-logo { font-size: 15px; }
    #top-nav-links { gap: 14px; }
    #top-nav-links a { font-size: 13px; }
    .label-full { display: none; }
    .label-short { display: inline !important; }

    /* Sub-tab bar mobile: horizontal swipe-scroll instead of wrapping/squeezing to fit */
    #subtab-bar {
        padding: 0 10px;
        gap: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #subtab-bar::-webkit-scrollbar { display: none; }
    .subtab-btn {
        padding: 13px 14px;
        font-size: 13px;
        flex-shrink: 0;
        min-height: 44px; /* comfortable touch target */
        box-sizing: border-box;
    }
}

/* PAIR FOCUS PANEL SCROLLBAR */
#pair-focus-panel::-webkit-scrollbar {
    width: 6px;
}
#pair-focus-panel::-webkit-scrollbar-track {
    background: #1e1e24;
}
#pair-focus-panel::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}
#pair-focus-panel::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* [M6] Visible keyboard focus for div-based controls (role="button") and links */
[role="button"]:focus-visible,
a:focus-visible,
button:focus-visible,
th.sortable:focus-visible {
    outline: 2px solid #00ffcc;
    outline-offset: 2px;
    border-radius: 4px;
}

/* SUB-TAB BAR — jump between dashboard sections without scrolling */
.subtab-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}
.subtab-btn:hover {
    color: #ddd;
}
.subtab-btn.active {
    color: #00ffcc;
    border-bottom-color: #00ffcc;
}

.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* ─────────────────────────────────────────────────── [v2.10.0] WATCHLIST CARDS
   Bias + supporting variables. Visual weight goes to the REASONS, not the ticker:
   the point of the card is why it is on the list. */
.wl-preamble {
    font-size: 12px; color: #7a7a88; line-height: 1.5;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #2a2a33;
}
.wl-card {
    background: #16161b; border: 1px solid #2a2a33; border-left: 3px solid #444;
    border-radius: 5px; padding: 14px 16px; margin-bottom: 12px;
}
.wl-card.bias-long  { border-left-color: #10b981; }
.wl-card.bias-short { border-left-color: #ef4444; }

.wl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.wl-sym  { font-size: 18px; font-weight: 700; color: #e6e6ea; letter-spacing: 0.5px; }
.wl-bias { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 0.6px; }
.wl-bias.long  { background: #10321f; color: #10b981; border: 1px solid #1d5b3c; }
.wl-bias.short { background: #3a1a1a; color: #ef4444; border: 1px solid #6b2020; }
.wl-conv { font-size: 10px; font-weight: 700; letter-spacing: 0.7px; padding: 3px 8px; border-radius: 10px; }
.wl-conv.HIGH     { background: #14332e; color: #00ffcc; border: 1px solid #1d5b50; }
.wl-conv.MODERATE { background: #2b2b16; color: #d4d466; border: 1px solid #55552a; }
.wl-conv.LOW,
.wl-conv.WATCH    { background: #26262e; color: #9a9aa8; border: 1px solid #3a3a45; }

/* [v2.16.0] Named play + grade on the card head.
   The play token is deliberately NEUTRAL in colour: it says what kind of trade this
   is, not how good it is. The grade badge is the only thing on the head row allowed
   to carry a verdict. */
.wl-play {
    font-size: 10px; font-weight: 600; letter-spacing: 0.4px;
    padding: 3px 8px; border-radius: 10px;
    background: #1e1e26; color: #9aa0b4; border: 1px solid #33333f;
    /* A real <button> from v2.17.0 so it is tappable and keyboard-reachable.
       Reset the UA button styling that would otherwise fight the pill shape. */
    font-family: inherit; cursor: pointer; appearance: none;
    transition: color 0.12s ease, border-color 0.12s ease;
}
.wl-play::after { content: ' ?'; color: #55555f; font-weight: 700; }
/* The pill is ~65x20, well under the ~44px touch minimum, and this is read on a
   phone. Expand the HIT AREA with a positioned pseudo-element rather than padding,
   so the tap target grows without the head row growing with it. */
.wl-play { position: relative; }
.wl-play::before { content: ''; position: absolute; inset: -12px -6px; }
.wl-play:hover, .wl-play:focus-visible { color: #00ffcc; border-color: #1d5b50; }
.wl-play:hover::after, .wl-play:focus-visible::after { color: #00ffcc; }

/* ── Setup guide panel ─────────────────────────────────────────────────────
   Reference reading, not a dashboard widget: generous line-height, one idea per
   block, and the honest evidence status ABOVE the description so a new trader
   sees "untested" before they see a persuasive thesis. */
.sg-loading { color: #7a7a88; font-size: 13px; padding: 20px 0; }
.sg-status {
    display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.6px;
    text-transform: uppercase; padding: 4px 9px; border-radius: 10px; margin-bottom: 14px;
    background: #2b2b16; color: #d4d466; border: 1px solid #55552a;
}
.sg-thesis { font-size: 14px; line-height: 1.65; color: #d4d4dc; margin-bottom: 20px; }
.sg-sect { margin-bottom: 18px; }
.sg-label {
    font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: #00ffcc; margin-bottom: 7px;
}
.sg-sect p { margin: 0; font-size: 13px; line-height: 1.6; color: #b4b4c0; }
.sg-list { margin: 0; padding-left: 18px; }
.sg-list li { font-size: 13px; line-height: 1.6; color: #d4d4dc; margin-bottom: 6px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-chip {
    font-size: 11px; padding: 3px 9px; border-radius: 10px;
    background: #1e1e26; color: #9aa0b4; border: 1px solid #33333f;
}
.sg-evidence, .sg-book { color: #8a8a98 !important; font-size: 12.5px !important; }
.sg-foot {
    margin-top: 22px; padding-top: 14px; border-top: 1px solid #2a2a33;
    font-size: 12px; line-height: 1.6; color: #7a7a88;
}
.wl-grade {
    font-size: 10px; font-weight: 700; letter-spacing: 0.7px;
    padding: 3px 8px; border-radius: 10px; margin-left: auto;
}
/* '+' cannot appear in a class name, so A+ maps to .ap. Before v2.16.0 the renderer
   emitted class="wl-conv A+", which is an invalid selector and matched nothing. */
.wl-grade.ap   { background: #14332e; color: #00ffcc; border: 1px solid #1d5b50; }
.wl-grade.a    { background: #2b2b16; color: #d4d466; border: 1px solid #55552a; }
.wl-grade.none { background: #26262e; color: #9a9aa8; border: 1px solid #3a3a45; }

/* The five A+ checks. Closed, this is ONE line; the card grows by a single row.
   Open, it is the full audit trail of why the pair is on the watchlist. */
.wl-checks { margin-top: 7px; }
.wl-checks > summary {
    display: flex; align-items: center; gap: 7px;
    font-size: 11.5px; color: #7a7a88; cursor: pointer;
    list-style: none; padding: 2px 0;
}
.wl-checks > summary::-webkit-details-marker { display: none; }
.wl-checks > summary::after {
    content: '\25b8'; margin-left: auto; color: #55555f;
    transition: transform 0.15s ease;
}
.wl-checks[open] > summary::after { transform: rotate(90deg); }
.wl-checks > summary:hover { color: #9a9aa8; }
.wl-chk-count { font-weight: 700; font-variant-numeric: tabular-nums; }
.wl-chk-count.full    { color: #00ffcc; }
.wl-chk-count.partial { color: #d4d466; }
.wl-chk-ok   { color: #55555f; }
.wl-chk-miss { color: #b4909a; }
.wl-chk {
    display: flex; gap: 7px; align-items: baseline;
    font-size: 11.5px; line-height: 1.65; padding-left: 2px;
}
.wl-chk-mark { width: 10px; flex: 0 0 10px; }
.wl-chk.ok .wl-chk-mark { color: #10b981; }
.wl-chk.no .wl-chk-mark { color: #ef4444; }
.wl-chk-id { color: #9a9aa8; text-transform: lowercase; min-width: 82px; }
.wl-chk-detail { color: #7a7a88; }

.wl-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 12px; }
@media (max-width: 768px) { .wl-factors { grid-template-columns: 1fr; gap: 10px; } }
.wl-col-title {
    font-size: 10px; font-weight: 700; letter-spacing: 0.8px; margin-bottom: 6px;
}
.wl-col-title.for { color: #10b981; }
.wl-col-title.against { color: #ef4444; }
.wl-factor { margin-bottom: 8px; }
.wl-factor-label { font-size: 12px; font-weight: 600; color: #d4d4dc; }
.wl-factor-detail { font-size: 11px; color: #85859a; line-height: 1.45; margin-top: 2px; }
.wl-measured {
    display: inline-block; margin-top: 3px; font-size: 10px; line-height: 1.45;
    color: #00ffcc; background: #0f2723; border: 1px solid #1a4a42;
    border-radius: 3px; padding: 3px 7px;
}
.wl-cluster {
    background: #3a2f1a; border: 1px solid #6b5620; color: #ffcc00;
    border-radius: 4px; padding: 8px 10px; font-size: 11px; line-height: 1.45; margin-bottom: 10px;
}
.wl-foot {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    border-top: 1px solid #2a2a33; padding-top: 9px; font-size: 11px;
}
.wl-inval { color: #9a9aa8; }
.wl-inval b { color: #d4d4dc; font-variant-numeric: tabular-nums; }
.wl-note { color: #6b6b78; font-size: 10px; line-height: 1.5; margin-top: 8px; font-style: italic; }
.wl-empty { color: #7a7a88; font-size: 13px; padding: 20px 0; }
.wl-tag {
    font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    color: #00ffcc; background: #0f2723; border: 1px solid #1a4a42;
    border-radius: 3px; padding: 1px 5px; margin-left: 6px; vertical-align: middle;
}
.wl-measured b { color: #00ffcc; letter-spacing: 0.6px; }
.wl-measured-caveat {
    display: block; margin-top: 4px; color: #8a9a97; font-style: italic;
}

/* ── [v2.11.1] watchlist: one line per factor, scannable in two seconds ── */
.wl-line { font-size: 13px; line-height: 1.7; color: #d4d4dc; }
.wl-line em { font-style: normal; color: #7a7a88; font-size: 12px; }
.wl-line.pro { color: #d4d4dc; }
.wl-line.con { color: #b4909a; }
.wl-foot { margin-top: 8px; border-top: 1px solid #2a2a33; padding-top: 7px;
           font-size: 12px; color: #7a7a88; }
.wl-foot b { color: #d4d4dc; font-variant-numeric: tabular-nums; }
.wl-why { margin-top: 8px; }
.wl-why summary { cursor: pointer; color: #00ffcc; font-size: 11px; opacity: 0.8; }
.wl-why summary:hover { opacity: 1; }
.wl-why p { font-size: 11px; line-height: 1.6; color: #85859a; margin: 8px 0 0; }

/* ── [v2.12.0] IN PLAY — where the market is moving, before any opinion ── */
.wl-inplay { background: #141419; border: 1px solid #2a2a33; border-radius: 5px;
             padding: 12px 14px; margin-bottom: 16px; }
.wl-inplay-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.wl-inplay-head > span:first-child { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #e6e6ea; }
.wl-theme { font-size: 11px; color: #00ffcc; }
.wl-ip-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.wl-ip-table th { text-align: left; font-size: 9px; font-weight: 600; letter-spacing: 0.6px;
                  color: #6b6b78; text-transform: uppercase; padding: 3px 8px 5px 0; }
.wl-ip-table td { padding: 3px 8px 3px 0; color: #9a9aa8; font-variant-numeric: tabular-nums; }
.wl-ip-sym { color: #e6e6ea !important; font-weight: 600; }
.wl-ip-table td.up { color: #10b981; }
.wl-ip-table td.dn { color: #ef4444; }
.wl-ip-bias { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.wl-ip-bias.long  { background: #10321f; color: #10b981; }
.wl-ip-bias.short { background: #3a1a1a; color: #ef4444; }
.wl-ip-none { color: #4a4a55; }
.wl-ip-note { font-size: 10px; color: #6b6b78; margin-top: 8px; font-style: italic; }
@media (max-width: 768px) { .wl-ip-table { font-size: 11px; } .wl-ip-table th:nth-child(5),
                            .wl-ip-table td:nth-child(5) { display: none; } }
