.stocks-active .toolbar{display:none}
.stk-banner{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:16px;background:#e7f0f5}
.stk-banner strong{color:#113e56}.stk-banner span{flex-basis:100%}
.stk-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:16px 0}
.stk-controls label,.stk-import label,.stk-import input{display:block}
.stk-controls label{min-width:145px;flex:1;color:#344b62;font-size:13px}
.stk-controls select,.stk-controls input,.stk-import input,#stk-budget{display:block;width:100%;background:#fff;color:#183249;border:1px solid #cbdde6;border-radius:7px;padding:9px;margin-top:5px;font:inherit;min-height:40px}
.stk-controls input[type=search]{min-width:190px}.stk-controls .button{min-height:40px}
.stk-import{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}.stk-import label{max-width:270px;font-size:13px}
.stk-selected{background:#0b3f58!important;color:#fff!important}
.stk-metric{cursor:default;min-height:125px}.stk-metric p{font-size:12px;color:#537088;line-height:1.5;margin-top:12px}
.stk-chart{width:100%;margin-top:14px}.stk-chart svg{width:100%;display:block;overflow:visible}.stk-chart text,#drawer-content svg text{font:12px system-ui,sans-serif;fill:#354e64}
.stk-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;margin:8px 0}.stk-legend span{display:flex;gap:5px;align-items:center}.stk-legend i{width:17px;height:3px;display:inline-block}
#stocks-module>.panel,#stocks-module>.two-columns{margin-bottom:20px}
#stocks-module .scroll-table th{white-space:normal}#stocks-module .scroll-table td{vertical-align:top;line-height:1.5}#stocks-module .scroll-table table{min-width:750px}
.stk-method h3,.stk-detail-title{margin:24px 0 10px}.stk-method p{margin:10px 0;line-height:1.75}.stk-error{white-space:pre-line;background:#fcebe7;color:#923929;padding:14px;border-radius:8px}
#stocks-module details summary{font-weight:600;cursor:pointer}#stocks-module .source-metadata{line-height:1.65;margin:10px 0}
#drawer-content>svg{display:block;width:100%;height:auto}#drawer-content h3{margin-top:25px}
@media(max-width:700px){.stk-controls label{flex-basis:40%;min-width:110px}.stk-controls input[type=search]{min-width:0}.stk-metric .kpi-value{font-size:25px}.stk-import{align-items:stretch}.stk-import .button{width:100%}#stocks-module .kpi-grid{grid-template-columns:1fr 1fr}#stocks-module .two-columns{grid-template-columns:1fr}}
@media(max-width:400px){#stocks-module .kpi-grid{grid-template-columns:1fr}.stk-controls label{flex-basis:100%}}
