.quant-metric-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:0 0 12px}.quant-metric-grid article{display:grid;gap:7px;padding:16px;border:1px solid #e0e6e2;border-radius:11px;background:#fff}.quant-metric-grid span{font-size:12px;color:#748178}.quant-metric-grid b{font:600 20px Georgia,"Songti SC",serif;color:#24372c}.history-health{display:grid;grid-template-columns:auto auto 1fr;gap:14px;align-items:center;margin-bottom:18px;padding:11px 15px;border-radius:9px;font-size:12px}.history-health.fresh{background:#edf6ef;color:#2f7044}.history-health.stale{background:#fff3e7;color:#965a18}.history-health small{justify-self:end;color:inherit;opacity:.78}.enabled-news .panel-head em{color:#317345;font-style:normal}.enabled-news>div>span{background:#edf6ef;color:#337047}.signal-panel{margin-top:18px;overflow:hidden}.signal-table{min-width:850px}.signal-head,.signal-row{display:grid;grid-template-columns:1.45fr .65fr .75fr .75fr .7fr .65fr .75fr;gap:12px;align-items:center}.signal-head{padding:10px 15px;border-bottom:1px solid #e5eae7;color:#77847b;font-size:12px;font-weight:800}.signal-row{padding:13px 15px;border-bottom:1px solid #edf0ee;font-size:13px}.signal-row:last-child{border-bottom:0}.signal-row>div{display:grid;gap:3px}.signal-row small{color:#859088}.signal-row strong{font-family:Georgia,serif;color:#24372c}.strategy-card{cursor:pointer}.strategy-card.active-strategy{border-color:#8eaa94;box-shadow:0 0 0 2px #e5efe7}.strategy-card-actions{display:grid;gap:8px;margin-top:13px}.strategy-detail-button{width:100%;padding:9px 12px;border:1px solid #d5ddd7;border-radius:8px;background:#fff;color:#2f4938;font-size:12px;font-weight:800;cursor:pointer}.strategy-detail-button:hover{background:#f4f7f5}.strategy-backtest-unavailable{margin:12px 0 0;padding:12px;border-radius:8px;background:#f7f4ee;color:#7a6240;font-size:12px;line-height:1.6}#strategyDetailDialog{width:min(720px,92vw);border:0;border-radius:16px;padding:24px;box-shadow:0 24px 80px rgba(15,28,20,.25)}#strategyDetailDialog::backdrop{background:rgba(20,31,24,.5)}#strategyDetailDialog header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}#strategyDetailDialog h3{margin:6px 0 0;font-size:24px}#strategyDetailDialog header button{border:0;background:#f0f3f1;border-radius:50%;width:34px;height:34px;font-size:22px}#strategyDetailDialog>p{color:#65746b;line-height:1.6}.strategy-detail-params{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.strategy-detail-params div{padding:10px;border-radius:8px;background:#f6f8f6;display:grid;gap:4px}.strategy-detail-params span{font-size:11px;color:#77837b}#strategyDetailDialog small{display:block;margin-top:12px;color:#7a877f;line-height:1.6}
@media(max-width:680px){.strategy-detail-params{grid-template-columns:1fr 1fr}#strategyDetailDialog{padding:18px}}.strategy-active-button,.strategy-activate-button{width:100%;padding:9px 12px;border-radius:8px;font-size:12px;font-weight:800}.strategy-active-button{border:1px solid #d8e6da;background:#edf6ef;color:#347147}.strategy-activate-button{border:1px solid #cfdad2;background:#fff;color:#2f4938;cursor:pointer}.strategy-activate-button:hover{background:#283b2f;color:#fff}.strategy-activate-button:disabled{opacity:.55;cursor:wait}
@media(max-width:1100px){.quant-metric-grid{grid-template-columns:repeat(3,1fr)}.history-health{grid-template-columns:1fr 1fr}.history-health small{grid-column:1/-1;justify-self:start}.signal-panel{overflow:auto}}
@media(max-width:680px){.quant-metric-grid{grid-template-columns:1fr 1fr}.quant-metric-grid article{padding:13px}.quant-metric-grid b{font-size:18px}.history-health{grid-template-columns:1fr;gap:5px}.history-health small{grid-column:auto}.factor-hero{display:grid}.signal-head,.signal-row{grid-template-columns:1.25fr repeat(6,.75fr)}}

/* Dynamic strategy v2 adds trend confirmation to the live signal audit table. */
.signal-table{min-width:960px}
.signal-head,.signal-row{grid-template-columns:1.35fr .6fr .7fr .7fr .65fr .7fr .75fr .7fr}
@media(max-width:680px){.signal-head,.signal-row{grid-template-columns:1.25fr repeat(7,.72fr)}}
.engine-badge{align-self:center;padding:3px 6px;border-radius:4px;font-style:normal;font-size:9px;font-weight:800}.engine-badge.quant{background:#e5f2e8;color:#2f7044}.engine-badge.legacy{background:#f3f0ea;color:#83715a}
.news-impact-hero{margin-top:0}.news-impact-metrics{grid-template-columns:repeat(4,1fr)}.legacy-news-notice{display:flex;justify-content:space-between;gap:18px;margin:0 0 14px;padding:14px 17px;border:1px solid #ead9bd;border-radius:10px;background:#fff9ed;color:#765b31}.legacy-news-notice span{font-size:12px}.news-impact-runs{display:grid;gap:12px}.news-impact-run{border:1px solid #dee5e0;border-radius:12px;background:#fff;overflow:hidden}.news-impact-run>summary{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;cursor:pointer;list-style:none}.news-impact-run>summary::-webkit-details-marker{display:none}.news-impact-run>summary>div{display:grid;gap:4px}.news-impact-run>summary b{font:600 18px Georgia,serif}.news-impact-run>summary span{font-size:12px;color:#748078}.news-impact-run>summary strong{font-size:12px;color:#3a7149}.news-impact-run[open]>summary{border-bottom:1px solid #e8ece9;background:#fafcfa}.news-impact-run-body{display:grid;gap:12px;padding:14px}.news-impact-card{padding:17px;border:1px solid #e4e9e6;border-radius:10px;background:#fff}.news-impact-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.news-impact-card header span{font-size:11px;color:#7d8881}.news-impact-card h3{margin:5px 0 0;font-size:17px;line-height:1.45}.news-impact-card header>b{white-space:nowrap;padding:6px 9px;border-radius:7px;background:#f1f3f1;font-size:12px}.news-impact-card header>b.up{background:#fff0ef}.news-impact-card header>b.down{background:#edf7f0}.news-factor-strip{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.news-factor-strip span{padding:5px 8px;border-radius:6px;background:#f3f6f4;color:#53635a;font-size:11px}.news-decision-impact{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.news-decision-impact>div{display:grid;gap:5px;padding:11px;border-radius:8px;background:#f8faf8}.news-decision-impact span{font-size:10px;color:#7b877f}.news-decision-impact b{font-size:13px}.news-etf-list{margin-top:12px;border-top:1px solid #edf0ee}.news-etf-impact{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:12px;align-items:center;padding:11px 4px;border-bottom:1px solid #edf0ee;font-size:12px}.news-etf-impact:last-child{border-bottom:0}.news-etf-impact>div{display:grid;gap:2px}.news-etf-impact small{color:#879188}
@media(max-width:900px){.news-decision-impact{grid-template-columns:1fr 1fr}.news-etf-impact{grid-template-columns:1fr 1fr}.news-etf-impact>div{grid-column:1/-1}.legacy-news-notice{display:grid}.news-impact-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.news-impact-card header{display:grid}.news-decision-impact{grid-template-columns:1fr}.news-impact-run>summary{align-items:flex-start}.news-impact-card{padding:14px}}
.news-impact-note,.news-evidence p,.news-evidence blockquote,.news-rejections{font-size:1rem;line-height:1.65;color:#37453d;overflow-wrap:anywhere}.news-impact-card header>b small{display:block;margin-top:5px;font-size:.875rem}.news-evidence{padding:12px 14px;margin-bottom:12px;border-left:3px solid #c7d5cc;background:#f8faf9}.news-evidence>b{font-size:.875rem}.news-evidence blockquote{margin:10px 0;padding-left:10px;border-left:2px solid #dbe3de}.news-factor-strip span,.news-etf-impact,.news-decision-impact span,.news-decision-impact b{font-size:.875rem}.news-etf-impact>*{min-width:0;overflow-wrap:anywhere}.news-rejections li{margin-bottom:14px}.news-impact-card details>summary{cursor:pointer;font-size:1rem;padding:12px 0}.news-impact-card,.news-impact-run{min-width:0}.news-evidence .news-factor-strip{margin-bottom:0}
.news-screening-audit{margin:20px 0}.news-screening-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.news-screening-counts div{background:#f7f8fa;border:1px solid #e3e6ea;border-radius:10px;padding:12px}.news-screening-counts b,.news-screening-counts span{display:block}.news-screening-counts b{font-size:22px;color:#15191e}.news-screening-counts span{margin-top:4px;color:#59616b}.news-screening-list{display:grid;gap:10px;margin-top:14px;max-height:720px;overflow:auto}.news-screening-list article{border:1px solid #e2e5e9;border-radius:10px;padding:14px;background:#fff}.news-screening-list header,.news-screening-list footer{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.news-screening-list header div{min-width:0}.news-screening-list header b,.news-screening-list header small{display:block}.news-screening-list header small,.news-screening-list p,.news-screening-list footer{color:#59616b}.news-screening-list strong{white-space:nowrap;padding:4px 8px;border-radius:999px;background:#eef1f4}.news-screening-list .screening-llm_candidate{background:#fde8e6;color:#b3261e}.news-screening-list .screening-rules_filtered_zero,.news-screening-list .screening-after_cutoff{background:#edf5ef;color:#22713c}.news-screening-list footer{flex-wrap:wrap;font-size:13px}@media(max-width:760px){.news-screening-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.news-screening-list header{display:block}.news-screening-list header strong{display:inline-block;margin-top:8px}}
