.unit-conversion-helper{margin-top:.5rem;padding:.75rem;border:1px solid var(--pos-border, #d1d9e6);border-radius:10px;background:var(--pos-surface-hover, #eef2f8);font-size:.75rem}.unit-conversion-helper__title{margin:0 0 .5rem;font-weight:700;color:var(--pos-ink, #1e3a5f)}.unit-conversion-helper__row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.5rem}.unit-conversion-helper__row+.unit-conversion-helper__row{margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--pos-border, #d1d9e6)}.unit-conversion-helper__field{display:flex;flex-direction:column;gap:.25rem;min-width:7rem;flex:1}.unit-conversion-helper__field--qty{width:6rem;flex:0 0 auto}.unit-conversion-helper__label{color:var(--pos-muted, #5a6f8c)}.unit-conversion-helper__input{width:100%;padding:.375rem .5rem;font-size:.875rem;border:1px solid var(--pos-border, #d1d9e6);border-radius:8px;background:var(--pos-surface-elevated, #fbfcfe);color:var(--pos-ink, #1e3a5f)}.unit-conversion-helper__input:focus{outline:none;border-color:var(--pos-ink, #1e3a5f);box-shadow:0 0 0 3px #1e3a5f1f}.unit-conversion-helper__apply{min-height:34px;padding:.375rem .75rem;border:none;border-radius:8px;background:var(--pos-ink, #1e3a5f);color:#fff;font-size:.875rem;font-weight:700;cursor:pointer}.unit-conversion-helper__apply:hover:not(:disabled){background:#152d4a}.unit-conversion-helper__apply:disabled{background:var(--pos-surface-active, #e4eaf3);color:var(--pos-muted, #5a6f8c);cursor:not-allowed}.unit-conversion-helper__coil-hint{margin:0;padding-bottom:.375rem;color:var(--pos-muted, #5a6f8c)}.weight-entry-modal{--wem-ink: #1e3a5f;--wem-muted: #5a6f8c;--wem-surface: #f4f6fa;--wem-surface-elevated: #fbfcfe;--wem-border: #d1d9e6;--wem-hover: #eef2f8;--wem-active: #e4eaf3;position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:1.25rem}.weight-entry-modal__backdrop{position:absolute;inset:0;border:none;background:#0f172a8c;cursor:pointer}.weight-entry-modal__panel{position:relative;width:min(560px,100%);max-height:min(92vh,720px);overflow-y:auto;background:var(--wem-surface-elevated);color:var(--wem-ink);border:1px solid var(--wem-border);border-radius:16px;box-shadow:0 25px 60px #1e3a5f33;padding:1.75rem 2rem 2rem}.weight-entry-modal__title{margin:0;font-size:1.5rem;font-weight:800;line-height:1.25;color:var(--wem-ink)}.weight-entry-modal__meta{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:.65rem}.weight-entry-modal__price,.weight-entry-modal__stock{margin:0;font-size:1rem;font-weight:600;color:var(--wem-muted)}.weight-entry-modal__stock{color:var(--wem-ink)}.weight-entry-modal__tabs{display:flex;gap:.5rem;margin:1.35rem 0 1rem}.weight-entry-modal__tab{flex:1;min-height:48px;border:2px solid var(--wem-border);border-radius:10px;padding:.6rem .5rem;background:var(--wem-surface);color:var(--wem-muted);font-size:.9375rem;font-weight:700;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.weight-entry-modal__tab:hover{border-color:var(--wem-ink);color:var(--wem-ink);background:var(--wem-hover)}.weight-entry-modal__tab.is-active{border-color:var(--wem-ink);background:var(--wem-active);color:var(--wem-ink)}.weight-entry-modal__field{display:flex;flex-direction:column;gap:.5rem}.weight-entry-modal__field>span{font-size:1rem;font-weight:700;color:var(--wem-ink)}.weight-entry-modal__input{width:100%;min-height:64px;padding:.75rem 1rem;font-size:2rem;font-weight:700;line-height:1.2;color:var(--wem-ink);background:var(--wem-surface);border:2px solid var(--wem-border);border-radius:12px;outline:none;transition:border-color .15s,box-shadow .15s}.weight-entry-modal__input:focus{border-color:var(--wem-ink);box-shadow:0 0 0 4px #1e3a5f1f;background:var(--wem-surface-elevated)}.weight-entry-modal__scale-panel{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:.5rem 0}.weight-entry-modal__scale-display{width:100%;text-align:center;padding:1.25rem 1rem;background:linear-gradient(180deg,var(--wem-hover) 0%,var(--wem-active) 100%);border:2px solid var(--wem-border);border-radius:14px}.weight-entry-modal__scale-value{display:block;font-size:3rem;font-weight:800;line-height:1.1;color:var(--wem-ink);font-variant-numeric:tabular-nums}.weight-entry-modal__scale-value.is-unstable{color:#b45309}.weight-entry-modal__scale-unit{display:block;margin-top:.25rem;font-size:1.125rem;font-weight:700;color:var(--wem-muted)}.weight-entry-modal__scale-status{margin:.75rem 0 0;font-size:.9375rem;font-weight:600;color:var(--wem-muted)}.weight-entry-modal__scale-status.is-stable{color:var(--wem-ink)}.weight-entry-modal__scale-hint{margin:0;font-size:.875rem;color:var(--wem-muted);text-align:center;line-height:1.45}.weight-entry-modal__preview{margin:1.25rem 0 0;padding:.85rem 1rem;font-size:1.125rem;font-weight:700;color:var(--wem-ink);background:var(--wem-hover);border-radius:10px;text-align:center}.weight-entry-modal__error{margin:.75rem 0 0;font-size:1rem;font-weight:600;color:#dc2626}.weight-entry-modal__actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}.weight-entry-modal__btn{min-height:48px;padding:.65rem 1.35rem;font-size:1rem;font-weight:700;border-radius:10px;border:none;cursor:pointer}.weight-entry-modal__btn--ghost{background:var(--wem-surface);color:var(--wem-ink);border:2px solid var(--wem-border)}.weight-entry-modal__btn--ghost:hover{background:var(--wem-hover);border-color:var(--wem-ink)}.weight-entry-modal__btn--primary{background:var(--wem-ink);color:#fff}.weight-entry-modal__btn--primary:hover:not(:disabled){background:#152d4a}.weight-entry-modal__btn--primary:disabled{background:var(--wem-active);color:var(--wem-muted);opacity:1;cursor:not-allowed}.weight-entry-modal__btn--scale{width:100%;background:var(--wem-ink);color:#fff}.weight-entry-modal__btn--scale:hover:not(:disabled){background:#152d4a}.weight-entry-modal__btn--scale:disabled{background:var(--wem-active);color:var(--wem-muted);opacity:1;cursor:not-allowed}.weight-entry-modal__btn--block{width:100%}@media(max-width:520px){.weight-entry-modal{padding:.75rem}.weight-entry-modal__panel{padding:1.25rem 1.25rem 1.5rem;border-radius:12px}.weight-entry-modal__title{font-size:1.25rem}.weight-entry-modal__input{min-height:56px;font-size:1.5rem}.weight-entry-modal__scale-value{font-size:2.25rem}.weight-entry-modal__actions{margin-top:1.25rem}.weight-entry-modal__btn{flex:1 1 auto}}
