[data-label-manual] label { display:block; margin-top:10px; }
[data-label-manual] input, [data-label-manual] select { min-width:0; width:100%; }
.label-live-overlay { position:fixed; inset:0; z-index:10010; background:#101418; overflow:auto; display:flex; justify-content:center; }
.test-environment .label-live-overlay { top:var(--test-banner-height, 44px); }
.label-live-dialog { width:100%; max-width:760px; color:#fff; padding:12px; display:flex; flex-direction:column; gap:12px; margin:auto; }
.label-live-dialog header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.label-live-dialog header strong { font-size:22px; }
.label-live-dialog button { min-height:48px; padding:10px 16px; border:0; border-radius:10px; color:#901624; background:#ffe7e9; font-family:inherit; font-weight:700; font-size:16px; cursor:pointer; }
.label-live-camera { width:100%; aspect-ratio:4 / 3; position:relative; overflow:hidden; border-radius:12px; background:#000; }
.label-live-camera video { position:absolute; width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; }
.label-live-guide { position:absolute; left:3%; width:94%; top:26%; height:48%; border:3px solid #ff5163; border-radius:12px; box-shadow:0 0 0 1000px #0005; pointer-events:none; box-sizing:border-box; }
.label-live-instruction { text-align:center; margin:0; font-size:15px; color:#fff; }
.label-live-fields { display:flex; justify-content:space-around; gap:8px; color:#fff; }
.label-live-fields span { flex:1; text-align:center; padding:10px 3px; border-radius:8px; background:#26333c; font-size:14px; }
.label-live-fields b { display:block; font-size:22px; }
.label-live-dialog [data-live-status] { margin:0; min-height:56px; padding:10px; color:#fff; background:#26333c; border-radius:8px; font-size:15px; text-align:center; }
.label-live-dialog [data-live-status][data-state=error] { background:#652b32; }
.label-live-controls { display:flex; gap:8px; justify-content:center; }
.label-live-dialog [hidden] { display:none!important; }
@media (orientation:landscape) and (max-height:550px) { .label-live-dialog { max-width:660px; } .label-live-camera { aspect-ratio:3 / 1; } }

@media (max-width: 600px) and (orientation: portrait) { .label-live-camera { aspect-ratio: 1 / 1.1; } .label-live-guide { top: 17%; height: 66%; } }
