/* EducaQuix Restaurant */
.seg--sm { padding: 4px; border-radius: 13px; }
.seg--sm .seg__opt { min-height: 34px; padding: 6px 12px; font-size: .82rem; border-radius: 10px; }

/* salón */
.salon__body { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 420px; }
@media (min-width: 640px) { .salon__body { grid-template-columns: minmax(0, 1fr) 248px; } }
.salon__map { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 92px; gap: 16px 14px; padding: 22px 20px 56px; align-content: start;
  background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; }
.salon__map::after { content: "Barra"; position: absolute; left: 20px; right: 20px; bottom: 14px; height: 28px; display: grid; place-items: center; border-radius: 10px;
  background: var(--surface); border: 1px dashed var(--line-2); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.tbl { position: relative; display: grid; place-items: center; align-content: center; gap: 2px; border: 2px dashed var(--line-2); background: var(--surface); border-radius: 18px; padding: 6px;
  color: var(--text-2); transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, border-color .2s; }
.tbl--r { border-radius: 50%; width: 84px; height: 84px; max-width: 100%; margin: auto; }
.tbl b { font-size: 1.15rem; font-weight: 600; line-height: 1; color: var(--text); }
.tbl span { font-size: .64rem; font-weight: 500; }
.tbl:hover { transform: translateY(-2px); }
.tbl.is-busy { border: 0; background: var(--turq); color: var(--navy); box-shadow: 0 10px 20px -12px rgba(10, 158, 142, .9); }
.tbl.is-busy b { color: var(--navy); }
.tbl[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--navy); }
:root[data-theme="dark"] .tbl[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--surface-2), 0 0 0 6px #fff; }
.tbl::before, .tbl::after { content: ""; position: absolute; width: 18px; height: 6px; border-radius: 4px; background: var(--line-2); }
.tbl::before { top: -12px; } .tbl::after { bottom: -12px; }
.tbl--r::before, .tbl--r::after { display: none; }
.salon__counter { display: none; padding: 20px; gap: 12px; align-content: start; }
.salon[data-mode="mostrador"] .salon__map { display: none; }
.salon[data-mode="mostrador"] .salon__counter { display: grid; }
.ord { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line-2); text-align: left; }
.ord b { display: block; font-size: .95rem; }
.ord span { font-size: .76rem; color: var(--text-2); }
.ord[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5, 35, 59, .12); }
:root[data-theme="dark"] .ord[aria-pressed="true"] { border-color: #fff; }
.salon__panel { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .salon__panel { border-top: 0; border-left: 1px solid var(--line); } }
.sp__h { display: flex; justify-content: space-between; align-items: baseline; }
.sp__h b { font-size: 1.05rem; }
.sp__h span { font-size: .72rem; color: var(--text-3); }
.sp__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp__lines li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; font-size: .82rem; }
.sp__lines .q { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--chip); font-weight: 600; font-size: .74rem; }
.sp__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; margin-top: auto; border-top: 1px dashed var(--line-2); }
.sp__total b { font-size: 1.4rem; letter-spacing: -.02em; }
.sp__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sp__acts .btn { min-height: 40px; font-size: .84rem; padding: 8px 10px; }
.sp__acts .full { grid-column: 1 / -1; }
.sp__mini { font-size: .72rem; color: var(--text-3); min-height: 1.2em; }
.sp__empty { display: grid; justify-items: center; text-align: center; gap: 6px; margin: auto 0; }
.sp__empty .qx { width: 96px; }
.sp__empty p { font-size: .82rem; color: var(--text-2); }

/* cocina */
.kitchen { display: grid; gap: 18px; align-items: start; }
@media (min-width: 800px) { .kitchen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kcol--queue { grid-column: 1 / -1; } }
@media (min-width: 1140px) { .kitchen { grid-template-columns: 1fr 1.05fr .95fr; } .kcol--queue { grid-column: auto; } }
.kcol { border-radius: 26px; }
.kcol__h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.kcount { margin-left: auto; font-size: .78rem; color: var(--text-2); font-weight: 500; }
.kav { list-style: none; margin: 0; padding: 0; }
.kav li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.kav li:first-child { border-top: 0; }
.kav b { font-size: .92rem; font-weight: 600; }
.kav small { font-size: .72rem; color: var(--text-3); grid-column: 1; }
.kav .sw { grid-row: 1 / span 2; grid-column: 2; }
.kav li.is-off b { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--rosa); }
.kmenu { display: grid; gap: 14px; }
.kmenu__cat p { font-size: .68rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.kmenu__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dish { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); animation: dishIn .35s var(--ease); }
.dish b { font-size: .84rem; line-height: 1.25; }
.dish span { font-size: .86rem; font-weight: 600; color: var(--turq-d); }
:root[data-theme="dark"] .dish span { color: var(--agua); }
@keyframes dishIn { from { opacity: 0; transform: scale(.94); } }
.kmenu__none { font-size: .82rem; color: var(--text-3); }
.kq { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kt { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--sol); animation: dishIn .35s var(--ease); }
.kt:first-child { border-left-color: var(--turq); }
.kt__h { display: flex; gap: 8px; align-items: baseline; }
.kt__h b { font-size: .95rem; }
.kt__h span { font-size: .72rem; color: var(--text-3); font-family: var(--mono); }
.kt ul { grid-column: 1; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--text-2); }
.kt .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 38px; padding: 6px 14px; font-size: .82rem; }
.kq__done { margin-top: 12px; }
.kq__empty { text-align: center; display: grid; justify-items: center; gap: 4px; padding: 10px 0; }
.kq__empty .qx { width: 90px; }

/* cuenta */
.bill { display: grid; gap: 16px; max-width: 460px; justify-self: center; width: 100%; }
.bill__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bill__head p { display: grid; line-height: 1.35; }
.bill__head b { font-size: 1.2rem; }
.bill__head span { font-size: .8rem; color: var(--text-2); }
.bill__acts { display: flex; gap: 6px; }
.bill__lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.bill__lines li { display: flex; justify-content: space-between; font-size: .95rem; }
.bill__sum { display: grid; gap: 8px; }
.bill__sum div { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--text-2); }
.bill__sum dt { display: flex; align-items: center; gap: 8px; }
.bill__sum .tip { color: var(--text); }
.bill__sum .tot { padding-top: 10px; border-top: 1px solid var(--line); color: var(--text); font-size: 1.1rem; font-weight: 600; }
.bill__sum .tot dd { font-size: 1.8rem; letter-spacing: -.03em; }
.bill__pay { display: flex; gap: 8px; }
.bill__pay span { flex: 1; display: grid; place-items: center; text-align: center; padding: 10px 8px; border-radius: 12px; border: 1.5px solid var(--line-2); font-size: .8rem; font-weight: 600; color: var(--text-2); }
.bill__pay .is-sel { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme="dark"] .bill__pay .is-sel { background: var(--turq); border-color: var(--turq); color: var(--navy); }

/* impresión */
.pfeat { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 16px; }
.pfeat li { display: flex; gap: 14px; align-items: flex-start; }
.pfeat svg { width: 30px; height: 30px; flex: none; color: var(--turq-d); padding: 4px; border-radius: 10px; background: var(--chip); box-sizing: content-box; }
:root[data-theme="dark"] .pfeat svg { color: var(--agua); }
.pfeat span { font-size: .95rem; color: var(--text-2); }
.pfeat b { color: var(--text); }
.printer { display: grid; justify-items: center; gap: 18px; }
.printer__stage { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; padding: 30px 20px 0; border-radius: 32px; width: 100%; max-width: 520px; min-height: 380px;
  background: radial-gradient(closest-side, rgba(127, 227, 214, .45), transparent 80%) center 70% / 90% 90% no-repeat, var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
:root[data-theme="dark"] .printer__stage { background: radial-gradient(closest-side, rgba(14, 201, 180, .2), transparent 80%) center 70% / 90% 90% no-repeat, var(--surface); }
.printer__qx { width: 230px; margin-bottom: -6px; flex: none; }
.ticket { align-self: center; width: 188px; margin: 0 0 20px 6px; padding: 16px 14px 22px; background: #fff; color: #05233B; font-family: var(--mono); font-size: .7rem; line-height: 1.5; border-radius: 6px 6px 0 0;
  box-shadow: 0 18px 30px -18px rgba(5, 35, 59, .5); transform: rotate(4deg);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x; }
.printer.in .ticket { animation: print 1.8s steps(12) .3s both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.ticket__h { font-weight: 700; text-align: center; font-size: .78rem; }
.ticket__s { text-align: center; color: #5D7080; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed #C9D3DA; }
.ticket__l { display: flex; justify-content: space-between; }
.ticket__t { font-weight: 700; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #C9D3DA; font-size: .8rem; }
.ticket__cut { text-align: center; color: #8A99A6; margin-top: 10px; font-size: .62rem; }
.printer__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (max-width: 520px) { .printer__qx { width: 160px; } .ticket { width: 150px; margin-left: -10px; font-size: .62rem; } .printer__stage { min-height: 300px; padding: 20px 10px 0; } }

.sec--clients-r { padding-block: 32px 16px; }
@media (min-width: 1024px) { .sec--clients-r { padding-block: 8px 24px; } }
