/* =====================================================================
   assets/css/notes.css — My Notes (notes.aegeantransfers.gr)

   Ίδια γλώσσα με την κράτηση του aegeantransfers.gr (book-online-od.css · at-steps.css · book-step2/3.css):
   τετράγωνα σημάδια (ΜΑΥΡΟ = «τι» · ΚΙΤΡΙΝΟ #f7b538 = «πού / έργο»), λευκές ετικέτες με γωνίες 6px,
   μικρή γκρι λεζάντα + έντονο κείμενο, κουμπί μαύρο με κίτρινο κουτί δεξιά, βήματα με μικρά τετράγωνα.
   Ο «χάρτης» εδώ είναι ο πίνακας με τις εγγραφές (γκρι φόντο με πλέγμα, όχι άσπρο).

   1. Βάση  2. Είσοδος  3. Μπάρα  4. Διάταξη  5. Βήματα  6. Φόρμα (τι/πού/πότε)  7. Κουμπί «go»
   8. Τύπος (κάρτες σαν τα αυτοκίνητα)  9. Βήματα (σαν στάσεις)  10. Λεπτομέρειες  11. Καταχώρηση (ραντάρ)
   12. Πίνακας & κάρτες  13. Sheet  14. Toast  15. Desktop
   ===================================================================== */

/* ───────── 1. Βάση ───────── */
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-2193, U+2212; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-2193, U+2212; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-2193, U+2212; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-2193, U+2212; }

:root {
  --k: #111; --y: #f7b538; --y2: #fde7b4; --muted: #6b6b6b; --line: #e4e4e4; --bg: #e6e6e6; --card: #fff;
  --red: #dc2626; --green: #16a34a; --top: 54px;
  --shadow: 0 4px 13px rgba(0,0,0,.18), 0 1px 2px rgba(0,0,0,.12); --shadow-s: 0 2px 8px rgba(0,0,0,.1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 14px/1.4 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--k); -webkit-tap-highlight-color: transparent;
  background: var(--bg);
  /* «χάρτης»: λεπτό πλέγμα, όχι άσπρο φόντο */
  background-image: linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 28px 28px; background-attachment: fixed; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
.muted { color: var(--muted); }

/* ───────── 2. Είσοδος ───────── */
.lg { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lg-card { width: min(380px, 100%); background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 22px 18px; }
.lg-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.lg-brand b { display: block; font-size: 18px; font-weight: 700; } .lg-brand small { font-size: 11px; color: var(--muted); }
.lg-mark { position: relative; width: 30px; height: 30px; flex: none; display: inline-block; }
.lg-mark i { position: absolute; width: 17px; height: 17px; border-radius: 3px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.lg-mark i:first-child { left: 0; top: 2px; background: var(--k); } .lg-mark i:last-child { right: 0; bottom: 2px; background: var(--y); }
.lg-rem { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 4px 2px 12px; }
.lg-err { margin: 0 0 10px; padding: 9px 11px; border-radius: 6px; background: #fee2e2; color: #991b1b; font-size: 12.5px; }

/* ───────── 3. Μπάρα ───────── */
.top { position: sticky; top: 0; z-index: 50; height: var(--top); display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--k); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.top-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.top-brand .lg-mark { width: 26px; height: 26px; } .top-brand .lg-mark i { width: 15px; height: 15px; border-color: var(--k); box-shadow: none; }
.top-brand .lg-mark i:first-child { background: #fff; }
.top-brand b { font-size: 15px; font-weight: 600; }
.top-sum { flex: 1; min-width: 0; display: flex; gap: 6px; justify-content: flex-end; overflow: hidden; }
.top-sum span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 6px; background: #222; font-size: 11px; white-space: nowrap; }
.top-sum span b { font-weight: 700; } .top-sum .late { background: var(--red); } .top-sum .now { background: var(--y); color: var(--k); }
.top-ic { width: 38px; height: 38px; border-radius: 8px; background: #1e1e1e; color: #fff; flex: none; }
.top-ic:hover { background: #2a2a2a; }

/* ───────── 4. Διάταξη ───────── */
.shell { display: flex; flex-direction: column; gap: 10px; padding: 10px 8px calc(90px + var(--safe-b)); max-width: 1500px; margin: 0 auto; }
.flow { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 12px 10px; }
.board { min-width: 0; }

/* ───────── 5. Βήματα (ίδια με at-steps.css) ───────── */
.ats { margin: 0 0 10px; }
.ats ol { display: flex; align-items: center; margin: 0; padding: 2px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.ats ol::-webkit-scrollbar { display: none; }
.ats li { position: relative; display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.ats li + li { margin-left: 6px; padding-left: 14px; }
.ats li + li::before { content: ''; position: absolute; left: 0; top: 50%; width: 9px; height: 1.5px; background: #d6d6d6; }
.ats li.done + li::before, .ats li.now::before { background: var(--k); }
.ats .sq { width: 16px; height: 16px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 8.5px; font-weight: 600; background: #e4e4e4; color: #9a9a9a; }
.ats .sq i { font-size: 7.5px; }
.ats .t { font-size: 9.5px; font-weight: 500; color: #9a9a9a; white-space: nowrap; }
.ats li.done .sq { background: var(--y); color: var(--k); } .ats li.done .t { color: #555; }
.ats li.now .sq { background: var(--k); color: var(--y); } .ats li.now .t { color: var(--k); font-weight: 600; }
.ats li.done { cursor: pointer; }

/* ───────── 6. Φόρμα (τι → πού · πότε · extra) ───────── */
.fh { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.fh h2 { margin: 0; font-size: 16px; font-weight: 600; flex: 1; }
.fh .back { width: 32px; height: 32px; border-radius: 6px; background: #f1f1f1; }
.fh .edit-tag { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--y); }
.route { position: relative; display: flex; flex-direction: column; gap: 6px; }
.route::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 30px; width: 1.5px; background: #cfcfcf; z-index: 1; }
.fl { position: relative; display: flex; align-items: center; min-height: 46px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: text; transition: border-color .15s, box-shadow .15s; }
.fl:focus-within { border-color: var(--k); box-shadow: 0 0 0 1px var(--k); }
.fl-sq { position: relative; z-index: 2; flex: none; width: 14px; height: 14px; margin: 0 10px 0 7px; border-radius: 2px; background: var(--k); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.fl-sq--y { background: var(--y); }
.fl-in { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 5px 8px 5px 0; }
.fl-in small { font-size: 9px; color: var(--muted); line-height: 1.2; }
.fl-in input, .fl-in textarea, .fl-in select { width: 100%; border: 0; outline: 0; background: transparent; padding: 0; font-size: 14px; font-weight: 500; }
.fl-in textarea { resize: none; min-height: 22px; line-height: 1.45; }
.fl-meta { flex: none; margin-right: 6px; font-size: 10px; font-weight: 600; color: var(--muted); }
.fl-x { flex: none; width: 30px; height: 30px; margin-right: 4px; border-radius: 6px; color: var(--muted); font-size: 16px; }
.fl-mini { flex: none; width: 34px; height: 34px; margin-right: 5px; border-radius: 5px; background: #f1f1f1; font-size: 12px; }
.lg-card .fl { margin-bottom: 8px; }

/* λίστα προτάσεων έργου (σαν τη λίστα της Google) */
.pac { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: #fff; border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; max-height: 260px; overflow-y: auto; }
.pac button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; text-align: left; border-bottom: 1px solid #f1f1f1; font-size: 13px; }
.pac button:last-child { border-bottom: 0; }
.pac button.on, .pac button:hover { background: #f6f6f6; }
.pac .psq { width: 12px; height: 12px; border-radius: 2px; flex: none; }
.pac small { margin-left: auto; font-size: 10.5px; color: var(--muted); }

.cap { margin: 12px 2px 6px; font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pop { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 1px 1px 3px; }
.pop::-webkit-scrollbar { display: none; }
.pop button { flex: none; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.pop button .psq { width: 10px; height: 10px; border-radius: 2px; }
.pop button.on { background: var(--k); color: #fff; }

.when { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.opt { display: flex; align-items: stretch; height: 46px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: var(--shadow-s); text-align: left; }
.opt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; }
.opt-t small { font-size: 9px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-t b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-b { flex: 0 0 38px; display: flex; align-items: center; justify-content: center; border-left: 1px solid #ececec; font-size: 12px; }
.opt.on { background: var(--k); color: #fff; box-shadow: var(--shadow); }
.opt.on .opt-t small { color: var(--y); }
.opt.on .opt-b { background: var(--y); color: var(--k); border-left: 0; }

.extra { display: flex; gap: 6px; margin-top: 8px; }
.chip { flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.chip > i { font-size: 11px; }
.chip.on { background: var(--k); color: #fff; } .chip.on > i { color: var(--y); }
.chip .ctr { width: 24px; height: 24px; border-radius: 5px; background: #f1f1f1; font-size: 14px; font-weight: 600; line-height: 1; }
.chip .n { min-width: 46px; text-align: center; font-weight: 600; }
.chip .x { width: 22px; height: 22px; border-radius: 4px; background: rgba(255,255,255,.15); color: #fff; font-size: 14px; }

/* ───────── 7. Κουμπί «go» (σαν το «See prices»: μαύρο, λεζάντα, κίτρινο κουτί δεξιά) ───────── */
.go { position: relative; display: flex; align-items: stretch; width: 100%; height: 54px; margin-top: 12px; border-radius: 6px; overflow: hidden; background: var(--k); color: #fff; box-shadow: var(--shadow); text-align: left; }
.go-t { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 14px; }
.go-t small { font-size: 9px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go-t b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go-b { flex: 0 0 54px; display: flex; align-items: center; justify-content: center; background: var(--y); color: var(--k); font-size: 16px; }
.go:disabled { opacity: .5; cursor: default; }
.go.light { background: #fff; color: var(--k); box-shadow: var(--shadow-s); } .go.light .go-t small { color: var(--muted); }
.go.red .go-b { background: var(--red); color: #fff; }
.trust { display: flex; justify-content: space-between; gap: 6px; margin-top: 9px; font-size: 9px; color: var(--muted); }
.trust span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.trust i { width: 7px; height: 7px; border-radius: 1.5px; background: var(--k); display: inline-block; } .trust i.y { background: var(--y); }
.kbd { display: inline-block; padding: 0 4px; border-radius: 3px; background: #eee; font-size: 9px; font-weight: 600; color: #555; }

/* ───────── 8. Τύπος (σαν «Choose your car») ───────── */
.rt { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 8px; background: #f3f3f3; margin-bottom: 10px;
  background-image: linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px); background-size: 18px 18px; }
.tag { display: flex; align-items: stretch; background: #fff; border-radius: 6px; box-shadow: var(--shadow-s); overflow: hidden; min-height: 40px; }
.tag-sq { flex: none; width: 12px; height: 12px; margin: auto 8px auto 10px; border-radius: 2px; background: var(--k); }
.tag-sq.y { background: var(--y); }
.tag-t { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 4px 8px 4px 0; }
.tag-t small { font-size: 9px; color: var(--muted); } .tag-t b { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-b { flex: 0 0 auto; min-width: 42px; padding: 0 9px; display: flex; align-items: center; justify-content: center; gap: 5px; background: var(--k); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; }
.tag-b.y { background: var(--y); color: var(--k); }
.rt-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.rt-meta span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 5px; background: #fff; font-size: 10.5px; font-weight: 500; box-shadow: var(--shadow-s); }

.cars { display: flex; flex-direction: column; gap: 8px; }
.car { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #fff; border: 1.5px solid var(--line); text-align: left; transition: border-color .15s, box-shadow .15s; }
.car-ic { width: 46px; height: 46px; border-radius: 8px; background: #f1f1f1; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.car-t { flex: 1; min-width: 0; }
.car-t b { display: block; font-size: 14px; font-weight: 600; } .car-t small { display: block; font-size: 11px; color: var(--muted); line-height: 1.35; }
.car-p { flex: none; text-align: right; }
.car-p b { display: block; font-size: 12.5px; font-weight: 700; } .car-p small { font-size: 9.5px; color: var(--muted); }
.car.on { border-color: var(--k); box-shadow: 0 0 0 1px var(--k), var(--shadow-s); }
.car.on .car-ic { background: var(--k); color: var(--y); }
.sec-l { margin: 2px 2px 8px; font-size: 10.5px; font-weight: 600; color: var(--muted); }

/* ───────── 9. Βήματα (σαν στάσεις) ───────── */
.stops { position: relative; display: flex; flex-direction: column; gap: 6px; }
.stop { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px 0 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.stop .n { flex: none; width: 22px; height: 22px; margin: 0 6px 0 8px; border-radius: 4px; background: var(--k); color: var(--y); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.stop input[type=text] { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 13.5px; padding: 10px 0; background: transparent; }
.stop .ib { width: 30px; height: 30px; border-radius: 5px; color: var(--muted); flex: none; }
.stop .ib:hover { background: #f3f3f3; color: var(--k); }
.stop.done .n { background: var(--y); color: var(--k); } .stop.done input { text-decoration: line-through; color: var(--muted); }
.stop-add { display: flex; align-items: center; gap: 4px; min-height: 44px; border: 1.5px dashed #cfcfcf; border-radius: 6px; padding-right: 4px; }
.stop-add .n { background: #e4e4e4; color: #888; }
.stop-add input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 13.5px; padding: 10px 0; }
.stop-add button { height: 34px; padding: 0 12px; border-radius: 5px; background: var(--k); color: #fff; font-size: 12px; font-weight: 600; }
.hint { margin: 8px 2px 0; font-size: 11px; color: var(--muted); line-height: 1.45; }

/* ───────── 10. Λεπτομέρειες (σαν «Contact information») ───────── */
.card { padding: 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); margin-bottom: 8px; }
.card h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.card .fl { margin-bottom: 6px; }
.body-ta { width: 100%; min-height: 140px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 11px; outline: 0; resize: vertical; font-size: 14px; line-height: 1.55; }
.body-ta:focus { border-color: var(--k); box-shadow: 0 0 0 1px var(--k); }
.sr { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-align: left; font-size: 13px; font-weight: 500; }
.sr .ico { width: 30px; height: 30px; border-radius: 6px; background: #f1f1f1; display: flex; align-items: center; justify-content: center; }
.sr .plus { margin-left: auto; color: var(--muted); }
.sr-sum { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 4px; background: #f1f1f1; font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.pill.k { background: var(--k); color: #fff; } .pill.y { background: var(--y); } .pill.r { background: #fee2e2; color: #991b1b; } .pill.g { background: #dcfce7; color: #166534; }
.segs { display: flex; gap: 6px; flex-wrap: wrap; }
.segs button { height: 34px; padding: 0 12px; border-radius: 6px; background: #f1f1f1; font-size: 12px; font-weight: 500; }
.segs button.on { background: var(--k); color: #fff; }
.tags-in { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; min-height: 44px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.tags-in .pill button { color: var(--muted); font-size: 13px; }
.tags-in input { flex: 1; min-width: 100px; border: 0; outline: 0; font-size: 13px; }
.sw { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 13px; }
.sw input { width: 40px; height: 22px; appearance: none; -webkit-appearance: none; border-radius: 99px; background: #d4d4d4; position: relative; cursor: pointer; transition: background .15s; flex: none; }
.sw input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.sw input:checked { background: var(--k); } .sw input:checked::after { transform: translateX(18px); background: var(--y); }
.sw small { display: block; font-size: 10.5px; color: var(--muted); }

/* ───────── 11. Καταχώρηση (σαν «Pending → Booking confirmed») ───────── */
.radar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 230px; border-radius: 10px; overflow: hidden; background: #f1f1f1;
  background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); background-size: 22px 22px; }
.radar .pulse { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: rgba(17,17,17,.16); animation: mnPulse 1.8s infinite; }
.radar .pin { position: relative; width: 22px; height: 22px; border-radius: 4px; background: var(--k); border: 3px solid #fff; box-shadow: var(--shadow); }
.radar .txt { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; }
.radar .txt b { display: block; font-size: 15px; } .radar .txt small { font-size: 11px; color: var(--muted); }
@keyframes mnPulse { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.ok-box { text-align: center; padding: 18px 8px 6px; }
.ok-box .big { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 8px; background: var(--y); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow-s); }
.ok-box h2 { margin: 0 0 4px; font-size: 18px; } .ok-box p { margin: 0; font-size: 12.5px; color: var(--muted); }
.ok-ref { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 4px; background: var(--k); color: var(--y); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.acts .go { margin-top: 0; height: 48px; }
.acts .go .go-b { flex-basis: 44px; }

/* ───────── 12. Πίνακας & κάρτες ───────── */
.bd-head { position: sticky; top: var(--top); z-index: 10; padding: 6px 0 8px; margin: 0 -8px; padding-left: 8px; padding-right: 8px;
  background: linear-gradient(var(--bg) 80%, rgba(230,230,230,0)); }
.bd-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 12px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); margin-bottom: 8px; }
.bd-search input { flex: 1; border: 0; outline: 0; font-size: 14px; background: transparent; }
.bd-search .x { width: 32px; height: 32px; border-radius: 6px; font-size: 18px; color: var(--muted); }
.bd-chips, .bd-projects { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 1px 1px 3px; }
.bd-chips::-webkit-scrollbar, .bd-projects::-webkit-scrollbar { display: none; }
.bd-projects { margin-top: 6px; }
.bc { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); font-size: 12px; font-weight: 500; white-space: nowrap; }
.bc small { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 4px; background: #f1f1f1; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bc.on { background: var(--k); color: #fff; } .bc.on small { background: var(--y); color: var(--k); }
.bc.late small { background: var(--red); color: #fff; }
.bc .psq { width: 10px; height: 10px; border-radius: 2px; }
.bd-projects .bc { height: 28px; font-size: 11px; padding: 0 10px; }

.grp { margin: 14px 2px 7px; display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: .04em; }
.grp .sq { width: 10px; height: 10px; border-radius: 2px; background: var(--k); } .grp .sq.y { background: var(--y); } .grp .sq.r { background: var(--red); } .grp .sq.g { background: #bbb; }
.grp .n { margin-left: auto; font-weight: 600; color: var(--muted); text-transform: none; }
.items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }

.it { position: relative; display: flex; align-items: stretch; background: #fff; border-radius: 6px; box-shadow: var(--shadow-s); overflow: hidden; min-height: 58px; text-align: left; transition: transform .1s, box-shadow .15s; }
.it:hover { box-shadow: var(--shadow); }
.it:active { transform: scale(.99); }
.it-ck { flex: none; width: 46px; display: flex; align-items: center; justify-content: center; }
.it-ck span { width: 18px; height: 18px; border-radius: 3px; border: 2px solid var(--k); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; color: transparent; transition: all .15s; }
.it-ck:hover span { background: var(--y2); }
.it.doing .it-ck span { background: var(--y); border-color: var(--y); color: var(--k); }
.it.doing .it-ck span::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--k); }
.it.done .it-ck span { background: var(--k); color: var(--y); }
.it.note .it-ck span, .it.idea .it-ck span { border: 0; background: #f1f1f1; color: var(--k); font-size: 11px; }
.it-t { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 8px 8px 8px 0; }
.it-t small { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; }
.it-t small .psq { width: 8px; height: 8px; border-radius: 1.5px; flex: none; }
.it-t b { font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.it-t .ex { font-size: 11.5px; color: #555; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.it-t .tg { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.it-t .tg .pill { height: 18px; font-size: 9.5px; padding: 0 6px; }
.it-bar { height: 3px; border-radius: 2px; background: #eee; overflow: hidden; margin-top: 4px; max-width: 160px; }
.it-bar i { display: block; height: 100%; background: var(--y); }
.it-b { flex: 0 0 auto; min-width: 58px; padding: 0 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--k); color: #fff; text-align: center; }
.it-b i { font-size: 12px; color: var(--y); }
.it-b b { font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.it-b.none { background: #f3f3f3; color: var(--muted); } .it-b.none i { color: #999; }
.it-b.late { background: var(--red); } .it-b.late i { color: #fff; }
.it-b.soon { background: var(--y); color: var(--k); } .it-b.soon i { color: var(--k); }
.it.done { opacity: .6; } .it.done .it-t b { text-decoration: line-through; }
.it.cancelled { opacity: .45; }
.it .pin { position: absolute; top: 5px; right: 66px; font-size: 9px; color: var(--y); }
.it .prio { color: var(--red); font-weight: 700; }
.empty { padding: 34px 16px; text-align: center; border-radius: 8px; background: rgba(255,255,255,.7); color: var(--muted); font-size: 13px; }
.empty i { display: block; font-size: 24px; margin-bottom: 8px; color: #aaa; }
.more { display: block; margin: 8px auto 0; height: 34px; padding: 0 14px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); font-size: 12px; font-weight: 500; }

/* ───────── 13. Sheet (κινητό: από κάτω · desktop: πλάι) ───────── */
.sheet-bg { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet-bg.open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; background: #f4f4f4; border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,.25); transform: translateY(105%); transition: transform .25s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
.sheet.open { transform: none; visibility: visible; }
.sheet-grip { width: 38px; height: 4px; border-radius: 2px; background: #c8c8c8; margin: 8px auto 2px; flex: none; }
.sheet-body { overflow-y: auto; padding: 8px 12px calc(16px + var(--safe-b)); -webkit-overflow-scrolling: touch; }
.sh-h { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 10px; }
.sh-h .tt { flex: 1; min-width: 0; }
.sh-h .tt small { font-size: 10.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.sh-h .tt h2 { margin: 2px 0 0; font-size: 18px; font-weight: 600; line-height: 1.3; word-break: break-word; }
.sh-h .cl { width: 34px; height: 34px; border-radius: 8px; background: #e6e6e6; flex: none; font-size: 15px; }
.sh-card { padding: 12px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-s); margin-bottom: 8px; }
.sh-card h4 { margin: 0 0 8px; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.sh-card h4 .r { margin-left: auto; text-transform: none; letter-spacing: 0; }
.rows .r { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f1f1f1; font-size: 12.5px; }
.rows .r:last-child { border-bottom: 0; } .rows .r span { color: var(--muted); } .rows .r b { font-weight: 600; text-align: right; word-break: break-word; }
.body-v { font-size: 14px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.body-v a { color: #1d4ed8; }
.chk { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 9px 2px; border-bottom: 1px solid #f3f3f3; text-align: left; font-size: 13.5px; }
.chk:last-child { border-bottom: 0; }
.chk .b { flex: none; width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--k); display: flex; align-items: center; justify-content: center; font-size: 9px; color: transparent; margin-top: 1px; }
.chk.on .b { background: var(--y); border-color: var(--y); color: var(--k); } .chk.on .tx { text-decoration: line-through; color: var(--muted); }
.st-steps { margin-bottom: 10px; }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.btns .go { margin-top: 0; height: 48px; }
.btns .full { grid-column: 1 / -1; }
.lnk-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.sbtn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); font-size: 12px; font-weight: 500; }
.sbtn.red { color: var(--red); }
.list-opt { display: flex; flex-direction: column; gap: 6px; }
.lo { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-s); text-align: left; font-size: 13.5px; }
.lo small { display: block; font-size: 11px; color: var(--muted); }
.lo .r { margin-left: auto; color: var(--muted); font-size: 12px; }
.lo.on { background: var(--k); color: #fff; } .lo.on small { color: var(--y); }
.qd { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.qd button { height: 44px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-s); text-align: left; padding: 0 10px; display: flex; flex-direction: column; justify-content: center; }
.qd button small { font-size: 9.5px; color: var(--muted); } .qd button b { font-size: 12.5px; font-weight: 600; }
.qd button.on { background: var(--k); color: #fff; } .qd button.on small { color: var(--y); }
.dt-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6px; }
.dt-row input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; font-size: 14px; background: #fff; }
.pcol { display: flex; gap: 6px; flex-wrap: wrap; }
.pcol button { width: 30px; height: 30px; border-radius: 6px; border: 2px solid #fff; box-shadow: var(--shadow-s); }
.pcol button.on { outline: 2px solid var(--k); outline-offset: 1px; }
.err { margin: 8px 0 0; padding: 9px 11px; border-radius: 6px; background: #fee2e2; color: #991b1b; font-size: 12.5px; }

/* ───────── 14. Toast ───────── */
.toast { width: max-content; position: fixed; left: 50%; bottom: calc(84px + var(--safe-b)); z-index: 120; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px); padding: 10px 12px 10px 14px;
  border-radius: 8px; background: var(--k); color: #fff; font-size: 13px; box-shadow: var(--shadow); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .2s; }
.toast.open { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast.err { background: var(--red); }
.toast button { color: var(--y); font-weight: 700; font-size: 12.5px; padding: 4px 6px; }

.fab { position: fixed; right: 14px; bottom: calc(16px + var(--safe-b)); z-index: 40; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 16px; border-radius: 8px; background: var(--k); color: #fff; font-weight: 600; box-shadow: var(--shadow); }
.fab i { width: 24px; height: 24px; border-radius: 4px; background: var(--y); color: var(--k); display: flex; align-items: center; justify-content: center; font-size: 12px; }
body.flowing .fab { display: none; }

/* Κινητό: όταν η ροή είναι σε βήμα πέρα από το πρώτο, πιάνει όλη την οθόνη (σαν τις σελίδες step2 / step3) */
@media (max-width: 999px) {
  body.deep .board { display: none; }
  body.deep .flow { min-height: calc(100dvh - var(--top) - 20px); }
  .flow.compact .when, .flow.compact .extra, .flow.compact .cap, .flow.compact .pop, .flow.compact .trust, .flow.compact .go { display: none; }
  .flow.compact { padding-bottom: 10px; }
}

/* ───────── 15. Desktop ───────── */
@media (min-width: 700px) {
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .shell { flex-direction: row; align-items: flex-start; gap: 18px; padding: 18px 18px 40px; }
  .flow { position: sticky; top: calc(var(--top) + 18px); width: 410px; flex: none; padding: 18px; max-height: calc(100vh - var(--top) - 36px); overflow-y: auto; border-radius: 10px; }
  .board { flex: 1; }
  .bd-head { top: var(--top); margin: -18px 0 0; padding: 18px 0 8px; }
  .fab { display: none; }
  .sheet { left: auto; top: 0; width: 460px; max-height: none; border-radius: 14px 0 0 14px; transform: translateX(105%); }
  .sheet.open { transform: none; }
  .sheet-grip { display: none; }
  .sheet-body { padding: 16px 18px 24px; }
  .toast { bottom: 24px; }
  .top { padding: 0 18px; }
}
@media (min-width: 1500px) { .items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.toast span { flex: 1; min-width: 0; } .toast button { flex: none; }
