.ux-results{position:absolute;top:100%;left:0;right:0;z-index:80;background:#fffdf8;border:1px solid #ddd6c7;border-radius:12px;box-shadow:0 16px 40px #193d3220;max-height:360px;overflow:auto;min-width:270px}.ux-results button{display:flex;justify-content:space-between;gap:16px;width:100%;padding:15px;border:0;background:transparent;text-align:left;color:#193d32;cursor:pointer}.ux-results button:hover,.ux-results button:focus{background:#efeade}.ux-results small{opacity:.7}.ux-results p{padding:16px}.ux-help{position:fixed;right:24px;bottom:24px;z-index:55;box-shadow:0 8px 30px #193d3230}.ux-answer{white-space:pre-wrap;line-height:1.8;margin-top:24px}.ux-tour-copy{font-size:18px;line-height:1.8;margin:30px 0}#voice-dialog.ux-voice{max-width:none;width:100vw;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;background:#102c25;color:#fffdf8;display:none;padding:clamp(24px,6vw,96px);text-align:center}#voice-dialog.ux-voice[open]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px}.ux-voice .dialog-head{position:absolute;top:30px;left:30px;right:30px}.ux-voice .voice-orb{width:min(90vw,960px);height:220px;background:none;border-radius:0;box-shadow:none;margin:0}.ux-voice canvas{width:100%;height:100%}.ux-voice .voice-examples{display:none}.ux-voice input{max-width:680px;width:100%}.ux-voice .muted{color:#c5d3cc;max-width:680px}.ux-voice .icon-button{color:white}.ux-camera{position:relative;background:#102c25;border-radius:16px;overflow:hidden}.ux-camera video{display:block;width:100%;min-height:220px;max-height:50dvh;object-fit:contain}.ux-frame{position:absolute;inset:8%;border:3px solid #d7bb7c;border-radius:10px;pointer-events:none;box-shadow:0 0 0 100px #0005}.ux-camera video:empty{min-height:220px}@media(max-width:700px){.topbar{flex-wrap:wrap;height:auto;padding-bottom:12px}.topbar .search{display:flex!important;order:10;width:100%;flex-basis:100%;margin-top:8px}.topbar .search input{width:100%}.topbar .search kbd{display:none}.ux-help{bottom:86px;right:16px;padding:12px}.ux-voice .voice-orb{height:160px}.ux-voice .dialog-actions{flex-wrap:wrap}.ux-results{min-width:0}.ux-voice h2{font-size:30px}}
.scan-live video{min-height:0!important;max-height:none;width:100%;height:auto;display:block}.scan-live #scan-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#scan-editor{display:block;width:auto;height:auto;max-height:55dvh;margin:auto;touch-action:none;border-radius:12px;background:#193d32;max-width:100%}.ux-voice .button{min-height:48px}#scan-retake,#scan-read,#scan-switch,#ux-capture{min-height:48px}@media(max-width:600px){#modal:has(#scan-editor),#modal:has(#ux-video){width:100%;max-height:96dvh;padding:16px}#modal .dialog-actions{flex-wrap:wrap}#voice-dialog.ux-voice{padding:60px 20px 24px;overflow:auto;justify-content:center}#voice-dialog.ux-voice .voice-orb{flex-shrink:0;height:140px}#voice-dialog.ux-voice h2{margin-top:12px}}

#scan-auto-preview{display:block;max-width:100%;max-height:55dvh;width:auto;height:auto;margin:16px auto;border-radius:10px}
