.weight-entry,.weight-history{padding:24px;margin-bottom:22px;border:1px solid #dce7e8;border-radius:18px;background:white}.weight-entry h2,.weight-history h2{margin:6px 0 10px;font-size:24px}.weight-entry header p,.weight-history header p{font-size:13px;line-height:1.6;color:#647b83}.weight-entry fieldset{border:0;margin:0;padding:0;min-width:0}.weight-shared,.weight-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:20px 0}.weight-shared label,.weight-filters label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#476572}.weight-shared input,.weight-filters input,.weight-filters select,.weight-entry-table input,.weight-entry-table select{border:1px solid #cadbdf;border-radius:8px;background:#fff;padding:10px;min-height:42px;font:inherit;color:#233e48;max-width:100%}.weight-entry-scroll,.weight-history-scroll{overflow-x:auto}.weight-entry table,.weight-history table{border-collapse:collapse;width:100%;font-size:13px}.weight-entry-table{min-width:720px}.weight-entry th,.weight-history th{text-align:left;background:#f1f7f7;color:#526b77;padding:12px;white-space:nowrap}.weight-entry td,.weight-history td{padding:12px;border-bottom:1px solid #dce7e8;vertical-align:middle}.weight-entry-table input{width:130px}.weight-entry-table select{width:100%;min-width:125px}.weight-savebar,.weight-history footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.weight-savebar p,.weight-history footer,.weight-history>p{font-size:13px;color:#5b737c}.weight-savebar .is-error{color:#aa3434}.weight-history td{white-space:nowrap}.weight-history td:last-child{min-width:140px;white-space:normal;overflow-wrap:anywhere}.weight-history td small{display:block;color:#71868d;font-size:10px;margin-top:5px}.weight-number{font-size:16px;font-weight:750;font-variant-numeric:tabular-nums}.weight-chip{display:inline-block;padding:5px 10px;border-radius:20px;font-size:12px;font-weight:650;white-space:nowrap}.weight-clean{background:#d5edbc!important;color:#325b26!important}.weight-dirty,.weight-out,.weight-bin{background:#b40e16!important;color:white!important}.weight-stained{background:#cadfe3!important;color:#345866!important}.weight-discard{background:#62428a!important;color:white!important}.weight-recovered,.weight-in{background:#11734f!important;color:white!important}.weight-return{background:#ffd6b4!important;color:#804717!important}.weight-new,.weight-global{background:#ffe9ac!important;color:#705116!important}.weight-property,.weight-unknown{background:#eef0f2!important;color:#4f6168!important}.weight-aq{background:#c8e7fa!important;color:#195b85!important}.weight-warehouse{background:#e5d1f5!important;color:#6d4191!important}.weight-saved{opacity:.5}.weight-entry-table select:focus,.weight-entry-table input:focus{outline:2px solid #238f9b;outline-offset:2px}.weight-history tbody tr:hover{background:#f6fafb}#weightAdd{margin-top:14px}.weight-history button+button{margin-left:8px}@media(max-width:700px){.weight-entry,.weight-history{padding:16px}.weight-savebar{align-items:stretch;flex-direction:column}.weight-shared label,.weight-filters label{flex:1;min-width:135px}.weight-shared input{width:100%}.weight-entry-table{min-width:0}.weight-entry-table thead{display:none}.weight-entry-table tbody{display:grid;gap:12px}.weight-entry-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce7e8;border-radius:12px;padding:10px;gap:8px}.weight-entry-table th{grid-column:1/-1;padding:3px;background:none}.weight-entry-table td{padding:0;border:0;min-width:0}.weight-entry-table input,.weight-entry-table select{width:100%;min-width:0;font-size:13px}.weight-history footer{align-items:start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.weight-entry *,.weight-history *{scroll-behavior:auto}}
.weight-native-select{display:none!important}.weight-picker-button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #cadbdf;border-radius:8px;background:#fff;min-height:42px;padding:6px 10px;color:#233e48;font:inherit;text-align:left;cursor:pointer;width:100%;min-width:125px;box-sizing:border-box}.weight-picker-button:focus-visible{outline:2px solid #238f9b;outline-offset:2px}.weight-picker-button:hover{border-color:#72b7ba}.weight-picker-button:disabled{opacity:.6;cursor:default}.weight-picker-placeholder{font-size:12px;font-weight:400}.weight-picker-arrow{color:#597b83}.weight-picker-menu{position:fixed;z-index:10000;padding:5px;overflow-y:auto;background:#fff;border:1px solid #c5dade;border-radius:12px;box-shadow:0 10px 30px #163d4a29;box-sizing:border-box}.weight-picker-menu>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;border:0;border-radius:7px;padding:6px 8px;background:transparent;color:#284f5b;text-align:left;cursor:pointer}.weight-picker-menu>button:hover,.weight-picker-menu>button:focus{outline:none;background:#eef7f5}.weight-picker-menu>button[aria-selected=true]{background:#e6f3f0}.weight-picker-menu>button:focus-visible{box-shadow:inset 0 0 0 2px #238f9b}.weight-picker-check{color:#168c7c;font-weight:700}.weight-history .weight-picker-button{margin-left:0}.weight-filters label:has(.weight-picker-button){min-width:155px}@media(max-width:700px){.weight-picker-button{min-width:0}.weight-filters label:has(.weight-picker-button){min-width:135px}}@media print{.weight-picker-menu{display:none}}
.weight-entry .weight-entry-table .weight-note-cell{min-width:185px;width:24%;vertical-align:top}.weight-note-editor{border:1px solid #c9dcdf;border-radius:10px;background:#f7fbfb;overflow:hidden}.weight-note-editor summary{display:flex;justify-content:space-between;gap:12px;padding:12px;color:#176b75;font-weight:650;cursor:pointer;list-style:none;min-height:42px;box-sizing:border-box}.weight-note-editor summary::-webkit-details-marker{display:none}.weight-note-editor summary:focus-visible,.weight-note-editor textarea:focus-visible{outline:2px solid #238f9b;outline-offset:-2px}.weight-note-editor[open] summary{border-bottom:1px solid #dce7e8}.weight-note-editor.has-note{border-color:#209883;background:#edf8f4}.weight-note-editor textarea{display:block;box-sizing:border-box;width:calc(100% - 16px);min-height:100px;margin:8px;padding:9px;border:1px solid #cadbdf;border-radius:7px;resize:vertical;background:white;color:#233e48;font:inherit;line-height:1.5}.weight-note-editor small{display:block;padding:0 8px 8px;color:#647b83;font-size:10px}.weight-history #weightHistoryRows td.weight-history-note{min-width:230px;max-width:420px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;vertical-align:top;color:#284f5b}.weight-history td.weight-history-staff{min-width:140px;max-width:220px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}@media(max-width:700px){.weight-entry .weight-entry-table .weight-note-cell{grid-column:1/-1;width:auto;min-width:0}}@media print{.weight-history #weightHistoryRows td.weight-history-note{min-width:0;max-width:none}}
.weight-items{margin-bottom:10px;border:1px solid #bddbd6;border-radius:10px;background:#f1f9f6;padding:10px;min-width:190px}.weight-items summary{font-weight:700;color:#176b62;cursor:pointer;padding:3px}.weight-items p{font-size:12px;color:#526b77;white-space:normal;line-height:1.5}.weight-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:260px}.weight-item-grid label{display:grid;gap:5px;font-size:12px;color:#345866}.weight-entry .weight-item-grid input{width:100%;min-width:0;box-sizing:border-box}.weight-item-summary{min-width:150px;max-width:220px;white-space:normal!important}.weight-item-summary summary{cursor:pointer;color:#176b62;font-weight:650}.weight-item-summary details div{padding-top:6px}.weight-history td:last-child{min-width:70px}.weight-edit-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #cadbdf;border-radius:18px;color:#233e48;background:white;box-shadow:0 20px 80px #163d4a40}.weight-edit-dialog::backdrop{background:#122f4166}.weight-edit-dialog h2{margin:0 0 10px}.weight-edit-dialog p{font-size:13px;line-height:1.5;color:#526b77}.weight-edit-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.weight-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.weight-edit-dialog label{display:grid;gap:7px;font-size:13px;font-weight:600}.weight-edit-dialog input,.weight-edit-dialog select,.weight-edit-dialog textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #cadbdf;border-radius:8px;background:white;color:#233e48;font:inherit}.weight-edit-dialog input:focus-visible,.weight-edit-dialog select:focus-visible,.weight-edit-dialog textarea:focus-visible,.weight-items summary:focus-visible{outline:2px solid #168c7c;outline-offset:2px}.weight-edit-dialog .weight-item-grid{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}.weight-edit-dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.weight-edit-dialog .is-error{color:#a32929}.weight-edit-dialog textarea{resize:vertical}.weight-edit-dialog :disabled{opacity:.65}@media(max-width:600px){.weight-edit-dialog{padding:18px}.weight-edit-grid,.weight-edit-dialog .weight-item-grid{grid-template-columns:1fr 1fr}.weight-item-grid{min-width:0}.weight-edit-dialog input,.weight-edit-dialog select,.weight-edit-dialog textarea{font-size:16px}}
.weight-history [data-edit-heading],.weight-history td:has(>[data-edit-weight]){position:sticky;right:0;background:#fff;box-shadow:-5px 0 8px #163d4a0a;z-index:1}.weight-history [data-edit-heading]{background:#f1f7f7}.weight-history td:has(>[data-edit-weight]){min-width:70px}
