/* Smile Kiosk: στυλ για τις δικές μας σελίδες μέσα στο Filament (χωρίς build). */
:root {
  --sk-bg: #ffffff;
  --sk-soft: #f8fafc;
  --sk-line: #e2e8f0;
  --sk-text: #0f172a;
  --sk-sub: #64748b;
  --sk-ok: #047857;  --sk-ok-bg: #d1fae5;
  --sk-mid: #92400e; --sk-mid-bg: #fef3c7;
  --sk-bad: #b91c1c; --sk-bad-bg: #fee2e2;
  --sk-info: #0369a1; --sk-info-bg: #e0f2fe;
  --sk-brand: #ea580c; --sk-brand-bg: #ffedd5;
  --sk-radius: 12px;
}
.dark {
  --sk-bg: #111827;
  --sk-soft: #1f2937;
  --sk-line: rgba(255,255,255,.1);
  --sk-text: #f1f5f9;
  --sk-sub: #94a3b8;
  --sk-ok: #6ee7b7;  --sk-ok-bg: rgba(16,185,129,.16);
  --sk-mid: #fcd34d; --sk-mid-bg: rgba(245,158,11,.16);
  --sk-bad: #fca5a5; --sk-bad-bg: rgba(239,68,68,.16);
  --sk-info: #7dd3fc; --sk-info-bg: rgba(14,165,233,.16);
  --sk-brand: #fb923c; --sk-brand-bg: rgba(249,115,22,.16);
}

/* λογότυπο */
.sk-brand { display: flex; align-items: center; gap: .6rem; }
.sk-brand-mark { width: 2rem; height: 2rem; border-radius: .6rem; background: #ea580c; color: #fff; display: grid; place-items: center; font-weight: 800; }
.sk-brand-text { font-weight: 700; font-size: 1.05rem; color: var(--sk-text); line-height: 1.1; }
.sk-brand-text small { display: block; font-weight: 500; font-size: .7rem; color: var(--sk-sub); letter-spacing: .02em; }

/* φίλτρα πάνω από τις σελίδες */
.sk-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1rem; }
.sk-filters label { display: flex; flex-direction: column; gap: .25rem; font-size: .75rem; font-weight: 600; color: var(--sk-sub); text-transform: uppercase; letter-spacing: .04em; }
.sk-filters select, .sk-filters input {
  min-width: 11rem; height: 2.5rem; padding: 0 .75rem; border-radius: .6rem; border: 1px solid var(--sk-line);
  background: var(--sk-bg); color: var(--sk-text); font-size: .9rem; text-transform: none; letter-spacing: 0;
}
.sk-filters .sk-spacer { flex: 1; }

/* κάρτες αριθμών */
.sk-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.sk-kpi { background: var(--sk-bg); border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: .9rem 1rem; }
.sk-kpi .k { font-size: .72rem; font-weight: 600; color: var(--sk-sub); text-transform: uppercase; letter-spacing: .05em; }
.sk-kpi .v { font-size: 1.6rem; font-weight: 700; color: var(--sk-text); font-variant-numeric: tabular-nums; margin-top: .2rem; line-height: 1.15; }
.sk-kpi .s { font-size: .8rem; color: var(--sk-sub); margin-top: .15rem; }

/* πλαίσια */
.sk-card { background: var(--sk-bg); border: 1px solid var(--sk-line); border-radius: var(--sk-radius); margin-bottom: 1rem; overflow: hidden; }
.sk-card > h3 { font-size: .95rem; font-weight: 700; padding: .8rem 1rem; border-bottom: 1px solid var(--sk-line); color: var(--sk-text); display: flex; align-items: center; gap: .5rem; }
.sk-card > h3 .sk-count { margin-left: auto; font-weight: 600; font-size: .8rem; color: var(--sk-sub); }
.sk-card .sk-body { padding: 1rem; }
.sk-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 1rem; }
.sk-note { font-size: .82rem; color: var(--sk-sub); line-height: 1.5; }
.sk-note b { color: var(--sk-text); }

/* πίνακες */
.sk-scroll { overflow-x: auto; }
.sk-table { width: 100%; border-collapse: collapse; font-size: .875rem; color: var(--sk-text); }
.sk-table th { text-align: left; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--sk-sub); padding: .6rem .75rem; background: var(--sk-soft); border-bottom: 1px solid var(--sk-line); white-space: nowrap; }
.sk-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--sk-line); vertical-align: middle; }
.sk-table tr:last-child td { border-bottom: 0; }
.sk-table tbody tr:hover td { background: var(--sk-soft); }
.sk-table .n, .sk-table th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sk-table .c, .sk-table th.c { text-align: center; }
.sk-table tfoot td { font-weight: 700; background: var(--sk-soft); }
.sk-table a { color: var(--sk-brand); font-weight: 600; }
.sk-table a:hover { text-decoration: underline; }
.sk-muted { color: var(--sk-sub); }
.sk-small { font-size: .78rem; }

/* σήματα */
.sk-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .12rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sk-ok { background: var(--sk-ok-bg); color: var(--sk-ok); }
.sk-mid { background: var(--sk-mid-bg); color: var(--sk-mid); }
.sk-bad { background: var(--sk-bad-bg); color: var(--sk-bad); }
.sk-info { background: var(--sk-info-bg); color: var(--sk-info); }
.sk-gray { background: var(--sk-soft); color: var(--sk-sub); border: 1px solid var(--sk-line); }
.sk-brandb { background: var(--sk-brand-bg); color: var(--sk-brand); }
.sk-up { color: var(--sk-ok); font-weight: 600; }
.sk-down { color: var(--sk-bad); font-weight: 600; }

/* μπάρες */
.sk-bar { height: .5rem; border-radius: 999px; background: var(--sk-soft); border: 1px solid var(--sk-line); overflow: hidden; min-width: 6rem; }
.sk-bar > i { display: block; height: 100%; border-radius: 999px; background: var(--sk-brand); }
.sk-bar.ok > i { background: #10b981; } .sk-bar.mid > i { background: #f59e0b; } .sk-bar.bad > i { background: #ef4444; }

/* θερμικός πίνακας (περίπτερο × μήνας) */
.sk-heat td.h { text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .8rem; padding: .45rem .3rem; min-width: 3.2rem; }
.sk-heat td.h.e { color: var(--sk-sub); font-weight: 400; }
.sk-heat td.h.ok { background: var(--sk-ok-bg); color: var(--sk-ok); }
.sk-heat td.h.mid { background: var(--sk-mid-bg); color: var(--sk-mid); }
.sk-heat td.h.bad { background: var(--sk-bad-bg); color: var(--sk-bad); }
.sk-heat td.h.top { box-shadow: inset 0 0 0 2px #10b981; }

/* λίστες σε στήλες */
.sk-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.sk-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }

/* πίνακας ημέρας */
.sk-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem; }
.sk-tile { background: var(--sk-bg); border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: .9rem 1rem; }
.sk-tile.live { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.sk-tile h4 { font-weight: 700; color: var(--sk-text); display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.sk-tile .meta { font-size: .78rem; color: var(--sk-sub); margin: .2rem 0 .6rem; }
.sk-person { display: flex; justify-content: space-between; font-size: .84rem; padding: .3rem 0; border-top: 1px dashed var(--sk-line); color: var(--sk-text); }
.sk-person .t { font-variant-numeric: tabular-nums; color: var(--sk-sub); }
.sk-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #10b981; margin-right: .35rem; animation: sk-pulse 1.6s ease-in-out infinite; }
@keyframes sk-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .sk-dot { animation: none; } }

/* ομάδες κριτηρίων */
.sk-crit { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem; }
.sk-crit-g { border: 1px solid var(--sk-line); border-radius: var(--sk-radius); overflow: hidden; }
.sk-crit-g h5 { font-size: .8rem; font-weight: 700; padding: .5rem .75rem; color: #fff; }
.sk-crit-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .4rem .75rem; font-size: .84rem; border-top: 1px solid var(--sk-line); color: var(--sk-text); }

/* φωτογραφίες */
.sk-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.sk-photos a { display: block; aspect-ratio: 4/3; border-radius: .6rem; overflow: hidden; border: 1px solid var(--sk-line); background: var(--sk-soft); }
.sk-photos img { width: 100%; height: 100%; object-fit: cover; }

.sk-empty { padding: 2rem 1rem; text-align: center; color: var(--sk-sub); font-size: .9rem; }
.sk-link-btn { display: inline-flex; align-items: center; gap: .35rem; height: 2.5rem; padding: 0 .9rem; border-radius: .6rem; background: var(--sk-brand); color: #fff !important; font-weight: 600; font-size: .85rem; }
.sk-link-btn:hover { filter: brightness(1.05); }
.sk-link-btn.ghost { background: transparent; color: var(--sk-text) !important; border: 1px solid var(--sk-line); }
.sk-grid2, .sk-split { align-items: start; }
.sk-table td > b:first-child { white-space: nowrap; }
.sk-table td.sk-names { max-width: 280px; }
