/* TradingSignals Decision Case 3.0 — scoped extension, no global theme changes. */
body.tscc-ui .tscc-case-section{background:linear-gradient(150deg,#071523,#0b2030);padding-block:clamp(52px,6vw,90px);scroll-margin-top:130px}
body.tscc-ui .tscc-case-root{color:#edf8fb}
body.tscc-ui .tscc-case-top{display:flex;justify-content:space-between;gap:34px;align-items:center;margin-bottom:22px}
body.tscc-ui .tscc-case-top h2{max-width:740px;font-size:clamp(28px,3.3vw,47px);line-height:1.1;margin:9px 0 13px;color:#f1f8fd}
body.tscc-ui .tscc-case-top p{max-width:700px;line-height:1.6;color:#bcd4df}
body.tscc-ui .tscc-case-promise{min-width:220px;padding:18px 22px;border:1px solid #2e6a73;border-radius:14px;background:#0e2c3d;display:grid;gap:8px}
body.tscc-ui .tscc-case-promise strong{color:#51e7cf;font-size:1.06rem}
body.tscc-ui .tscc-case-promise span{font-weight:700}
body.tscc-ui .tscc-case-promise small{color:#bcd5df}
body.tscc-ui .tscc-case-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:25px}
body.tscc-ui .tscc-case-steps span{padding:13px 16px;background:#103147;border:1px solid #346476;border-radius:9px;color:#e4f6f7;font-weight:700;font-size:.88rem}
body.tscc-ui .tscc-case-steps b{color:#51e7cf;margin-right:6px}
body.tscc-ui .tscc-case-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;align-items:start}
body.tscc-ui .tscc-case-panel,body.tscc-ui .tscc-case-result,body.tscc-ui .tscc-case-empty{background:#112b3c;border:1px solid #34687a;border-radius:16px;padding:clamp(16px,2.4vw,29px);min-width:0}
body.tscc-ui .tscc-case-panel h3,body.tscc-ui .tscc-case-result h3,body.tscc-ui .tscc-case-empty h3{color:#f1f8fd;font-size:clamp(1.25rem,2vw,1.7rem);margin:8px 0 15px}
body.tscc-ui .tscc-case-panel label{display:grid;gap:7px;margin-bottom:14px;font-weight:700;color:#e7f9fa;font-size:.88rem;min-width:0}
body.tscc-ui .tscc-case-panel label span{font-weight:400;color:#bfd5e0}
body.tscc-ui .tscc-case-panel :is(input,textarea,select){display:block;width:100%;min-width:0;box-sizing:border-box;background:#082237;color:#f7ffff;border:1px solid #3b7183;border-radius:8px;min-height:44px;padding:10px 12px;font:inherit;line-height:1.4}
body.tscc-ui .tscc-case-panel :is(input,textarea,select):focus-visible,body.tscc-ui .tscc-case-import-label:focus-within{outline:3px solid #51e7cf;outline-offset:2px}
body.tscc-ui .tscc-case-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
body.tscc-ui .tscc-case-limits,body.tscc-ui .tscc-case-disclaimer{color:#bdd9e1;background:#082237;border-left:3px solid #51e7cf;padding:12px 14px;font-size:.87rem;line-height:1.6}
body.tscc-ui .tscc-case-actions,body.tscc-ui .tscc-case-result-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 7px}
body.tscc-ui .tscc-case-actions .tscc-btn,body.tscc-ui .tscc-case-result-actions .tscc-btn{min-height:44px}
body.tscc-ui .tscc-case-status{font-size:.87rem;line-height:1.5;color:#c4e4e8}
body.tscc-ui .tscc-case-verdict{border:1px solid #51e7cf;border-radius:9px;background:#07392f;padding:14px 16px;color:#f1fffd;font-weight:700;line-height:1.55}
body.tscc-ui .tscc-case-verdict.tscc-case-warning{border-color:#ffd285;background:#3c2f17;color:#fff4d7}
body.tscc-ui .tscc-case-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
body.tscc-ui .tscc-case-metrics>div{border:1px solid #305e72;border-radius:9px;padding:14px 13px;background:#071f31;min-width:0;display:grid;gap:7px}
body.tscc-ui .tscc-case-metrics span{font-size:.78rem;color:#bbd6df}
body.tscc-ui .tscc-case-metrics strong{font-size:clamp(1.13rem,2vw,1.5rem);color:#f0fffc;overflow-wrap:anywhere}
body.tscc-ui .tscc-case-table-wrap{width:100%;overflow-x:auto;border:1px solid #305e72;border-radius:9px}
body.tscc-ui .tscc-case-table{border-collapse:collapse;width:100%;min-width:430px;text-align:left;font-size:.84rem}
body.tscc-ui .tscc-case-table caption{padding:10px 12px;background:#0e3345;color:#e9f5f7;text-align:left;font-weight:700}
body.tscc-ui .tscc-case-table :is(th,td){border-top:1px solid #305e72;padding:10px 12px;vertical-align:top;color:#e7f8fc}
body.tscc-ui .tscc-case-table th{background:#0f3a4a;color:#51e7cf}
body.tscc-ui .tscc-case-empty li{margin:12px 0;color:#d2e9ef;line-height:1.65}
body.tscc-ui .tscc-case-empty p{color:#c1dce5;line-height:1.6}
body.tscc-ui .tscc-case-import-label{min-height:44px;display:inline-flex;align-items:center;padding:10px 14px;border:1px solid #68afbd;border-radius:8px;color:#e6fcf9;font-weight:700;cursor:pointer;font-size:.86rem;position:relative}
body.tscc-ui .tscc-case-import-label input{opacity:0;position:absolute;inset:0;width:100%;cursor:pointer}
body.tscc-ui .tscc-case-guidance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:20px}
body.tscc-ui .tscc-case-guidance>div{background:#0d2b3d;border:1px solid #2a6174;border-radius:10px;padding:18px}
body.tscc-ui .tscc-case-guidance h3{font-size:1rem;margin:0 0 7px;color:#f5fbfd}
body.tscc-ui .tscc-case-guidance p{margin:0;color:#c2dce6;font-size:.9rem;line-height:1.65}
body.tscc-ui .tscc-case-section [hidden]{display:none!important}
@media(max-width:900px){body.tscc-ui .tscc-case-layout{grid-template-columns:1fr}body.tscc-ui .tscc-case-guidance{grid-template-columns:repeat(2,minmax(0,1fr))}body.tscc-ui .tscc-case-top{align-items:stretch}body.tscc-ui .tscc-case-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.tscc-ui .tscc-case-top{display:grid}body.tscc-ui .tscc-case-promise{min-width:0}body.tscc-ui .tscc-case-field-grid{grid-template-columns:1fr}body.tscc-ui .tscc-case-guidance{grid-template-columns:1fr}body.tscc-ui .tscc-case-metrics{gap:7px}body.tscc-ui .tscc-case-metrics>div{padding:10px}body.tscc-ui .tscc-case-steps span{font-size:.78rem;padding:11px}body.tscc-ui .tscc-case-actions>*{flex:1 1 100%}body.tscc-ui .tscc-case-result-actions>*{width:100%;justify-content:center}body.tscc-ui #tscc-decision-case{scroll-margin-top:190px}}
