/* Ergon portal κινητού — V3 τελικό (16/11/2026).
   Ζεστό γκρι φόντο, charcoal κεφαλίδα, slate για ενέργειες, κάρτες 20px με σκιά και λωρίδα 5px αριστερά, χάπια παντού.
   Ομάδες = ΔΕΝΤΡΟ (μία κεφαλίδα ανά επίπεδο, κάρτες πάντα σε όλο το πλάτος), κάτω μπάρα πλοήγησης, φύλλο «Φίλτρα»,
   η εργασία ανοιχτή με χρωματιστά κουτιά. Μεγέθη: ο πίνακας της ενότητας 2 του οδηγού — ΔΕΝ μεγαλώνουν:
   κεφαλίδα 56 · πεδία / αναζήτηση / «Φίλτρα» 46 · κύρια κουμπιά 50 · «○ Έγινε» 52 · χάπια 40 · πλακίδια ημέρας 56 ·
   κείμενο 15 · τίτλος κάρτας 18 · στοιχεία 15 · κεφαλίδες δέντρου 40 / 30 · κάρτα 12 12 12 14. */
:root {
  --bg: #F5F5F3; --card: #FFFFFF; --sunken: #EFEFEC;
  --charcoal: #2B2F36; --charcoal-2: #4A5059; --ink: #23272E; --ink-2: #5F646C; --on-dark-2: #B5B8BD;
  --line: #CFCFCB; --line-soft: #E0E0DC; --border: #DCDCD7; --border-soft: #E4E4E0;
  --action: #3E5C76; --action-soft: #E8EDF1; --action-ink: #2E4659;
  --urgent: #B03A2E; --urgent-soft: #F7E6E3; --done: #2F6B4F; --done-soft: #E4F0E9; --done-ink: #1F5A3A;
  --note-line: #C9A43A; --note-soft: #FBF6E6; --note-tag: #F6EDCB; --note-ink: #6B5A1E; --office: #EEF1F3;
  --viber: #7360F2; --track: #EAEAE6; --dash: #AEB8C0; --mute-ic: #A6A9AD;
  --r-card: 20px; --r-tile: 18px; --r-input: 16px; --r-pill: 999px;
  --shadow-card: 0 1px 3px rgba(35,39,46,.04), 0 10px 32px -6px rgba(35,39,46,.13);
  --shadow-pop: 0 14px 40px rgba(35,39,46,.18);
  --top-h: 56px; --bnav-h: 72px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; color-scheme: light only; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--action); } a:hover { color: var(--action-ink); }
button, input, select, textarea { font-family: inherit; }
svg.ic { flex-shrink: 0; }
.wrap { max-width: 640px; margin: 0 auto; padding: 14px 12px calc(28px + var(--bnav-h) + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
body.no-bnav .wrap { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Κορυφή: charcoal 56px — αρχικά, όνομα, ρόλος, καμπανάκι, Έξοδος ── */
.top { position: sticky; top: 0; z-index: 10; background: var(--charcoal); color: #fff; padding: 0 12px 0 16px; padding-top: env(safe-area-inset-top); min-height: calc(var(--top-h) + env(safe-area-inset-top)); display: flex; align-items: center; }
.top-in { max-width: 640px; margin: 0 auto; width: 100%; min-height: var(--top-h); display: flex; align-items: center; gap: 10px; }
.top .av { width: 40px; height: 40px; border-radius: 999px; background: var(--charcoal-2); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.who b { font-size: 16px; font-weight: 700; line-height: 1.2; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who span { font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .bell, .top .out { height: 40px; padding: 0 12px; border: 1px solid #4A4E56; border-radius: 999px; background: transparent; color: #fff; font: 600 15px Inter, sans-serif; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; cursor: pointer; flex: none; }
.top .bell { width: 44px; padding: 0; justify-content: center; }
.top .bell.on { background: #fff; color: var(--charcoal); border-color: #fff; }
.top form { flex: none; display: flex; }
@media (max-width: 360px) { .top .out span { display: none; } .top .out { width: 44px; padding: 0; justify-content: center; } }

/* ── Μικρές ετικέτες, καταστάσεις, κενά ── */
.lab { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--action); padding: 0 4px; }
.status, .hint-i { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.empty { text-align: center; color: var(--ink-2); padding: 22px 12px; font-size: 15px; font-style: italic; }
.empty.sm { padding: 2px 8px; }
.page-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px; }
.page-h h1 { margin: 0; font-size: 20px; font-weight: 700; }
.page-h span { font-size: 15px; color: var(--ink-2); }
.bar-h { margin: 10px 4px 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.sec { display: flex; flex-direction: column; gap: 12px; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 15px; font-weight: 600; color: var(--action); text-decoration: none; padding: 0 4px; align-self: flex-start; }

/* ── Επισκέψεις: ετικέτα + πλακίδια που κυλούν στο πλάι ── */
.visits { display: flex; flex-direction: column; gap: 6px; }
.visit-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.visit-row::-webkit-scrollbar { display: none; }
.visit { flex: none; min-height: 52px; padding: 8px 12px; border: 1px solid #D6DCE0; border-radius: var(--r-tile); background: #fff; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; max-width: 86vw; }
.visit b { font-size: 15px; font-weight: 700; }
.visit span { font-size: 15px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.visit small { font-size: 13px; color: var(--ink-2); white-space: normal; }
.visit.none { border-style: dashed; border-color: var(--dash); background: transparent; color: var(--ink-2); font-size: 15px; }

/* ── Αναζήτηση (ΕΝΑ χάπι: το πεδίο μέσα του είναι αόρατο) + «Φίλτρα» ── */
.srow { display: flex; gap: 8px; align-items: flex-start; }
.spill { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--border); border-radius: 999px; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--ink-2); }
.spill:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--action-soft); }
.spill input[type=search] { flex: 1; min-width: 0; width: auto; height: 100%; min-height: 0; border: 0; outline: 0; background: transparent; box-shadow: none; border-radius: 0; padding: 0; -webkit-appearance: none; appearance: none; font: 400 15px Inter, sans-serif; color: var(--ink); }
.spill input::-webkit-search-decoration, .spill input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fsheet { position: static; flex: none; }
.fsheet > summary { list-style: none; height: 46px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px Inter, sans-serif; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.fsheet > summary::-webkit-details-marker, .callsheet > summary::-webkit-details-marker { display: none; }
.fsheet[open] > summary { background: var(--action-soft); border-color: var(--dash); }
.fcnt { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--action); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
/* το φύλλο που ανεβαίνει από κάτω (φίλτρα, «Κλήση <όνομα>») */
.fs-back { position: fixed; inset: 0; z-index: 40; background: rgba(35,39,46,.45); cursor: pointer; }
.fs-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 28px 28px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -8px 24px rgba(35,39,46,.15); max-width: 640px; margin: 0 auto; }
.fs-grip { align-self: center; width: 44px; height: 5px; border-radius: 999px; background: var(--border); flex: none; }
.fs-h { font-size: 18px; font-weight: 700; margin: 0; }
.fs-sec { display: flex; align-items: center; gap: 10px; margin: 0; scroll-margin-top: 12px; }
.fs-sec::before, .fs-sec::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fs-sec span { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal-2); white-space: nowrap; }
.facets { display: flex; flex-wrap: wrap; gap: 6px; }
.facet { min-height: 40px; padding: 0 4px 0 14px; border-radius: 999px; background: var(--track); color: var(--ink); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
.facet.grp { background: var(--action-soft); color: var(--action-ink); }
.facet a { width: 36px; height: 36px; border-radius: 999px; color: inherit; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex: none; }
.facet > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gopts { display: flex; flex-direction: column; gap: 6px; }
.gopt { min-height: 50px; padding: 0 16px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; color: var(--ink); font: 500 16px Inter, sans-serif; display: flex; align-items: center; gap: 12px; text-align: left; text-decoration: none; cursor: pointer; }
.gopt:hover { color: var(--ink); }
.gopt.on { background: var(--action-soft); border-color: var(--dash); }
.gopt span { flex: 1; }
.gopt i { width: 30px; height: 30px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: #fff; font: 700 14px Inter, sans-serif; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gopt.on i { background: var(--charcoal); border-color: var(--charcoal); }
.fopts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.fopt { position: relative; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px Inter, sans-serif; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.fopt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fopt b { font-weight: 500; opacity: .8; }
.fopt:has(input:checked) { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.fopt:has(input:checked) > span::before { content: "✓ "; }
.fopt:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.fs-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.fs-foot .btn.ghost { border-color: var(--border-soft); }
.fs-foot .btn { gap: 0; } .fs-foot .btn b { font-weight: 600; }

/* μπάρα «Ομάδες»: 1 Έργο › 2 Διαμέρισμα › 3 Χώρος  (+) — κυλά στο πλάι, ποτέ δεν σπάει */
.groupbar { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin: 0 -12px; padding: 0 12px 2px; scrollbar-width: none; }
.groupbar::-webkit-scrollbar { display: none; }
.groupbar .lbl { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-right: 2px; flex-shrink: 0; }
.groupbar .chip { height: 36px; padding: 0 11px 0 5px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--ink); display: inline-flex; align-items: center; gap: 5px; font: 600 14px Inter, sans-serif; white-space: nowrap; flex-shrink: 0; cursor: pointer; }
.groupbar .num { width: 24px; height: 24px; border-radius: 999px; background: var(--charcoal); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.groupbar .sep { color: var(--mute-ic); font-size: 15px; flex-shrink: 0; }
.groupbar .add { width: 36px; height: 36px; padding: 0; border: 1px dashed var(--dash); border-radius: 999px; background: transparent; color: var(--action); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; }

/* ── Μηνύματα ── */
.flash { padding: 10px 14px; border-radius: var(--r-input); font-size: 15px; font-weight: 500; line-height: 1.35; display: flex; align-items: center; gap: 10px; background: #fff; box-shadow: var(--shadow-card); }
.flash svg { width: 20px; height: 20px; }
.flash.ok { background: var(--done-soft); color: var(--done-ink); box-shadow: none; }
.flash.error { background: var(--urgent-soft); color: var(--urgent); box-shadow: none; }

/* ── ΔΕΝΤΡΟ ομάδων (17/11): πλαίσια μέσα σε πλαίσια, μόνο αποχρώσεις του γκρι — Έργο σκούρο γκρι → Διαμέρισμα
   ανοιχτό γκρι → Χώρος λευκό (και μετά ξανά ανοιχτό / λευκό). Οι κάρτες μέσα στο πλαίσιο της ομάδας τους. ── */
.tree { display: flex; flex-direction: column; gap: 10px; }
.grp { --g-bg: #E3E5E8; --g-bd: #C6CAD0; --g-ink: #2B2F35; background: var(--g-bg); border: 1.5px solid var(--g-bd); border-radius: 18px; }
.grp .grp { --g-bg: #F1F2F4; --g-bd: #D8DBDF; --g-ink: #3F444B; border-radius: 16px; }
.grp .grp .grp { --g-bg: #FFFFFF; --g-bd: #E1E3E6; --g-ink: #4A4F57; border-radius: 14px; }
.grp .grp .grp .grp { --g-bg: #F1F2F4; --g-bd: #D8DBDF; }
.grp .grp .grp .grp .grp { --g-bg: #FFFFFF; --g-bd: #E1E3E6; }
.grp-body { display: flex; flex-direction: column; gap: 8px; padding: 0 6px 6px; }
.grp-body[hidden] { display: none; }
.grp[data-d="0"] > .grp-body { padding: 0 8px 8px; }
.tr-h { padding: 9px 10px; color: var(--g-ink); }
.grp[data-d="0"] > .tr-h { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 3; padding: 10px 12px; background: var(--g-bg); border-radius: 17px 17px 0 0; }
.grp > .tr-h:has(.th-b[aria-expanded="false"]) { border-radius: 17px; }
.th { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.th-b { flex: 1; min-width: 0; min-height: inherit; margin: 0; padding: 0; border: 0; background: transparent; display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer; font-family: inherit; color: inherit; }
.th-b > .ic-down { opacity: .8; transition: transform .15s; }
.th-b[aria-expanded="false"] > .ic-down { transform: rotate(-90deg); }
.th .name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.tr-h[data-d="0"] .name { font-size: 16px; font-weight: 700; }
.tr-h[data-d="1"] .name { font-size: 15px; font-weight: 700; }
.grp .grp .grp .grp-body > .tr-c .card { box-shadow: 0 1px 3px rgba(35,39,46,.10); }
.th .count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; color: inherit; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.th-av { width: 30px; height: 30px; border-radius: 999px; background: var(--charcoal-2); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.th-ok { display: inline-flex; color: var(--done); }
.th-sub { display: flex; align-items: center; gap: 6px; padding: 2px 4px 0 30px; font-size: 13px; color: var(--ink-2); }
.call { width: 36px; height: 36px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; text-decoration: none; cursor: pointer; list-style: none; }
.callsheet .fs-panel { gap: 8px; }

/* ── Κάρτα εργασίας στη λίστα: ετικέτες · «#12» τίτλος + κουκκίδα «Έγινε» · ΜΙΑ γραμμή στοιχείων ── */
.card { background: var(--card); border: 0; border-radius: var(--r-card); box-shadow: var(--shadow-card); scroll-margin-top: 120px; }
.card.task { position: relative; border-left: 5px solid var(--action); padding: 12px 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.card.task.urgent { border-left-color: var(--urgent); }
.card.task.noted { border-left-color: var(--note-line); }
.card.task.is-done { border-left-color: var(--done); }
.c-top { display: flex; gap: 10px; align-items: flex-start; }
.c-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.c-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--sunken); color: var(--charcoal-2); font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; max-width: 100%; overflow: hidden; }
.tag.urgent { background: var(--urgent-soft); color: var(--urgent); }
.tag.wait { background: var(--note-tag); color: var(--note-ink); }
.tag.ok { background: var(--done-soft); color: var(--done); }
.tag.mine { background: var(--action-soft); color: var(--action-ink); }
.c-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.c-title .num { font-size: 15px; font-weight: 700; color: #5B3FA6; background: #EEE9FA; border-radius: 6px; padding: 0 6px; margin-right: 6px; position: relative; top: -1px; }  /* 18/11: μωβ αριθμός εργασίας */
.c-title a.c-open { color: inherit; text-decoration: none; }
.c-title a.c-open::after { content: ""; position: absolute; inset: 0; border-radius: 0 var(--r-card) var(--r-card) 0; }   /* όλη η κάρτα ανοίγει την εργασία */
.qdone { position: relative; z-index: 1; flex: none; margin-top: -4px; display: flex; }
.dot { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0; color: transparent; overflow: hidden; }
.dot::before { content: ""; width: 30px; height: 30px; border: 0; border-radius: 999px; background: #E4E4E0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2F36' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; flex: none; }   /* 18/11: ίδιο με την ανοιχτή εργασία (επιλογή Γ) */
.dot:active::before, .dot:disabled::before { border-color: var(--done); background: var(--done) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.c-meta { display: flex; align-items: center; flex-wrap: nowrap; column-gap: 12px; font-size: 15px; color: var(--ink-2); }
.c-meta > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.c-meta .m-date { color: var(--ink); flex: none; }
.c-meta .m-shrink { flex: 0 1 auto; }
.c-meta .m-shrink > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.c-meta .m-where > .w-a { flex: 0 100 auto; min-width: 2.5em; } .c-meta .m-where > .w-b { flex: 0 1 auto; }
.c-meta > .call, .c-meta > .callsheet { margin-left: auto; position: relative; z-index: 1; flex: none; }
.c-meta > .callsheet[open] { z-index: 60; }      /* το φύλλο «Κλήση <όνομα>» πάνω από κεφαλίδες και κάτω μπάρα */
.c-meta.multi { column-gap: 14px; }
.c-meta.multi > span { white-space: normal; align-items: flex-start; }
.c-meta.multi > .m-date { white-space: nowrap; }
.c-meta.multi > .m-grow { flex: 1 1 0; }
.c-meta.multi > span > svg { margin-top: 2px; }
.c-links { display: flex; flex-direction: column; gap: 6px; }
.c-link { background: var(--note-soft); border-radius: 14px; padding: 10px 12px; font-size: 15px; line-height: 1.4; color: var(--note-ink); }
a.c-link.go { display: flex; align-items: center; gap: 8px; text-decoration: none; min-height: 46px; } a.c-link.go span { flex: 1; min-width: 0; } a.c-link.go svg { flex: none; opacity: .7; }
.c-link.waited { background: var(--action-soft); color: var(--action-ink); }
.c-link.together { background: var(--sunken); color: var(--ink); }
.c-info { font-size: 15px; line-height: 1.4; color: var(--ink-2); padding: 0 2px; }
/* ολοκληρωμένη (και «οι αναφορές σας») μέσα στο δέντρο */
.card.done-row { padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 12px; }
.okdot { width: 32px; height: 32px; border-radius: 999px; background: var(--done-soft); color: var(--done); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.done-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.done-row .c-title { font-size: 15px; font-weight: 400; line-height: 1.35; color: var(--ink-2); text-decoration: line-through; }
.done-row .c-title.open { color: var(--ink); font-weight: 600; text-decoration: none; }
.done-row .m { font-size: 15px; color: var(--ink-2); }
.done-row form { flex: none; display: flex; }
.done-row .btn.small-btn { padding: 0 10px; gap: 6px; border-color: var(--border-soft); }
/* τελευταία ενημέρωση (καρτέλα «Οικοδομή»: εκεί η κάρτα δεν ανοίγει) */
.last { background: var(--sunken); border-radius: 14px; padding: 9px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.4; }
.last .h { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.last .h b { font-size: 14px; font-weight: 600; color: var(--ink); } .last .h i { font-style: normal; font-size: 14px; color: var(--ink-2); }
.c-photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.c-photo { display: block; }
.c-photo img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; display: block; }
.voice { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.voice audio { width: 100%; max-width: 360px; height: 40px; }
.vt { display: flex; gap: 6px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--ink); }
.vt svg { flex: none; margin-top: 2px; color: var(--ink-2); }
.vt.wait, .vt.pending { color: var(--ink-2); }
.tr-btn { min-height: 36px; }
.tr-out { margin-top: 2px; padding: 10px 12px; border-radius: 14px; background: var(--action-soft); font-size: 15px; line-height: 1.45; white-space: pre-line; }
.tr-out.bad { background: var(--urgent-soft); color: var(--urgent); }

/* ── Η εργασία ανοιχτή: σύνοψη, «○ Έγινε», χρωματιστά κουτιά ── */
.card.task.full { padding: 0; gap: 0; }
.c-sum { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.c-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.acts { padding: 4px 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.acts form { display: flex; flex-direction: column; gap: 10px; }
.done-on { display: flex; align-items: center; gap: 12px; }
.done-on .btn.done { flex: 1; cursor: default; }
.done-on form { flex: none; }
.box { --bx-tint: var(--sunken); --bx-ink: #3F444C; --bx-line: var(--line-soft); border: 1px solid var(--bx-line); border-radius: var(--r-card); background: #fff; display: flex; flex-direction: column; }
.box.slate { --bx-tint: #E8EDF1; --bx-ink: #2E4659; --bx-line: #D6DCE0; }
.box.lilac { --bx-tint: #EEEAF4; --bx-ink: #4F4170; --bx-line: #DDD5EA; }
.box.sand { --bx-tint: #FBF6E6; --bx-ink: #6B5A1E; --bx-line: #EBDDB0; }
.box.teal { --bx-tint: #E3EFEE; --bx-ink: #2D5E5A; --bx-line: #C9DEDB; }
.box.grey { --bx-tint: #EFEFEC; --bx-ink: #3F444C; --bx-line: #E0E0DC; }
.box-h { list-style: none; min-height: 42px; padding: 0 10px 0 12px; border-radius: 19px; background: var(--bx-tint); color: var(--bx-ink); font: 600 15px Inter, sans-serif; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.box-h::-webkit-details-marker { display: none; }
.box > details[open] > .box-h, .box:has(> .mats) > details > .box-h { border-radius: 19px 19px 0 0; }
.box-h .bt { flex: 1; min-width: 0; }
.box-h .chip { height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.box-h .chev { display: inline-flex; transition: transform .15s; }
.box > details[open] > .box-h .chev { transform: rotate(180deg); }
.box-b { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.box > .mats { padding: 12px; }
.mats.in-box { padding: 12px 12px 0; }   /* η λίστα υλικών μέσα στο κλειστό κουτί (17/11): φαίνεται όταν το ανοίξεις */
.box > details[open] + .mats { padding-top: 0; }

/* ── Κουμπιά ── */
.btn { width: 100%; height: 50px; border: 0; border-radius: 999px; padding: 0 16px; font: 600 15px Inter, sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; color: var(--ink); background: #fff; min-width: 0; }
.btn.dark { background: var(--charcoal); color: #fff; }
.btn.ghost { height: 46px; background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn.done { height: 52px; font-size: 17px; background: var(--done); color: #fff; }
.btn.todo { height: 52px; font-size: 17px; gap: 10px; background: #fff; color: var(--ink); border: 2px solid var(--charcoal); }      /* «○ Έγινε»: ουδέτερο μέχρι να πατηθεί */
.btn.todo .ring { width: 22px; height: 22px; border-radius: 999px; border: 2.4px solid var(--charcoal); flex-shrink: 0; }
.btn.viber { background: var(--viber); color: #fff; box-shadow: 0 6px 16px rgba(115,96,242,.30); }
.btn.big { height: 52px; font-size: 16px; }
.btn.small-btn { width: auto; height: 40px; padding: 0 12px; align-self: flex-start; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.bad-t { color: var(--urgent); }
.row { display: flex; gap: 8px; }
.row .grow { flex: 1; min-width: 0; }
.row.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.box-b > .row.two > .btn { height: 46px; gap: 6px; }
.newc > .row.two > .btn { height: 50px; gap: 6px; padding: 0 12px; }
.fs-foot .btn { height: 50px; }
.link-btn { font: 600 15px Inter, sans-serif; color: var(--action); background: none; border: 0; padding: 0; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; align-self: flex-start; }

/* ── Πεδία: 46px, γωνία 16 ── */
label.lbl, span.lbl { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.lbl .opt { font-weight: 400; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
input[type=tel], input[type=date], input[type=text], input[type=password], input[type=number], input[type=search], select, textarea { width: 100%; min-width: 0; height: 46px; font: 400 15px Inter, sans-serif; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--r-input); background: #fff; color: var(--ink); }
input[type=date] { -webkit-appearance: none; appearance: none; text-align: left; }
textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--action-soft); }
.photo-btn { position: relative; height: 46px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px Inter, sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; min-width: 0; }
.photo-btn input { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; }
.attach { display: flex; flex-direction: column; gap: 8px; }
.ep-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-photos:empty { display: none; }
.ep-item { position: relative; width: 64px; height: 64px; border-radius: 12px; background: var(--sunken); }
.ep-item.loading { background: linear-gradient(90deg, var(--sunken), #fff, var(--sunken)); background-size: 200% 100%; animation: ep-load 1s linear infinite; }
@keyframes ep-load { to { background-position: -200% 0; } }
.ep-item .ep-thumb { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.ep-raw { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ep-x { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--charcoal); color: #fff; font: 700 13px Inter, sans-serif; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.ep-voice { background: var(--sunken); border-radius: var(--r-input); padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.ep-vrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ep-vrow .ep-x { position: static; border: 0; }
.ep-vlab { font-size: 15px; font-weight: 600; color: var(--done); }
.ep-voice audio { width: 100%; height: 40px; }
.rec-btn { width: 100%; }
.rec-btn.on { background: var(--urgent); border-color: var(--urgent); color: #fff; animation: rec-pulse 1.4s ease-in-out infinite; }
@keyframes rec-pulse { 50% { box-shadow: 0 0 0 5px rgba(176, 58, 46, .2); } }
/* πεδίο σχολίου σε ΟΛΟ το πλάτος, με κάμερα και μικρόφωνο μέσα· από κάτω «Αποθήκευση» | «Viber» */
.newc { display: flex; flex-direction: column; gap: 10px; }
.cfield { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 50px; padding: 4px 6px 4px 18px; border: 1px solid var(--border); border-radius: 28px; background: #fff; }
.cfield:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--action-soft); }
.cfield textarea { resize: none; flex: 1 1 120px; min-width: 0; height: 40px; min-height: 40px; max-height: 160px; border: 0; padding: 9px 0; border-radius: 0; box-shadow: none !important; background: transparent; }
.cfield .attach { display: contents; }
.attach.compact .row.two { display: flex; gap: 6px; flex: none; }
.attach.compact .photo-btn { width: 44px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: var(--sunken); color: var(--charcoal-2); font-size: 0; gap: 0; flex: none; }
.attach.compact .photo-btn.rec-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.attach.compact .photo-btn.rec-btn.on { width: auto; padding: 0 14px; font-size: 15px; gap: 6px; background: var(--urgent); color: #fff; }
.attach.compact .photo-btn.rec-btn.on span { position: static; width: auto; height: auto; clip: auto; }
.cfield .ep-photos, .cfield .ep-voice { flex: 1 0 100%; margin: 4px 12px 6px 0; }

/* «Πότε θα γίνει;» — πλακίδια ημέρας 56px */
.when-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wchip { min-height: 56px; min-width: 0; padding: 4px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; }
.wchip b { font-size: 15px; font-weight: 600; } .wchip small { font-size: 13px; color: var(--ink-2); }
.wchip.on { background: var(--charcoal); color: #fff; border-color: var(--charcoal); } .wchip.on small { color: #D2D4D7; }
.other-row { align-items: center; }
/* Ώρες: χάπια ½ 1 2 4 8, «Άλλο», Σήμερα | Χθες */
.hrs-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hrs-chips label, .hrs-day label { position: relative; cursor: pointer; display: flex; }
.hrs-chips input, .hrs-day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hrs-chips b { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 46px; border: 1px solid var(--border-soft); border-radius: 999px; background: #fff; font-size: 16px; font-weight: 600; }
.hrs-chips label:has(input:checked) b { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.hrs-day { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--track); border-radius: 999px; }
.hrs-day b { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 40px; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.hrs-day label:has(input:checked) b { background: #fff; color: var(--charcoal); box-shadow: 0 1px 3px rgba(35,39,46,.15); }
.hrs-chips label:has(input:focus-visible) b, .hrs-day label:has(input:focus-visible) b { outline: 2px solid var(--action); outline-offset: 2px; }
/* Υλικά */
.qty-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; }
.mp { position: relative; }
.mp-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 12; background: #fff; border: 1px solid var(--border-soft); border-radius: var(--r-input); box-shadow: var(--shadow-pop); overflow: hidden; }
.mp-hit { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; width: 100%; text-align: left; font: 400 15px Inter, sans-serif; background: none; border: 0; border-top: 1px solid var(--line-soft); padding: 12px 16px; min-height: 46px; color: var(--ink); cursor: pointer; }
.mp-hit:first-child { border-top: 0; } .mp-hit:active, .mp-hit:focus { background: var(--action-soft); outline: none; }
.mp-hit b { font-weight: 600; } .mp-hit small { color: var(--ink-2); white-space: nowrap; font-size: 13px; }
.mp-hit .code { color: var(--ink-2); font: 500 13px ui-monospace, Menlo, monospace; margin-left: 6px; }
.mp-hit .part { font-size: 12px; font-weight: 600; background: var(--sunken); color: var(--charcoal-2); border-radius: 999px; padding: 1px 7px; margin-left: 6px; }
.mp-new { padding: 10px 16px; font-size: 14px; color: var(--action-ink); background: var(--action-soft); }
.mats { display: flex; flex-direction: column; gap: 6px; }
.mat { display: flex; gap: 10px; align-items: center; background: var(--sunken); border-radius: 14px; padding: 10px 14px; }
.mat .t { flex: 1; min-width: 0; font-size: 15px; } .mat .t b { font-weight: 600; } .mat .t span, .mat .n { font-size: 14px; color: var(--ink-2); }
.mat .mst { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--note-ink); text-align: right; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.mat .mst small { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.mat.bought { background: var(--done-soft); } .mat.bought .mst { color: var(--done); }
/* Προσθήκη βήματος: πλακίδια επιλογής, μόνο ο τίτλος */
.need-modes { display: flex; flex-direction: column; gap: 8px; }
.need-modes label { position: relative; display: flex; align-items: center; min-height: 50px; padding: 0 14px 0 50px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; cursor: pointer; }
.need-modes label b { font-size: 15px; font-weight: 600; }
.need-modes input { position: absolute; left: 14px; top: 50%; margin: -12px 0 0; width: 24px; height: 24px; accent-color: var(--charcoal); }
.need-modes label:has(input:checked) { border-color: var(--dash); background: var(--action-soft); }

/* ── Σχόλια = συνομιλία: χάπι ημέρας, εγώ δεξιά (κίτρινο), οι άλλοι αριστερά με αρχικά, το γραφείο γκρι «Γ» ── */
.comments { display: flex; flex-direction: column; gap: 10px; }
.cday { align-self: center; padding: 4px 12px; border-radius: 999px; background: var(--sunken); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.cm { display: flex; align-items: flex-end; gap: 8px; max-width: 92%; }
.cm-av { width: 32px; height: 32px; border-radius: 999px; background: var(--action-soft); color: var(--action); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.cm.office .cm-av { background: var(--action); color: #fff; }
.cm-b { background: #fff; border: 1px solid var(--border-soft); border-radius: 18px 18px 18px 4px; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cm.office .cm-b { background: var(--office); border-color: var(--office); }
.cm.mine { align-self: flex-end; max-width: 85%; }
.cm.mine .cm-b { background: var(--note-soft); border-color: var(--note-soft); border-radius: 18px 18px 4px 18px; }
.cm .h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.cm .h b { font-weight: 600; color: var(--ink); } .cm.mine .h b { color: var(--note-ink); }
.cm .h i { font-style: normal; }
.cm .x { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.cm .link-btn { align-self: flex-end; }
.edit-f { display: flex; flex-direction: column; gap: 8px; }
.edit-f textarea { min-height: 72px; }
.edit-f .btn { height: 46px; }

/* ── Λίστες μέσα σε κάρτα (νέα, ειδοποιήσεις) ── */
.line { display: flex; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--sunken); align-items: center; }
.line:first-child { border-top: 0; }
.line .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.line .t b { font-size: 15px; font-weight: 600; line-height: 1.35; }
.line .m { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.news { padding: 12px 16px; border-top: 1px solid var(--sunken); display: flex; flex-direction: column; gap: 3px; }
.news:first-child { border-top: 0; }
.news .h { font-size: 14px; color: var(--ink-2); } .news .h b { color: var(--ink); font-weight: 600; font-size: 15px; }
.news .x { font-size: 15px; line-height: 1.4; }
.news .task { font-size: 14px; color: var(--ink-2); }
.card.empty { padding: 26px 12px; }
.prompt { display: flex; gap: 12px; align-items: center; min-height: 50px; padding: 0 14px; text-decoration: none; color: var(--ink); background: var(--action-soft); box-shadow: none; border-radius: var(--r-tile); }
.prompt b { flex: 1; font-size: 15px; font-weight: 600; } .prompt svg { color: var(--action); flex: none; }
/* ένοικος: «Έρχεται σήμερα» */
.vcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.vcard .vc-i { width: 44px; height: 40px; border-radius: 999px; background: var(--action-soft); color: var(--action); display: flex; align-items: center; justify-content: center; flex: none; }
.vcard .vc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vcard .vc-l { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--action); }
.vcard b { font-size: 16px; font-weight: 700; }
.vcard .vc-d { font-size: 15px; color: var(--ink-2); }

/* ── Κάτω μπάρα πλοήγησης 72px ── */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(var(--bnav-h) + env(safe-area-inset-bottom)); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border-soft); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; margin: 0 auto; }
.bn-i { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--ink-2); font-family: Inter, sans-serif; min-width: 0; }
.bn-i:hover { color: var(--ink-2); }
.bn-ic { position: relative; width: 56px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.bn-n { font-size: 15px; font-weight: 600; white-space: nowrap; }
.bn-cnt { position: absolute; top: -2px; right: 4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--action); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bn-i.on, .bn-i.on:hover { color: var(--charcoal); } .bn-i.on .bn-ic { background: var(--action-soft); } .bn-i.on .bn-n { font-weight: 700; }
/* αιωρούμενο χάπι (ένοικος: Νέα αναφορά) */
.fab { position: fixed; right: 16px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 20; height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--charcoal); color: #fff; font: 600 16px Inter, sans-serif; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; box-shadow: 0 8px 20px rgba(35,39,46,.3); }
.fab:hover { color: #fff; }

/* Μπάρα «Σημειώθηκε: Έγινε · Αναίρεση» */
.undo-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--bnav-h) + env(safe-area-inset-bottom)); max-width: 616px; margin: 0 auto; background: var(--charcoal); color: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; min-height: 52px; display: flex; align-items: center; gap: 10px; z-index: 40; box-shadow: 0 8px 24px rgba(35,39,46,.3); transition: opacity .4s; }
body.no-bnav .undo-bar { bottom: calc(96px + env(safe-area-inset-bottom)); }
.undo-bar span { flex: 1; font-size: 15px; line-height: 1.3; display: flex; align-items: center; gap: 8px; }
.undo-bar form { flex: none; }
.undo-bar button { height: 40px; padding: 0 14px; border: 1px solid #4A4E56; border-radius: 999px; background: transparent; color: #fff; font: 600 15px Inter, sans-serif; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.undo-bar.gone { opacity: 0; pointer-events: none; }

/* ── Είσοδος (οθόνη 6) ── */
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 16px; background: var(--charcoal); }
.login-card { width: 100%; max-width: 400px; background: #fff; border-radius: 28px; padding: 28px 22px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 48px -12px rgba(0,0,0,.45); }
.login-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.brand-logo { width: 56px; height: 50px; border-radius: 18px; background: var(--charcoal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.brand { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.login-card h1 { font-size: 22px; font-weight: 700; margin: 0; }
.login-card .sub { font-size: 15px; color: var(--ink-2); }
.login-card input.pin { height: 52px; padding: 0 18px; font: 600 20px Inter, sans-serif; letter-spacing: .1em; border-color: #C9C9C4; }
.login-card input.pin:focus { border-color: var(--ink); }
.login-card .btn { height: 52px; margin-top: 4px; font-size: 17px; gap: 10px; }
.login-help { margin: 0; text-align: center; font-size: 15px; line-height: 1.4; color: var(--ink-2); font-style: italic; }
.err { background: var(--urgent-soft); color: var(--urgent); border-radius: var(--r-input); padding: 12px 14px; font-weight: 500; font-size: 15px; text-align: left; }
/* «Μίλα | Γράψε» στη Νέα εργασία (17/11): ένας από τους δύο τρόπους κάθε φορά */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--sunken); border-radius: 999px; }
.seg2 button { min-height: 46px; border: 0; border-radius: 999px; background: transparent; font: 600 16px Inter, sans-serif; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.seg2 button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(35,39,46,.15); }
.vn-help { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); text-align: center; }
.or-line { display: flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--ink-2); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.or-line.soft { padding: 4px 0 0; } .or-line.soft::before, .or-line.soft::after { background: var(--line-soft); }

/* ── Ειδοποιήσεις ── */
label.check { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: 15px; border-top: 1px solid var(--sunken); }
label.check:first-of-type { border-top: 0; } label.check input { width: 22px; height: 22px; accent-color: var(--charcoal); margin: 0; }
label.check.pause { font-weight: 600; }
.manual-form { flex-direction: row; gap: 8px; align-items: center; } .manual-form input { flex: 1; min-width: 0; }
.notify form { flex: none; }
.notify .c-title { display: flex; align-items: center; gap: 8px; }
.notify .line .t b { display: flex; align-items: center; gap: 6px; }
ol.steps { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
ol.steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--sunken); font-size: 15px; line-height: 1.35; }
ol.steps .st-n { width: 26px; height: 26px; border-radius: 999px; background: var(--charcoal); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
ol.steps svg { vertical-align: -4px; color: var(--action); }

/* ── Χωρίς σήμα ── */
.offline-bar { margin: 0 auto; max-width: 640px; padding: 10px 16px; background: var(--note-soft); border-bottom: 1px solid var(--note-tag); font-size: 15px; color: var(--note-ink); }
.offline-bar.off { background: var(--note-tag); }
.offline-bar.bad { border-left: 5px solid var(--urgent); }
.offline-bar ul { margin: 6px 0 0; padding-left: 20px; color: var(--ink-2); }
.offline-bar .ob-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.offline-bar .ob-row:first-child { margin-top: 0; }
.offline-bar button { flex: none; min-height: 40px; font: 600 15px Inter, sans-serif; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 0 14px; }
.offline-bar .ob-failed { color: var(--urgent); }
.offline-bar .ob-busy { font-weight: 600; color: var(--note-ink); animation: ob-blink 1.2s ease-in-out infinite; }
@keyframes ob-blink { 50% { opacity: .45; } }
.pending-badge { padding: 8px 12px; border-radius: 14px; background: var(--note-soft); color: var(--note-ink); font-size: 15px; font-weight: 500; }
.card.full > .pending-badge { margin: 0 14px 14px; }
.card.done-row > .pending-badge { flex: 1 0 100%; }
.card.done-row:has(> .pending-badge) { flex-wrap: wrap; }
.ob-toast { position: fixed; left: 50%; bottom: calc(18px + var(--bnav-h) + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: 92vw; background: var(--charcoal); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; z-index: 50; box-shadow: 0 8px 24px rgba(35,39,46,.3); }

/* ── Βοηθός AI ── */
.card.ai { border-left: 5px solid var(--action); }
.ai-s { list-style: none; min-height: 50px; padding: 0 12px 0 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ai-s::-webkit-details-marker { display: none; }
.ai-s b { flex: 1; font-size: 15px; font-weight: 600; color: var(--action); }
.ai-i { width: 36px; height: 36px; border-radius: 999px; background: var(--action-soft); color: var(--action); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ai-s .chev { display: inline-flex; color: var(--ink-2); transition: transform .15s; }
.card.ai[open] > .ai-s .chev { transform: rotate(180deg); }
.card.ai[open] > .ai-s { border-bottom: 1px solid var(--sunken); }
.card.ai .c-body { gap: 10px; }
.card.ai textarea { min-height: 72px; }
.ai-f textarea { min-height: 120px; line-height: 1.45; overflow: hidden; }
.ai-out { display: flex; flex-direction: column; gap: 10px; }
.ai-reply { background: var(--action-soft); border-radius: var(--r-input); padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.ai-card { background: var(--sunken); border-radius: var(--r-tile); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ai-card.sent { opacity: .6; }
.ai-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--action); }
.ai-h b { font-size: 15px; font-weight: 600; } .ai-h span { font-size: 14px; color: var(--ink-2); }
.ai-f { display: flex; flex-direction: column; gap: 8px; }
.ai-f .row .field { flex: 1; min-width: 0; }
.ai-f input:disabled, .ai-f textarea:disabled { background: #fff; color: var(--ink); opacity: 1; border-color: var(--border-soft); }
.ai-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .ai-foot .link-btn { min-height: 32px; font-size: 14px; }
#ai-voice[aria-pressed="false"] { color: var(--ink-2); }
.ai-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ai-btns .btn { height: 46px; padding: 0 6px; }
#ai-mic { position: relative; overflow: hidden; }
#ai-mic.on { background: var(--urgent); color: #fff; border-color: var(--urgent); animation: rec-pulse 1.4s ease-in-out infinite; }
#ai-mic.on::before { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: calc(var(--lvl, 0) * 100%); background: #fff; opacity: .9; transition: width .08s linear; }
#ai-mic.on svg { animation: mic-bob .9s ease-in-out infinite; }
@keyframes mic-bob { 50% { transform: scale(1.18); } }
#ai-text.preview { color: var(--ink-2); }

/* ── Νέα εργασία (οθόνη 9), νέα αναφορά ── */
.form-card { padding: 18px 16px; display: flex; flex-direction: column; gap: 16px; }
.form-card > .row.two { gap: 10px; }
.sw-row { position: relative; min-height: 50px; padding: 0 14px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; color: var(--ink); font: 600 15px Inter, sans-serif; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.sw-row > svg { color: var(--urgent); }
.sw-row > span { flex: 1; }
.sw-row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.sw { position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--border); flex-shrink: 0; transition: background .15s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.sw-row input:checked ~ .sw { background: var(--urgent); }
.sw-row input:checked ~ .sw::after { transform: translateX(20px); }
.sw-row:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.who-pick { position: relative; }
.wp-box { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 46px; padding: 4px 6px 4px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-input); }
.wp-box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--action-soft); }
.wp-box input { flex: 1 1 120px; min-width: 100px; width: auto; border: 0; outline: 0; background: none; height: 36px; box-shadow: none; padding: 0; border-radius: 0; }
.wp-chip { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 4px 0 12px; border-radius: 999px; background: var(--charcoal); color: #fff; font-size: 15px; font-weight: 500; }
.wp-chip button { width: 28px; height: 28px; border: 0; border-radius: 999px; background: none; color: #fff; font-size: 14px; cursor: pointer; }
.wp-arrow { width: 40px; height: 36px; margin-left: auto; border: 0; border-left: 1px solid var(--line-soft); background: none; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.wp-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid var(--border-soft); border-radius: var(--r-input); box-shadow: var(--shadow-pop); padding: 4px; }
.wp-list button { display: block; width: 100%; text-align: left; min-height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.wp-list button:hover, .wp-list button.on { background: var(--action-soft); }
.wp-list .none { padding: 12px; color: var(--ink-2); font-style: italic; }
/* «Πες τις εργασίες»: μεγάλο στρογγυλό μικρόφωνο με τη λέξη από κάτω */
.vn-form { padding: 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.vn-t { font-size: 16px; font-weight: 700; }
.vn-form .attach { width: 100%; align-items: center; gap: 12px; }
.vn-form .photo-btn:not(.rec-btn), .vn-form .ep-photos { display: none; }
.vn-form .row.two { display: flex; justify-content: center; }
.vn-form .rec-btn { width: auto; height: auto; padding: 10px 10px 0; border: 0; border-radius: 0; background: transparent; flex-direction: column; gap: 20px; font: 600 15px Inter, sans-serif; color: var(--action); animation: none; }
.vn-form .rec-btn svg { width: 88px; height: 88px; padding: 26px; border-radius: 999px; background: var(--charcoal); color: #fff; box-shadow: 0 0 0 10px var(--action-soft); }
.vn-form .rec-btn.on { background: transparent; color: var(--urgent); }
.vn-form .rec-btn.on svg { background: var(--urgent); animation: rec-pulse 1.4s ease-in-out infinite; }
.vn-form .ep-voice { width: 100%; }
/* 21/11: οι λέξεις γράφονται την ώρα που μιλάς */
.vn-live { width: 100%; background: var(--sunken); border-radius: var(--r-input); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.vn-live-l { font-size: 13px; font-weight: 600; color: var(--muted, #6B7280); }
.vn-live-t { margin: 0; min-height: 22px; font-size: 15px; line-height: 1.45; color: var(--muted, #6B7280); }
.vn-live-t.got { color: var(--ink); }
.voice-ready { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: var(--r-tile); background: var(--action-soft); border: 1px solid #D6DCE0; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.4; }
.voice-ready:hover { color: var(--ink); }
.voice-ready .vr-i { width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--action); display: flex; align-items: center; justify-content: center; flex: none; }
.voice-ready > span:not(.vr-i) { flex: 1; } .voice-ready b { font-weight: 700; } .voice-ready > svg { color: var(--action); }
/* καρτέλα «Φωνητικά» */
.vn-h { display: flex; align-items: center; gap: 8px; } .vn-h i { font-style: normal; color: var(--ink-2); font-size: 14px; }
.vn audio { width: 100%; height: 40px; }
.vn-text { background: var(--sunken); border-radius: var(--r-input); padding: 12px 14px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.vn-props { border-top: 1px solid var(--sunken); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.vn-sec { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .vn-sec b { font-size: 15px; font-weight: 600; } .vn-sec small { font-size: 13px; color: var(--ink-2); }
.vn-p { display: flex; flex-direction: column; gap: 8px; background: var(--sunken); border-radius: var(--r-tile); padding: 14px; }
.vn-pick { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.vn-pick input, .vn-urg input { width: 22px; height: 22px; accent-color: var(--charcoal); }
.vn-p textarea { min-height: 56px; }
.vn-crews { height: auto !important; min-height: 46px; padding: 8px 12px; }
.vn-who { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.vn-urg { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.vn-said { font-size: 14px; color: var(--ink-2); }
.vn-hrow { display: flex; align-items: center; gap: 8px; } .vn-hrow select { flex: 1; min-width: 0; }
.vn-hh { flex: none; width: 84px !important; text-align: center; font-size: 16px !important; font-weight: 700 !important; padding: 0 8px !important; } .vn-hu { color: var(--ink-2); }
.vn-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--sunken); }
.vn-actions form { display: contents; }
.vn-actions .btn { flex: 1 1 140px; width: auto; }

/* Ένας κωδικός, δύο ρόλοι: συνεργείο ⇄ εργοδηγός */
.mode-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 12px 12px 0; padding: 4px; background: var(--track); border-radius: 999px; max-width: 616px; }
@media (min-width: 640px) { .mode-sw { margin: 12px auto 0; } }
.mode-sw a { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; min-width: 0; white-space: nowrap; }
.mode-sw a.on { background: #fff; color: var(--charcoal); font-weight: 700; box-shadow: 0 1px 3px rgba(35,39,46,.15); }

/* «Μπράβο! Έγινε!» */
.cheer { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(245,245,243,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: cheer-fade .2s ease-out; }
.cheer.out { opacity: 0; transition: opacity .35s ease; }
.cheer-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 34px 22px; background: #fff; border-radius: 28px; box-shadow: 0 20px 50px rgba(35,39,46,.22); animation: cheer-pop .45s cubic-bezier(.2,1.4,.4,1); }
.cheer-ok { width: 84px; height: 84px; }
.cheer-ok circle { fill: var(--done); transform-origin: center; animation: cheer-pop .4s cubic-bezier(.2,1.5,.4,1); }
.cheer-ok path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: cheer-draw .35s .25s ease-out forwards; }
.cheer-in b { font-size: 20px; font-weight: 700; color: var(--done-ink); margin-top: 4px; }
.cheer-in span { font-size: 15px; color: var(--ink-2); text-align: center; max-width: 230px; }
.cheer-burst { position: absolute; left: 50%; top: 68px; width: 0; height: 0; }
.cheer-burst i { position: absolute; width: 9px; height: 9px; margin: -4.5px; border-radius: 2px; background: #8FD1A8; transform: rotate(var(--a)) translateY(0); opacity: 0; animation: cheer-dot .8s .2s ease-out forwards; }
.cheer-burst i:nth-child(3n) { background: var(--action); border-radius: 999px; }
.cheer-burst i:nth-child(3n+1) { background: var(--note-line); }
@keyframes cheer-fade { from { opacity: 0; } }
@keyframes cheer-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes cheer-draw { to { stroke-dashoffset: 0; } }
@keyframes cheer-dot { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--d))) scale(.6); } }
@media (prefers-reduced-motion: reduce) { .cheer, .cheer-in, .cheer-ok circle, .cheer-burst i { animation: none; } .cheer-ok path { animation: none; stroke-dashoffset: 0; } .cheer-burst { display: none; } }

/* Λίστες επιλογής: ίδιο σχήμα με τα πεδία και στο Safari */
select:not([multiple]) { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F646C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 13px center !important; background-size: 16px 16px !important; }

/* Βοηθός: απάντηση σε ερώτηση (γραμμές) και οι εργασίες της, που ανοίγουν με πάτημα */
.ai-reply { white-space: pre-line; overflow-wrap: anywhere; }
.ai-tasks { display: flex; flex-direction: column; gap: 6px; }
.ai-task { display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; color: var(--ink); text-decoration: none; }
.ai-task b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ai-task .m-num { flex: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ai-task.done b { color: var(--ink-2); text-decoration: line-through; }
.ai-foot .ai-listen { display: inline-flex; align-items: center; gap: 6px; color: var(--action); font-weight: 600; } .ai-foot .ai-listen[hidden] { display: none; }

/* Βοηθός (17/11): «Viber» | «Αντιγραφή» κάτω από κάθε απάντηση · αριθμημένα πλακίδια επιλογών («ποιον Κώστα εννοείς;») */
.ai-share > .btn { height: 50px; gap: 6px; padding: 0 12px; }
.ai-share > .btn.ghost.ok { color: var(--done-ink); border-color: var(--done); }
.ai-choices { display: flex; flex-direction: column; gap: 6px; }
.ai-choice { width: 100%; min-height: 48px; padding: 8px 14px 8px 10px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; color: var(--ink); font: 600 15px Inter, sans-serif; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.ai-choice i { width: 28px; height: 28px; border-radius: 999px; background: var(--charcoal); color: #fff; font: 700 14px Inter, sans-serif; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ai-choice span { flex: 1; min-width: 0; line-height: 1.3; overflow-wrap: anywhere; }
.ai-choice:active { background: var(--action-soft); border-color: var(--dash); }
/* Μπάρα «Καταχωρήθηκε»: κάθε «#αριθμός» ανοίγει την εργασία · «Viber» για όλη τη λίστα, στο φύλλο «Φίλτρα» */
.flash a { display: inline-block; padding: 8px 2px; margin: -8px 0; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fs-foot .btn.viber { grid-column: 1 / -1; gap: 6px; }
.flash { position: relative; } .flash a:only-of-type::after { content: ""; position: absolute; inset: 0; }      /* μία εργασία: όλη η μπάρα την ανοίγει */

/* Φωνητικά: έλεγχος «Έτσι το κατάλαβα» — κάθε πρόταση με Τι · Πού · Ποιος · Πότε (κουτιά 4.4, πλακίδια 4.6, μεγέθη ενότητας 2).
   Πράσινο ✓ = αναγνωρίστηκε από τη φωνή («άκουσα …»)· slate πλαίσιο με πλακίδια = διάλεξε εσύ. */
.vn-text mark { background: var(--done-soft); color: var(--done-ink); font-weight: 600; border-radius: 6px; padding: 0 4px; }
.vn-text.clamp .vx-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.vx-t[hidden] { display: none !important; }
.vx-more { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; } .vx-more[hidden] { display: none; }
.vx-more button { border: 0; background: none; padding: 6px 0; font: 600 14px Inter, sans-serif; color: var(--action); cursor: pointer; }
.vp { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; }
.vp + .vp { margin-top: 4px; }
.vp-acts { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 2px; }
.vp-act { min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink-2); font: 600 14px Inter, sans-serif; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.vp-off { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--sunken); font-size: 15px; color: var(--ink-2); }
.vp-off[hidden] { display: none; }
.vp.off > :not(.vp-h):not(.vp-off) { display: none; }
.vp.off .vp-h { opacity: .55; }
.vp.vp-glow { box-shadow: 0 0 0 3px var(--action-soft); transition: box-shadow .3s; }
.vp-h { display: flex; align-items: center; gap: 8px; min-height: 28px; } .vp-h .vn-pick { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; }
.vp:not(:has(.vp-row.ask:not(.ok))) .vp-need { display: none; }
.vp textarea[data-grow] { min-height: 46px; padding: 11px 14px; font-weight: 600; line-height: 1.4; resize: none; overflow: hidden; }
.vp-box > .box-h { cursor: default; border-radius: 19px 19px 0 0; }
.vp-row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vp-row:not(.ask) + .vp-row:not(.ask) { padding-top: 10px; border-top: 1px solid var(--line-soft); }
.vp-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; row-gap: 2px; min-width: 0; }
.vp-k { grid-column: 1; font-size: 13px; color: var(--ink-2); }
.vp-v { grid-column: 1; min-width: 0; font-size: 16px; font-weight: 600; line-height: 1.3; overflow-wrap: break-word; } .vp-v.none { font-size: 15px; font-weight: 400; color: var(--ink-2); }
.vp-line input[type=text] { grid-column: 1 / -1; margin-top: 4px; }
.vp-edit { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font: 600 14px Inter, sans-serif; color: var(--action-ink); cursor: pointer; }
.vp-src { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--done-ink); overflow-wrap: anywhere; }
.vp-src svg { flex: none; }
.vp-ctl { display: flex; flex-direction: column; }
.vn-props.js .vp-ctl:not(.open), .vn-props.js .vp-rest:not(.open) { display: none; }
.vn-props:not(.js) :is(.vp-edit, .vp-tiles, .vp-add, .vp-none, .vp-need) { display: none; }
.vp-row.ask { padding: 10px; border: 1px solid #AEB8C0; border-radius: var(--r-tile); background: var(--action-soft); gap: 8px; }
.vp-row.ask.ok { background: #fff; border-color: var(--border-soft); }
.vp-q { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; } .vp-q b { font-size: 15px; font-weight: 600; color: var(--action-ink); } .vp-q span { font-size: 13px; color: var(--ink-2); }
.vp-row.ask.ok .vp-q b { color: var(--ink); }
.vp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.vp-tile { min-height: 46px; min-width: 0; padding: 6px 10px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; color: var(--ink); font: 600 15px/1.25 Inter, sans-serif; cursor: pointer; overflow-wrap: break-word; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center; }
.vp-tile b { font-weight: 600; } .vp-tile small { font-size: 13px; font-weight: 400; color: var(--ink-2); } .vp-tile.on small { color: #D2D4D7; }
.vp-tile[hidden] { display: none; }
.vp-tile.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.vp-tile.vp-other { border-style: dashed; border-color: var(--dash); color: var(--action); background: transparent; }
.vp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-chip { position: relative; display: inline-flex; align-items: center; min-height: 40px; max-width: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.vp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.vp-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.vp-chip input:checked + span, .vp-none.on span { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.vp-chip input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.vp-add { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px dashed var(--dash); border-radius: var(--r-tile); background: transparent; font: 600 15px Inter, sans-serif; color: var(--action); cursor: pointer; }
.vp-err { display: none; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--action-ink); }
.vp.miss .vp-err { display: flex; } .vp.miss .vp-row.req { border-color: var(--action); box-shadow: 0 0 0 3px var(--action-soft); }
.vp .box-b[data-due] > input[type=date][hidden] { display: none; }
.vp > .sw-row { min-height: 50px; }

/* ── Εφαρμογή κινητού (κέλυφος στον φάκελο mobile/) ──
   Η οθόνη εκκίνησης /app/ και ό,τι φαίνεται ΜΟΝΟ μέσα στην εφαρμογή (το native.js βάζει html.native-app). */
html:not(.native-app) .native-only { display: none !important; }
.as-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.as-tiles form { display: contents; }
.as-tile { min-height: 96px; padding: 10px; border: 1px solid var(--border); border-radius: var(--r-tile); background: #fff; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: 600 15px Inter, sans-serif; cursor: pointer; }
.as-tile svg { color: var(--action); }
.as-tile:hover { color: var(--ink); } .as-tile:active { background: var(--sunken); }
.as-code { display: flex; flex-direction: column; gap: 14px; }
.photo-view { position: fixed; inset: 0; z-index: 100; background: rgba(20,22,26,.95); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); }
.photo-view img { max-width: 100%; max-height: calc(100% - 70px); object-fit: contain; border-radius: 12px; }
.photo-view .btn { max-width: 280px; background: #fff; color: var(--ink); }

/* ── Tablet (iPad, πλάτος ≥ 768): η ίδια διάταξη του κινητού, σε πιο άνετη στήλη. Το κινητό δεν αλλάζει. ── */
@media (min-width: 768px) {
  .wrap, .top-in, .fs-panel, .offline-bar { max-width: 760px; }
  .undo-bar { max-width: 736px; }
  .bnav { max-width: 760px; border: 1px solid var(--border-soft); border-bottom: 0; border-radius: 24px 24px 0 0; }
}

/* Ετικέτες στα πεδία ωρών (17/11): η περιγραφή δεν χάνεται όταν γράφεις */
.fl { display: flex; flex-direction: column; gap: 4px; margin: 0; }

/* Φωνητικά (18/11): «Για έλεγχο» + «Ιστορικό» με ό,τι συνδέθηκε με κάθε φωνητικό */
.vn-sec-h { font-size: 15px; font-weight: 700; margin: 18px 4px 8px; display: flex; align-items: center; gap: 8px; color: var(--ink-2, #555); }
.vn-sec-h .cnt { background: #E3E5E8; color: #333; border-radius: 999px; padding: 1px 9px; font-size: 13px; }
.vn-made { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.vn-made > b { font-size: 13px; color: var(--ink-2, #555); }
.vn-made a { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid #E1E3E6; border-radius: 10px; background: #F7F8F9; color: inherit; text-decoration: none; }
.vn-made a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vn-made a i { font-style: normal; font-size: 12px; color: #666; }
.vn-made.none { color: #777; font-size: 14px; }
.vn-old > summary { list-style: none; cursor: pointer; }
.vn-old > summary::-webkit-details-marker { display: none; }
.vn-old-t { color: #555; font-size: 14px; margin-top: 4px; }
.vn-old[open] .vn-old-t { display: none; }
.vn-old-b { padding-top: 0; }
.tag.off { opacity: .6; }

/* Ημερολόγιο (18/11): 4η καρτέλα κάτω, εργασίες ανά ημέρα, σύνδεση με το ημερολόγιο του κινητού */
.bnav.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cal-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cs-d { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0; border-radius: 10px; background: #fff; border: 1px solid #E1E3E6; color: inherit; text-decoration: none; }
.cs-d i { font-style: normal; font-size: 11px; color: #777; } .cs-d b { font-size: 15px; } .cs-d span { min-height: 15px; font-size: 11px; font-weight: 700; color: #fff; background: #3A4A5C; border-radius: 999px; padding: 0 6px; }
.cs-d span:empty { background: transparent; }
.cs-d.past { opacity: .5; } .cs-d.today { border-color: #2B3540; box-shadow: inset 0 0 0 1px #2B3540; }
.cal-day { background: #F1F2F4; border: 1px solid #D8DBDF; border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 70px; }
.cal-day h2 { font-size: 15px; font-weight: 700; margin: 2px 4px; display: flex; align-items: center; gap: 8px; }
.cal-day h2 .cnt, .vn-sec-h .cnt { background: #E3E5E8; color: #333; border-radius: 999px; padding: 1px 9px; font-size: 13px; }
.cal-day.today { background: #E3E5E8; border-color: #C6CAD0; } .cal-day.today h2 .cnt { background: #fff; }
.cal-day.late h2 { color: #A33; }
.cal-t { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 10px; border-left: 4px solid #3A4A5C; color: inherit; text-decoration: none; }
.cal-t.urgent { border-left-color: #C0392B; }
.cal-n { font-size: 13px; color: #666; font-weight: 600; } .cal-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cal-b b { font-weight: 600; } .cal-b small { color: #666; font-size: 13px; } .cal-u { color: #C0392B; }
.cal-nodate { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid #E1E3E6; border-radius: 12px; color: inherit; text-decoration: none; }
.cal-nodate span { flex: 1; }
.cal-sync .c-body { display: flex; flex-direction: column; gap: 10px; } .cal-sync p { margin: 0; color: #555; font-size: 14px; } .cal-sync small { color: #777; }

/* 18/11: μετά το «Έγινε» — η κάρτα που πήρε τη θέση της ανάβει για λίγο, να ξέρεις πού είσαι */
.card.task.spot-glow { box-shadow: 0 0 0 3px #9AA3AD; transition: box-shadow .6s; }

/* 18/11 (σενάρια χρήσης): 2 καρτέλες για πρόσωπο χωρίς «νέα εργασία»· 4 καρτέλες σε στενή οθόνη χωρίς επικάλυψη */
.bnav.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bnav.n4 { padding-left: 2px; padding-right: 2px; }
.bnav.n4 .bn-n { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 350px) { .bnav.n4 .bn-n { font-size: 11.5px; letter-spacing: -.2px; } }

/* 18/11 (σενάρια χρήσης) */
.say-err { position: fixed; left: 12px; right: 12px; top: calc(var(--top-h) + 10px + env(safe-area-inset-top)); z-index: 90; max-width: 616px; margin: 0 auto; background: #FBEAE8; color: #8E2A21; border: 1px solid #E9B8B2; border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 15px; box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.comments .cm .x.clamp { max-height: 8.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.more-btn { margin-top: 4px; }
.title-edit { margin: 2px 0 4px; }
.card.task.full .c-meta.multi { flex-wrap: wrap; row-gap: 6px; }
.card.task.full .c-meta.multi > .m-grow { flex: 1 1 150px; min-width: 0; overflow-wrap: anywhere; }

/* 18/11: «Μπλοκάρεται από» — δέσιμο με εργασία που υπάρχει ήδη */
.box.rose { --bx-tint: #F4E7E7; --bx-ink: #7A3B3B; --bx-line: #E6CFCF; }
.box-help { margin: 0 0 10px; font-size: 14px; color: #555; }
.blk-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E6CFCF; border-radius: 10px; padding: 8px 8px 8px 12px; margin-bottom: 8px; }
.blk-row a { flex: 1; min-width: 0; color: inherit; text-decoration: none; } .blk-row a small { display: block; color: #666; font-size: 13px; }
.blk-row.done a { opacity: .6; text-decoration: line-through; } .blk-row.done a small { text-decoration: none; }
.blk-grip { flex: none; width: 36px; height: 44px; margin-left: -8px; border: 0; background: none; color: #A9AEB6; display: inline-flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.blk-list .blk-row { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; } .blk-list.sorting { touch-action: none; }
.blk-grip { color: #7D838C; }
.blk-row.drag { position: relative; z-index: 2; box-shadow: 0 8px 22px rgba(30,35,45,.18); border-color: var(--ink); }
.blk-x { width: 40px; height: 40px; border-radius: 999px; border: 1px solid #E1E3E6; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #7A3B3B; cursor: pointer; }

/* 18/11: η ειδοποίηση κάτω (toast) — ημιδιάφανη, με αέρα γύρω από το κείμενο, εικονίδιο και απαλή είσοδο */
.ob-toast { display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(360px, calc(100vw - 32px)); padding: 14px 18px 14px 14px;
  border-radius: 18px; background: rgba(43, 47, 54, .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 500; font-size: 15px; line-height: 1.4;
  box-shadow: 0 12px 32px rgba(20, 22, 26, .22); cursor: pointer; animation: obIn .28s cubic-bezier(.2, .8, .2, 1) both; transition: opacity .3s, transform .3s; }
.ob-toast .ob-ic { flex: none; width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(134, 214, 160, .2); color: #8FDDA9; }
.ob-toast.out { opacity: 0; transform: translate(-50%, 8px); }
@keyframes obIn { from { opacity: 0; transform: translate(-50%, 12px) scale(.97); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }

/* 18/11: το κείμενο του φωνητικού πριν σταλεί */
.ep-vlab2 { display: block; margin: 8px 2px 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ep-vtext { width: 100%; box-sizing: border-box; min-height: 64px; border: 1px solid var(--border-soft, #E1E3E6); border-radius: 12px; padding: 10px 12px; font: 400 15px/1.4 Inter, sans-serif; background: #fff; resize: vertical; }
.ep-vtext:disabled { background: #F4F5F6; color: #888; }
.ep-vtext.got { border-color: #B9D9C4; }

/* 18/11: υπαγόρευση — μπάρα με κυματομορφή που ακολουθεί τη φωνή */
.attach.compact .photo-btn.dict-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.attach:not(.compact) .dict-btn { width: 100%; }
form.dictating .attach .photo-btn { opacity: .35; pointer-events: none; }
textarea.dictating { border-color: #B9C7D6 !important; background: #FAFBFD; }
.dict-bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 6px; border-radius: 999px; background: #F1F2F4; border: 1px solid #E1E3E6; animation: obIn2 .2s ease-out both; }
@keyframes obIn2 { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.dict-x, .dict-ok { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dict-x { background: #fff; color: #555; box-shadow: inset 0 0 0 1px #E1E3E6; }
.dict-ok { background: var(--charcoal); color: #fff; }
.dict-wave { flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 2px; overflow: hidden; }
.dict-wave i { flex: 1; max-width: 4px; height: 100%; border-radius: 3px; background: #3A4A5C; transform: scaleY(.12); transform-origin: center; transition: transform .08s linear; }
.dict-wave.idle i { animation: dictIdle 1.2s ease-in-out infinite; } .dict-wave.idle i:nth-child(odd) { animation-delay: .3s; }
@keyframes dictIdle { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(.55); } }
.dict-time { flex: none; font: 600 14px Inter, sans-serif; color: #555; min-width: 36px; text-align: right; }

/* 18/11: επιλογή εργασίας με αναζήτηση — μεγάλη λίστα, όλο το πλάτος */
.tpick .tp-in { width: 100%; box-sizing: border-box; }
.tp-list { margin-top: 8px; max-height: min(55vh, 460px); overflow-y: auto; -webkit-overflow-scrolling: touch; border: 1px solid #E6CFCF; border-radius: 14px; background: #fff; }
.tpick.picked .tp-list { display: none; }
.tp-o, .tp-new { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid #F0F1F3; background: #fff; font: 400 15px/1.35 Inter, sans-serif; color: inherit; cursor: pointer; }
.tp-o b { flex: none; color: #5B3FA6; background: #EEE9FA; border-radius: 6px; padding: 0 6px; font-weight: 700; }
.tp-o span { flex: 1; min-width: 0; } .tp-o small { display: block; color: #777; font-size: 13px; margin-top: 2px; }
.tp-o.on, .tp-o:active { background: #F4EEFC; }
.tp-new { color: #2D5E5A; font-weight: 600; align-items: center; background: #F2F8F7; } .tp-new.on { background: #DDEFEB; }
.tp-none { padding: 14px; color: #777; font-size: 14px; }

/* 18/11: Εγκρίσεις */
.box.gold { --bx-tint: #FBF3DC; --bx-ink: #6E5310; --bx-line: #EEDFB0; }
.c-link.approval { background: #FBF3DC; color: #6E5310; }
.appr { background: #fff; border: 1px solid #EEDFB0; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.appr.approved { border-color: #CFE5D6; } .appr.rejected { border-color: #EBCACA; }
.appr-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; } .appr-st { font-weight: 700; font-size: 14px; } .appr-h i { font-style: normal; color: #777; font-size: 13px; }
.appr-task { color: inherit; text-decoration: none; font-weight: 600; } .appr-task b { color: #5B3FA6; background: #EEE9FA; border-radius: 6px; padding: 0 6px; margin-right: 4px; }
.appr-task small { display: block; color: #777; font-weight: 400; font-size: 13px; }
.appr-t { font-size: 15px; } .appr-m { font-size: 14px; } .appr-ans { font-size: 14px; color: #555; }
.appr-f { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.appr-ready .vr-i { font-size: 18px; }
.appr-h { flex-wrap: wrap; } .appr-st { white-space: nowrap; }

/* 18/11: «Σκίτσο» — λευκή σελίδα σε όλη την οθόνη για Apple Pencil */
.attach.compact .photo-btn.sketch-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.attach:not(.compact) .sketch-btn { width: 100%; }
.sk-ov { position: fixed; inset: 0; z-index: 200; background: #fff; display: flex; flex-direction: column; }
.sk-bar { display: flex; align-items: center; gap: 6px; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; border-bottom: 1px solid #E1E3E6; background: #F7F8F9; overflow-x: auto; }
.sk-b { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid transparent; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: #333; cursor: pointer; }
.sk-b.on { background: #fff; border-color: #C6CAD0; }
.sk-col i { width: 22px; height: 22px; border-radius: 999px; display: block; }
.sk-size i { width: 22px; height: 3px; border-radius: 3px; background: #333; display: block; } .sk-size.thick i { height: 8px; }
.sk-close { margin-right: 6px; }
.sk-ok { margin-left: auto; flex: none; height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--charcoal); color: #fff; font: 600 15px Inter, sans-serif; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sk-cv { flex: 1; width: 100%; touch-action: none; cursor: crosshair; background: #fff; background-image: radial-gradient(#E3E5E8 1px, transparent 1px); background-size: 24px 24px; }

/* 18/11: προαιρετική ώρα στο «Πότε» */
.when-time { margin-bottom: 10px; }
.wt-add { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px dashed #B9C2CC; background: #fff; color: var(--ink-2); font: 600 15px Inter, sans-serif; cursor: pointer; }
.wt-field { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px 0 14px; border-radius: 999px; border: 1px solid #C6CAD0; background: #fff; }
.wt-field input { border: 0; height: 40px; font: 600 16px Inter, sans-serif; background: transparent; padding: 0; min-width: 90px; }
.wt-x { width: 34px; height: 34px; border-radius: 999px; border: 0; background: #F1F2F4; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cal-n { display: flex; flex-direction: column; align-items: flex-start; } .cal-tm { color: #2B3540; font-size: 13px; }

/* 18/11: αρμόδιο πρόσωπο */
.own-f { display: inline-block; margin-right: 14px; } .own-btn.on { color: #16803C; }

/* 18/11: «Γράφεται σε κείμενο…» — κάτι κινείται όσο περιμένει ο χρήστης: τρεις τελείες που πάλλονται + μπάρα που τρέχει */
.vt.pending, .vt.wait { position: relative; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; }
.vt.pending::before, .vt.wait::before { content: ""; flex: none; width: 28px; height: 8px; background: radial-gradient(circle 4px at 4px 50%, #5B3FA6 98%, transparent) 0 0 / 10px 8px repeat-x; animation: vt-dots 1s steps(4, jump-none) infinite; }
.vt.pending::after, .vt.wait::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #EEE9FA 0 35%, #5B3FA6 50%, #EEE9FA 65% 100%) 0 0 / 300% 100%; animation: vt-run 1.4s linear infinite; }
@keyframes vt-dots { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes vt-run { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .vt.pending::after, .vt.wait::after { animation-duration: 4s; } .vt.pending::before, .vt.wait::before { animation: none; } }

/* 18/11: ανοιχτή εργασία = ΠΛΕΓΜΑ ΠΛΑΚΙΔΙΩΝ (V3, οθόνες 22 / 22β). Λευκά πλακίδια, χρώμα μόνο στα εικονίδια, τιμή + τελεία όταν
   έχει κάτι· μία φόρμα ανοιχτή κάθε φορά, κάτω από το πλέγμα, με ουδέτερη κεφαλίδα. Χωρίς JS (.tiled λείπει) μένουν τα κουτιά. */
.t-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.t-pills:empty { display: none; }
.t-pills .own-f { display: contents; margin: 0; }
.t-pills .link-btn { min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--action-ink); font-size: 14px; margin: 0; align-self: auto; }
.t-pills .own-btn.on { color: #16803C; border-color: #BFE0CC; }
.t-pills .edit-f { flex: 1 0 100%; }
.tgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tgrid > .tile { grid-column: span 2; }
/* 20/11: 5 πλακίδια — η τελευταία σειρά των δύο πιάνει όλο το πλάτος */
.tgrid > .tile:nth-child(3n+1):nth-last-child(2), .tgrid > .tile:nth-child(3n+1):nth-last-child(2) ~ .tile { grid-column: span 3; }
.tgrid[hidden] { display: none; }
.tile { position: relative; min-height: 64px; padding: 8px 4px; border: 1px solid #E4E4E0; border-radius: 16px; background: #fff; color: var(--ink); font-family: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; min-width: 0; }
.tile b { font-size: 14px; font-weight: 600; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile small { font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--action); max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.tile .t-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--action); }
.tile.gold small { color: #8A6A12; } .tile.gold .t-dot { background: #C9A43A; }
.tile.red small { color: #8A3A3A; } .tile.red .t-dot { background: var(--urgent); }
.tile.on { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.tiled [data-pane] { display: none; --bx-tint: #EFEFEC; --bx-ink: #3F444C; --bx-line: #E0E0DC; }
.tiled [data-pane].show { display: flex; }
.tiled [data-pane] .box-h { min-height: 40px; }
.tiled .c-meta .m-date.in-tile { display: none; }
@media (min-width: 700px) { .tgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tgrid > .tile, .tgrid > .tile:nth-child(3n+1):nth-last-child(2), .tgrid > .tile:nth-child(3n+1):nth-last-child(2) ~ .tile { grid-column: auto; } }

/* 18/11: αρμόδιοι = κουμπάκια με «×» και «+ Αρμόδιος» στο ίδιο σημείο· ο τίτλος διορθώνεται επιτόπου (διπλό πάτημα) */
.who-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.who-chips .wc { display: inline-flex; align-items: center; gap: 2px; min-height: 36px; padding: 0 12px; margin: 0; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); font-size: 14px; font-weight: 600; max-width: 100%; flex-direction: row; }
.who-chips form.wc { padding-right: 2px; }
.who-chips .wc > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-chips .wc button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.wc-add { min-height: 36px; padding: 0 12px 0 10px; border: 1px dashed #AEB8C0; border-radius: 999px; background: #fff; color: var(--action); font: 600 14px Inter, sans-serif; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.wc-add[aria-expanded="true"] { border-style: solid; border-color: var(--charcoal); color: var(--ink); }
.who-chips > .call, .who-chips > .callsheet { margin-left: auto; position: relative; z-index: 1; flex: none; }
.who-add { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--border-soft); border-radius: 16px; background: #fff; }
.who-add[hidden] { display: none; }
.who-add .vp-chips:empty { display: none; }
.wc-opt { min-height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--border); border-radius: 20px; background: #fff; color: var(--ink); font: 500 15px Inter, sans-serif; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.wc-opt svg { color: var(--action); }
.c-title[data-title-edit] { cursor: text; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.title-f textarea { font: 700 18px/1.3 Inter, sans-serif; }
.tiled .m-date-row.in-tile { display: none; }

.who-chips .wc-own { display: contents; }

/* 18/11: η θέση (έργο · διαμέρισμα · χώρος) αλλάζει εκεί που φαίνεται */
.where-btn { display: flex; align-items: flex-start; gap: 6px; width: 100%; padding: 4px 0; border: 0; background: none; color: var(--ink-2); font: 400 15px/1.4 Inter, sans-serif; text-align: left; cursor: pointer; }
.where-btn > span { flex: 0 1 auto; min-width: 0; }
.where-btn > svg { flex: none; margin-top: 2px; }
.where-btn > svg:last-child { color: var(--action); transition: transform .15s; }
.where-btn[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }

/* 18/11: «○ Έγινε» μικρό, δεξιά στη σειρά των αρμοδίων (όχι πια μεγάλο κουμπί σε δική του σειρά) */
.done-mini { margin: 0 0 0 auto; flex: none; display: inline-flex; }
.btn.todo.mini { width: auto; height: 36px; min-height: 36px; padding: 0 14px 0 10px; border-width: 1.5px; font-size: 14px; gap: 6px; }
.btn.todo.mini .ring { width: 16px; height: 16px; border-width: 2px; }
.done-mini ~ .call, .done-mini ~ .callsheet { margin-left: 0 !important; }
.who-row:empty { display: none; }

/* 18/11: στο κινητό το «Έγινε» της ανοιχτής εργασίας είναι ο ίδιος κύκλος με τη λίστα, πάνω δεξιά δίπλα στον τίτλο —
   για να μη μοιάζει με τα κουμπάκια των αρμοδίων. Από 700 px (iPad) μένει χάπι «○ Έγινε» στη σειρά των αρμοδίων. */
@media (max-width: 699px) {
  .card.task.full .c-sum { position: relative; }
  .card.task.full .c-sum:has(.done-mini) .c-title { padding-right: 46px; }
  .card.task.full .done-mini { position: absolute; top: 10px; right: 8px; margin: 0; }
  .card.task.full .c-sum:has(.c-tags) .done-mini { top: 44px; }
  .card.task.full .done-mini ~ .call, .card.task.full .done-mini ~ .callsheet { margin-left: auto !important; }
}

/* 18/11: η θέση με το ίδιο ύφος με τα κουμπάκια των αρμοδίων: ουδέτερο χάπι, μία γραμμή, βελάκι αμέσως μετά το κείμενο */
.where-btn { display: inline-flex; align-items: center; gap: 6px; width: auto; max-width: 100%; min-height: 36px; padding: 7px 10px 7px 12px; border: 0; border-radius: 18px; background: var(--sunken); color: var(--ink); font: 600 14px/1.2 Inter, sans-serif; align-self: flex-start; }
.where-btn > span { min-width: 0; }                 /* ολόκληρη η θέση, σε δύο γραμμές αν χρειαστεί — δεν κρύβεται ο χώρος */
.where-btn > svg { margin-top: 0; color: var(--ink-2); }
.where-btn > svg:first-child { width: 16px; height: 16px; }
.where-btn > svg:last-child { color: var(--ink-2); }

/* 18/11: η ώρα του ραντεβού με το ύφος των κουμπακιών (αρμόδιοι, θέση): κάτω από τις μέρες, «+ Ώρα» διακεκομμένο, μετά γκρι κουτάκι «🕓 10:30 ×» */
.when-time { margin: 10px 0 0; }
.wt-add { height: 36px; padding: 0 12px 0 10px; gap: 4px; border-color: #AEB8C0; color: var(--action); font-size: 14px; }
.wt-field { height: 36px; gap: 6px; padding: 0 2px 0 12px; border: 0; background: var(--sunken); color: var(--ink-2); }
.wt-field input { height: 34px; min-width: 0; width: 5.2em; font: 600 14px Inter, sans-serif; color: var(--ink); -webkit-appearance: none; appearance: none; }
.wt-field input::-webkit-calendar-picker-indicator { display: none; }
.wt-x { width: 32px; height: 32px; background: transparent; color: var(--ink-2); }


/* 18/11: «Έγινε» στην ανοιχτή εργασία = σκέτος γκρι κύκλος με ✓ (επιλογή Γ) σε ΚΙΝΗΤΟ ΚΑΙ iPad, χωρίς πλαίσιο και λέξη (η λέξη μένει για αναγνώστη οθόνης).
   Κινητό: δίπλα στον τίτλο· iPad: δεξιά στη σειρά των αρμοδίων. */
.card.task.full .btn.todo.mini { width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; background: none; justify-content: center; }
.card.task.full .btn.todo.mini .ring { width: 34px; height: 34px; border: 0; background: #E4E4E0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2F36' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.card.task.full .btn.todo.mini:active .ring { background-color: #BFE0CC; }
.card.task.full .btn.todo.mini .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Συνομιλία με τον βοηθό (19/11): γραπτά ή με φωνή. Μέτρα οδηγού: κείμενο 15, πεδίο 46, κουμπιά 50. ── */
body.chat-page { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.chat { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; width: 100%; max-width: 640px; margin: 0 auto; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 12px; }
.chat-log { display: flex; flex-direction: column; gap: 10px; }
.chat-log:empty { display: none; }
.chm { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.chm.user { align-self: flex-end; background: var(--charcoal); color: #fff; border-bottom-right-radius: 6px; }
.chm.bot { align-self: flex-start; background: #fff; border: 1px solid var(--border-soft); border-bottom-left-radius: 6px; display: flex; flex-direction: column; gap: 8px; }
.chm.bot .chm-t { white-space: pre-line; }
.chm.bot .ai-tasks, .chm.bot .ai-choices { white-space: normal; }
.chm.bot .ai-task { background: var(--bg); border-color: transparent; }
.chm-tk { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chm-tk b { font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.chm-tk small { font-size: 14px; line-height: 1.35; color: var(--ink-2); overflow-wrap: anywhere; }
.ai-task.done .chm-tk b { color: var(--ink-2); text-decoration: line-through; }
.chm.err { align-self: flex-start; background: var(--urgent-soft); color: var(--urgent); border: 0; }
.chm-say { align-self: flex-end; width: 36px; height: 36px; margin: -4px -6px -6px 0; border: 0; border-radius: 999px; background: none; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.chm-say:active, .chm-say.on { background: var(--action-soft); color: var(--action); }
.chm.wait { align-self: flex-start; background: #fff; border: 1px solid var(--border-soft); border-bottom-left-radius: 6px; display: inline-flex; gap: 5px; padding: 15px 16px; }
.chm.wait i, .chat-state i { width: 7px; height: 7px; border-radius: 999px; background: var(--mute-ic); animation: chat-dot 1.1s ease-in-out infinite; }
.chm.wait i:nth-child(2), .chat-state i:nth-child(2) { animation-delay: .16s; } .chm.wait i:nth-child(3), .chat-state i:nth-child(3) { animation-delay: .32s; }
@keyframes chat-dot { 0%, 70%, 100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-4px); opacity: 1; } }
.chat-start { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.chat-start .ai-choice { justify-content: space-between; padding-left: 16px; }
.chat-start .ai-choice svg { color: var(--mute-ic); flex: none; }
.chat-off { margin: auto 0; text-align: center; }
.chat-bar { flex: none; width: 100%; max-width: 640px; margin: 0 auto; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; }
.chat-row { display: flex; align-items: flex-end; gap: 8px; }
.chat-row textarea { flex: 1; min-height: 46px; max-height: 132px; height: 46px; padding: 11px 16px; border-radius: 23px; resize: none; line-height: 1.45; overflow-y: auto; }
.chat-btn { flex: none; width: 50px; height: 50px; margin-bottom: -2px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.chat-btn.send { background: var(--charcoal); color: #fff; }
.chat-btn.mic { background: var(--action); color: #fff; }
.chat-btn .i-stop { display: none; }
.chat-btn[disabled] { opacity: .45; cursor: default; }
.chat-state { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 22px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.chat-state span { margin-left: 4px; }
/* ακούει: το μικρόφωνο γίνεται κόκκινο «στοπ» και ένας δακτύλιος ακολουθεί την ένταση της φωνής */
.chat-bar[data-mode=listening] .chat-btn.mic { background: var(--urgent); }
.chat-bar[data-mode=listening] .chat-btn.mic::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--urgent); opacity: .22; transform: scale(calc(1 + var(--lvl, 0) * .9)); transition: transform .09s linear; }
.chat-bar[data-mode=listening] .i-mic, .chat-bar[data-mode=speaking] .i-mic { display: none; }
.chat-bar[data-mode=listening] .i-stop, .chat-bar[data-mode=speaking] .i-stop { display: inline-flex; position: relative; }
.chat-bar[data-mode=listening] .chat-state i { background: var(--urgent); }
.chat-bar[data-mode=speaking] .chat-btn.mic { background: var(--charcoal); }
.chat-bar[data-mode=speaking] .chat-state i { background: var(--action); }
.chat-bar[data-mode=listening] textarea, .chat-bar[data-mode=hearing] textarea { color: var(--ink-2); }
#chat-voice[aria-pressed=false] { position: relative; opacity: .7; }
#chat-voice[aria-pressed=false]::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
.top form .bell { font-size: 0; }
/* με το εικονίδιο του βοηθού στην κορυφή, στο κινητό η «Έξοδος» μένει εικονίδιο — να χωρά το όνομα */
@media (max-width: 480px) { .top-in.has-chat .out span { display: none; } .top-in.has-chat .out { width: 44px; padding: 0; justify-content: center; } }
@media (min-width: 768px) { .chat, .chat-bar { max-width: 760px; } .chm { max-width: 72%; } }
@media (prefers-reduced-motion: reduce) { .chm.wait i, .chat-state i { animation: none; } }

/* ── 19/11: πρόσωπα και συνεργεία με λίστα που ανοίγει, αναζήτηση και «+ Νέο…» (όπως το Odoo) ── */
.wp-list button.add { color: var(--action); font-weight: 600; }
.vp-chips:empty { display: none; }
.vp-box .who-pick { margin-top: 8px; }
.vp-box .who-pick .wp-list { z-index: 30; }
/* 19/11: η κουβέντα δεν μπόρεσε να ξανανοίξει μόνη της το μικρόφωνο — το κουμπί «χτυπά» απαλά: πάτα για να συνεχίσεις */
@keyframes chat-nudge { 0% { box-shadow: 0 0 0 0 rgba(62, 92, 118, .45); } 100% { box-shadow: 0 0 0 14px rgba(62, 92, 118, 0); } }
.chat-btn.mic.nudge { animation: chat-nudge 1.2s ease-out 4; }

/* ── 19/11: κάρτα ενέργειας του βοηθού — γίνεται μόνο με «Ναι» ── */
.cha { align-self: stretch; flex-shrink: 0; border: 1px solid #DDD5EA; border-radius: var(--r-card); background: #fff; overflow: hidden; }
.cha-h { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; background: #EEEAF4; color: #4F4170; font-size: 16px; }
.cha-h b { flex: 1; min-width: 0; font-weight: 700; }
.cha-st { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cha-b { padding: 2px 14px 6px; }
.cha-r { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 1.35; }
.cha-r:first-child { border-top: 0; }
.cha-r span { flex: none; width: 70px; color: var(--ink-2); }
.cha-r b { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.cha-f { display: flex; gap: 8px; padding: 4px 12px 12px; }
.cha-f .btn { margin: 0; }
.cha-yes { flex: 1; width: auto; background: var(--done); color: #fff; }
.cha-no { flex: none; width: 50px; padding: 0; border: 1px solid var(--border); background: #fff; color: var(--ink); }
.cha-f .btn[disabled] { opacity: .5; }
.cha.done { border-color: #C5DDD0; cursor: pointer; }
.cha.done .cha-h { background: var(--done-soft); color: var(--done-ink); }
.cha.declined, .cha.expired, .cha.replaced { opacity: .6; }
.cha.declined .cha-h, .cha.expired .cha-h, .cha.replaced .cha-h { background: var(--sunken); color: var(--ink-2); }

/* 19/11: τα πεδία αναζήτησης προσώπων/συνεργείων — χωρίς το «x» και το στυλ αναζήτησης του Safari */
.wp-box input[type=search] { -webkit-appearance: none; appearance: none; }
.wp-box input[type=search]::-webkit-search-cancel-button, .wp-box input[type=search]::-webkit-search-decoration { -webkit-appearance: none; display: none; }

/* ── 19/11: πάτημα στο όνομα αρμοδίου → στοιχεία, «Κλήση», «Viber» ── */
.wsheet { min-width: 0; }
.wsheet > summary { list-style: none; cursor: pointer; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: underline dotted rgba(46,70,89,.45); text-underline-offset: 3px; }
.wsheet > summary::-webkit-details-marker { display: none; }
.wsheet[open] { position: relative; z-index: 60; }
.wsheet .fs-panel { gap: 10px; color: var(--ink); font-weight: 400; white-space: normal; }
.ws-h { display: flex; align-items: center; gap: 12px; }
.ws-av { width: 44px; height: 44px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.ws-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ws-t b { font-size: 18px; font-weight: 700; }
.ws-t small { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.ws-x { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer; }
.ws-row { display: flex; gap: 10px; align-items: baseline; padding: 10px 0 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.ws-l { width: 76px; flex: none; color: var(--ink-2); }
.ws-row b { font-weight: 600; }
.ws-none { color: var(--ink-2); font-weight: 500 !important; }
.ws-acts { display: flex; gap: 8px; }
.ws-acts .btn { flex: 1; margin: 0; }
.btn.viber { background: #7360F2; color: #fff; }

/* ── 19/11 (καμβάς 31ζ / 31η / 32): φόντο ντεγκραντέ, ομάδες με τίτλο έργου + κουτιά, Viber στον αρμόδιο, «Έλεγχος» ── */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 420px at 0% 0%, rgba(62,92,118,.34), rgba(62,92,118,0) 72%),
              radial-gradient(480px 400px at 100% 8%, rgba(107,90,138,.30), rgba(107,90,138,0) 72%),
              radial-gradient(560px 460px at 80% 100%, rgba(201,164,58,.18), rgba(201,164,58,0) 72%),
              linear-gradient(160deg, #E6E8EC 0%, #EDECEF 50%, #ECEBE6 100%); }
body { background: #EAEAEC; }
/* «Φίλτρα»: μόνο εικονίδιο, ο αριθμός πάνω δεξιά */
.fsheet > summary { position: relative; width: 46px; padding: 0; justify-content: center; }
.fsheet > summary .fcnt { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; font-size: 12px; border: 2px solid #fff; }
/* πρώτο επίπεδο: χωρίς πλαίσιο, μεγάλος τίτλος */
.grp[data-d="0"] { background: transparent; border: 0; border-radius: 0; }
.grp[data-d="0"] > .tr-h { padding: 6px 2px 8px; background: transparent; border-radius: 0; }
.grp[data-d="0"] > .tr-h.stuck { background: #ECECEF; box-shadow: 0 6px 12px -8px rgba(35,39,46,.25); margin: 0 -12px; padding-left: 14px; padding-right: 14px; }
.grp[data-d="0"] > .grp-body { padding: 0; gap: 10px; }
.th-top { gap: 10px; }
.th-top > .ic-down { order: 9; margin-left: auto; color: var(--ink-2); }
.th-sq { width: 32px; height: 32px; border-radius: 10px; background: var(--charcoal); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.th-sq.ok { background: var(--done); }
.th-top .th-av { width: 34px; height: 34px; font-size: 13px; background: #3F444C; }
.th-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tr-h[data-d="0"] .th-t .name { font-size: 17px; font-weight: 700; }
.th-i { font-size: 13px; color: var(--ink-2); font-weight: 500; }
/* δεύτερο επίπεδο: κουτί (λευκό διάφανο) με χρωματιστή ετικέτα */
.grp[data-d="1"] { --g-ink: var(--ink); background: rgba(255,255,255,.5); border: 1px solid rgba(35,39,46,.06); border-radius: 20px; }
.grp[data-d="2"], .grp[data-d="3"], .grp[data-d="4"] { --g-ink: var(--ink); background: rgba(255,255,255,.55); border: 0; border-radius: 16px; }
.grp[data-d="1"] > .tr-h, .grp[data-d="2"] > .tr-h, .grp[data-d="3"] > .tr-h { padding: 8px 8px 6px; }
.grp[data-d="1"] > .grp-body { padding: 0 8px 8px; }
.th-chip { display: inline-flex; align-items: center; gap: 6px; min-width: 0; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); }
.th-chip .name { flex: initial; font-size: 14px !important; font-weight: 700 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-chip .th-av { width: 22px; height: 22px; font-size: 10px; margin-left: -6px; }
.grp[data-field="unit"] > .tr-h .th-chip { background: #EEEAF4; color: #4F4170; }
.grp[data-field="room"] > .tr-h .th-chip { background: #E3EFEE; color: #2D5E5A; }
.grp[data-field="date"] > .tr-h .th-chip { background: var(--note-soft); color: var(--note-ink); }
.grp[data-field="reporter"] > .tr-h .th-chip { background: var(--sunken); color: #3F444C; }
.grp:not([data-d="0"]) > .tr-h .th-b > .count { min-width: 0; height: auto; padding: 0; background: transparent; font-size: 13px; font-weight: 600; color: #8A8F96; }
.grp:not([data-d="0"]) > .tr-h .th-b { gap: 6px; flex: 0 1 auto; }
.grp:not([data-d="0"]) > .tr-h .th-b > .ic-down { color: var(--ink-2); }
/* Viber στον τίτλο του αρμοδίου: μωβ εικονίδιο σε λευκό κύκλο */
.vsheet { flex: none; }
.vsheet > summary { list-style: none; cursor: pointer; }
.vsheet > summary::-webkit-details-marker { display: none; }
.vb-btn { width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--viber); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(35,39,46,.08); }
.tr-h:has(.vsheet[open]) { z-index: 50 !important; }
.vsheet .fs-panel { gap: 10px; color: var(--ink); }
.vs-ic { color: var(--viber); display: flex; }
.vopt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--border-soft); background: #fff; cursor: pointer; }
.vopt input { position: absolute; opacity: 0; pointer-events: none; }
.vopt:has(input:checked) { border: 2px solid var(--viber); background: #F3F1FE; padding: 9px 11px; }
.vo-ic { width: 38px; height: 38px; border-radius: 999px; background: #F3F1FE; color: var(--viber); display: flex; align-items: center; justify-content: center; flex: none; }
.vopt:has(input:checked) .vo-ic { background: #fff; }
.vo-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; } .vo-t b { font-size: 15px; } .vo-t small { font-size: 14px; color: var(--ink-2); }
.vseg { display: flex; gap: 6px; }
.vseg button { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font: 600 14px Inter, sans-serif; color: var(--ink); cursor: pointer; }
.vseg button.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.vprev { background: var(--bg); border-radius: 14px; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: #3F444C; white-space: pre-line; max-height: 34vh; overflow-y: auto; overflow-wrap: anywhere; }
/* κάτω μπάρα: μωβ αριθμός στις Εργασίες, κόκκινος στον Έλεγχο */
.bn-cnt.tasks { background: #6B5A8A; }
.bn-cnt.check { background: var(--urgent); }
.bnav.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bnav { background: rgba(255,255,255,.96); }
/* «Έλεγχος» */
.vn-sec-h { display: flex; align-items: center; gap: 8px; }
.ck { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.ck-h { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); } .ck-h span { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; } .ck-h i { margin-left: auto; font-style: normal; }
.ck-q { font-size: 15px; line-height: 1.4; color: #3F444C; font-style: italic; }
.ck-t { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ck-m { font-size: 14px; color: var(--ink-2); line-height: 1.35; } .ck-m b { font-weight: 600; color: var(--ink); }
.ck .btn { margin-top: 4px; }
.ck-acts { display: flex; gap: 8px; } .ck-acts .btn:first-child { flex: 1; } .ck-x { width: 50px; padding: 0; flex: none; }
.back-l { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--action); text-decoration: none; margin-bottom: 2px; }

/* ── 19/11 (καμβάς 33–33δ): Ημερολόγιο με αναζήτηση + Φίλτρα, εβδομάδα, μέρα με ώρες / περιοχές / αρμόδιους ── */
.cal-top { display: flex; align-items: center; gap: 10px; padding: 4px 4px 0; }
.cal-top h1 { flex: 1; margin: 0; font-size: 22px; font-weight: 700; }
.sync-chip { list-style: none; height: 36px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none !important; }
.sync-chip.on { background: var(--done-soft); border-color: transparent; color: var(--done-ink); }
.cal-syncs { flex: none; }
.cal-wk { display: flex; align-items: center; justify-content: space-between; margin: -2px 0 -6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cal-wk a { width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.cal-strip { gap: 5px; }
.cs-d { padding: 6px 0; border-radius: 16px; border-color: var(--border-soft); gap: 2px; }
.cs-d i { font-size: 13px; color: var(--ink-2); } .cs-d b { font-size: 16px; }
.cs-d span { min-height: 14px; background: transparent; color: var(--action); font-size: 12px; padding: 0; }
.cs-d.today { border-color: var(--action); box-shadow: none; }
.cs-d.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; } .cs-d.on i { color: #D2D4D7; } .cs-d.on span { color: #fff; }
.cal-late { background: var(--urgent-soft); border-radius: 18px; padding: 0 8px; }
.cal-late > summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 6px; font-weight: 700; color: var(--urgent); cursor: pointer; }
.cal-late > summary::-webkit-details-marker { display: none; }
.cal-late > summary .ic-down { margin-left: auto; }
.cal-late[open] { padding-bottom: 8px; } .cal-late .cal-t { margin-bottom: 6px; }
.cal-d { display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 70px; }
.cal-dh { display: flex; align-items: center; gap: 8px; margin: 6px 4px 2px; }
.cal-dh b { font-size: 18px; }
.cnt { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cal-add { margin-left: auto; width: 46px; height: 46px; border-radius: 999px; background: var(--charcoal); color: #fff; display: flex; align-items: center; justify-content: center; }
.cal-t { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: #fff; border-radius: 16px; border-left: 0; box-shadow: 0 1px 3px rgba(35,39,46,.06); color: inherit; text-decoration: none; }
.cal-t.urgent { box-shadow: inset 4px 0 0 var(--urgent), 0 1px 3px rgba(35,39,46,.06); }
.cal-t .cal-tm { width: 46px; flex: none; font-size: 14px; font-weight: 700; color: var(--action-ink); padding-top: 1px; }
.cal-b { gap: 2px; } .cal-b b { font-size: 15px; font-weight: 700; line-height: 1.3; } .cal-b small { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.cal-num { color: var(--ink-2); font-weight: 600; margin-right: 5px; }
.cal-w { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 3px; font-size: 13px; color: var(--note-ink); background: var(--note-soft); border-radius: 10px; padding: 3px 8px; }
.cal-gh { display: flex; align-items: center; gap: 8px; margin: 6px 4px 0; font-size: 15px; }
.cal-gh .th-av { width: 28px; height: 28px; font-size: 11px; }
.cal-area { background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; }
.ca-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--action-soft); color: var(--action-ink); }
.ca-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ca-t b { font-size: 16px; } .ca-t small { font-size: 14px; color: var(--ink-2); }
.ca-tag { height: 24px; padding: 0 9px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; flex: none; }
.ca-map { width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--action); display: flex; align-items: center; justify-content: center; flex: none; }
.ca-p { display: flex; align-items: center; gap: 10px; margin: 0 14px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.ca-p:first-of-type { border-top: 0; }
.ca-tm { width: 44px; flex: none; font-size: 14px; font-weight: 700; color: var(--action-ink); }
.ca-p b { flex: 1; min-width: 0; font-weight: 600; } .ca-n { font-size: 14px; color: var(--ink-2); text-align: right; }
.fopt > span { display: inline-flex; align-items: center; gap: 5px; }

/* ── 19/11: συνομιλία — μπάρες ήχου όσο μιλάς, κυκλικό φόρτωμα όσο σκέφτεται (χρώματα της εφαρμογής) ── */
.chat-state { gap: 10px; min-height: 34px; }
.chat-state > i { display: none; }
.cs-spin { display: none; width: 22px; height: 22px; border-radius: 999px; flex: none;
  background: conic-gradient(from 0deg, rgba(62,92,118,0) 0deg, #3E5C76 140deg, #6B5A8A 250deg, #C9A43A 340deg, rgba(201,164,58,0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
  animation: cs-spin .9s linear infinite; }
@keyframes cs-spin { to { transform: rotate(360deg); } }
.cs-wave { display: none; align-items: center; gap: 3px; height: 30px; }
.cs-wave i { width: 3px; height: 30px; border-radius: 99px; background: linear-gradient(180deg, #6B5A8A, #3E5C76); transform: scaleY(var(--h, .08)); transition: transform .08s linear; }
.chat-bar[data-mode=thinking] .cs-spin, .chat-bar[data-mode=hearing] .cs-spin { display: inline-block; }
.chat-bar[data-mode=listening] .cs-wave, .chat-bar[data-mode=speaking] .cs-wave { display: inline-flex; }
.chat-bar[data-mode=listening] .cs-wave i { background: linear-gradient(180deg, #C24A3C, #B03A2E); }
.chat-bar[data-mode=speaking] .cs-wave i { animation: cs-talk var(--s, 1s) ease-in-out infinite; animation-delay: var(--d, 0s); transition: none; }
@keyframes cs-talk { 0%, 100% { transform: scaleY(.15); } 30% { transform: scaleY(.85); } 60% { transform: scaleY(.4); } }
/* το κουμπί: όσο σκέφτεται / γράφει, κύκλος που γυρίζει γύρω του (όχι θαμπό) */
.chat-bar[data-mode=thinking] .chat-btn.mic[disabled], .chat-bar[data-mode=hearing] .chat-btn.mic[disabled] { opacity: 1; background: var(--action-soft); color: var(--action); }
.chat-bar[data-mode=thinking] .chat-btn.mic::after, .chat-bar[data-mode=hearing] .chat-btn.mic::after { content: ""; position: absolute; inset: -4px; border-radius: 999px;
  background: conic-gradient(from 0deg, rgba(62,92,118,0) 0deg, #3E5C76 140deg, #6B5A8A 250deg, #C9A43A 340deg, rgba(201,164,58,0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
  animation: cs-spin .9s linear infinite; }
.chm.wait { display: inline-flex; align-items: center; padding: 12px 14px; }
.chm.wait .cs-spin { display: inline-block; }
/* 19/11: «+ Νέα εργασία» δίπλα στα Φίλτρα (όχι καρτέλα κάτω) */
.new-btn { width: 46px; height: 46px; flex: none; border-radius: 999px; background: var(--charcoal); color: #fff; display: flex; align-items: center; justify-content: center; }
.new-btn:hover { color: #fff; }
/* 19/11 (33ε–33η): «Έρχεται συνεργείο» στο Ημερολόγιο */
.cal-vis > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #EEEAF4; border-radius: 16px; cursor: pointer; text-decoration: none; white-space: normal; overflow: visible; }
.cal-vis > summary::-webkit-details-marker { display: none; }
.cv-tm { width: 46px; flex: none; font-size: 13px; font-weight: 700; color: #4F4170; line-height: 1.2; }
.cv-ic { width: 32px; height: 32px; border-radius: 999px; background: #fff; color: #4F4170; display: flex; align-items: center; justify-content: center; flex: none; }
.cv-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; } .cv-b b { font-size: 15px; color: var(--ink); } .cv-b small { font-size: 14px; color: var(--ink-2); }
.ca-v { display: inline-flex; align-items: center; gap: 4px; color: #4F4170; font-weight: 600; margin-right: 6px; }
.cal-plus > summary { display: none; }
.plus-opts { display: flex; flex-direction: column; gap: 10px; }
.plus-opt { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; border: 1px solid var(--border-soft); background: #fff; color: var(--ink); text-decoration: none; text-align: left; font: inherit; cursor: pointer; width: 100%; }
.plus-opt:hover { color: var(--ink); border-color: var(--charcoal); }
.po-ic { width: 42px; height: 42px; border-radius: 14px; background: var(--action-soft); color: var(--action-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.po-t { flex: 1; display: flex; flex-direction: column; gap: 1px; } .po-t b { font-size: 16px; } .po-t small { font-size: 14px; color: var(--ink-2); }
.visit-f { display: flex; flex-direction: column; gap: 12px; }
.cv-ph { width: 36px; height: 36px; border-radius: 999px; background: #fff; color: var(--action); display: flex; align-items: center; justify-content: center; flex: none; }
/* 19/11: στο κινητό του συνεργείου — «Έρχονται επίσης» (ποιος άλλος έρχεται στο έργο, με κλήση) */
.others { display: flex; flex-direction: column; gap: 6px; }
.others .lab { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 4px; }
.oth { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(35,39,46,.06); }
.oth-d { width: 72px; flex: none; display: flex; flex-direction: column; } .oth-d b { font-size: 14px; } .oth-d small { font-size: 13px; color: var(--ink-2); }
.oth-b { flex: 1; min-width: 0; display: flex; flex-direction: column; } .oth-b b { font-size: 15px; } .oth-b small { font-size: 13px; color: var(--ink-2); }
.oth-call { width: 42px; height: 42px; border-radius: 999px; background: var(--action-soft); color: var(--action); display: flex; align-items: center; justify-content: center; flex: none; }
.ck-f { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ck-no > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--urgent); font-weight: 600; font-size: 14px; }
.ck-no > summary::-webkit-details-marker { display: none; }
.ck-no form { display: flex; flex-direction: column; gap: 8px; }

/* 19/11: αναφορά ενοίκου πριν την έγκριση — ερώτηση στον ένοικο / σημείωση γραφείου, και η συζήτηση πάνω στην κάρτα */
.ck-ask > summary { color: var(--action); }
.ck-ask textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line, #D5DCE2); border-radius: 14px; font: 400 15px/1.4 Inter, sans-serif; resize: vertical; }
.ck-notes { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px; }
.ckn { padding: 8px 12px; border-radius: 14px; background: var(--action-soft); font-size: 14px; }
.ckn.ten { background: var(--sunken); }
.ckn.off { background: #FBF3DF; }
.ckn b { font-weight: 600; }
.ckn i { font-style: normal; color: var(--ink-2); font-size: 13px; }
.ckn p { margin: 2px 0 0; font-size: 15px; }

/* 20/11: «Σύνδεση» — πριν / μαζί / μετά (τρία κουμπιά σε μία σειρά) και ετικέτα σε κάθε συνδεδεμένη */
.lk-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.lk-modes label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; cursor: pointer; }
.lk-modes label b { font-size: 15px; font-weight: 600; }
.lk-modes input { position: absolute; opacity: 0; pointer-events: none; }
.lk-modes label:has(input:checked) { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.lk-tag { flex: none; min-width: 52px; text-align: center; padding: 4px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--note-soft); color: var(--note-ink); }
.lk-tag.together { background: var(--sunken); color: var(--ink); }
.lk-tag.after { background: var(--action-soft); color: var(--action-ink); }
.lk-new { margin-top: 4px; }
.newtask .lk-ban, .lk-ban { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #F4E7E7; color: #7A3B3B; font-size: 15px; }
.lk-ban a { color: inherit; } .lk-ban b { font-weight: 600; }

/* 20/11: «Κατέβασε την εφαρμογή» — κάθε συσκευή βλέπει μόνο τα δικά της βήματα (χωρίς JS: όλα) */
.ga .ga-sec { display: none; flex-direction: column; gap: 12px; margin-bottom: 12px; }
html:not([data-dev]) .ga .ga-sec, html[data-dev=inapp] .ga [data-for=inapp], html[data-dev=ios] .ga [data-for=ios],
html[data-dev=android] .ga [data-for=android], html[data-dev=desktop] .ga [data-for=desktop] { display: flex; }
.ga-lead { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); text-align: center; }
.ga-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: ga; }
.ga-steps[hidden] { display: none; }
.ga-steps li { counter-increment: ga; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 14px 8px 10px;
  border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; font-size: 15px; line-height: 1.35; }
.ga-steps li::before { content: counter(ga); flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--charcoal); color: #fff;
  font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ga-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--sunken); color: #0A66D8; display: inline-flex; align-items: center; justify-content: center; }
.ga-steps li > span:last-child { display: block; min-width: 0; }
.ga-steps b { font-weight: 600; } .ga-steps small { display: block; font-size: 13px; color: var(--ink-2); }
.ga .ga-other { display: none; } html[data-ios-other] .ga .ga-other { display: block; } html[data-ios-other] .ga .ga-safari { display: none; }
.ga-qr { align-self: center; border-radius: 14px; background: #fff; padding: 6px; border: 1px solid var(--border-soft); }
.login-card .ga-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--action-ink); text-decoration: none; }
html.native-app .ga-link, html.standalone .ga-link { display: none; }

/* 20/11: σύρσιμο προς τα αριστερά = «Σήμερα» (όπως το «Η μέρα μου» του To Do) */
article.card.task[data-swipe] { touch-action: pan-y; -webkit-user-drag: none; }
article.card.task[data-swipe] a { -webkit-user-drag: none; -webkit-touch-callout: none; }
.sw-wrap { position: relative; }
.sw-act { position: absolute; inset: 0; border-radius: var(--r-card, 22px); background: #F3E5B5; color: #6E5310;
  display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-right: 22px; font-size: 15px; }
.sw-act .sw-sun { font-size: 22px; line-height: 1; transition: transform .15s; }
.sw-act.go { background: #E3A008; color: #fff; } .sw-act.go .sw-sun { transform: scale(1.25); }
.sw-act.already { background: var(--sunken); color: var(--ink-2); }
.sw-wrap > article.card.task { position: relative; z-index: 1; }
article.card.task.sw-today-flash .m-date { background: #FBEFC6; border-radius: 8px; transition: background .9s; }

/* 20/11: κάθε πάτημα δείχνει αμέσως ότι φορτώνει */
.nav-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 2000; background: linear-gradient(90deg, transparent, #8FB4EA 40%, #fff 60%, transparent);
  background-size: 50% 100%; background-repeat: no-repeat; animation: navBar 1.1s linear infinite; }
@keyframes navBar { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.bnav a.nav-going { opacity: .55; } a.nav-going { transition: opacity .1s; }
.nav-slow { z-index: 2001; }
@media (prefers-reduced-motion: reduce) { .nav-bar { animation: none; background: #8FB4EA; } }

/* 20/11: σημείωση που βλέπει μόνο το γραφείο, μέσα στη συνομιλία */
.cm .h .cm-int { font-size: 12px; font-weight: 600; color: var(--note-ink); background: var(--note-soft); border-radius: 999px; padding: 1px 8px; }

/* 20/11: μήνυμα που αφορά εργασία → κουμπί «Άνοιγμα #333» */
.ob-toast.has-go { flex-wrap: wrap; cursor: default; padding-right: 14px; }
.ob-toast .ob-go { flex: none; margin-left: auto; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; color: #23272E; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }

/* 20/11: τα φύλλα κλείνουν με σύρσιμο προς τα κάτω — η λαβή έχει μεγάλη περιοχή αφής, και το φύλλο δεν «τραβά» τη σελίδα */
.fs-panel { overscroll-behavior: contain; will-change: transform; }
.fs-grip { position: relative; cursor: grab; }
.fs-grip::before { content: ""; position: absolute; left: -60px; right: -60px; top: -14px; bottom: -18px; }

/* 20/11: ό,τι κρύβουν τα φίλτρα της λίστας, με ένα πάτημα για να το δεις */
.lhint { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 8px 8px 14px; margin-bottom: 10px; border-radius: var(--r-tile); background: #F4E7E7; color: #7A3B3B;
  font-size: 15px; line-height: 1.3; text-decoration: none; }
.lhint span { flex: 1; min-width: 0; } .lhint svg { flex: none; }
.lhint b { flex: none; height: 36px; padding: 0 12px; border-radius: 999px; background: #fff; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.lhint.crew { background: var(--action-soft); color: var(--action-ink); }

/* 20/11: ενεργά φίλτρα πάνω από τη λίστα */
.lfacets { margin-bottom: 10px; } .lfacets .facet { background: #fff; border: 1px solid var(--border); min-height: 38px; }
.tr-out.same { background: none; padding: 2px 0 0; font-size: 13px; color: var(--ink-2); }

/* 20/11: από εργασία σε εργασία — βελάκια και «3 / 12» δίπλα στο «Πίσω στις εργασίες» */
.thead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.thead > .back { margin: 0; }
.tnav { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.tnav[hidden] { display: none; }
.tn-b { width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.tn-b.off { opacity: .3; pointer-events: none; }
.tn-c { min-width: 50px; text-align: center; font-size: 15px; font-weight: 600; color: var(--ink-2); }
article.card.task.full { touch-action: pan-y; }

/* 20/11: ένδειξη στο σύρσιμο από εργασία σε εργασία — γεμίζει όταν «πιάσει» */
.tn-hint { position: fixed; top: 46%; z-index: 60; padding: 10px 14px; border-radius: 999px; background: rgba(43,47,54,.55); color: #fff; font-size: 15px; font-weight: 600; pointer-events: none; }
.tn-hint.next { right: 12px; } .tn-hint.prev { left: 12px; }
.tn-hint.go { background: var(--charcoal); box-shadow: 0 6px 18px rgba(35,39,46,.3); }
/* 22/11: υλικά της εργασίας — ανά επιφάνεια, με φωτογραφία, ποσότητα και κατάσταση */
.mat { flex-wrap: wrap; }
.mat-g { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 6px 2px 0; }
.mat-ph { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #fff; }
.mat-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mat .t .mq { font-size: 15px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.mat.onsite { background: var(--done-soft); } .mat.onsite .mst { color: var(--done); }
.mat.used { opacity: .7; } .mat.used .mst { color: var(--ink-2); }
.mat-st { flex: 1 0 100%; display: flex; justify-content: flex-end; margin: 0; }
.mat-st .btn.small-btn { align-self: auto; }
.mat-add-h { display: block; font-size: 15px; font-weight: 600; margin: 4px 0 8px; }
#chat-text.preview { color: var(--ink-2); }   /* 22/11: πρόχειρο κείμενο όσο μιλάς */
