/* Mingle – Asztalok › „Névre szóló” fül (feature/asztalok-nevre, Ádám 2026-11-14): személyzeti és névre szóló (törzsvendég) számlák csempéi.
   Csak a style.css tokenjei (világos és sötét téma); telefonon (390 px) két oszlop, vízszintes görgetés nélkül. Állapot nem csak szín:
   nyitott = menta kitöltés + 1,5 px zöld keret + összeg; felírt = borostyán tónus + „Felírva” jelvény; nincs nyitva = kártya-réteg + „Nincs nyitva”. */

.named-view { display: flex; flex-direction: column; gap: var(--space-5); padding-bottom: var(--space-4); }
.nt-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin: 0 0 var(--space-3); }
.nt-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); }
.nt-info { color: var(--muted); font-size: var(--text-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.nt-empty { margin: 0; }

.nt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-3); }
@media (min-width: 900px) { .nt-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }

.nt-tile {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; min-width: 0; min-height: 96px;
  padding: var(--space-3); text-align: left; font: inherit; color: var(--text); cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius);
}
.nt-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nt-tile:active:not([disabled]) { background: var(--surface-3); }
.nt-tile[disabled] { cursor: default; opacity: 0.6; }
.nt-tile.is-open { background: var(--acc-t); border: 1.5px solid var(--acc-d); }
.nt-tile.is-deferred { background: var(--amb-t); border: 1.5px solid var(--amb-b); }
.nt-tile.is-stale { opacity: 0.7; }

.nt-name { font-size: 18px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.nt-sub { color: var(--ink2); font-size: 13px; overflow-wrap: anywhere; }
.nt-foot { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin-top: auto; padding-top: var(--space-2); }
.nt-meta { color: var(--muted); font-size: 13px; }
.nt-tile.is-open .nt-meta { color: var(--acc-l); }
.nt-tile.is-deferred .nt-meta { color: var(--amb); }
.nt-amount { font-family: var(--font-num); font-size: 18px; font-weight: 700; color: var(--num); white-space: nowrap; }
.nt-amount .ft { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 1px; }

.nt-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 2px; }
.nt-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 18px; }
.nt-badge.is-deferred { background: var(--warn-bg); color: var(--warn); box-shadow: inset 0 0 0 1px var(--amb-b); }
.nt-badge.is-loyal { background: var(--info-bg); color: var(--info); }
/* „Elvitel” csoport és jelvény (feature/elvitel-kulon-szamla): az elviteles rendelések saját számlái; a meglévő csempe-stílus, zöld jelzéssel */
.nt-badge.is-takeaway { background: var(--ok-bg); color: var(--ok); }
.nt-tile.is-takeaway .nt-sub { font-family: var(--font-mono, ui-monospace, monospace); letter-spacing: .04em; }

/* „+ Névre szóló számla”: szaggatott keretű, üres csempe */
.nt-tile.nt-new { align-items: center; justify-content: center; gap: var(--space-2); background: transparent; border: 1.5px dashed var(--field-line); color: var(--acc-d); font-weight: 700; text-align: center; }
.nt-new-icon { width: 24px; height: 24px; }
.nt-new-text { font-size: 15px; }
