.fxera-root{
  --fxera-bg:#f5f7f3;--fxera-card:#ffffff;--fxera-ink:#17231f;--fxera-muted:#64716c;--fxera-line:#d9e1dc;
  --fxera-accent:#146b52;--fxera-accent-dark:#0d513e;--fxera-accent-soft:#e6f3ee;--fxera-warm:#f2eadb;--fxera-danger:#a23838;
  --fxera-shadow:0 12px 34px rgba(20,39,32,.08);--fxera-radius:18px;
  position:relative;left:50%;transform:translateX(-50%);width:min(1480px,calc(100vw - 24px));max-width:none!important;
  box-sizing:border-box;margin:24px 0 48px;padding:clamp(14px,2.4vw,30px);background:var(--fxera-bg);color:var(--fxera-ink);
  border:1px solid var(--fxera-line);border-radius:24px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;line-height:1.55;text-align:left;isolation:isolate;
}
.fxera-root *,.fxera-root *::before,.fxera-root *::after{box-sizing:border-box}
.fxera-root h1,.fxera-root h2,.fxera-root p{margin-top:0}.fxera-root h1,.fxera-root h2{color:var(--fxera-ink);font-family:inherit;letter-spacing:-.025em}
.fxera-root h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.02;margin-bottom:14px;max-width:850px}.fxera-root h2{font-size:clamp(1.18rem,2vw,1.55rem);line-height:1.15;margin-bottom:10px}
.fxera-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;padding:clamp(10px,2vw,22px) clamp(4px,1vw,10px) 28px}
.fxera-lead{max-width:820px;color:#45534e;font-size:clamp(1rem,1.6vw,1.16rem);margin-bottom:0}.fxera-kicker,.fxera-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--fxera-accent);font-size:.73rem;margin-bottom:9px}
.fxera-source-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.fxera-source-badges span{white-space:nowrap;border:1px solid #bdd6cb;background:#eef8f4;color:var(--fxera-accent-dark);padding:7px 10px;border-radius:999px;font-size:.78rem;font-weight:750}
.fxera-notice{background:var(--fxera-warm);border:1px solid #dfd0b6;border-radius:14px;padding:12px 15px;margin:0 4px 18px;color:#4d4435}.fxera-notice-soft{margin:18px 0 0;background:#eef4f0;border-color:var(--fxera-line);color:#3f4c47}
.fxera-tabs{display:flex;gap:7px;overflow:auto;padding:4px;margin:0 0 18px;scrollbar-width:thin}.fxera-tabs button,.fxera-window-group button{appearance:none;border:1px solid var(--fxera-line);background:#fff;color:#36443e;border-radius:999px;padding:9px 13px;font:700 .84rem/1 inherit;white-space:nowrap;cursor:pointer}.fxera-tabs button:hover,.fxera-window-group button:hover{border-color:#9db7ac}.fxera-tabs button.is-active,.fxera-window-group button.is-active{background:var(--fxera-ink);border-color:var(--fxera-ink);color:#fff}
.fxera-panel{display:none}.fxera-panel.is-active{display:block}.fxera-grid{display:grid;gap:18px}.fxera-grid-2{grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr)}.fxera-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.fxera-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.fxera-card{background:var(--fxera-card);border:1px solid var(--fxera-line);border-radius:var(--fxera-radius);padding:clamp(17px,2.2vw,28px);box-shadow:var(--fxera-shadow);min-width:0}.fxera-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.fxera-card-head h2{margin-bottom:0}.fxera-muted{color:var(--fxera-muted)}.fxera-footnote{color:var(--fxera-muted);font-size:.82rem;margin:13px 0 0}
.fxera-root label{display:flex;flex-direction:column;gap:6px;color:#42504b;font-weight:700;font-size:.82rem;margin:0}.fxera-root small{font-weight:500;color:var(--fxera-muted)}
.fxera-root input,.fxera-root select,.fxera-root textarea{width:100%;min-height:44px;border:1px solid #cbd6d1!important;border-radius:10px!important;background:#fff!important;color:var(--fxera-ink)!important;padding:9px 11px!important;font:600 .93rem/1.25 inherit!important;box-shadow:none!important;margin:0!important}.fxera-root input:focus,.fxera-root select:focus,.fxera-root textarea:focus{outline:3px solid rgba(20,107,82,.14)!important;border-color:var(--fxera-accent)!important}
.fxera-compact-field{min-width:190px}.fxera-search-field{min-width:min(280px,100%)}
.fxera-convert-row{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(180px,1.2fr) 42px minmax(180px,1.2fr);align-items:end;gap:10px;margin-bottom:14px}.fxera-swap{height:44px;width:42px;border:1px solid var(--fxera-line);border-radius:10px;background:#f6f8f6;color:var(--fxera-ink);font-size:1.25rem;cursor:pointer}.fxera-swap:hover{background:var(--fxera-accent-soft)}
.fxera-primary,.fxera-secondary{appearance:none;border-radius:10px;padding:11px 16px;font:800 .9rem/1 inherit;cursor:pointer;min-height:44px}.fxera-primary{border:1px solid var(--fxera-accent);background:var(--fxera-accent);color:#fff}.fxera-primary:hover{background:var(--fxera-accent-dark);border-color:var(--fxera-accent-dark)}.fxera-secondary{border:1px solid #a8b9b1;background:#fff;color:var(--fxera-ink)}.fxera-small{min-height:40px;padding:9px 13px}.fxera-primary:disabled,.fxera-secondary:disabled{opacity:.55;cursor:wait}
.fxera-status{min-height:22px;margin-top:10px;font-size:.84rem;color:var(--fxera-muted)}.fxera-status.is-error{color:var(--fxera-danger);font-weight:700}.fxera-status.is-loading{color:var(--fxera-accent)}.fxera-status.is-success{color:var(--fxera-accent-dark)}
.fxera-result{margin-top:10px;padding:18px;border-radius:14px;background:linear-gradient(135deg,#eef8f4,#f8fbf9);border:1px solid #cbe1d7}.fxera-result-main{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:850;line-height:1.05;margin-bottom:10px}.fxera-result-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:#3f514a;font-size:.9rem}.fxera-source-line{border-top:1px solid #d4e5dd;margin-top:12px;padding-top:10px;display:flex;gap:8px 16px;flex-wrap:wrap;font-size:.8rem;color:var(--fxera-muted)}
.fxera-market-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fxera-market-item{border:1px solid var(--fxera-line);background:#fafcfb;border-radius:12px;padding:12px}.fxera-market-item span{font-size:.78rem;color:var(--fxera-muted);font-weight:800}.fxera-market-item strong{display:block;font-size:1.3rem;line-height:1.2;margin:3px 0}.fxera-market-item small{font-size:.72rem}.fxera-board-meta{grid-column:1/-1;margin:2px 0 0;color:var(--fxera-muted);font-size:.78rem}.fxera-skeleton{height:66px;border-radius:12px;background:linear-gradient(90deg,#edf1ee,#f7f9f7,#edf1ee);background-size:200% 100%;animation:fxeraPulse 1.1s infinite}@keyframes fxeraPulse{to{background-position:-200% 0}}
.fxera-history-head{align-items:flex-end}.fxera-history-controls{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:9px}.fxera-history-controls label{min-width:142px}.fxera-window-group{display:flex;gap:5px}.fxera-chart-wrap{position:relative;margin-top:6px;min-height:280px;border:1px solid var(--fxera-line);border-radius:14px;background:#fbfcfb;padding:12px;overflow:hidden}.fxera-chart-wrap canvas{display:block;width:100%;max-width:100%}.fxera-chart-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--fxera-muted);padding:20px;text-align:center}
.fxera-analytics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:12px}.fxera-analytics-grid>div{border:1px solid var(--fxera-line);border-radius:12px;padding:11px;background:#fbfcfb}.fxera-analytics-grid span{display:block;color:var(--fxera-muted);font-size:.72rem;font-weight:700}.fxera-analytics-grid strong{display:block;margin-top:3px;font-size:1.03rem}
.fxera-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fxera-action-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.fxera-accounting-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}.fxera-accounting-result>div{padding:12px;border-radius:12px;background:#f7f9f7;border:1px solid var(--fxera-line)}.fxera-accounting-result span{display:block;color:var(--fxera-muted);font-size:.75rem}.fxera-accounting-result strong{display:block;margin-top:3px;font-size:1.08rem}.fxera-accounting-result .is-positive{color:#176348}.fxera-accounting-result .is-negative{color:#a23838}
.fxera-singapore-board{grid-template-columns:repeat(3,minmax(0,1fr))}.fxera-key-rate{padding:18px;border-radius:15px;background:linear-gradient(135deg,#eef8f4,#f7fbf9);border:1px solid #cbe1d7;margin:14px 0}.fxera-key-rate span,.fxera-key-rate small{display:block;color:var(--fxera-muted);font-size:.78rem}.fxera-key-rate strong{display:block;font-size:clamp(1.7rem,3.4vw,2.55rem);line-height:1.05;margin:6px 0;color:var(--fxera-ink)}.fxera-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fxera-mini-stats>div{border:1px solid var(--fxera-line);background:#fbfcfb;border-radius:12px;padding:11px}.fxera-mini-stats span{display:block;color:var(--fxera-muted);font-size:.72rem;font-weight:700}.fxera-mini-stats strong{display:block;margin-top:3px;font-size:1.02rem}.fxera-sg-chart-card{margin-top:18px}.fxera-sg-focus{background:linear-gradient(180deg,#fff,#fbfdfc)}
.fxera-range-label{margin-top:18px!important}.fxera-root input[type="range"]{padding:0!important;border:0!important;accent-color:var(--fxera-accent);min-height:34px}.fxera-sensitivity-table{margin-top:13px;overflow:auto}.fxera-sensitivity-table table{width:100%;border-collapse:collapse;font-size:.84rem}.fxera-sensitivity-table th,.fxera-sensitivity-table td{padding:9px;border-bottom:1px solid var(--fxera-line);text-align:right}.fxera-sensitivity-table th:first-child,.fxera-sensitivity-table td:first-child{text-align:left}
.fxera-table-wrap{overflow:auto;max-height:620px;border:1px solid var(--fxera-line);border-radius:13px}.fxera-table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0;font-size:.86rem}.fxera-table th{position:sticky;top:0;z-index:1;background:#eef3f0;color:#34443d;text-align:left;padding:10px 12px;border-bottom:1px solid var(--fxera-line)}.fxera-table td{padding:9px 12px;border-bottom:1px solid #edf1ef}.fxera-table tbody tr:nth-child(even){background:#fbfcfb}.fxera-source-card p:last-child{margin-bottom:0}
@media(max-width:1050px){.fxera-grid-2{grid-template-columns:1fr}.fxera-grid-3,.fxera-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-analytics-grid{grid-template-columns:repeat(3,1fr)}.fxera-card-head.fxera-history-head{display:block}.fxera-history-controls{justify-content:flex-start;margin-top:14px}}
@media(max-width:760px){.fxera-grid-3,.fxera-grid-4{grid-template-columns:1fr}.fxera-root{width:calc(100vw - 12px);padding:11px;border-radius:18px;margin-top:10px}.fxera-hero{display:block;padding:8px 4px 18px}.fxera-source-badges{justify-content:flex-start;margin-top:15px}.fxera-card{padding:16px;border-radius:15px}.fxera-card-head{display:block}.fxera-compact-field,.fxera-search-field{margin-top:12px!important;min-width:0}.fxera-convert-row{grid-template-columns:1fr 1fr;gap:9px}.fxera-convert-row label:first-child{grid-column:1/-1}.fxera-swap{grid-row:3;grid-column:1/-1;width:100%;height:38px}.fxera-market-board,.fxera-singapore-board{grid-template-columns:repeat(2,1fr)}.fxera-history-controls{display:grid;grid-template-columns:1fr 1fr;width:100%}.fxera-history-controls label{min-width:0}.fxera-window-group{grid-column:1/-1;overflow:auto}.fxera-history-controls>.fxera-primary{grid-column:1/-1}.fxera-analytics-grid{grid-template-columns:repeat(2,1fr)}.fxera-form-grid,.fxera-accounting-result{grid-template-columns:1fr}.fxera-tabs{margin-inline:-4px}.fxera-tabs button{padding:9px 11px}.fxera-chart-wrap{padding:5px}}
@media(max-width:430px){.fxera-mini-stats{grid-template-columns:1fr}.fxera-convert-row{grid-template-columns:1fr}.fxera-convert-row label:first-child,.fxera-swap{grid-column:1}.fxera-swap{grid-row:auto}.fxera-market-board{grid-template-columns:1fr}.fxera-analytics-grid{grid-template-columns:1fr 1fr}.fxera-history-controls{grid-template-columns:1fr}.fxera-history-controls label,.fxera-window-group,.fxera-history-controls>.fxera-primary{grid-column:1}.fxera-window-group button{flex:1}.fxera-result-meta,.fxera-source-line{display:block}.fxera-source-line span{display:block;margin-top:4px}}
@media(prefers-reduced-motion:reduce){.fxera-root *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* v0.3.0 advanced analytics */
.fxera-root{--fxera-accent-2:#87692b;--fxera-accent-3:#4a6072}
.fxera-advanced-row,.fxera-chart-grid,.fxera-accounting-advanced,.fxera-heatmap-card{margin-top:18px}
.fxera-regime-card{background:linear-gradient(145deg,#ffffff,#f7fbf8)}
.fxera-regime-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.fxera-regime-badges span{border:1px solid #c8d9d1;background:#f3f8f5;color:#31483f;border-radius:999px;padding:7px 10px;font-size:.76rem;font-weight:800}
.fxera-advanced-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fxera-advanced-stats>div{border:1px solid var(--fxera-line);background:#fbfcfb;border-radius:11px;padding:10px}.fxera-advanced-stats span{display:block;color:var(--fxera-muted);font-size:.69rem;font-weight:750;line-height:1.3}.fxera-advanced-stats strong{display:block;margin-top:4px;font-size:.95rem;overflow-wrap:anywhere}
.fxera-chart-card-small{padding:18px}.fxera-chart-wrap-small{min-height:235px}.fxera-chart-wrap-small canvas{min-height:220px}.fxera-chart-grid h2{font-size:1.12rem}
.fxera-heatmap-wrap{overflow:auto;border:1px solid var(--fxera-line);border-radius:13px}.fxera-heatmap{border-collapse:separate;border-spacing:0;width:100%;min-width:1020px;font-size:.76rem}.fxera-heatmap th,.fxera-heatmap td{padding:8px 7px;border-right:1px solid #edf1ef;border-bottom:1px solid #edf1ef;text-align:center;white-space:nowrap}.fxera-heatmap th{background:#eef3f0;color:#3b4944;font-weight:800}.fxera-heatmap td{background:#fafcfb;color:#37453f}.fxera-heatmap .is-pos-1{background:#edf7f2}.fxera-heatmap .is-pos-2{background:#d8eee4}.fxera-heatmap .is-pos-3{background:#bee1d1;color:#173e30;font-weight:800}.fxera-heatmap .is-neg-1{background:#fbefef}.fxera-heatmap .is-neg-2{background:#f5dddd}.fxera-heatmap .is-neg-3{background:#ecc5c5;color:#6d2525;font-weight:800}.fxera-heatmap .is-flat{background:#f2f3f2}
.fxera-compare-controls{display:grid;grid-template-columns:repeat(3,minmax(135px,1fr));gap:9px;min-width:min(700px,100%);align-items:end}.fxera-compare-controls .fxera-primary{align-self:end}.fxera-compare-chart-wrap{min-height:320px}.fxera-compare-table-wrap{margin-top:14px;max-height:420px}.fxera-compare-table{min-width:860px}
.fxera-portfolio-rows{display:grid;gap:8px;margin-bottom:14px}.fxera-portfolio-row{display:grid;grid-template-columns:minmax(170px,.9fr) minmax(180px,1.1fr);gap:9px;padding:9px;border:1px solid var(--fxera-line);border-radius:12px;background:#fbfcfb}.fxera-portfolio-chart-wrap{margin-top:15px}.fxera-portfolio-detail{margin-top:13px;max-height:360px}.fxera-portfolio-detail:empty{display:none}.fxera-portfolio-detail .fxera-table{min-width:760px}.fxera-portfolio-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.fxera-accounting-advanced>.fxera-card{min-height:100%}
.fxera-accounting-result strong.is-positive{color:#176348}.fxera-accounting-result strong.is-negative{color:#a23838}
@media(max-width:1200px){.fxera-advanced-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.fxera-chart-grid{grid-template-columns:1fr 1fr}.fxera-chart-grid>.fxera-card:last-child{grid-column:1/-1}.fxera-portfolio-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.fxera-compare-controls{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%;margin-top:14px}.fxera-advanced-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.fxera-chart-grid{grid-template-columns:1fr}.fxera-chart-grid>.fxera-card:last-child{grid-column:auto}.fxera-compare-controls{grid-template-columns:1fr 1fr}.fxera-portfolio-row{grid-template-columns:1fr 1fr}.fxera-portfolio-summary{grid-template-columns:1fr 1fr}.fxera-heatmap-card{padding-inline:12px}}
@media(max-width:430px){.fxera-advanced-stats{grid-template-columns:1fr 1fr}.fxera-compare-controls,.fxera-portfolio-row,.fxera-portfolio-summary{grid-template-columns:1fr}.fxera-chart-card-small{padding:13px}.fxera-chart-wrap-small{min-height:220px}}
.fxera-correlation-row{margin-top:16px}.fxera-subcard{border:1px solid var(--fxera-line);border-radius:14px;background:#fbfcfb;padding:16px}.fxera-subcard h3{margin:0 0 8px;color:var(--fxera-ink);font-size:1rem}.fxera-correlation-wrap{overflow:auto}.fxera-correlation-table{border-collapse:separate;border-spacing:0;width:100%;min-width:620px;font-size:.78rem}.fxera-correlation-table th,.fxera-correlation-table td{padding:8px;border-right:1px solid #edf1ef;border-bottom:1px solid #edf1ef;text-align:center;white-space:nowrap}.fxera-correlation-table th{background:#eef3f0;color:#394742}.fxera-correlation-table .is-pos-1{background:#edf7f2}.fxera-correlation-table .is-pos-2{background:#d8eee4}.fxera-correlation-table .is-pos-3{background:#bee1d1;font-weight:800}.fxera-correlation-table .is-neg-1{background:#fbefef}.fxera-correlation-table .is-neg-2{background:#f5dddd}.fxera-correlation-table .is-neg-3{background:#ecc5c5;font-weight:800}

.fxera-benchmark-card{margin-top:18px}.fxera-benchmark-grid{margin-top:14px}.fxera-benchmark-grid .fxera-metric{min-width:0}.fxera-benchmark-grid .fxera-metric strong{font-size:.95rem;overflow-wrap:anywhere}.fxera-benchmark-card .fxera-footnote{margin-top:12px}

/* v0.5.0 multi-source verification */
.fxera-source-check-card{margin-top:18px}.fxera-source-check-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:4px 0 14px}.fxera-source-check-summary>div{border:1px solid var(--fxera-line);border-radius:12px;background:#fbfcfb;padding:11px}.fxera-source-check-summary span{display:block;color:var(--fxera-muted);font-size:.72rem;font-weight:750}.fxera-source-check-summary strong{display:block;margin-top:4px;font-size:1.03rem}.fxera-source-check-table{min-width:840px}.fxera-source-check-table td:nth-child(2),.fxera-source-check-table td:nth-child(4){font-variant-numeric:tabular-nums}
@media(max-width:900px){.fxera-source-check-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.fxera-source-check-summary{grid-template-columns:1fr 1fr}}

/* v0.6.0 verification, calendar and accounting-period tools */
.fxera-source-check-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
.fxera-source-actions{justify-content:flex-end;flex-wrap:wrap;margin:0}
.fxera-source-spread{margin-top:18px;padding-top:16px;border-top:1px solid var(--fxera-line)}
.fxera-source-spread-summary{margin-bottom:12px}
.fxera-source-spread-ranking{margin-top:12px;max-height:330px}
.fxera-source-spread-ranking .fxera-table{min-width:720px}
.fxera-calendar-review{margin-top:16px}
.fxera-calendar-table{max-height:420px}.fxera-calendar-table .fxera-table{min-width:420px}
.fxera-compact-table{font-size:.8rem}.fxera-compact-table th,.fxera-compact-table td{padding:8px 10px}
.fxera-rolling-corr-card{margin-top:16px;background:linear-gradient(145deg,#fff,#fafcfb)}
.fxera-rolling-corr-summary{margin:12px 0}
.fxera-historical-tools{margin-top:18px}
.fxera-period-result{margin-top:14px}
.fxera-history-controls #fxera-export-history,.fxera-compare-controls #fxera-export-compare{white-space:nowrap}
.fxera-root button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1200px){.fxera-source-check-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.fxera-source-actions{justify-content:flex-start;margin-top:12px}.fxera-source-check-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-rolling-corr-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.fxera-calendar-review{grid-template-columns:1fr}.fxera-source-spread-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-history-controls #fxera-export-history{grid-column:1/-1}.fxera-historical-tools{grid-template-columns:1fr}}
@media(max-width:430px){.fxera-source-actions{display:grid;grid-template-columns:1fr;width:100%}.fxera-source-actions button{width:100%}.fxera-source-check-summary,.fxera-source-spread-summary,.fxera-rolling-corr-summary{grid-template-columns:1fr 1fr}}

/* v0.6.0 relative-strength breadth */
.fxera-root .fxera-strength-card { margin: 16px 0; }
.fxera-root .fxera-strength-summary { margin-top: 12px; }
.fxera-root .fxera-strength-summary .fxera-metric strong { overflow-wrap: anywhere; }

/* v0.7.0 NBP bid/ask spread intelligence */
.fxera-nbp-hero{background:linear-gradient(145deg,#fff,#fbfcfb)}
.fxera-nbp-controls{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:9px;min-width:min(720px,100%);align-items:end}
.fxera-nbp-controls .fxera-primary{align-self:end}
.fxera-nbp-stats{margin-top:8px;grid-template-columns:repeat(4,minmax(0,1fr))}
.fxera-nbp-charts,.fxera-nbp-tools{margin-top:18px}
.fxera-nbp-board .fxera-table{min-width:620px}
.fxera-nbp-note{margin-top:16px!important;padding:12px 14px;border:1px solid var(--fxera-line);border-radius:12px;background:#f7f9f7}
#fxera-nbp-cost-result{margin-top:14px}
@media(max-width:1100px){.fxera-nbp-controls{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%}.fxera-nbp-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.fxera-nbp-controls{grid-template-columns:1fr 1fr}.fxera-nbp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-nbp-charts,.fxera-nbp-tools{grid-template-columns:1fr}}
@media(max-width:430px){.fxera-nbp-controls,.fxera-nbp-stats{grid-template-columns:1fr}.fxera-nbp-controls .fxera-primary{width:100%}}

/* v0.8.0 multi-horizon risk lab and translation bridge */
.fxera-risk-summary{margin-top:14px}
.fxera-risk-summary .fxera-metric{border:1px solid var(--fxera-line);background:#fbfcfb;border-radius:12px;padding:11px;min-width:0}
.fxera-risk-summary .fxera-metric span{display:block;color:var(--fxera-muted);font-size:.72rem;font-weight:750;line-height:1.3}
.fxera-risk-summary .fxera-metric strong{display:block;margin-top:4px;font-size:.98rem;overflow-wrap:anywhere}
.fxera-risk-row{margin-top:18px}
.fxera-risk-impact{margin-top:14px;max-height:430px}
.fxera-risk-impact .fxera-table{min-width:680px}
.fxera-risk-chart-card{margin-top:18px;background:linear-gradient(145deg,#fff,#fbfdfc)}
.fxera-translation-bridge{margin-top:18px;background:linear-gradient(145deg,#ffffff,#f8fbf9)}
@media(max-width:1100px){.fxera-risk-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.fxera-risk-row{grid-template-columns:1fr}.fxera-risk-summary{grid-template-columns:1fr 1fr}.fxera-translation-bridge .fxera-form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.fxera-risk-summary,.fxera-translation-bridge .fxera-form-grid{grid-template-columns:1fr}.fxera-risk-impact{max-height:360px}}

/* v0.9.0 dealing-corridor and BNM session intelligence */
.fxera-inline-fields{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.fxera-inline-fields .fxera-compact-field{min-width:190px}
.fxera-dealing-result{margin-top:14px;padding:16px;border:1px solid #d8c69f;border-radius:14px;background:linear-gradient(135deg,#fffaf0,#fbfcf8)}
.fxera-dealing-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.fxera-dealing-head h3{margin:0;color:var(--fxera-ink);font-size:1.05rem}.fxera-dealing-date{color:var(--fxera-muted);font-size:.76rem;text-align:right;max-width:46%}
.fxera-dealing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}.fxera-dealing-grid>div{border:1px solid #e4d9be;background:rgba(255,255,255,.8);border-radius:12px;padding:11px}.fxera-dealing-grid span{display:block;color:#665b45;font-size:.72rem;font-weight:750;line-height:1.3}.fxera-dealing-grid strong{display:block;margin-top:4px;font-size:1rem;overflow-wrap:anywhere}.fxera-dealing-grid small{display:block;margin-top:4px;font-size:.69rem;line-height:1.35}
.fxera-bnm-session-card{margin-top:18px}.fxera-bnm-session-card .fxera-source-check-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.fxera-bnm-session-card .fxera-table{min-width:880px}
.fxera-nbp-controls{grid-template-columns:repeat(6,minmax(120px,1fr))}
@media(max-width:1200px){.fxera-dealing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-nbp-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.fxera-inline-fields{width:100%;justify-content:flex-start}.fxera-inline-fields .fxera-compact-field{min-width:0;flex:1 1 180px}.fxera-dealing-head{flex-direction:column}.fxera-dealing-date{max-width:none;text-align:left}.fxera-dealing-grid{grid-template-columns:1fr 1fr}.fxera-nbp-controls{grid-template-columns:1fr 1fr}.fxera-bnm-session-card .fxera-source-check-summary{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.fxera-dealing-grid,.fxera-bnm-session-card .fxera-source-check-summary,.fxera-nbp-controls{grid-template-columns:1fr}}
.fxera-bnm-session-controls{display:flex;gap:9px;align-items:flex-end;flex-wrap:wrap}.fxera-bnm-session-controls label{min-width:150px}.fxera-bnm-session-controls button{white-space:nowrap}
@media(max-width:760px){.fxera-bnm-session-controls{width:100%;display:grid;grid-template-columns:1fr 1fr}.fxera-bnm-session-controls button{grid-column:1/-1}}
@media(max-width:430px){.fxera-bnm-session-controls{grid-template-columns:1fr}}

/* v0.10.0 market pulse + source-health diagnostics */
.fxera-source-check-summary{grid-template-columns:repeat(6,minmax(0,1fr))}
.fxera-source-check-table{min-width:940px}
.fxera-source-check-table td:nth-child(2),.fxera-source-check-table td:nth-child(5){font-variant-numeric:tabular-nums}
.fxera-health-badge{display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:4px 8px;border-radius:999px;border:1px solid var(--fxera-line);font-size:.69rem;font-weight:800;line-height:1.1;white-space:nowrap;background:#f3f6f4;color:#45534d}
.fxera-health-badge.is-current{background:#eaf5ef;color:#245640;border-color:#cde6d8}
.fxera-health-badge.is-recent{background:#f1f5e8;color:#4f5d2b;border-color:#dde7c9}
.fxera-health-badge.is-aging{background:#fbf3df;color:#735b23;border-color:#ecdfb8}
.fxera-health-badge.is-stale{background:#faeaea;color:#7a3333;border-color:#edcccc}
.fxera-health-badge.is-context,.fxera-health-badge.is-unknown{background:#f1f3f5;color:#58616a;border-color:#dfe3e6}
.fxera-pulse-controls{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(320px,2fr) auto auto;gap:9px;min-width:min(860px,100%);align-items:end}
.fxera-pulse-controls label{min-width:0}.fxera-pulse-currencies-field input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.01em}
.fxera-pulse-summary{margin:8px 0 16px}.fxera-pulse-chart-wrap{min-height:330px}.fxera-pulse-table-wrap{margin-top:14px;max-height:480px}.fxera-pulse-table{min-width:1080px}
.fxera-pulse-lower{margin-top:16px;align-items:start}.fxera-cross-matrix-wrap{overflow:auto;max-height:520px;border:1px solid var(--fxera-line);border-radius:12px;background:var(--fxera-card)}
.fxera-cross-matrix{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:.75rem;font-variant-numeric:tabular-nums}.fxera-cross-matrix th,.fxera-cross-matrix td{padding:7px 9px;border-right:1px solid #edf1ef;border-bottom:1px solid #edf1ef;text-align:right;white-space:nowrap}.fxera-cross-matrix th{position:sticky;background:#eef3f0;color:#34443d;font-weight:800;z-index:1}.fxera-cross-matrix thead th{top:0}.fxera-cross-matrix tbody th{left:0;text-align:left;z-index:2}.fxera-cross-matrix thead th:first-child{left:0;z-index:3}.fxera-cross-matrix td.is-identity{background:#f6f8f7;font-weight:800;color:var(--fxera-muted)}
.fxera-triangle-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;align-items:end}.fxera-triangle-controls button{grid-column:1/-1;justify-self:start}.fxera-triangle-summary{margin-top:10px}.fxera-triangle-legs{margin-top:10px;max-height:250px}.fxera-triangle-legs .fxera-table{min-width:560px}
@media(max-width:1200px){.fxera-source-check-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.fxera-pulse-controls{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%;margin-top:14px}.fxera-pulse-controls .fxera-pulse-currencies-field{grid-column:1/-1}}
@media(max-width:900px){.fxera-source-check-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-pulse-lower{grid-template-columns:1fr}.fxera-pulse-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fxera-pulse-controls{grid-template-columns:1fr}.fxera-pulse-controls .fxera-pulse-currencies-field{grid-column:auto}.fxera-pulse-controls button{width:100%}.fxera-triangle-controls{grid-template-columns:1fr 1fr}.fxera-triangle-controls button{grid-column:1/-1;width:100%}.fxera-pulse-summary{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.fxera-source-check-summary,.fxera-pulse-summary{grid-template-columns:1fr}.fxera-triangle-controls{grid-template-columns:1fr}.fxera-cross-matrix{font-size:.7rem}.fxera-cross-matrix th,.fxera-cross-matrix td{padding:6px 7px}}

/* v0.11.0 resilient BNM open-data transport + spread diagnostics */
.fxera-root .fxera-spread-diagnostics-card { margin-top: 18px; }
.fxera-root .fxera-spread-diagnostic-grid .fxera-metric strong {
  overflow-wrap: anywhere;
  word-break: normal;
}
.fxera-root .fxera-spread-diagnostic-grid .fxera-metric span { min-height: 1.4em; }

/* v0.12.0 statistical reference bands, accounting-period profile, and mobile navigation polish */
.fxera-tabs{scroll-snap-type:x proximity;scroll-padding-inline:12px;-webkit-overflow-scrolling:touch}
.fxera-tabs button{scroll-snap-align:center}
.fxera-tabs::-webkit-scrollbar{height:5px}
.fxera-band-card{margin-top:18px;background:linear-gradient(145deg,#fff,#fbfdfc)}
.fxera-band-summary{margin:10px 0 14px}
.fxera-band-summary .fxera-metric{border:1px solid var(--fxera-line);background:#fbfcfb;border-radius:12px;padding:11px;min-width:0}
.fxera-band-summary .fxera-metric span{display:block;color:var(--fxera-muted);font-size:.72rem;font-weight:750;line-height:1.3}
.fxera-band-summary .fxera-metric strong{display:block;margin-top:4px;font-size:.98rem;overflow-wrap:anywhere}
.fxera-band-chart-wrap{min-height:300px;margin-top:14px}
.fxera-anomaly-row{margin-top:16px;align-items:start}
.fxera-anomaly-table{max-height:360px}
.fxera-anomaly-table .fxera-table{min-width:610px}
.fxera-period-monthly-profile{margin-top:14px;max-height:430px}
.fxera-period-monthly-profile .fxera-table{min-width:820px}
@media(max-width:900px){.fxera-band-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-anomaly-row{grid-template-columns:1fr}}
@media(max-width:600px){.fxera-tabs{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:18px}.fxera-tabs button{padding:10px 13px}.fxera-band-summary{grid-template-columns:1fr 1fr}.fxera-band-chart-wrap{min-height:250px}.fxera-period-result{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.fxera-band-summary,.fxera-period-result{grid-template-columns:1fr}.fxera-anomaly-table{max-height:320px}}

.fxera-subsection{margin-top:18px;padding-top:18px;border-top:1px solid var(--fxera-line)}
.fxera-portfolio-risk-detail{margin-top:14px}.fxera-portfolio-risk-detail .fxera-table-wrap{max-height:360px}
.fxera-source-health-card{margin-bottom:18px}.fxera-source-health-card .fxera-table-wrap{margin-top:14px;max-height:520px}
.fxera-health-chip{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:.76rem;font-weight:800;white-space:nowrap}
.fxera-health-good{background:#e5f3ed;color:#155b45}.fxera-health-warn{background:#fff3d9;color:#7a5700}.fxera-health-bad{background:#fde8e8;color:#963c3c}
@media(max-width:720px){.fxera-portfolio-risk-detail{grid-template-columns:1fr}.fxera-source-health-card .fxera-card-head{align-items:stretch}.fxera-source-health-card .fxera-card-head button{width:100%}}

/* v0.14.0 portfolio risk decomposition and hedge simulation */
.fxera-port-risk-controls{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end;align-items:flex-end}
.fxera-port-risk-controls .fxera-compact-field{min-width:150px}
.fxera-port-hedge-result{margin-top:14px;grid-template-columns:repeat(4,minmax(0,1fr))}
.fxera-portfolio-risk-detail .fxera-table{min-width:760px}
.fxera-portfolio-risk-detail>div{min-width:0}
@media(max-width:1050px){.fxera-port-risk-controls{justify-content:flex-start;margin-top:12px}.fxera-port-hedge-result{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fxera-port-risk-controls{display:grid;grid-template-columns:1fr 1fr;width:100%}.fxera-port-risk-controls .fxera-compact-field:first-child{grid-column:1/-1}.fxera-port-risk-controls .fxera-compact-field{min-width:0;margin-top:0!important}.fxera-port-hedge-result{grid-template-columns:1fr}.fxera-portfolio-risk-lab .fxera-action-row{display:grid;grid-template-columns:1fr}.fxera-portfolio-risk-lab .fxera-action-row button{width:100%}}

/* v0.16.0 trader research lab + expanded official source network */
.fxera-trader-card{background:linear-gradient(145deg,#fff,#fafcfb)}
.fxera-trader-controls{grid-template-columns:repeat(3,minmax(130px,1fr));min-width:min(840px,100%)}
.fxera-trader-summary{margin:12px 0 16px;grid-template-columns:repeat(4,minmax(0,1fr))}
.fxera-trader-charts,.fxera-trader-lower{margin-top:18px;align-items:start}
.fxera-trader-charts .fxera-subcard,.fxera-trader-lower .fxera-subcard{min-width:0}
#fxera-trader-yearly{max-height:390px}
#fxera-trader-yearly .fxera-table{min-width:360px}
@media(max-width:1100px){.fxera-trader-controls{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%;margin-top:14px}.fxera-trader-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.fxera-trader-controls{grid-template-columns:1fr 1fr}.fxera-trader-controls button{grid-column:1/-1;width:100%}.fxera-trader-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-trader-charts,.fxera-trader-lower{grid-template-columns:1fr}}
@media(max-width:430px){.fxera-trader-controls,.fxera-trader-summary{grid-template-columns:1fr}.fxera-trader-controls button{grid-column:auto}}


/* v0.17.0 bank-data expansion, regime diagnostics, and audit-ready transaction workpaper */
.fxera-root textarea{resize:vertical;min-height:138px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-weight:600!important;line-height:1.45!important}
.fxera-workpaper-card{margin-top:18px;background:linear-gradient(145deg,#fff,#fbfdfc)}
.fxera-workpaper-card .fxera-form-grid{align-items:end}
.fxera-workpaper-input{display:block;margin-top:13px}
.fxera-workpaper-input small{display:block;margin:4px 0 7px;color:var(--fxera-muted);font-size:.76rem;font-weight:700}
.fxera-workpaper-summary{margin:14px 0;grid-template-columns:repeat(4,minmax(0,1fr))}
.fxera-workpaper-table{margin-top:12px;max-height:460px}
.fxera-workpaper-table .fxera-table{min-width:760px}
.fxera-trader-calendar{margin-top:18px;align-items:start}
.fxera-trader-calendar .fxera-subcard{min-width:0}
#fxera-trader-weekday,#fxera-trader-monthly{max-height:420px}
#fxera-trader-monthly .fxera-table{min-width:650px}
.fxera-portfolio-risk-detail .fxera-table{min-width:980px}
@media(max-width:1000px){.fxera-workpaper-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-trader-calendar{grid-template-columns:1fr}}
@media(max-width:600px){.fxera-workpaper-summary{grid-template-columns:1fr 1fr}.fxera-workpaper-card .fxera-action-row{display:grid;grid-template-columns:1fr}.fxera-workpaper-card .fxera-action-row button{width:100%}}
@media(max-width:430px){.fxera-workpaper-summary{grid-template-columns:1fr}.fxera-root textarea{min-height:155px}}

/* v0.18.0 progressive analytical-depth panels */
.fxera-root .fxera-depth-card{margin-top:18px}
.fxera-root details.fxera-card,.fxera-root details.fxera-subcard{overflow:hidden}
.fxera-root details.fxera-card>summary,.fxera-root details.fxera-subcard>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:2px 0;font-weight:700;color:var(--fxera-ink)}
.fxera-root details.fxera-card>summary::-webkit-details-marker,.fxera-root details.fxera-subcard>summary::-webkit-details-marker{display:none}
.fxera-root details.fxera-card>summary span,.fxera-root details.fxera-subcard>summary span{display:grid;gap:3px;min-width:0}
.fxera-root details.fxera-card>summary small,.fxera-root details.fxera-subcard>summary small{font-weight:500;color:var(--fxera-muted);line-height:1.4}
.fxera-root details.fxera-card>summary:after,.fxera-root details.fxera-subcard>summary:after{content:'+';display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--fxera-line);border-radius:999px;flex:0 0 30px;font-size:20px;line-height:1}
.fxera-root details[open].fxera-card>summary:after,.fxera-root details[open].fxera-subcard>summary:after{content:'–'}
.fxera-root .fxera-depth-grid,.fxera-root .fxera-trader-depth .fxera-grid,.fxera-root .fxera-port-risk-depth .fxera-grid,.fxera-root .fxera-pulse-depth .fxera-grid{margin-top:16px}
.fxera-root .fxera-trader-depth,.fxera-root .fxera-port-risk-depth,.fxera-root .fxera-pulse-depth{margin-top:14px}
.fxera-root .fxera-trader-deep-tables{margin-top:14px}
@media(max-width:760px){.fxera-root .fxera-depth-grid,.fxera-root .fxera-trader-depth .fxera-grid,.fxera-root .fxera-port-risk-depth .fxera-grid,.fxera-root .fxera-pulse-depth .fxera-grid{grid-template-columns:1fr 1fr}.fxera-root details.fxera-card>summary small,.fxera-root details.fxera-subcard>summary small{font-size:12px}}
@media(max-width:430px){.fxera-root .fxera-depth-grid,.fxera-root .fxera-trader-depth .fxera-grid,.fxera-root .fxera-port-risk-depth .fxera-grid,.fxera-root .fxera-pulse-depth .fxera-grid{grid-template-columns:1fr}}


/* v0.20.0 technical workstation, strategy replay, screener and trader utilities */
.fxera-root .fxera-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.fxera-technical-card,.fxera-strategy-card,.fxera-screener-card{background:linear-gradient(145deg,#fff,#fbfdfc)}
.fxera-technical-controls{grid-template-columns:repeat(3,minmax(130px,1fr));min-width:min(780px,100%)}
.fxera-mini-metrics{gap:10px}
.fxera-mini-metrics .fxera-metric{padding:11px}
.fxera-strategy-card{margin-top:18px}
.fxera-strategy-card .fxera-history-controls{grid-template-columns:repeat(3,minmax(150px,1fr))}
.fxera-position-size-card,.fxera-session-card{min-width:0}
.fxera-session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.fxera-session-item{border:1px solid var(--fxera-line);border-radius:12px;padding:12px;background:#fbfcfb;min-width:0}
.fxera-session-item span,.fxera-session-item strong,.fxera-session-item small{display:block}
.fxera-session-item span{font-size:.78rem;color:var(--fxera-muted);font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.fxera-session-item strong{font-size:1.05rem;margin:4px 0}
.fxera-session-item small{font-size:.76rem;line-height:1.4;color:var(--fxera-muted)}
.fxera-session-item.is-open{border-color:#9acbb8;background:#edf8f3}
.fxera-session-item.is-open strong{color:#155b45}
.fxera-session-item.is-closed strong{color:var(--fxera-muted)}
.fxera-screener-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:14px 0}
.fxera-screener-toolbar label{min-width:180px;flex:1 1 220px}
.fxera-screener-toolbar select,.fxera-screener-toolbar input{width:100%}
.fxera-screener-card .fxera-table-wrap{max-height:620px}
.fxera-screener-card .fxera-table{min-width:1280px}
.fxera-cross-heatmap{min-width:760px}
.fxera-cross-heatmap th,.fxera-cross-heatmap td{text-align:center}
.fxera-position-size-card .fxera-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){
  .fxera-root .fxera-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fxera-technical-controls{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%;margin-top:12px}
  .fxera-strategy-card .fxera-history-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .fxera-root .fxera-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fxera-technical-controls,.fxera-strategy-card .fxera-history-controls{grid-template-columns:1fr 1fr}
  .fxera-technical-controls button,.fxera-strategy-card .fxera-history-controls button{grid-column:1/-1;width:100%}
  .fxera-session-grid{grid-template-columns:1fr}
  .fxera-position-size-card .fxera-form-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  .fxera-root .fxera-grid-5,.fxera-technical-controls,.fxera-strategy-card .fxera-history-controls,.fxera-position-size-card .fxera-form-grid{grid-template-columns:1fr}
  .fxera-technical-controls button,.fxera-strategy-card .fxera-history-controls button{grid-column:auto}
}


/* v0.22.0 technical evidence dashboard and beginner jargon footnotes */
.fxera-beginner-glossary{margin:0 0 16px;border:1px solid var(--fxera-line);border-radius:12px;background:#fbfcfb;padding:10px 13px;color:var(--fxera-ink)}
.fxera-beginner-glossary>summary{cursor:pointer;list-style:none;display:flex;gap:7px;align-items:center;font-size:.84rem;color:var(--fxera-muted)}
.fxera-beginner-glossary>summary::-webkit-details-marker{display:none}.fxera-beginner-glossary>summary strong{color:var(--fxera-ink)}
.fxera-glossary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.fxera-glossary-grid>div{border:1px solid var(--fxera-line);border-radius:10px;padding:9px;background:#fff;min-width:0}.fxera-glossary-grid b,.fxera-glossary-grid span{display:block}.fxera-glossary-grid b{font-size:.78rem}.fxera-glossary-grid span{font-size:.75rem;color:var(--fxera-muted);line-height:1.4;margin-top:3px}
.fxera-beginner-footnote{font-size:.79rem;line-height:1.5;color:var(--fxera-muted);border-left:3px solid var(--fxera-line);padding:7px 10px;margin:12px 0 0;background:#fbfcfb;border-radius:0 8px 8px 0}.fxera-beginner-footnote strong{color:var(--fxera-ink)}
.fxera-tech-evidence{margin:14px 0;padding:14px;border:1px solid var(--fxera-line);border-radius:14px;background:linear-gradient(145deg,#fff,#fbfdfc)}.fxera-tech-evidence-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.fxera-tech-evidence-head h3{margin:0}.fxera-tech-score{text-align:right;min-width:150px}.fxera-tech-score strong{display:block;font-size:2rem;line-height:1}.fxera-tech-score span{display:block;color:var(--fxera-muted);font-size:.78rem;font-weight:700;margin-top:4px}
.fxera-evidence-meter{height:10px;border-radius:999px;background:linear-gradient(90deg,#f0d9d9 0 49.5%,#e8ecea 49.5% 50.5%,#d9ebe3 50.5% 100%);position:relative;overflow:hidden;margin:13px 0}.fxera-evidence-meter>span{position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--fxera-ink);opacity:.25}.fxera-evidence-meter>i{position:absolute;top:2px;height:6px;border-radius:999px;min-width:2px}.fxera-evidence-meter>i.is-up{background:#276d52}.fxera-evidence-meter>i.is-down{background:#8c4b4b}.fxera-evidence-meter>i.is-flat{background:#7b817d}
.fxera-tech-votes{margin-top:8px}.fxera-tech-diagnostics{margin:14px 0}.fxera-tech-diagnostics .fxera-table{min-width:680px}.fxera-tech-vote-detail{margin:14px 0}.fxera-tech-vote-detail .fxera-table{min-width:760px}.fxera-tech-vote-detail .fxera-table-wrap{margin-top:12px;max-height:430px}.fxera-tech-lookbacks small{display:block;color:var(--fxera-muted)}
@media(max-width:900px){.fxera-glossary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fxera-tech-evidence-head{flex-direction:column}.fxera-tech-score{text-align:left;min-width:0}}
@media(max-width:600px){.fxera-glossary-grid,.fxera-tech-diagnostics{grid-template-columns:1fr}.fxera-tech-votes{grid-template-columns:1fr 1fr}.fxera-tech-score strong{font-size:1.6rem}}
@media(max-width:430px){.fxera-glossary-grid,.fxera-tech-votes{grid-template-columns:1fr}}

/* v0.23.0 global metric separation + technical context / trade-plan polish */
.fxera-root .fxera-metric{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start;row-gap:4px;min-width:0}
.fxera-root .fxera-metric>span,.fxera-root .fxera-metric>strong,.fxera-root .fxera-metric>small{display:block!important;min-width:0;max-width:100%;margin:0!important;overflow-wrap:anywhere}
.fxera-root .fxera-metric>span{color:var(--fxera-muted);font-size:.72rem;font-weight:750;line-height:1.35}
.fxera-root .fxera-metric>strong{color:var(--fxera-ink);font-size:.98rem;line-height:1.35}
.fxera-root .fxera-metric>small{font-size:.72rem;line-height:1.35;color:var(--fxera-muted)}
.fxera-root .fxera-analytics-grid>div,.fxera-root .fxera-advanced-stats>div,.fxera-root .fxera-dealing-grid>div,.fxera-root .fxera-source-check-summary>div,.fxera-root .fxera-accounting-result>div,.fxera-root .fxera-mini-stats>div,.fxera-root .fxera-portfolio-risk-detail>div{min-width:0}
.fxera-root .fxera-analytics-grid>div>span,.fxera-root .fxera-advanced-stats>div>span,.fxera-root .fxera-dealing-grid>div>span,.fxera-root .fxera-source-check-summary>div>span,.fxera-root .fxera-accounting-result>div>span,.fxera-root .fxera-mini-stats>div>span,.fxera-root .fxera-portfolio-risk-detail>div>span{display:block!important;line-height:1.35}
.fxera-root .fxera-analytics-grid>div>strong,.fxera-root .fxera-advanced-stats>div>strong,.fxera-root .fxera-dealing-grid>div>strong,.fxera-root .fxera-source-check-summary>div>strong,.fxera-root .fxera-accounting-result>div>strong,.fxera-root .fxera-mini-stats>div>strong,.fxera-root .fxera-portfolio-risk-detail>div>strong{display:block!important;margin-top:4px!important;line-height:1.35;overflow-wrap:anywhere}
.fxera-root .fxera-dealing-grid>div>small{display:block!important;margin-top:3px!important;line-height:1.35}
.fxera-tech-context-grid{margin-top:14px}.fxera-tech-context-grid .fxera-table{min-width:620px}
.fxera-tech-analog-card{margin-top:14px}.fxera-tech-analog-card .fxera-table{min-width:760px}.fxera-tech-analog-summary{margin:12px 0}
.fxera-trade-plan-detail{margin-top:14px}.fxera-trade-plan-detail .fxera-grid{margin-top:12px}
.fxera-trade-plan-note{margin-top:10px}
@media(max-width:760px){.fxera-tech-context-grid{grid-template-columns:1fr}.fxera-tech-analog-card .fxera-table,.fxera-tech-context-grid .fxera-table{min-width:680px}}


/* v0.24.0 research breadth, regime outcomes and stress-dependence UI */
.fxera-root .fxera-tech-regime-forward-card,
.fxera-root .fxera-screener-breadth,
.fxera-root .fxera-port-stress-dependence-card{margin-top:14px}
.fxera-root .fxera-screener-breadth .fxera-grid,
.fxera-root .fxera-port-stress-dependence-card .fxera-grid{margin-top:12px}
.fxera-root .fxera-port-stress-grid{margin-top:12px}
.fxera-root .fxera-port-stress-grid .fxera-table-wrap{min-width:0}
.fxera-root .fxera-table td small,
.fxera-root .fxera-table th small{display:block;margin-top:3px;color:var(--fxera-muted);font-size:.68rem;line-height:1.3;white-space:normal}
.fxera-root .fxera-screener-card .fxera-table{min-width:1460px}
@media (max-width:720px){
  .fxera-root .fxera-tech-regime-forward-card .fxera-grid,
  .fxera-root .fxera-screener-breadth .fxera-grid,
  .fxera-root .fxera-port-stress-dependence-card .fxera-grid{grid-template-columns:1fr 1fr!important}
}
@media (max-width:480px){
  .fxera-root .fxera-tech-regime-forward-card .fxera-grid,
  .fxera-root .fxera-screener-breadth .fxera-grid,
  .fxera-root .fxera-port-stress-dependence-card .fxera-grid{grid-template-columns:1fr!important}
}


/* v0.25.0 leadership rotation, transition matrix and deeper stress diagnostics */
.fxera-root .fxera-tech-transition-card,
.fxera-root .fxera-screener-rotation-card{margin-top:14px}
.fxera-root .fxera-tech-transition-card .fxera-grid,
.fxera-root .fxera-screener-rotation-card .fxera-grid{margin-top:12px}
.fxera-root .fxera-transition-table{min-width:920px}
.fxera-root .fxera-transition-table td{text-align:center}
.fxera-root .fxera-transition-table td:first-child{text-align:left}
.fxera-root .fxera-screener-rotation-card .fxera-table{min-width:900px}
@media(max-width:720px){
  .fxera-root .fxera-tech-transition-card .fxera-grid,
  .fxera-root .fxera-screener-rotation-card .fxera-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:480px){
  .fxera-root .fxera-tech-transition-card .fxera-grid,
  .fxera-root .fxera-screener-rotation-card .fxera-grid{grid-template-columns:1fr!important}
}

/* v0.28.0 — isolated, fiat-flexible BTC/ETH workspace */
.fxera-root [data-panel="digital"] .fxera-metric small{display:block;margin-top:5px;color:var(--fxera-muted);line-height:1.35}
.fxera-root [data-panel="digital"] .fxera-table th{white-space:normal}
.fxera-root [data-panel="digital"] .fxera-chart-wrap{margin-top:14px}
@media (max-width:700px){.fxera-root [data-panel="digital"] .fxera-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.fxera-root [data-panel="digital"] .fxera-table{min-width:680px}}

/* v0.30.0 source-lineage coverage matrix */
.fxera-root .fxera-source-lineage{margin-top:22px;padding-top:18px;border-top:1px solid var(--fxera-border)}
.fxera-root .fxera-source-lineage h3{margin:0 0 6px;font-size:1.05rem}
.fxera-root .fxera-source-lineage .fxera-grid{margin-top:12px}
.fxera-root .fxera-source-lineage .fxera-table-wrap{max-height:430px}
