body { background: var(--bg); }
.small { font-size: .85rem; }

/* ============ LOGIN ============ */
.login {
  min-height: 100vh; display: grid; place-items: center; padding: 1.5rem;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(235, 255, 225, .12), transparent 70%),
    repeating-linear-gradient(90deg, #0c2215 0 80px, #0e2818 80px 160px);
}
.login[hidden] { display: none; }
.login-card { width: min(400px, 100%); border-radius: 26px; overflow: hidden; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow); }
.login-card.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-8px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-4px); } }
.login-pitch {
  height: 140px; position: relative; display: grid; place-items: center;
  background: repeating-linear-gradient(90deg, #1f7537 0 30px, #23843f 30px 60px);
}
.login-pitch::before { content: ''; position: absolute; inset: 14px; border: 2px solid rgba(255, 255, 255, .7); }
.login-pitch::after { content: ''; position: absolute; width: 70px; height: 70px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; }
.login-ball { width: 46px; height: 46px; position: relative; z-index: 1; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4)); }
.login-in { padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; }
.login-in .logo-txt b { font-size: 1.9rem; }
.login .field input { font-size: 1.6rem; letter-spacing: .6em; text-align: center; font-family: var(--f-display); }
.login-back { text-align: center; font-size: .9rem; color: var(--muted); }
.login-back:hover { color: var(--lime); }

/* ============ LAYOUT ============ */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.app[hidden] { display: none; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 1.8rem;
  padding: 1.5rem 1rem; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #0b1a12, #07120c);
}
.side-logo { padding: 0 .5rem; }
.side-nav { display: flex; flex-direction: column; gap: .3rem; }
.side-nav button {
  position: relative; display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; border-radius: 12px;
  font-family: var(--f-cond); font-weight: 600; font-size: 1.08rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  transition: .2s;
}
.side-nav svg { width: 20px; height: 20px; }
.side-nav button:hover { color: var(--chalk); background: rgba(255, 255, 255, .04); }
.side-nav button.active { color: var(--lime-ink); background: var(--lime); }
.side-nav em {
  margin-left: auto; font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: var(--amber); color: #2a1a00;
}
.side-nav em:empty { display: none; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: .2rem; }
.side-link { display: flex; align-items: center; gap: .7rem; padding: .6rem 1rem; border-radius: 10px; color: var(--muted); font-size: .92rem; text-align: left; }
.side-link svg { width: 17px; height: 17px; }
.side-link:hover { color: var(--chalk); background: rgba(255, 255, 255, .04); }
.side-demo { margin-top: .8rem; text-align: center; padding: .4rem; border-radius: 8px; font-family: var(--f-cond); font-weight: 700; font-size: .75rem; letter-spacing: .2em; color: var(--lime-ink); background: repeating-linear-gradient(-45deg, #c8f53c 0 10px, #b9e62f 10px 20px); }

.main { padding: 1.8rem 2.2rem 3rem; min-width: 0; }
.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; }
.top-date { font-family: var(--f-cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--lime); }
.top h1 { font-family: var(--f-display); font-weight: 900; font-size: 2.8rem; text-transform: uppercase; line-height: 1; }
.view { display: none; flex-direction: column; gap: 1.2rem; animation: fade .35s; }
.view.active { display: flex; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.panel-h h3 { font-family: var(--f-cond); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; }
.link { color: var(--lime); font-weight: 600; font-size: .9rem; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; }

/* ============ KPIs ============ */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.kpi { position: relative; overflow: hidden; padding: 1.3rem 1.4rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.kpi.feature { background: repeating-linear-gradient(90deg, #1d6e35 0 26px, #21803d 26px 52px); border-color: transparent; }
.kpi.feature::after { content: ''; position: absolute; inset: 8px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 13px; pointer-events: none; }
.kpi-l { font-family: var(--f-cond); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kpi.feature .kpi-l, .kpi.feature .kpi-s { color: rgba(255, 255, 255, .8); }
.kpi-v { margin: .35rem 0 .15rem; font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.kpi-v small { font-size: .5em; color: var(--muted); margin-left: .15em; }
.kpi.feature .kpi-v small { color: rgba(255, 255, 255, .7); }
.kpi-s { font-size: .85rem; color: var(--muted); }
.meter { margin-top: .7rem; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--lime); }

/* ============ listas ============ */
.today-list { display: flex; flex-direction: column; gap: .5rem; }
.tl-item {
  display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 1rem;
  padding: .75rem .9rem; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line);
  text-align: left; transition: .2s; width: 100%;
}
.tl-item:hover { border-color: rgba(200, 245, 60, .4); }
.tl-item.now { border-color: var(--lime); box-shadow: inset 3px 0 0 var(--lime); }
.tl-item.done { opacity: .5; }
.tl-time { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.tl-time small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .72rem; color: var(--muted); margin-top: .15rem; }
.tl-who b { display: block; font-weight: 600; }
.tl-who span { font-size: .82rem; color: var(--muted); }
.empty { padding: 1.6rem; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: 14px; }

.pend-list { display: flex; flex-direction: column; gap: .5rem; max-height: 360px; overflow: auto; }
.pd-item { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 14px; background: rgba(255, 182, 39, .05); border: 1px solid rgba(255, 182, 39, .18); }
.pd-info { flex: 1; min-width: 0; cursor: pointer; }
.pd-info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-info span { font-size: .82rem; color: var(--muted); }
.pd-actions { display: flex; gap: .35rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line2); font-size: 1.3rem; color: var(--muted); transition: .2s; flex: none; }
.icon-btn:hover { color: var(--lime); border-color: var(--lime); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.wa:hover { color: #25d366; border-color: #25d366; }
.icon-btn.ok:hover { color: var(--lime-ink); background: var(--lime); }

/* ============ barras ============ */
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .8rem; align-items: end; height: 220px; padding-top: 1.4rem; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: .45rem; height: 100%; cursor: default; }
.bar-track { position: relative; flex: 1; width: 100%; max-width: 64px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line2); }
.bar { width: 100%; border-radius: 4px 4px 0 0; background: var(--lime); transition: height .6s cubic-bezier(.2, .8, .2, 1), opacity .2s; min-height: 2px; }
.bars:hover .bar { opacity: .55; }
.bar-col:hover .bar { opacity: 1; }
.bar.alt { background: #6fcf73; }
.bar-val { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--f-cond); font-weight: 700; font-size: .9rem; color: var(--chalk); transform: translateY(-1.4rem); }
.bar-lbl { font-family: var(--f-cond); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.1; }
.bar-lbl b { display: block; color: var(--chalk); font-size: 1rem; }
.bar-col.is-today .bar-lbl { color: var(--lime); }

.tip {
  position: fixed; z-index: 300; pointer-events: none; padding: .55rem .8rem; border-radius: 10px;
  background: #f2f7f1; color: #0a1a0e; font-size: .85rem; box-shadow: var(--shadow);
  opacity: 0; transform: translate(-50%, calc(-100% - 10px)); transition: opacity .15s; white-space: nowrap;
}
.tip.on { opacity: 1; }
.tip b { font-weight: 700; }

/* ============ AGENDA ============ */
.agenda-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.date-nav { display: flex; align-items: center; gap: .5rem; }
.date-nav h2 { margin-left: .8rem; font-family: var(--f-cond); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; }
.date-input { padding: .55rem .8rem; border-radius: 10px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .25); color-scheme: dark; }
.agenda-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .3rem; }
.ag-day { flex: none; min-width: 76px; padding: .55rem .5rem; border-radius: 12px; border: 1px solid var(--line2); text-align: center; transition: .2s; }
.ag-day:hover { border-color: rgba(200, 245, 60, .5); }
.ag-day span { display: block; font-family: var(--f-cond); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ag-day b { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.1; }
.ag-day i { display: block; height: 4px; margin: .35rem auto 0; width: 70%; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ag-day i::after { content: ''; display: block; height: 100%; width: var(--p); background: var(--lime); }
.ag-day.active { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.ag-day.active span { color: var(--lime-ink); }
.ag-day.active i { background: rgba(0, 0, 0, .15); }
.ag-day.active i::after { background: var(--lime-ink); }

.agenda-panel { padding: 0; overflow: hidden; }
.agenda { --row: 58px; display: grid; grid-template-columns: 72px 1fr; position: relative; }
.ag-head { position: sticky; top: 0; z-index: 3; padding: .9rem 1rem; border-bottom: 1px solid var(--line2); background: var(--card2); font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: .5rem; }
.ag-head small { margin-left: auto; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.ag-hours { border-right: 1px solid var(--line); }
.ag-hour { height: var(--row); padding: .4rem .6rem; font-family: var(--f-cond); font-weight: 600; color: var(--muted); font-size: .95rem; border-bottom: 1px solid var(--line); text-align: right; }
.ag-col { position: relative; border-right: 1px solid var(--line); }
.ag-col:last-child { border-right: 0; }
.ag-col.cancha { background: repeating-linear-gradient(90deg, rgba(35, 134, 63, .06) 0 40px, rgba(35, 134, 63, .02) 40px 80px); }
.ag-cell { display: block; width: 100%; height: var(--row); border-bottom: 1px solid var(--line); transition: background .15s; position: relative; }
.ag-cell:hover { background: rgba(200, 245, 60, .07); }
.ag-cell:hover::after { content: '+ Cargar turno'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-cond); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--lime); }
.ag-cell.past { background: rgba(0, 0, 0, .25); pointer-events: none; }
.ag-bk {
  position: absolute; left: 6px; right: 6px; z-index: 2; overflow: hidden;
  padding: .45rem .7rem; border-radius: 10px; text-align: left;
  border: 1px solid; border-left-width: 4px; transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.ag-bk:hover { transform: scale(1.015); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .8); z-index: 4; }
.ag-bk b { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-bk span { font-size: .78rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-bk .chip { position: absolute; top: .45rem; right: .5rem; font-size: .68rem; padding: .12rem .5rem; }
.ag-bk.st-pendiente { background: #2b2412; border-color: rgba(255, 182, 39, .45); color: #ffe2a3; }
.ag-bk.st-confirmado { background: #0f2630; border-color: rgba(76, 201, 240, .45); color: #c6efff; }
.ag-bk.st-pagado { background: #1f2c0d; border-color: rgba(200, 245, 60, .5); color: #eaffb8; }
.ag-bk.st-bloqueado { background: repeating-linear-gradient(-45deg, #1a201c 0 6px, #141915 6px 12px); border-color: var(--line2); color: var(--muted); }
.ag-bk .chip.st-pendiente, .ag-bk .chip.st-confirmado, .ag-bk .chip.st-pagado { background: rgba(0, 0, 0, .3); }
.ag-now { position: absolute; left: 72px; right: 0; z-index: 5; height: 2px; background: var(--red); pointer-events: none; }
.ag-now::before { content: ''; position: absolute; left: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.hint { text-align: center; }

/* ============ RESERVAS ============ */
.filters { display: flex; gap: .8rem; flex-wrap: wrap; }
.search { flex: 1; min-width: 220px; padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); outline: none; }
.search:focus, .sel:focus { border-color: var(--lime); }
.sel { padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); outline: none; }
.sel option { background: var(--card); }
.seg { display: flex; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line2); }
.seg button { padding: .5rem 1rem; border-radius: 9px; font-family: var(--f-cond); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.seg button.active { background: var(--lime); color: var(--lime-ink); }
.table-panel { padding: 0; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 820px; }
.tbl th { position: sticky; top: 0; text-align: left; padding: .9rem 1rem; font-family: var(--f-cond); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--card2); border-bottom: 1px solid var(--line2); }
.tbl td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tbody tr { cursor: pointer; transition: background .15s; }
.tbl tbody tr:hover { background: rgba(200, 245, 60, .05); }
.tbl .r { text-align: right; }
.tbl .code { font-family: var(--f-cond); font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.tbl .who b { display: block; font-weight: 600; }
.tbl .who span { font-size: .8rem; color: var(--muted); }
.tbl .money small { color: var(--muted); }
.src { font-size: .8rem; color: var(--muted); }
.tbl-empty { padding: 2.5rem; text-align: center; color: var(--muted); }

/* ============ AJUSTES ============ */
.settings { display: flex; flex-direction: column; gap: 1.8rem; max-width: 900px; }
.set-group h3 { font-family: var(--f-cond); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.set-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.set-actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: space-between; }

/* ============ MODAL reserva ============ */
.bk-h { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; padding-right: 2rem; }
.bk-h h3 { font-family: var(--f-display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.bk-h .code { font-family: var(--f-cond); font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.bk-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.2rem; }
.bk-sum div { padding: .8rem; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.bk-sum span { display: block; font-family: var(--f-cond); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-sum b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; }
.bk-quick { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.3rem; padding-bottom: 1.3rem; border-bottom: 1px dashed var(--line2); }
.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.bk-form .full { grid-column: 1 / -1; }
.bk-warn { grid-column: 1 / -1; padding: .7rem 1rem; border-radius: 10px; background: rgba(255, 93, 79, .1); color: #ffb3ab; font-size: .9rem; border: 1px solid rgba(255, 93, 79, .3); }
.bk-actions { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.bk-actions .r { display: flex; gap: .6rem; margin-left: auto; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .side {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 40; height: auto;
    flex-direction: row; padding: .4rem; border-right: 0; border-top: 1px solid var(--line2);
    background: rgba(7, 18, 12, .96); backdrop-filter: blur(10px);
  }
  .side-logo, .side-foot { display: none; }
  .side-nav { flex-direction: row; width: 100%; }
  .side-nav button { flex: 1; flex-direction: column; gap: .2rem; padding: .5rem .2rem; font-size: .72rem; }
  .side-nav em { position: absolute; top: 2px; right: 18%; margin: 0; min-width: 18px; height: 18px; font-size: .68rem; }
  .main { padding: 1.2rem 1rem 6rem; }
  .top h1 { font-size: 2.1rem; }
  .kpi-v { font-size: 2rem; }
  .set-grid { grid-template-columns: 1fr; }
  .bk-form { grid-template-columns: 1fr; }
  .bk-sum { grid-template-columns: 1fr 1fr; }
  .agenda { --row: 54px; grid-template-columns: 52px 1fr; }
  .ag-now { left: 52px; }
  .ag-bk .chip { display: none; }
  .date-nav h2 { font-size: 1.1rem; margin-left: .3rem; }
  .bars { gap: .4rem; }
  .modal-body { padding: 1.4rem; }
}

/* ============ Mercado Pago / extras ============ */
.mp-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #009ee3; color: #fff; font-family: var(--f-display); font-weight: 900; font-size: .78rem; letter-spacing: 0; vertical-align: middle; margin-right: .3rem; flex: none; }
.mp-panel { border-color: rgba(0, 158, 227, .3); background: linear-gradient(120deg, rgba(0, 158, 227, .08), var(--card) 55%); }
.mp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.mp-stats div { padding: .9rem 1rem; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.mp-stats span { display: block; font-family: var(--f-cond); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mp-stats b { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; }
.mp-stats b.neg { color: var(--muted); }
.mp-stats .hl { border-color: rgba(200, 245, 60, .4); }
.mp-stats .hl b { color: var(--lime); }
.mp-tag { display: inline-block; padding: 0 .35rem; border-radius: 5px; background: #009ee3; color: #fff; font-family: var(--f-cond); font-weight: 700; font-size: .72rem; vertical-align: 1px; }
.mp-acc { display: flex; align-items: center; gap: .7rem; padding: .6rem .9rem; border-radius: 12px; border: 1px solid rgba(0, 158, 227, .4); background: rgba(0, 158, 227, .08); }
.mp-acc b { display: block; color: #7fd3ff; }
.mp-acc small { display: block; color: var(--muted); font-size: .8rem; }
.full-row { grid-column: 1 / -1; }
.full-row2 { grid-column: 2 / -1; }
.field textarea { resize: vertical; }
.toggle { display: flex; align-items: center; gap: .9rem; cursor: pointer; padding: .7rem 1rem; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .2); }
.toggle input { display: none; }
.tg { position: relative; width: 44px; height: 24px; border-radius: 99px; background: rgba(255, 255, 255, .15); flex: none; transition: .2s; }
.tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; }
.toggle input:checked + .tg { background: #25d366; }
.toggle input:checked + .tg::after { left: 23px; }
.toggle b { display: block; }
.toggle small { color: var(--muted); font-size: .82rem; }
@media (max-width: 1100px) { .mp-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .full-row2 { grid-column: 1 / -1; } }

/* ============ WhatsApp automático / detalle ============ */
.wa-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 250; display: flex; flex-direction: column; gap: .7rem; width: min(360px, calc(100vw - 40px)); }
.wa-toast { padding: .9rem; border-radius: 16px; background: #0b1f16; border: 1px solid rgba(37, 211, 102, .45); box-shadow: var(--shadow); opacity: 0; transform: translateX(30px); transition: .4s cubic-bezier(.2, .8, .2, 1); }
.wa-toast.in { opacity: 1; transform: none; }
.wa-t-h { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; }
.wa-t-h svg { width: 26px; height: 26px; color: #25d366; flex: none; }
.wa-t-h b { display: block; font-size: .95rem; }
.wa-t-h small { color: var(--muted); font-size: .8rem; }
.wa-t-h i { margin-left: auto; font-style: normal; color: #53bdeb; font-weight: 700; font-size: .85rem; }
.wa-bubble { position: relative; padding: .6rem .8rem; border-radius: 4px 12px 12px 12px; background: #005c4b; color: #e9fdf3; font-size: .88rem; line-height: 1.4; }
.bk-sum { grid-template-columns: repeat(4, 1fr) !important; }
.bk-sum small { display: block; font-size: .78rem; color: var(--muted); }
.bk-client { margin: -.4rem 0 1rem; color: var(--muted); font-size: .9rem; }
.bk-quick { margin-bottom: .7rem !important; padding-bottom: 0 !important; border-bottom: 0 !important; }
.bk-wa-note { display: flex; align-items: center; gap: .5rem; padding-bottom: 1.1rem; margin-bottom: .2rem; border-bottom: 1px dashed var(--line2); font-size: .85rem; color: #9fe3bd; }
.bk-wa-note svg { width: 16px; height: 16px; color: #25d366; flex: none; }
.bk-edit-h { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; margin-bottom: .9rem; color: var(--lime); }
.pd-item { background: rgba(255, 182, 39, .05); }
.st-pendiente.chip { animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .6; } }
@media (max-width: 820px) { .bk-sum { grid-template-columns: 1fr 1fr !important; } .wa-toasts { bottom: 80px; } }
.bk-sum b { font-size: 1.15rem !important; white-space: nowrap; }

/* ---------- producción ---------- */
.chip.st-reservando { background: rgba(0, 158, 227, .14); color: #7fd3ff; border-color: rgba(0, 158, 227, .4); }
.ag-bk.st-reservando { background: repeating-linear-gradient(-45deg, #0c1c26 0 6px, #0a1720 6px 12px); border-color: rgba(0, 158, 227, .45); color: #c6efff; }
.wa-toast { cursor: pointer; }
.wa-toast.fail { border-color: rgba(255, 93, 79, .55); background: #241310; }
.wa-toast.fail .wa-t-h svg { color: #ff8a7a; }
.wa-toast .wa-manual { margin-top: .7rem; width: 100%; justify-content: center; }
.mp-acc .btn, .mp-acc .link { margin-left: auto; white-space: nowrap; }
#passForm { margin-top: 1.2rem; }
