/* Fase dos: conserva los colores, iconos y tarjetas de app.css. */
.brand img{width:100%;max-width:190px;height:72px;object-fit:contain;filter:none}
.phase2-mobile-brand{display:none}
.auth-brand .auth-logo{width:min(100%,310px);height:auto;max-height:170px;object-fit:contain}
.auth-body .pin-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0}
.auth-body .pin-keypad button{min-height:40px}
.content{padding:12px 16px}.sidebar{padding:11px;gap:8px}.sidebar nav{gap:3px}.sidebar nav a{padding:6px 8px}
.panel,.cart-panel{padding:11px}.metric,.pool-card,.touch-table-card,.product-card{padding:9px}
.stack-form,.form-grid{gap:9px}.form-grid section{gap:8px}
.content input:not([type=checkbox]):not([type=radio]),.content select,.content textarea,.touch-body input:not([type=checkbox]):not([type=radio]),.touch-body select,.touch-body textarea{min-height:32px;padding:5px 8px}
.content .btn,.touch-body .btn{min-height:31px;padding:5px 9px}.table-wrap{overflow-x:auto}
.phase2-touch-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0 8px}.phase2-touch-brand img{display:block;width:min(230px,45vw);max-height:90px;height:auto;object-fit:contain}
.phase2-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 12px}.phase2-head h1{margin:0;font-size:clamp(21px,2.4vw,30px)}.phase2-head p{margin:3px 0;color:var(--muted)}.phase2-actions{display:flex;gap:7px;flex-wrap:wrap}
.phase2-work-header{margin-bottom:10px}.phase2-work-header .touch-header-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:7px;width:auto}.phase2-work-header .touch-header-actions .btn{width:auto;min-width:112px}.phase2-table-grid{margin-top:8px}.phase2-table-grid .touch-table-img{object-fit:contain}.phase2-table-grid .touch-table-card{min-height:0}.phase2-table-grid .waitress-card{margin:3px 0}
.phase2-table-hero{display:flex;justify-content:center;align-items:center;height:110px;margin:0 0 10px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.phase2-table-hero img{max-width:100%;height:102px;object-fit:contain}
.phase2-narrow{max-width:560px}.phase2-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.8fr);gap:10px}.phase2-form-row{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:8px 0}.phase2-form-row label{flex:1 1 145px;min-width:0}.phase2-form-row select,.phase2-form-row input{width:100%}
.phase2-table-config>h2{margin:0 0 3px}.phase2-table-config>p{margin:0 0 9px;color:#40536c}.phase2-table-config-list{display:grid;gap:5px}.phase2-table-config-item,.phase2-table-create{border:1px solid #d4e2f2;border-radius:9px;background:#fff;overflow:hidden}.phase2-table-config-item>summary,.phase2-table-create>summary{display:flex;align-items:center;gap:9px;min-height:40px;padding:6px 10px;cursor:pointer;list-style:none;color:#173457}.phase2-table-config-item>summary::-webkit-details-marker,.phase2-table-create>summary::-webkit-details-marker{display:none}.phase2-table-config-item>summary:hover,.phase2-table-create>summary:hover{background:#edf6ff}.phase2-table-config-item>summary:focus-visible,.phase2-table-create>summary:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}.phase2-table-config-item>summary::after,.phase2-table-create>summary::after{content:'▾';margin-left:auto;color:#315681;font-size:18px;font-weight:900}.phase2-table-config-item[open]>summary::after,.phase2-table-create[open]>summary::after{content:'▴'}.phase2-table-config-item[open]>summary,.phase2-table-create[open]>summary{background:#eaf4ff;border-bottom:1px solid #d4e2f2}.phase2-table-position{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:7px;background:#22539b;color:#fff;font-size:12px;font-weight:900}.phase2-table-config-item strong{min-width:0;overflow-wrap:anywhere}.phase2-table-config-item small{color:#4a617d;font-size:12px}.phase2-table-inactive{border-radius:99px;padding:2px 7px;background:#fee2e2;color:#991b1b;font-size:11px;font-weight:800}.phase2-table-config-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:9px 10px}.phase2-table-config-form label{display:grid;gap:3px;min-width:160px;flex:1 1 180px;color:#183b65;font-weight:750}.phase2-table-config-form label:nth-of-type(2){max-width:110px;min-width:100px}.phase2-table-config-form .phase2-table-active{display:flex;align-items:center;gap:5px;min-width:100px;flex:0 0 auto;min-height:32px}.phase2-table-config-form .phase2-table-active input{width:auto}.phase2-table-create{margin-top:9px;border-style:dashed}.phase2-table-create>summary{font-weight:800}
.phase2-status{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.phase2-timer{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.phase2-timer strong{font-size:25px}.phase2-timer small{color:var(--muted)}
.phase2-items{display:grid;gap:6px}.phase2-items article,.phase2-line{padding:8px;border:1px solid var(--line);border-radius:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.phase2-items article strong{min-width:110px}.phase2-items article small{color:var(--muted)}.phase2-items details{width:100%}.phase2-payment{margin-top:10px}
.phase2-report-summary{display:flex;gap:9px;flex-wrap:wrap;margin:9px 0}.phase2-report-summary details{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:7px 10px;min-width:150px}.phase2-report-summary p{margin:5px 0}.phase2-report-summary summary{cursor:pointer;font-weight:700}
.phase2-product-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:8px}.phase2-product-card{padding:8px;gap:5px}.phase2-product-card .product-photo{width:100%;height:80px;object-fit:contain}.phase2-product-card .product-icon{height:80px}.phase2-product-card .phase2-product-controls{display:grid;gap:5px}.phase2-product-card .phase2-product-controls input{width:100%}.phase2-product-card .phase2-product-controls select{width:100%}
.phase2-low-stock-icon{width:55px;height:55px;object-fit:contain}.phase2-dashboard-metrics{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.phase2-dashboard-tables{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:9px}.phase2-dashboard-tables .pool-visual img{object-fit:contain}
@media(max-width:760px){.content{padding:98px 8px 8px}.sidebar{padding:8px}.brand img{max-width:155px;height:58px}.phase2-mobile-brand{display:block;position:fixed;top:3px;left:65px;z-index:80;width:115px;height:55px}.phase2-mobile-brand img{width:100%;height:100%;object-fit:contain}.phase2-head,.phase2-work-header{align-items:flex-start;flex-direction:column}.phase2-columns{grid-template-columns:1fr}.phase2-touch-brand img{width:min(165px,42vw)}}
@media(max-width:760px){body.ui-mode-pc .content{padding-top:102px!important}}

/* Contraste de las superficies blancas en la vista oscura de Meseras. */
.touch-body .panel,.touch-body .cart-panel{color:#111827}
.touch-body .panel h2,.touch-body .panel h3,.touch-body .panel th,.touch-body .panel td,.touch-body .panel summary{color:#111827}
.touch-body .panel .phase2-shift-state{color:#111827;font-weight:800}
.touch-body .phase2-head p{color:#cbd5e1}

.phase2-choice,.phase2-references,.phase2-payment{margin:12px 0;border:1px solid #7dd3fc!important;background:linear-gradient(135deg,#eff9ff,#f6f4ff)!important;color:#152238!important}
.phase2-choice h2,.phase2-references h2,.phase2-payment h2{margin:0;color:#10264d!important}
.phase2-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:720px;margin:16px 0 8px}
.phase2-choice-card{width:100%;height:100%;display:flex;align-items:center;flex-direction:column;gap:7px;border:2px solid #a5c9f4;border-radius:18px;background:#fff;cursor:pointer;padding:14px;color:#12335d;box-shadow:0 8px 24px #153b6720}
.phase2-choice-card:hover,.phase2-choice-card:focus-visible{border-color:#1680d8;transform:translateY(-2px)}
.phase2-choice-card img{width:96px;height:96px;object-fit:contain}.phase2-choice-card strong{font-size:17px}.phase2-choice-card small{color:#50627b}
.phase2-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.phase2-section-title p{margin:4px 0;color:#51647d}
.phase2-player-list{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.phase2-player-tag{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #a5c9f4;border-radius:12px;padding:5px 7px 5px 11px}.phase2-player-tag small{color:#526782}.phase2-player-tag form{margin:0}

/* Administrador y Super Administrador: marca libre y legible. */
.role-admin .sidebar .brand,.role-super_admin .sidebar .brand{border:0;background:transparent;box-shadow:none;border-radius:0;padding:3px 0 5px;min-height:0;justify-content:center}
.role-admin .sidebar .brand img,.role-super_admin .sidebar .brand img{width:min(100%,295px);max-width:295px;height:auto;max-height:166px;object-fit:contain;filter:none}
.role-admin .phase2-work-header{padding:8px 13px;margin-bottom:7px;gap:8px;box-shadow:none}
.role-admin .phase2-work-header h1{color:#10264d;font-size:clamp(22px,2vw,29px);line-height:1.08;margin:2px 0}
.role-admin .phase2-work-header .eyebrow,.role-admin .phase2-work-header p{color:#24344e;margin:2px 0;line-height:1.2}
.role-admin .phase2-work-header .touch-header-actions{align-self:center}
/* Las cinco tarjetas mantienen altura y los gráficos ganan protagonismo. */
.phase2-dashboard-metrics{align-items:stretch}
.phase2-dashboard-metrics .metric{min-height:108px;height:100%;grid-template-columns:72px minmax(0,1fr);column-gap:8px}
.phase2-dashboard-metrics .metric-icon{width:70px;height:70px;max-width:none}
.dashboard-tables-section .section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.dashboard-tables-section .section-title .status-pill.pending_payment{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:28px;padding:5px 11px;text-align:center;white-space:normal;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:1180px){.phase2-dashboard-metrics .metric{grid-template-columns:62px minmax(0,1fr)}.phase2-dashboard-metrics .metric-icon{width:60px;height:60px}}
@media(max-width:760px){.role-admin .sidebar .brand img,.role-super_admin .sidebar .brand img{max-width:210px;max-height:95px}.role-admin .phase2-work-header{padding:8px 10px}.phase2-dashboard-metrics .metric{min-height:90px;grid-template-columns:54px minmax(0,1fr)}.phase2-dashboard-metrics .metric-icon{width:52px;height:52px}}
.phase2-remove{border:0;border-radius:50%;background:#fee2e2;color:#a51f29;font-size:21px;font-weight:800;width:27px;height:27px;line-height:22px;cursor:pointer}.phase2-remove:hover{background:#fda4af}
.phase2-game-finish{background:#dbeafe;border:1px solid #93c5fd;border-radius:12px;padding:10px}.phase2-game{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.phase2-bill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.phase2-receipt{overflow:hidden;border-radius:15px;background:#fff;border:1px solid #bdd5ec;box-shadow:0 8px 24px #244e7420}.phase2-receipt header{display:flex;justify-content:space-between;gap:10px;padding:12px 15px;background:#16488a;color:#fff}.phase2-receipt header strong{font-size:17px}.phase2-receipt-general header{background:linear-gradient(110deg,#075985,#4338ca)}.phase2-receipt-body{padding:14px}.phase2-receipt-body h3{margin:2px 0 10px;color:#243e67!important;font-size:14px}.phase2-receipt-line,.phase2-receipt-total{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px dashed #cbd5e1}.phase2-receipt-line b{white-space:nowrap}.phase2-receipt-total{border-top:2px solid #b9d3ee;border-bottom:0;margin-top:7px;font-size:17px;color:#0e4d90}.phase2-receipt-body>small{display:block;margin-top:9px;color:#53657b}
.phase2-player-bills h3{margin:2px 0 10px;color:#10264d!important}.phase2-bill-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:9px}.phase2-bill-tab{border:1px solid #93b8df;background:#fff;color:#174778;border-radius:99px;padding:7px 12px;cursor:pointer;font-weight:700}.phase2-bill-tab.active{background:#124c92;color:#fff}.phase2-player-receipt[hidden]{display:none}.phase2-pay-check{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-top:13px}.phase2-pay-check label{flex:1}.phase2-paid{display:inline-block;margin-top:12px;background:#dcfce7;color:#166534;border-radius:99px;padding:5px 12px;font-weight:700}.phase2-close-form{border-top:1px solid #abc6e5;padding-top:13px}.phase2-products{margin-top:12px}.phase2-products h3{margin:14px 0 7px}
@media(max-width:700px){.phase2-bill-grid{grid-template-columns:1fr}.phase2-choice-grid{gap:8px}.phase2-choice-card img{width:78px;height:78px}.phase2-section-title{flex-wrap:wrap}}
.phase2-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.phase2-edit-grid form{padding:8px;border:1px solid var(--line);border-radius:10px}.phase2-rename{margin:5px 0;max-width:460px}.phase2-rename summary{cursor:pointer}

/* Panel de servicio y cobro */
.phase2-table-hero{border:0;background:transparent;box-shadow:none;height:125px}.phase2-table-hero img{height:115px;filter:drop-shadow(0 12px 11px rgba(123,211,184,.4))}
.phase2-status{justify-content:center;text-align:center;padding:14px;gap:9px 14px!important;background:linear-gradient(115deg,#173b6e,#0f766e)!important;color:#fff!important;border:1px solid #54d6c4!important;box-shadow:0 7px 22px #0a2f5b44}
.phase2-status strong{font-size:18px;padding:6px 14px;border-radius:99px;background:#facc15;color:#192644!important}.phase2-status span{font-size:15px;font-weight:700;color:#fff}
.phase2-timer{justify-content:center;text-align:center;padding:9px 14px!important;background:linear-gradient(110deg,#162e64,#1e548e)!important;color:#fff!important;box-shadow:0 7px 22px #123e6b55}
.phase2-timer-face{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center}.phase2-timer-face strong{font-variant-numeric:tabular-nums;font-size:27px!important;letter-spacing:2px;color:#a7f3d0;text-shadow:0 0 15px #34d399bb}.phase2-timer-face span{font-weight:700;color:#fff}.phase2-timer-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.phase2-timer-actions form{margin:0}.phase2-timer-actions .btn{min-height:29px}
.phase2-game-finish{margin:11px 0!important;background:#fff1df!important;border:1px solid #fdba74!important;color:#65320e!important}.phase2-game-finish label{color:#65320e!important;font-weight:800}.phase2-game-finish button{background:#ea580c!important;color:#fff!important}
.phase2-sale-items{margin:11px 0}.phase2-sale-items h3{margin:2px 0 10px;color:#10345f}
.phase2-product-card{padding:6px!important;gap:3px!important;cursor:pointer}.phase2-product-card .product-photo,.phase2-product-card .product-icon{height:59px!important}.phase2-product-card strong{font-size:13px;line-height:1.15}.phase2-product-card .phase2-product-controls{gap:3px}.phase2-product-card .phase2-product-controls label{font-size:11px}.phase2-product-card .phase2-product-controls input,.phase2-product-card .phase2-product-controls select{min-height:27px!important;padding:3px 5px!important}.phase2-product-card .phase2-product-controls .btn{min-height:26px!important}.phase2-product-card .product-foot b{font-size:14px}
.phase2-receipt-total{padding:10px;border-radius:10px;background:#0d4e91;color:#fff!important;border:0;font-weight:900}.phase2-receipt-total strong{color:#fff!important;font-size:20px}.phase2-receipt-general .phase2-amount-due{background:#facc15;color:#172554!important}.phase2-receipt-general .phase2-amount-due strong{color:#172554!important}.phase2-fee-preview{flex:1 1 100%;padding:8px 11px;border-radius:9px;background:#e7f3ff;color:#132f58;font-weight:800}.phase2-fee-preview.has-fee{background:#fde68a;color:#4a2500}.phase2-payment .phase2-receipt-line b,.phase2-sale-items .phase2-items span{font-weight:800;color:#0e477e}
.pos-cart-panel>h3{padding:11px 14px;border-radius:11px;background:#facc15;color:#172554!important;font-size:22px}.phase2-product-card:hover{box-shadow:0 6px 17px #1484c54a;transform:translateY(-1px)}
.phase2-product-card.is-selected{outline:2px solid #10b981;outline-offset:1px}.phase2-products .product-stock-badge{padding:2px 6px;background:#d1fae5;border-color:#10b981;color:#064e3b!important;font-weight:900;box-shadow:none}.phase2-products .product-stock-badge.stock-low{background:#fee2e2;border-color:#ef4444;color:#991b1b!important}
.phase2-sale-items{padding:0!important;overflow:hidden;border:2px solid #f59e0b!important;background:#fffaf0!important}.phase2-sale-items summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;padding:12px 15px;background:#f59e0b;color:#211406!important}.phase2-sale-items summary::-webkit-details-marker{display:none}.phase2-sale-items summary strong{font-size:18px;color:#211406!important}.phase2-sale-items summary span{border-radius:99px;background:#fff4d7;color:#633b00;padding:3px 9px;font-weight:800}.phase2-sale-items summary::after{content:'▾';font-size:19px;font-weight:900}.phase2-sale-items[open] summary::after{content:'▴'}.phase2-sale-items>.phase2-items{padding:11px}

/* Turnos: programación visible sin agrandar el panel. */
.phase2-shift-main{display:grid;justify-items:start;gap:7px}.phase2-shift-main p{margin:0}.phase2-shift-badge{display:inline-flex;padding:5px 11px;border-radius:999px;background:#dcfce7;color:#14532d;font-size:13px}.phase2-shift-badge.is-closed{background:#dbeafe;color:#10264d}
.phase2-calendar-panel{padding:13px!important}.phase2-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.phase2-calendar-heading h2{margin:0;font-size:19px}.phase2-calendar-heading p{margin:3px 0 0;color:#45556d}.phase2-calendar-heading nav{display:flex;align-items:center;gap:6px}.phase2-mini-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:11px}.phase2-calendar-weekday{text-align:center;color:#334155;font-weight:800;font-size:11px}.phase2-calendar-day,.phase2-calendar-empty{min-height:49px;border-radius:8px}.phase2-calendar-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #d9e5f3;background:#f8fbff;color:#183153}.phase2-calendar-day b{font-size:14px}.phase2-calendar-day small{font-size:10px}.phase2-calendar-day.is-scheduled{border-color:#48b985;background:linear-gradient(145deg,#d1fae5,#ecfdf5);color:#065f46;font-weight:800;box-shadow:inset 0 0 0 1px #6ee7b7}.phase2-calendar-day.is-today{outline:2px solid #2563eb;outline-offset:1px}.phase2-calendar-legend{display:flex;align-items:center;gap:6px;margin:8px 0 0;color:#315167;font-size:12px}.phase2-calendar-legend span{width:13px;height:13px;border-radius:3px;background:#d1fae5;border:1px solid #48b985}.phase2-summary-details summary{display:inline-block;padding:7px 12px;border-radius:8px;background:#1d4ed8;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}.phase2-summary-details[open] summary{background:#0f766e}.phase2-summary-details ul{min-width:220px;margin:5px 0 9px;padding-left:18px}
@media(max-width:620px){.phase2-calendar-heading nav{width:100%;justify-content:space-between}.phase2-calendar-day,.phase2-calendar-empty{min-height:41px}.phase2-calendar-day small{font-size:9px}}
.phase2-time-notice{position:fixed;right:18px;bottom:18px;z-index:9999;max-width:390px;padding:15px 18px;border:2px solid #facc15;border-radius:12px;background:#122c52;color:#fff;font-weight:800;box-shadow:0 15px 36px #0d1b3580}.phase2-sound-button{font-weight:800}
.phase2-alert-field{max-width:190px}.phase2-alert-field input{max-width:150px}.phase2-amount-time{display:flex;flex-direction:column;align-items:flex-end;gap:1px;text-align:right;min-width:112px}.phase2-amount-time b{font-weight:800;color:#0e477e}.phase2-amount-time small{font-size:10px;line-height:1.2;color:#415a79;font-weight:700}.phase2-amount-time em{display:block;font-size:9px;font-style:normal;font-weight:500;color:#5b708b}.phase2-pay-check input[name="payment_amount"],.phase2-close-form input[name="payment_amount"]{min-width:135px;max-width:190px}.phase2-status[data-service-alert-url]:not([data-service-alert-url=""]){align-items:center}
.phase2-finish-table{background:#bb252f!important;border:1px solid #8e1922!important;color:#fff!important;font-weight:950!important;letter-spacing:.04em;box-shadow:0 4px 12px #75141e55}.phase2-finish-table:hover{background:#9e1c26!important}.phase2-timer-actions .phase2-finish-table{min-height:42px;padding:8px 15px}
.phase2-finish-action{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border:1px solid #f2b4b4!important;background:linear-gradient(110deg,#fff7f7,#fff)!important}.phase2-finish-action>div{display:grid;gap:2px}.phase2-finish-action strong{color:#751820;font-size:15px}.phase2-finish-action small{color:#583b40}.phase2-finish-action .phase2-finish-table{min-height:40px;padding:8px 15px}@media(max-width:600px){.phase2-finish-action form,.phase2-finish-action button{width:100%}}
.phase2-vip{margin:11px 0;border:1px solid #ae91ec!important;background:linear-gradient(120deg,#f0eaff,#e8f3ff)!important;color:#26144a!important}.phase2-vip-toggle{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 14px;border-radius:10px;background:#7247bd;color:#fff;cursor:pointer;font-weight:900}.phase2-vip-toggle::-webkit-details-marker{display:none}.phase2-vip details[open] .phase2-form-row{margin-top:12px}.phase2-vip-active{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.phase2-vip-active>span{background:#7247bd;color:#fff;padding:6px 10px;border-radius:9px;font-weight:900}.phase2-vip-active strong{color:#381870}.phase2-vip-active small{color:#473b64}.phase2-vip-active>div{padding:6px 9px;border-radius:8px;background:#fff;color:#24164c;font-weight:750}.phase2-vip-active>small{flex-basis:100%}
.phase2-payment .phase2-game-finish{margin:14px 0 0!important}.phase2-payment .phase2-game-finish label{min-width:min(100%,270px);flex:1}.phase2-payment .phase2-game-finish button{min-height:42px}
.phase2-head .phase2-back-tables{background:#e4f2ff;color:#164d85;border:1px solid #80b6e8;font-weight:900}
.content>.phase2-sound-button{position:fixed;right:18px;bottom:84px;z-index:1000;box-shadow:0 6px 20px #0d1b3530}

/* Suscripciones: tarjetas compactas y selección clara. */
.phase2-subscription-section{padding:13px!important;margin-bottom:10px!important}.phase2-subscription-section h2{margin:0 0 5px;color:#122e55}.phase2-subscription-section .phase2-section-title{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:8px}.phase2-subscription-section label{color:#243b58;font-weight:700}.phase2-subscription-section input,.phase2-subscription-section select{min-height:32px!important;padding:5px 8px!important}.phase2-plan-choices,.phase2-plan-admin-grid,.phase2-subscriber-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px;margin:9px 0}.phase2-plan-choice{display:block;cursor:pointer}.phase2-plan-choice input{position:absolute;opacity:0}.phase2-plan-choice span,.phase2-plan-admin-card,.phase2-subscriber-card{display:grid;gap:4px;padding:11px;border:1px solid #bfd5ed;border-radius:12px;background:linear-gradient(155deg,#fff,#eef6ff);box-shadow:0 3px 10px #102a4b10}.phase2-plan-choice span{min-height:112px}.phase2-plan-choice b,.phase2-plan-admin-card b{font-size:20px;color:#075985}.phase2-plan-choice small,.phase2-plan-admin-card small,.phase2-subscriber-card small{color:#4b5f76}.phase2-plan-choice input:checked+span{border:2px solid #2563eb;background:#dbeafe;box-shadow:0 0 0 2px #93c5fd}.phase2-plan-choice input:focus-visible+span{outline:3px solid #f59e0b}.phase2-purchase-form>label{display:grid;max-width:480px}.phase2-purchase-actions{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.phase2-purchase-actions label{min-width:180px}.phase2-plan-admin-card summary,.phase2-subscriber-card summary{display:grid;gap:3px;cursor:pointer;list-style:none}.phase2-plan-admin-card summary::-webkit-details-marker,.phase2-subscriber-card summary::-webkit-details-marker{display:none}.phase2-plan-edit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.phase2-plan-edit label{display:grid;gap:3px}.phase2-plan-edit fieldset{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;border:1px solid #cbd5e1;border-radius:8px}.phase2-plan-edit fieldset label{display:flex;align-items:center;gap:4px}.phase2-plan-edit button{grid-column:1/-1}.phase2-create-panel{margin-top:10px;border:1px dashed #8bb3de;border-radius:9px;padding:9px}.phase2-create-panel>summary{cursor:pointer;font-weight:900;color:#134b86}.phase2-create-panel .phase2-form-row{margin-top:8px}.phase2-renewal-panel{padding:12px!important;border-left:5px solid #f59e0b}.phase2-renewal-list{display:grid;gap:6px}.phase2-renewal-list article{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:7px 9px;border-radius:8px;background:#fff7e7;color:#633b00}.phase2-renewal-list article strong{color:#5b3000}.phase2-renewal-list article b{margin-left:auto}.phase2-renewal-alert{display:grid;gap:4px;margin:8px 0 12px;padding:10px 13px;border-radius:10px;border:1px solid #f9bd56;background:#fffaed;color:#58300b}.phase2-renewal-alert strong{font-size:15px}.phase2-renewal-alert span{font-size:12px}.phase2-audit-detail{min-width:220px;margin:6px 0;padding-left:18px;line-height:1.5}.phase2-logs-panel td strong{color:#173b66}
@media(max-width:600px){.phase2-plan-edit{grid-template-columns:1fr}.phase2-renewal-list article b{margin-left:0}}

/* Mantener colores, iconos y tarjetas; reducir solo altura y espacios. */
.expense-filter-panel,.expense-day-panel,.expense-category-detail-panel,.general-expense-panel,.supplier-expense-panel{padding:9px 12px!important;margin-bottom:8px!important}.expense-summary-card{min-height:68px!important;padding:7px 10px!important}.expense-type-summary-grid{gap:7px!important}.expense-summary-card strong{font-size:17px!important}.expense-summary-card small{line-height:1.2!important}.expense-forms-grid{gap:8px!important}.expense-professional-form{gap:7px!important}.expense-professional-form input,.expense-professional-form select,.expense-professional-form textarea{min-height:31px!important;padding:5px 8px!important}
.returns-hero{padding:8px 12px!important;margin-bottom:7px!important}.returns-hero h1{font-size:22px!important}.returns-hero .muted{margin:2px 0!important}.returns-summary-grid{gap:6px!important;margin:6px 0!important}.return-option-card{min-height:84px!important;padding:7px 9px!important;gap:6px!important}.return-card-copy{gap:3px!important}.return-card-copy strong{font-size:13px!important}.return-card-copy small{line-height:1.15!important}.return-workspace{margin-bottom:8px!important}.return-workspace-head{padding:8px 11px!important}.return-form{padding:10px 12px!important}.return-step-card{padding:9px!important;gap:4px!important}.return-step-card strong{font-size:14px!important}.return-refund-layout,.return-form-grid,.return-step-grid{gap:7px!important}.return-money-card{min-height:68px!important;padding:8px!important}.return-money-card strong{font-size:22px!important}.return-live-summary{padding:9px!important;margin:8px 0!important}.return-submit-button{min-height:34px!important;font-size:13px!important}
.settings-system-panel,.settings-users-panel,.settings-refund-panel,.settings-waiters-panel,.settings-products-panel,.settings-payroll-panel{padding:10px 12px!important;margin-bottom:8px!important}.settings-centered-title{margin-bottom:6px!important}.settings-centered-title h2{font-size:19px!important;margin:0!important}.settings-system-form,.compact-professional-form{gap:7px!important}.settings-system-form input,.compact-professional-form input,.compact-professional-form select,.settings-refund-grid input,.settings-refund-grid select{min-height:31px!important;padding:5px 8px!important}.professional-detail summary{padding:8px 10px!important}.settings-refund-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.settings-refund-grid fieldset{display:grid;gap:6px;padding:9px;border:1px solid #bfd5ed;border-radius:10px;background:#f5faff}.settings-refund-grid label{display:grid;gap:3px}.settings-refund-grid button{grid-column:1/-1}.settings-refund-panel p{margin:2px 0 0;color:#48617c}@media(max-width:680px){.settings-refund-grid{grid-template-columns:1fr}}

/* Aviso de cuenta regresiva y traslado de cuentas. */
.phase2-countdown{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;border-left:1px solid #ffffff66;padding-left:12px}.phase2-countdown>strong{font-size:12px;color:#fff}.phase2-countdown [data-countdown-clock]{font-variant-numeric:tabular-nums;color:#d8faff;font-size:20px;font-weight:900}.phase2-countdown [data-countdown-clock].is-expired,.phase2-countdown-finished{color:#ffd262;font-weight:900}.phase2-countdown-trigger{display:inline-block;background:#ffcf49!important;color:#10264d!important;border:0!important;font-weight:900!important;cursor:pointer}.phase2-countdown-config summary{list-style:none}.phase2-countdown-config summary::-webkit-details-marker{display:none}.phase2-countdown-form{display:flex;align-items:end;gap:7px;margin-top:8px}.phase2-countdown-form label{font-size:12px;color:#fff}.phase2-countdown-form input{width:90px;min-height:32px}.phase2-countdown-overlay{position:fixed;inset:0;z-index:10001;background:#07142cb8;display:grid;place-items:center;padding:18px}.phase2-countdown-popup{width:min(420px,100%);padding:24px;border-radius:18px;background:#fff;color:#122347;box-shadow:0 20px 55px #06132880;text-align:center}.phase2-countdown-popup h2{margin:0 0 10px;color:#122347}.phase2-countdown-popup p{line-height:1.45}.phase2-account-move{margin-top:10px}.phase2-account-move>summary{font-weight:900;color:#104c83;cursor:pointer}.phase2-account-destination{border:1px solid #c6d9eb;border-radius:10px;margin:8px 0;padding:8px 11px;background:#f8fbff}.phase2-account-destination>summary{font-weight:800;cursor:pointer}.phase2-account-move-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:10px}.phase2-account-move-form label{font-size:12px;font-weight:800;color:#163b63}.phase2-account-move-form select{width:100%;margin-top:3px}.phase2-account-move-form button{align-self:end}.phase2-account-move p{font-size:12px;color:#385878}
@media(max-width:700px){.phase2-timer{flex-direction:column}.phase2-countdown{border-left:0;border-top:1px solid #ffffff66;padding:8px 0 0;width:100%}.phase2-account-move-form{grid-template-columns:1fr}}
.touch-countdown{display:flex;justify-content:center;gap:6px;align-items:center;color:#123b65;font-size:12px;font-weight:800}.touch-countdown strong{font-variant-numeric:tabular-nums;font-size:15px;color:#ad6300}.touch-countdown strong.is-expired{color:#bb252f}
.phase2-account-move-form [data-split-only]{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.phase2-account-move-form [data-split-only][hidden]{display:none!important}.phase2-account-move-form [data-split-only] small{grid-column:1/-1;color:#355675}

.phase2-clock-select{display:flex;align-items:center;justify-content:center;margin:0}.phase2-clock-select .phase2-countdown-trigger,.phase2-countdown-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-height:42px;padding:8px 16px!important;line-height:1.2!important;white-space:normal;border-radius:10px;box-sizing:border-box}.phase2-countdown{border-left:0;padding-left:0;min-width:0}.phase2-countdown>span[data-estimate]{flex-basis:100%;color:#e7f6ff;font-size:12px}.phase2-countdown-form{margin:0;flex-wrap:wrap;justify-content:center}.phase2-countdown-config{flex-basis:100%;text-align:center}.phase2-countdown-config>summary{color:#fff;font-weight:700;cursor:pointer}.phase2-table-image-field{min-width:220px!important;max-width:320px!important}.phase2-table-image-field img{display:block;width:88px;height:62px;object-fit:contain;background:#f3f8ff;border:1px solid #d9e6f4;border-radius:8px}.phase2-table-image-field small{font-size:11px;color:#45617f}.phase2-table-image-field input{max-width:100%;font-size:12px}.phase2-account-move{margin-top:6px}.phase2-account-move-form{gap:5px 9px;margin-top:5px}.phase2-account-move-form label{margin:0}.phase2-account-destination{margin:4px 0;padding:5px 8px}.phase2-account-move p{margin:3px 0;line-height:1.25}

.supplier-purchase-lines{display:grid;gap:8px}.supplier-purchase-line{display:grid;grid-template-columns:minmax(170px,2fr) minmax(90px,1fr) minmax(110px,1fr) auto;gap:7px;align-items:end;padding:8px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fbff}.supplier-purchase-line label{min-width:0}.supplier-purchase-line button{align-self:end}@media(max-width:650px){.supplier-purchase-line{grid-template-columns:1fr 1fr}.supplier-purchase-line label:first-child{grid-column:1/-1}}

.phase2-fee-preview.has-change{background:#d1fae5;color:#064e3b;border:1px solid #34d399}
.phase2-batch-hint{margin:0 0 9px;color:#28466b;font-size:12px;font-weight:700}
.phase2-batch-finish{display:block!important;width:100%;min-height:35px!important;background:#d92d36!important;border:1px solid #b91c1c!important;color:#fff!important;font-weight:900!important;text-align:center!important;grid-column:1/-1}
.phase2-batch-finish[hidden],.phase2-batch-staged[hidden],.product-batch-modal[hidden]{display:none!important}
.phase2-batch-staged{display:block;grid-column:1/-1;color:#14532d;font-size:11px;font-weight:800}
.product-batch-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:14px;background:#081c39b8}
.product-batch-dialog{width:min(570px,100%);max-height:86vh;overflow:auto;border-radius:16px;background:#fff;color:#122b4e;padding:17px;box-shadow:0 22px 70px #07152980;outline:0}
.product-batch-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-batch-dialog h2{margin:0;color:#123c70;font-size:21px}
.product-batch-dialog header button{border:0;background:#eef4fb;color:#163b63;border-radius:8px;width:34px;height:34px;font-size:22px;cursor:pointer}
.product-batch-dialog>p{margin:6px 0 12px;color:#45617d;font-size:13px}.product-batch-lines{display:grid;gap:5px;max-height:45vh;overflow:auto}
.product-batch-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #d9e5f2;border-radius:9px;background:#f8fbff}
.product-batch-line span{display:grid;gap:2px}.product-batch-line small{color:#536c87}.product-batch-line b{white-space:nowrap;color:#104e83}
.product-batch-total{display:flex;justify-content:space-between;gap:12px;margin-top:12px;padding:10px;border-radius:9px;background:#e2f1ff;color:#0d467b;font-weight:800}.product-batch-total strong{font-size:20px}
.product-batch-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px;flex-wrap:wrap}
@media(max-width:600px){.product-batch-dialog{padding:13px}.product-batch-actions button{flex:1 1 100%}}
.phase2-product-card .phase2-product-controls .phase2-batch-finish{display:block!important;min-height:35px!important;background:#d92d36!important;border:1px solid #b91c1c!important;color:#fff!important;font-weight:900!important}.phase2-product-card .phase2-product-controls .phase2-batch-finish[hidden]{display:none!important}
/* Fase 1 · pagos independientes, renovación VIP y tickets */
[data-independent-payer][hidden],[data-remove-purchase-line][hidden]{display:none!important}
.independent-payment-list{display:grid;gap:8px;margin-top:12px}
.independent-payment{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #f6c77c;border-radius:12px;background:#fff8eb;color:#183153}
.independent-payment.is-paid{border-color:#a9dfc6;background:#effbf4}
.independent-payment>div:first-child{flex:1;min-width:0}.independent-payment strong,.independent-payment small{display:block}.independent-payment small{color:#56677e;font-size:.78rem}.independent-payment b{font-size:1.05rem}.independent-payment form{display:flex;align-items:center;gap:8px}.independent-payment select{min-width:130px}
.phase2-vip-renew[hidden]{display:none}.phase2-vip-renew{position:fixed;z-index:1100;left:50%;top:50%;transform:translate(-50%,-50%);width:min(94vw,430px);padding:24px;border:2px solid #e5a32c;border-radius:18px;background:#fff;box-shadow:0 0 0 100vmax #07172bcc,0 22px 60px #07172b66;color:#102849}.phase2-vip-renew>strong{display:block;font-size:1.3rem;margin-bottom:8px}.phase2-vip-renew p{margin:0 0 14px}.phase2-vip-renew form{display:grid;gap:8px;margin-bottom:10px}.phase2-vip-renew label{display:grid;gap:5px}.phase2-vip-renew .btn{width:100%;text-align:center}.phase2-vip-dismiss{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#102849;font-size:1.8rem;cursor:pointer}
.tickets-panel{padding:14px}.tickets-search{display:flex;align-items:end;gap:8px;margin-bottom:12px}.tickets-search label{display:grid;gap:4px;flex:1;min-width:0;color:#223a59;font-weight:700}.tickets-search input{width:100%}.tickets-list{display:grid;gap:5px}.tickets-row{display:grid;grid-template-columns:32px minmax(0,1.6fr) minmax(100px,1fr) auto 24px;align-items:center;gap:10px;padding:9px 11px;border:1px solid #dde6f2;border-radius:10px;background:#f9fbff;color:#122846;text-decoration:none}.tickets-row:hover,.tickets-row:focus-visible{background:#e8f3ff;border-color:#91b7e8}.tickets-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#dcecff;color:#16569d;font-size:1.2rem}.tickets-main strong,.tickets-seller strong{display:block}.tickets-main small,.tickets-seller small{display:block;color:#526680;font-size:.78rem}.tickets-total{font-weight:800;color:#12559b;white-space:nowrap}.tickets-open{font-size:1.1rem;color:#1767af}.tickets-pages{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:12px}.tickets-empty{padding:20px;text-align:center;color:#526680}
@media(max-width:700px){.independent-payment{align-items:stretch;flex-direction:column}.independent-payment form{justify-content:flex-start}.tickets-row{grid-template-columns:28px minmax(0,1fr) auto;gap:7px}.tickets-seller{grid-column:2}.tickets-total{grid-column:3;grid-row:1}.tickets-open{display:none}.tickets-search{flex-wrap:wrap}.tickets-search label{flex-basis:100%}}

/* Fase 2: controles y cuentas más legibles en escritorio y tabletas. */
.phase2-countdown-config>summary{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 12px;border-radius:9px;background:#ffdb57;color:#493000!important;font-size:12px;font-weight:900;box-shadow:0 2px 0 #c99216;cursor:pointer}
.phase2-countdown-config>summary:focus-visible{outline:3px solid #fff;outline-offset:2px}
.product-batch-table-name{display:inline-flex;align-items:center;margin:6px 0 9px;padding:6px 11px;border-radius:9px;background:#e9ddff;border:1px solid #a27ae7;color:#3a177d;font-size:14px;font-weight:900}
.phase2-change-highlight{display:inline-flex;align-items:center;margin-left:8px;padding:4px 9px;border-radius:8px;background:#047857;color:#fff;font-size:1.06em;font-weight:900;white-space:nowrap}
.product-variation-choices{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}
.product-variation-choice{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:30px;padding:4px 8px;border:1px solid #9cb8da;border-radius:8px;background:#eff6ff;color:#143960;font-size:11px;font-weight:850;cursor:pointer}
.product-variation-choice small{font-size:10px;color:#486889}
.product-variation-choice.active{border-color:#165aa5;background:#165aa5;color:#fff;box-shadow:0 2px 5px #12386033}
.product-variation-choice.active small{color:#e5f3ff}
.product-variation-editor{margin-top:8px;padding:8px;border:1px solid #d3e3f4;border-radius:9px;background:#f8fbff}
.product-variation-editor>strong{display:block;margin-bottom:5px;color:#163e70}
.product-variation-form{display:grid;grid-template-columns:minmax(100px,1.5fr) minmax(75px,.7fr) minmax(95px,.9fr) auto;gap:5px;align-items:end;margin:4px 0}
.product-variation-form label{display:grid;gap:2px;min-width:0;font-size:11px;font-weight:800;color:#274563}
.product-variation-form input{width:100%;min-height:31px;padding:4px 7px;font-size:12px}
.product-variation-form button{min-height:31px}
.payroll-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:8px}
.payroll-toolbar label{display:grid;gap:3px;font-size:12px;font-weight:800;color:#244466}
.payroll-toolbar input,.payroll-toolbar select{min-height:34px}
.payroll-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.payroll-summary-card{padding:10px 12px;border:1px solid #cddff3;border-radius:10px;background:#f2f8ff;color:#163a65}
.payroll-summary-card strong{display:block;font-size:1.25rem;color:#114c88}
.payroll-summary-card small{color:#4c6480}
.payroll-pay-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.payroll-pay-actions form{flex:1 1 220px}.payroll-pay-actions button{width:100%;min-height:38px}
.payroll-table-wrap{overflow-x:auto}
.payment-method-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:7px;font-size:11px;font-weight:850;white-space:nowrap}
.payment-method-chip.cash{background:#dcfce7;color:#17603a}.payment-method-chip.transfer{background:#dbeafe;color:#174888}.payment-method-chip.other{background:#f1e8ff;color:#5b3193}
.report-method-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin:10px 0}
.report-method-card{padding:9px 11px;border:1px solid #d0e2f5;border-radius:10px;background:#f5faff;color:#23456b}.report-method-card strong{display:block;font-size:1.12rem;color:#124d87}
@media(max-width:640px){.product-variation-form{grid-template-columns:1fr 1fr}.product-variation-form label:first-child{grid-column:1/-1}.product-variation-form button{grid-column:1/-1}.phase2-change-highlight{margin:6px 0 0}}
.payroll-v2-settings,.payroll-v2-liquidation,.payroll-v2-history{padding:12px 14px;margin-bottom:10px}.payroll-v2-settings h2,.payroll-v2-liquidation h2,.payroll-v2-history h2{margin:0 0 8px;color:#153d6b}
.payroll-v2-settings-form{display:grid;gap:8px}.payroll-v2-config-group{display:flex;flex-wrap:wrap;align-items:end;gap:7px;padding:8px;border:1px solid #d5e5f5;border-radius:9px;background:#f8fbff}.payroll-v2-config-group h3{flex-basis:100%;margin:0;color:#15528b;font-size:14px}.payroll-v2-config-group label{display:grid;gap:3px;flex:1 1 150px;font-size:11px;font-weight:800;color:#274765}.payroll-v2-config-group input{min-height:32px;width:100%}
.payroll-v2-kind,.payroll-v2-filters,.payroll-v2-pay-actions{display:flex;flex-wrap:wrap;align-items:end;gap:7px;margin:7px 0}.payroll-v2-filters label{display:grid;gap:3px;min-width:145px;font-size:12px;font-weight:800;color:#284764}.payroll-v2-filters input,.payroll-v2-filters select{width:100%;min-height:33px}
.payroll-v2-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px;margin:9px 0}.payroll-v2-metrics>div{padding:8px 10px;border-radius:9px;border:1px solid #c9def2;background:#eef7ff;color:#254a70}.payroll-v2-metrics small{display:block;font-size:11px}.payroll-v2-metrics strong{display:block;font-size:1.18rem;color:#12528f}.payroll-v2-base{background:#eaf9ee!important}.payroll-v2-commission{background:#fff6e3!important}
.payroll-v2-days td small{display:block;color:#42617e;font-size:11px}.payroll-v2-pay-actions form{flex:1 1 200px}.payroll-v2-pay-actions button{width:100%}
.report-payment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;margin:8px 0}.report-payment-card{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #d2e2f4;border-radius:9px;background:#f7fbff;color:#173b66}.report-payment-card span:nth-child(2){display:grid;flex:1}.report-payment-card small{color:#53708c;font-size:11px}.report-payment-card b{color:#0d538f}.report-payment-icon{display:grid;place-items:center;min-width:29px;height:29px;border-radius:8px;background:#dcecff;color:#12549b;font-weight:900}.report-payment-card.method-cash .report-payment-icon{background:#d8f5e3;color:#177245}.report-payment-card.method-electronic .report-payment-icon{background:#dbeafe;color:#2054a2}
.report-payment-tags{display:flex;flex-wrap:wrap;gap:4px}.report-payment-tag{display:inline-flex;align-items:center;gap:3px;padding:3px 6px;border-radius:7px;background:#e8f2ff;color:#164573;font-size:11px;font-weight:800;white-space:nowrap}.report-payment-tag.method-cash{background:#def6e6;color:#176342}.report-payment-tag.method-electronic{background:#dcecff;color:#1d4f91}.report-payment-tag i{font-style:normal}
.phase2-report-metrics{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important;gap:7px!important;margin:10px 0!important}
.phase2-report-metrics .metric-card{display:grid!important;gap:3px!important;align-content:center!important;min-height:66px!important;padding:8px 11px!important;border:1px solid #d0e1f3!important;border-radius:9px!important;background:#f0f7ff!important;color:#234769!important}
.phase2-report-metrics .metric-card span{display:block!important;font-size:11px!important;font-weight:800!important;line-height:1.3!important}
.phase2-report-metrics .metric-card strong{display:block!important;font-size:1.2rem!important;font-weight:900!important;color:#115390!important;line-height:1.2!important}
.phase2-report-summary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:7px!important;align-items:start!important}
.phase2-report-summary>details{min-width:0;padding:8px 10px;border:1px solid #dce7f2;border-radius:9px;background:#fff}
.phase2-report-summary>details>summary{font-weight:850;color:#194775;cursor:pointer}
.product-edit-content>.product-variation-editor{grid-column:1/-1;width:100%;min-width:0;margin-top:2px;padding:9px 11px}
.product-variation-editor h3{margin:0 0 7px;font-size:13px;color:#163e70}
.product-variation-editor .product-variation-form{display:flex;flex-wrap:wrap;align-items:end;gap:6px;margin:0;padding:6px 0;border-top:1px solid #e1ebf5}
.product-variation-editor .product-variation-form label{flex:1 1 110px;max-width:250px;min-width:92px}
.product-variation-editor .product-variation-form label:first-of-type{flex-basis:150px}
.product-variation-editor .product-variation-form button{width:auto;min-width:62px;margin:0}
.phase2-product-card .product-variation-choices{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;width:100%;min-width:0;max-height:84px;margin:3px 0 2px;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}
.phase2-product-card .product-variation-choice{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:3px;width:100%;min-width:0;min-height:25px;padding:3px 5px;line-height:1.05;text-align:left;font-size:10px;white-space:nowrap}
.phase2-product-card .product-variation-choice span{min-width:0;overflow:hidden;text-overflow:ellipsis;color:inherit;font-size:inherit;font-weight:inherit}
.phase2-product-card .product-variation-choice small{flex:none;font-size:9px;line-height:1;color:inherit}
.product-variation-units{margin:1px 0 5px;color:#194976;font-size:11px;font-weight:800}
.product-variation-units strong{display:inline-block;min-width:22px;padding:2px 5px;border-radius:5px;background:#dbeafe;color:#104c89;text-align:center}
.phase2-vip-normal-form[hidden]{display:none}.phase2-vip-normal-form{margin:8px 0 0}.phase2-vip-normal-form .btn{min-height:38px;background:#a52626;color:#fff;font-weight:900}

/* Selección rápida de productos y etiqueta visible durante el servicio. */
.phase2-product-card[data-product-batch-ready] .phase2-product-controls>.btn.primary.mini{display:none!important}
.phase2-product-card[data-product-batch-ready] .product-photo,.phase2-product-card[data-product-batch-ready] .product-icon{cursor:pointer}
.phase2-product-card[data-product-batch-ready] .product-photo:focus-visible,.phase2-product-card[data-product-batch-ready] .product-icon:focus-visible{outline:3px solid #0b9e73;outline-offset:2px}
.product-batch-line>span{flex:1;min-width:0}.product-batch-line>span strong{overflow-wrap:anywhere}
.product-batch-remove{flex:none;display:grid;place-items:center;width:28px;height:28px;border:1px solid #efb2b2;border-radius:8px;background:#fff1f1;color:#a51f2b;font-size:20px;font-weight:900;cursor:pointer}
.product-batch-remove:hover,.product-batch-remove:focus-visible{background:#b4232e;color:#fff}
.product-batch-line .product-batch-target{width:min(100%,230px);min-height:30px;padding:4px 7px;border:1px solid #91b5d6;border-radius:7px;background:#fff;color:#143e68;font-size:12px;font-weight:800}
.phase2-label-panel{margin:8px 0;padding:9px 12px!important;border:1px solid #e5bf67;background:#fff9ea;color:#183252}
.phase2-label-panel form{display:grid;gap:5px}.phase2-label-panel label,.phase2-label-panel>strong{font-size:12px;font-weight:950;letter-spacing:.04em;color:#754b07}
.phase2-label-panel .phase2-label-row{display:flex;gap:7px;align-items:center}.phase2-label-row input{flex:1;min-width:0}.phase2-label-panel small{color:#655433;font-size:11px}.phase2-label-panel>span{margin-left:10px;font-weight:800;color:#204e77}
.phase2-floating-label{position:fixed;right:18px;bottom:20px;z-index:1100;max-width:min(230px,48vw);padding:8px 12px;border:2px solid #f4c84a;border-radius:12px;background:#7141b7;color:#fff;font-size:13px;font-weight:900;line-height:1.2;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 5px 20px #24184677;cursor:pointer}
.phase2-floating-label[hidden]{display:none!important}
.touch-body .phase2-floating-label{bottom:calc(86px + env(safe-area-inset-bottom));right:12px;max-width:min(205px,55vw)}
.phase2-label-row input[readonly]{background:#f1f5fa;color:#23415f;font-weight:800;cursor:default}
.phase2-label-row .btn[hidden]{display:none!important}
.phase2-label-row .btn{flex:none;min-width:64px}
.phase2-table-label{display:flex;align-items:center;gap:6px;min-width:0;margin:7px 0;padding:5px 8px;border:1px solid #e9ca62;border-radius:8px;background:#6b3da8;color:#fff;box-shadow:0 2px 9px #28174c33}
.phase2-table-label small{flex:none;color:#ffec98;font-size:9px;font-weight:900;letter-spacing:.05em}
.phase2-table-label strong{min-width:0;overflow-wrap:anywhere;color:#fff;font-size:12px;font-weight:900;line-height:1.15}

.phase2-origin-badge{display:inline-flex;max-width:100%;margin:6px 0;padding:5px 9px;border-radius:8px;background:#ffdf85;color:#553400;font-size:12px;font-weight:900;overflow-wrap:anywhere}
.phase2-price-edit{display:block;margin:5px 0;font-size:11px;font-weight:800;color:#17335e}.phase2-price-edit input{width:100%;min-height:34px;font-size:13px}
