/* Inter – self-hosted (SIL Open Font License 1.1, βλ. static/fonts/OFL.txt). Δεν φορτώνει τίποτα από το Google.
   Μεταβλητή γραμματοσειρά: ένα αρχείο ανά σύνολο χαρακτήρων· ο browser κατεβάζει μόνο όσα χρειάζεται η σελίδα. */
@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e5e9f0;
  --text: #0f172a;
  --muted: #64748b;
  --faint: #94a3b8;
  --accent: #1f3b63;
  --accent-2: #b08a4a;
  --gold: #b08a4a;
  --cream: #f4eee4;
  --accent-soft: #eaf0f8;
  --pos: #15803d;
  --pos-soft: #dcfce7;
  --neg: #b91c1c;
  --neg-soft: #fee2e2;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --ch-airbnb: #ff5a5f;
  --ch-booking: #1e5bc6;
  --ch-direct: #0d9488;
  --ch-vrbo: #7c3aed;
  --ch-owner: #94a3b8;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .18);
  --radius: 14px;
  --side: 248px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1524; --surface: #142038; --surface-2: #101a2e; --border: #22314d; --text: #e2e8f0;
    --muted: #94a3b8; --faint: #64748b; --accent: #d4ac6e; --accent-2: #e7c98f; --accent-soft: #2a2416;
    --on-accent: #14233b; --pos: #4ade80; --pos-soft: #052e16; --neg: #f87171; --neg-soft: #450a0a; --warn: #fbbf24; --warn-soft: #422006;
    --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1524; --surface: #142038; --surface-2: #101a2e; --border: #22314d; --text: #e2e8f0;
  --muted: #94a3b8; --faint: #64748b; --accent: #d4ac6e; --accent-2: #e7c98f; --accent-soft: #2a2416;
  --on-accent: #14233b; --pos: #4ade80; --pos-soft: #052e16; --neg: #f87171; --neg-soft: #450a0a; --warn: #fbbf24; --warn-soft: #422006;
  --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.right { text-align: right; }
.hidden { display: none !important; }

/* ─── Layout ─── */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--surface);
  border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; background: transparent; display: grid; place-items: center; flex: none; }
.brand-logo img { width: 38px; height: 38px; display: block; }
.brand b { letter-spacing: .14em; }
.brand b { font-size: 14px; display: block; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 12px; }
.nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 14px 10px 6px; font-weight: 600; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: var(--muted); font-weight: 500;
}
.nav a svg { width: 18px; height: 18px; flex: none; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.nav .badge { margin-left: auto; }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; flex: none; }
.user-chip .who { min-width: 0; }
.user-chip .who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.user-chip .who span { font-size: 12px; color: var(--muted); }

.main { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 12px; padding: 14px 28px; border-bottom: 1px solid transparent;
}
.topbar h1 { font-size: 20px; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.topbar .spacer { flex: 1; }
.menu-btn { display: none; }
.content { padding: 8px 28px 48px; max-width: 1400px; }

/* ─── Components ─── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px 0; }
.card-h h3 { margin: 0; font-size: 14px; font-weight: 600; }
.card-h .spacer { flex: 1; }
.card-b { padding: 16px 18px 18px; }
.grid { display: grid; gap: 16px; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.mt { margin-top: 16px; }

.kpi { padding: 16px 18px; }
.kpi .lbl { font-size: 12px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.kpi .val { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.kpi .sub { font-size: 12px; color: var(--muted); margin-top: 2px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.kpi.hero { background: linear-gradient(135deg, var(--accent), #14284a); color: #fff; border: none; }
.kpi.hero .lbl, .kpi.hero .sub { color: rgba(255,255,255,.82); }
.delta { font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 99px; }
.delta.up { color: var(--pos); background: var(--pos-soft); }
.delta.down { color: var(--neg); background: var(--neg-soft); }
.kpi.hero .delta { background: rgba(255,255,255,.18); color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 500; white-space: nowrap;
}
.btn:hover { border-color: var(--faint); }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--neg); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn.icon { width: 36px; padding: 0; justify-content: center; }
.btn:disabled { opacity: .55; cursor: default; }

.select, .input, textarea.input {
  height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); outline: none; min-width: 0;
}
textarea.input { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; }
.select:focus, .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .spacer { flex: 1; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 7px; cursor: pointer; color: var(--muted); font-weight: 500; }
.seg button.on { background: var(--accent-soft); color: var(--accent); }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; }
.badge.pos { background: var(--pos-soft); color: var(--pos); border-color: transparent; }
.badge.neg { background: var(--neg-soft); color: var(--neg); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.acc { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }

/* tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--surface-2); }
.t td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr:hover td { background: var(--surface-2); }
.t .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t tfoot td { font-weight: 700; background: var(--surface-2); border-top: 1px solid var(--border); }
.t tr.click { cursor: pointer; }
.cell-main { font-weight: 600; }
.cell-sub { font-size: 12px; color: var(--muted); }

.list-item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: 0; }
.date-tile { width: 46px; flex: none; text-align: center; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); padding: 4px 0; }
.date-tile b { display: block; font-size: 17px; line-height: 1.1; }
.date-tile span { font-size: 10px; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty svg { width: 40px; height: 40px; color: var(--faint); margin-bottom: 8px; }

/* property cards */
.prop-card { overflow: hidden; display: flex; flex-direction: column; }
.prop-cover { height: 92px; position: relative; display: flex; align-items: flex-end; padding: 12px 14px; color: #fff; }
.prop-cover b { font-size: 16px; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.prop-cover .badge { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.92); color: #0f172a; border: 0; }
.prop-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px 14px; gap: 8px; }
.prop-stats div span { font-size: 11px; color: var(--muted); display: block; }
.prop-stats div b { font-size: 15px; }

/* charts */
.chart { width: 100%; display: block; overflow: visible; }
.chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .bar { transition: opacity .15s; }
.chart .bar:hover { opacity: .8; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.tip { position: fixed; pointer-events: none; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 10px; border-radius: 8px; font-size: 12px; box-shadow: var(--shadow-lg); white-space: nowrap; }
.hbar { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; }
.hbar .track { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.hbar .fill { height: 100%; border-radius: 99px; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut-wrap svg { width: 132px; height: 132px; flex: none; }
.donut-legend { flex: 1; display: grid; gap: 8px; font-size: 13px; }
.donut-legend div { display: flex; align-items: center; gap: 8px; }
.donut-legend b { margin-left: auto; font-variant-numeric: tabular-nums; }

/* calendar timeline */
.tl { overflow-x: auto; }
.tl-grid { display: grid; min-width: 900px; }
.tl-head, .tl-row { display: grid; grid-template-columns: 170px 1fr; }
.tl-head { position: sticky; top: 0; }
.tl-name { padding: 10px 14px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); font-weight: 600; display: flex; align-items: center; gap: 8px; background: var(--surface); position: sticky; left: 0; z-index: 2; min-height: 54px; }
.tl-days { display: grid; position: relative; border-bottom: 1px solid var(--border); }
.tl-day { border-right: 1px solid var(--border); font-size: 11px; text-align: center; color: var(--muted); padding: 6px 0; }
.tl-day.we { background: var(--surface-2); }
.tl-day.today { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.tl-day b { display: block; font-size: 13px; color: var(--text); }
.tl-day.today b { color: var(--accent); }
.tl-bar {
  position: absolute; top: 11px; height: 32px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 600;
  padding: 0 8px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .1s;
}
.tl-bar:hover { transform: translateY(-1px); z-index: 1; }
.tl-bar.owner { background: repeating-linear-gradient(45deg, #94a3b8, #94a3b8 6px, #a8b4c4 6px, #a8b4c4 12px) !important; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 50; display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal { background: var(--surface); border-radius: 16px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow-lg); animation: pop .18s; }
.modal.wide { width: min(980px, 100%); }
.modal-h { display: flex; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-h h3 { margin: 0; font-size: 16px; flex: 1; }
.modal-b { padding: 20px; }
.modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); position: sticky; bottom: 0; background: var(--surface); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--faint); }
.split-preview { grid-column: 1/-1; background: var(--surface-2); border: 1px dashed var(--border); border-radius: 10px; padding: 12px; font-size: 13px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.split-preview span { color: var(--muted); font-size: 11px; display: block; }
.modal-f { flex-wrap: wrap; }
@keyframes fade { from { opacity: 0 } }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0 } }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.kv .total { font-weight: 700; font-size: 15px; border-top: 1px solid var(--border); padding-top: 8px; }

/* toast */
#toast-root { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: grid; gap: 8px; }
.toast { background: var(--text); color: var(--bg); padding: 11px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-weight: 500; animation: pop .2s; max-width: 380px; }
.toast.err { background: var(--neg); color: #fff; }

/* login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: linear-gradient(150deg, #1f3b63 0%, #1a3254 55%, #142844 100%); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art h2 { font-size: 38px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; max-width: 480px; }
.login-art p { opacity: .85; max-width: 440px; font-size: 15px; }
.login-art .feat { display: grid; gap: 12px; margin-top: 30px; }
.login-art .feat div { display: flex; gap: 10px; align-items: center; opacity: .95; }
.login-art .feat svg { width: 20px; height: 20px; flex: none; }
.login-art .blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .18; background: #fff; }
.login-form { display: grid; place-items: center; padding: 32px; background: var(--surface); }
.login-form form { width: min(380px, 100%); display: grid; gap: 14px; }
.login-form h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.demo-box { font-size: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--muted); }
.demo-box button { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0; font-weight: 600; }

.section-title { font-size: 13px; font-weight: 700; margin: 26px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--surface-2); border: 1px solid var(--border); padding: 8px 10px; border-radius: 8px; word-break: break-all; }
.req { border-left: 3px solid var(--border); }
.req.open { border-left-color: var(--warn); }
.req.approved, .req.done { border-left-color: var(--pos); }
.req.rejected { border-left-color: var(--neg); }
.reply { background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; margin-top: 10px; font-size: 13px; }

.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--border), var(--surface-2)); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 10px; }
@keyframes sh { to { background-position: -200% 0 } }

/* responsive */
@media (max-width: 1100px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; z-index: 60; width: 270px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .scrim { position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 55; }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 12px 16px; }
  .topbar h1 { font-size: 17px; }
  .content { padding: 4px 16px 40px; }
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .login { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .form { grid-template-columns: 1fr; }
  .kpi .val { font-size: 22px; }
  .hide-sm { display: none !important; }
  .t th, .t td { padding: 10px; }
  .split-preview { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .g-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 12px 14px; }
  .kpi .val { font-size: 19px; }
  .topbar .top-filters { display: none; }
}
@media print {
  .side, .topbar, .toolbar, .btn { display: none !important; }
  .shell { display: block; }
  .card { box-shadow: none; }
}

/* month calendar */
.cal-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: -4px 0 14px; }
.cal-stats > div:not(.legend) span { font-size: 11px; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: .04em; }
.cal-stats > div:not(.legend) b { font-size: 18px; }
.cal { overflow: hidden; }
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.cal-head div { padding: 10px 12px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cal-head div.we { color: var(--accent-2); }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); position: relative; border-bottom: 1px solid var(--border); }
.cal-week:last-child { border-bottom: 0; }
.cal-day { border-right: 1px solid var(--border); padding: 6px 8px; }
.cal-day:last-child { border-right: 0; }
.cal-day.we { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.cal-day.out { background: var(--surface-2); }
.cal-day.out .cal-num { color: var(--faint); font-weight: 400; }
.cal-num { font-size: 13px; font-weight: 600; display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 99px; }
.cal-day.today .cal-num { background: var(--accent); color: var(--on-accent, #fff); }
.cal-bar { position: absolute; color: #fff; font-size: 12px; font-weight: 600; padding: 0 8px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.15); border-radius: 0; transition: filter .1s; }
.cal-bar.rs { border-top-left-radius: 7px; border-bottom-left-radius: 7px; }
.cal-bar.re { border-top-right-radius: 7px; border-bottom-right-radius: 7px; }
.cal-bar:hover { filter: brightness(1.08); z-index: 2; }
.cal-bar.owner { background: repeating-linear-gradient(45deg, #94a3b8, #94a3b8 6px, #a8b4c4 6px, #a8b4c4 12px) !important; }
.cal-prop { font-weight: 400; opacity: .85; }
.show-sm { display: none; }
@media (max-width: 820px) {
  .show-sm { display: inline; }
  .cal-head div { padding: 8px 4px; text-align: center; }
  .cal-day { padding: 4px; }
  .cal-num { font-size: 12px; min-width: 20px; height: 20px; }
  .cal-bar { font-size: 10px; padding: 0 4px; }
  .cal-prop { display: none; }
}

/* brand (ESTIA) */
.brand { flex-direction: column; align-items: center; gap: 6px; background: #1f3b63; border-radius: 16px; padding: 18px 12px 14px; margin-bottom: 10px; text-align: center; }
.brand-mark { width: 64px; height: 64px; display: block; }
.brand-word { color: #f4eee4; font-weight: 600; font-size: 19px; letter-spacing: .34em; margin-right: -.34em; }
.brand small { color: rgba(244,238,228,.65); font-size: 11px; letter-spacing: .06em; }
.login-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; background: #1f3b63; border-radius: 18px; padding: 16px 22px 12px; margin-bottom: 18px; }
.login-badge img { width: 64px; height: 64px; }
.login-badge span { color: #f4eee4; font-weight: 600; letter-spacing: .34em; margin-right: -.34em; font-size: 16px; }
.as-owner { display: flex; align-items: center; gap: 10px; margin: 0 28px 12px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--text); font-size: 13px; flex-wrap: wrap; }
.as-owner svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.as-owner span { flex: 1; min-width: 200px; }
@media (max-width: 820px) { .as-owner { margin: 0 16px 12px; } }

.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.01em}

/* Πραγματικό λογότυπο ESTIA */
.brand { background: #fff; border: 1px solid var(--border); padding: 10px 10px 12px; gap: 2px; }
.brand-img { width: 100%; max-width: 168px; height: auto; display: block; margin: 0 auto; }
.brand small { color: #6b7280; }
.login-badge { background: #fff; padding: 0; border-radius: 16px; overflow: hidden; }
.login-badge img { width: 180px; height: 180px; display: block; }

/* ειδοποιήσεις */
.bell-btn{position:relative}
.bell-dot{position:absolute;top:7px;right:8px;width:8px;height:8px;border-radius:50%;background:#dc2626;box-shadow:0 0 0 2px var(--bg, #fff)}
/* πρόβλεψη */
.fc-bar{position:relative;height:12px;background:var(--line, #eef2f7);border-radius:6px;overflow:hidden}
.fc-bar span{position:absolute;left:0;top:0;bottom:0;border-radius:6px}
.fc-bar .ly{background:var(--faint, #cbd5e1);opacity:.55}
.fc-bar .now{background:var(--accent);height:6px;top:3px}
/* αναφορές */
.rp-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:6px;margin-top:8px}
.rp-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;display:block}

/* συνομιλία αιτημάτων */
.thread{display:flex;flex-direction:column;gap:10px;max-height:46vh;overflow:auto;padding:4px}
.th-msg{max-width:85%;padding:10px 12px;border-radius:12px;background:var(--bg-soft, #f1f5f9)}
.th-msg.me-admin{align-self:flex-end;background:var(--accent-bg, #e8eef7)}
.th-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.th-files img{width:92px;height:92px;object-fit:cover;border-radius:8px;display:block}
/* μαζικό ανέβασμα */
.dropzone{display:flex;flex-direction:column;align-items:center;gap:8px;padding:26px;border:2px dashed var(--border);border-radius:12px;cursor:pointer;text-align:center;color:var(--muted)}
.dropzone.over{border-color:var(--accent);background:var(--accent-bg, #e8eef7)}
.dropzone svg{width:28px;height:28px}
.info-kv dd{display:flex;align-items:center;justify-content:space-between;gap:6px}

/* Σήμερα */
.today-row{display:flex;gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line, #eef2f7)}
.today-row:last-child{border-bottom:0}
.today-now{border:1.5px solid var(--accent)}
.att-row{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid var(--line, #eef2f7);color:inherit;text-decoration:none}
.att-row:last-child{border-bottom:0}
.att-row:hover b{color:var(--accent)}
@media print{.side,.topbar,.toolbar,.bell-btn{display:none!important}.main{margin:0!important}.card{break-inside:avoid;box-shadow:none}}
