/* ==========================================================
   Kék S Tattoo – közös design system
   A felhasználói (index.html) és a dev (dev.html) oldal is ezt használja,
   így a két felület egységes marad.
   ========================================================== */

:root {
  /* Felületek – mélységben egymásra épülő szintek */
  --surface-0: #070b14;   /* oldal háttér */
  --surface-1: #0d1320;   /* kártya */
  --surface-2: #131b2b;   /* kártya kiemelt / hover */
  --surface-3: #1b2436;   /* beágyazott elem */

  --border-subtle: #1e2738;
  --border-strong: #2c384f;

  --text-strong: #f1f5f9;
  --text-base:   #cbd5e1;
  --text-muted:  #7d8ba3;
  --text-faint:  #5a6780;

  /* Márkaszín: a szalon "kék S" identitása */
  --brand-400: #38bdf8;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;

  /* Állapotszínek */
  --ok-400:    #34d399;
  --warn-400:  #fbbf24;
  --danger-400:#f87171;
  --info-400:  #818cf8;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-pop:  0 24px 64px -16px rgba(0,0,0,.8);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 12% -8%,  rgba(14,165,233,.10), transparent 60%),
    radial-gradient(900px 500px at 105% 0%,   rgba(99,102,241,.08), transparent 55%),
    var(--surface-0);
  color: var(--text-base);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}

/* ── Akadálymentesség: látható fókusz mindenhol ───────────── */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Kizárólag képernyőolvasónak szánt szöveg */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Tartalomhoz ugrás link – billentyűzetes navigációhoz */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand-600); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ── Tipográfia ──────────────────────────────────────────── */
.h-page   { font-size: 1.05rem; font-weight: 700; color: var(--text-strong); letter-spacing: -.01em; }
.h-card   { font-size: .82rem;  font-weight: 700; color: var(--text-strong); }
.label    { font-size: .68rem;  font-weight: 600; color: var(--text-muted);
            text-transform: uppercase; letter-spacing: .07em; }
.muted    { color: var(--text-muted); }
.faint    { color: var(--text-faint); }
.mono     { font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Consolas, monospace; }
.tnum     { font-variant-numeric: tabular-nums; }

/* ── Kártya ──────────────────────────────────────────────── */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.card-pad { padding: 18px; }

.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ── Metrika kártya (dev oldal) ──────────────────────────── */
.metric {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.metric:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.metric-value {
  font-size: 1.5rem; font-weight: 700; color: var(--text-strong);
  line-height: 1.15; font-variant-numeric: tabular-nums;
}
.metric-label { font-size: .7rem; color: var(--text-muted); margin-top: 3px; }

/* ── Gombok ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: .76rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-md);
  border: 1px solid transparent; cursor: pointer;
  transition: background .16s var(--ease), border-color .16s var(--ease),
              transform .12s var(--ease), opacity .16s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), #2563eb);
  color: #fff; box-shadow: 0 6px 18px -8px rgba(14,165,233,.8);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }

.btn-ghost {
  background: var(--surface-2); color: var(--text-base);
  border-color: var(--border-strong);
}
.btn-ghost:hover:not(:disabled) { background: var(--surface-3); color: var(--text-strong); }

.btn-success { background: #059669; color: #fff; }
.btn-success:hover:not(:disabled) { background: #047857; }

.btn-danger-ghost {
  background: transparent; color: var(--danger-400);
  border-color: rgba(248,113,113,.35);
}
.btn-danger-ghost:hover:not(:disabled) { background: rgba(248,113,113,.12); }

.btn-sm { padding: 5px 10px; font-size: .7rem; border-radius: var(--radius-sm); }
.btn-icon { padding: 7px; border-radius: var(--radius-sm); }

/* ── Beviteli mezők ──────────────────────────────────────── */
.input, .select, .textarea {
  width: 100%;
  background: var(--surface-0);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  color: var(--text-strong);
  font-size: .78rem;
  font-family: inherit;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(14,165,233,.16);
}
.textarea { resize: vertical; min-height: 64px; }

.field-label {
  display: block; font-size: .7rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 5px;
}

/* ── Címkék / badge-ek ───────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: 999px;
  font-size: .67rem; font-weight: 700;
  border: 1px solid transparent; white-space: nowrap;
}
.badge-neutral { background: var(--surface-3); color: var(--text-base);  border-color: var(--border-strong); }
.badge-ok      { background: rgba(52,211,153,.12); color: var(--ok-400);     border-color: rgba(52,211,153,.32); }
.badge-warn    { background: rgba(251,191,36,.12); color: var(--warn-400);   border-color: rgba(251,191,36,.32); }
.badge-danger  { background: rgba(248,113,113,.12);color: var(--danger-400); border-color: rgba(248,113,113,.32); }
.badge-info    { background: rgba(129,140,248,.12);color: var(--info-400);   border-color: rgba(129,140,248,.32); }
.badge-brand   { background: rgba(56,189,248,.12); color: var(--brand-400);  border-color: rgba(56,189,248,.32); }

/* ── Állapotpont ─────────────────────────────────────────── */
.dot { width: 8px; height: 8px; border-radius: 999px; flex: 0 0 auto; }
.dot-ok      { background: var(--ok-400);     box-shadow: 0 0 0 3px rgba(52,211,153,.18); }
.dot-warn    { background: var(--warn-400);   box-shadow: 0 0 0 3px rgba(251,191,36,.18); }
.dot-danger  { background: var(--danger-400); box-shadow: 0 0 0 3px rgba(248,113,113,.18); }
.dot-unknown { background: var(--text-faint); }
.pulse { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* ── Navigáció (szegmentált váltó) ───────────────────────── */
.segmented {
  display: inline-flex; gap: 3px; padding: 4px;
  background: var(--surface-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.seg-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 600;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-muted);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.seg-btn:hover { color: var(--text-strong); background: var(--surface-2); }
.seg-btn[aria-selected="true"] {
  background: var(--brand-600); color: #fff;
  box-shadow: 0 4px 12px -6px rgba(2,132,199,.9);
}

/* ── Táblázat ────────────────────────────────────────────── */
.table-wrap { overflow: auto; border-radius: var(--radius-md); }
table.data { width: 100%; border-collapse: collapse; font-size: .75rem; }
table.data thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: .67rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  text-align: left; padding: 9px 12px;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}
table.data tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-base);
  vertical-align: top;
}
table.data tbody tr:hover { background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: none; }
.cell-clip { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Kanban ──────────────────────────────────────────────── */
.kanban-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.kanban-col {
  flex: 0 0 300px; min-width: 300px;
  background: rgba(13,19,32,.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  max-height: calc(100vh - 230px);
}
.kanban-col-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--border-subtle);
}
.kanban-col-body { padding: 10px; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; }

.ticket {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 13px;
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease),
              transform .14s var(--ease);
}
.ticket:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.ticket:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 2px; }
.ticket-new       { border-left-color: var(--info-400); }
.ticket-quoted    { border-left-color: var(--warn-400); }
.ticket-scheduled { border-left-color: var(--ok-400); }
.ticket-done      { border-left-color: var(--text-faint); }

/* ── Modális ─────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4,7,13,.78);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: fade .16s var(--ease);
}
.modal {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-pop);
  width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto;
  animation: rise .2s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); }
                  to   { opacity: 1; transform: none; } }

/* ── Toast értesítés (alert() helyett) ───────────────────── */
#toast-host {
  position: fixed; right: 16px; bottom: 16px; z-index: 120;
  display: flex; flex-direction: column; gap: 9px;
  max-width: 380px;
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--brand-500);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  box-shadow: var(--shadow-pop);
  font-size: .78rem; color: var(--text-strong);
  animation: slide-in .22s var(--ease);
}
.toast-ok     { border-left-color: var(--ok-400); }
.toast-error  { border-left-color: var(--danger-400); }
.toast-warn   { border-left-color: var(--warn-400); }
.toast.leaving { animation: slide-out .18s var(--ease) forwards; }
@keyframes slide-in  { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes slide-out { to { opacity: 0; transform: translateX(24px); } }

/* ── Üres állapot ────────────────────────────────────────── */
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 34px 18px; text-align: center;
  color: var(--text-faint); font-size: .76rem;
}

/* ── Betöltés (skeleton) ─────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Kihasználtság-sáv (DB méret, tábla arányok) ─────────── */
.meter {
  height: 7px; background: var(--surface-3);
  border-radius: 999px; overflow: hidden;
}
.meter-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-500), var(--info-400));
  transition: width .5s var(--ease);
}
.meter-fill.warn   { background: linear-gradient(90deg, var(--warn-400), #f97316); }
.meter-fill.danger { background: linear-gradient(90deg, #fb7185, var(--danger-400)); }

/* ── Finomított görgetősáv ───────────────────────────────── */
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--border-strong); border-radius: 999px;
  border: 2px solid transparent; background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: #3b4a66; background-clip: content-box; }

/* ── FullCalendar illesztése a témához ───────────────────── */
.fc { --fc-border-color: var(--border-subtle); --fc-page-bg-color: transparent; }
.fc .fc-toolbar-title { font-size: 1rem !important; font-weight: 700; color: var(--text-strong); }
.fc .fc-button-primary {
  background: var(--surface-2); border-color: var(--border-strong);
  color: var(--text-base); font-size: .74rem; font-weight: 600;
  text-transform: none; padding: 6px 12px;
}
.fc .fc-button-primary:hover { background: var(--surface-3); color: var(--text-strong); }
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
  background: var(--brand-600); border-color: var(--brand-600); color: #fff;
}
.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number { color: var(--text-muted); font-size: .72rem; text-decoration: none; }
.fc .fc-day-today { background: rgba(14,165,233,.07) !important; }
.fc-event { border-radius: 6px; font-size: .7rem; padding: 1px 4px; cursor: pointer; }
.fc-theme-standard td, .fc-theme-standard th { border-color: var(--border-subtle); }

/* ── Reszponzív finomítás ────────────────────────────────── */
@media (max-width: 720px) {
  .kanban-col { flex-basis: 84vw; min-width: 84vw; }
  .hide-sm { display: none !important; }
}

/* ── Mozgáscsökkentés igény szerint ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================
   Layout segédosztályok
   Saját, minimális készlet – így nem kell Tailwind CDN,
   ami korábban külső függőség és nagy letöltés volt.
   ========================================================== */

.hidden { display: none !important; }

.flex      { display: flex; }
.inline-flex { display: inline-flex; }
.col       { flex-direction: column; }
.wrap      { flex-wrap: wrap; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.items-end      { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.flex-1    { flex: 1 1 auto; min-width: 0; }
.shrink-0  { flex-shrink: 0; }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.mt-1 { margin-top: 4px; }  .mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.m-0 { margin: 0; }

.p-2 { padding: 8px; }  .p-3 { padding: 12px; }
.p-4 { padding: 16px; } .p-5 { padding: 20px; }
.pt-3 { padding-top: 12px; }

.w-full { width: 100%; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.break-word { overflow-wrap: anywhere; }
.pre-wrap { white-space: pre-wrap; }
.relative { position: relative; }
.pointer { cursor: pointer; }
.no-underline { text-decoration: none; }

.fs-xs { font-size: .68rem; }
.fs-sm { font-size: .75rem; }
.fs-md { font-size: .82rem; }
.fs-lg { font-size: .95rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.divider { height: 1px; background: var(--border-subtle); border: 0; margin: 0; }

/* Alkalmazás váz */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.app-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,11,20,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 11px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}

.app-main { flex: 1; max-width: 1400px; width: 100%; margin: 0 auto; padding: 20px; }

/* Márkajel */
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-400), #2563eb);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; color: #fff;
  box-shadow: 0 6px 18px -8px rgba(56,189,248,.9);
  flex-shrink: 0;
}

/* Bejelentkező képernyő */
.auth-screen {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background:
    radial-gradient(900px 500px at 15% 0%,  rgba(14,165,233,.14), transparent 60%),
    radial-gradient(700px 420px at 100% 100%, rgba(99,102,241,.12), transparent 60%),
    var(--surface-0);
}
.auth-card { width: 100%; max-width: 400px; }

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .header-inner { padding: 10px 14px; }
  .app-main { padding: 14px; }
}

/* ==========================================================
   M6 – Drag & drop, reszponzivitás, beszélgetés nézet
   ========================================================== */

/* ── Kanban drag & drop ──────────────────────────────────── */
.ticket[draggable="true"] { cursor: grab; }
.ticket.dragging {
  opacity: .5;
  cursor: grabbing;
  border-color: var(--brand-500);
}
.kanban-col.drop-target {
  background: rgba(14,165,233,.08);
  outline: 2px dashed var(--brand-500);
  outline-offset: -4px;
}
.kanban-col-body.drop-hint { min-height: 60px; }

.drag-handle {
  display: inline-flex; color: var(--text-faint);
  cursor: grab; touch-action: none;
}
.drag-handle:active { cursor: grabbing; }

/* ── Beszélgetés buborékok ───────────────────────────────── */
.chat-scroll { display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: .78rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* A bot válasza – bal oldal */
.bubble-bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
  color: var(--text-base);
}
.bubble-meta { font-size: .64rem; color: var(--text-faint); margin-top: 4px; }

.convo-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background .14s var(--ease);
}
.convo-row:hover { background: var(--surface-2); }
.convo-row:last-child { border-bottom: none; }
.convo-avatar {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-400);
}

/* ── Reszponzivitás: fejléc kompakttá ────────────────────── */
.header-inner { row-gap: 10px; }

/* A szegmentált nav görgethető kis helyen, nem törik szét */
.segmented { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.segmented::-webkit-scrollbar { height: 0; }

@media (max-width: 960px) {
  .seg-btn span:not(.badge) { display: none; }   /* csak ikon marad */
  .seg-btn { padding: 8px 11px; }
}

/* Táblázat → kártya nézet nagyon kis képernyőn */
@media (max-width: 640px) {
  table.data.responsive thead { display: none; }
  table.data.responsive tbody tr {
    display: block;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    padding: 6px 10px;
    background: var(--surface-1);
  }
  table.data.responsive tbody td {
    display: flex; justify-content: space-between; gap: 12px;
    border: none; padding: 6px 0;
  }
  table.data.responsive tbody td::before {
    content: attr(data-label);
    color: var(--text-faint);
    font-size: .66rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .05em;
  }
  table.data.responsive tbody td.cell-clip { max-width: none; white-space: normal; }
}

/* Kanban mobilon: kártyaszélesség a képernyőhöz, de görgethető */
@media (max-width: 640px) {
  .kanban-col { flex-basis: 88vw; min-width: 88vw; max-height: none; }
  .modal { max-width: 100%; border-radius: var(--radius-lg); }
  .grid-2 { grid-template-columns: minmax(0,1fr); }
}

/* Nagyon nagy képernyőn ne feszüljön szét vég nélkül */
@media (min-width: 1600px) {
  .header-inner, .app-main { max-width: 1560px; }
}

/* Finomabb fókusz a húzható kártyán érintőn */
@media (hover: none) {
  .ticket[draggable="true"] { cursor: default; }
}
