/* Diseño universal de una sola mano */
body{background:#061a2e}
.app-shell{width:min(100%,480px);margin:0 auto;position:relative;box-shadow:0 0 45px rgba(0,0,0,.28);padding-bottom:calc(246px + env(safe-area-inset-bottom))}
.topbar{height:62px;padding:env(safe-area-inset-top) 10px 0;grid-template-columns:74px 1fr 44px}
.topbar img{width:74px;height:42px}.topbar>div{padding-left:9px}.topbar strong{font-size:13px}.icon-button{width:42px;height:42px}
.content{width:100%;padding:9px}.operator{min-height:47px;margin-bottom:8px;padding:8px 11px}
.scan-card{position:fixed;z-index:50;left:50%;right:auto;bottom:calc(75px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 16px),464px);margin:0;padding:12px;border:2px solid #86c5f2;border-radius:19px;box-shadow:0 -10px 36px rgba(3,23,42,.28)}
.scan-card .section-title{margin-bottom:9px}.scan-card .section-title span{display:none}.scan-card .section-title h2{font-size:14px}
.camera-button{min-width:110px;height:46px;border-radius:13px;font-size:10px}
.code-field>span{margin:0 0 6px 2px}.code-field>div{grid-template-columns:minmax(0,1fr) 112px;border-width:2px;border-radius:15px}
.code-field input{height:66px;font-size:17px;padding:0 12px}.code-field button{min-width:102px;margin:5px;border-radius:11px;padding:0 8px;font-size:11px}
.actions.single{position:fixed;z-index:51;left:50%;right:auto;bottom:calc(7px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 16px),464px);margin:0}
.actions.single .secondary{height:61px;border-radius:15px;background:#0874dc;color:#fff;border:0;box-shadow:0 9px 26px rgba(5,69,128,.32);font-size:0}
.actions.single .secondary:after{content:'NUEVA CONSULTA';font-size:12px;font-weight:900;letter-spacing:.1em}
.data-card{padding:12px;border-radius:16px}.data-card .section-title span{display:none}.data-card .section-title h2{font-size:14px}
.data-grid{grid-template-columns:1fr 1fr;gap:7px}.data-item{min-height:57px;padding:9px}.data-item.wide{grid-column:1/-1}
.notice{min-height:58px;margin-bottom:8px}.camera-frame{max-height:45dvh}
.login-screen,.install-screen,.device-modal{width:min(100%,480px);margin:auto}
button,input{touch-action:manipulation}
.scan-card .section-title{display:grid;grid-template-columns:1fr auto auto;gap:7px;align-items:center}.mic-button{height:46px;min-width:104px;border:1px solid #9dcbea;border-radius:13px;background:#eaf6ff;color:#075d9e;font-size:9px;font-weight:900;letter-spacing:.06em}.mic-button:before{content:'●';display:inline-block;margin-right:6px;color:#e42e46}.mic-button.listening{background:#e42e46;border-color:#e42e46;color:#fff;animation:voicePulse .8s ease-in-out infinite}.mic-button.listening:before{color:#fff}@keyframes voicePulse{50%{transform:scale(.97);box-shadow:0 0 0 6px rgba(228,46,70,.14)}}
@media(max-width:390px){.mic-button{min-width:48px;width:48px;font-size:0}.mic-button:before{content:'🎤';margin:0;font-size:19px}.camera-button{min-width:82px}}
