.viewer-heading-tools{display:contents}
.label-scan-short{display:none}
.label-scan-open{position:absolute;right:22px;top:74px;z-index:3;min-height:44px;box-shadow:0 3px 14px #243d2f14}
.label-dialog{width:min(560px,calc(100vw - 24px));max-height:90dvh;padding:24px;overflow:auto}
.label-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.label-heading h2{margin:0;font-size:23px;line-height:1.25}.label-heading .button{flex:none}
.label-dialog p{line-height:1.6}.label-dialog .label-status{color:#253f32;font-size:14px;overflow-wrap:anywhere;min-height:44px}
.label-camera{position:relative;background:#182b22;border-radius:12px;overflow:hidden;aspect-ratio:4/3}.label-camera video{width:100%;height:100%;object-fit:contain;display:block}.label-frame{position:absolute;inset:15%;border:2px solid #fff;border-radius:12px;pointer-events:none}
.label-actions{display:flex;gap:8px;flex-wrap:wrap}.label-actions .button{min-height:44px;white-space:normal;line-height:1.3;height:auto}
.label-photo{position:relative;overflow:hidden;cursor:pointer}.label-photo input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.label-photo:focus-within{outline:2px solid #315c49;outline-offset:3px}
.label-manual{margin-top:20px}.label-manual summary{cursor:pointer;padding:12px 0}.label-manual form>label{display:block;font-size:13px;margin:12px 0 8px}.label-manual input{flex:1;min-width:0;width:160px;border:1px solid #bfcfbd;border-radius:8px;padding:10px;font:inherit;font-size:16px}
.label-dialog .label-privacy{font-size:12px;color:#576557;margin-bottom:0}
.label-help{margin-top:18px;padding-top:14px;border-top:1px solid #d6e0d5}.label-help p{font-size:13px;margin:0 0 12px}.label-help .button{min-height:44px;height:auto;white-space:normal;text-align:center;line-height:1.5}
.label-result{position:absolute;z-index:5;left:20px;bottom:94px;width:min(410px,calc(100% - 40px));background:#fff;border:1px solid #d6e0d5;border-left:4px solid #d38c16;border-radius:12px;padding:12px 14px;box-shadow:0 8px 30px #243d2f20;max-height:45%;overflow:auto}
.label-result summary{cursor:pointer;min-height:44px;padding-right:42px;line-height:1.5}.label-result summary strong{font-size:15px;overflow-wrap:anywhere}.label-result summary span{display:block;font-size:11px;color:#51634f;margin-left:16px}.label-result>.icon-button{position:absolute;right:8px;top:8px;font-size:25px;min-width:44px;min-height:44px}.label-result p{font-size:12px;line-height:1.5;color:#51634f;margin:6px 0 10px}.label-result .button{font-size:12px;padding:8px 10px;flex:1}.label-result select{max-width:100%;width:100%;min-height:44px;margin:6px 0 10px;border:1px solid #bfcfbd;border-radius:7px;background:#fff;font:inherit;font-size:14px}.label-result label{font-size:12px}
@media(max-width:760px){.label-scan-open{right:14px;top:69px;padding:8px 12px;font-size:12px}.label-dialog{padding:18px}.label-heading h2{font-size:20px}.label-result{left:12px;width:calc(100% - 24px);bottom:98px;padding:8px 10px}.label-result p{font-size:11px}.label-result summary strong{font-size:13px}.label-result .button{padding:8px;font-size:11px}}
