.stock-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.stock-tabs button{flex:1;max-width:230px;min-height:44px}
.stock-plan-grid,.stock-lots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.stock-plan,.stock-lot,.stock-event{padding:22px;margin:0;min-width:0}
.stock-plan h3,.stock-lot h3,.stock-event h3{font-size:16px;margin:8px 0;line-height:1.5;overflow-wrap:anywhere}
.stock-plan small,.stock-lot small,.stock-event small{color:var(--muted);font-size:11px}
.stock-plan dl,.stock-lot dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px 0;margin:0}
.stock-lot dl{grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);margin-top:14px}
.stock-plan dt,.stock-lot dt{font-size:11px;color:var(--muted);margin-bottom:6px}
.stock-plan dd,.stock-lot dd{font-size:18px;margin:0;overflow-wrap:anywhere}
.stock-highlight{color:var(--green);font-weight:700}
.stock-lot-title{display:flex;gap:16px;justify-content:space-between}
.stock-lot-title>div{min-width:0}
.stock-lot-title p,.stock-event p{font-size:12px;line-height:1.7;margin:6px 0;overflow-wrap:anywhere}
.stock-quantity{font-size:27px;color:var(--green);text-align:right;flex-shrink:0;font-weight:600}
.stock-quantity small{display:block;font-size:10px;font-weight:400;max-width:110px}
.stock-lot .actions{justify-content:flex-end;margin-top:8px}
.stock-journal{display:grid;gap:12px}
.stock-event{display:flex;justify-content:space-between;align-items:center;gap:16px}
.stock-event>div{min-width:0}.stock-event button{flex-shrink:0}
@media(max-width:1100px){.stock-plan-grid,.stock-lots{grid-template-columns:1fr}}
@media(max-width:760px){.stock-tabs{gap:6px;margin-bottom:18px}.stock-tabs button{padding:10px 7px;font-size:11px;white-space:normal}.stock-plan,.stock-lot,.stock-event{padding:16px}.stock-event{align-items:stretch;flex-direction:column}.stock-event button{align-self:flex-end}.stock-lot dl{gap:8px}.stock-lot dt{font-size:10px}.stock-lot dd{font-size:17px}#stock-content .section-heading{flex-wrap:wrap;gap:12px}#stock-content .section-heading>.actions{flex-wrap:wrap}#stock-content .stats{grid-template-columns:repeat(2,minmax(0,1fr))}#stock-content .stat{padding:14px}#stock-content .stat strong{font-size:19px}}
