/* Φυλλάδιο από πατρόν — εμφάνιση (χρώματα και γραμματοσειρά του νέου arabatzis.gr) */
@font-face {
  font-family: "Commissioner"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(commissioner-greek.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(commissioner-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #1572c0; --blue-d: #0f5c9f; --blue-deep: #0a3a9a; --navy: #0b1d3f; --cyan: #3fc8f0;
  --ink: #141a24; --muted: #5b6574; --line: #e4e8ee; --soft: #f4f6f9; --card: #fff;
  --ok: #1f8a4c; --ok-bg: #e5f5ec; --warn: #b86e00; --warn-bg: #fff3df; --bad: #c4161c; --bad-bg: #fdeaea;
  --radius: 16px; --shadow: 0 1px 2px rgba(16, 32, 64, .05), 0 8px 24px rgba(16, 32, 64, .06);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--soft); color: var(--ink); font: 14.5px/1.5 "Commissioner", system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
svg { display: block; flex: none; }
button { font: inherit; cursor: pointer; }
/* Όλο το πλάτος της οθόνης, με 48px κενό δεξιά-αριστερά (ζήτημα χρήστη 11/11· ήταν έως 1200px) */
.wrap { width: calc(100% - 96px); margin-inline: auto; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--muted); }

/* ---------- Πάνω μπάρα ---------- */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.brand img { height: 38px; width: auto; }
.brand b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
/* Patron HORECA (patron.arabatzis.gr/horeca/): σήμα δίπλα στον τίτλο, να μη μπερδεύεται με το Super */
.inst-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: #f27a0d; color: #fff; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; vertical-align: 2px; }
.who { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 700; text-transform: uppercase; }
.who-name small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.2; }
.who-name b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.who form { margin: 0; }
.btn-out { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 13px; font-weight: 600; font-size: 13px; transition: .15s; }
.btn-out:hover { border-color: #f2b8bb; color: var(--bad); background: #fff7f7; }
.btn-out svg { width: 16px; height: 16px; }

/* ---------- Μπάνερ ---------- */
.hero { background: radial-gradient(900px 300px at 85% -40%, rgba(63, 200, 240, .45), transparent 70%), linear-gradient(120deg, var(--navy) 0%, var(--blue-deep) 55%, var(--blue) 100%); color: #fff; padding: 34px 0 92px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.hero h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.lead { margin: 10px 0 0; max-width: 560px; color: rgba(255, 255, 255, .78); font-size: 15px; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
/* Προθεσμία εκτύπωσης: κόκκινη ετικέτα που αναβοσβήνει */
.deadline { margin: 0; display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px 9px 13px; border-radius: 99px; background: #e30613; color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 6px 20px rgba(227, 6, 19, .45); animation: blink 1.2s ease-in-out infinite; }
.deadline svg { width: 19px; height: 19px; }
.deadline b { font-weight: 800; font-size: 16px; }
@keyframes blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(227, 6, 19, .7), 0 6px 20px rgba(227, 6, 19, .45); } 50% { opacity: .35; box-shadow: 0 0 0 10px rgba(227, 6, 19, 0), 0 6px 20px rgba(227, 6, 19, 0); } }
@media (prefers-reduced-motion: reduce) { .deadline { animation: none; } }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); transition: .2s; }
.steps .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgba(255, 255, 255, .12); }
.steps .dot svg { width: 16px; height: 16px; display: none; }
.steps b { display: block; color: #fff; font-size: 14px; line-height: 1.2; }
.steps small { display: block; font-size: 12px; line-height: 1.3; }
.steps li.active { background: #fff; color: var(--muted); border-color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.steps li.active b { color: var(--ink); }
.steps li.active .dot { background: var(--blue); color: #fff; }
.steps li.done .dot { background: var(--cyan); color: var(--navy); }
.steps li.done .dot span { display: none; }
.steps li.done .dot svg { display: block; }

/* ---------- Κάρτες ---------- */
.main { margin-top: -64px; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.card-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.card-head h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.card-head .sub { color: var(--muted); font-size: 13px; }
.card-head .tag { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--blue); background: #e9f3fc; border-radius: 99px; padding: 3px 10px; }
.grid-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }

/* Excel */
.drop { border: 2px dashed #c7d3e2; border-radius: 14px; padding: 30px 20px; text-align: center; cursor: pointer; transition: .15s; background: linear-gradient(#fbfdff, #f5f9fd); }
.drop:hover, .drop.over { border-color: var(--blue); background: #eef6fd; }
.drop.over { transform: scale(1.005); }
.drop-icon { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.drop-icon svg { width: 30px; height: 30px; }
.drop b { display: block; font-size: 16.5px; font-weight: 700; }
.drop small { display: block; color: var(--muted); margin-top: 4px; font-size: 13.5px; }
.drop small u { color: var(--blue); text-decoration: none; font-weight: 600; }
.drop.loaded { border-style: solid; border-color: #bfe3cd; background: linear-gradient(#fbfefc, #f2faf5); }
.cols { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.cols i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 7px; padding: 2px 8px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; }
.stat { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 11px 16px; overflow: hidden; background: #fff; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.stat span { display: block; color: var(--muted); font-size: 12px; }
.stat b { font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat b small { font-size: 12px; font-weight: 500; }
.stat.warn::before { background: #f0a020; }
.stat.warn b { color: var(--warn); }

/* Πατρόν */
.patron h3 { margin: 0; font-size: 16px; font-weight: 700; }
.patron .sub { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.fan { position: relative; height: 210px; margin: 2px 0 16px; border-radius: 12px; background: radial-gradient(circle at 50% 120%, #dceaf8, #f3f7fc 70%); overflow: hidden; }
.fan img { position: absolute; bottom: -34px; width: 118px; border-radius: 4px; box-shadow: 0 8px 22px rgba(16, 32, 64, .2); background: #fff; transition: transform .25s; }
.fan img:nth-child(1) { left: 50%; margin-left: -142px; transform: rotate(-9deg); }
.fan img:nth-child(2) { left: 50%; margin-left: 24px; transform: rotate(9deg); }
.fan img:nth-child(3) { left: 50%; margin-left: -59px; bottom: -14px; z-index: 1; }
.fan:hover img:nth-child(1) { transform: rotate(-12deg) translateX(-8px); }
.fan:hover img:nth-child(2) { transform: rotate(12deg) translateX(8px); }
.facts { display: flex; gap: 8px; margin: 12px 0 14px; padding: 0; list-style: none; }
.facts li { flex: 1; text-align: center; background: var(--soft); border-radius: 10px; padding: 8px 4px; font-size: 12px; color: var(--muted); }
.facts b { display: block; font-size: 18px; color: var(--ink); font-weight: 700; line-height: 1.2; }
.notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.notes li { display: flex; gap: 9px; }
.notes svg { width: 18px; height: 18px; color: var(--blue); margin-top: 1px; }
.notes b { color: var(--ink); font-weight: 600; }

/* Δημιουργία PDF */
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; user-select: none; font-size: 13.5px; transition: .15s; }
.opt:hover { border-color: #c7d3e2; }
.opt input { appearance: none; margin: 0; width: 34px; height: 20px; border-radius: 99px; background: #cfd6e0; position: relative; cursor: pointer; transition: .2s; flex: none; }
.opt input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: .2s; }
.opt input:checked { background: var(--blue); }
.opt input:checked::after { left: 16px; }
.opt:has(input:checked) { border-color: #b7d4ee; background: #f4f9fe; }
.build-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; }
.primary { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 12px; padding: 13px 22px; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); box-shadow: 0 6px 16px rgba(21, 114, 192, .3); transition: .15s; }
.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(21, 114, 192, .35); }
.primary:disabled { background: #a9bdd2; box-shadow: none; transform: none; cursor: default; }
.primary svg { width: 19px; height: 19px; }
.progress { flex: 1; min-width: 240px; }
.bar { height: 10px; background: #e8edf3; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .25s; }
.bar i.run { background-image: linear-gradient(45deg, rgba(255, 255, 255, .25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, .25) 75%, transparent 75%), linear-gradient(90deg, var(--blue), var(--cyan)); background-size: 20px 20px, 100% 100%; animation: stripes .8s linear infinite; }
@keyframes stripes { to { background-position: 20px 0, 0 0; } }
#status { color: var(--muted); font-size: 13px; margin-top: 6px; min-height: 19px; }
#result { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--ok-bg); border: 1px solid #bfe3cd; }
#result a { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 6px 0; padding: 8px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; background: #fff; color: var(--ok); border: 1px solid #bfe3cd; }
#result a:first-child { background: var(--ok); color: #fff; border-color: var(--ok); }
#result .muted { display: block; font-size: 13px; }
#result code { font-size: 12px; color: var(--muted); }

/* Λίστα προϊόντων */
.tablewrap { overflow-x: auto; margin: 0 -24px -22px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); background: #f8fafc; }
th:first-child, td:first-child { padding-left: 24px; }
th:last-child, td:last-child { padding-right: 24px; }
td { padding: 8px 12px; border-bottom: 1px solid #eef1f5; vertical-align: middle; }
tbody tr:hover td { background: #f8fbfe; }
tbody tr:last-child td { border-bottom: 0; }
td.num { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
td.code { font-family: Consolas, monospace; font-size: 13px; color: var(--muted); }
.thumb { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: #fff; flex: none; }
.thumb img { max-width: 100%; max-height: 100%; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--soft); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.wait, .pill.nopos { background: var(--warn-bg); color: var(--warn); }
.ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px; padding: 6px 11px; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: .15s; }
.ghost:hover { border-color: var(--blue); color: var(--blue); }

.pill.cont { background: #e9f3fc; color: var(--blue-d); margin-top: 4px; }
.bad-t { color: var(--bad); }
tr.wrongrow td { background: #fffafa; }

/* Αυτόματο από Soft1 */
.auto { border-top: 4px solid var(--blue); }
.auto .stats { margin-top: 0; }
.auto-msg { margin: 0; color: var(--muted); }
.auto-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.auto-row.ready { padding: 14px 16px; border-radius: 12px; background: var(--ok-bg); border: 1px solid #bfe3cd; }
.auto-row.building { padding: 14px 16px; border-radius: 12px; background: #f4f9fe; border: 1px solid #cfe2f4; }
.auto-row a.primary { text-decoration: none; }
.ghost.big { padding: 12px 18px; font-size: 14px; border-radius: 12px; text-decoration: none; }
.auto-status { color: var(--muted); font-size: 13px; margin-top: 6px; min-height: 19px; }
.auto-err { margin: 12px 0 0; padding: 10px 13px; border-radius: 10px; background: var(--bad-bg); color: var(--bad); font-size: 13px; }
.auto-foot { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.auto-foot.late { color: var(--warn); font-weight: 600; }
.auto-key { font-size: 13px; }
.auto-keycard { padding-top: 16px; padding-bottom: 16px; }
#build .stats { margin: 0 0 16px; }
.auto-key summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.auto-key p { margin: 8px 0; }
.key-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.key-val { font: 13px Consolas, monospace; padding: 8px 10px; border: 1px solid #cfd8e3; border-radius: 9px; width: min(460px, 100%); background: #fbfcfe; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 6px 0 28px; color: var(--muted); font-size: 12.5px; }

/* ---------- Σύνδεση / αποσύνδεση ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(700px 320px at 50% -10%, rgba(63, 200, 240, .35), transparent 70%), linear-gradient(160deg, var(--navy), var(--blue-deep) 60%, var(--blue)); }
.auth main { width: 100%; max-width: 400px; }
.auth .card { padding: 30px 30px 28px; box-shadow: 0 24px 60px rgba(4, 16, 48, .35); border: 0; }
.auth .logo { display: block; height: 74px; width: auto; margin: 0 auto 18px; }
.auth h2 { margin: 0 0 4px; font-size: 21px; font-weight: 700; text-align: center; letter-spacing: -.01em; }
.auth .sub { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; text-align: center; }
.auth label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.auth input { display: block; width: 100%; margin-top: 6px; font: inherit; color: var(--ink); padding: 11px 13px; border: 1px solid #cfd8e3; border-radius: 11px; background: #fbfcfe; transition: .15s; }
.auth input:focus { outline: 3px solid rgba(21, 114, 192, .15); border-color: var(--blue); background: #fff; }
.auth form { margin: 0; }
.auth .err { background: var(--bad-bg); color: var(--bad); border-radius: 10px; padding: 10px 13px; font-size: 13px; margin-bottom: 16px; }
.auth .note { background: #eef5fc; color: #0a3a9a; border-radius: 10px; padding: 10px 13px; font-size: 13px; margin-bottom: 16px; }
.auth .sub.small { margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; }
.auth .btn { display: flex; justify-content: center; width: 100%; margin-top: 6px; text-decoration: none; }
.auth .btn.ghost { margin-top: 10px; padding: 12px; font-size: 14px; }
.auth .app-name { margin: 16px 0 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 12.5px; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-side { align-items: flex-start; }
  .grid-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .who-name, .brand small { display: none; }
  .btn-out span { display: none; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 24px; }
  .deadline { border-radius: 14px; font-size: 13.5px; }
  .steps { flex-direction: column; }
  .card { padding: 18px 16px; }
  .tablewrap { margin: 0 -16px -18px; }
}

/* ---------- Ξεφύλλισμα (κάτω από το «Αυτόματο από Soft1», δίπλα στο πατρόν) ---------- */
.grid-top > .side-col { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 18px; align-content: start; }
#flipCard { grid-column: 1; }
.flipcard .card-head { flex-wrap: wrap; row-gap: 6px; }
.flipcard .tag { white-space: nowrap; }
/* Φόντο πίσω από το φυλλάδιο: το σκούρο μπλε του arabatzis.gr (όπως η πάνω ζώνη της σελίδας) */
.flip-stage { position: relative; padding: 18px; border-radius: 12px; background: radial-gradient(120% 90% at 50% 115%, var(--blue-deep) 0%, var(--navy) 72%); overflow: hidden; }
.flip-book { margin-inline: auto; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.flip-book.at-cover { transform: translateX(-25%); }
.flip-book.at-back { transform: translateX(25%); }
.flip-book .page { background: #fff; overflow: hidden; }
.flip-book .page img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* Άδειο φυλλάδιο «Προεπισκόπηση»: ίδιο ύψος με το ανοιχτό βιβλίο (δύο σελίδες 550 × 760) */
.flip-ph { position: relative; aspect-ratio: 1100 / 760; display: grid; place-items: center; }
.ph-leaf { height: 86%; aspect-ratio: 550 / 760; max-width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 7% 6%; padding: 8% 8% 9%; background: #fff; border-radius: 3px; transform: rotate(-1.5deg);
  box-shadow: 0 12px 30px rgba(16, 32, 64, .16), 7px 7px 0 -1px #fff, 7px 7px 0 0 var(--line), 14px 14px 0 -1px #fff, 14px 14px 0 0 var(--line); }
.ph-logo { width: 34%; aspect-ratio: 1.25; border-radius: 22% 40% 10% 40%; background: linear-gradient(135deg, #d5e7f8, #a9cdef); }
.ph-date { align-self: center; width: 52px; height: 7px; border-radius: 4px; background: #e8edf3; }
.ph-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7% 8%; align-content: space-between; }
.ph-grid i { position: relative; aspect-ratio: .78; border-radius: 4px; background: linear-gradient(#e9eef4, #e9eef4) top / 80% 9% no-repeat, linear-gradient(#f1f4f8, #f1f4f8) bottom / 100% 76% no-repeat; }
.ph-grid i::after { content: ""; position: absolute; right: -4%; bottom: 10%; width: 48%; height: 17%; border-radius: 2px; background: #f6c9cb; transform: skewX(-14deg); }
.ph-info { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(300px, 86%); display: grid; justify-items: center; gap: 8px; padding: 16px 18px; text-align: center; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px rgba(16, 32, 64, .14); }
.ph-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #e9f3fc; border-radius: 99px; padding: 4px 12px; }
.ph-status { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.ph-status.err { color: var(--bad); font-weight: 500; }
.ph-bar { width: 100%; height: 6px; }

.flip-ctrl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.flip-nav { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); transition: .15s; }
.flip-nav:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.flip-nav:disabled { opacity: .35; cursor: default; }
.flip-nav svg { width: 18px; height: 18px; }
.flip-nav:focus-visible, .flip-big:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.flip-count { min-width: 150px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.flip-big { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.flip-big svg { width: 16px; height: 16px; }
@media (max-width: 960px) { #flipCard, .grid-top > .side-col { grid-column: auto; grid-row: auto; } }
@media (max-width: 640px) {
  .flip-stage { padding: 12px; }
  .flip-ph { aspect-ratio: 550 / 760; }
  .ph-leaf { height: 80%; }
  .flip-count { min-width: 0; flex: 1; }
  .flip-big { margin-left: 0; width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .flip-book { transition: none; } }

/* ---------- Καρτέλες: τα κουτιά με τους αριθμούς φιλτράρουν τη λίστα προϊόντων ---------- */
button.stat { font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
button.stat:hover { border-color: #b9cfe6; background: #fafcff; }
button.stat:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
button.stat.on { border-color: var(--blue); background: #eef6fd; box-shadow: inset 0 0 0 1px var(--blue); }
button.stat.on span { color: var(--blue-d); font-weight: 600; }
button.stat.warn.on { border-color: #f0a020; background: #fff8ea; box-shadow: inset 0 0 0 1px #f0a020; }
button.stat.warn.on span { color: var(--warn); }
#list { scroll-margin-top: 84px; }
.pill.noprice { background: #fff3b8; color: #7a5c00; margin-top: 4px; }
.empty-row { padding: 22px 12px !important; text-align: center; }
/* 8 κουτιά = 2 σειρές των 4 (στο κινητό 2 στήλες) */
#build .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { #build .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Νέα προϊόντα ανά μέρα (κάτω από το πατρόν) ---------- */
.growth { position: relative; }
.growth .card-head { flex-wrap: wrap; row-gap: 2px; margin-bottom: 10px; }
.g-hero { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 8px; }
.g-hero b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.g-hero span { color: var(--muted); font-size: 13px; }
.g-hero .g-total { margin-left: auto; color: var(--ink); font-weight: 600; }
.g-chart { position: relative; }
.g-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-chart text { font: 500 11px "Commissioner", system-ui, sans-serif; fill: var(--muted); font-variant-numeric: tabular-nums; }
.g-chart text.g-val { fill: var(--ink); font-weight: 700; font-size: 12px; }
.g-chart .g-hit { fill: transparent; cursor: default; outline: none; }
.g-chart .g-bar, .g-chart text { pointer-events: none; }   /* το ποντίκι πιάνει όλη τη στήλη (g-hit) */
.g-chart .g-col:hover .g-bar, .g-chart .g-col:focus-within .g-bar { fill: var(--blue-d); }
.g-chart .g-col:focus-within .g-hit { stroke: var(--blue); stroke-width: 1.5; }
.g-bar { fill: var(--blue); transition: fill .12s; }
.g-tip { position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, calc(-100% - 8px)); background: var(--ink); color: #fff; font-size: 12px; line-height: 1.35; padding: 6px 9px; border-radius: 8px; white-space: nowrap; box-shadow: 0 6px 18px rgba(16, 32, 64, .25); }
.g-tip b { font-weight: 700; }
.g-empty { margin: 4px 0 2px; color: var(--muted); font-size: 13px; }
.g-foot { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.g-table { margin-top: 6px; font-size: 12.5px; }
.g-table summary { cursor: pointer; color: var(--muted); }
.g-table table { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.g-table th, .g-table td { text-align: right; padding: 3px 4px; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; background: none; }
.g-table th:first-child, .g-table td:first-child { text-align: left; }

/* ---------- Σημειώσεις φυλλαδίου: όλη η κάρτα σε απαλό κίτρινο, σαν χαρτάκι σημειώσεων ---------- */
.notescard { background: #fff8d6; border-color: #f1df97; }
.notescard .card-head { flex-wrap: wrap; row-gap: 4px; margin-bottom: 10px; }
.notescard .card-head h2 { color: #4a3b00; }
.notescard .card-head .sub { color: #8a7a3e; }
.notescard .card-head label { cursor: text; }
.notes-state { margin-left: auto; font-size: 12px; font-weight: 600; color: #8a7a3e; }
.notes-state.saving { color: var(--blue); }
.notes-state.saved { color: var(--ok); }
.notes-state.err { color: var(--bad); }
.n-text { display: block; width: 100%; min-height: 96px; max-height: 420px; resize: vertical; padding: 12px 14px; border: 1px solid #ecd987; border-radius: 12px; background: #fffbe8; color: var(--ink); font: 14.5px/1.55 "Commissioner", system-ui, sans-serif; transition: border-color .15s, background .15s, box-shadow .15s; }
.n-text::placeholder { color: #b5a76c; }
.n-text:hover { border-color: #dcc56a; }
.n-text:focus { outline: none; border-color: #c9a400; background: #fffdf3; box-shadow: 0 0 0 3px rgba(214, 170, 0, .18); }
.notes-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: 12.5px; }
.notescard .notes-foot .muted { color: #8a7a3e; }
.n-conflict { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--warn); font-weight: 600; }
.n-conflict[hidden] { display: none; }

/* ---------- Σελίδες & θέσεις (σχεδιαστής, 9/11/2026) ---------- */
/* Κάρτα «Σελίδες & θέσεις»: ανοιχτό μπλε φόντο (ζήτημα χρήστη 11/11)· η σελίδα και το πλαϊνό μένουν λευκά */
.pagescard { background: #e8f2fc; border-color: #c6dcf2; border-top: 4px solid #f27a0d; }
.pagescard .card-head .sub { color: #4f6b8a; }
.pagescard .dz-stage { background: #d3e5f7; }
.pagescard .dz-side { background: #fff; border-color: #c6dcf2; }
.pagescard .card-head { flex-wrap: wrap; row-gap: 4px; }
.dz-state { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.dz-state.saving { color: var(--blue); }
.dz-state.saved { color: var(--ok); }
.dz-state.err { color: var(--bad); }
.dz-conflict { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 13px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-weight: 600; font-size: 13px; }
.dz-conflict[hidden] { display: none; }
.dz { display: grid; grid-template-columns: 112px minmax(0, 1fr) 260px; gap: 18px; align-items: start; }
.dz-strip { display: flex; flex-direction: column; gap: 10px; max-height: 760px; overflow-y: auto; padding: 2px 4px 2px 2px; }
.dz-thumb { display: block; width: 100%; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; transition: .15s; }
.dz-thumb:hover { border-color: #b7d4ee; }
.dz-thumb.on { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(21, 114, 192, .18); background: #f4f9fe; }
.dz-mini { position: relative; display: block; width: 100%; aspect-ratio: 595.276 / 822.047; background: #fff; border: 1px solid #e3e8ef; border-radius: 3px; overflow: hidden; }
.dz-mini i { position: absolute; border: 1px solid #9fb6cf; background: rgba(21, 114, 192, .08); border-radius: 1px; }
.dz-mini i.has { border-color: #6fb38a; background: rgba(31, 138, 76, .16); }
.dz-tn { display: flex; justify-content: space-between; align-items: baseline; margin-top: 5px; font-size: 11px; color: var(--muted); }
.dz-tn b { font-size: 13px; color: var(--ink); }
.dz-add { display: grid; place-items: center; gap: 2px; width: 100%; padding: 14px 6px; border: 1.5px dashed #c7d3e2; border-radius: 10px; background: #fbfdff; color: var(--blue); font-size: 12.5px; font-weight: 600; transition: .15s; }
.dz-add span { font-size: 22px; line-height: 1; }
.dz-add:hover { border-color: var(--blue); background: #eef6fd; }
.dz-main { min-width: 0; }
.dz-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }
.dz-title { font-size: 15px; margin-right: auto; }
.dz-grp { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.dz-grp label { display: inline-flex; align-items: center; gap: 6px; }
.dz-grp select { font: inherit; font-size: 13px; padding: 5px 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.ghost.icon { min-width: 32px; padding: 6px 8px; font-size: 14px; line-height: 1; }
.ghost:disabled { opacity: .45; cursor: default; border-color: var(--line); color: var(--ink); }
.ghost.danger:not(:disabled):hover { border-color: #f2b8bb; color: var(--bad); background: #fff7f7; }
.dz-ask { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 10px; background: var(--warn-bg); color: #7a4a00; font-size: 13px; }
.dz-stage { padding: 18px; border-radius: 14px; background: #eef2f7; display: grid; place-items: center; }
.dz-page { position: relative; width: min(100%, 480px); aspect-ratio: 595.276 / 822.047; background-color: #fff; background-image: linear-gradient(#f1f4f8 1px, transparent 1px), linear-gradient(90deg, #f1f4f8 1px, transparent 1px); background-size: 5% 5%; box-shadow: 0 2px 10px rgba(16, 32, 64, .12); cursor: crosshair; touch-action: none; user-select: none; outline: none; }
.dz-page::before { content: ""; position: absolute; inset: 3%; border: 1px dashed #dbe2ea; pointer-events: none; }
.dz-page:focus-visible { box-shadow: 0 0 0 3px rgba(21, 114, 192, .35), 0 2px 10px rgba(16, 32, 64, .12); }
.dz-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 20%; text-align: center; color: #9aa6b5; font-size: 13px; pointer-events: none; }
.dz-box { position: absolute; border: 1.5px solid #9fb6cf; background: rgba(21, 114, 192, .05); border-radius: 5px; cursor: move; overflow: hidden; }
.dz-box.has { border-color: #8cc7a3; background: rgba(31, 138, 76, .06); }
.dz-box.sel { border-color: var(--blue); background: rgba(21, 114, 192, .09); box-shadow: 0 0 0 3px rgba(21, 114, 192, .2); z-index: 2; overflow: visible; }
.dz-lbl { position: absolute; left: 4px; top: 4px; padding: 1px 7px; border-radius: 99px; background: #f27a0d; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.5; pointer-events: none; }
.dz-cnt { position: absolute; right: 4px; top: 4px; min-width: 18px; padding: 1px 5px; border-radius: 99px; background: var(--ok); color: #fff; font-size: 10.5px; font-weight: 700; text-align: center; line-height: 1.5; pointer-events: none; }
/* Φωτογραφίες μέσα στο κουτί: γεμίζουν όλο το κουτί (πλέγμα --c × --r από το layout.js), όπως στο PDF */
.dz-thumbs { position: absolute; inset: 24px 4px 4px; display: grid; grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); grid-template-rows: repeat(var(--r, 1), minmax(0, 1fr)); gap: 3px; overflow: hidden; pointer-events: none; }
.dz-thumbs img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; background: #fff; border: 1px solid #e3e8ef; border-radius: 4px; }
.dz-nophoto { display: grid; place-items: center; width: 28px; height: 28px; background: #f4f6f9; border: 1px dashed #c7d0db; border-radius: 4px; font-size: 7px; color: var(--muted); overflow: hidden; }
.dz-thumbs .dz-nophoto { width: 100%; height: 100%; min-width: 0; min-height: 0; font-size: 9px; }
.dz-more { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); background: #f4f6f9; border-radius: 4px; }
.dz-h { position: absolute; width: 11px; height: 11px; background: #fff; border: 2px solid var(--blue); border-radius: 3px; z-index: 3; }
.dz-h.nw { left: -6px; top: -6px; cursor: nwse-resize; }
.dz-h.se { right: -6px; bottom: -6px; cursor: nwse-resize; }
.dz-h.ne { right: -6px; top: -6px; cursor: nesw-resize; }
.dz-h.sw { left: -6px; bottom: -6px; cursor: nesw-resize; }
.dz-help { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.dz-side { border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13px; }
.dz-side h3 { margin: 0 0 4px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.dz-side p { margin: 4px 0 10px; }
.dz-big { padding: 2px 10px; border-radius: 99px; background: #f27a0d; color: #fff; font-size: 14px; }
.dz-tip { padding: 9px 11px; border-radius: 10px; background: #f4f9fe; color: var(--blue-d); }
.dz-list { margin: 0 0 10px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.dz-list button { width: 100%; display: flex; justify-content: space-between; gap: 4px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12.5px; }
.dz-list button:hover { border-color: var(--blue); }
.dz-list b { color: #c45f00; }
.dz-list span { color: var(--muted); }
.dz-num { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 2px; color: var(--muted); }
.dz-num input { width: 70px; font: inherit; font-weight: 700; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.dz-num-err { color: var(--bad); font-size: 12px; }
.dz-items { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; max-height: 330px; overflow-y: auto; }
.dz-item { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.3; }
.dz-item img, .dz-item .dz-nophoto { width: 34px; height: 34px; flex: none; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.dz-item b { display: block; font-family: Consolas, monospace; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.dz-side .ghost { margin: 4px 6px 0 0; }
@media (max-width: 1000px) {
  .dz { grid-template-columns: minmax(0, 1fr); }
  .dz-strip { flex-direction: row; max-height: none; overflow-x: auto; }
  .dz-thumb, .dz-add { flex: none; width: 84px; }
}

/* ---------- Λίστα: θέση και σημειώσεις ανά προϊόν ---------- */
td.col-pos { white-space: nowrap; }
.pos-in { width: 66px; padding: 6px 4px; border: 1px solid #cfd8e3; border-radius: 8px; background: #fff; color: var(--ink); font: 700 14px/1.2 "Commissioner", system-ui, sans-serif; text-align: center; font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s, background .3s; }
.pos-in::placeholder { color: #b4bfcc; font-weight: 500; }
.pos-in::-webkit-calendar-picker-indicator { display: none !important; }   /* βελάκι datalist: οι προτάσεις βγαίνουν όταν γράφεις */
.pos-in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 114, 192, .18); }
.pos-in.bad { border-color: var(--bad); background: var(--bad-bg); }
.pos-in.saving { border-color: var(--blue); }
.pos-in.ok, .note-in.ok { border-color: var(--ok); background: var(--ok-bg); }
.pos-hint { margin-top: 4px; font-size: 11.5px; }
.pos-hint .pill { font-size: 10.5px; padding: 2px 7px; }
th.col-note, td.col-note { min-width: 200px; }
.note-in { display: block; width: 100%; min-height: 36px; max-height: 170px; resize: none; padding: 7px 9px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 8px; background: #fbfcfe; color: var(--ink); font: 13px/1.4 "Commissioner", system-ui, sans-serif; transition: border-color .15s, box-shadow .15s, background .3s; }
.note-in.buy { border-left-color: #f0a020; }
.note-in.gfx { border-left-color: #8b5cf6; }
.note-in::placeholder { color: #b4bfcc; }
.note-in:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 114, 192, .15); }
.note-in.saving { border-color: var(--blue); }
.note-in.err { border-color: var(--bad); background: var(--bad-bg); }
.photo-cell { display: flex; gap: 10px; align-items: center; }
button.thumb { padding: 0; cursor: zoom-in; transition: border-color .15s, box-shadow .15s; }
button.thumb:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 114, 192, .15); }
.auto-row.old { padding: 14px 16px; border-radius: 12px; background: var(--warn-bg); border: 1px solid #f3d7a6; }

/* ---------- Φωτογραφία σε μεγάλο παράθυρο ---------- */
.zoom-dlg { width: min(760px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(11, 29, 63, .35); overflow: hidden; }
.zoom-dlg::backdrop { background: rgba(11, 29, 63, .55); }
.zoom-box { position: relative; }
.zoom-x { position: absolute; right: 12px; top: 12px; z-index: 1; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; color: var(--ink); }
.zoom-x:hover { border-color: var(--blue); color: var(--blue); }
.zoom-img { display: grid; place-items: center; height: min(70vh, 620px); padding: 22px; background: #fff; }
.zoom-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom-foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: #f8fafc; }
.zoom-cap { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 13px; }
.zoom-cap b { font-size: 14.5px; }
.zoom-cap .code { font-family: Consolas, monospace; }
/* Σημειώσεις φυλλαδίου σε δύο στήλες: Αγορές · Γραφίστας (9/11/2026) */
.notes-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.notes-colhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.notes-colhead label { font-weight: 700; font-size: 14px; color: #4a3b00; cursor: text; padding-left: 9px; border-left: 3px solid #f0a020; line-height: 1.2; }
.notes-col.gfx .notes-colhead label { border-left-color: #8b5cf6; }
.notes-col .notes-state { margin-left: auto; }
@media (max-width: 760px) { .notes-cols { grid-template-columns: minmax(0, 1fr); } }
/* Αριθμός σελίδας όπως στα βιβλία (μπλε κυκλάκι κάτω: ζυγές αριστερά, μονές δεξιά) + σύρσιμο σελίδων */
.dz-pno { position: absolute; bottom: 1%; width: 3.4%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1; z-index: 1; pointer-events: none; box-shadow: 0 1px 3px rgba(16, 32, 64, .25); min-width: 20px; }
.dz-pno.even { left: 1.3%; }
.dz-pno.odd { right: 1.3%; }
.dz-pno.mini { width: 9%; min-width: 0; box-shadow: none; bottom: 2%; }
.dz-pno.mini.even { left: 3%; }
.dz-pno.mini.odd { right: 3%; }
.dz-strip { user-select: none; }
.dz-thumb { cursor: grab; }
.dz-strip.sorting, .dz-strip.sorting .dz-thumb { cursor: grabbing; }
.dz-thumb.dragging { opacity: .4; }
.dz-thumb.drop-before { box-shadow: 0 -4px 0 0 var(--blue); }
.dz-thumb.drop-after { box-shadow: 0 4px 0 0 var(--blue); }
@media (max-width: 1000px) {
  .dz-thumb.drop-before { box-shadow: -4px 0 0 0 var(--blue); }
  .dz-thumb.drop-after { box-shadow: 4px 0 0 0 var(--blue); }
}
/* Σύρσιμο σελίδων: μπλε διαχωριστική γραμμή εκεί που θα μπει η σελίδα, η σελίδα ακολουθεί τον δείκτη, αναλαμπή μετά */
.dz-strip { position: relative; }
.dz-drop { position: absolute; height: 4px; border-radius: 2px; background: var(--blue); box-shadow: 0 0 0 3px rgba(21, 114, 192, .18); pointer-events: none; z-index: 5; }
.dz-drop::before, .dz-drop::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-sizing: border-box; }
.dz-drop::before { left: -5px; }
.dz-drop::after { right: -5px; }
.dz-drop span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 2px 7px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.dz-drop.v { width: 4px; }
.dz-drop.v::before { left: 50%; top: -5px; margin: 0 0 0 -5px; }
.dz-drop.v::after { left: 50%; right: auto; top: auto; bottom: -5px; margin: 0 0 0 -5px; }
.dz-drop.v span { top: auto; bottom: -24px; transform: translateX(-50%); }
.dz-ghost { position: fixed; left: 0; top: 0; z-index: 1000; padding: 5px; border-radius: 10px; background: #fff; border: 2px solid var(--blue); box-shadow: 0 12px 28px rgba(16, 32, 64, .28); opacity: .92; pointer-events: none; }
.dz-ghost b { position: absolute; left: -8px; top: -8px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 12px; display: grid; place-items: center; }
.dz-thumb.dragging { opacity: .35; border-style: dashed; }
.dz-sgrid.sorting, .dz-sgrid.sorting .dz-thumb { cursor: grabbing; }
.dz-thumb.moved { animation: dz-moved 1.1s ease-out; }
@keyframes dz-moved { 0% { box-shadow: 0 0 0 6px rgba(21, 114, 192, .55); background: #dcecfb; } 100% { box-shadow: 0 0 0 2px rgba(21, 114, 192, .18); } }
/* Ανταγωνισμός: η τιμή μας σε σχέση με κάθε ανταγωνιστή, χωρίς ονόματα (− φθηνότεροι · + ακριβότεροι) */
th.col-comp, td.col-comp { white-space: nowrap; }
.comp-list { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.comp { display: inline-block; min-width: 52px; padding: 3px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; cursor: help; }
.comp.cheap { background: var(--ok-bg); color: var(--ok); }
.comp.dear { background: var(--bad-bg); color: var(--bad); }
.comp.same { background: var(--soft); color: var(--muted); }
.comp-na { display: inline-block; padding: 3px 9px; border-radius: 99px; background: var(--soft); color: #8a94a3; font-size: 12px; font-weight: 600; cursor: help; }
/* Κουμπί «Όλες» και παράθυρο με όλες τις σελίδες σε μικρογραφίες (για σύρσιμο όταν είναι πολλές) */
.dz-left { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dz-all { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 8px 6px; border: 1px solid #f7c99a; border-radius: 10px; background: #fff3e6; color: #c45f00; font-size: 12.5px; font-weight: 700; transition: .15s; }
.dz-all svg { width: 16px; height: 16px; }
.dz-all:hover { border-color: #f27a0d; background: #ffe8d1; color: #a84f00; }
.dz-strip { max-height: 720px; }
.dz-sorter { width: min(1180px, 95vw); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(11, 29, 63, .35); overflow: hidden; }
.dz-sorter::backdrop { background: rgba(11, 29, 63, .5); }
.dz-sorter-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.dz-sorter-head b { font-size: 16px; }
.dz-sorter-tip { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.dz-x { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 20px; line-height: 1; color: var(--ink); }
.dz-x:hover { border-color: var(--blue); color: var(--blue); }
.dz-sgrid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 22px 18px; padding: 20px; max-height: calc(92vh - 64px); overflow-y: auto; background: #eef2f7; user-select: none; touch-action: none; }
.dz-sgrid .dz-drop.v span { bottom: auto; top: -22px; }
@media (max-width: 1000px) { .dz-all { width: auto; flex: none; } .dz-left { flex-direction: row; align-items: stretch; } }
/* Αναζήτηση στη λίστα «Προϊόντα» (11/11): δεξιά στον τίτλο της κάρτας */
#list .card-head { align-items: center; flex-wrap: wrap; row-gap: 8px; }
.list-search { margin-left: auto; position: relative; display: flex; align-items: center; }
.list-search svg { position: absolute; left: 11px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.list-search input { width: 320px; font: inherit; font-size: 14px; color: var(--ink); padding: 8px 12px 8px 34px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s; }
.list-search input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(21, 114, 192, .15); }
.list-search input:not(:placeholder-shown) { border-color: var(--blue); background: #fff; }
#rows mark { background: #ffe58a; color: inherit; border-radius: 3px; padding: 0 1px; }

/* Ξεφύλλισμα: όλη η κάρτα (τίτλος + βιβλίο + κουμπιά) χωράει σε μία οθόνη χωρίς κύλιση (ζήτημα χρήστη 11/11).
   Ύψος βιβλίου ≤ ύψος οθόνης − 280px (μπάρα 69 + τίτλος/κουμπιά/περιθώρια της κάρτας ~182 + λίγο αέρα)·
   το πλάτος του ζεύγους σελίδων βγαίνει από την αναλογία 1100 × 760. Το !important νικά το inline max-width του page-flip. */
.flip-book, .flip-ph { max-width: min(100%, calc((100vh - 280px) * 1100 / 760)) !important; margin-inline: auto; }

/* ---------- Χρήστες (xristes.php, 11/11): διαχειριστής / χρήστης ---------- */
.top-link { text-decoration: none; }
.top-link:hover, .top-link.on { border-color: var(--blue); color: var(--blue); background: #f2f8fe; }
.hero-sm { padding-bottom: 84px; }
.hero .eyebrow a { color: inherit; text-decoration: none; }
.hero .eyebrow a:hover { text-decoration: underline; }
.users-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.u-flash { padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }
.u-flash.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe3cc; }
.u-flash.err { background: var(--bad-bg); color: var(--bad); border: 1px solid #f2b8bb; }
.users-grid .tablewrap { overflow: visible; }   /* αλλιώς κόβονται τα αναδυόμενα «Νέος κωδικός» / «Διαγραφή» */
.u-table td { padding-top: 12px; padding-bottom: 12px; }
.u-table tr.u-self td { background: #f6faff; }
.u-name { display: inline-flex; align-items: center; gap: 10px; }
.u-name b { font-size: 14.5px; }
.avatar.sm { width: 30px; height: 30px; font-size: 13px; }
.pill.role-admin { background: #e9f3fc; color: var(--blue-d); }
.u-role select { font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); padding: 6px 28px 6px 10px; border: 1px solid #cfd8e3; border-radius: 9px; background: #fff; cursor: pointer; }
.u-role select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 114, 192, .15); }
.u-acts { white-space: nowrap; }
.u-pop { display: inline-block; position: relative; margin-right: 6px; vertical-align: top; }
.u-pop > summary { list-style: none; display: inline-block; cursor: pointer; }
.u-pop > summary::-webkit-details-marker { display: none; }
.u-pop[open] > summary { border-color: var(--blue); color: var(--blue); }
.u-pop[open] > summary.danger { border-color: #f2b8bb; color: var(--bad); background: #fff7f7; }
.u-popbody { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: 340px; white-space: normal; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(11, 29, 63, .18); padding: 14px; display: grid; gap: 10px; }
.u-note { margin: 0; font-size: 12.5px; }
.u-field { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.u-field input { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); padding: 9px 12px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fbfcfe; min-width: 0; }
.u-field input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(21, 114, 192, .15); }
.u-field small { font-weight: 500; }
.u-pass { display: flex; gap: 6px; align-items: stretch; }
.u-pass input { flex: 1; font-family: Consolas, monospace; letter-spacing: .03em; }
.u-pass .ghost { display: inline-flex; align-items: center; }
.u-pass .ghost svg { width: 16px; height: 16px; }
.u-new form { display: grid; gap: 14px; }
.u-roles { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.u-roles legend { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 5px; padding: 0; }
.u-roles label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; transition: .15s; }
.u-roles label:has(input:checked) { border-color: var(--blue); background: #f2f8fe; }
.u-roles input { margin-top: 3px; accent-color: var(--blue); }
.u-roles span { display: grid; gap: 1px; }
.u-roles b { font-size: 14px; }
.u-roles small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.primary.sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; justify-content: center; }
.u-new .primary { justify-content: center; }
.btn.danger { display: inline-flex; justify-content: center; border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: 13.5px; color: #fff; background: var(--bad); }
.btn.danger:hover { filter: brightness(.94); }
@media (max-width: 1100px) { .users-grid { grid-template-columns: minmax(0, 1fr); } }

/* Κουμπί αντιγραφής τίτλου μπροστά από την περιγραφή (11/11) */
.desc-cell { display: flex; align-items: flex-start; gap: 8px; }
.copy-t { flex: none; width: 26px; height: 26px; margin-top: -2px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); padding: 0; transition: .15s; }
.copy-t svg { width: 14px; height: 14px; }
.copy-t:hover { border-color: var(--blue); color: var(--blue); background: #f2f8fe; }
.copy-t:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.copy-t.done { border-color: #bfe3cc; color: var(--ok); background: var(--ok-bg); }
.copy-t.fail { border-color: #f2b8bb; color: var(--bad); background: var(--bad-bg); }

/* Δικαιώματα ανά χρήστη (11/11): κουτάκι «Ανταγωνισμός» στη γραμμή του χρήστη */
.u-perm { display: inline-block; margin: 0 6px 0 0; }
.u-check { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; background: #fff; transition: .15s; }
.u-check input { margin: 0; accent-color: var(--blue); }
.u-check:hover { border-color: var(--blue); }
.u-check:has(input:checked) { border-color: var(--blue); background: #f2f8fe; color: var(--blue-d); }
.u-allperms { font-size: 12.5px; }
.u-permset legend small { font-weight: 500; }

/* Ανταγωνισμός: αρχικά του ανταγωνιστή αριστερά από το ποσοστό (11/11) · ME = METRO, E = EFT, MA = MART */
.comp-row { display: flex; align-items: center; gap: 6px; }
.comp-src { width: 24px; flex: none; text-align: right; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; color: var(--muted); }

/* Σελίδες πατρόν (12/11/2026): καρδιά πάνω δεξιά από τη σελίδα + στήλη με τα σχέδια που κρατήθηκαν, στο κενό δεξιά */
.dz-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 480px) minmax(104px, 1fr); column-gap: 14px; place-items: start stretch; }
.dz-stage .dz-page { grid-column: 2; width: 100%; }
.dz-pat { grid-column: 3; align-self: stretch; position: relative; min-width: 0; }
.dz-pat-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 124px; }
.dz-fav { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid #f1c3c8; border-radius: 50%; background: #fff; color: #e5484d; box-shadow: 0 1px 4px rgba(16, 32, 64, .12); transition: .15s; }
.dz-fav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.dz-fav:hover:not(:disabled) { background: #fff0f1; border-color: #e5484d; transform: scale(1.06); }
.dz-fav.on { background: #e5484d; border-color: #e5484d; color: #fff; }
.dz-fav.on svg { fill: currentColor; animation: dz-heart .35s ease-out; }
.dz-fav.on:hover:not(:disabled) { background: #d23c41; }
.dz-fav:disabled { color: #c2c9d3; border-color: #dfe5ec; box-shadow: none; cursor: default; }
@keyframes dz-heart { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.dz-pat-head { font-size: 12px; font-weight: 700; color: var(--blue-d); line-height: 1.25; }
.dz-pat-head span { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 10.5px; text-align: center; line-height: 1.6; }
.dz-pat-list { flex: 1; min-height: 0; width: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 6px 6px 6px 0; }
.dz-pat-empty { margin: 0; font-size: 11.5px; line-height: 1.4; color: #4f6680; }
.dz-patitem { position: relative; flex: none; width: 100%; max-width: 104px; }
.dz-patbtn { display: block; width: 100%; padding: 5px; border: 1px solid #c6dcf2; border-radius: 9px; background: #fff; transition: .15s; }
.dz-patbtn:hover:not(:disabled) { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(21, 114, 192, .18); }
.dz-patbtn:disabled { opacity: .5; cursor: not-allowed; }
.dz-patbtn .dz-tn { margin-top: 4px; justify-content: center; gap: 4px; }
.dz-patitem.on .dz-patbtn { border-color: #e5484d; box-shadow: 0 0 0 2px rgba(229, 72, 77, .2); }
.dz-patitem.moved .dz-patbtn { animation: dz-moved 1.1s ease-out; }
.dz-patx { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; display: none; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 15px; line-height: 1; box-shadow: 0 1px 3px rgba(16, 32, 64, .15); }
.dz-patitem:hover .dz-patx, .dz-patx:focus-visible { display: grid; }
.dz-patx:hover { border-color: var(--bad); color: var(--bad); }
@media (hover: none) { .dz-patx { display: grid; } }
.dz-patitem.ask { padding: 5px; border: 1px solid #f2b8bb; border-radius: 9px; background: #fff; }
.dz-patitem.ask .dz-mini { opacity: .45; }
.dz-patask { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--bad); }
.dz-patask button { width: 64px; padding: 3px 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink); }
.dz-patask button.danger { border-color: var(--bad); background: var(--bad); color: #fff; }
@media (max-width: 640px) {
  .dz-stage { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .dz-stage .dz-page, .dz-pat { grid-column: 1; }
  .dz-pat-in { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; max-width: none; }
  .dz-pat-list { flex: none; flex-direction: row; overflow-x: auto; padding: 8px 2px 4px; }
  .dz-patitem { width: 74px; }
}
/* 12/11: οι μικρογραφίες των σελίδων πατρόν τέρμα δεξιά· η καρδιά μένει στη γωνία της σελίδας */
.dz-pat-in { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 8px; max-width: none; }
.dz-pat-in .dz-fav { grid-column: 1; grid-row: 1; }
.dz-pat-in .dz-pat-head { grid-column: 2; grid-row: 1; justify-self: end; align-self: end; text-align: right; }
.dz-pat-in .dz-pat-list { grid-column: 1 / -1; grid-row: 2; justify-self: end; width: min(112px, 100%); align-items: flex-end; padding: 6px 0 6px 6px; }
.dz-pat-in .dz-pat-empty { text-align: right; }
@media (max-width: 640px) {
  .dz-pat-in { display: flex; }
  .dz-pat-in .dz-pat-list { width: 100%; align-items: stretch; }
  .dz-pat-in .dz-pat-empty { text-align: left; }
}
/* 12/11: όσες σελίδες πατρόν θέλεις (κύλιση μέσα στη στήλη, στο ύψος της σελίδας) + μικρός κάδος σε κάθε μικρογραφία */
.dz-pat-in .dz-pat-list { align-self: stretch; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.dz-patx, .dz-patitem:hover .dz-patx { display: grid; top: 4px; right: 4px; width: 24px; height: 24px; border: 1px solid #d3dbe5; color: #5f6b7c; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 2px rgba(16, 32, 64, .12); }
.dz-patx svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dz-patitem .dz-patx:hover { border-color: var(--bad); color: #fff; background: var(--bad); }
@media (max-width: 640px) { .dz-pat-in .dz-pat-list { align-self: auto; } }

/* Φυλλάδιο: μενού με όλα τα επόμενα φυλλάδια + κλειδαριά (12/11/2026) */
.lf-stat { grid-column: span 1; }
.lf-row { display: flex; align-items: center; gap: 8px; }
.lf-sel { flex: 1; min-width: 0; margin: 0 0 0 -4px; padding: 0 22px 0 4px; border: 1px solid transparent; border-radius: 8px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231572c0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 16px; color: var(--ink); font: 700 21px/1.3 "Commissioner", system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.01em; cursor: pointer; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; }
.lf-sel:hover { border-color: #c6dcf2; background-color: #f4f9fe; }
.lf-sel:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 114, 192, .18); }
.lf-sel option { font-size: 15px; font-weight: 600; }
.lf-lock { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid #d3dbe5; border-radius: 50%; background: #fff; color: #5f6b7c; transition: .15s; }
.lf-lock svg { width: 17px; height: 17px; }
button.lf-lock:hover { border-color: var(--blue); color: var(--blue); background: #f2f8fe; }
.lf-lock.on { border-color: #b3261e; background: #b3261e; color: #fff; }
button.lf-lock.on:hover { background: #8f1d17; border-color: #8f1d17; color: #fff; }
.lf-lock.ro { cursor: help; }
.lf-stat.locked { background: #fdf4f3; border-color: #f0c9c5; }
.lf-stat.locked::before { background: #b3261e; }
.lf-on { font-size: 12px !important; font-weight: 700 !important; color: #b3261e; letter-spacing: 0 !important; }
.lf-who { display: block; margin-top: 2px; font-size: 11.5px; color: #8a3b35; }
.lf-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 10px; border-radius: 9px; background: var(--warn-bg); color: #7a4a00; font-size: 12.5px; line-height: 1.35; }
.lf-ask .ghost { padding: 4px 10px; font-size: 12.5px; }
/* Κλειδωμένο: μόνο προβολή */
.dz-ro .dz-page { cursor: default; }
.dz-ro .dz-box { cursor: pointer; }
.dz-ro .dz-page::before { border-color: transparent; }
.dz-ro .dz-help { visibility: hidden; }
.dz-ro-msg { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px; background: #fdf4f3; border: 1px solid #f0c9c5; color: #b3261e; font-size: 13px; font-weight: 700; }
.dz-ro-msg svg { width: 15px; height: 15px; }
.pos-in:disabled { background: #f4f6f9; color: var(--ink); opacity: 1; cursor: not-allowed; }
.note-in[readonly], .n-text.ro { background: #f7f8fa; cursor: not-allowed; }
.auto .stats:has(.lf-stat) { grid-template-columns: minmax(250px, 1.6fr) repeat(auto-fit, minmax(120px, 1fr)); }
@media (max-width: 560px) { .auto .stats:has(.lf-stat) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lf-stat { grid-column: 1 / -1; } }

/* ---------- patron2 (13/11/2026): θέσεις από το Soft1 «σελίδα-πατρόν-κουτάκι», 9 σταθερά πατρόν ---------- */
.dz-fixed .dz-help, .dz-fixed .dz-pat { display: none; }
.dz-fixed .dz-ro-msg { background: #eef5fc; border-color: #c5dcf2; color: var(--blue-d); }
.dz-tpl { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; background: #e30613; color: #fff; font-size: 13px; font-weight: 600; }
.dz-tpl b { font-size: 15px; font-weight: 800; }
.pos-ro { display: inline-block; min-width: 66px; padding: 6px 6px; border: 1px solid #dfe5ec; border-radius: 8px; background: #f7f9fb; font: 700 14px/1.2 "Commissioner", system-ui, sans-serif; text-align: center; font-variant-numeric: tabular-nums; }
.pos-ro.bad { border-color: var(--bad); background: var(--bad-bg); color: var(--bad); }
.pos-err { display: block; margin-top: 3px; max-width: 190px; white-space: normal; color: var(--bad); font-size: 11px; line-height: 1.3; }
.auto-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pull-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 13px; }
.pull-btn svg { width: 15px; height: 15px; }
.pull-wait { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: #eef5fc; color: var(--blue-d); font-weight: 600; }
.pull-wait.late { background: #fff6e8; color: var(--warn); }
.pull-wait .spin { width: 13px; height: 13px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: p2spin .8s linear infinite; }
@keyframes p2spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pull-wait .spin { animation: none; } }
/* Τα 9 πατρόν στην πλαϊνή στήλη: ποιος αριθμός είναι ποια σελίδα */
.tpl-legend h3 { margin: 0; font-size: 16px; font-weight: 700; }
.tpl-legend .sub { margin: 2px 0 12px; color: var(--muted); font-size: 12.5px; }
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tpl-card { position: relative; }
.tpl-card .tpl-no { position: absolute; top: -6px; left: -6px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e30613; color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.tpl-page { position: relative; display: block; aspect-ratio: 595.276 / 822.047; background: #fff; border: 1px solid #d5dde7; border-radius: 3px; }
.tpl-page i { position: absolute; display: grid; place-items: center; border: 1px solid #9fb6cf; background: rgba(21, 114, 192, .07); border-radius: 1px; font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--blue-d); }
