.recordsModule .weighingHistoryFilter{display:flex;align-items:center;gap:10px;margin:14px 0 0;font-size:13px;color:#456252;font-weight:700}
.recordsModule .weighingHistoryFilter select{width:auto;max-width:100%;background:#fff;color:#173f2e;border:1px solid #c6ddce;border-radius:8px;padding:9px 12px;font:inherit}
.recordsModule .recordNumberCell{min-width:0}
.recordsModule .weighingHistoryButton{display:flex!important;flex-direction:column;align-items:flex-start;gap:5px;margin:7px 0 0;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;text-align:left;color:#246346;max-width:100%;white-space:normal;min-width:0;font:inherit}
.recordsModule .weighingHistoryButton small{font-size:11px;text-decoration:underline;color:#315d45!important;font-weight:600}
.weighingHistoryTag{display:inline-block;white-space:normal;border:1px solid transparent;border-radius:6px;padding:4px 7px;font-size:11px;line-height:1.4;font-weight:700}
.weighingHistoryTag.approved{background:#e4f5e9;color:#176b33;border-color:#c4e8ce}
.weighingHistoryTag.pending{background:#fff4d8;color:#805608;border-color:#ecd99f}
.weighingHistoryTag.rejected{background:#fff0ee;color:#9b372e;border-color:#f0d0cb}
.weighingHistoryButton:focus-visible{outline:2px solid #118641;outline-offset:4px}
.weighingHistoryBackdrop{position:fixed;inset:0;background:#102c26a8;z-index:10050;display:flex;align-items:center;justify-content:center;padding:24px}
.weighingHistoryDialog{width:min(780px,100%);max-height:90vh;max-height:90dvh;display:flex;flex-direction:column;background:#f6faf7;border-radius:18px;overflow:hidden;box-shadow:0 20px 90px #071c1a50;color:#173f2e}
.weighingHistoryDialog>header{display:flex;justify-content:space-between;align-items:flex-start;background:#173f2e;color:white;gap:15px;padding:22px 26px}
.weighingHistoryDialog>header small{color:#98e2b1;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.weighingHistoryDialog>header h2{font-size:24px;line-height:1.25;margin:7px 0}
.weighingHistoryDialog>header p{margin:0;font-size:13px;color:#d3e5d9}
.weighingHistoryDialog>header>button{flex-shrink:0;width:38px;height:38px;background:transparent;border:1px solid #638578;color:white;border-radius:9px;font-size:26px;line-height:1;cursor:pointer}
.weighingHistoryBody{overflow:auto;overscroll-behavior:contain;padding:22px 26px;min-height:0}
.weighingHistoryEntry{background:white;border:1px solid #d4e4d9;border-radius:12px;padding:18px;margin:0 0 14px;overflow-wrap:anywhere}
.weighingHistoryEntry:last-child{margin-bottom:0}
.weighingHistoryEntry>header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:14px}
.weighingHistoryEntry header small{font-size:12px;color:#61766a}.weighingHistoryEntry h3{font-size:17px;margin:5px 0;line-height:1.4}
.weighingHistoryEntry p{font-size:13px;line-height:1.6;margin:8px 0;white-space:pre-wrap}.weighingHistoryEntry p b{font-weight:700}
.weighingHistoryChange{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f0f7f2;border-radius:8px;padding:10px 12px;margin-bottom:12px}
.weighingHistoryChange small{display:block;color:#668373;font-size:11px}.weighingHistoryEntry details{font-size:12px;margin-top:14px}.weighingHistoryEntry summary{cursor:pointer;font-weight:700}.weighingHistoryEntry li{margin:10px 0;line-height:1.6}
@media(max-width:640px){.recordsModule .weighingHistoryFilter{align-items:stretch;flex-direction:column;gap:6px}.recordsModule .weighingHistoryFilter select{width:100%;min-height:42px}.recordsModule .weighingHistoryButton{min-height:44px;gap:6px}.weighingHistoryBackdrop{padding:10px}.weighingHistoryDialog{max-height:95vh;max-height:95dvh;border-radius:13px}.weighingHistoryDialog>header{padding:18px 16px}.weighingHistoryDialog>header h2{font-size:20px}.weighingHistoryBody{padding:14px}.weighingHistoryEntry{padding:14px}.weighingHistoryEntry>header{flex-wrap:wrap}.weighingHistoryChange{grid-template-columns:1fr}.weighingHistoryEntry p{font-size:14px}.weighingHistoryTag{font-size:12px}}
