.abi-stock{padding:24px;background:#fff;color:#263447;font:14px/1.5 'Be Vietnam Pro',sans-serif}.abi-stock header{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.abi-stock h1{font-size:22px;margin:0 auto 0 0}.abi-stock h2{font-size:18px}.abi-stock nav{display:flex;gap:8px;margin:20px 0;overflow:auto}.abi-stock button,.abi-stock input,.abi-stock select{box-sizing:border-box;min-height:38px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:inherit;font:inherit}.abi-stock button{cursor:pointer}.abi-stock button[aria-pressed=true]{background:#e7efff;border-color:#2563eb;color:#1d4ed8}.abi-stock button:disabled{opacity:.5;cursor:default}.abi-stock :focus-visible{outline:2px solid #2563eb;outline-offset:2px}.abi-stock label{display:grid;gap:5px}.abi-stock [role=alert],.abi-stock-low{color:#b42318}.abi-stock [role=status]{color:#166534}.abi-stock-table{overflow:auto;border:1px solid #e2e8f0;border-radius:8px}.abi-stock-table table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.abi-stock-table th{background:#f3f6fa;font-size:12px;color:#536278}.abi-stock-table td,.abi-stock-table th{padding:12px;border-bottom:1px solid #e2e8f0;vertical-align:top}.abi-stock-table small{display:block;color:#64748b;margin-top:4px}.abi-stock-table td:first-child small{max-width:290px;white-space:normal}.abi-stock-form{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.abi-stock-form label{min-width:150px;flex:1}.abi-stock-wide{min-width:250px!important}.abi-stock-form fieldset{width:100%;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.abi-stock-months{display:grid;grid-template-columns:repeat(6,minmax(80px,1fr));gap:12px}.abi-stock-months label{min-width:0}.abi-stock-months input{width:100%}dialog.abi-stock{box-sizing:border-box;width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid #e2e8f0;border-radius:12px}dialog.abi-stock::backdrop{background:rgb(15 23 42 / .4)}dialog.abi-stock header{justify-content:space-between}
@media(max-width:650px){.abi-stock{padding:16px}.abi-stock-months{grid-template-columns:repeat(3,minmax(60px,1fr))}.abi-stock-form label{min-width:100%}.abi-stock-months label{min-width:0}.abi-stock button{min-height:44px}.abi-stock h1{width:100%}.abi-stock select{max-width:100%}}
.abi-stock-source{color:#536278;font-size:13px}.abi-stock-quality{color:#92400e}.abi-stock-lot-warning{background:#fff7ed}
