.stock-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.stock-table{min-width:0}
.stock-side{display:flex;flex-direction:column;gap:20px;min-width:0}
.stock-card .panel-head{padding:16px 20px}
.stock-card-rows{padding:0 20px 16px;display:flex;flex-direction:column;gap:10px}
.stock-card-rows>div{display:flex;justify-content:space-between;gap:12px;font-size:13px}
.stock-card-rows span{color:#768398}
.stock-card .actions{display:flex;gap:10px;padding:0 20px 20px}
.stock-card .actions .btn{flex:1;text-align:center}
.stock-recent{padding:0 20px 20px;display:flex;flex-direction:column}
.stock-recent-row{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eff2f6}
.stock-recent-row:last-child{border-bottom:0}
.stock-recent-row>div{min-width:0;flex:1}
.stock-recent-row b{font-size:13px;display:block}
.stock-recent-row span{display:block;font-size:11px;color:#8090a6;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stock-recent-icon{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:700}
.stock-recent-icon.in{background:#e3f5ec;color:#1d7a4c}
.stock-recent-icon.out{background:#fdeceb;color:#c0392b}
.stock-recent-row .pos{color:#1d7a4c;white-space:nowrap}
.stock-recent-row .neg{color:#c0392b;white-space:nowrap}
.stock-filters select{min-width:130px;font-size:12px}
@media(max-width:1150px){.stock-layout{grid-template-columns:minmax(0,1fr)}.stock-side{display:grid;grid-template-columns:1fr 1fr;align-items:start}}
@media(max-width:720px){.stock-side{grid-template-columns:minmax(0,1fr)}.stock-filters select{min-width:0;flex:1 1 140px}.stock-card .actions{flex-direction:column}}
