/* Ergon — γραφείο · V3 (15/11/2026): ζεστό γκρι + charcoal, slate για ενέργειες, κάρτες 20px με σκιά,
   pills παντού, φόντο με ντεγκραντέ και ημιδιάφανο πάνελ, ανοιχτόχρωμη πλαϊνή μπάρα.
   Τα παλιά ονόματα (--navy, --cobalt, --ok, --bad…) μένουν ως ψευδώνυμα των νέων tokens. */
:root {
  --bg:#F5F5F3; --card:#FFFFFF; --column:#EDEDEA; --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;
  --question:#6B5A8A; --question-soft:#EEEAF4;
  --note-line:#C9A43A; --note-soft:#FBF6E6; --note-tag:#F6EDCB; --note-ink:#6B5A1E; --office:#EEF1F3;
  --viber:#7360F2;
  --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-kanban:0 1px 3px rgba(35,39,46,.04), 0 10px 28px -8px rgba(35,39,46,.14);
  --shadow-pop:0 14px 40px rgba(35,39,46,.18);
  --office-bg: radial-gradient(900px 620px at 0% 0%, rgba(62,92,118,.44), rgba(62,92,118,0) 72%),
               radial-gradient(800px 560px at 100% 0%, rgba(107,90,138,.36), rgba(107,90,138,0) 72%),
               radial-gradient(900px 640px at 85% 100%, rgba(201,164,58,.24), rgba(201,164,58,0) 72%),
               linear-gradient(160deg,#E6E8EC 0%,#EDECEF 50%,#ECEBE6 100%);
  --panel-bg:linear-gradient(180deg,rgba(226,233,240,.86) 0px,rgba(240,238,245,.88) 140px,rgba(247,247,245,.95) 340px);
  --panel-border:rgba(255,255,255,.75);
  --panel-shadow:0 1px 3px rgba(35,39,46,.05), 0 20px 48px -16px rgba(35,39,46,.18);
  --side-label:#3F444C;
  --pill-shadow:0 1px 2px rgba(35,39,46,.06), 0 4px 12px rgba(35,39,46,.06);
  /* ψευδώνυμα των παλιών ονομάτων */
  --ink2:var(--ink-2); --mute:var(--ink-2); --line2:var(--line-soft); --well:var(--sunken); --tint:var(--sunken);
  --navy:var(--charcoal); --navy-2:var(--charcoal-2); --cobalt:var(--action); --cobalt-d:var(--action-ink); --cobalt-bg:var(--action-soft); --cobalt-line:#AEB8C0;
  --gold:var(--action); --gold-d:var(--action-ink);
  --ok:var(--done); --ok-bg:var(--done-soft); --bad:var(--urgent); --bad-bg:var(--urgent-soft); --bad-line:#E7B9B3;
  --wait:var(--note-ink); --wait-bg:var(--note-soft); --note:var(--note-soft);
  --q-bg:var(--question-soft); --q-fg:var(--question);
  --stripe:var(--action); --stripe-bad:var(--urgent); --stripe-q:var(--note-line); --stripe-wait:var(--note-line); --stripe-ok:var(--done);
  --accent:var(--action); --r:var(--r-card);
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
body { margin:0; background:#E8E9EC; color:var(--ink); font:16px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--action); text-decoration: none; } a:hover { color: var(--action-ink); text-decoration: underline; }
a.btn:hover, .e-side a:hover, .topbar a:hover, .kcard:hover, .kt:hover, .app-tile:hover, .tab:hover, .seg a:hover, .side-item:hover { text-decoration: none; }
svg.ic { flex: none; vertical-align: -3px; }
h1 svg.ic, h2 svg.ic, h3 svg.ic, .btn svg.ic, .tag svg.ic { vertical-align: middle; margin-right: 4px; }
.btn svg.ic, .tag svg.ic { margin-right: 0; }
[hidden] { display:none !important; }

/* ── Το κέλυφος: ανοιχτή πλαϊνή μπάρα + ημιδιάφανο πάνελ πάνω στο ντεγκραντέ ── */
.office { min-height: 100vh; display: flex; flex-wrap: wrap; align-items: stretch; background: var(--office-bg); }
.e-side { flex: 0 0 200px; width: 200px; max-width: 200px; min-width: 0; min-height: 100vh; padding: 16px 8px 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.e-side > * { min-width: 0; max-width: 100%; }
.e-brand { display: flex; align-items: center; gap: 8px; padding: 0 4px 8px; }
.e-brand a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.e-logo { width: 32px; height: 32px; border-radius: 999px; background: var(--charcoal); color: #fff; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.e-name { font-size: 17px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.e-collapse { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--side-label); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.e-collapse:hover { background: rgba(255,255,255,.55); }
.e-label { padding: 6px 10px 4px; font-size: 13px; color: var(--side-label); white-space: nowrap; }
.e-label.gap { padding-top: 16px; }
.e-side-nav { display: flex; flex-direction: column; gap: 2px; }
.e-navs { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.side-item { height: 38px; padding: 0 10px; border-radius: 999px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; flex-shrink: 0; min-width: 0; }
.side-item svg { width: 18px; height: 18px; stroke-width: 1.8; flex: none; }
.side-item .side-n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item[aria-current="page"], .side-item.on { background: #fff; font-weight: 600; box-shadow: var(--pill-shadow); }
.side-item:hover { background: rgba(255,255,255,.55); color: var(--ink); }
.side-item.on:hover { background: #fff; }
.side-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.e-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.e-account { padding: 6px 8px; border-radius: 16px; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-width: 0; }
.e-account:hover { background: rgba(255,255,255,.55); text-decoration: none; }
.e-av { width: 36px; height: 36px; border-radius: 999px; background: var(--charcoal-2); color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.e-account > span { display: flex; flex-direction: column; min-width: 0; }
.e-account b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.e-account small { font-size: 13px; color: var(--side-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.e-panel { flex: 999 1 560px; min-width: 0; margin: 12px 12px 12px 0; border-radius: 24px; background: var(--panel-bg); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid var(--panel-border); box-shadow: var(--panel-shadow); overflow: hidden; overflow: clip; display: flex; flex-direction: column; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 24px; background: rgba(255,255,255,.55); border-bottom: 1px solid rgba(35,39,46,.07); }
.topbar .bar-app { font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.bar-menu { flex: 1 1 420px; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.bar-menu::-webkit-scrollbar { display: none; }
.bar-menu a { flex-shrink: 0; height: 40px; padding: 0 14px; border-radius: 999px; color: var(--charcoal-2); font-size: 15px; font-weight: 500; text-decoration: none; display: flex; align-items: center; white-space: nowrap; }
.bar-menu a:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.bar-menu a.on { background: var(--charcoal); color: #fff; font-weight: 600; }
.bar-menu:empty { display: none; }
.topbar .co { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); white-space: nowrap; margin-left: auto; }
.bar-out { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.bar-out:hover { background: var(--action-soft); }
/* Το περιεχόμενο απλώνει σε όλο το πάνελ (ο πίνακας kanban μεγαλώνει μαζί με το παράθυρο)· οι φόρμες μένουν στενές. */
.wrap { width: 100%; max-width: none; min-width: 0; padding: 24px; display: block; }
.wrap.narrow, .wrap.form-wrap { max-width: 1048px; margin-left: auto; margin-right: auto; align-self: center; }   /* στενή σελίδα: κουτιά και διαχωριστές στο ίδιο κεντραρισμένο πλάτος */
/* συμπτυγμένη πλαϊνή μπάρα: μόνο εικονίδια */
body.side-collapsed .e-side { flex-basis: 76px; width: 76px; max-width: 76px; padding-left: 10px; padding-right: 10px; }
body.side-collapsed .e-name, body.side-collapsed .e-label, body.side-collapsed .side-item .side-n, body.side-collapsed .side-badge,
body.side-collapsed .e-account > span { display: none; }
body.side-collapsed .e-brand { flex-direction: column; gap: 8px; padding: 0 0 10px; }
body.side-collapsed .e-collapse { margin-left: 0; }
body.side-collapsed .side-item { justify-content: center; padding: 0; width: 44px; margin: 0 auto; }
body.side-collapsed .e-account { justify-content: center; padding: 8px 0; }
@media (max-width: 760px) {
  .e-side { flex-basis: 100%; width: 100%; max-width: none; min-height: 0; padding: 12px 8px 6px; }
  .e-brand { padding: 0 6px 6px; }
  .e-collapse, .e-label, .e-side-foot { display: none; }
  .e-navs { flex-direction: row; align-items: center; gap: 2px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .e-navs::-webkit-scrollbar { display: none; }
  .e-side-nav { flex-direction: row; flex-shrink: 0; }
  .e-side-nav a { flex-shrink: 0; }
  .e-side-nav .side-badge { margin-left: 2px; }
  .e-panel { margin: 0 8px 8px; border-radius: 20px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .topbar { padding: 10px 12px; gap: 8px 10px; }
  .topbar .bar-app { font-size: 18px; }
  .bar-menu { order: 10; flex: 1 0 100%; }
  .bar-menu a { height: 38px; padding: 0 12px; font-size: 15px; }
  .topbar .nav-search { display: none; }
  .topbar .co span { display: none; }
  .wrap { padding: 14px 12px 40px; }
}

/* ── Κοινά ── */
.flash { padding: 12px 16px; border-radius: 16px; margin: 0 0 14px; font-weight: 600; }
.flash.ok { background:var(--done-soft); color:#1F5A3A; } .flash.error { background:var(--urgent-soft); color:var(--urgent); }
h1 { font-size:30px; font-weight:700; letter-spacing:-.01em; margin:0 0 4px; line-height: 1.15; } h2 { font-size:18px; font-weight:700; margin:22px 0 8px; }
.eyebrow { font-size:14px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); }
.eyebrow a { text-decoration:none; font-weight:600; color: var(--action); text-transform: none; letter-spacing: 0; font-size: 15px; }
.crumbs { font-size: 15px; color: var(--ink-2); } .crumbs a { color: var(--action); text-decoration: none; font-weight: 600; }
.head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.sub { color:var(--ink-2); font-size: 16px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; border:1px solid var(--charcoal); border-radius:999px; padding:0 18px; font:inherit; font-size:15px; font-weight:600; cursor:pointer; text-decoration:none; background:var(--charcoal); color:#fff; white-space: nowrap; }
.btn:hover { color:#fff; background:#3A3F48; border-color:#3A3F48; }
.btn.gold { background:var(--charcoal); border-color:var(--charcoal); color:#fff; }
.btn.ghost { background:#fff; color:var(--ink); border:1px solid var(--border); } .btn.ghost:hover { color:var(--action-ink); background:var(--action-soft); border-color:#AEB8C0; }
.btn.ok { background:var(--done); border-color:var(--done); } .btn.ok:hover { background:#285E45; border-color:#285E45; }
.btn.bad { background:var(--urgent); border-color:var(--urgent); } .btn.sm { min-height:36px; padding:0 12px; font-size:14px; }
.btn.lg { min-height: 48px; padding: 0 20px; font-size: 16px; }
.btn.ghost.on { border-color:var(--charcoal); background:var(--charcoal); color:#fff; }
.btn.viber { background:var(--viber); border-color:var(--viber); color:#fff; box-shadow: 0 6px 16px rgba(115,96,242,.30); } .btn.viber:hover { color:#fff; background:#6552E8; border-color:#6552E8; }
.btn.dash { background: transparent; border: 1px dashed #AEB8C0; color: var(--action); border-radius: var(--r-tile); } .btn.dash:hover { background: var(--action-soft); color: var(--action-ink); }
.card { background:var(--card); border:0; border-radius:var(--r-card); padding:16px 18px; margin-bottom:12px; box-shadow:var(--shadow-card); }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:12px; }
.kpis { display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 16px; }
.kpi { background:#fff; border:0; border-radius:var(--r-tile); padding:10px 16px; min-width:110px; box-shadow: var(--shadow-kanban); }
.kpi b { display:block; font-size:24px; } .kpi span { font-size:14px; color:var(--ink-2); } .kpi.warn b { color:var(--urgent); }
.tabs { display:flex; gap:6px; flex-wrap:wrap; margin:12px 0; }
.tab { display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:0 14px; border-radius:999px; background:#fff; border:1px solid var(--border); text-decoration:none; color:var(--ink-2); font-weight:600; font-size:15px; }
.tab:hover { color:var(--action-ink); border-color:#AEB8C0; }
.tab.on { background:var(--charcoal); color:#fff; border-color:var(--charcoal); }
table { width:100%; border-collapse:separate; border-spacing:0; background:#fff; border:0; border-radius:var(--r-tile); overflow:hidden; box-shadow: var(--shadow-kanban); }
th { text-align:left; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); padding:10px 12px; border-bottom:1px solid var(--line-soft); background:var(--sunken); }
tbody tr:hover td { background:#FAFAF8; }
td { padding:10px 12px; border-bottom:1px solid var(--sunken); vertical-align:top; }
tr:last-child td { border-bottom:0; }
.tag { display:inline-flex; align-items:center; gap:4px; min-height:24px; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; border-radius:999px; padding:0 9px; background:var(--sunken); color:var(--charcoal-2); margin-right:4px; white-space: nowrap; }
.tag.urgent { background:var(--urgent-soft); color:var(--urgent); } .tag.ok { background:var(--done-soft); color:var(--done); }
.tag.room { text-transform:none; letter-spacing:0; background:var(--action-soft); color:var(--action-ink); }
.tag.review { background:var(--note-tag); color:var(--note-ink); }
.tag.note, .tag.wait { background: var(--note-tag); color: var(--note-ink); } .tag.admin { background: var(--question-soft); color: var(--question); }
.num { color:var(--ink-2); font-size:14px; white-space:nowrap; }
.pill { display:inline-flex; align-items:center; font-size:13px; font-weight:600; min-height:22px; padding:0 9px; border-radius:999px; white-space:nowrap; }
.pill.old { background:var(--charcoal); color:#fff; } .pill.mid { border:1px solid var(--action); color:var(--action-ink); } .pill.new { background:var(--sunken); color: var(--ink-2); }
/* διαχωριστής ομάδας: γραμμή – τίτλος – γραμμή, στο κέντρο, χωρίς πλήθος */
.group-h { display:flex; align-items:center; gap:12px; margin:22px 0 10px; }
.group-h::before, .group-h::after { content:""; flex:1; min-width:16px; height:1px; background:var(--line); }
.group-h h2 { margin:0; font-size:18px; font-weight:700; white-space: nowrap; display:inline-flex; align-items:center; gap:6px; }
.group-h .when { color:var(--action); font-weight:600; font-size:15px; } .group-h .when.none { color:var(--ink-2); font-weight:400;  }
.group-h .muted { font-size: 14px; }
form.inline { display:inline; }
form p { margin:0 0 14px; } form label { display:block; font-weight:600; font-size:16px; color:var(--ink); margin-bottom:6px; }
input[type=url], input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=tel], select, textarea { width:100%; font:inherit; font-size:16px; min-height:48px; padding:10px 14px; border:1px solid var(--border); border-radius:var(--r-input); background:#fff; color:var(--ink); }
textarea { min-height: 96px; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--ink); box-shadow:0 0 0 4px var(--action-soft); }
input[type=checkbox], input[type=radio] { accent-color:var(--charcoal); width: 20px; height: 20px; }
textarea { resize:vertical; } .helptext { display:block; font-size:15px; color:var(--ink-2); margin-top:4px;  }
.errorlist { color:var(--urgent); margin:0 0 8px; padding-left:18px; font-size:14px; }
ul.cbox { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:6px 14px; }
ul.cbox label { font-weight:500; display:flex; align-items:center; gap:6px; }
/* «Συνεργάτες»: ετικέτες + αναζήτηση (partners.js) */
.pk { position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-height:48px; padding:5px 8px; border:1px solid var(--border); border-radius:var(--r-input); background:#fff; cursor:text; }
.pk:focus-within { border-color:var(--ink); box-shadow:0 0 0 4px var(--action-soft); }
.pk-chips { display:contents; }
.pk-chip { display:inline-flex; align-items:center; gap:2px; max-width:100%; padding:3px 4px 3px 12px; border-radius:999px; background:var(--action-soft); color:var(--action-ink); font-weight:600; font-size:14px; min-height: 32px; }
.pk-chip > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pk-chip.other { background:var(--note-tag); color:var(--note-ink); }
.pk-x { border:0; background:none; color:inherit; font:inherit; font-size:18px; line-height:1; width:28px; height:28px; border-radius:50%; cursor:pointer; opacity:.7; }
.pk-x:hover { opacity:1; background:rgba(0,0,0,.06); }
.pk input.pk-in { flex:1 1 140px; min-width:120px; width:auto; min-height: 0; border:0; padding:6px 4px; box-shadow:none; background:transparent; font-size:16px; }
.pk input.pk-in:focus { box-shadow:none; }
.pk-list { position:absolute; left:-1px; right:-1px; top:calc(100% + 4px); z-index:30; max-height:280px; overflow-y:auto; background:#fff; border:1px solid var(--border-soft); border-radius:16px; box-shadow:var(--shadow-pop); padding:4px; }
.pk-row { display:flex; flex-direction:column; gap:1px; padding:9px 12px; border-radius:12px; cursor:pointer; min-height:44px; justify-content:center; }
.pk-row b { font-weight:600; } .pk-row span { font-size:13px; color:var(--ink-2); }
.pk-row.other span { color:var(--note-ink); } .pk-row.new b { color:var(--action); }
.pk-row.on, .pk-row:hover { background:var(--action-soft); }
.pk-empty { padding:10px; color:var(--ink-2); font-size:14px;  }
.form-narrow { max-width:620px; }
.act { padding:10px 0; border-bottom:1px solid var(--sunken); }
.act .h { font-size:14px; color:var(--ink-2); } .act .h b { color:var(--ink); } .act img { max-width:180px; border-radius:12px; display:block; margin-top:6px; border:1px solid var(--border-soft); }
.act .vis { font-size:12px; color:var(--ink-2); margin-left:6px; }
.act-media { display:flex; flex-wrap:wrap; gap:6px; } .act-media img { width:120px; height:120px; object-fit:cover; }
.act-voice { margin-top:6px; } .act-voice audio { width:100%; max-width:420px; height:38px; }
.act-voice .vt {  margin-top:3px; }
.tr-btn { margin-top:6px; font:600 14px Inter, sans-serif; color:var(--ink); background:#fff; border:1px solid var(--border); border-radius:999px; padding:6px 12px; cursor:pointer; }
.tr-out { margin-top:6px; padding:10px 12px; border-radius:14px; background:var(--action-soft); white-space:pre-line; }
.tr-out.bad { background:var(--urgent-soft); color:var(--urgent); }
.two { display:grid; grid-template-columns: 1fr 380px; gap:18px; } @media (max-width:800px) { .two { grid-template-columns:1fr; } }
.two > * { min-width: 0; }
/* είσοδος γραφείου: charcoal σελίδα, λευκή κάρτα 28px (χωρίς πάνελ και πλαϊνή μπάρα) */
body:not(.has-side) { background: var(--charcoal); }
body:not(.has-side) > .wrap { max-width: none; padding: 0; }
.login-page { min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--charcoal); padding:20px; }
.login-card { background:#fff; border-radius:28px; padding:30px 26px 24px; width:100%; max-width:400px; box-shadow: 0 20px 48px -12px rgba(0,0,0,.45); }
.login-card h1 { text-align:center; font-size: 26px; }
.login-card .login-logo { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px; background: var(--charcoal); color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.login-card .login-sub { text-align: center; font-size: 17px; color: var(--ink-2); margin: 0 0 16px; }
.login-card form label { font-size: 16px; font-weight: 600; }
.login-card input[type=text], .login-card input[type=password] { min-height: 60px; font-size: 18px; }
.login-card .btn { width: 100%; min-height: 60px; font-size: 19px; margin-top: 4px; }
.login-card .hint, .login-card .muted.small {  text-align: center; }
.mono { font-family: ui-monospace, Menlo, monospace; }
.pins td b { font-size:17px; letter-spacing:.06em; }
.qr { width:220px; height:220px; border:1px solid var(--border-soft); border-radius:16px; background:#fff; }
pre.viber { white-space:pre-wrap; background:var(--note-soft); border:1px solid var(--border); border-radius:var(--r-input); padding:14px; font:400 17px/1.5 Inter, -apple-system, sans-serif; margin: 0; }
.muted { color:var(--ink-2); }
.row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.hint, .k-hint { font-size:15px; color:var(--ink-2); margin:0 0 12px; }
.divider { display:flex; align-items:center; gap:12px; margin:18px 0 10px; }
.divider::before, .divider::after { content:""; flex:1; min-width:16px; height:1px; background:var(--line); }
.divider h2, .divider b { margin:0; font-size:18px; font-weight:700; white-space:nowrap; }
.divider span { font-size:15px; font-weight:500; color:var(--ink-2); }
.divider.sm::before, .divider.sm::after { background: var(--line-soft); }
.divider.sm b, .divider.sm h2 { font-size:14px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); }

/* ── ειδοποιήσεις ── */
.small { font-size:14px; }
.master { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--border); border-radius:999px; padding:8px 10px 8px 16px; }
.master span { font-weight:700; color:var(--ink-2); } .master.on { border-color:var(--done); } .master.on span { color:var(--done); }
.chan-h { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:4px; } .chan-h b { font-size:17px; }
.chan.live { box-shadow: var(--shadow-card), inset 0 3px 0 var(--done); }
.qr-join { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:8px; } .qr-join > div { flex:1 1 200px; min-width:0; } .qr-join .btn { white-space:normal; } .qr-join img { width:132px; height:132px; border:1px solid var(--border-soft); border-radius:14px; flex:none; }
.add-sub { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:0 12px; align-items:start; }
.add-sub p { margin:0 0 10px; }
tr.off td { opacity:.55; }
ol.steps { padding-left:20px; margin:0 0 10px; } ol.steps li { margin-bottom:6px; }
.card-h { margin:0 0 10px; font-size:17px; display:flex; align-items:center; gap:8px; }
.way { border-top:1px solid var(--sunken); padding:12px 0; } .way:first-of-type { border-top:0; padding-top:2px; }
.way-h { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:4px; }
.tag.free { background:var(--action-soft); color:var(--action-ink); }
.devices { margin-top:10px; border:1px solid var(--border-soft); border-radius:14px; }
.dev { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 12px; border-top:1px solid var(--sunken); font-size:15px; }
.dev:first-child { border-top:0; } .dev.off span { color:var(--ink-2); }
label.pause { display:flex; align-items:center; gap:8px; margin-top:12px; font-weight:600; color:var(--ink); }
#id_events, form #id_events div { display:flex; flex-direction:column; gap:6px; } #id_events label { font-weight:500; display:flex; gap:8px; align-items:center; }
/* ── προς αποστολή ── */
.send-h { display:flex; justify-content:space-between; gap:10px; margin-bottom:8px; } .send-h b { font-size:17px; }
.send-text { font-size:15px; background:var(--sunken); white-space:pre-wrap; box-shadow: none; }
.send-actions { margin-top:10px; } .send-actions .sp { flex:1; }
.send.opened .btn.ok { box-shadow:0 0 0 3px var(--done-soft); }
.copied { margin-top:8px; }
.empty-state { text-align:center; padding:28px; } .empty-state b { display:block; font-size:18px; margin-bottom:4px; }
.send-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-top:1px solid var(--sunken); } .send-row:first-of-type { border-top:0; }
/* ── αναζήτηση στην πάνω μπάρα ── */
.nav-search { position:relative; flex:0 1 260px; min-width:160px; }
.nav-search input { width:100%; font:inherit; font-size:15px; min-height:42px; padding:0 14px 0 40px; border-radius:999px; border:1px solid var(--border); background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235F646C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 14px 50% no-repeat; color:var(--ink); }
.nav-search input::placeholder { color:var(--ink-2); } .nav-search input:focus { outline:none; border-color:var(--ink); background-color:#fff; box-shadow: 0 0 0 4px var(--action-soft); }
.nav-search .live { position:absolute; top:calc(100% + 6px); left:0; right:0; min-width:340px; background:#fff; color:var(--ink); border:1px solid var(--border-soft); border-radius:18px; box-shadow:var(--shadow-pop); z-index:60; max-height:70vh; overflow:auto; padding:6px; }
.nav-search .live .g { font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); font-weight: 600; padding:8px 12px 2px; }
.nav-search .live a { display:flex; gap:10px; align-items:center; padding:8px 12px; border-radius: 12px; text-decoration:none; color:var(--ink); }
.nav-search .live a:hover, .nav-search .live a:focus { background:var(--action-soft); outline:none; }
.nav-search .live .ic { width:30px; height:30px; border-radius: 999px; background: var(--sunken); color: var(--charcoal-2); display:inline-flex; align-items:center; justify-content:center; flex: none; } .nav-search .live .t { min-width:0; } .nav-search .live .t b { display:block; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nav-search .live .t small { color:var(--ink-2); font-size: 14px; } .nav-search .live .none { padding:10px 12px; color:var(--ink-2); font-size:14px;  }
.results .hit { display:flex; gap:12px; align-items:center; padding:10px 0; border-top:1px solid var(--sunken); text-decoration:none; color:var(--ink); }
.results .hit:first-child { border-top:0; } .results .hit .ic { width:36px; height:36px; border-radius:999px; background:var(--sunken); color:var(--charcoal-2); display:inline-flex; align-items:center; justify-content:center; flex:none; } .results .hit .t { flex:1; min-width:0; }
input[type=search] { font:inherit; font-size:16px; min-height:48px; padding:0 16px; border:1px solid var(--border); border-radius:999px; background:#fff; color:var(--ink); }
/* ── CRM ── */
.kanban { display:flex; gap:14px; overflow-x:auto; padding:4px 0 14px; align-items:flex-start; }
.kcol { flex:0 0 290px; background:var(--column); border-radius:22px; padding:12px; min-height:120px; }
.kcol.over { outline:2px dashed var(--action); outline-offset: -2px; background:var(--action-soft); } .kcol.won { background:var(--done-soft); }
.kcol-h { display:flex; justify-content:space-between; align-items:center; padding:2px 4px 10px; } .kcol-h b { font-size:16px; font-weight: 700; }
.kcol-body { display:flex; flex-direction:column; gap:10px; min-height:30px; }
.kcard { display:block; background:#fff; border:0; border-left:5px solid var(--action); border-radius:var(--r-tile); padding:12px 14px; text-decoration:none; color:var(--ink); cursor:grab; box-shadow: var(--shadow-kanban); }
.kcard.drag { opacity:.5; } .kcard:hover { box-shadow: 0 1px 3px rgba(35,39,46,.06), 0 14px 32px -8px rgba(35,39,46,.2); } .kt { font-weight:700; font-size: 16px; line-height:1.3; }
.kf { display:flex; align-items:center; gap:8px; margin-top:6px; font-size:14px; color:var(--ink-2); }
.kf .act { margin-left:auto; border-radius:50%; width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; background:var(--sunken); border: 0; padding: 0; }
.act.overdue { background:var(--urgent-soft); box-shadow:0 0 0 2px var(--urgent); } .act.today { background:var(--note-tag); box-shadow:0 0 0 2px var(--note-line); } .act.planned { background:var(--done-soft); box-shadow:0 0 0 2px var(--done); }
.kf .who { width:24px; height:24px; border-radius:50%; background:var(--charcoal); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; }
.kquick { margin-top:8px; display:flex; flex-direction:column; gap:6px; } .kquick input { font-size:14px; padding:7px 12px; min-height: 40px; }
.stagebar { display:inline-flex; gap:4px; margin:8px 0 14px; flex-wrap:wrap; padding: 4px; background: #EAEAE6; border-radius: 999px; }
.stagebar .st { font:inherit; font-size:14px; font-weight:600; border:0; background:transparent; color:var(--ink-2); padding:0 14px; min-height: 36px; border-radius: 999px; cursor:pointer; }
.stagebar .st.on { background:#fff; color:var(--charcoal); box-shadow: 0 1px 3px rgba(35,39,46,.15); } .stagebar .st.won.on { color:var(--done); } .stagebar .st.lost.on { color:var(--urgent); }
.crm-two { grid-template-columns: 1fr 460px; } @media (max-width:1000px) { .crm-two { grid-template-columns:1fr; } }
.fgrid { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; } .fgrid p.wide { grid-column:1 / -1; } @media (max-width:600px) { .fgrid { grid-template-columns:1fr; } }
.ctabs { margin:0 0 10px; } .ctabs .tab { font:inherit; font-size:14px; cursor:pointer; }
.composer p { margin:0 0 8px; }
.actrow { display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-top:1px solid var(--sunken); } .actrow:first-of-type { border-top:0; }
.actrow .t { flex:1; min-width:0; } .actrow .late { color:var(--urgent); font-weight:700; } .actrow .now { color:var(--action-ink); font-weight:700; }
.actrow.overdue { box-shadow: inset 4px 0 0 var(--urgent); padding-left:10px; }
.done-d summary { list-style:none; display:inline-block; } .done-d summary::-webkit-details-marker { display:none; }
.done-f { position:absolute; z-index:5; background:#fff; border:1px solid var(--border-soft); border-radius:18px; padding:12px; width:360px; box-shadow:var(--shadow-pop); margin-top:6px; display:flex; flex-direction:column; gap:8px; }
.done-f .row { margin:0; } .done-f select, .done-f input[type=date] { width:auto; flex:1; }
.lost-d { position:relative; } .lost-d summary { list-style:none; } .lost-d summary::-webkit-details-marker { display:none; }
.lost-d form { position:absolute; right:0; z-index:5; background:#fff; border:1px solid var(--border-soft); border-radius:18px; padding:12px; width:340px; box-shadow:var(--shadow-pop); }
.msg { padding:10px 0; border-top:1px solid var(--sunken); } .msg:first-of-type { border-top:0; }
.msg .h { font-size:14px; color:var(--ink-2); } .msg .h b { color:var(--ink); } .msg .b { margin-top:3px; white-space:pre-line; }
.msg.system .b { color:var(--ink-2); font-size:15px; } .msg.note { background:var(--note-soft); margin:0 -18px; padding:10px 18px; border-top:0; } .msg.email .b { border-left:3px solid var(--line); padding-left:10px; }
.line-row { padding:8px 0; border-top:1px solid var(--sunken); } .line-row:first-of-type { border-top:0; }
/* ── Αγορές ── */
.tag.need { background:var(--note-tag); color:var(--note-ink); }
.mat-add { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.mat-add .mp { flex:1 1 260px; } .mat-add .qty { width:80px; } .mat-add select { width:auto; } .mat-add .note { flex:1 1 160px; }
.mat-add input, .mat-add select { margin:0; font-size:15px; padding:7px 12px; min-height: 44px; }
.mp { position:relative; } .mp .mp-in { width:100%; }
.mp-list { position:absolute; top:calc(100% + 4px); left:0; right:0; z-index:20; background:#fff; border:1px solid var(--border-soft); border-radius:16px; 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:inherit; background:none; border:0; border-top:1px solid var(--sunken); padding:9px 14px; cursor:pointer; color:var(--ink); }
.mp-hit:first-child { border-top:0; } .mp-hit:hover, .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; }
.mp-new { padding:8px 14px; font-size:14px; color:var(--action-ink); background:var(--action-soft); }
table.needs { border:0; border-radius:0; box-shadow: none; } table.needs td { vertical-align:middle; } table.needs td.chk { width:28px; } table.needs td.ops { white-space:nowrap; text-align:right; }
table.needs td.ops form { display:inline; } table.needs .sup-pick { font-size:13px; padding:4px 8px; width:auto; min-height: 36px; margin-right:4px; }
table.needs tr.st-bought td { opacity:.7; } table.needs tr.st-cancelled td { opacity:.5; text-decoration:line-through; }
.bulkbar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; position:sticky; bottom:8px; box-shadow:0 10px 30px rgba(35,39,46,.18); }
.need-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; padding:8px 0; border-bottom:1px solid var(--sunken); }
.need-row .tag { margin-left:auto; } .need-row form.inline { display:inline; }
/* ── Βοηθός AI ── */
.meter { height:8px; border-radius:999px; background:var(--sunken); overflow:hidden; margin:0 0 10px; } .meter span { display:block; height:100%; background:var(--action); }
table.ai-rows input[type=number] { font:inherit; font-size:14px; padding:6px 10px; min-height: 40px; border:1px solid var(--border); border-radius:12px; }

/* ── Αρχική: πλέγμα εφαρμογών ── */
.apps-h { margin: 6px 0 18px; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 22px 12px; max-width: 900px; }
.app-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); position: relative; padding: 8px 0; border-radius: 20px; }
.app-tile:hover { background: rgba(255,255,255,.6); }
.app-ic { width: 72px; height: 72px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-kanban); display: flex; align-items: center; justify-content: center; color: var(--c, var(--action)); }
.app-tile:hover .app-ic { box-shadow: 0 10px 28px -6px rgba(35,39,46,.22); transform: translateY(-1px); }
.app-n { font-size: 15px; font-weight: 600; text-align: center; }
.app-tile .cnt { position: absolute; top: 2px; left: calc(50% + 24px); min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* ── Έργο: γραμμή εργαλείων + kanban ── */
.ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.ctl .sp { flex: 1; }
.k-filter { flex: 1 1 260px; max-width: 420px; }
.seg { display: inline-flex; align-items: center; gap: 4px; background: #EAEAE6; border: 0; border-radius: 999px; padding: 4px; }
.seg a, .seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; text-decoration: none; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.seg a.on, .seg button.on { background: #fff; color: var(--charcoal); box-shadow: 0 1px 3px rgba(35,39,46,.15); }
.seg-l { font-size: 13px; color: var(--ink-2); padding: 0 6px; }
.seg.views { margin-left: auto; }
.kanban { min-height: 60vh; }
.tb .kcol, .pj .kcol { display: flex; flex-direction: column; max-height: calc(100vh - 220px); padding: 12px; }
.kcol-h { position: sticky; top: 0; z-index: 2; background: var(--column); border-radius: 12px; }
.kcol-t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.kcol-t b { font-size: 16px; font-weight: 700; } .kcol-t span { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.kcol-t::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #A6A9AD; flex: none; }
.kcol[data-stage=open] .kcol-t::before, .kcol.pj-active .kcol-t::before { background: var(--action); }
.kcol[data-stage=waiting] .kcol-t::before, .kcol.pj-handover .kcol-t::before { background: var(--note-line); }
.kcol[data-stage=done] .kcol-t::before, .kcol.pj-done .kcol-t::before { background: var(--done); }
.kanban[data-group]:not([data-group=stage]) .kcol-t::before { display: none; }
.kcol-add { margin-left: auto; width: 32px; height: 32px; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 18px; flex: none; }
.kcol-add:hover { background: var(--action-soft); color: var(--action-ink); text-decoration: none; }
.kbar { display: flex; height: 4px; border-radius: 3px; overflow: hidden; background: #DADAD6; margin-top: 8px; }
.kbar i { display: block; height: 100%; } .kbar .ok { background: var(--done); } .kbar .nodate { background: var(--note-line); } .kbar .late { background: var(--urgent); }
.kcol-b { padding: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.kcard { display: flex; flex-direction: column; gap: 6px; cursor: grab; }
.kcard.drag { opacity: .45; }
.kcard.urgent { border-left-color: var(--urgent); } .kcard.review, .kcard.waiting { border-left-color: var(--note-line); }
.kcard.done { border-left-color: var(--done); background: #FAFCFB; }
.kcard.done .kt { color: var(--ink-2); text-decoration: line-through; font-weight: 500; }
.kt { color: var(--ink); text-decoration: none; }
.kt:hover { color: var(--action); }
.km { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.km b { color: var(--ink); font-weight: 700; }
.ktags:empty { display: none; }
.kd { font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; } .kd.late { color: var(--urgent); font-weight: 700; }
.kf { display: flex; align-items: center; gap: 10px; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--sunken); font-size: 14px; color: var(--ink-2); }
.kf .sp { flex: 1; }
.kstar { color: #C9CED8; display: inline-flex; } .kstar.on { color: var(--note-line); } .kstar.on svg { fill: var(--note-line); }
.av { width: 28px; height: 28px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 0; }
.av + .av { margin-left: -6px; }
.av.none { background: var(--urgent-soft); color: var(--urgent); }
.kempty, .k-empty { color: var(--ink-2); text-align: center; padding: 14px 0; font-size: 15px;  }

/* ── Οθόνη εργασιών: αναζήτηση-pill με φίλτρα μέσα, κουμπί «Φίλτρα» με πλήθος ── */
.sbar { position: relative; flex: 1 1 420px; min-width: 0; max-width: 820px; display: flex; gap: 10px; align-items: flex-start; }
.sbox { flex: 1 1 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 52px; padding: 6px 8px 6px 16px; background: #fff; border: 1px solid var(--border); border-radius: 999px; cursor: text; min-width: 0; }
.sbox:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--action-soft); }
.sbox input[type=search] { flex: 1 1 160px; min-width: 100px; min-height: 36px; border: 0; outline: 0; background: none; padding: 0 4px; font: inherit; font-size: 15px; box-shadow: none; border-radius: 0; }
.s-ico { color: var(--ink-2); display: inline-flex; }
.facet { display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 4px 0 12px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.facet a { color: inherit; text-decoration: none; width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; opacity: .75; }
.facet a:hover { background: #fff; opacity: 1; }
.facet.q { background: var(--note-tag); color: var(--note-ink); }
.facet.grp { background: #EAEAE6; color: var(--ink); }
.s-toggle { flex: none; min-height: 52px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.s-toggle:hover, .s-toggle[aria-expanded=true] { background: var(--action-soft); border-color: #AEB8C0; color: var(--action-ink); }
.s-cnt { 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; }
.s-sug, .s-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: #fff; border: 1px solid var(--border-soft); border-radius: 20px; box-shadow: var(--shadow-pop); }
.s-sug { padding: 6px; display: flex; flex-direction: column; right: auto; min-width: min(480px, 100%); }
.s-it { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.s-it b { color: var(--ink); } .s-it.on, .s-it:hover { background: var(--action-soft); } .s-it.ai { color: var(--question); border-top: 1px solid var(--line-soft); border-radius: 0 0 12px 12px; }
.s-msg { margin-top: 6px; font-size: 14px; color: var(--ink-2);  position: absolute; top: 100%; left: 16px; } .s-msg.bad { color: var(--urgent); font-style: normal; font-weight: 600; }
.s-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr); min-width: min(760px, calc(100vw - 32px)); }
.sp-col { min-width: 0; } .sp-sec select { min-width: 0; max-width: 100%; }
.sp-col { padding: 14px 16px 16px; } .sp-col + .sp-col { border-left: 1px solid var(--line-soft); }
.sp-col h4 { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal-2); display: flex; align-items: center; gap: 8px; }
.sp-col h4::before, .sp-col h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sp-col h4 svg { display: none; }
.sp-sec { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; } .sp-sec + .sp-sec { border-top: 1px solid var(--line-soft); }
.sp-sec > a, .sp-fav > a { min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; position: relative; }
.sp-sec > a:hover, .sp-fav > a:hover { background: var(--action-soft); border-color: #AEB8C0; text-decoration: none; }
.sp-sec > a.on, .sp-fav > a.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.sp-sec > a.on:before, .sp-fav > a.on:before { content: "✓ "; font-weight: 700; }
.sp-sec > a.off { opacity: .4; pointer-events: none; }
.sp-sec select { margin: 3px 0; padding: 0 12px; font-size: 14px; min-height: 40px; border-radius: 999px; width: auto; flex: 1 1 140px; }
.sp-fav { display: flex; align-items: center; gap: 4px; width: 100%; } .sp-fav > a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-fav form { display: inline-flex; margin: 0; }
.sp-fav button { border: 0; background: none; width: 32px; height: 32px; border-radius: 999px; color: #C9CED8; cursor: pointer; font-size: 14px; }
.sp-fav button:hover { background: var(--sunken); color: var(--ink-2); } .sp-fav button.on { color: var(--note-line); }
.sp-none { font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.sp-save { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.sp-l { font-size: 14px; font-weight: 600; color: var(--ink-2); } .sp-save input[type=text] { padding: 0 12px; font-size: 14px; min-height: 40px; }
.sp-chk { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; font-weight: 500; }
.seg.views a { gap: 6px; }

/* μικρές κάρτες και στενές στήλες, ώστε να χωρούν πολλοί αρμόδιοι στην οθόνη */
.kanban.tb { gap: 14px; min-height: 62vh; }
.tb .kcol { flex: 0 0 300px; max-height: calc(100vh - 230px); }
.tb .kcol-h { display: block; padding: 2px 4px 8px; }
.tb .kcol-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tb .kcol-t span { margin-left: 0; } .tb .kcol-add { width: 32px; height: 32px; }
.kcol-t .kav { width: 32px; height: 32px; border-radius: 999px; background: #fff; color: var(--action); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tb .kcol-b { padding: 0; gap: 10px; }
.tb .kcard { padding: 12px 14px; gap: 6px; }
.tb .kt { font-size: 16px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tb .km { font-size: 14px; }
.kchips { display: flex; flex-wrap: wrap; gap: 6px; } .kchips:empty { display: none; }
.kchips .tag { margin: 0; font-size: 13px; min-height: 24px; padding: 0 9px; }
.chip { display: inline-flex; align-items: center; min-height: 26px; font-size: 14px; font-weight: 600; padding: 0 10px; border-radius: 999px; background: var(--sunken); color: var(--ink); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip.bad { background: var(--urgent-soft); color: var(--urgent); } .chip.q { background: var(--question-soft); color: var(--question); } .chip.wait { background: var(--note-tag); color: var(--note-ink); }
.chip.ok { background: var(--done-soft); color: var(--done); } .chip.co { background: var(--action-soft); color: var(--action-ink); }
.tb .kf { gap: 10px; min-height: 34px; }
.knum { font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.tb .kd { font-size: 14px; } .tb .pill { font-size: 13px; padding: 0 8px; }
.kdone { margin-left: auto; min-height: 34px; padding: 0 12px 0 8px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.kdone::before { content: ""; width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--charcoal-2); flex: none; }
button.kdone:hover { background: var(--action-soft); border-color: #AEB8C0; }
.kdone.ok { background: var(--done); border-color: var(--done); color: #fff; cursor: default; } .kdone.ok::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B4F' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.kdone.ok svg { display: none; }
@media (max-width: 760px) {
  .sbar { flex-basis: 100%; max-width: none; order: 5; flex-wrap: wrap; }
  .s-toggle { flex: 1 1 100%; justify-content: center; }
  .s-panel { grid-template-columns: 1fr; min-width: 0; max-height: 70vh; overflow-y: auto; }
  .sp-col + .sp-col { border-left: 0; border-top: 1px solid var(--line-soft); }
  .tb .kcol { flex-basis: 82vw; }
}

/* ── Αγορές: παραγγελίες, ανταλλακτικά ── */
.tag.part { background:var(--question-soft); color:var(--question); text-transform:none; letter-spacing:0; }
.tag.po-draft { background:var(--sunken); color:var(--ink-2); } .tag.po-sent { background:var(--action-soft); color:var(--action-ink); }
.tag.po-received { background:var(--done-soft); color:var(--done); } .tag.po-cancelled { background:var(--urgent-soft); color:var(--urgent); }
.po-steps { display:inline-flex; gap:4px; margin:2px 0 14px; padding:4px; border-radius:999px; background:#EAEAE6; }
.po-step { padding:0 16px; min-height:36px; display:inline-flex; align-items:center; border-radius:999px; font-size:14px; font-weight:600; color:var(--ink-2); }
.po-step.on { background:#fff; color:var(--charcoal); box-shadow:0 1px 3px rgba(35,39,46,.15); } .po-step.on.bad { color:var(--urgent); }
table.po-lines { border:0; box-shadow:none; } table.po-lines td { vertical-align:middle; } table.po-lines tfoot td { border-top:1px solid var(--line-soft); background:var(--sunken); }
table.po-lines tr.st-bought td { opacity:.75; }
.price-in { width:96px !important; padding:5px 10px !important; min-height: 40px !important; font-size:14px; }
.mp-hit .code { color:var(--ink-2); font-family:ui-monospace, Menlo, monospace; font-size:12px; margin-left:6px; }
.mp-hit .part { font-size:11px; background:var(--question-soft); color:var(--question); border-radius:999px; padding:1px 7px; margin-left:6px; }
table.po-lines td:nth-child(6), table.po-lines tfoot td { white-space:nowrap; }

/* ── Κινητό (iPhone): τίποτα δεν φαρδαίνει τη σελίδα ── */
@media (max-width: 760px) {
  body { font-size: 17px; }
  h1 { font-size: 22px; }
  .head { align-items: flex-start; }
  .head > .row, .head > form.row { flex-wrap: wrap; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  table th, table td { white-space: nowrap; }
  table td b, table td .muted { white-space: normal; }
  .kpis { gap: 8px; } .kpi { min-width: 0; flex: 1 1 30%; }
  .seg.views { margin-left: 0; }
  .kanban { margin: 0 -12px; padding: 0 12px 16px; }
  .kcol { flex-basis: 82vw; }
  .po-steps { display: flex; } .po-step { flex: 1; justify-content: center; padding: 0 8px; }

  /* λίστα αγορών και γραμμές παραγγελίας: κάρτες */
  table.needs, table.needs tbody, table.needs tr, table.needs td,
  table.po-lines, table.po-lines tbody, table.po-lines tr, table.po-lines td { display: block; width: auto; white-space: normal; overflow: visible; }
  table.needs tr, table.po-lines tbody tr { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--sunken); }
  table.po-lines tbody tr { padding-left: 0; }
  table.needs tr:last-child, table.po-lines tbody tr:last-child { border-bottom: 0; }
  table.needs td, table.po-lines td { border: 0; padding: 2px 0; }
  table.needs td.chk { position: absolute; left: 0; top: 12px; }
  table.needs td.ops { display: flex; flex-wrap: wrap; gap: 6px; text-align: left; white-space: normal; padding-top: 8px; }
  table.needs td.ops form { display: contents; }
  table.po-lines thead { display: none; }
  table.po-lines td:empty { display: none; }
  table.po-lines tbody td:nth-child(2):before { content: "Κωδικός "; color: var(--ink-2); font-family: inherit; }
  table.po-lines tfoot td { margin-right: 8px; }
  table.po-lines tfoot, table.po-lines tfoot tr { display: block; }
  table.po-lines tfoot td { display: inline-block; border: 0; background: none; }
  table.po-lines td:nth-child(3), table.po-lines td:nth-child(5), table.po-lines td:nth-child(6), table.po-lines td:nth-child(7) { display: inline-block; vertical-align: middle; margin: 4px 12px 0 0; }
  table.po-lines td:nth-child(3) { font-weight: 600; }
  table.po-lines tbody tr:hover td { background: none; }
  .bulkbar { bottom: 0; margin: 0 -12px; border-radius: 0; }
  .mat-add .mp { flex-basis: 100%; }
}

/* ── Έργα: kanban ανά στάδιο, άδεια στάδια «μαζεμένα» ── */
.pj-flash { display:flex; align-items:center; gap:8px; text-decoration:none; }
.pj-flash:hover { text-decoration:none; filter:brightness(.98); }
.kanban.pj { min-height: 0; align-items: stretch; }
.pj .kcol { flex: 1 1 300px; min-width: 270px; max-height: none; }
.pj .kcol:not(.folded) .kcol-b { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 10px; align-content: start; overflow: visible; }   /* το στάδιο που έχει έργα απλώνει: κάρτες 2 (ή περισσότερες) στη σειρά */
.pj .kcol-b > .k-empty { grid-column: 1 / -1; }
.pj .kcol-h { border-top: 0; }
.pcard { border-left: 5px solid var(--action); gap: 8px; padding: 14px; }
.pcard.urgent { border-left-color: var(--urgent); }
.pj-done .pcard { border-left-color: var(--done); opacity: .85; }
.pcard .kt { color: var(--ink); font-size: 17px; text-decoration: none; }
.pcard .kt:hover { color: var(--action); text-decoration: none; }
.pc-addr { font-size: 15px; color: var(--ink-2); margin-top: -4px; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-prog { height: 6px; border-radius: 999px; background: var(--sunken); overflow: hidden; }
.pc-prog i { display: block; height: 100%; background: var(--action); border-radius: 999px; }
.pj-done .pc-prog i { background: var(--done); }
.pc-prog.sm { width: 90px; display: inline-block; vertical-align: middle; margin-right: 6px; }
.pc-meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-top: -2px; }
.pc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-top: 1px solid var(--sunken); padding-top: 8px; margin-top: 2px; }
.pc-acts a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.pc-acts a:hover { background: var(--action-soft); border-color: #AEB8C0; color: var(--action-ink); text-decoration: none; }
.pc-acts .pc-main { padding: 0 14px; background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.pc-acts .pc-main:hover { background: #3A3F48; border-color: #3A3F48; color: #fff; }
.pj-list select { font: inherit; font-size: 14px; padding: 0 10px; min-height: 36px; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.pj-list .nowrap { white-space: nowrap; } .late { color: var(--urgent); }
/* άδειο στάδιο: λωρίδα 56px με το όνομα κάθετα (board.js) */
.kcol.folded { flex: 0 0 56px; min-width: 56px; max-width: 56px; min-height: 240px; border: 0; border-radius: 22px; background: rgba(237,237,234,.75); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; color: var(--ink); overflow: hidden; }
.kcol.folded .kcol-h { position: static; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kcol.folded .kcol-t { flex-direction: column; gap: 10px; }
.kcol.folded .kcol-t::before { width: 10px; height: 10px; }
.kcol.folded .kcol-t > span:not(.kcol-chev):not(.kav) { min-width: 26px; height: 26px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; margin: 0; }
.kcol.folded .kcol-t b { writing-mode: vertical-rl; font-size: 15px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; overflow: visible; }
.kcol.folded .kcol-add, .kcol.folded .kbar, .kcol.folded .kcol-b, .kcol.folded .kcol-chev, .kcol.folded a.call, .kcol.folded .kav { display: none; }
/* CRM · Pipeline: η ίδια μορφή με τα Έργα (.kanban.pj) — εδώ μόνο ό,τι έχει παραπάνω η ευκαιρία */
.kcol.folded .kquick, .kcol.folded .kcol-v { display: none; }
.kcol.pj-won .kcol-t::before { background: var(--done); } .pj-won .pcard { border-left-color: var(--done); }
.kcol-t .kcol-v { white-space: nowrap; }
button.kcol-add { border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.kanban.crm .kcol-b { min-height: 30px; }
.kanban.crm a.pcard { color: var(--ink); } .kanban.crm a.pcard:hover .kt { color: var(--action); }
.kanban.crm .pcard .kf { margin-top: auto; } .kanban.crm .kf .act { margin-left: 0; }
.lead-v { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.kanban.crm .kquick { margin-top: 10px; max-width: 420px; }
.kanban.crm .kquick input[name=title] { border-style: dashed; border-color: #AEB8C0; border-radius: var(--r-tile); background: transparent; font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 14px; }
.kanban.crm .kquick input[name=title]::placeholder { color: var(--action); opacity: 1; }
.kanban.crm .kquick input[name=title]:focus { border-style: solid; background: #fff; }
.kanban.crm .kquick input[name=contact_name] { min-height: 44px; font-size: 15px; background: #fff; } .kanban.crm .kquick .btn { align-self: flex-start; }
.kquick .kq-l { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 2px 2px -2px; } .kquick .kq-l .muted { font-weight: 400; }
/* αστέρια προτεραιότητας: γεμίζουν όσα λέει η προτεραιότητα */
.stars { display: inline-flex; gap: 1px; color: #C9CED8; letter-spacing: 0; }
.stars.s1 svg:nth-child(-n+1), .stars.s2 svg:nth-child(-n+2), .stars.s3 svg { color: var(--note-line); fill: var(--note-line); }
/* ροή: τελευταία από συνεργεία & διαμερίσματα — πλωτές κάρτες με αρχικά */
.pj-recent { padding: 0; background: none; box-shadow: none; display: flex; flex-direction: column; gap: 10px; }
.pj-recent .pr { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border-radius: var(--r-tile); box-shadow: var(--shadow-kanban); color: var(--ink); text-decoration: none; position: relative; border: 0; margin: 0; }
.pj-recent .pr:hover { text-decoration: none; }
.pj-recent img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; flex: none; }
.pj-recent .pr > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pj-recent .h { font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } .pj-recent .h b { color: var(--ink); font-size: 16px; } .pj-recent .t { font-size: 16px; line-height: 1.45; }
.pj-recent .pr-go { color: inherit; text-decoration: none; }
.pj-recent .pr-go::after { content: ""; position: absolute; inset: 0; }
.pj-recent .pr-av { width: 40px; height: 40px; border-radius: 999px; background: var(--action-soft); color: var(--action); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pj-recent .ctx { font-size: 14px; color: var(--ink-2); }
.pj-recent .pr > a.call { width: auto; height: 40px; padding: 0 14px; margin: 0; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--done); font-size: 15px; font-weight: 600; gap: 6px; }
.pj-recent .pr > a.call::after { content: "Κλήση"; }
.chan-h b, .way-h b, .card-h { display: inline-flex; align-items: center; gap: 8px; }
/* Κείμενο Viber (4.12) */
.vb-page { max-width: 560px; display: flex; flex-direction: column; gap: 12px; }
.vb-card { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.vb-card .divider { margin: 0; }
.vb-text { width: 100%; min-height: 300px; border: 1px solid var(--border); border-radius: var(--r-input); padding: 14px; background: var(--note-soft); color: var(--ink); font: 400 15px/1.5 Inter, sans-serif; resize: vertical; }
.vb-reset { align-self: flex-start; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--action); font: 600 15px Inter, sans-serif; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.vb-pill .ic-chat, .pc-acts .ic-chat { color: var(--viber); }
.vb-acts { display: flex; flex-direction: column; gap: 8px; }
.vb-acts .btn { width: 100%; min-height: 50px; font-size: 17px; gap: 10px; } .vb-acts .btn.viber { min-height: 52px; }
.vb-ok { margin: 0; background: var(--done-soft); color: #1F5A3A; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.4; } .vb-ok span { flex: 1; }
.vb-card { padding: 16px; } .vb-card .divider.sm b { font-size: 13px; }
.vb-crew { min-height: 50px; border-radius: 16px; padding: 0 14px; font-weight: 600; font-size: 17px; }
.vb-tiles { display: flex; flex-direction: column; gap: 8px; }
.vb-tile { min-height: 50px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-tile); background: #fff; color: var(--ink); font-size: 16px; font-weight: 500 !important; display: flex !important; align-items: center; gap: 12px; margin: 0 !important; cursor: pointer; position: relative; }
.vb-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vb-box { width: 26px; height: 26px; border-radius: 6px; border: 2px solid var(--border); background: #fff; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.vb-tile:has(input:checked) { background: var(--action-soft); border-color: #AEB8C0; }
.vb-tile:has(input:checked) .vb-box { background: var(--action); border-color: var(--action); }
.vb-tile:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.us-ai-b svg { margin-right: 0; }

/* ── CRM: σελίδα ευκαιρίας ── */
.ld { max-width: 1480px; margin: 0 auto; }
.ld-crumb { font-size: 14px; color: var(--ink-2); margin-bottom: 4px; } .ld-crumb a { color: var(--ink-2); font-weight: 500; }
.ld-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.ld-title { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.ld-title h1 { margin: 0; font-size: 26px; color: var(--ink); }
.ld-ic { color: var(--charcoal); display: inline-flex; }
.ld-acts { display: flex; align-items: center; gap: 8px; }
.ld-acts .btn, .ld .btn { display: inline-flex; align-items: center; gap: 7px; }
.btn.ico { padding: 0 10px; }
.stg { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; min-height: 36px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); border: 1px solid #AEB8C0; }
.stg::-webkit-details-marker { display: none; }
.stg.won { background: var(--done-soft); color: var(--done); border-color: #BFDCC9; } .stg.lost { background: var(--urgent-soft); color: var(--urgent); border-color: #E7B9B3; }
details.pop { position: relative; } details.pop > summary { list-style: none; } details.pop > summary::-webkit-details-marker { display: none; }
.pop-b { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--border-soft); border-radius: 18px; padding: 6px; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; }
.pop.right .pop-b { left: auto; right: 0; }
.pop-h { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 6px 12px 4px; }
.pop-i { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; font: inherit; font-size: 15px; color: var(--ink); background: none; border: 0; border-radius: 12px; padding: 9px 12px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.pop-i:hover { background: var(--sunken); color: var(--ink); text-decoration: none; } .pop-i.on { font-weight: 600; color: var(--action-ink); } .pop-i .ic-check { margin-left: auto; }
.pop-i.danger { color: var(--urgent); } .pop-i .ic { color: var(--ink-2); flex: none; } .pop-i.danger .ic { color: var(--urgent); }
.pop-sep { height: 1px; background: var(--line-soft); margin: 5px 4px; }
.pop-lost { padding: 6px 12px 8px; display: flex; flex-direction: column; gap: 6px; } .pop-lost label { margin: 0; font-size: 13px; }
.pop-lost input { font: inherit; font-size: 15px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 12px; min-height: 40px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--action); flex: none; } .dot.won { background: var(--done); } .dot.lost { background: var(--urgent); }
.ld-strip { display: flex; flex-wrap: wrap; align-items: center; background: #fff; border: 0; border-radius: var(--r-card); padding: 12px 8px; margin-bottom: 14px; font-size: 15px; color: var(--ink-2); box-shadow: var(--shadow-kanban); }
.ld-strip > span { display: inline-flex; align-items: center; gap: 7px; padding: 2px 16px; border-left: 1px solid var(--line-soft); }
.ld-strip > span:first-child { border-left: 0; } .ld-strip b { color: var(--ink); font-weight: 600; } .ld-strip .ic { color: var(--action); }
.ld-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: 16px; align-items: start; }
.ld-card { padding: 18px; margin-bottom: 16px; border-radius: var(--r-card); }
.ld-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ld-ch h2 { margin: 0; font-size: 18px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.ld-ch h2 .ic { color: var(--action); }
.cnt { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sunken); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.ld-desc { line-height: 1.55; } .ld-addr { margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.ld-edit { margin-top: 4px; } .ld-edit input, .ld-edit select, .ld-edit textarea { width: 100%; }
.ld-tabs { display: flex; gap: 4px; margin: 2px 0 12px; padding: 4px; background: #EAEAE6; border-radius: 999px; width: max-content; max-width: 100%; }
.ld-tabs button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 15px; font-weight: 600; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.ld-tabs button.on { background: #fff; color: var(--charcoal); box-shadow: 0 1px 3px rgba(35,39,46,.15); }
.mf { display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 8px; margin-bottom: 8px; }
.mf label { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); text-align: right; }
.mf input { grid-column: 2; width: 100%; min-width: 0; font: inherit; font-size: 15px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.mf input:focus, .call textarea:focus, .call select:focus, .call input:focus, .note-f textarea:focus, .ai-ask input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--action-soft); background: #fff; }
.mf[data-row] input { grid-column: 2 / -1; }
.mf-t { font: inherit; font-size: 14px; color: var(--ink-2); background: none; border: 0; padding: 4px 8px; cursor: pointer; border-radius: 999px; } .mf-t:hover { background: var(--sunken); color: var(--action); }
.ed { border: 1px solid var(--border); border-radius: var(--r-input); background: #fff; margin-top: 4px; }
.ed:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--action-soft); }
.ed-area { min-height: 210px; max-height: 520px; overflow-y: auto; padding: 12px 14px; outline: none; line-height: 1.55; resize: vertical; }
.ed-area:empty::before { content: attr(data-ph); color: var(--ink-2);  }
.ed-area ul, .ed-area ol { margin: 4px 0; padding-left: 22px; }
.ed-plain textarea { width: 100%; border: 0; background: transparent; padding: 12px 14px; font: inherit; min-height: 200px; }
.ed-files { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 8px; }
.ed-bar { display: flex; align-items: center; gap: 2px; padding: 8px 10px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.ed-bar > button:not(.btn), .ed-att { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 0; background: none; color: var(--ink-2); cursor: pointer; font: inherit; font-size: 15px; margin: 0; }
.ed-bar > button:not(.btn):hover, .ed-att:hover { background: var(--action-soft); color: var(--action-ink); }
.ed-sep { width: 1px; height: 20px; background: var(--line); margin: 0 5px; } .ed-bar .sp { flex: 1; } .ed-bar .btn { margin-left: 6px; }
.ed-note { font-size: 14px; color: var(--ink-2); margin-top: 7px;  } .ed-draft { color: var(--done); font-weight: 600; }
.call-row { display: grid; grid-template-columns: 1fr 170px; gap: 12px; }
.call select, .call input, .call textarea { width: 100%; font: inherit; font-size: 15px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.ld-hist { border-top: 1px solid var(--line-soft); margin-top: 18px; padding-top: 16px; }
.ld-filt { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ld-filt button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink-2); cursor: pointer; }
.ld-filt button span { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.ld-filt button.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; } .ld-filt button.on span { color: #C9D2E3; }
.tl-list { position: relative; }
.tl { position: relative; display: flex; gap: 12px; padding-bottom: 10px; }
.tl::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: -2px; width: 2px; background: var(--line-soft); }
.tl:last-child::before { display: none; }
.tl-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sunken); color: var(--ink-2); position: relative; z-index: 1; margin-top: 6px; }
.k-email .tl-dot { background: var(--action-soft); color: var(--action); } .k-call .tl-dot { background: var(--done-soft); color: var(--done); }
.k-system .tl-dot { width: 30px; height: 22px; margin-top: 2px; background: #fff; border: 1px solid var(--border-soft); }
.tl-card { flex: 1; min-width: 0; display: flex; gap: 12px; background: var(--sunken); border: 0; border-radius: 16px; padding: 12px 14px; }
.tl-sys { flex: 1; font-size: 14px; color: var(--ink-2); padding: 3px 0 4px; }
.av { flex: none; }
.av.t0 { background: var(--action-soft); color: var(--action-ink); } .av.t1 { background: var(--question-soft); color: var(--question); }
.av.t2 { background: var(--done-soft); color: var(--done); } .av.t3 { background: #E3E8F0; color: var(--charcoal-2); }
.tl-b { flex: 1; min-width: 0; }
.tl-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.tl-h b { color: var(--ink); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; min-height: 24px; padding: 0 9px; border-radius: 999px; letter-spacing: .04em; }
.badge.co { background: var(--action-soft); color: var(--action-ink); } .badge.ok { background: var(--done-soft); color: var(--done); }
.tl-d { margin-left: auto; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.tl-more summary { cursor: pointer; width: 28px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.tl-more summary:hover { background: #fff; }
.tl-s { font-weight: 700; font-size: 15px; margin-top: 1px; }
.tl-t { font-size: 14px; color: var(--ink-2); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.tl-t.open { display: block; color: var(--ink); }
.tl-m { font-size: 13px; color: var(--ink-2); margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.tl-empty { padding: 6px 0 4px; }
.ai-h { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; } .ai-h h2 { margin: 0; font-size: 18px; color: var(--ink); }
.ai-ic { color: var(--action); display: inline-flex; }
.ai-off { background: var(--sunken); border: 1px dashed #AEB8C0; border-radius: 16px; padding: 12px 14px; font-size: 15px; color: var(--ink-2); line-height: 1.5;  }
.ai-sec { border-top: 1px solid var(--line-soft); padding: 10px 0; } .ai-sec:first-of-type { border-top: 0; padding-top: 0; }
.ai-t { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; } .ai-t .ic { color: var(--action); }
.ai-sum { margin: 0; padding-left: 40px; font-size: 15px; line-height: 1.5; }
.ai-reply { background: var(--sunken); border: 0; border-radius: 14px; padding: 10px 14px; font-size: 15px; line-height: 1.5; max-height: 260px; overflow-y: auto; }
.ai-btns, .ai-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ai-btns .btn, .ai-quick .btn { flex: 1 1 auto; justify-content: center; }
.ai-next { background: var(--note-soft); border: 0; border-radius: 14px; padding: 10px 14px; font-size: 15px; }
.ai-ask { display: flex; gap: 8px; margin-top: 4px; }
.ai-ask input { flex: 1; font: inherit; font-size: 15px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; min-width: 0; }
.ai-msg { margin-top: 10px; font-size: 14px; color: var(--action-ink); } .ai-msg.err { color: var(--urgent); }
.ai.busy [data-ai] { opacity: .45; transition: opacity .2s; }
.act-new { background: var(--sunken); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.act-new input, .act-new select, .act-new textarea { width: 100%; }
.ar { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.act-new + .ar, .ld-ch + .ar { border-top: 0; }
.ar-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--action-soft); color: var(--action); }
.ar-ic.k-call { background: var(--done-soft); color: var(--done); } .ar-ic.k-meeting { background: var(--question-soft); color: var(--question); }
.ar.overdue .ar-ic { background: var(--urgent-soft); color: var(--urgent); }
.ar-t { flex: 1; min-width: 0; } .ar-t b { font-weight: 600; } .ar .late { color: var(--urgent); font-weight: 700; } .ar .now { color: var(--action-ink); font-weight: 700; }
.ar-ok { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: var(--done); font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.ar-ok:hover { background: var(--done-soft); }
.ar .done-f { width: 290px; padding: 10px; gap: 8px; }
.ar .done-f input, .ar .done-f select { font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 12px; width: 100%; min-height: 40px; }
.ar .done-f .row { flex-wrap: nowrap; } .ar .done-f .row input { min-width: 0; }
.ar-empty { padding: 4px 0; }
.note-f { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; }
.note-f textarea { flex: 1; font: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 16px; background: #fff; resize: vertical; min-height: 44px; }
.note-f .btn { white-space: nowrap; }
.notes { max-height: 430px; overflow-y: auto; padding-right: 4px; }
.nt { display: flex; gap: 10px; padding: 8px 0; }
.nt .av { width: 32px; height: 32px; font-size: 12px; }
.nt-b { flex: 1; min-width: 0; }
.nt-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; } .nt-h b { font-size: 13px; letter-spacing: .02em; color: var(--ink); } .nt-h span { color: var(--ink-2); white-space: nowrap; }
.nt-t { margin-top: 4px; background: var(--sunken); border: 0; border-radius: 14px; padding: 9px 12px; font-size: 15px; }
.nt-t.new { background: var(--note-soft); }
@media (max-width: 1100px) { .ld-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ld-strip > span { border-left: 0; padding: 3px 10px; }
  .mf { grid-template-columns: 52px minmax(0, 1fr) auto auto; } .call-row { grid-template-columns: 1fr; }
  .ed-bar .btn { flex: 1 1 100%; margin: 6px 0 0; justify-content: center; }
  .note-f { flex-direction: column; } .note-f textarea, .note-f .btn { width: 100%; }
}
.nt-h b { text-transform: uppercase; }
.ld-side .ld-ch h2 { font-size: 16px; } .ld-ch .btn { white-space: nowrap; flex: none; }
.ld-grid > *, .crm-two > *, .ld-main, .ld-side { min-width: 0; }
.mf input { min-width: 0; }
@media (max-width: 760px) { .mf { grid-template-columns: 52px minmax(0, 1fr) auto auto; } .qr { max-width: 100%; height: auto; } }

/* ── Επαφές ── */
.ct-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.ct-filt { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-filt a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.ct-filt a span { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.ct-filt a:hover { border-color: #AEB8C0; color: var(--action-ink); text-decoration: none; background: var(--action-soft); }
.ct-filt a.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; } .ct-filt a.on span { color: #C9D2E3; }
.ct-q { margin-left: auto; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 0 16px; color: var(--ink-2); min-width: min(100%, 340px); min-height: 48px; }
.ct-q:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--action-soft); }
.ct-q input { border: 0; outline: 0; padding: 8px 0; flex: 1; font: inherit; background: transparent; min-width: 0; min-height: 0; box-shadow: none; }
.tg.c0 { background: #E3E8F0; color: var(--charcoal-2); } .tg.c1 { background: var(--action-soft); color: var(--action-ink); }
.tg.c2 { background: var(--done-soft); color: var(--done); } .tg.c3 { background: var(--question-soft); color: var(--question); }
.tg.c4 { background: var(--note-tag); color: var(--note-ink); } .tg.c5 { background: var(--urgent-soft); color: var(--urgent); }
.ct-filt a.tg { border-color: transparent; } .ct-filt a.tg.on { box-shadow: inset 0 0 0 2px currentColor; background-color: inherit; }
.ct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ct-card { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 0; border-radius: var(--r-tile); padding: 14px 16px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-kanban); min-width: 0; }
.ct-card:hover { box-shadow: 0 1px 3px rgba(35,39,46,.06), 0 14px 32px -8px rgba(35,39,46,.2); text-decoration: none; color: var(--ink); }
.av.lg { width: 44px; height: 44px; font-size: 15px; } .av.xl { width: 60px; height: 60px; font-size: 20px; } .av.sq { border-radius: 14px; }
.ct-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.ct-n { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.ct-s { font-size: 15px; color: var(--ink-2); }
.ct-r { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 2px 0; }
.ct-l { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-l .ic { flex: none; color: var(--action); }
.ct-m { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink-2); margin-top: 3px; padding-top: 6px; border-top: 1px dashed var(--line); }
.ct-list td { vertical-align: top; }
.ct-head { display: flex; align-items: center; gap: 16px; margin: 6px 0 14px; flex-wrap: wrap; }
.ct-hb { flex: 1; min-width: 220px; } .ct-hb h1 { margin: 0 0 4px; }
.ct-acts { display: flex; gap: 8px; align-items: center; }
.ct-smart > a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; margin: 0 4px 4px 0; }
.ct-smart > a:hover { color: var(--action-ink); background: var(--action-soft); text-decoration: none; }
.ct-smart > a .ic { color: var(--action); } .ct-smart:empty { display: none; }
/* Καρτέλα επαφής, προβολή: όλα τα πεδία σε πλέγμα 2–3 στηλών, ετικέτα μικρά κεφαλαία, άδεια με «—» */
.ct-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px; margin: 0; }
.ct-dl > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-dl > div.wide { grid-column: span 2; } .ct-dl > div.full { grid-column: 1 / -1; }
.ct-dl dt { color: var(--ink-2); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ct-dl dd { margin: 0; font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.ct-dl dd a { color: var(--action-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; } .ct-dl dd a:hover { text-decoration: underline; }
.ct-dl .none { color: var(--ink-2); font-weight: 400; }
.ct-dl dd.ct-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ct-dl .ct-notes { margin-top: 2px; }
.ct-hint { margin: 12px 0 0; }
@media (max-width: 520px) { .ct-dl { grid-template-columns: 1fr; } .ct-dl > div.wide { grid-column: auto; } }
.ct-notes { margin-top: 14px; padding: 12px 14px; background: var(--note-soft); border: 0; border-radius: 14px; font-size: 15px; }
/* Πρόσωπα εταιρείας: γραμμή με σύνδεσμο + «Αποσύνδεση», και φόρμα σύνδεσης υπάρχουσας επαφής */
.ct-person { flex-direction: row; align-items: center; gap: 10px; }
.ct-person-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; color: var(--ink); text-decoration: none; }
.ct-person-main:hover b { color: var(--action); } .ct-person-main small { overflow-wrap: anywhere; }
.ct-inline { margin: 0; flex: none; } .ct-person .btn.sm { min-height: 32px; font-size: 13px; padding: 0 10px; }
.ct-attach { margin: 12px 0 0; padding: 10px 12px; background: var(--sunken); border-radius: 14px; }
.ct-attach label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ct-attach-row { display: flex; gap: 8px; align-items: center; } .ct-attach-row select { flex: 1; min-width: 0; min-height: 40px; }
.ct-attach-row .btn.sm { flex: none; min-height: 40px; }
.ct-form .card-h { margin-top: 18px; } .ct-form .card-h:first-of-type { margin-top: 0; }
.ct-form p.ck { display: flex; align-items: center; gap: 8px; } .ct-form p.ck label { margin: 0; }
.ct-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
@media (max-width: 700px) { .ct-roles { grid-template-columns: 1fr; } }
.ct-role { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--border-soft); border-radius: var(--r-tile); padding: 12px 14px; cursor: pointer; background: #fff; }
.ct-role span { display: flex; flex-direction: column; } .ct-role small { color: var(--ink-2); font-size: 14px; font-weight: 400;  }
.ct-role input { margin-top: 3px; }
.ct-role.co:has(input:checked), .ct-role.ok:has(input:checked), .ct-role.q:has(input:checked) { border-color: #AEB8C0; background: var(--action-soft); }
.ct-crew { background: var(--sunken); border: 0; border-radius: 16px; padding: 12px 14px 4px; margin-bottom: 6px; }
.ct-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ct-del { margin: -4px 0 12px; text-align: right; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--action); cursor: pointer; text-decoration: underline; }
.linkish.bad { color: var(--urgent); font-size: 14px; }
.ct-side .card { margin-bottom: 12px; }
.ct-row { display: flex; flex-direction: column; gap: 1px; padding: 8px 0; border-top: 1px solid var(--sunken); color: var(--ink); text-decoration: none; font-size: 15px; }
.ct-row:first-of-type { border-top: 0; } a.ct-row:hover { color: var(--action); text-decoration: none; }

/* ── Kanban στο κινητό: οι στήλες η μία κάτω από την άλλη, κλειστές, ανοίγουν με πάτημα (board.js) ── */
.kcol-chev, .btn.k-all { display: none; }
@media (max-width: 760px) {
  .kanban.tb { flex-direction: column; align-items: stretch; overflow: visible; min-height: 0; margin: 0; padding: 0 0 16px; gap: 10px; }
  .kanban.tb .kcol { flex: none; width: 100%; max-height: none; min-height: 0; padding: 0; background: #fff; border: 0; box-shadow: var(--shadow-kanban); border-radius: 20px; }
  .kanban.tb .kcol-h { cursor: pointer; padding: 14px 16px; border-radius: 20px; background: #fff; -webkit-tap-highlight-color: transparent; user-select: none; }
  .kanban.tb .kcol-t b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .kanban.tb .kcol-chev { display: inline-flex; margin-left: 4px; color: var(--ink-2); transition: transform .15s; flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--action-soft); align-items: center; justify-content: center; }
  .kanban.tb .kcol-add + .kcol-chev { margin-left: 2px; }
  .kanban.tb .kcol.shut .kcol-chev { transform: rotate(-90deg); }
  .kanban.tb .kcol:not(.shut) .kcol-h { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--sunken); border-radius: 20px 20px 0 0; }
  .kanban.tb .kcol-b { overflow: visible; background: var(--column); padding: 10px; border-radius: 0 0 20px 20px; }
  .kanban.tb .kcol.shut .kcol-b, .kanban.tb .kcol.shut .kbar { display: none; }
  .kanban.tb .kcard { cursor: default; }
  .btn.k-all { display: inline-flex; }
}

/* ── Κλήση με ένα πάτημα (tag «call») ── */
a.call { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -6px 0 -6px 4px; border-radius: 50%; color: var(--done); background: var(--done-soft); vertical-align: middle; position: relative; z-index: 2; flex: none; }
a.call:hover { filter: brightness(.95); }
.kcol-t a.call { margin: -4px 0 -4px auto; width: auto; height: 34px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; gap: 6px; }
.kcol-t a.call::after { content: "Κλήση"; }
.pr .call-pill, a.call.pill-call { width: auto; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--done); font-size: 15px; font-weight: 600; gap: 6px; margin: 0; }
.t-who { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.who-chip { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 15px; }
.who-chip:not(:has(a.call)) { padding-right: 14px; }
.who-chip a.call { margin: 0 0 0 6px; }

/* ── Ποιος έγραψε: συνεργείο / διαμέρισμα / γραφείο — ουδέτερα pills ── */
.who-k { display: inline-flex; align-items: center; gap: 4px; margin-right: 6px; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; background: var(--sunken); color: var(--charcoal-2); }
.who-k.k-crew { background: var(--sunken); color: var(--charcoal-2); }
.who-k.k-unit { background: var(--done-soft); color: var(--done); }
.who-k.k-office { background: var(--action-soft); color: var(--action-ink); }
.act { border-left: 0; padding-left: 0; }

/* ── Διαμερίσματα & χώροι ── */
.un-add { max-width: 720px; }
.un-add label { margin-bottom: 6px; }
.un-add-row { display: flex; gap: 8px; } .un-add-row input { flex: 1; min-width: 0; font-size: 16px; } .un-add-row .btn { flex: none; }
.un-list { display: flex; flex-direction: column; gap: 8px; max-width: 720px; margin-bottom: 16px; }
.un { display: flex; align-items: center; gap: 8px; background: #fff; border: 0; border-radius: var(--r-tile); padding: 12px 16px; box-shadow: var(--shadow-kanban); }
.un-main { flex: 1; min-width: 0; display: flex; flex-direction: column; } .un-main b { font-size: 17px; } .un-main .muted { font-size: 14px; overflow-wrap: anywhere; }
.un .btn.sm { min-height: 40px; display: inline-flex; align-items: center; gap: 4px; }
.un .un-ed { width: 40px; justify-content: center; padding: 0; }

/* ══ Κάρτες εργασιών: λωρίδα 5px αριστερά (slate κανονική, κόκκινη επείγουσα, λιλά αναφορά, χρυσή αναμονή, πράσινη έγινε) ══ */
.kcard, .tb .kcard { border-left: 5px solid var(--stripe); }
.kcard.urgent, .tb .kcard.urgent { border-left-color: var(--stripe-bad); }
.kcard.review { border-left-color: var(--stripe-q); } .kcard.waiting { border-left-color: var(--stripe-wait); } .kcard.done { border-left-color: var(--stripe-ok); }
.kchips .tag { display: inline-flex; align-items: center; gap: 4px; }
.kchips .tag svg { flex: none; }
@media (max-width: 760px) {
  .kanban.tb .kcol-b { gap: 10px; }
  .tb .kcard { padding: 14px 16px; gap: 8px; }
  .tb .kt { font-size: 17px; font-weight: 700; -webkit-line-clamp: 4; }
  .tb .km { font-size: 15px; }
  .tb .kf { gap: 10px; min-height: 36px; }
}

/* ══ Αποτυπώσεις (surveys) ══ */
.sv-fam { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 20px 0 10px; font-size: 18px; font-weight: 700; }
.sv-fam span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.sv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.sv-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 0; border-radius: var(--r-tile); padding: 12px 14px; color: var(--ink); text-decoration: none; min-height: 56px; box-shadow: var(--shadow-kanban); }
.sv-card.off { opacity: .6; }
.sv-card-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.sv-card-main > span:last-child { display: flex; flex-direction: column; min-width: 0; } .sv-card .muted { font-size: 14px; }
.sv-kit { flex-direction: column; align-items: flex-start; gap: 3px; }
.sv-pre { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--action-soft); color: var(--action-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.sv-switch { width: 48px; height: 28px; border-radius: 999px; border: 0; background: var(--border); position: relative; cursor: pointer; padding: 0; flex: none; }
.sv-switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .15s; }
.sv-switch.on { background: var(--done); } .sv-switch.on i { left: 23px; }
.sv-check { cursor: pointer; } .sv-check input { width: 20px; height: 20px; margin: 0; flex: none; } .sv-check:has(input:checked) { box-shadow: var(--shadow-kanban), inset 0 0 0 1px #AEB8C0; background: var(--action-soft); }
.sv-kits { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.sv-empty { max-width: 720px; } .sv-empty b { font-size: 16px; }
.sv-chipsbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.sv-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.sv-chip.on { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.sv-add { margin-bottom: 14px; } .sv-add > summary { list-style: none; display: inline-flex; cursor: pointer; } .sv-add > summary::-webkit-details-marker { display: none; }
.sv-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 10px; }
.sv-pick-i { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border-soft); border-radius: var(--r-tile); padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; min-height: 50px; }
.sv-pick-i:hover { border-color: #AEB8C0; background: var(--action-soft); }
.sv-grp { display: flex; align-items: center; gap: 10px; margin: 18px 2px 10px; font-size: 15px; color: var(--ink-2); }
.sv-grp b { color: var(--ink); font-size: 17px; } .sv-grp > span:first-child { display: inline-flex; align-items: center; gap: 6px; } .sv-grp i { flex: 1; height: 1px; background: var(--line); }
.sv-grp::before { content: ""; flex: 1; min-width: 16px; height: 1px; background: var(--line); }
.sv-items { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.sv-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 0; border-left: 5px solid var(--stripe); border-radius: var(--r-card); padding: 12px 16px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-kanban); }
.sv-item > svg { color: var(--ink-2); flex: none; }
.sv-item { position: relative; } .sv-item.has-task { border-left-color: var(--stripe-ok); }
.sv-go { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; }
.sv-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sv-tasks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sv-t, .sv-mk, .sv-grp-task { position: relative; z-index: 1; }
.sv-t { display: inline-block; max-width: 100%; padding: 5px 12px; line-height: 1.35; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--action-soft); color: var(--action-ink); }
.sv-t.st-done { background: var(--done-soft); color: var(--done); }
.sv-t.st-waiting { background: var(--note-tag); color: var(--note-ink); }
.sv-t.st-cancelled { opacity: .55; text-decoration: line-through; }
.sv-mk { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--action-ink); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.sv-mk:hover, .sv-grp-task:hover { border-color: #AEB8C0; background: var(--action-soft); }
.sv-grp-task { font-size: 14px; font-weight: 600; color: var(--action-ink); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; white-space: nowrap; }
.sv-from { max-width: 720px; margin: 0 0 12px; padding: 12px 16px; border-radius: 16px; background: var(--action-soft); border: 0; font-size: 15px; display: flex; flex-direction: column; gap: 3px; }
.sv-from .dep-l { color: var(--action-ink); } .sv-from b { color: var(--action-ink); }
a.sv-from { color: var(--ink); text-decoration: none; } a.sv-from:hover { box-shadow: inset 0 0 0 1px #AEB8C0; }
@media (max-width: 640px) {
  .sv-item { flex-wrap: wrap; align-items: flex-start; }
  .sv-item .sv-item-main { flex: 1 1 calc(100% - 60px); }
  .sv-item .sv-mk { margin-left: 54px; min-height: 40px; }
  .sv-grp { flex-wrap: wrap; }
}
.sv-code { min-width: 42px; font-weight: 800; color: var(--action); font-size: 17px; }
.sv-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .sv-item-main b { font-weight: 600; overflow-wrap: anywhere; }
.sv-trade { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sv-item-main .muted { font-size: 14px; }
.sv-form { max-width: 720px; }
.sv-where { display: grid; grid-template-columns: 1fr 1fr 110px; gap: 0 12px; }
.sv-f { margin: 0 0 16px; } .sv-f > label { display: block; font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.sv-slide { display: flex; flex-direction: column; gap: 8px; }
.sv-slide input.sv-val { font-size: 22px; font-weight: 700; text-align: center; max-width: 180px; padding: 8px 10px; }
.sv-slide-row { display: flex; align-items: center; gap: 10px; }
.sv-slide-row input[type=range] { flex: 1; height: 36px; accent-color: var(--charcoal); }
.sv-slide-row input[type=range].empty { opacity: .45; }
.sv-pm { width: 48px; height: 48px; flex: none; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font: 700 22px/1 Inter, sans-serif; cursor: pointer; touch-action: manipulation; user-select: none; }
.sv-pm:active { background: var(--action-soft); border-color: #AEB8C0; }
.sv-count { display: inline-flex; align-items: center; gap: 8px; } .sv-count input { width: 84px; text-align: center; font-size: 20px; font-weight: 700; }
.sv-choice > div { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-choice > div > div { margin: 0; } .sv-choice label { margin: 0; }
.sv-choice > div label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.sv-choice > div label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sv-choice > div label:has(input:checked) { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.sv-choice > div label:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.sv-yesno input { width: 24px; height: 24px; }
.sv-actions { flex-wrap: wrap; }
.sv-fields { display: flex; flex-direction: column; gap: 8px; }
.sv-frow { display: grid; grid-template-columns: 2fr 1.4fr .8fr 2fr .7fr .7fr .7fr auto; gap: 8px; align-items: end; margin: 0; padding: 12px 14px; }
.sv-frow p { margin: 0; } .sv-frow label { font-size: 13px; }
.sv-del { display: flex !important; align-items: center; gap: 6px; font-size: 13px !important; color: var(--urgent) !important; padding-bottom: 10px; }
@media (max-width: 760px) {
  .sv-where { grid-template-columns: 1fr 1fr; } .sv-where .sv-codef { grid-column: 1 / -1; }
  .sv-frow { grid-template-columns: 1fr 1fr; } .sv-frow .w-label, .sv-frow .w-opts { grid-column: 1 / -1; }
  .sv-grid { grid-template-columns: 1fr; }
  .sv-slide input.sv-val { max-width: none; }
}
.sv-choice > div label, .sv-pm, .sv-chip, .sv-pick-i, .sv-switch { -webkit-tap-highlight-color: transparent; }

/* Κωδικοί portal */
.acc-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.acc-i { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--sunken); }
.acc-i:last-child { border-bottom: 0; }
@media (max-width: 760px) {
  table.acc, table.acc tbody { display: block; background: none; border: 0; overflow: visible; box-shadow: none; }
  table.acc thead { display: none; }
  table.acc tbody { display: flex; flex-direction: column; gap: 10px; }
  table.acc tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: #fff; border: 0; border-radius: var(--r-tile); padding: 12px 16px; box-shadow: var(--shadow-kanban); }
  table.acc td { display: block; border: 0; padding: 0; white-space: normal !important; background: none; }
  table.acc td:first-child { font-size: 17px; min-width: 44px; } table.acc td:nth-child(2) { flex: 1; font-weight: 600; }
  table.acc td:nth-child(3), table.acc td:nth-child(4) { font-size: 14px; color: var(--ink-2); }
  table.acc td:last-child { flex: 1 0 100%; } table.acc td:last-child .btn { min-height: 40px; }
}
@media (max-width: 760px) {
  input[type=checkbox], input[type=radio] { width: 22px; height: 22px; }
  .eyebrow a, .crumbs a { display: inline-block; padding: 6px 0; }
  form div > div > label:has(> input[type=checkbox]) { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }
  input[type=url], input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=tel], select, textarea { min-height: 52px; font-size: 17px; }
  .btn { min-height: 48px; font-size: 16px; } .btn.sm { min-height: 40px; font-size: 15px; }
}

/* εξαρτήσεις εργασίας */
.deps { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; max-width: 720px; }
.dep { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 10px 14px; border-radius: 16px; border: 0; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-kanban); }
.dep-l { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.dep.wait { background: var(--note-soft); } .dep.wait .dep-l { color: var(--note-ink); }
.dep.waited .dep-l, .dep.before .dep-l, .dep.after .dep-l, .dep.parent .dep-l { color: var(--action); }
.dep.together { background: var(--question-soft); } .dep.together .dep-l { color: var(--question); }
.dep.closed { opacity: .6; } .dep.closed b { text-decoration: line-through; }
.dep .muted { font-size: 14px; flex-basis: 100%; }

/* ─── Ώρες (timesheets) ─── */
.ts-tot { font-size: 14px; font-weight: 700; color: var(--action-ink); background: var(--action-soft); border: 0; border-radius: 999px; padding: 3px 12px; vertical-align: middle; margin-left: 6px; }
.ts-per { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.ts-e, .ts-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--sunken); }
.ts-e:first-of-type { border-top: 0; }
.ts-day { flex: none; width: 74px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.ts-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 4px; overflow-wrap: anywhere; }
.ts-h { flex: none; font-size: 16px; color: var(--ink); }
.ts-x { border: 0; background: none; color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 999px; }
.ts-x:hover { color: var(--urgent); background: var(--urgent-soft); }
.ts-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.ts-add label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0; }
.ts-add label.grow { flex: 1 1 200px; } .ts-add select, .ts-add input { min-height: 44px; }
.ts-filters { margin-bottom: 12px; } .ts-f { display: flex; flex-wrap: wrap; gap: 8px; } .ts-f select { max-width: 280px; }
.ts-sums { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 12px; }
.ts-sums h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ts-sum { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--sunken); } .ts-sum:first-of-type { border-top: 0; }
.ts-rows { background: #fff; border: 0; border-radius: var(--r-card); padding: 4px 16px; box-shadow: var(--shadow-card); }
.ts-rows .ts-row:first-child { border-top: 0; } .ts-main .muted { flex-basis: 100%; font-size: 14px; }
.ts-main a { color: var(--ink); text-decoration: none; } .ts-main a:hover { color: var(--action); }
@media (max-width: 640px) {
  .ts-add label:not(.grow) { flex: 1 1 40%; } .ts-add .btn { width: 100%; }
  .ts-day { width: 58px; }
}

/* ─── Προσφορές συνεργείων (rfq) ─── */
.rfq-pick { cursor: pointer; } .rfq-pick input { width: 22px; height: 22px; flex: none; margin: 0; }
.rfq-pick:has(input:not(:checked)) { opacity: .55; border-left-color: var(--line); }
.rfq-bids { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; align-items: start; }
.rfq-bid { margin: 0; display: flex; flex-direction: column; gap: 6px; border-left: 5px solid var(--stripe-wait); }
.rfq-bid.st-replied { border-left-color: var(--stripe); } .rfq-bid.st-won { border-left-color: var(--stripe-ok); }
.rfq-bid.st-declined, .rfq-bid.st-lost { opacity: .7; } .rfq-bid.best { box-shadow: var(--shadow-card), 0 0 0 2px var(--done) inset; }
.rfq-bid-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .rfq-bid-h b { font-size: 17px; margin-right: auto; }
.rfq-total { font-size: 26px; font-weight: 700; color: var(--ink); }
.rfq-notes { font-size: 14px; background: var(--sunken); border-radius: 14px; padding: 10px 12px; }
.rfq-send > summary, .rfq-award > summary { cursor: pointer; list-style: none; } .rfq-send > summary::-webkit-details-marker, .rfq-award > summary::-webkit-details-marker { display: none; }
.rfq-send > summary { font-weight: 600; color: var(--action); padding: 4px 0; }
.rfq-acts { flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.rfq-award form { margin-top: 6px; } .rfq-radio { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin: 4px 0 !important; }
.rfq-addto { display: flex; flex-direction: column; gap: 8px; margin: 0; box-shadow: none; border: 1px dashed #AEB8C0; background: transparent; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
table.rfq-cmp { min-width: 520px; background: #fff; } .rfq-cmp td.num, .rfq-cmp th { text-align: right; white-space: nowrap; }
.rfq-cmp th:first-child, .rfq-cmp td:first-child { text-align: left; white-space: normal; min-width: 180px; }
.rfq-cmp td.low { color: var(--done); font-weight: 700; background: var(--done-soft); } .rfq-cmp th.best { color: var(--done); }
.rfq-cmp tr.tot td { font-weight: 800; border-top: 2px solid var(--line); }
.rfq-list { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.rfq-row { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); text-decoration: none; border-left: 5px solid var(--stripe); }
.rfq-row.st-awarded { border-left-color: var(--stripe-ok); } .rfq-row.st-cancelled { opacity: .6; border-left-color: var(--line); }
.rfq-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; } .rfq-row-n { font-weight: 700; white-space: nowrap; } .rfq-row-n small { font-weight: 500; color: var(--ink-2); }
.rq-tree { display: flex; flex-direction: column; gap: 10px; }
.rq-tree .tree-top { position: static; margin: 0; padding: 0; background: none; }
.rq-tree .tree-top .tree-head { min-height: 40px; background: var(--sunken); box-shadow: none; } .rq-tree .tree-top .name { font-size: 16px; }
.rq-tree .tree-card-row { padding-top: 0; margin-top: -10px; }
.rq-form .rq-item { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--sunken); padding: 10px 0 10px 44px; }
.rq-form .rq-main { flex: 1; min-width: 0; } .rq-form .rq-code { color: var(--action); } .rq-form .rq-trade { font-size: 13px; color: var(--ink-2); }
.rq-form .rq-notes { font-size: 14px; color: var(--ink-2); } .rq-form .rq-price { display: flex; align-items: center; gap: 4px; margin: 0; }
.rq-form .rq-price input { width: 112px; text-align: right; font-weight: 700; }
.rq-form .rq-fields { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.rq-form .rq-fields label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; margin: 0; }
.rq-form .rq-fields small { font-weight: 400; color: var(--ink-2); } .rq-tot-in { display: flex; align-items: center; gap: 6px; font-weight: 700; } .rq-form .rq-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sv-rfqs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }

/* ─── Ρυθμίσεις → Χρήστες: πλωτές γραμμές-κάρτες με αρχικά ─── */
.us-list { display: flex; flex-direction: column; gap: 10px; max-width: 1000px; margin-bottom: 16px; }
.us-row { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; border-radius: var(--r-tile); box-shadow: var(--shadow-kanban); color: var(--ink); text-decoration: none; flex-wrap: wrap; }
.us-row:hover { box-shadow: 0 1px 3px rgba(35,39,46,.06), 0 14px 32px -8px rgba(35,39,46,.2); color: var(--ink); } .us-row.off { opacity: .6; }
.us-av { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--action-soft); color: var(--action-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.us-main { flex: 1; min-width: 160px; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.us-main b { font-size: 16px; } .us-main .muted { font-size: 15px; }
.us-chev { color: var(--ink-2); display: inline-flex; margin-left: 4px; }
.us-note { max-width: 1000px; } .us-note p { margin: 6px 0 10px; }
.us-invite { max-width: 720px; background: var(--action-soft); box-shadow: none; }
.us-check label { display: flex; align-items: center; gap: 8px; font-weight: 600; } .us-check input { width: 20px; height: 20px; }
.us-mini { display: flex; flex-direction: column; } .us-mini a { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--sunken); color: var(--ink); text-decoration: none; }
.us-mini a:first-child { border-top: 0; } .us-mini a:hover b { color: var(--action); }
.rl-card { max-width: 980px; } table.rl { min-width: 560px; } .rl th { font-size: 13px; vertical-align: bottom; white-space: normal; max-width: 220px; }
.rl td.c, .rl th:not(:first-child) { text-align: center; } .rl-cb { display: inline-flex; padding: 6px; cursor: pointer; } .rl-cb input { width: 22px; height: 22px; }
.us-av.num { border-radius: 14px; font-size: 15px; min-width: 44px; width: auto; padding: 0 8px; }
.us-ai-b { font-size: 14px; font-weight: 600; color: var(--charcoal-2); white-space: nowrap; background: var(--sunken); border-radius: 999px; min-height: 30px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; }
.us-ai-f { display: flex; flex-direction: column; gap: 10px; } .us-ai-f label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; margin: 0; }
.us-ai-f label.us-check { flex-direction: row; align-items: center; gap: 8px; } .us-ai-f .btn { align-self: flex-start; }
.us-list h2 { margin-top: 18px; }
.us-list .group-h { margin: 14px 0 2px; }

/* ─── Σελίδα εργασίας: τρεις στήλες σαν την ευκαιρία του CRM (ιστορικό · στοιχεία · Viber/υλικά/ώρες), προσαρμόζονται στο πλάτος ─── */
.ld.tk { max-width: 1720px; }
.tk-num { color: var(--ink-2); font-weight: 600; font-size: .9em; position: relative; top: -1px; }
.tk-grid { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(0, 1.35fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
.tk-grid > * { min-width: 0; }
.tk-grid .ld-card { margin-bottom: 16px; }
.tk-grid .card .card { box-shadow: none; padding: 0; margin: 0; }
.tk-grid form p:last-of-type { margin-bottom: 14px; }
.tk-note textarea { min-height: 72px; }
.ld-strip .tk-crews { flex-wrap: wrap; gap: 6px; } .ld-strip .who-chip { min-height: 34px; font-size: 14px; padding-left: 12px; }
.ld-strip .who-chip a.call { width: 30px; height: 30px; }
.tk-approve { border-left: 5px solid var(--note-line); }
@media (max-width: 1360px) { .tk-grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); } .tk-left { grid-column: 1 / -1; order: 3; } }
@media (max-width: 900px) { .tk-grid { grid-template-columns: 1fr; } .tk-left { order: 3; } }

/* ══════ V3 · 16/11: ομαδοποίηση σε επίπεδα — μπάρα «Ομάδες», δέντρο ομάδων, κάρτες-γραμμές, «#12» πριν από τον τίτλο ══════ */
.h-cnt { vertical-align: 5px; margin-left: 6px; }
.k-trunc { margin: 0 0 12px; }
.sbox input[type=search]::-webkit-search-decoration, .sbox input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.sbox input[type=search] { -webkit-appearance: none; appearance: none; }
/* μπάρα «Ομάδες»: 1 Έργο › 2 Διαμέρισμα › 3 Χώρος (+) — κυλάει στο πλάι, δεν σπάει ποτέ */
.groupbar { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin: 0 0 12px; padding: 0 0 2px; scrollbar-width: none; }
.groupbar::-webkit-scrollbar { display: none; }
.groupbar .lbl { font-size: 14px; font-weight: 600; color: var(--ink-2); flex-shrink: 0; margin-right: 2px; }
.groupbar .chip-g { 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: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; flex-shrink: 0; cursor: pointer; }
.groupbar .chip-g:hover { background: var(--action-soft); border-color: #AEB8C0; }
.groupbar .chip-g svg { color: var(--ink-2); }
.groupbar .num, .sp-groups .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; flex: none; }
.groupbar .sep { color: #A6A9AD; flex-shrink: 0; font-size: 15px; }
.groupbar .add { width: 36px; height: 36px; border: 1px dashed #AEB8C0; border-radius: 999px; background: transparent; color: var(--action); display: inline-flex; align-items: center; justify-content: center; flex: none; cursor: pointer; padding: 0; }
.groupbar .add:hover { background: var(--action-soft); }
.ic-home { fill: currentColor; }          /* διαμέρισμα = γεμάτο σπιτάκι */
/* πλαίσιο «Φίλτρα» → Ομαδοποίηση: γραμμές που αριθμούνται με τη σειρά που πατήθηκαν */
.sp-groups { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
.sp-groups > a { justify-content: flex-start; padding: 0 14px 0 8px; gap: 8px; }
.sp-groups > a svg { color: var(--ink-2); }
.sp-groups > a .num { background: transparent; border: 1px dashed #AEB8C0; }
.sp-groups > a.on { background: var(--action-soft); border-color: #AEB8C0; color: var(--action-ink); }
.sp-groups > a.on::before { content: none; }
.sp-groups > a.on .num { background: var(--charcoal); border: 0; }
.sp-groups > a.on svg { color: var(--action-ink); }

/* δέντρο: μία κεφαλίδα ανά επίπεδο· μόνο οι κεφαλίδες μπαίνουν μέσα, οι κάρτες κρατούν όλο το πλάτος */
.tree { display: flex; flex-direction: column; gap: 10px; }
.tree-top { position: sticky; top: 0; z-index: 3; margin: -10px -12px 0; padding: 10px 12px 2px; background: linear-gradient(to bottom, rgba(247,247,245,0) 0, rgba(247,247,245,.96) 10px); }
.tree-top:first-child { margin-top: 0; padding-top: 0; background: none; }
.tree-head-row { margin-top: -10px; padding-top: 2px; }
.tree-card-row { margin-top: -10px; padding-top: 8px; }
.tree > .tree-card-row:first-child { margin-top: 0; padding-top: 0; }
.tree-head { display: flex; align-items: center; gap: 8px; border-radius: 999px; color: var(--ink); min-width: 0; }
.tree-tog { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 999px; }
.tree-tog:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.tree-tog > svg { color: var(--ink-2); flex: none; }
.tree-tog > svg:first-child { transition: transform .15s; }
.tree-tog[aria-expanded=false] > svg:first-child { transform: rotate(-90deg); }
.tree-top .tree-head { min-height: 44px; padding: 0 10px; background: #fff; box-shadow: 0 1px 2px rgba(35,39,46,.06); }
.tree-head-row .tree-head { min-height: 32px; padding: 0 4px; }
.tree-head .name { flex: 1 1 0; min-width: 0; line-height: 1.3; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.tree-top .name { font-size: 17px; font-weight: 700; }
.tree-head-row[data-depth="1"] .name { font-size: 16px; font-weight: 700; }
.tree-head .count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--sunken); font-size: 13px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tree-head .tav { width: 30px; height: 30px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tree-head-row .tree-head .tav { width: 26px; height: 26px; font-size: 11px; background: #fff; }
.tree-head .when { font-size: 14px; font-weight: 600; color: var(--action); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.tree-head .when.none { color: var(--ink-2); font-weight: 400; }
.tree-head > a.call { margin: 0; width: auto; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--done-soft); color: var(--done); font-size: 14px; font-weight: 600; gap: 6px; }
.tree-head-row .tree-head > a.call { height: 30px; background: #fff; }
.tree-head > a.call::after { content: "Κλήση"; }
/* κάρτα-γραμμή εργασίας (λίστα): λευκή, χωρίς περίγραμμα, λωρίδα 5px, όλα τα στοιχεία σε στήλες που ευθυγραμμίζονται */
.trow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1.4fr) 92px 100px 144px; align-items: center; gap: 4px 14px; background: #fff; border-left: 5px solid var(--stripe); border-radius: var(--r-tile); padding: 9px 12px 9px 14px; box-shadow: var(--shadow-kanban); min-height: 52px; }
.trow.urgent { border-left-color: var(--stripe-bad); } .trow.waiting { border-left-color: var(--stripe-wait); } .trow.done { border-left-color: var(--stripe-ok); }
.trow > div { min-width: 0; }
.tr-main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tr-main .tag { margin: 0; }
.tr-t { color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.tr-t:hover { color: var(--action); text-decoration: none; }
.trow.done .tr-t { color: var(--ink-2); text-decoration: line-through; font-weight: 500; }
.tnum { font-size: .9em; font-weight: 600; color: var(--ink-2); margin-right: 6px; position: relative; top: -1px; text-decoration: none; display: inline-block; }
.tr-where, .tr-who { font-size: 14px; line-height: 1.4; color: var(--ink-2); display: flex; align-items: center; gap: 5px; }
.tr-where > span { min-width: 0; overflow-wrap: anywhere; } .tr-where b { color: var(--ink); font-weight: 700; }
.tr-who { align-items: flex-start; flex-wrap: nowrap; } .tr-who > svg { margin-top: 6px; } .tr-with { margin-top: 3px; white-space: nowrap; } .tr-names { display: flex; flex-wrap: wrap; gap: 2px 10px; min-width: 0; flex: 1 1 0; } .tr-who .tl-crew { min-height: 28px; color: var(--charcoal-2); font-weight: 600; display: inline-flex; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.tr-who .tl-crew a.call { width: 28px; height: 28px; margin: 0 0 0 4px; background: var(--action-soft); color: var(--action-ink); }
.tr-age, .tr-due { white-space: nowrap; }
.tr-act { display: flex; justify-content: flex-end; } .tr-act .kdone { margin: 0; } .tr-act .btn.sm { min-height: 34px; }
/* όταν οι κεφαλίδες λένε ήδη το «πού» (έργο · διαμέρισμα · χώρος), η στήλη του φεύγει */
.tree.no-where .trow { grid-template-columns: minmax(0, 3fr) minmax(0, 1.6fr) 92px 100px 144px; } .tree.no-where .tr-where { display: none; }
.sp-active { display: none; } .sp-active + .sp-col { border-left: 0; }
@media (max-width: 1180px) {
  .tree.no-where .trow { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) 96px 104px auto; } .tree.no-where .tr-who { grid-column: auto; grid-row: auto; }
  .trow { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) 96px 104px auto; }
  .tr-who { grid-column: 1 / 3; grid-row: 2; } .tr-who:empty { display: none; }
}
@media (max-width: 760px) {
  .tree-top { margin: -10px -6px 0; padding: 10px 6px 2px; }
  .tree-top .tree-head { min-height: 40px; } .tree-top .name { font-size: 16px; }
  .tree-head-row .tree-head { min-height: 30px; }
  .tree-head-row[data-depth="1"] .name { font-size: 15px; } .tree-head .name { font-size: 14px; }
  .tree-tog { flex-wrap: wrap; row-gap: 0; } .tree-head .when { flex-basis: 100%; order: 5; padding: 0 0 6px 26px; white-space: normal; }
  /* αναζήτηση + «Φίλτρα» σε μία γραμμή· τα ενεργά φίλτρα μέσα στο πλαίσιο («Ενεργά τώρα») */
  .sbar { flex-wrap: nowrap; align-items: center; } .sbox { min-height: 48px; padding: 4px 8px 4px 14px; flex-wrap: nowrap; } .sbox .facet { display: none; }
  .sbox input[type=search] { min-width: 0; flex: 1 1 0; }
  .s-toggle { flex: none; min-height: 48px; padding: 0 14px; }
  .sp-active { display: block; } .sp-active .facet { display: inline-flex; min-height: 36px; } .sp-active + .sp-col { border-top: 1px solid var(--line-soft); }
  .trow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 12px 12px 14px; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
  .trow > div:empty { display: none; }
  .tr-main, .tr-where, .tr-who { flex: 1 0 100%; }
  .tr-t { font-size: 17px; } .tr-where, .tr-who { font-size: 15px; }
  .tr-act { margin-left: auto; }
}

/* kanban: «#12» πριν από τον τίτλο, ετικέτα πάνω από τον τίτλο, «Μαζί με», μικρές κεφαλίδες-δέντρο μέσα στη στήλη */
.kt .tnum { font-size: 14px; }
.kwho { font-size: 14px; line-height: 1.4; color: var(--charcoal-2); } .kwho b { font-weight: 600; } .kwho svg { color: var(--ink-2); margin-right: 5px; vertical-align: -2px; }
.kf:not(:has(.kstar, .kd)) .sp { flex: 1; }
.kcol-b > .tree-card-row { margin-top: -10px; padding-top: 10px; }
.kcol-b > .tree-card-row:first-child { margin-top: 0; padding-top: 0; }
.kcol-b > .tree-head-row { margin-top: -10px; padding-top: 6px; }
.kcol-b > .tree-head-row:first-child { margin-top: 0; padding-top: 0; }
.kcol-b .tree-head-row .tree-head { min-height: 30px; padding: 0 4px; }
.kcol-b .tree-head .name, .kcol-b .tree-head-row[data-depth="1"] .name { font-size: 14px; font-weight: 700; }
.kcol-b .tree-head-row:not([data-depth="0"]) .name { font-weight: 600; }
.kcol-b .tree-head .count { background: #fff; min-width: 22px; height: 22px; font-size: 12px; }
.kcol-b .tree-head .tav { width: 24px; height: 24px; font-size: 10px; }
.kcol-b .tree-head > a.call { height: 28px; padding: 0 10px; font-size: 13px; }
/* χωρίς ομαδοποίηση: μία «στήλη» σε όλο το πλάτος, οι κάρτες σε πλέγμα */
.kanban.tb.flat .kcol { flex: 1 1 auto; max-height: none; }
.kanban.tb.flat .kcol-b { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; align-items: start; overflow: visible; }
.kanban.tb.flat .kcol-b > .tree-card-row { margin: 0; padding: 0; }
@media (max-width: 760px) {
  .ctl .btn.k-all { order: 6; }
  .groupbar { margin: 0 -12px 12px; padding: 0 12px 2px; }
}
@media (max-width: 760px) {
  .divider h2, .divider b { white-space: normal; text-align: center; min-width: 0; }   /* ο τίτλος του διαχωριστή σπάει, δεν φαρδαίνει τη σελίδα */
}

/* Επιλογή αρχείου: το κουμπί του browser ως λευκό pill */
input[type=file] { font: inherit; font-size: 14px; color: var(--ink-2); max-width: 100%; }
input[type=file]::file-selector-button { height: 36px; padding: 0 14px; margin-right: 10px; border: 1px solid var(--border); border-radius: 999px; background: #FFF; color: var(--ink); font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; }
input[type=file]::file-selector-button:hover { border-color: var(--ink-2); }

/* ── Σημείωση γραφείου για το έργο: γκρι «Γραφείο» όπως στα σχόλια· το πλαίσιο ανοίγει κάτω από το κουμπί του ── */
.pc-acts button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pc-acts button:hover, .pc-acts button[aria-expanded=true] { background: var(--action-soft); border-color: #AEB8C0; color: var(--action-ink); }
.btn.ghost[aria-expanded=true] { background: var(--action-soft); border-color: #AEB8C0; color: var(--action-ink); }
.pj-note { display: flex; gap: 8px; align-items: flex-start; background: var(--office); border-radius: 14px; padding: 8px 12px 8px 8px; font-size: 14px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.pj-note > div { min-width: 0; } .pj-note b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pj-note-av { width: 24px; height: 24px; border-radius: 999px; background: var(--action); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pj-note-f { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.pj-note-f textarea { min-height: 76px; font-size: 15px; padding: 10px 12px; }
.pj-note-wrap { max-width: 720px; display: flex; flex-direction: column; gap: 8px; margin: -6px 0 14px; } .pj-note-wrap:not(:has(> :not([hidden]))) { display: none; }
td .pj-note { margin-top: 6px; max-width: 420px; }
@media (max-width: 760px) {
  .kanban.pj .kcol.folded { flex: 0 0 56px; }      /* άδειο στάδιο έργων: λωρίδα και στο κινητό, ώστε να φαίνεται πρώτα το στάδιο που έχει έργα */
  .kanban.pj .kcol:not(.folded) { flex: 0 0 calc(100vw - 112px); min-width: 0; }   /* λωρίδα + ανοιχτό στάδιο χωρούν μαζί στην οθόνη */
}

/* Πίνακας εργασιών στον υπολογιστή: ο πίνακας τελειώνει στο κάτω μέρος του παραθύρου, ώστε η οριζόντια
   μπάρα κύλισης να φαίνεται πάντα (πριν έπεφτε κάτω από την οθόνη). Το ύψος το δίνει το board.js (--k-h). */
@media (min-width: 761px) {
  .kanban.tb:not(.flat) { height: var(--k-h, auto); min-height: 320px; padding-bottom: 6px; scroll-snap-type: none; }
  .kanban.tb:not(.flat) .kcol { max-height: 100%; }
  .kanban.tb::-webkit-scrollbar { height: 12px; }
  .kanban.tb::-webkit-scrollbar-track { background: rgba(35,39,46,.06); border-radius: 999px; }
  .kanban.tb::-webkit-scrollbar-thumb { background: #A6A9AD; border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
  .kanban.tb::-webkit-scrollbar-thumb:hover { background-color: var(--charcoal-2); }
}
/* «Έγινε» στην κάρτα του πίνακα: πράσινο αμέσως και η κάρτα σβήνει ελαφρά όσο αποθηκεύεται */
.kcard.sending { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* Σελίδα εργασίας: «Έγινε» στην κεφαλίδα και βελάκια προηγούμενη / επόμενη */
.kdone.lg { min-height: 40px; padding: 0 16px 0 12px; font-size: 15px; margin: 0; } .kdone.lg::before { width: 18px; height: 18px; }
.ld-acts { flex-wrap: wrap; } .ld-acts form.inline { display: inline-flex; margin: 0; }
.tk-pager { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; } .tk-pager[hidden] { display: none; }
.tk-pager .pg-b { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.tk-pager .pg-b:hover { background: var(--action-soft); border-color: #AEB8C0; }
.tk-pager .pg-b[aria-disabled=true] { opacity: .4; pointer-events: none; }
.tk-pager .pg-n { min-width: 56px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }

/* Λίστες επιλογής: ίδιο σχήμα με τα πεδία και στο 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; }
/* Φίλτρα → Ταξινόμηση: ίδιες γραμμές με την ομαδοποίηση, με βελάκι φοράς αντί για αριθμό */
.sp-sorts { margin-bottom: 4px; } .sp-col h4 + .sp-sec + h4 { margin-top: 14px; }
.sp-sorts > a.on .num { background: var(--charcoal); border: 0; color: #fff; } .sp-sorts > a.on .num svg { color: #fff; }

/* Μενού: η ενεργή επιλογή είναι «καρτέλα» που ενώνεται με το πάνελ (ίδιο χρώμα, ανοιχτή δεξιά, κοίλες γωνίες πάνω και κάτω).
   Μόνο στον υπολογιστή με ανοιχτή μπάρα· στο κινητό και στη μαζεμένη μπάρα μένει το λευκό pill. Το --tab-y το δίνει το base.html. */
@media (min-width: 761px) {
  body:not(.side-collapsed) .e-side { position: relative; z-index: 2; }
  body:not(.side-collapsed) .e-side .side-item.on,
  body:not(.side-collapsed) .e-side .side-item.on:hover {
    position: relative; margin-right: -9px; padding-right: 19px; border-radius: 999px 0 0 999px; box-shadow: none;
    background: var(--panel-bg) no-repeat 0 calc(13px - var(--tab-y, 0px)) / 100% 6000px;
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  }
  body:not(.side-collapsed) .e-side .side-item.on::before,
  body:not(.side-collapsed) .e-side .side-item.on::after {
    content: ""; position: absolute; right: 0; width: 18px; height: 18px; pointer-events: none;
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  }
  body:not(.side-collapsed) .e-side .side-item.on::before {
    top: -18px; background: var(--panel-bg) no-repeat 0 calc(13px - var(--tab-y, 0px) + 18px) / 100% 6000px;
    -webkit-mask: radial-gradient(circle at 0 0, transparent 17.5px, #000 18px); mask: radial-gradient(circle at 0 0, transparent 17.5px, #000 18px);
  }
  body:not(.side-collapsed) .e-side .side-item.on::after {
    bottom: -18px; background: var(--panel-bg) no-repeat 0 calc(13px - var(--tab-y, 0px) - 38px) / 100% 6000px;
    -webkit-mask: radial-gradient(circle at 0 100%, transparent 17.5px, #000 18px); mask: radial-gradient(circle at 0 100%, transparent 17.5px, #000 18px);
  }
}

/* ── «Το email μου» (Ρυθμίσεις): πλακίδια παρόχου, βήματα σε χρωματιστό κουτί, συνδεδεμένος λογαριασμός ── */
.ml-form, .ml-acc { max-width: 1000px; padding: 18px; }
.ml-prov { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
form label.ml-tile { position: relative; display: flex; align-items: center; gap: 8px; min-height: 56px; margin: 0; padding: 8px 14px; border: 1px solid var(--border-soft); border-radius: var(--r-tile); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.25; cursor: pointer; min-width: 0; }
.ml-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ml-tile svg { flex: none; color: var(--ink-2); } .ml-tile span { min-width: 0; overflow-wrap: anywhere; }
.ml-tile:hover { border-color: #AEB8C0; }
.ml-tile:has(input:checked) { background: var(--action-soft); border-color: #AEB8C0; color: var(--action-ink); } .ml-tile:has(input:checked) svg { color: var(--action-ink); }
.ml-tile:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.ml-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ml-fields, .ml-help { min-width: 0; }
.ml-pair { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 10px; align-items: end; }
.ml-go { min-width: 180px; }
.ml-box { border: 1px solid #D6DCE0; border-radius: 20px; background: #fff; overflow: hidden; }
.ml-box > h2 { margin: 0; min-height: 42px; padding: 0 12px; background: #E8EDF1; color: #2E4659; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ml-box-b { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.ml-box ol.steps { margin: 0; padding-left: 22px; font-size: 15px; line-height: 1.45; } .ml-box ol.steps li { margin-bottom: 8px; padding-left: 2px; } .ml-box ol.steps li:last-child { margin-bottom: 0; }
.ml-box ol.steps li::marker { font-weight: 700; color: var(--action-ink); } .ml-box a { font-weight: 600; overflow-wrap: anywhere; }
.ml-warn { display: flex; align-items: flex-start; gap: 8px; background: var(--note-soft); color: var(--note-ink); border-radius: 14px; padding: 10px 12px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.ml-warn svg { flex: none; margin-top: 1px; } .ml-warn span { min-width: 0; overflow-wrap: anywhere; }
/* τα βήματα και τα πεδία διακομιστή ακολουθούν τον πάροχο που διάλεξες (χωρίς JavaScript) */
.ml-form:has(input[name=provider][value=gmail]:checked) [data-for]:not([data-for~=gmail]),
.ml-form:has(input[name=provider][value=microsoft]:checked) [data-for]:not([data-for~=microsoft]),
.ml-form:has(input[name=provider][value=yahoo]:checked) [data-for]:not([data-for~=yahoo]),
.ml-form:has(input[name=provider][value=other]:checked) [data-for]:not([data-for~=other]) { display: none; }
.ml-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ml-id { flex: 1; min-width: 180px; display: flex; flex-direction: column; overflow-wrap: anywhere; } .ml-id b { font-size: 18px; font-weight: 700; } .ml-id .muted { font-size: 15px; }
.ml-top .tag { margin: 0; white-space: normal; }
.ml-last { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 15px; color: var(--ink-2); } .ml-last b { color: var(--ink); font-weight: 600; }
.ml-acc > .ml-warn { margin-top: 12px; }
.ml-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .ml-acts form { margin: 0; }
.ml-acts .ml-pw { order: 5; flex: 1 0 100%; max-width: 520px; background: var(--sunken); border-radius: var(--r-tile); padding: 14px; }
.ml-pw .flash { margin-bottom: 12px; } .ml-pw .row { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .ml-cols { grid-template-columns: minmax(0, 1fr); } .ml-help { order: -1; }
}
@media (max-width: 760px) {
  .ml-form, .ml-acc { padding: 14px; }
  .ml-prov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-go { width: 100%; }
  .ml-acts { flex-direction: column; } .ml-acts > form:not(.ml-pw), .ml-acts .btn { width: 100%; }
  .ml-acts .ml-pw { order: 0; max-width: none; flex: none; } .ml-acts .ml-out { order: 6; }
  .ml-pair { grid-template-columns: minmax(0, 1fr) 96px; }
}
/* Σελίδα ευκαιρίας: από ποιο email φεύγει (ή «Σύνδεση email») δίπλα στις καρτέλες· εισερχόμενα email ξεχωριστά από τα απεσταλμένα */
.ld-tabrow { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin: 2px 0 12px; } .ld-tabrow .ld-tabs { margin: 0; }
.ld-mail { max-width: 100%; min-width: 0; } .ld-mail span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ld-mail.need { background: var(--note-tag); border-color: #EBDDB0; color: var(--note-ink); white-space: normal; }
.tl.in .tl-dot { background: var(--question-soft); color: var(--question); }
.tl.in .tl-card { background: #fff; box-shadow: inset 0 0 0 1px var(--border-soft); }
.badge.in { background: var(--question-soft); color: var(--question); }
.ld-hist > .ld-ch { flex-wrap: wrap; }
.tl.in .tl-more summary:hover { background: var(--sunken); }

/* ── Μέσα στην εφαρμογή κινητού (κέλυφος mobile/): ό,τι φαίνεται μόνο εκεί ── */
html:not(.native-app) .native-only { display: none !important; }
.login-card .native-only { text-align: center; margin: 14px 0 0; }
/* Η εφαρμογή απλώνει τη σελίδα κάτω από τη γραμμή κατάστασης (ώρα, μπαταρία) με λευκά γράμματα:
   σκούρα λωρίδα εκεί και το περιεχόμενο ξεκινά από κάτω της. Η οθόνη εισόδου είναι ήδη σκούρα. */
html.native-app body { padding-top: env(safe-area-inset-top); }
html.native-app body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top); background: var(--charcoal); z-index: 1000; }
html.native-app .office, html.native-app .e-side, html.native-app .login-page { min-height: calc(100vh - env(safe-area-inset-top)); }

/* Ρυθμίσεις → Βοηθός AI → Φωνή (17/11): δωρεάν τρόποι + ό,τι ξεκλειδώνει ο πάροχος */
.ai-voice-set { border: 1px solid var(--line, #e3e5e8); border-radius: 12px; padding: 12px 14px 14px; margin: 14px 0 0; }
.ai-voice-set legend { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; font-weight: 600; }
.ai-voice-set label.radio, .ai-voice-set label.check { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 0; cursor: pointer; }
.ai-voice-set label.radio input, .ai-voice-set label.check input { width: 18px; height: 18px; margin: 0; flex: none; }
.ai-voice-set label.locked { color: var(--ink-3, #8a9099); cursor: not-allowed; }

/* CRM: «σύνδεσε το email σου» πάνω στο Pipeline (17/11) */
.crm-mail-hint { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; background: #E8F0F8; color: #2F5B85; }
.crm-mail-hint span { flex: 1; min-width: 0; }

/* Ετικέτες που δεν χάνονται όταν γράφεις (17/11): μικρή ετικέτα πάνω από το πεδίο */
.fl { display: flex; flex-direction: column; gap: 3px; margin: 0; min-width: 0; }
.fl > span { font-size: 12px; font-weight: 600; color: var(--ink-2); padding-left: 4px; }
.fl > span i { font-style: normal; font-weight: 400; }
.mat-add { align-items: flex-end; } .mat-add .fl-mat { flex: 1 1 260px; } .mat-add .fl-grow { flex: 1 1 160px; }
.mat-add .fl-mat .mp { flex: none; width: 100%; } .mat-add .fl-grow input { width: 100%; }
.done-f .fl-grow { flex: 1; } .done-f .fl input { width: 100%; }
.mat-add .fl > input, .mat-add .fl > select { flex: none; }   /* μέσα στην ετικέτα το πεδίο κρατά το κανονικό του ύψος */

/* 18/11: Εγκρίσεις */
.appr-o .appr-t { margin: 6px 0; font-size: 15px; } .appr-o .appr-m { margin-bottom: 6px; }
.appr-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; } .appr-f input { flex: 1 1 220px; }

/* 19/11: ⚙ στην κάρτα έργου και «Εκτύπωση ▾» μέσα στο έργο — μεγάλα, όπως στο Odoo */
.pc-acts a { min-height: 40px; padding: 0 14px; font-size: 15px; }
.pc-gear { position: relative; margin-left: auto; }
.pc-gear > summary { list-style: none; cursor: pointer; }
.pc-gear > summary::-webkit-details-marker { display: none; }
.pc-acts .pc-gear > summary { 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; }
.pc-gear[open] > summary { background: var(--action-soft); border-color: var(--dash); }
.pg-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 280px; padding: 8px; background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; box-shadow: 0 14px 40px rgba(35,39,46,.18); display: flex; flex-direction: column; gap: 2px; }
.pg-menu a, .pg-menu button, .pg-sub > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 500 15px Inter, sans-serif; text-decoration: none; text-align: left; cursor: pointer; width: 100%; }
.pg-menu a:hover, .pg-menu button:hover, .pg-sub > summary:hover { background: var(--action-soft); color: var(--ink); text-decoration: none; }
.pg-menu a span, .pg-sub > summary span { flex: 1; }
.pg-menu small { color: var(--ink-2); font-size: 13px; }
.pg-sec { margin: 6px 12px 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pg-sub > summary { list-style: none; } .pg-sub > summary::-webkit-details-marker { display: none; }
.pg-sub > a { padding-left: 40px; }
.pr-menu > summary.btn { display: inline-flex; align-items: center; gap: 8px; }
.pr-menu[open] > summary.btn { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.pr-menu .pg-menu { left: 0; right: auto; }
.kcol-pr { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); background: #fff; border: 1px solid var(--border-soft); margin-left: 4px; }
.kcol-pr:hover { color: var(--action); border-color: var(--dash); }
.appr-sec { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 18px 0 8px; } .appr-sec .cnt { font-size: 13px; }

/* ── 20/11: σελίδα ευκαιρίας όπως το CRM της εικόνας — κάρτα κεφαλίδας + τρεις στήλες (ίδιο και στις Αγορές) ── */
.lh { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; padding: 16px 20px; margin-bottom: 16px; border-radius: var(--r-card); }
.lh-title { min-width: 0; max-width: 420px; }
.lh-title h1 { margin: 0 0 4px; font-size: 22px; line-height: 1.25; color: var(--ink); }
.lh-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.lh-kind { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; background: var(--action-soft); color: var(--action-ink); font-weight: 600; font-size: 13px; }
.lh-stage { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 8px; }
.lh-stage:hover { background: var(--sunken); } .lh-stage b { color: var(--ink); font-weight: 600; }
.lh-f { display: flex; flex-direction: column; gap: 3px; min-width: 0; margin: 0; }
.lh-f > span, .lh-f > label, .lh-box > span { font-size: 13px; color: var(--ink-2); margin: 0; font-weight: 500; }
.lh-f b { font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.lh-f b a { color: inherit; display: inline-flex; align-items: center; gap: 4px; }
.lh-sp { flex: 1 1 0; }
.lh-who select { font: inherit; font-size: 15px; min-height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--border); border-radius: 12px; background-color: #fff; min-width: 180px; }
.lh-box { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 8px 14px; border-radius: 14px; background: var(--sunken); }
.lh-box b { font-size: 18px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.stars { display: flex; gap: 2px; }
.stars button { font-size: 24px; line-height: 1; padding: 0 1px; border: 0; background: none; cursor: pointer; color: #C9CDD3; }
.stars button.on { color: #E3A008; } .stars button:hover { transform: scale(1.12); }
.lh .ld-acts { margin-left: auto; }
.ld3 { display: grid; grid-template-columns: minmax(280px, 330px) minmax(0, 1fr) minmax(300px, 360px); grid-template-areas: "ai main side"; gap: 16px; align-items: start; }
.ld3 > * { min-width: 0; }
.ld3-ai { grid-area: ai; } .ld3-main { grid-area: main; } .ld3-side { grid-area: side; }
.ld3 .ld-hist { border-top: 0; margin-top: 0; padding-top: 18px; }
.ld3-side .ld-ch h2, .ld3-ai .ld-ch h2 { font-size: 16px; }
.ld3-side .ld-edit .fgrid { grid-template-columns: 1fr; }
.ld3-side .note-f { flex-direction: column; } .ld3-side .note-f textarea, .ld3-side .note-f .btn { width: 100%; justify-content: center; }
.ld-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 12px 0 0; }
.ld-facts div.wide { grid-column: 1 / -1; } .ld-facts dt { font-size: 13px; color: var(--ink-2); } .ld-facts dd { margin: 1px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.pp { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.ld-ch + .pp { border-top: 0; }
.pp .av { width: 34px; height: 34px; font-size: 12px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.pp-b { flex: 1; min-width: 0; } .pp-b a { color: inherit; } .pp-b b { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.pp-b small { display: block; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-i { flex: none; width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.pp-i:hover { background: var(--action-soft); color: var(--action-ink); }
@media (max-width: 1360px) {
  .ld3 { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); grid-template-areas: "main ai" "main side"; grid-template-rows: auto 1fr; }
}
@media (max-width: 1000px) {
  .ld3 { grid-template-columns: 1fr; grid-template-areas: "main" "ai" "side"; grid-template-rows: none; }
  .lh-sp { display: none; } .lh .ld-acts { margin-left: 0; }
}
.lh { gap: 10px 22px; } .lh-title { max-width: 380px; } .lh-title h1 { font-size: 20px; }
.lh-who select { min-width: 150px; }
.ld3-ai .ai-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .ld3-ai .ai-btns [data-ai-insert] { grid-column: 1 / -1; }
.ld3-ai .ai-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ld3-ai .ai-btns .btn, .ld3-ai .ai-quick .btn { min-width: 0; padding: 0 8px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld3 .ed-area { min-height: 120px; }
.ld3 .ed-bar .btn { min-height: 38px; padding: 0 12px; font-size: 14px; margin-left: 4px; }
.ld3 .ed-bar > button:not(.btn), .ld3 .ed-att { width: 32px; height: 32px; }
.lh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.lh-top .ld-crumb { margin: 0; } .lh-top .ld-acts { margin-left: auto; }
.ld3-ai .ai-quick { display: flex; flex-wrap: wrap; } .ld3-ai .ai-quick .btn { flex: 1 1 auto; overflow: visible; }
.ld3-side .ar { flex-wrap: wrap; align-items: flex-start; }
.ld3-side .ar-t { flex: 1 1 calc(100% - 48px); }
.ld3-side .ar > details, .ld3-side .ar > form.inline { margin-left: 46px; }
.ld3-side .ar > form.inline { margin-left: 0; }
.pp.tk .pp-b { color: inherit; text-decoration: none; font-size: 15px; } .pp.tk .pp-b b { text-transform: none; font-size: 15px; color: var(--action-ink); }
.pp.tk .pp-b small { white-space: normal; }
.pp form.inline { margin: 0; } .pp button.pp-i { border: 0; background: none; cursor: pointer; }
.tk-add { display: flex; gap: 8px; margin-top: 10px; } .tk-add input { flex: 1; min-width: 0; font: inherit; font-size: 15px; min-height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.tk-add .btn { white-space: nowrap; }
.ld3.two { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); grid-template-areas: "main side"; grid-template-rows: none; }
@media (max-width: 1000px) { .ld3.two { grid-template-columns: 1fr; grid-template-areas: "main" "side"; } }
.ld3-page .po-steps { margin-bottom: 16px; }
.po-for summary { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; margin-left: -8px; border-radius: 8px; font-weight: 600; color: var(--ink); }
.po-for summary:hover { background: var(--sunken); } .po-for summary .ic { color: var(--ink-2); }
.po-place { width: 280px; padding: 12px; gap: 8px; } .po-place label { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: 13px; color: var(--ink-2); }
.po-place input, .po-place select { font: inherit; font-size: 15px; min-height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; width: 100%; }
.ld3-side #send pre { max-height: 220px; overflow: auto; white-space: pre-wrap; }
.ld3-side #details input, .ld3-side #details textarea { width: 100%; }
#lines .po-lines { width: 100%; }
.tag.bad { background: var(--urgent-soft); color: var(--urgent); }
#talks .pp { flex-wrap: wrap; } #talks .pp-b b { text-transform: none; } #talks .tag { white-space: nowrap; }
#talks .pp-b { flex: 1 1 100%; } #talks .pp-b small { white-space: normal; overflow-wrap: anywhere; }
#talks .pp .tag { margin-right: auto; }
.ld3 .ld-hist .tl-list { max-height: 560px; overflow-y: auto; padding-right: 4px; }
.ed-pdf { display: flex; align-items: center; gap: 7px; padding: 6px 14px 8px; font-size: 14px; color: var(--ink-2); margin: 0; font-weight: 500; } .ed-pdf input { width: 18px; height: 18px; } .ed-pdf a { margin-left: 4px; }
.sv-item form.inline, .sv-grp form.inline { margin: 0; display: inline-flex; flex: none; position: relative; z-index: 1; } button.sv-mk, button.sv-grp-task { font: inherit; font-weight: 600; cursor: pointer; }
/* 20/11: με τον AI Βοηθό αριστερά η μεσαία στήλη στένεψε — ο πίνακας γραμμών χωρά: πιο σφιχτά κελιά, «×» αντί για «Αφαίρεση» */
#lines { overflow-x: auto; }
#lines .po-lines th, #lines .po-lines td { padding-left: 8px; padding-right: 8px; }
#lines .po-lines td:first-child b { overflow-wrap: anywhere; }
#lines .price-in { width: 76px !important; }
#lines .po-rm { min-width: 36px; padding: 0 9px; }
#lines .po-for { min-width: 150px; }
/* 22/11: υλικά της εργασίας — φωτογραφία και «πού μπαίνει» */
.need-row .tag.surf { margin-left:0; }
.mat-th { width:44px; height:44px; border-radius:8px; object-fit:cover; display:block; background:var(--sunken); }
.mat-photo-cur { display:flex; gap:12px; align-items:center; margin:4px 0 8px; } .mat-photo-cur img { width:120px; height:120px; object-fit:cover; border-radius:10px; }
