/* Πρόγραμμα εργασίας v2 — Κίνηση σε όλη την εφαρμογή + σελίδα σύνδεσης «Μπλε δίπτυχο» (v41)
   Κανόνας: κινούνται μόνο transform / opacity (κάρτα γραφικών) → ομαλά καρέ και σε οθόνες 120–240 Hz.
   Φορτώνεται τελευταίο· όλα σβήνουν με τη ρύθμιση συστήματος «λιγότερη κίνηση» (τέλος αρχείου). */

:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);          /* γρήγορο ξεκίνημα, μαλακό φρενάρισμα */
  --ease: var(--ease-out);
  --spring: cubic-bezier(.3, 1.3, .5, 1);           /* μικρή αναπήδηση */
  --dur-in: 340ms; --dur-out: 200ms;
  --press-release: scale 460ms var(--spring);
}

/* ── Κουμπιά: πάτημα που «βουλιάζει» και αναπηδά, ανασήκωμα στο ποντίκι ── */
.btn { transition: background .2s, border-color .2s, color .2s, box-shadow .3s var(--ease-out), translate .3s var(--ease-out), var(--press-release); }
.btn .ic { transition: translate .3s var(--spring), rotate .4s var(--spring), scale .3s var(--spring); }
@media (prefers-reduced-motion: no-preference) {
  :is(button, a.btn):not(:disabled, [aria-disabled="true"]):active { scale: .95; transition: scale 80ms ease-out; }
  .btn.lg:not(:disabled):active { scale: .97; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:not(:disabled):hover { translate: 0 -1px; box-shadow: var(--shadow-2); }
  .btn.primary:not(:disabled):hover { box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--primary) 65%, transparent); }
  .btn.ghost:not(:disabled):hover, .side-btns .btn:hover { translate: none; box-shadow: none; }
  .btn:hover .ic { scale: 1.1; }
  .icon-btn .ic { transition: scale .3s var(--spring), rotate .4s var(--spring); }
  .icon-btn:hover .ic { scale: 1.14; }
  .row .row-c .ic, .today-requests .ic:last-child { transition: translate .3s var(--spring); }
  .row:hover .row-c .ic { translate: 4px 0; }
  .card { transition: box-shadow .3s var(--ease-out), border-color .2s; }
  .kpi, .cal-c, .req { transition: box-shadow .3s var(--ease-out), translate .3s var(--ease-out), border-color .2s, background .2s; }
  button.kpi:hover, .cal-c:hover { translate: 0 -2px; box-shadow: var(--shadow-2); }
}

/* ── Επιλογές (χάπια): το φόντο της επιλεγμένης γλιστράει (js/ui/motion.js) ── */
.seg, .hero-stats, .side-nav, .tabbar { position: relative; }
.tabbar { position: fixed; }
.m-ink { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-1); will-change: transform; }
.m-ink-on > :not(.m-ink) { position: relative; z-index: 1; }
.seg.m-ink-on > button.on { background: transparent; box-shadow: none; }
.seg button { transition: color .25s, var(--press-release); }
.hero-stats .m-ink { border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(0, 10, 60, .25); }
.hero-stats.m-ink-on > .hero-stat.on { background: transparent; }
.hero-stat { transition: color .25s, background .2s, var(--press-release); }
.side-nav .m-ink { border-radius: 14px; background: var(--primary-soft); box-shadow: none; }
.side-nav.m-ink-on > .side-i.on { background: transparent; }
.tabbar .m-ink { border-radius: 16px; background: var(--primary-soft); box-shadow: none; }
.tabbar.m-ink-on .tab-i.on .nav-ic { background: transparent; }
.tab-i, .side-i { transition: color .25s, background .2s, var(--press-release); }
@media (min-width: 1100px) {
  .side-nav .m-ink::before { content: ''; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }
  .side-nav.m-ink-on > .side-i.on::before { display: none; }
}
/* Επιλογές που αλλάζουν επί τόπου: ομαλό πέρασμα χρώματος */
.pick-p, .tag, .type, .mini-g button, .dm-emp, .emp-shop-b button { transition: background .25s, border-color .25s, color .25s, box-shadow .25s, var(--press-release); }

/* ── Σελίδες: μπαίνουν με ελαφρύ ανέβασμα, τα κομμάτια η μία μετά την άλλη ── */
.page > .page-enter { animation: none; }
.page > .page-enter > * { animation: m-rise 480ms var(--ease-out) backwards; }
.page > .page-enter > :nth-child(2) { animation-delay: 45ms; }
.page > .page-enter > :nth-child(3) { animation-delay: 90ms; }
.page > .page-enter > :nth-child(4) { animation-delay: 135ms; }
.page > .page-enter > :nth-child(5) { animation-delay: 180ms; }
.page > .page-enter > :nth-child(n+6) { animation-delay: 220ms; }
.page-enter :is(.today-layout, .grid, .cols, .stack) > * { animation: m-rise 520ms var(--ease-out) backwards; }
.page-enter :is(.today-layout, .grid, .cols, .stack) > :nth-child(2) { animation-delay: 70ms; }
.page-enter :is(.today-layout, .grid, .cols, .stack) > :nth-child(3) { animation-delay: 140ms; }
.page-enter :is(.today-layout, .grid, .cols, .stack) > :nth-child(n+4) { animation-delay: 200ms; }
@keyframes m-rise { from { opacity: 0; translate: 0 14px; } }
@keyframes row-enter { from { opacity: 0; translate: 0 8px; } }
.page-enter .tile, .modal-back.show .modal-b .tile { animation: m-pop 560ms var(--spring) 120ms backwards; }
@keyframes m-pop { from { opacity: 0; scale: .6; } }
.badge { animation: m-pop 420ms var(--spring) backwards; }
.ring-fg, .prog i { transition-duration: 900ms; }
@starting-style { .prog i { width: 0 !important; } }

/* ── Παράθυρα ── */
:is(.modal-back, .dialog-back).show > :is(.modal, .dialog, .pinpad) { transition: transform 420ms var(--spring); }
.modal, .dialog, .pinpad { transform: translateY(14px) scale(.94); }
@starting-style { :is(.modal-back, .dialog-back).show > :is(.modal, .dialog, .pinpad) { transform: translateY(14px) scale(.94); } }
.modal-back.show .modal-b { animation: m-rise 420ms var(--ease-out) 60ms backwards; }
@media (max-width: 640px) {
  /* Κινητό: το παράθυρο ανεβαίνει ολόκληρο από κάτω και «κάθεται» μαλακά */
  .modal, .dialog-back > .dialog { transform: translateY(100%); }
  :is(.modal-back, .dialog-back).show > :is(.modal, .dialog) { transition: transform 460ms var(--ease-out); }
  @starting-style { :is(.modal-back, .dialog-back).show > :is(.modal, .dialog) { transform: translateY(100%); } }
}
/* Αναδυόμενα μενού */
.pop, .menu { animation-duration: 300ms; animation-timing-function: var(--spring); }

/* ── Μηνύματα κάτω ── */
.toast.show { transition-duration: 440ms; transition-timing-function: var(--spring); }
.toast .msg-icon { animation: m-pop 500ms var(--spring) 80ms backwards; }

/* ── Πεδία ── */
input, select, textarea { transition: border-color .2s, box-shadow .25s var(--ease-out), background .2s; }
input[type="checkbox"] { transition: scale .3s var(--spring); }
input[type="checkbox"]:active { scale: .85; }

/* ── Ανοίγματα / αλλαγή βήματος ── */
#emailBox:not([hidden]), .login-card form:not([hidden]) { animation: m-rise 420ms var(--ease-out); }

/* ═══ Σελίδα σύνδεσης «Μπλε δίπτυχο» ═══ */
.login.lb { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0; min-height: 100dvh; background: linear-gradient(#0025d4 50%, var(--surface) 50%); }
.has-testbar .login.lb { min-height: calc(100dvh - 48px); }
.lb-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, #0a3fe6 0%, #0025d4 75%);
  padding: max(56px, calc(env(safe-area-inset-top) + 40px)) 28px 66px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.lb-hero > :not(.lb-art) { position: relative; }
/* Το εικονίδιο χωρίς «κόψιμο» (overflow) — οι γωνίες στρογγυλεύουν πάνω στην ίδια την εικόνα (ασφαλές και στο iPhone) */
.lb-hero .logo { margin-bottom: 14px; overflow: visible; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 10px 26px rgba(0, 10, 80, .4); }
.lb-hero .logo > img { border-radius: inherit; }
html:has(.login.lb), body:has(.login.lb) { background: #0a3fe6; }
.lb-hero h1 { color: #fff; font-size: clamp(2.1rem, 10vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; max-width: 320px; }
.lb-hero p { color: #dbe6ff; }
.lb-art { position: absolute; width: 260px; right: -96px; top: -64px; color: rgba(255, 255, 255, .2); pointer-events: none; }
.lb-hand { transform-origin: 130px 130px; animation: lb-tick 60s linear infinite; }
@keyframes lb-tick { to { transform: rotate(360deg); } }
.lb-side { flex: 1; display: flex; flex-direction: column; position: relative; margin-top: -26px; background: var(--surface); border-radius: 26px 26px 0 0; }
.login-card.lb-sheet { width: 100%; max-width: 460px; margin: 0 auto; padding: 34px 24px 20px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.lb .login-or .link { display: inline-flex; align-items: center; gap: 4px; }
.lb .login-or .ic { transition: rotate .35s var(--spring); }
.lb .login-or [aria-expanded="true"] .ic { rotate: 180deg; }
.lb .login-foot { margin-top: auto; text-align: center; padding: 14px 16px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .login.lb { display: grid; grid-template-columns: minmax(360px, 46%) 1fr; }
  .lb-hero { justify-content: center; padding: 64px clamp(40px, 5vw, 84px); }
  .lb-hero h1 { font-size: 3.3rem; max-width: 420px; }
  .lb-art { width: 440px; right: -160px; top: auto; bottom: -180px; }
  .lb-side { margin: 0; border-radius: 0; }
  .login-card.lb-sheet { margin: auto auto 0; max-width: 440px; padding: 40px 40px 24px; }
  .lb .login-foot { border-top: 0; }
}
/* Είσοδος της σελίδας σύνδεσης */
.lb-hero .logo { animation: m-rise 560ms var(--ease-out) 60ms backwards; }
.lb-hero h1 { animation: m-rise 620ms var(--ease-out) 160ms backwards; }
.lb-hero p { animation: m-rise 620ms var(--ease-out) 230ms backwards; }
.lb-art { animation: lb-art 1400ms var(--ease-out) backwards; }
@keyframes lb-art { from { opacity: 0; rotate: -25deg; scale: .85; } }
.lb-side { animation: lb-sheet 640ms var(--ease-out) 60ms backwards; }
@keyframes lb-sheet { from { translate: 0 60px; } }   /* χωρίς διαφάνεια: όχι «ξεθωριασμένη» λωρίδα πάνω στο μπλε */
@media (min-width: 900px) { @keyframes lb-sheet { from { translate: 40px 0; opacity: 0; } } }

/* ── Λιγότερη κίνηση (ρύθμιση συστήματος): όλα στατικά ── */
@media (prefers-reduced-motion: reduce) {
  :root { --dur-in: 0ms; --dur-out: 0ms; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Σύνδεση: το κύριο κουμπί στο ίδιο μπλε με το πάνελ και το εικονίδιο */
.login.lb .btn.primary { background: #0a3fe6; border-color: #0a3fe6; color: #fff; }
.login.lb .btn.primary:hover { background: #0025d4; border-color: #0025d4; }

/* v42: το μεγάλο λογότυπο (.logo.lg) έπαιρνε κατά λάθος το περιθώριο της λίστας «.lg» → η εικόνα κοβόταν αριστερά-δεξιά */
.logo.lg { padding: 0; margin: 0; list-style: none; }
.lb-hero .logo.lg { margin-bottom: 14px; }

/* v42: κωδικός SMS — ένα κουτάκι ανά ψηφίο */
.otp { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none !important;
  color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 0; -webkit-text-fill-color: transparent; }
.otp input::selection { background: transparent; }
.otp i { display: grid; place-items: center; height: 58px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--ink);
  font-style: normal; font-size: 1.55rem; font-weight: 650; font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .25s var(--ease-out), background .2s; }
.otp i.f { border-color: color-mix(in srgb, var(--primary) 45%, var(--line-2)); background: color-mix(in srgb, var(--primary) 5%, var(--surface)); animation: m-pop 380ms var(--spring); }
.otp:focus-within i.cur { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.otp:focus-within i.cur:empty::after { content: ''; width: 2px; height: 26px; border-radius: 1px; background: var(--primary); animation: otp-blink 1s steps(2, jump-none) infinite; }
@keyframes otp-blink { 50% { opacity: 0; } }
@media (max-width: 360px) { .otp { gap: 6px; } .otp i { height: 52px; font-size: 1.35rem; } }

/* ═══ v48: Οθόνη ανοίγματος «Στοίβα καρτών» (επιλογή Α) — ίδια σε iPhone και Android ═══
   Δύο κάρτες γλιστρούν από τα πλάγια, το εικονίδιο «κάθεται» πάνω τους με ελατήριο· μετά ήρεμη «ανάσα» όσο φορτώνει. */
#splash { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: var(--bg); }
.sp { position: relative; width: 150px; height: 132px; display: grid; place-items: center; transition: scale .4s var(--ease-out); }
#splash.hide .sp { scale: 1.12; }
.sp-leaf { position: absolute; width: 90px; height: 90px; border-radius: 22px; background: var(--surface-3); border: 1.5px solid color-mix(in srgb, var(--primary) 35%, transparent);
  transform: translate(-16px, -4px) rotate(-12deg); animation: sp-left 640ms var(--ease-out) backwards, sp-float 3.2s ease-in-out 700ms infinite alternate; }
.sp-leaf.r { transform: translate(15px, -2px) rotate(10deg); animation: sp-right 640ms var(--ease-out) backwards, sp-float 3.2s ease-in-out 900ms infinite alternate-reverse; }
@keyframes sp-left { from { transform: translate(-70px, 12px) rotate(-28deg); opacity: 0; } }
@keyframes sp-right { from { transform: translate(68px, 10px) rotate(24deg); opacity: 0; } }
@keyframes sp-float { from { translate: 0 2px; } to { translate: 0 -3px; } }
#splash .sp-logo { position: relative; width: 84px; height: 84px; border-radius: 24px; box-shadow: 0 16px 34px -10px rgba(0, 37, 212, .6);
  animation: sp-seat 720ms var(--spring) 100ms backwards, sp-breathe 2.6s ease-in-out 900ms infinite; }
@keyframes sp-seat { from { transform: translateY(18px) scale(.9); opacity: 0; } }
@keyframes sp-breathe { 50% { scale: 1.04; } }
.sp-name { margin: 0; color: var(--ink); font-weight: 650; font-size: 1.08rem; letter-spacing: -.01em; animation: m-rise 560ms var(--ease-out) 180ms backwards; }

/* ═══ v44: Ζωντανά εικονίδια στη σύνδεση ═══ */
/* Εικονίδιο μέσα στο πεδίο: γκρι → μπλε με μικρό «σκίρτημα» όταν γράφετε */
.in-ic { position: relative; display: block; }
.in-ic > .ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; z-index: 1; color: var(--faint); pointer-events: none; transition: color .25s; }
.in-ic > input { padding-left: 44px; }
.in-ic:focus-within > .ic { color: var(--primary); animation: ic-wiggle 620ms var(--spring); }
.in-ic:has(input[type="tel"]):focus-within > .ic { animation: ic-ring 700ms ease-in-out; }
@keyframes ic-wiggle { 0% { scale: .7; } 55% { scale: 1.15; } 100% { scale: 1; } }
@keyframes ic-ring { 0%, 100% { rotate: 0deg; } 15% { rotate: -16deg; } 30% { rotate: 14deg; } 45% { rotate: -10deg; } 60% { rotate: 6deg; } 75% { rotate: -2deg; } }
.login-pass.in-ic .icon-btn { z-index: 2; }
/* Κουμπί αποστολής: το αεροπλανάκι κινείται στο ποντίκι και «πετά» όσο στέλνεται */
.b-send .ic, .b-go .ic { transition: translate .35s var(--spring), rotate .35s var(--spring); }
@media (hover: hover) { .b-send:hover .ic { translate: 3px -2px; rotate: -8deg; } .b-go:hover .ic { translate: 4px 0; } }
.b-send.busy .ic { animation: ic-fly 1s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes ic-fly { 0% { translate: 0 0; opacity: 1; } 45% { translate: 22px -10px; opacity: 0; } 46% { translate: -18px 8px; opacity: 0; } 100% { translate: 0 0; opacity: 1; } }
.b-go.busy .ic { animation: ic-go .9s ease-in-out infinite; }
@keyframes ic-go { 50% { translate: 6px 0; } }
.btn.busy { cursor: progress; }
/* «Στείλαμε κωδικό»: φούσκα μηνύματος με τελίτσες που «γράφουν» */
.lb-sent { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--primary-soft); }
.lb-sent .note { margin: 0; color: var(--ink); }
.lb-sent-ic { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--primary); box-shadow: var(--shadow-1); animation: m-pop 600ms var(--spring) backwards; }
.lb-sent-ic i { position: absolute; top: 15px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; animation: ic-dot 1.2s ease-in-out infinite; }
.lb-sent-ic i:nth-of-type(1) { left: 15px; } .lb-sent-ic i:nth-of-type(2) { left: 19px; animation-delay: .15s; } .lb-sent-ic i:nth-of-type(3) { left: 23px; animation-delay: .3s; }
@keyframes ic-dot { 0%, 60%, 100% { translate: 0 0; opacity: .45; } 30% { translate: 0 -3px; opacity: 1; } }
/* Σημείωση reCAPTCHA (αντί για το εικονίδιο κάτω δεξιά — η Google το επιτρέπει μόνο με αυτή τη σημείωση) */
.grecaptcha-badge { visibility: hidden !important; }
.lb-rc { display: block; margin-top: 6px; font-size: .72rem; color: var(--faint); }
.lb-rc a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Αλλαγή θέματος: ομαλό σβήσιμο-άναμμα της οθόνης */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: var(--ease-out); }

/* ═══ v45: Πρόγραμμα υπαλλήλου — κουτάκι «Χτυπήματα» δεξιά από τις ώρες της ημέρας ═══ */
.mcal-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mcal-d h3 .dp-h { flex: 1; min-width: 0; }
/* v47: εικονίδιο «Χτυπήματα» δίπλα στην ημερομηνία → ανοίγει τη λίστα */
.dp-btn { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 11px 0 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--primary); font: inherit; font-size: .86rem; cursor: pointer; box-shadow: var(--shadow-1); animation: m-pop 420ms var(--spring) backwards; }
.dp-btn b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dp-btn.dp-err { position: relative; }
.dp-btn.dp-err::after { content: ""; position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid var(--surface-2); }
.dpunch ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dpunch li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--line); line-height: 1.3; animation: m-rise 380ms var(--ease-out) backwards; }
.dpunch li:first-child { border-top: 0; }
.dpunch li:nth-child(2) { animation-delay: 40ms; } .dpunch li:nth-child(3) { animation-delay: 80ms; } .dpunch li:nth-child(4) { animation-delay: 120ms; } .dpunch li:nth-child(n+5) { animation-delay: 160ms; }
.dpunch li .ic { flex: none; margin-top: 2px; color: var(--primary); }
.dpunch li.out .ic { color: var(--navy); }
:root[data-theme="dark"] .dpunch li.out .ic { color: var(--muted); }
.dpunch .dp-t { display: flex; flex-direction: column; min-width: 0; color: var(--muted); }
.dpunch .dp-l b { font-size: 1.02rem; margin-right: 4px; color: var(--ink); font-variant-numeric: tabular-nums; }
.dpunch small { font-size: .76rem; color: var(--primary-strong); font-weight: 600; }
.dpunch li.x .ic { color: var(--faint); }
.dpunch li.x .dp-l b { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.dp-n { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.dp-sum { font-size: .84rem; margin-top: -2px; }

/* ═══ v46: όπως εφαρμογή — χωρίς επιλογή λέξεων και χωρίς μεγέθυνση ═══ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img, svg { -webkit-user-drag: none; }
/* Στο iPhone ένα πεδίο με γράμματα < 16px κάνει μόνο του μεγέθυνση όταν το πατάτε */
@media (max-width: 900px) { input, select, textarea { font-size: max(16px, 1em); } }

/* Κινητό: ένα κουμπί με μεγάλο κείμενο δεν βγαίνει έξω από την οθόνη — σπάει σε δύο γραμμές */
@media (max-width: 640px) { .btn { max-width: 100%; } .btn:not(.sm) { white-space: normal; text-align: center; line-height: 1.25; } }

/* ═══ v51: Πρόγραμμα υπαλλήλου — Εβδομάδα «Γραμμή» (1Γ), Άδειες «Λεπτή σειρά» (2Α), Σύνοψη «Λήψη στην κεφαλίδα» (3Γ) ═══ */
.wk-tl .tl { list-style: none; margin: 10px 18px 0; padding: 0; }
.wk-tl .tl li { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; align-items: center; margin-left: 6px; padding: 9px 10px 9px 20px; animation: m-rise 380ms var(--ease-out) backwards; }
.wk-tl .tl li:nth-child(2) { animation-delay: 30ms; } .wk-tl .tl li:nth-child(3) { animation-delay: 60ms; } .wk-tl .tl li:nth-child(4) { animation-delay: 90ms; }
.wk-tl .tl li:nth-child(5) { animation-delay: 120ms; } .wk-tl .tl li:nth-child(6) { animation-delay: 150ms; } .wk-tl .tl li:nth-child(7) { animation-delay: 180ms; }
.wk-tl .tl li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1.5px solid var(--line-2); }
.wk-tl .tl li:first-child::before { top: 50%; } .wk-tl .tl li:last-child::before { bottom: 50%; }
.wk-tl .tl li::after { content: ""; position: absolute; left: -4px; top: calc(50% - 4.5px); width: 9px; height: 9px; box-sizing: border-box; border: 1.5px solid color-mix(in srgb, var(--primary) 55%, var(--line-2)); background: var(--surface); border-radius: 50%; }
.wk-tl .tl li.today { background: var(--primary-soft); border-radius: 0 10px 10px 0; }
.wk-tl .tl li.today::after { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.tl-d { font-size: .84rem; color: var(--muted); white-space: nowrap; } .tl-d b { color: var(--ink); font-size: .92rem; }
.wk-tl .tl li.today .tl-d b { color: var(--primary-strong); }
.tl-e { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--muted); font-size: .9rem; }
.tl-s time { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-s small { display: block; font-size: .74rem; color: var(--muted); }
.tl-f { margin: 6px 18px 0; padding: 0 0 14px; font-size: .82rem; color: var(--muted); } .tl-f b { font-weight: 600; color: var(--ink); }

.ms3 { display: flex; flex-direction: column; gap: 14px; }
.ms3-h { display: flex; align-items: center; gap: 10px; } .ms3-h h2 { flex: 1; min-width: 0; }
.ms3-pdf { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 11px; background: var(--primary-soft); color: var(--primary-strong); cursor: pointer; }
.ms3-m { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.1fr); margin: 0; }
.ms3-m > div { display: flex; flex-direction: column; min-width: 0; padding-top: 8px; border-top: 2px solid var(--line-2); }
.ms3-m dd { order: -1; }
.ms3-m > div + div { padding-left: 8px; }
.ms3-m > div.h { border-color: var(--primary); }
.ms3-m dt { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms3-m dd { margin: 0; font-size: 1.5rem; font-weight: 650; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.ms3-m > div.h dd { color: var(--primary-strong); }
@media (max-width: 380px) { .ms3-m dd { font-size: 1.25rem; } .ms3-m dt { font-size: .7rem; } .wk-tl .tl li { grid-template-columns: 74px minmax(0, 1fr); } }

/* v52: Οθόνη PIN — ζωντανή είσοδος, τελείες που «γεμίζουν», τρέμουλο στο λάθος, ✓ και ομαλή είσοδος στην εφαρμογή */
.lockpad .pin-dots i { transition: background .18s, border-color .18s; }
.lock-ok .lock-badge { background: var(--primary); }
@media (prefers-reduced-motion: no-preference) {
  .lockpad .pin-dots i.on { animation: pin-fill 340ms var(--spring); }
  @keyframes pin-fill { 0% { scale: .45; } 60% { scale: 1.25; } 100% { scale: 1; } }
  .lockpad .pin-dots.no { animation: pin-no 440ms cubic-bezier(.36, .07, .19, .97); }
  @keyframes pin-no { 15%, 85% { translate: -3px 0; } 30%, 70% { translate: 7px 0; } 45% { translate: -9px 0; } 60% { translate: 9px 0; } }
  .lock-in .lock-av { animation: m-pop 560ms var(--spring) backwards; }
  .lock-in .lock-badge { animation: m-pop 460ms var(--spring) 300ms backwards; }
  .lock-in .lock-who > :not(.lock-av), .lock-in :is(.lock-t, .lock-s, .pin-dots) { animation: m-rise 480ms var(--ease-out) 120ms backwards; }
  .lock-in .pin-keys > * { animation: m-rise 420ms var(--ease-out) backwards; animation-delay: calc(170ms + var(--i, 0) * 22ms); }
  .lock-in .lockpad > .btn { animation: m-rise 420ms var(--ease-out) 460ms backwards; }
  body[data-from="login"] .lock-in { animation: lock-bg 700ms var(--ease-out) backwards; }
  @keyframes lock-bg { from { background-color: #0a3fe6; } }
  body[data-from="login"] .lock-in .lockpad { animation: m-rise 560ms var(--ease-out) 80ms backwards; }
  .lock-step :is(.lock-t, .lock-s) { animation: lock-step 420ms var(--ease-out) backwards; }
  .lock-step .pin-dots { animation: m-pop 420ms var(--spring) 80ms backwards; }
  @keyframes lock-step { from { opacity: 0; translate: 26px 0; } }
  .lock-ok .pin-dots i { animation: pin-ok 420ms var(--spring) backwards; }
  .lock-ok .pin-dots i:nth-child(2) { animation-delay: 50ms; } .lock-ok .pin-dots i:nth-child(3) { animation-delay: 100ms; } .lock-ok .pin-dots i:nth-child(4) { animation-delay: 150ms; }
  @keyframes pin-ok { 50% { scale: 1.5; } }
  .lock-ok .lock-badge { animation: ic-wiggle 440ms var(--spring); }
  .lock-ok .lockpad { animation: lock-out 240ms ease-in 300ms forwards; }
  @keyframes lock-out { to { opacity: 0; scale: .96; translate: 0 -8px; } }
  .app.app-in { animation: app-in 520ms var(--ease-out) backwards; }
  @keyframes app-in { from { opacity: 0; scale: .985; } }
}
