/* Panel de la sucursal */
body { background: var(--concrete); background-image: var(--noise); }
.muted { color: var(--mute); }
.logo-badge { display: inline-grid; place-items: center; width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--paper); border: 3px solid var(--coal); box-shadow: 4px 4px 0 var(--yellow); transform: rotate(-6deg); }
.logo-badge img { width: 74%; height: auto; }
.logo-badge.sm { width: 54px; border-width: 2px; box-shadow: 2px 2px 0 var(--yellow); }

/* Entrada */
.login { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: min(430px, 100%); background: #fff; border: 2px solid var(--coal); border-radius: 22px; padding: 30px 26px; display: grid; gap: 14px; box-shadow: 8px 8px 0 var(--coal); justify-items: stretch; }
.login-card .logo-badge { justify-self: center; margin-bottom: 4px; }
.login-card h1 { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-card h1 .script { font-size: 2.2rem; transform: rotate(-4deg); }
.login-card h1 .block { font-size: 2.5rem; }
.login-card > p.muted { text-align: center; margin: 0; }
.login-card .demo { font-size: .8rem; color: var(--mute); margin: 0; background: rgba(242, 183, 5, .14); border-radius: 10px; padding: 10px 12px; }

/* Estructura */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100svh; }
.side { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: 18px 14px; gap: 18px; border-right: 2px solid var(--coal); z-index: 50; }
.s-brand { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1.5px solid rgba(255, 255, 255, .12); }
.s-brand b { display: block; font-family: var(--f-block); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em; }
.s-brand small { display: block; color: var(--yellow); font-size: .78rem; font-weight: 600; line-height: 1.3; }
#sideNav { display: grid; gap: 4px; overflow: auto; }
#sideNav button { display: flex; align-items: center; gap: 12px; width: 100%; background: transparent; border: 0; color: rgba(255, 255, 255, .78); text-align: left; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
#sideNav button svg { width: 20px; height: 20px; flex: none; }
#sideNav button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
#sideNav button.on { background: var(--red); color: #fff; box-shadow: 3px 3px 0 var(--yellow); }
#sideNav .badge { margin-left: auto; min-width: 24px; height: 24px; border-radius: 99px; background: var(--yellow); color: var(--coal); font-size: .78rem; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
#sideNav .badge.hot { animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { transform: scale(1.15); } }
.s-bottom { margin-top: auto; display: grid; gap: 6px; border-top: 1.5px solid rgba(255, 255, 255, .12); padding-top: 12px; }
.s-bottom a, .s-bottom button { background: transparent; border: 0; color: rgba(255, 255, 255, .7); text-align: left; padding: 8px 12px; border-radius: 10px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.s-bottom a:hover, .s-bottom button:hover { background: rgba(255, 255, 255, .07); color: #fff; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 12px 26px; background: rgba(231, 228, 223, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--coal); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; color: var(--ok); }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #22b35c; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 179, 92, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(34, 179, 92, 0); } }
.wa-any svg { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border: 2px solid var(--coal); border-radius: 12px; background: #fff; position: relative; flex: none; }
.burger span { position: absolute; left: 11px; right: 11px; height: 3px; border-radius: 3px; background: var(--coal); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 24px; }
.scope { display: flex; align-items: center; gap: 10px; min-width: 0; }
.scope .lbl { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); white-space: nowrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.scope .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips button { border: 2px solid var(--coal); background: #fff; border-radius: 99px; padding: 6px 13px; font-weight: 600; font-size: .86rem; white-space: nowrap; transition: background .2s; }
.chips button:hover { background: var(--yellow); }
.chips button.on { background: var(--coal); color: #fff; }
.chips button .n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 99px; background: var(--red); color: #fff; font-size: .72rem; margin-left: 6px; padding: 0 5px; }
.lock-br { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.lock-br svg { width: 18px; height: 18px; color: var(--red); }

.view { padding: 26px; max-width: 1500px; width: 100%; }
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.top h1 { margin: 0; font-family: var(--f-block); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; }
.top h1 .script { font-size: .78em; display: inline-block; transform: rotate(-4deg); margin-right: 8px; text-transform: none; }
.top p { margin: 6px 0 0; color: var(--mute); max-width: 60em; }
.tact { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.card { background: #fff; border: 2px solid var(--coal); border-radius: 18px; padding: 18px; box-shadow: 4px 4px 0 var(--coal); }
.card h3 { margin: 0 0 14px; font-family: var(--f-block); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hint { color: var(--mute); font-size: .84rem; margin-top: 16px; }
.empty { color: var(--mute); text-align: center; padding: 20px 10px; font-weight: 500; font-size: .92rem; }

/* Avisos de pagos */
.alerts { display: grid; gap: 10px; margin-bottom: 18px; }
.alert { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff8de; border: 2px solid var(--coal); border-left: 10px solid var(--yellow); border-radius: 14px; padding: 12px 14px; }
.alert.bad { background: #fde9e7; border-left-color: var(--red); }
.alert > svg { width: 22px; height: 22px; flex: none; }
.alert span { flex: 1; min-width: 200px; font-weight: 600; }

/* Resumen */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.kpi { background: #fff; border: 2px solid var(--coal); border-radius: 18px; padding: 16px 18px; box-shadow: 4px 4px 0 var(--coal); }
.kpi:nth-child(1) { background: var(--yellow); }
.kpi small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.kpi b { display: block; font-family: var(--f-block); font-weight: 400; font-size: 2.4rem; line-height: 1.1; color: var(--ink); }
.kpi span { font-size: .84rem; color: var(--ink-2); }
.grid2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 200px; padding-top: 20px; }
.bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 5px; min-width: 0; }
.bars i { display: block; width: 100%; max-width: 38px; background: var(--red); border-radius: 6px 6px 2px 2px; border: 2px solid var(--coal); min-height: 4px; }
.bars b { font-size: .66rem; font-weight: 700; white-space: nowrap; color: var(--ink-2); }
.bars small { font-size: .7rem; color: var(--mute); white-space: nowrap; }
.list { display: grid; }
.li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1.5px dashed var(--line-2); }
.li:last-child { border-bottom: 0; }
.li em { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--yellow); border: 2px solid var(--coal); font-weight: 700; font-size: .78rem; margin-right: 10px; }
.li small { display: block; color: var(--mute); font-size: .82rem; }

/* Tablas */
.tbl-wrap { background: #fff; border: 2px solid var(--coal); border-radius: 18px; overflow: auto; box-shadow: 4px 4px 0 var(--coal); }
.tbl-wrap.flat { box-shadow: none; border: 0; border-radius: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); padding: 12px 14px; border-bottom: 2px solid var(--coal); white-space: nowrap; background: var(--paper); }
.tbl td { padding: 12px 14px; border-bottom: 1.5px dashed var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display: block; color: var(--mute); font-size: .8rem; }
.tbl .acts { white-space: nowrap; text-align: right; }
.tbl .acts .btn { margin-left: 4px; }
.ex { font-style: normal; font-size: .7rem; background: var(--concrete); padding: 2px 7px; border-radius: 99px; color: var(--mute); font-weight: 600; margin-left: 4px; }

/* Tablero de pedidos */
.board { display: grid; grid-template-columns: repeat(4, minmax(250px, 1fr)); gap: 14px; align-items: start; }
.col { background: rgba(255, 255, 255, .45); border: 2px solid var(--coal); border-radius: 18px; padding: 12px; min-height: 200px; }
.col > h3 { margin: 2px 4px 12px; font-family: var(--f-block); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; }
.col > h3 span { background: var(--coal); color: #fff; border-radius: 99px; min-width: 28px; height: 28px; display: grid; place-items: center; font-family: var(--f-body); font-weight: 700; font-size: .82rem; padding: 0 8px; }
.col.c-nuevo > h3 span { background: var(--red); }
.ocard { background: #fff; border: 2px solid var(--coal); border-radius: 14px; padding: 12px; margin-bottom: 12px; box-shadow: 3px 3px 0 var(--coal); animation: cardIn .5s var(--ease); }
.ocard.new { box-shadow: 3px 3px 0 var(--red), 0 0 0 3px var(--yellow); }
.ocard.waitpay { border-style: dashed; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.ocard header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ocard header b { font-family: var(--f-block); font-weight: 400; font-size: 1.25rem; letter-spacing: .02em; }
.ocard header span { font-size: .82rem; font-weight: 700; color: var(--ink-2); text-align: right; }
.who { margin: 4px 0 8px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.who em { font-style: normal; font-size: .7rem; background: var(--concrete); padding: 2px 7px; border-radius: 99px; color: var(--mute); }
.who small { font-size: .72rem; background: var(--coal); color: #fff; padding: 2px 8px; border-radius: 99px; }
.ocard ul { list-style: none; padding: 8px 0; margin: 0; border-top: 1.5px dashed var(--line-2); border-bottom: 1.5px dashed var(--line-2); display: grid; gap: 4px; font-size: .88rem; }
.ocard li small { display: block; color: var(--mute); font-size: .78rem; padding-left: 22px; }
.ocard .odisc { font-size: .8rem; color: var(--ok); font-weight: 600; margin: 6px 0 0; }
.ocard footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ocard .tot { font-family: var(--f-block); font-size: 1.35rem; color: var(--red); }
.paybox { margin-top: 8px; background: #fff8de; border: 1.5px solid var(--yellow); border-radius: 10px; padding: 8px 10px; font-size: .82rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.paybox.bad { background: #fde9e7; border-color: var(--red); color: var(--red-ink); }
.paybox .cd { font-variant-numeric: tabular-nums; }
.oact { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.oact .btn { flex: 1 1 100%; }
.oact .btn.owa { flex: 1 1 auto; }
.oact .icon-btn { flex: 0 0 auto; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--coal); background: #fff; display: inline-grid; place-items: center; box-shadow: 2px 2px 0 var(--coal); transition: transform .15s, background .2s; text-decoration: none; color: var(--ink); }
.icon-btn:hover { background: var(--yellow); transform: translate(-1px, -1px); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.wa { background: var(--wa); color: #fff; }
.icon-btn.wa:hover { background: #17924a; }
.msg-count { font-size: .74rem; color: var(--wa); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; margin-top: 6px; }
.msg-count svg { width: 14px; height: 14px; }

/* Etiquetas de estado */
.t-new { background: var(--red); }
.t-pen { background: var(--warn); }
.t-ok { background: var(--ok); }
.t-done { background: #8b8380; }
.t-x { background: var(--coal); }

/* Menú y precios */
.addform, .promoform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; align-items: end; }
.addform .row, .promoform .row { display: flex; gap: 10px; }
.mlist { display: grid; gap: 8px; }
.mrow { display: grid; grid-template-columns: 56px 1fr 120px auto auto auto; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--coal); border-radius: 14px; padding: 10px 14px; }
.mrow.off { background: #f1eeea; }
.mrow img, .mrow .ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 2px solid var(--coal); background: #fff url(../img/brand/mano-roja.png) center / 70% no-repeat; }
.mname b { display: block; font-weight: 700; }
.mname small { color: var(--mute); font-size: .8rem; }
.own { font-style: normal; color: var(--red); font-weight: 600; }
.price { flex-direction: row; align-items: center; gap: 4px; font-weight: 700; font-size: 1rem; }
.price input { min-height: 40px; padding: 8px 10px; }
.sw em { font-style: normal; font-size: .84rem; min-width: 70px; }
.racts { display: flex; gap: 6px; justify-content: flex-end; }

/* Promociones */
.days { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.days label { flex-direction: row; cursor: pointer; }
.days input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.days span { display: grid; place-items: center; width: 42px; height: 40px; border: 2px solid var(--line-2); border-radius: 10px; background: #fff; font-weight: 700; }
.days input:checked + span { background: var(--yellow); border-color: var(--coal); }
.days input:focus-visible + span { outline: 3px solid var(--red); }
.lbl { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.ideas { margin-bottom: 14px; align-items: center; }
.ideas > span { font-weight: 700; font-size: .86rem; margin-right: 4px; }
.plist { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--coal); border-radius: 14px; padding: 12px 14px; }
.prow.off { opacity: .6; }
.pbadge { font-family: var(--f-block); font-size: 1.2rem; background: var(--red); color: #fff; border-radius: 10px; padding: 6px 12px; min-width: 64px; text-align: center; border: 2px solid var(--coal); }
.prow b { display: block; }
.prow small { color: var(--mute); font-size: .82rem; }

/* Ajustes */
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.set { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.set.col { flex-direction: column; align-items: stretch; justify-content: flex-start; }
.set.wide { grid-column: 1 / -1; }
.set b { display: block; font-size: 1.02rem; }
.set small { color: var(--mute); font-size: .86rem; display: block; margin-top: 2px; }
.set select { width: auto; min-width: 150px; }
.avrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.avrow input { flex: 1; min-width: 200px; }
.sw.big span { width: 56px; height: 32px; }
.sw.big span::after { width: 24px; height: 24px; }
.sw.big input:checked + span::after { transform: translateX(24px); }
.hrs { display: grid; gap: 8px; }
.hrow { display: grid; grid-template-columns: 110px 130px 1fr auto 1fr; gap: 10px; align-items: center; }
.hrow input[type=time] { min-height: 42px; padding: 8px 10px; }
.to { color: var(--mute); text-align: center; }
.bankf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.warnbox { background: #fff8de; border: 2px dashed var(--warn); border-radius: 12px; padding: 10px 12px; font-size: .86rem; font-weight: 500; }

/* Cajón lateral y compositor */
.amodal { position: fixed; inset: 0; z-index: 200; background: rgba(15, 10, 9, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.amodal.open { opacity: 1; visibility: visible; }
.amodal.center { justify-content: center; align-items: center; padding: 20px; }
.dpanel { width: min(520px, 100vw); height: 100%; background: var(--paper); background-image: var(--noise); border-left: 2px solid var(--coal); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.amodal.open .dpanel { transform: none; }
.dh { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; border-bottom: 2px dashed var(--line-2); }
.dh h2 { margin: 0; font-family: var(--f-block); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.dh small { display: block; color: var(--mute); font-weight: 600; margin-top: 4px; }
.xbtn { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--coal); background: #fff; display: grid; place-items: center; flex: none; transition: transform .2s, background .2s; }
.xbtn:hover { background: var(--yellow); transform: rotate(90deg); }
.xbtn svg { width: 20px; height: 20px; }
.db { flex: 1; overflow: auto; padding: 16px 20px 24px; display: grid; gap: 14px; align-content: start; }
.dsec { background: #fff; border: 2px solid var(--coal); border-radius: 14px; padding: 14px; }
.dsec h4 { margin: 0 0 10px; font-family: var(--f-block); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .03em; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.kv dt { color: var(--mute); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { border: 2px solid var(--coal); background: #fff; border-radius: 10px; padding: 8px 11px; font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, transform .15s; }
.quick button:hover { background: var(--yellow); transform: translateY(-1px); }
.quick button svg { width: 16px; height: 16px; color: var(--wa); }
.quick button.warn svg { color: var(--red); }
.msgs { display: grid; gap: 8px; }
.msg { background: #e9f8ef; border: 1.5px solid #b9e6c9; border-radius: 12px 12px 12px 4px; padding: 9px 12px; font-size: .86rem; }
.msg small { display: block; color: var(--mute); font-size: .74rem; margin-top: 4px; font-weight: 600; }
.dacts { display: flex; flex-wrap: wrap; gap: 8px; }

.cbox { width: min(560px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: var(--paper); border: 2px solid var(--coal); border-radius: 20px; box-shadow: 8px 8px 0 var(--coal); transform: translateY(20px) scale(.97); transition: transform .4s var(--ease); }
.amodal.open .cbox { transform: none; }
.cbox .dh { border-bottom-style: dashed; }
.cbody { padding: 16px 20px 20px; display: grid; gap: 14px; }
.tpl { display: flex; flex-wrap: wrap; gap: 6px; }
.tpl button { border: 2px solid var(--line-2); background: #fff; border-radius: 99px; padding: 7px 12px; font-size: .84rem; font-weight: 600; }
.tpl button.on { border-color: var(--coal); background: var(--yellow); }
.cbody textarea { min-height: 130px; font-size: .95rem; line-height: 1.5; }
.wa-preview { display: flex; gap: 10px; align-items: center; font-size: .86rem; color: var(--mute); }
.wa-preview svg { width: 18px; height: 18px; color: var(--wa); flex: none; }
.chk { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--red); }
.pick { display: grid; gap: 8px; max-height: 52svh; overflow: auto; }
.pick button { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; width: 100%; border: 2px solid var(--line-2); background: #fff; border-radius: 12px; padding: 11px 13px; transition: border-color .2s, background .2s; }
.pick button:hover { border-color: var(--coal); background: #fffbea; }
.pick b { display: block; }
.pick small { color: var(--mute); font-size: .8rem; }
.pick .tag { flex: none; }
.cbody .search-in { min-height: 46px; }

/* Responsivo */
@media (max-width: 1200px) { .board { grid-template-columns: repeat(2, minmax(250px, 1fr)); } .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; width: min(290px, 86vw); transform: translateX(-105%); transition: transform .4s var(--ease); box-shadow: 10px 0 40px rgba(0, 0, 0, .3); }
  .nav-open .side { transform: none; }
  .burger { display: block; }
  .topbar { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .scope { order: 3; width: 100%; }
  .view { padding: 18px 14px 40px; }
  .grid2, .settings { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(4, 86vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .col { scroll-snap-align: start; }
  .addform, .promoform { grid-template-columns: 1fr; }
  .mrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 12px; }
  .mrow img, .mrow .ph { width: 48px; height: 48px; flex: none; }
  .mrow .mname { flex: 1 1 calc(100% - 172px); min-width: 0; }
  .mrow .price { width: 92px; flex: none; }
  .mrow .price input { width: 100%; }
  .mrow .sw { gap: 6px; }
  .mrow .racts { margin-left: auto; }
  .mrow .sw em { font-size: .8rem; min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -14px; padding-right: 14px; }
  .chips::-webkit-scrollbar { display: none; }
  .hrow { grid-template-columns: 1fr auto; }
  .hrow input[type=time] { grid-column: auto; }
  .hrow .to { display: none; }
  .bankf { grid-template-columns: 1fr; }
  .prow { grid-template-columns: auto 1fr; }
  .wa-any .lbl { display: none; }
  .live { display: none; }
}
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi b { font-size: 1.8rem; } .amodal.center { padding: 0; align-items: flex-end; } .cbox { border-radius: 20px 20px 0 0; max-height: 92svh; width: 100%; box-shadow: none; } }
.login-card .lerr { margin: 0; color: var(--red, #b3121b); font-weight: 600; font-size: .9rem; text-align: center; }
