:root {
  --ink: #171b1a;
  --cream: #f7f3e9;
  --sage: #e9f5b0;
  --olive: #5c7c45;
  --coral: #ff735c;
  --line: rgba(23, 27, 26, 0.1);
}

.admin-sidebar { position: relative; }
.admin-sidebar .kaishi-build { position: absolute; bottom: .4rem; inset-inline: 1.5rem; margin: 0; font-size: .65rem; line-height: 1.2; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .sidebar-collapsed .kaishi-build { display: none; }
}

.staff-quantity-control { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.staff-quantity-control button { min-width: 48px; min-height: 48px; border: 1px solid var(--ink); border-radius: .75rem; background: white; color: var(--ink); font-size: 1.5rem; touch-action: manipulation; }
.staff-quantity-control button:disabled { opacity: .4; cursor: default; }
.staff-quantity-control button:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.staff-quantity-control output { min-width: 3ch; text-align: center; font-size: 1.25rem; font-variant-numeric: tabular-nums; }

#tableDetailCard { scroll-margin-top: 4.5rem; }
.table-session-heading { flex: 1 1 10rem; }
.table-access-code { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .65rem; max-width: 100%; }
.table-access-code > p { font-size: .75rem; }
.table-access-code > strong { font-size: 1.25rem; line-height: 1.4; letter-spacing: .12em; }
.table-access-code > button { margin-top: 0; min-height: 44px; }
.table-economics { margin-top: .75rem; }
.table-balances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
.table-balance { display: flex; flex-direction: column; gap: .2rem; padding: .6rem .4rem; border-radius: .65rem; background: var(--cream); font-size: .75rem; }
.table-balance strong { font-size: 1rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.table-balance--pending { background: var(--sage); box-shadow: inset 0 0 0 1px var(--olive); }
.table-balance--pending strong { font-size: 1.15rem; }
.table-economics > button { margin-top: .6rem; }
.table-management-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.table-management-actions > div { display: contents; }
.table-management-actions button { margin-top: 0; min-height: 44px; padding: .6rem .75rem; }
.table-management-actions .close-unpaid { font-size: .75rem; background: transparent; }
.table-session-summary > div { margin-top: .5rem; }
.table-session-summary article { padding: .65rem; border-radius: .75rem; }
.table-session-summary article > div:first-child { margin-bottom: .4rem; }
.table-session-summary article > div:first-child strong { display: inline; }
.table-session-summary article > div:first-child .order-origin { padding: .1rem .35rem; }
.table-session-summary [data-order-item-id] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .35rem; padding: .45rem 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; }
.table-session-summary [data-order-item-id] > div { min-width: 0; overflow-wrap: anywhere; }
.table-session-summary [data-order-item-id] p { margin-top: .1rem; line-height: 1.35; }
.table-session-summary .item-status-controls { gap: .25rem; align-items: flex-end; }
.table-session-summary .item-status-info { flex-direction: column; align-items: flex-end; gap: .15rem; }
.table-session-summary .item-status-badge { padding: .3rem .45rem; font-size: .75rem; }
.table-session-summary .item-status-actions { flex-direction: column; align-items: flex-end; gap: .25rem; }
.table-session-summary [data-offer-instance-id] { padding: .45rem; border-radius: .5rem; }
.table-session-summary .cancel-line, .table-session-summary .resolve-component, .table-session-summary .cancel-offer, .table-session-summary .cancel-order { margin-top: .25rem; min-height: 44px; padding: .35rem .65rem; }
.table-session-summary article > p { margin-top: .35rem; padding: .4rem; }
.table-fiscal-detail { border-top: 1px solid var(--line); color: #50564e; padding: .75rem 0; font-size: .75rem; }
.table-fiscal-detail h3 { font: inherit; font-weight: 700; }
.table-fiscal-detail p { margin-top: .25rem; }
.table-products { display: grid; gap: .5rem; }
.table-session-summary .table-product-group { padding: .55rem .65rem; border: 1px solid var(--line); background: white; }
.table-product-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; font-size: .875rem; }
.table-product-heading > strong:first-child { min-width: 0; overflow-wrap: anywhere; }
.table-product-heading > strong:last-child { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.table-product-states { display: flex; flex-wrap: wrap; gap: .2rem .65rem; margin: .25rem 0; }
.table-product-group > p { margin-top: .2rem; }
.table-original-orders { margin-top: .75rem; border-top: 1px solid var(--line); padding-top: .35rem; }
.table-original-orders > div { margin-top: .5rem; }
.table-original-orders summary, .table-cancel-sources summary { cursor: pointer; min-height: 44px; padding: .65rem .25rem; font-size: .8rem; font-weight: 700; }
.table-original-orders summary:focus-visible, .table-cancel-sources summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; border-radius: .25rem; }
.table-cancel-sources > div { display: grid; gap: .35rem; }
.table-cancel-sources .cancel-line { text-align: left; }
.table-offer-instance > section { margin-top: .25rem; }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.admin-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-sidebar { min-height: auto; }

.admin-sidebar {
  background: var(--ink);
  color: white;
}

.admin-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.25rem;
}

.catalog-input {
  display: block;
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: white;
  font-weight: 400;
}
#productFormTitle { scroll-margin-top: 1rem; }

.product-filters > label {
  display: grid;
  grid-template-rows: minmax(2.5em, auto) 2.75rem;
  min-width: 0;
  row-gap: .25rem;
}

.product-filters .catalog-input {
  height: 2.75rem;
  margin-top: 0;
  min-width: 0;
}

@media (min-width: 1280px) {
  .product-filters {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .catalog-products-list {
    max-height: clamp(18rem, calc(100vh - 16rem), 60rem);
    max-height: clamp(18rem, calc(100dvh - 16rem), 60rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: .5rem .5rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.45);
  }

  .catalog-products-list:focus-visible {
    outline: 2px solid var(--olive);
    outline-offset: 2px;
  }
}

.category-card-secondary > span { justify-content: flex-start; text-align: left; }
.category-order-button { min-width: 2.75rem; min-height: 2.5rem; padding: .4rem .75rem; font-size: 1.1rem; }
.category-card-secondary [data-translate-kind] { min-height: 2rem; padding: .25rem .55rem; font-size: .75rem; }

.status-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
}

.status-pendiente {
  background: #ff735c;
  color: #522016;
}

.status-preparando {
  background: #f2ba44;
  color: #6e4a08;
}

.status-preparado {
  background: #9acb72;
  color: #315424;
}

.status-entregado {
  background: #8dbbd2;
  color: #244b5f;
}

.status-no-servido, .status-cancelled {
  background: #e5e2dd;
  color: #37413c;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.item-status-controls { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.item-status-info, .item-status-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.operational-age { font-size: .8rem; font-weight: 700; color: #43504b; }
.item-status-badge {
  display: inline-block; border-radius: .65rem; padding: .65rem .8rem;
  font-size: .8rem; font-weight: 800; line-height: 1.2;
}
.item-status-action {
  min-height: 2.9rem; border-radius: .7rem; padding: .65rem .95rem;
  font-size: .85rem; font-weight: 800;
}
.item-status-action--primary { background: var(--ink); color: white; border: 2px solid var(--ink); }
.item-status-action--secondary { background: white; color: var(--ink); border: 2px solid #5b6460; }
.item-status-action:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.item-status-action:disabled { opacity: .55; cursor: wait; }

.new-order-card {
  border: 2px solid #915000;
  background: #fff9e8;
}
.table-card--new-order {
  border-color: #915000;
  background: #fff9e8;
}
.new-order-label {
  display: inline-block;
  border-radius: .55rem;
  background: #613600;
  color: white;
  padding: .4rem .65rem;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.2;
}

.order-origin {
  display: inline-block;
  border-radius: 9999px;
  padding: .2rem .55rem;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.3;
}
.order-origin--customer { background: var(--sage); color: var(--ink); }
.order-origin--worker { background: var(--olive); color: white; }
.order-origin--administrator { background: var(--ink); color: white; }
.order-origin--contingency { background: rgba(255, 115, 92, .2); color: var(--ink); }
.order-origin--unknown { background: var(--cream); color: var(--ink); }

.login-screen {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 115, 92, 0.2), transparent 30%),
    var(--ink);
}

.login-card {
  background: rgba(247, 243, 233, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.table-row + .table-row {
  border-top: 1px solid var(--line);
}

.table-card {
  display: block;
  width: 100%;
  min-height: 8.5rem;
  padding: 1.1rem;
  border: 2px solid transparent;
  border-radius: 1.1rem;
  text-align: left;
  transition: border-color .15s, transform .15s;
}

.table-card:hover { transform: translateY(-2px); }
.table-card:focus-visible, .table-card--selected { outline: 2px solid var(--ink); outline-offset: 2px; }
.table-card--free { background: #edf3e8; border-color: #b8d1ad; }
.table-card--occupied { background: #fff0e8; border-color: #e7b9a5; }
.table-state { border-radius: 999px; background: white; padding: .35rem .65rem; font-size: .7rem; font-weight: 700; }

.table-request { border: 1px solid; color: var(--ink); }
.table-request--asistencia { border-color: #a8c7e6; background: #eff6ff; }
.table-request--cuenta { border-color: var(--coral); background: #fff0e8; }
.table-request-icon { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .35em; vertical-align: -.15em; }

.dashboard-chart { overflow-x: auto; padding-bottom: .5rem; }
.dashboard-bars { display: flex; align-items: end; gap: .35rem; min-height: 10rem; border-bottom: 1px solid var(--line); }
.dashboard-bar { display: flex; flex: 1 0 2.4rem; flex-direction: column; align-items: center; justify-content: end; min-height: 10rem; gap: .3rem; }
.dashboard-bar-count { font-size: .75rem; font-weight: 700; }
.dashboard-bar-fill { display: block; width: min(100%, 2rem); border-radius: .35rem .35rem 0 0; background: var(--olive); }
.dashboard-bar-label { min-height: 1.8rem; text-align: center; font-size: .65rem; font-weight: 600; }
#dashboardRefresh:disabled { opacity: .55; cursor: wait; }

.closure-overlay { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 1rem; background: rgba(23, 27, 26, .7); }
.closure-overlay.hidden { display: none; }
.closure-card { max-height: calc(100vh - 2rem); overflow-y: auto; background: var(--cream); box-shadow: 0 24px 80px rgba(0, 0, 0, .25); }
.closure-option { display: flex; min-height: 3.5rem; align-items: center; gap: .7rem; border: 2px solid #5b6460; border-radius: .85rem; background: white; padding: .8rem 1rem; font-weight: 800; cursor: pointer; }
.closure-option:has(input:checked) { border-color: var(--olive); background: var(--sage); }
.closure-option input { width: 1.2rem; height: 1.2rem; }
#closureSubmit:disabled { opacity: .55; cursor: wait; }

@media (min-width: 900px) {
  .admin-shell { flex-direction: row; }
  .admin-sidebar {
    width: 17rem;
    flex: 0 0 17rem;
  }
  .admin-shell.sidebar-collapsed .admin-sidebar {
    width: 5.5rem;
    flex-basis: 5.5rem;
    padding-right: .75rem;
    padding-left: .75rem;
  }
  .sidebar-collapsed .sidebar-heading,
  .sidebar-collapsed .sidebar-language-label { display: none; }
  .sidebar-collapsed .sidebar-toggle { margin-top: 0; text-align: center; font-size: 0; }
  .sidebar-collapsed .sidebar-toggle::after { content: '»'; font-size: 1.25rem; }
  .sidebar-collapsed .sidebar-nav { margin-top: 1.5rem; }
  .sidebar-collapsed .sidebar-nav a { padding-right: .25rem; padding-left: .25rem; text-align: center; font-size: 0; }
  .sidebar-collapsed .sidebar-nav a::after { content: attr(data-short); font-size: .875rem; }
  .sidebar-collapsed #adminLanguage { padding-right: .25rem; padding-left: .25rem; }
  .sidebar-collapsed #logoutButton { padding-right: .25rem; padding-left: .25rem; text-align: center; font-size: 0; }
  .sidebar-collapsed #logoutButton::after { content: '↪'; font-size: 1.25rem; }
}
@media (max-width: 899px) {
  .sidebar-toggle { display: none; }
}
/* Conserva el marcador visual del desplegable anterior. */
.legacy-toggle {
  display: flex; align-items: center; gap: .45rem; width: 100%; padding: 0;
  border: 0; background: transparent; color: inherit; font-family: inherit;
  font-size: inherit; text-align: left;
}
.legacy-toggle::before {
  content: ''; width: 0; height: 0; border-top: .32rem solid transparent;
  border-bottom: .32rem solid transparent; border-left: .4rem solid currentColor;
}
.legacy-toggle[aria-expanded="true"]::before { transform: rotate(90deg); }
.legacy-entry-toggle { display: flex; align-items: center; gap: .45rem; min-height: 44px; }
.legacy-entry-toggle::before {
  content: ''; flex: none; width: 0; height: 0; border-top: .32rem solid transparent;
  border-bottom: .32rem solid transparent; border-left: .4rem solid currentColor;
}
.legacy-entry-toggle[aria-expanded="true"]::before { transform: rotate(90deg); }
.legacy-entry-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Estaciones KDS: la prioridad viene del servidor, nunca de la disposición CSS. */
.operational-toolbar { display: contents; }
.admin-view-group, .kds-view-group { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.kds-view-group { max-width: 100%; border-left: 1px solid #c8ccc3; padding-left: .6rem; }
.nav-section-label { font-size: .7rem; font-weight: 750; letter-spacing: .04em; }
.kds-mode main { padding-top: 1rem; padding-bottom: .75rem; }
.kds-mode .operational-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .35rem .75rem; margin-bottom: .75rem; }
.kds-mode #mesasHeader { grid-column: 1 / -1; align-items: center; gap: .4rem .75rem; margin-bottom: 0; }
.kds-mode #operationalEyebrow, .kds-mode #operationalIntro { display: none; }
.kds-mode #operationalTitle { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.kds-mode #viewTabs, .kds-mode #orderSoundControls { min-width: 0; margin-bottom: 0; }
.kds-mode #orderSoundControls { justify-self: end; }
.kds-mode #viewTabs [data-view], .kds-mode #refreshButton { min-height: 44px; padding: .5rem .75rem; }
.kds-mode #orderSoundToggle { min-height: 44px; }
:root:fullscreen { background: var(--cream); }
:root:fullscreen #adminApp.kds-mode { display: block; }
:root:fullscreen #adminApp.kds-mode > .admin-sidebar { display: none; }
:root:fullscreen #adminApp.kds-mode > main { padding: .75rem; }
.kds-station { container-type: inline-size; min-width: 0; }
.kds-status { margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.kds-status[data-state="error"] { border-color: var(--coral); font-weight: 700; }
.kds-board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1rem; }
.kds-column { min-width: 0; border-radius: .7rem; background: #eeeee7; padding: .6rem; }
.kds-column + .kds-column { border-top: 1px solid #b8beb4; }
.kds-column-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .1rem .2rem .6rem; }
.kds-column-header h2 { margin: 0; font-size: .85rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.kds-column-header > span { min-width: 1.75rem; border-radius: 99px; background: white; padding: .2rem .5rem; text-align: center; font-size: .8rem; font-weight: 750; }
.kds-cards { display: grid; gap: .6rem; }
.kds-card { min-width: 0; border: 1px solid var(--line); border-radius: .85rem; background: white; overflow-wrap: anywhere; box-shadow: 0 2px 4px #171b1a05; }
.kds-card-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .35rem; padding: .55rem .8rem; }
.kds-card-header h3 { margin: 0; font-size: .9rem; font-weight: 650; line-height: 1.3; }
.kds-age { white-space: nowrap; font-variant-numeric: tabular-nums; }
.kds-age--group { border-radius: .3rem; padding: .1rem .3rem; background: #f1f1ed; font-size: .9rem; font-weight: 700; line-height: 1.3; }
.kds-reference { font-size: .8rem; font-weight: 550; color: #565d56; }
.kds-new { display: inline-block; vertical-align: middle; border: 1px solid #b97806; border-radius: .25rem; padding: .05rem .3rem; background: #fff0b3; color: #664000; font-size: .65rem; line-height: 1.25; font-weight: 850; letter-spacing: .03em; white-space: nowrap; }
.kds-items { margin: 0; padding: 0; list-style: none; }
.kds-item { display: flex; flex-wrap: wrap; align-items: start; gap: .5rem; border-top: 1px solid var(--line); padding: .65rem .8rem; }
.kds-item-content { flex: 1 1 11rem; min-width: 0; }
.kds-dish { margin: 0; font-size: 1.05rem; font-weight: 750; line-height: 1.35; }
.kds-quantity { font-weight: 850; }
.kds-menu { margin: .3rem 0 0; color: #565d56; font-size: .78rem; font-weight: 650; }
.kds-personalization { margin: .2rem 0 0; border-left: 3px solid var(--olive); padding-left: .45rem; background: #f1f5e8; font-size: .85rem; font-weight: 700; line-height: 1.4; }
.kds-note { margin: .25rem 0; border-left: 3px solid var(--olive); padding: .25rem .45rem; background: #f1f5e8; font-size: .85rem; font-weight: 700; white-space: pre-wrap; }
.kds-order-note { margin: 0 .8rem .5rem; }
.kds-age--line { display: inline-block; margin-top: .2rem; color: #565d56; font-size: .78rem; font-weight: 600; }
.kds-age--alert { color: #a3261d; background: #ffebe7; }
.kds-action { flex: 0 0 auto; min-width: 6.5rem; min-height: 48px; border: 0; border-radius: .6rem; padding: .75rem 1rem; background: var(--ink); color: white; font: inherit; font-size: .9rem; font-weight: 750; touch-action: manipulation; }
.kds-action:disabled { opacity: .5; cursor: wait; }
.kds-action:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.kds-empty-column { margin: 0; padding: 1.5rem .5rem; color: #565d56; font-size: .9rem; text-align: center; }
.kds-empty-station { margin: 0 0 1rem; padding: 1rem; font-weight: 650; }
/* Dos filas: tablero desplazable y resumen persistente sin superposición. */
.kds-production-layout { display: flex; flex-direction: column; height: var(--kds-available-height, calc(100dvh - 12rem)); }
.kds-production-layout .kds-board { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.kds-production-summary { flex: 0 0 auto; display: flex; gap: .5rem; max-width: 100%; overflow-x: auto; padding: .4rem; margin-top: .5rem; border: 1px solid #b8beb4; border-radius: .7rem; background: var(--cream); }
.kds-product { flex: 0 0 auto; min-height: 44px; white-space: nowrap; border: 1px solid #929b87; border-radius: .5rem; padding: .5rem .7rem; background: white; color: var(--ink); font: inherit; font-size: .9rem; touch-action: manipulation; }
.kds-product strong { font-variant-numeric: tabular-nums; }
.kds-product-check { display: inline-block; width: 1em; visibility: hidden; }
.kds-product[aria-pressed="true"] { border: 2px solid var(--ink); padding: calc(.5rem - 1px) calc(.7rem - 1px); background: var(--sage); font-weight: 750; }
.kds-product[aria-pressed="true"] .kds-product-check { visibility: visible; }
.kds-product:focus-visible { outline: 3px solid var(--olive); outline-offset: -4px; }
.kds-item--highlighted { background: #f1f5e8; box-shadow: inset 4px 0 0 var(--ink), inset 0 0 0 2px var(--ink); }
#preparedUndo .item-status-action { min-height: 48px; min-width: 6rem; margin-left: .75rem; }
#preparedUndo.kds-undo { position: sticky; top: .75rem; z-index: 20; background: var(--sage); overflow-wrap: anywhere; box-shadow: 0 3px 12px #171b1a18; }
@container (min-width: 40rem) {
  .kds-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kds-board::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #b8beb4; pointer-events: none; }
  .kds-column + .kds-column { border-top: 0; }
}
@media (max-width: 640px) {
  .kds-mode .operational-toolbar { grid-template-columns: minmax(0, 1fr); }
}

/* Global: flujo de cuatro estados; dos por fila si el área útil no admite cuatro. */
.kds-board--global { gap: .75rem; }
.kds-board--bar::after { content: none; }
.kds-board--bar .kds-column { border-top: 3px solid #929b87; }
.kds-board--bar [data-kds-column="preparando"] { border-top-color: var(--olive); }
.kds-board--bar [data-kds-column="preparado"] { border-top-color: var(--ink); }
.kds-request-radar { display: flex; flex-wrap: nowrap; gap: .5rem; overflow-x: auto; max-width: 100%; margin: 0 0 .65rem; padding: .15rem; }
.kds-request { flex: 0 0 auto; min-height: 44px; padding: .5rem .65rem; border-radius: .65rem; font: inherit; font-size: .85rem; font-weight: 650; white-space: nowrap; touch-action: manipulation; }
.kds-request:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
.kds-request-age { font-size: .8rem; font-variant-numeric: tabular-nums; }
@container (min-width: 56rem) {
  .kds-board--bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.kds-board--global::after { content: none; }
.kds-board--global .kds-column { border-top: 3px solid #929b87; padding: .5rem; }
.kds-board--global [data-kds-column="preparando"] { border-top-color: #5c7c45; }
.kds-board--global [data-kds-column="preparado"] { border-top-color: #171b1a; }
.kds-board--global [data-kds-column="entregado"] { border-top-color: #b8beb4; background: #e8ebe5; }
.kds-board--global .kds-column-header { gap: .4rem; }
.kds-board--global .kds-column-header h2 { letter-spacing: .04em; }
.kds-board--global .kds-card-header { padding: .5rem .6rem; }
.kds-board--global .kds-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; padding: .6rem; }
.kds-board--global .kds-item-content { grid-column: 1 / -1; }
.kds-board--global .kds-action { min-width: 0; padding: .6rem .75rem; }
.kds-action--correction { background: white; color: #565d56; border: 1px solid #c8ccc3; font-size: .78rem; }
.kds-destination { display: inline-block; margin-top: .25rem; border: 1px solid #c8ccc3; border-radius: .25rem; padding: .05rem .3rem; color: #565d56; font-size: .7rem; font-weight: 650; }
@container (min-width: 72rem) {
  .kds-board--global { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
