/* MIGA V84 · Diseño para celular (opción D). Solo aplica con body.m84 (pantallas ≤ 760 px). */
body.m84{padding-top:0!important;background:#F7F5F0!important;font-family:Inter,system-ui,sans-serif!important;color:#151711}
body.m84 #miga-test-banner,
body.m84 .shell .main>.top,
body.m84 #migaDrawerToggle,
body.m84 #migaDrawer,
body.m84 #migaDrawerShade,
body.m84 #content>.notice{display:none!important}
body.m84 .shell{display:block!important;max-width:none!important}
body.m84 .shell .main{padding:0 0 calc(110px + env(safe-area-inset-bottom))!important;min-width:0}
body.m84 #content{padding:16px 16px 0!important}

/* ---- barra superior ---- */
.m84-head{background:#11120E;color:#fff;padding:calc(14px + env(safe-area-inset-top)) 16px 20px;border-radius:0 0 28px 28px;display:flex;flex-direction:column;gap:14px;font-family:Inter,system-ui,sans-serif}
.m84-bar{display:flex;align-items:center;gap:10px;min-height:44px}
.m84-flex{flex:1}
.m84-branch{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border:1px solid #3a3b34;border-radius:22px;color:#fff;font-size:14px;font-weight:600;max-width:60vw}
.m84-branch>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m84-branch select{position:absolute;inset:0;width:100%;height:100%;opacity:0;font-size:16px;cursor:pointer}
.m84-branch.single{padding-right:16px}
.m84-test{padding:3px 7px;border-radius:7px;background:#4A1214;color:#FFB3B5;font-size:10px;font-weight:700;letter-spacing:.5px}
.m84-acc{display:flex}
.m84-acc .miga-account{position:relative}
body.m84 .m84-acc #miga-user-toggle{width:44px!important;height:44px!important;border-radius:22px!important;background:#fff!important;color:#11120E!important;font:700 16px Inter,system-ui,sans-serif!important;border:0!important}
body.m84 .m84-acc #miga-user-menu{top:52px!important;right:0!important;color:#141b17;z-index:70}
.m84-hello{display:flex;flex-direction:column;gap:4px}
.m84-hello span{font-size:14px;color:#C9CABF}
.m84-hello h1,.m84-titlerow h1{margin:0;font:800 26px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.6px;color:#fff}
.m84-titlerow{display:flex;align-items:center;gap:10px}
.m84-back{width:44px;height:44px;flex:none;border-radius:22px;border:1px solid #3a3b34;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;padding:0}
.m84-todos{display:flex;flex-direction:column;gap:8px}
.m84-todo{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 12px;border:0;border-radius:14px;background:#1E1F1A;color:#fff;text-align:left;width:100%;font:inherit}
.m84-todo i{width:10px;height:10px;border-radius:5px;flex:none}
.m84-todo span{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}
.m84-todo b{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m84-todo small{font-size:12px;color:#C9CABF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m84-todo svg{color:#8A8C80;flex:none}
.m84-link{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0;border:0;background:none;color:#06492E;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
.m84-link.light{color:#fff}

/* ---- Inicio ---- */
.m84-h2{margin:0;font:700 13px Inter,system-ui,sans-serif;letter-spacing:1px;color:#5E6056}
.m84-h2row{display:flex;align-items:center;justify-content:space-between;margin-top:18px}
#content>.m84-h2:first-child{margin-top:2px}
.m84-card{background:#fff;border:1px solid #E6E1D6;border-radius:16px;padding:14px;margin-top:10px;display:flex;flex-direction:column;gap:8px}
.m84-sales-top{display:flex;align-items:center;gap:12px}
.m84-wicon{width:52px;height:52px;flex:none;border-radius:14px;background:#FDF3DC;color:#8A5A00;display:flex;align-items:center;justify-content:center}
.m84-wicon.rain{background:#E6EEF7;color:#1F4E79}
.m84-sales-copy{flex:1;min-width:0}
.m84-muted{margin:0;font-size:13px;line-height:1.45;color:#5E6056}
.m84-muted.strong{font-weight:600;font-size:12px}
.m84-sales-row{display:flex;align-items:center;gap:10px}
.m84-sales-value{font:800 26px Inter,system-ui,sans-serif;letter-spacing:-.5px;color:#151711}
.m84-tag{padding:4px 8px;border-radius:8px;font-size:12px;font-weight:700}
.m84-tag.warn{background:#FDEFD9;color:#8A4B00}
.m84-tag.ok{background:#E3EFE6;color:#06492E}
.m84-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.m84-stat{background:#fff;border:1px solid #E6E1D6;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px;min-width:0}
.m84-stat span{font-size:12px;font-weight:600;color:#5E6056}
.m84-stat strong{font:800 17px Inter,system-ui,sans-serif;letter-spacing:-.3px;color:#151711;white-space:nowrap}
.m84-stat strong.bad{color:#B3171D}
.m84-stat strong.good{color:#06492E}
.m84-stat small{font-size:11px;color:#5E6056}

/* ---- barra inferior ---- */
body.m84 #mobileNav.m84-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;display:flex!important;justify-content:space-around!important;gap:0!important;height:auto!important;padding:6px 8px calc(8px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #E6E1D6!important;box-shadow:none!important;border-radius:0!important;z-index:50!important;margin:0!important;width:auto!important}
body.m84 #mobileNav.m84-nav button{position:relative!important;flex:1!important;min-height:56px!important;min-width:0!important;border:0!important;background:transparent!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:0!important;color:#5E6056!important;font:600 11px Inter,system-ui,sans-serif!important;box-shadow:none!important;border-radius:0!important}
body.m84 #mobileNav.m84-nav button.active{color:#06492E!important}
body.m84 #mobileNav.m84-nav .m84-pill{width:52px;height:30px;border-radius:15px;display:flex!important;align-items:center;justify-content:center;font-size:inherit!important}
body.m84 #mobileNav.m84-nav button.active .m84-pill{background:#E3EFE6}
.m84-count{position:absolute;top:2px;left:50%;margin-left:6px;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;border-radius:9px;background:#C4161C;color:#fff;font:700 11px/18px Inter,system-ui,sans-serif;font-style:normal;text-align:center}
.m84-dot{position:absolute;top:4px;left:50%;margin-left:10px;width:10px;height:10px;border-radius:5px;background:#C4161C;border:2px solid #fff}

/* ---- hoja Más ---- */
#m84Sheet[hidden]{display:none}
.m84-sheet-shade{position:fixed;inset:0;bottom:calc(72px + env(safe-area-inset-bottom));background:rgba(17,18,14,.55);z-index:45}
.m84-sheet{position:fixed;left:0;right:0;bottom:calc(70px + env(safe-area-inset-bottom));z-index:46;background:#fff;border-radius:26px 26px 0 0;padding:10px 16px 14px;display:flex;flex-direction:column;gap:12px;box-shadow:0 -10px 30px rgba(0,0,0,.25);max-height:75vh;overflow:auto;font-family:Inter,system-ui,sans-serif;animation:m84up .18s ease-out}
@keyframes m84up{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
.m84-grab{align-self:center;width:40px;height:5px;border-radius:3px;background:#DDD7CA}
.m84-sheet-head{display:flex;align-items:center;justify-content:space-between}
.m84-sheet-head h2{margin:0;font:800 22px Inter,system-ui,sans-serif;color:#151711}
.m84-x{width:44px;height:44px;border:0;border-radius:22px;background:#F2EEE5;color:#151711;display:flex;align-items:center;justify-content:center;padding:0}
.m84-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.m84-tile{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:14px;min-height:104px;padding:14px 16px;box-sizing:border-box;border-radius:18px;border:1px solid #E6E1D6;background:#fff;color:#151711;text-align:left;text-decoration:none;font:inherit}
.m84-tile.green{background:#06492E;border-color:#06492E;color:#fff}
.m84-tile.dark{background:#11120E;border-color:#11120E;color:#fff}
.m84-tile-txt{display:flex;flex-direction:column;gap:2px}
.m84-tile-txt b{font-size:17px;font-weight:800}
.m84-tile-txt small{font-size:12px;opacity:.8}
.m84-tile-badge{position:absolute;top:12px;right:12px;padding:3px 7px;border-radius:8px;background:#FBE3E3;color:#9B1C1C;font-size:10px;font-weight:700}
.m84-logout{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;background:none;color:#9B1C1C;font:600 15px Inter,system-ui,sans-serif}

/* ---- el resto de las pantallas, más cómodo en el celular ---- */
body.m84 input,body.m84 select,body.m84 textarea{font-size:16px!important}
body.m84 #content .btn{min-height:44px}
body.m84 #content .btn.small{min-height:40px;font-size:13px!important}
body.m84 #content .panel{border-radius:18px!important;padding:16px!important;box-shadow:none!important;border-color:#E6E1D6!important}
body.m84 #content .sectionheading h2,body.m84 #content .panel>h2{font:800 19px Inter,system-ui,sans-serif!important;letter-spacing:-.3px}
body.m84 #content .fin-bar{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
body.m84 #content .fin-bar::-webkit-scrollbar{display:none}
body.m84 #content .fin-bar .btn{flex:none}
/* Cuentas a pagar: cada factura como tarjeta */
body.m84 .fin-table-wrap{overflow:visible!important}
body.m84 .fin-table{min-width:0!important;border-collapse:separate!important}
body.m84 .fin-table thead{display:none}
body.m84 .fin-table tbody{display:flex;flex-direction:column;gap:10px}
body.m84 .fin-table tr{display:grid;grid-template-columns:1fr auto;grid-template-areas:"prov imp" "venc est" "rubro ver";gap:6px 10px;padding:14px;background:#fff;border:1px solid #E6E1D6;border-radius:16px}
body.m84 .fin-table td{padding:0!important;border:0!important;font-size:13px}
body.m84 .fin-table td:nth-child(1){grid-area:venc;color:#5E6056}
body.m84 .fin-table td:nth-child(2){grid-area:prov;font-size:16px;font-weight:700}
body.m84 .fin-table td:nth-child(3){grid-area:rubro}
body.m84 .fin-table td:nth-child(3) select{max-width:100%!important;min-height:40px}
body.m84 .fin-table td:nth-child(4){grid-area:imp;text-align:right;font-size:16px}
body.m84 .fin-table td:nth-child(5){grid-area:est;text-align:right}
body.m84 .fin-table td:nth-child(6){grid-area:ver;text-align:right;align-self:center}
/* Ventanas emergentes como hoja desde abajo */
body.m84 .modalback{align-items:flex-end!important;padding:0!important;z-index:80!important}
body.m84 .modal{width:100%!important;max-height:92vh!important;border-radius:24px 24px 0 0!important;padding:18px 16px calc(18px + env(safe-area-inset-bottom))!important}
body.m84 #miga-users-layer{align-items:flex-end!important;padding:0!important}
body.m84 .miga-users-window{max-height:92vh!important;border-radius:24px 24px 0 0!important}
/* Facturas: cada comprobante como tarjeta */
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap{overflow:visible!important;background:none!important;border:0!important;padding:0!important}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap table{min-width:0!important}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap thead{display:none}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap tbody{display:flex;flex-direction:column;gap:10px}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap tr{display:grid;grid-template-columns:1fr auto;grid-template-areas:"prov imp" "num est" "fecha acc";gap:6px 10px;padding:14px;background:#fff;border:1px solid #E6E1D6;border-radius:16px}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td{padding:0!important;border:0!important;font-size:13px}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td:nth-child(1){grid-area:fecha;color:#5E6056;align-self:center}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td:nth-child(2){display:none}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td:nth-child(3){grid-area:prov;font-size:16px}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td:nth-child(4){grid-area:num;color:#5E6056}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td:nth-child(5){grid-area:imp;text-align:right;font-size:16px}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td:nth-child(6){grid-area:est;text-align:right}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td:nth-child(7){grid-area:acc;text-align:right}
body.m84 .toolbar:has(#invoiceSearch)+.tablewrap td:nth-child(n+8){display:none}
/* ---- V85 · pantallas completas ---- */
.m84-hstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.m84-hstats.two{grid-template-columns:1fr 1fr}
.m84-hstats>div{background:#1E1F1A;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.m84-hstats span{font-size:12px;color:#C9CABF}
.m84-hstats b{font:800 20px Inter,system-ui,sans-serif;color:#fff;white-space:nowrap}
.m84-hstats small{font-size:12px;color:#C9CABF}
.m84-hstats small.bad{color:#FF9A9D}
.m84-seg{display:flex;gap:4px;padding:4px;background:#ECE7DC;border-radius:14px;margin-bottom:10px}
.m84-seg button{flex:1;min-height:40px;border:0;border-radius:11px;background:transparent;color:#5E6056;font:600 14px Inter,system-ui,sans-serif}
.m84-seg button.on{background:#fff;color:#151711;font-weight:700;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.m84-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px 10px;padding:0 16px}
.m84-chips::-webkit-scrollbar{display:none}
.m84-chips button{flex:none;min-height:38px;padding:0 14px;border-radius:19px;border:1px solid #DDD7CA;background:#fff;color:#151711;font:600 13px Inter,system-ui,sans-serif}
.m84-chips button.on{background:#11120E;border-color:#11120E;color:#fff}
.m84-chips button span{opacity:.6;margin-left:2px}
.m84-search{display:flex;align-items:center;gap:8px;min-height:46px;padding:0 12px;background:#fff;border:1px solid #E6E1D6;border-radius:14px;color:#5E6056;margin-bottom:10px}
.m84-search input{flex:1;border:0;outline:none;background:transparent;font:16px Inter,system-ui,sans-serif;color:#151711;min-width:0;padding:0}
.m84-list{display:flex;flex-direction:column;gap:10px}
.m84-item{display:flex;flex-direction:column;gap:6px;width:100%;padding:14px;background:#fff;border:1px solid #E6E1D6;border-radius:16px;text-align:left;color:#151711;font:inherit;box-sizing:border-box}
.m84-item[hidden]{display:none}
.m84-item.crit{border-color:#F3B8BA;background:#FFF8F8}
.m84-item-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.m84-item-row b{font-size:16px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis}
.m84-item-row strong{font-size:16px;font-weight:800;white-space:nowrap}
.m84-item-row small,.m84-msg{font-size:13px;color:#5E6056;min-width:0}
.m84-msg{line-height:1.4}
.m84-dotc{display:inline-block;width:9px;height:9px;border-radius:5px;margin-right:8px;vertical-align:1px}
.m84-badge{flex:none;padding:3px 8px;border-radius:8px;font:700 11px Inter,system-ui,sans-serif;font-style:normal;white-space:nowrap}
.m84-badge.bad{background:#FBE3E3;color:#9B1C1C}.m84-badge.warn{background:#FDEFD9;color:#8A4B00}.m84-badge.ok{background:#E3EFE6;color:#06492E}.m84-badge.muted{background:#ECE7DC;color:#3F4139}
.m84-actions{display:flex;gap:6px;flex:none}
.m84-mini{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 12px;border-radius:10px;border:1px solid #DDD7CA;background:#fff;color:#151711;font:600 13px Inter,system-ui,sans-serif}
.m84-mini.ok{background:#06492E;border-color:#06492E;color:#fff}
.m84-empty{margin:8px 0;padding:18px;border:1px dashed #DDD7CA;border-radius:16px;text-align:center;color:#5E6056;font-size:14px}
.m84-detail{margin:16px auto 0;display:flex}
.m84-classic{margin-bottom:10px}
.m84-fab{position:fixed;left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:40}
.m84-fab button{width:100%;min-height:52px;border:0;border-radius:16px;background:#06492E;color:#fff;font:700 16px Inter,system-ui,sans-serif;box-shadow:0 6px 18px rgba(6,73,46,.3)}
body.m84 .shell .main:has(.m84-fab){padding-bottom:calc(180px + env(safe-area-inset-bottom))!important}
.m84-h2.sp{margin:18px 0 0}
.m84-bars{display:flex;gap:8px;align-items:flex-end;height:150px}
.m84-bars>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%}
.m84-bars i{width:100%;border-radius:6px;background:#B9D3C2;display:block}
.m84-bars .today i{background:#06492E}
.m84-bars small{font-size:12px;color:#5E6056;font-weight:600}
.m84-bar-v{font-size:11px;color:#5E6056}
/* La Muni: cada control como tarjeta */
body.m84 .muni-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:14px!important;margin:10px 0!important;background:#fff;border:1px solid #E6E1D6!important;border-radius:16px}
body.m84 .muni-row h3{font:700 16px Inter,system-ui,sans-serif!important;margin:0 0 4px!important}
body.m84 .muni-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
body.m84 .muni-summary{display:flex;flex-wrap:wrap;gap:6px}
body.m84 .muni-summary span{padding:4px 8px;border-radius:8px;background:#ECE7DC;font-size:12px}
body.m84 .muni-toolbar{flex-direction:column;align-items:stretch!important;gap:10px}
/* V86 · estado de sincronización de reservas (celu y compu) */
.m86-sync{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#ECE7DC;color:#3F4139;font:500 13px/1.45 Inter,system-ui,sans-serif}
.m86-sync.bad{background:#FBE3E3;color:#7A1515}
.m86-sync small{display:block;opacity:.75}
/* V87 · Plano del salón a escala en el celular: entra entero en el ancho, sin deslizar */
body.m84 .rp-svgwrap{overflow:visible!important;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important}
body.m84 .rp-svgwrap::after{content:none!important;display:none!important}
body.m84 .rp-svg{min-width:0!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:70vh}
body.m84 #content .panel:has(.rp-svg){padding:12px!important;overflow:hidden}
/* ---- V88 · Fichaje con QR (celu y compu) ---- */
.m88-rrhh .m84-seg{margin-bottom:12px}
.m88-body{display:flex;flex-direction:column;gap:10px;font-family:Inter,system-ui,sans-serif}
.m88-body .m84-card{margin-top:0}
.m88-today{display:flex;flex-direction:column;gap:12px;padding:18px;background:#fff;border:1px solid #E6E1D6;border-radius:18px;max-width:560px}
.m88-eyebrow{font-size:12px;font-weight:700;letter-spacing:1px;color:#5E6056}
.m88-today strong{font:800 22px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.4px;color:#151711}
.m88-scan{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;border:0;border-radius:16px;background:#06492E;color:#fff;font:700 17px Inter,system-ui,sans-serif;cursor:pointer}
.m84-muted.center{text-align:center;font-size:12px}
.m84-muted.small{font-size:12px}
.m88-btn{align-self:flex-start;min-height:44px;padding:0 16px;border:0;border-radius:12px;background:#06492E;color:#fff;font:700 14px Inter,system-ui,sans-serif;cursor:pointer}
.m88-qr{flex-direction:row!important;align-items:center;gap:14px!important}
.m88-qr-img{width:132px;height:132px;flex:none;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #E6E1D6;border-radius:12px;overflow:hidden}
.m88-qr-img img{width:100%;height:100%;image-rendering:pixelated}
.m88-qr-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.m88-qr-copy b{font-size:16px}
.m88-loc{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700}
.m88-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.m88-radius{display:flex;align-items:center;gap:6px;font-size:13px;color:#5E6056}
.m88-radius select{min-height:36px;border:1px solid #DDD7CA;border-radius:10px;padding:0 8px;background:#fff}
.m84-mini.danger{background:#9B1C1C;border-color:#9B1C1C;color:#fff}
/* pantalla completa: cámara y resultado */
#m88Overlay{position:fixed;inset:0;z-index:10000;font-family:Inter,system-ui,sans-serif}
#m88Overlay[hidden]{display:none}
.m88-cam{position:absolute;inset:0;background:#11120E;color:#fff;overflow:hidden}
.m88-cam video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.m88-frame{position:absolute;left:50%;top:45%;width:min(68vw,280px);aspect-ratio:1;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:24px;box-shadow:0 0 0 200vmax rgba(0,0,0,.45)}
.m88-cam-top{position:absolute;left:0;right:0;top:0;padding:calc(16px + env(safe-area-inset-top)) 16px 0;display:flex;align-items:center;justify-content:space-between;font-size:18px}
.m88-x{width:44px;height:44px;border:0;border-radius:22px;background:rgba(255,255,255,.18);color:#fff;display:flex;align-items:center;justify-content:center}
.m88-cam-hint{position:absolute;left:24px;right:24px;top:calc(45% + min(34vw,140px) + 24px);margin:0;text-align:center;font-size:16px;font-weight:600}
.m88-result{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px;text-align:center;color:#fff}
.m88-result.ok{background:#06492E}.m88-result.bad{background:#7A1515}.m88-result.wait{background:#11120E}
.m88-result h1{margin:0;font:800 32px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.6px}
.m88-result p,.m88-result small{margin:0;max-width:320px;color:rgba(255,255,255,.82);font-size:15px;line-height:1.45}
.m88-result small{font-size:12px}
.m88-icon{width:96px;height:96px;border-radius:48px;background:#fff;color:#06492E;display:flex;align-items:center;justify-content:center;font:800 48px Inter,sans-serif}
.m88-result.bad .m88-icon{color:#7A1515}
.m88-who{font-size:16px;color:#CFE3D6}
.m88-time{font:800 56px Inter,system-ui,sans-serif;letter-spacing:-1px}
.m88-dist{display:flex;align-items:center;gap:6px;font-size:14px;color:#CFE3D6}
.m88-actions{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.m88-light{min-width:220px;min-height:52px;border:0;border-radius:16px;background:#fff;color:#06492E;font:700 16px Inter,system-ui,sans-serif;margin-top:12px}
.m88-result.bad .m88-light{color:#7A1515}
.m88-ghost{min-height:44px;border:0;background:none;color:#fff;font:600 15px Inter,system-ui,sans-serif}
.m88-spin{width:48px;height:48px;border-radius:50%;border:4px solid rgba(255,255,255,.25);border-top-color:#fff;animation:m88s 1s linear infinite}
@keyframes m88s{to{transform:rotate(360deg)}}
/* cartel para imprimir */
#m88Print{display:none}
@media print{
 body.m88-printing>*:not(.shell){display:none!important}
 body.m88-printing .shell *{visibility:hidden}
 body.m88-printing #m88Print,body.m88-printing #m88Print *{visibility:visible}
 body.m88-printing #m88Print{display:block!important;position:fixed;inset:0;background:#fff}
 .m88-poster{display:flex;flex-direction:column;align-items:center;gap:6mm;padding:18mm 14mm;text-align:center;font-family:Inter,Arial,sans-serif;color:#11120E}
 .m88-brand{font-size:14pt;font-weight:800;letter-spacing:3px}
 .m88-poster h1{margin:0;font-size:34pt;line-height:1.1}
 .m88-poster img{width:120mm;height:120mm;image-rendering:pixelated}
 .m88-poster ol{margin:0;padding-left:6mm;text-align:left;font-size:14pt;line-height:1.6}
 .m88-poster small{font-size:11pt;color:#444}
}
/* V91 · con sesión real: sin selector de Perfil (lo define el usuario) */
body.m91-real .top-control:has(#roleSelect){display:none!important}
/* En la compu el botón principal va al final de la lista, no fijo sobre la pantalla */
body:not(.m84) .m84-fab{position:static;margin-top:16px}
body:not(.m84) .m84-fab button{width:auto;padding:0 28px;box-shadow:none}
body:not(.m84) #content .m84-list,body:not(.m84) #content .m84-chips,body:not(.m84) #content .m84-seg,body:not(.m84) #content .m84-search{max-width:860px}
