* {
    scrollbar-width: thin;
    scrollbar-color: #1E8A63 #ffffff1f;
}

nav.fi-sidebar-nav {
    scrollbar-width: none;
}

/* Sidebar look (Stripe / Linear): white panel, 20px icons, active link = soft green pill with a green bar,
   sub-links hang off one thin guide line. Markup: Filament + resources/views/vendor/filament-panels/components/sidebar. */
@media (min-width: 1024px) {
    aside.fi-sidebar { background: #fff; border-inline-end: 1px solid rgb(var(--gray-200)); }
    .dark aside.fi-sidebar { background: rgb(var(--gray-900)); border-inline-end-color: rgb(255 255 255 / .06); }
    .fi-sidebar .fi-sidebar-header { box-shadow: none; }
}
.fi-sidebar-nav-groups { gap: 1.25rem; }
.fi-sidebar-group-items { gap: 2px; }
.fi-sidebar-item-button { border-radius: .625rem; transition: background-color .12s, color .12s; }
.fi-sidebar .fi-sidebar-item-icon, .fi-sidebar .fi-sidebar-group-icon { width: 1.25rem; height: 1.25rem; }
.fi-sidebar .fi-sidebar-item-label { color: rgb(var(--gray-600)); transition: color .12s; }
.fi-sidebar-item-button:hover .fi-sidebar-item-label { color: rgb(var(--gray-950)); }
.fi-sidebar-item-button:hover .fi-sidebar-item-icon { color: rgb(var(--gray-500)); }
.dark .fi-sidebar .fi-sidebar-item-label { color: rgb(var(--gray-300)); }
.dark .fi-sidebar-item-button:hover .fi-sidebar-item-label { color: #fff; }

/* Active link */
.fi-sidebar-item.fi-active > .fi-sidebar-item-button { background: rgba(var(--primary-500), .09); }
.fi-sidebar-item.fi-active > .fi-sidebar-item-button .fi-sidebar-item-label { color: rgb(var(--primary-700)); font-weight: 600; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-button .fi-sidebar-item-icon { color: rgb(var(--primary-600)); }
.fi-sidebar-open .fi-sidebar-item.fi-active > .fi-sidebar-item-button::before { content: ""; position: absolute; inset-inline-start: 0; top: .5rem; bottom: .5rem; width: 3px; border-radius: 3px; background: rgb(var(--primary-600)); }
.dark .fi-sidebar-item.fi-active > .fi-sidebar-item-button { background: rgba(var(--primary-500), .14); }
.dark .fi-sidebar-item.fi-active > .fi-sidebar-item-button .fi-sidebar-item-label { color: rgb(var(--primary-300)); }
.dark .fi-sidebar-item.fi-active > .fi-sidebar-item-button .fi-sidebar-item-icon { color: rgb(var(--primary-400)); }

/* Open / close sections: title like any link, chevron faint until hover */
.va-nav-section-active > .va-nav-section-button .fi-sidebar-item-label { color: rgb(var(--gray-950)); }
.dark .va-nav-section-active > .va-nav-section-button .fi-sidebar-item-label { color: #fff; }
.va-nav-chevron { width: 1rem; height: 1rem; opacity: .6; transition: transform .15s, opacity .12s; }
.va-nav-section-button:hover .va-nav-chevron { opacity: 1; }

/* Sub-links: one thin guide line under the parent's icon instead of Filament's dots */
.fi-sidebar-open .fi-sidebar-sub-group-items { gap: 0; margin-inline-start: 1.125rem; padding-inline-start: .75rem; border-inline-start: 1px solid rgb(var(--gray-200)); }
.dark .fi-sidebar-open .fi-sidebar-sub-group-items { border-inline-start-color: rgb(255 255 255 / .1); }
.fi-sidebar-open .fi-sidebar-sub-group-items .fi-sidebar-item-grouped-border { display: none; }
.fi-sidebar-open .fi-sidebar-sub-group-items > .fi-sidebar-item { position: relative; }
.fi-sidebar-open .fi-sidebar-sub-group-items .fi-sidebar-item-button { padding-block: .375rem; }
.fi-sidebar-open .fi-sidebar-sub-group-items .fi-sidebar-item.fi-active > .fi-sidebar-item-button { background: transparent; }
.fi-sidebar-open .fi-sidebar-sub-group-items .fi-sidebar-item.fi-active > .fi-sidebar-item-button:hover { background: rgb(var(--gray-100)); }
.dark .fi-sidebar-open .fi-sidebar-sub-group-items .fi-sidebar-item.fi-active > .fi-sidebar-item-button:hover { background: rgb(255 255 255 / .05); }
.fi-sidebar-open .fi-sidebar-sub-group-items .fi-sidebar-item.fi-active > .fi-sidebar-item-button::before { inset-inline-start: calc(-.75rem - 1px); top: .375rem; bottom: .375rem; width: 2px; }

/* Badges: small pills */
.fi-sidebar-item .fi-badge { padding: 1px 6px; min-width: 1.25rem; border-radius: 999px; font-size: .6875rem; }

/* Login Page */
div#filament-turnstile{
    display: flex;
    justify-content: center;
}

/* Login/auth page background: brand-colored gradient + dot pattern, no stock photos */
.fi-simple-layout {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%23ffffff' fill-opacity='0.07'/%3E%3C/svg%3E"),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.10), transparent 40%),
        radial-gradient(circle at 80% 85%, rgba(255, 255, 255, 0.08), transparent 45%),
        linear-gradient(135deg, #14332A 0%, #1E8A63 100%);
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-size: 32px 32px, auto, auto, auto;
    background-position: 0 0, center, center, center;
    background-attachment: fixed;
}

/* The hasnayeen theme stylesheets are loaded although the plugin is off: dracula.css forces the body text white and
   gives headings an undefined colour. The full layout sets its own colours; the simple layout's white card (login,
   suspended clinic pages) needs them back. */
.fi-simple-main {
    color: rgb(var(--gray-950));
}
.dark .fi-simple-main {
    color: #fff;
}

/* Dashboard Start*/

/* Acount Widget */
div.col-\[--col-span-default\].fi-wi-widget.fi-account-widget > section {
    border-radius: 1em;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}
/* Stats Overview Widgets */
div.fi-wi-stats-overview-stat{
    border-radius: 1em;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}
/* Charts Widgets */
div.col-\[--col-span-default\].fi-wi-widget.fi-wi-chart section{
    border-radius: 1em;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}
/* Visits Table Widget */
div.col-\[--col-span-default\].fi-wi-widget.fi-wi-table{
    border-radius: 1em;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

/* tables */
div.fi-ta-ctn {
    border-radius: 1em;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

/* sections */
section.fi-section {
    border-radius: 1em;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

/* tabs */
div.fi-in-tabs {
    border-radius: 1em;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

/* wizard */
div.fi-fo-wizard {
    border-radius: 1em;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

/* Edit Profile */
#data\.plirofories-profil{
    box-shadow:none;
}
#data\.enimerosi-kodikou-prosvasis{
    box-shadow:none;
}
#sinedries-periighisis{
    box-shadow:none;
}
#diaghrafi-loghariasmou{
    box-shadow:none;
}

/* highlight search results */
.fi-global-search-result-link strong{
    background: #ffff0075;
}


/* Dashboard End*/


/* New dashboard (.va-dash-*) - plain CSS on purpose: this file is not built by Tailwind. */
.va-dash-greet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.va-dash-greet__title { font-size: 1.5rem; line-height: 2rem; font-weight: 700; color: rgb(var(--gray-950)); }
.va-dash-greet__sub { margin-top: .125rem; font-size: .875rem; color: rgb(var(--gray-500)); }
.va-dash-greet__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.dark .va-dash-greet__title { color: #fff; }
.dark .va-dash-greet__sub { color: rgb(var(--gray-400)); }

.va-dash-muted { color: rgb(var(--gray-500)); font-size: .875rem; }
.dark .va-dash-muted { color: rgb(var(--gray-400)); }
.va-dash-link { font-size: .875rem; font-weight: 500; color: rgb(var(--primary-600)); }
.va-dash-link:hover { text-decoration: underline; }
.dark .va-dash-link { color: rgb(var(--primary-400)); }
.va-dash-subhead { margin: 1rem 0 .25rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--gray-500)); }

.va-dash-steps { display: grid; gap: .5rem; }
.va-dash-steps__item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: rgb(var(--gray-700)); }
.va-dash-steps__item.is-done { color: rgb(var(--gray-400)); text-decoration: line-through; }
.va-dash-steps__item a { font-weight: 500; color: rgb(var(--primary-600)); }
.va-dash-steps__item a:hover { text-decoration: underline; }
.va-dash-steps__icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: rgb(var(--gray-400)); }
.is-done .va-dash-steps__icon { color: rgb(var(--primary-600)); }
.dark .va-dash-steps__item { color: rgb(var(--gray-300)); }

/* KPI cards */
.va-dash-kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.va-dash-kpi { display: flex; gap: .875rem; padding: 1.125rem; border-radius: 1rem; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 0 0 1px rgba(var(--gray-950), .05); transition: box-shadow .15s, transform .15s; }
.va-dash-kpi:hover { box-shadow: 0 4px 12px rgb(0 0 0 / .08), 0 0 0 1px rgba(var(--primary-500), .35); transform: translateY(-1px); }
.dark .va-dash-kpi { background: rgb(var(--gray-900)); box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
.va-dash-kpi__icon { display: flex; width: 2.75rem; height: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: rgb(var(--primary-50)); color: rgb(var(--primary-600)); }
.dark .va-dash-kpi__icon { background: rgba(var(--primary-500), .12); color: rgb(var(--primary-400)); }
.va-dash-kpi.is-warning .va-dash-kpi__icon { background: rgb(var(--warning-50)); color: rgb(var(--warning-600)); }
.dark .va-dash-kpi.is-warning .va-dash-kpi__icon { background: rgba(var(--warning-500), .12); color: rgb(var(--warning-400)); }
.va-dash-kpi__svg { width: 1.5rem; height: 1.5rem; }
.va-dash-kpi__body { display: flex; min-width: 0; flex-direction: column; }
.va-dash-kpi__label { font-size: .8125rem; font-weight: 500; color: rgb(var(--gray-500)); }
.va-dash-kpi__value { margin-top: .125rem; font-size: 1.625rem; line-height: 2rem; font-weight: 700; color: rgb(var(--gray-950)); }
.dark .va-dash-kpi__value { color: #fff; }
.va-dash-kpi__hint { margin-top: .125rem; font-size: .8125rem; color: rgb(var(--gray-600)); }
.dark .va-dash-kpi__hint, .dark .va-dash-kpi__label { color: rgb(var(--gray-400)); }
.va-dash-kpi__delta { margin-top: .375rem; font-size: .75rem; font-weight: 500; color: rgb(var(--gray-500)); }
.va-dash-kpi__delta.is-up { color: rgb(var(--primary-600)); }
.va-dash-kpi__delta.is-down { color: rgb(var(--gray-600)); }

/* Today's schedule */
.va-dash-timeline { display: grid; gap: .375rem; }
.va-dash-slot { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem .875rem; border-radius: 1rem; border: 0;
    background: linear-gradient(135deg, rgb(255 255 255 / .85), rgba(var(--gray-100), .55));
    -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
    box-shadow: 0 2px 10px rgba(var(--gray-950), .06), inset 0 1px 0 rgb(255 255 255 / .9);
    transition: box-shadow .15s, transform .15s, background-color .15s; }
.va-dash-slot:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(var(--gray-950), .1), inset 0 1px 0 rgb(255 255 255 / .9); }
.dark .va-dash-slot { background: linear-gradient(135deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03));
    box-shadow: 0 2px 10px rgb(0 0 0 / .25), inset 0 1px 0 rgb(255 255 255 / .1); }
.dark .va-dash-slot:hover { box-shadow: 0 6px 16px rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .14); }
.va-dash-slot__time { display: flex; flex-direction: column; flex-shrink: 0; width: 3.5rem; font-size: .9375rem; font-weight: 700; line-height: 1.375rem; font-variant-numeric: tabular-nums; color: rgb(var(--gray-950)); }
/* «Τώρα» / «Επόμενο» under the time: the row's place in the day, never squeezing the texts. */
.va-dash-slot__when { margin-top: .125rem; font-size: .6875rem; font-weight: 700; line-height: 1rem; color: rgb(var(--primary-700)); }
.va-dash-slot__when.is-now { color: rgb(var(--success-700)); }
.dark .va-dash-slot__when { color: rgb(var(--primary-300)); }
.dark .va-dash-slot__when.is-now { color: rgb(var(--success-400)); }
.dark .va-dash-slot__time { color: #fff; }
.va-dash-slot__main { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.va-dash-slot__title { font-size: .9375rem; font-weight: 600; line-height: 1.375rem; color: rgb(var(--gray-950)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .va-dash-slot__title { color: #fff; }
.va-dash-slot__meta { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .8125rem; line-height: 1.25rem; color: rgb(var(--gray-500)); overflow-wrap: anywhere; }
/* Calendar, patient-flow column, no-show, online: small chips in one row that wraps. */
.va-dash-slot__chips { display: flex; flex-wrap: wrap; align-items: center; gap: .3125rem; margin-top: .375rem; }
.va-dash-chip { display: inline-flex; align-items: center; gap: .25rem; max-width: 100%; padding: .0625rem .5rem; border-radius: .375rem; font-size: .6875rem; font-weight: 600; line-height: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: rgb(var(--gray-700)); background: rgb(255 255 255 / .75); box-shadow: inset 0 0 0 1px rgba(var(--gray-950), .08); }
.dark .va-dash-chip { color: rgb(var(--gray-200)); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
/* Plain inline text (inline-flex lifted it off the line's baseline); the dot is big enough to tell the calendars apart
   at a glance, and its ring keeps pale colours visible on white. */
.va-dash-cal::before { content: ""; display: inline-block; flex-shrink: 0; width: .5rem; height: .5rem; border-radius: 999px;
    background: var(--va-c); box-shadow: 0 0 0 1.5px rgb(0 0 0 / .12); }
.va-dash-slot.is-past { opacity: .55; }
.va-dash-slot.is-now, .va-dash-slot.is-next { background: linear-gradient(135deg, rgba(var(--primary-50), .95), rgba(var(--primary-100), .55));
    box-shadow: 0 4px 14px rgba(var(--primary-600), .18), inset 0 1px 0 rgb(255 255 255 / .9); }
.dark .va-dash-slot.is-now, .dark .va-dash-slot.is-next { background: linear-gradient(135deg, rgba(var(--primary-500), .22), rgba(var(--primary-500), .08));
    box-shadow: 0 4px 14px rgb(0 0 0 / .3), inset 0 1px 0 rgb(255 255 255 / .12); }

/* Needs attention */
.va-dash-attn { display: grid; gap: .125rem; }
.va-dash-attn__row { display: flex; align-items: center; gap: .625rem; padding: .5rem .5rem; border-radius: .5rem; transition: background-color .15s; }
.va-dash-attn__row:hover { background: rgb(var(--gray-50)); }
.dark .va-dash-attn__row:hover { background: rgb(255 255 255 / .05); }
.va-dash-attn__icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: rgb(var(--gray-400)); }
.va-dash-attn__label { flex: 1; min-width: 0; font-size: .875rem; color: rgb(var(--gray-700)); }
.dark .va-dash-attn__label { color: rgb(var(--gray-300)); }
.va-dash-attn__count { min-width: 1.75rem; padding: .0625rem .5rem; border-radius: 9999px; text-align: center; font-size: .8125rem; font-weight: 600; background: rgb(var(--gray-100)); color: rgb(var(--gray-500)); }
.has-items .va-dash-attn__count { background: rgb(var(--warning-100)); color: rgb(var(--warning-700)); }
.has-items .va-dash-attn__icon { color: rgb(var(--warning-600)); }
.dark .va-dash-attn__count { background: rgb(255 255 255 / .08); color: rgb(var(--gray-400)); }
.dark .has-items .va-dash-attn__count { background: rgba(var(--warning-500), .18); color: rgb(var(--warning-400)); }
.va-dash-attn__amount { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; color: rgb(var(--danger-600)); }
.dark .va-dash-attn__amount { color: rgb(var(--danger-400)); }

/* Empty states */
.va-dash-empty { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.5rem 1rem; text-align: center; font-size: .875rem; color: rgb(var(--gray-500)); }
.va-dash-empty__icon { width: 2.5rem; height: 2.5rem; color: rgb(var(--gray-300)); }
.va-dash-empty__icon.is-ok { color: rgb(var(--primary-500)); }

/* Two cards side by side share the row height; empty states sit in the middle. */
.va-dash-fill { display: flex; flex-direction: column; }
.va-dash-fill > .fi-section { display: flex; flex: 1; flex-direction: column; }
.va-dash-fill .fi-section-content-ctn { flex: 1; }
.va-dash-fill .fi-section-content { height: 100%; }
.va-dash-fill .va-dash-empty { height: 100%; justify-content: center; }

/* Dashboard quick-action buttons */
.va-dash-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem .375rem .375rem; border-radius: .875rem; background: #fff; font-size: .875rem; font-weight: 600; color: rgb(var(--gray-800)); box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 0 0 1px rgba(var(--gray-950), .08); transition: box-shadow .15s, transform .15s, background-color .15s; }
.va-dash-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgb(0 0 0 / .1), 0 0 0 1px rgba(var(--primary-500), .45); }
.va-dash-btn:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 2px; }
.va-dash-btn__icon { display: flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: .625rem; background: rgb(var(--primary-50)); color: rgb(var(--primary-600)); }
.va-dash-btn__svg { width: 1.125rem; height: 1.125rem; }
.va-dash-btn--primary { background: rgb(var(--primary-600)); color: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.va-dash-btn--primary:hover { background: rgb(var(--primary-700)); box-shadow: 0 4px 12px rgba(var(--primary-600), .35); }
.va-dash-btn--primary .va-dash-btn__icon { background: rgb(255 255 255 / .2); color: #fff; }
.dark .va-dash-btn { background: rgb(255 255 255 / .06); color: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .12); }
.dark .va-dash-btn__icon { background: rgba(var(--primary-500), .15); color: rgb(var(--primary-400)); }
.dark .va-dash-btn--primary { background: rgb(var(--primary-600)); box-shadow: none; }
.dark .va-dash-btn--primary .va-dash-btn__icon { background: rgb(255 255 255 / .2); color: #fff; }

/* Quick actions on phones: equal-width buttons in one row, icon above the label. */
@media (max-width: 640px) {
    .va-dash-greet__actions { display: grid; width: 100%; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .5rem; }
    .va-dash-greet__actions .va-dash-btn { flex-direction: column; justify-content: center; gap: .375rem; padding: .625rem .25rem; font-size: .75rem; line-height: 1rem; text-align: center; }
    .va-dash-greet__actions .va-dash-btn__icon { width: 2.25rem; height: 2.25rem; }
}

/* Collapsed sidebar: small logo mark that becomes the expand chevron on hover. */
.va-sidebar-mark { position: relative; display: flex; width: 2.5rem; height: 2.5rem; margin-inline: -.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; transition: background-color .15s; }
.va-sidebar-mark:hover { background: rgb(var(--gray-100)); }
.va-sidebar-mark:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 1px; }
.va-sidebar-mark__img { height: 1.75rem; width: auto; transition: opacity .15s; }
.va-sidebar-mark__img--dark { display: none; }
.va-sidebar-mark__chevron { position: absolute; width: 1.5rem; height: 1.5rem; color: rgb(var(--gray-500)); opacity: 0; transition: opacity .15s; }
.va-sidebar-mark:hover .va-sidebar-mark__img { opacity: 0; }
.va-sidebar-mark:hover .va-sidebar-mark__chevron { opacity: 1; }
.dark .va-sidebar-mark:hover { background: rgb(255 255 255 / .08); }
.dark .va-sidebar-mark__img--light { display: none; }
.dark .va-sidebar-mark__img--dark { display: block; }
.dark .va-sidebar-mark__chevron { color: rgb(var(--gray-400)); }

/* Today's schedule must never be wider than its card: let grid items and text shrink. */
.va-dash-timeline { grid-template-columns: minmax(0, 1fr); }
.va-dash-timeline > li, .va-dash-slot { min-width: 0; }
@media (max-width: 640px) {
    .va-dash-slot { gap: .625rem; padding: .625rem .75rem; }
    .va-dash-slot__time { width: 3.25rem; font-size: .875rem; }
}

/* Sparkline inside KPI cards and the note under list-page stats */
.va-spark { display: block; width: 100%; height: 1.75rem; margin-top: .5rem; }
.va-spark__line { stroke: rgb(var(--primary-500)); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.va-spark__area { fill: rgba(var(--primary-500), .12); stroke: none; }

/* Light mode: the page is a soft grey so white cards stand out (dark mode already does). */
html:not(.dark) .fi-body { background: rgb(var(--gray-100)); }
/* Appointment tiles sit on a white card: give them a visible tint in light mode. */
html:not(.dark) .va-dash-slot:not(.is-now):not(.is-next) { background: linear-gradient(135deg, rgb(var(--gray-50)), rgb(var(--gray-100))); box-shadow: 0 1px 3px rgb(0 0 0 / .08), inset 0 1px 0 rgb(255 255 255 / .9); }
html:not(.dark) .va-dash-slot:not(.is-now):not(.is-next):hover { box-shadow: 0 4px 12px rgb(0 0 0 / .1), inset 0 1px 0 rgb(255 255 255 / .9); }

/* Statistics strip (Customers / Visits list pages): one panel, chips on top, columns separated by hairlines. */
.va-strip { overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .1), 0 0 0 1px rgba(var(--gray-950), .08); }
.dark .va-strip { background: rgb(var(--gray-900)); box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
.va-strip__head { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem 1.125rem; border-bottom: 1px solid rgb(var(--gray-100)); }
.dark .va-strip__head { border-bottom-color: rgb(255 255 255 / .08); }
.va-chip { display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border-radius: 9999px; background: rgb(var(--gray-100)); color: rgb(var(--gray-700)); font-size: .75rem; font-weight: 500; }
.va-chip__icon { width: .875rem; height: .875rem; color: rgb(var(--primary-600)); }
.dark .va-chip { background: rgb(255 255 255 / .08); color: rgb(var(--gray-300)); }
.dark .va-chip__icon { color: rgb(var(--primary-400)); }
.va-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 1px; background: rgb(var(--gray-100)); }
.dark .va-strip__grid { background: rgb(255 255 255 / .08); }
.va-strip__item { display: flex; min-width: 0; flex-direction: column; gap: .25rem; padding: 1rem 1.125rem; background: #fff; transition: background-color .15s; }
.dark .va-strip__item { background: rgb(var(--gray-900)); }
.va-strip__item.is-link:hover { background: rgb(var(--gray-50)); }
.dark .va-strip__item.is-link:hover { background: rgb(255 255 255 / .04); }
.va-strip__top { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.va-strip__icon { display: flex; width: 1.75rem; height: 1.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .5rem; background: rgb(var(--primary-50)); color: rgb(var(--primary-600)); }
.dark .va-strip__icon { background: rgba(var(--primary-500), .14); color: rgb(var(--primary-400)); }
.va-strip__item.is-warning .va-strip__icon { background: rgb(var(--warning-50)); color: rgb(var(--warning-600)); }
.dark .va-strip__item.is-warning .va-strip__icon { background: rgba(var(--warning-500), .14); color: rgb(var(--warning-400)); }
.va-strip__svg { width: 1rem; height: 1rem; }
.va-strip__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; font-weight: 500; color: rgb(var(--gray-500)); }
.dark .va-strip__label { color: rgb(var(--gray-400)); }
.va-strip__value { margin-top: .25rem; font-size: 1.5rem; line-height: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; color: rgb(var(--gray-950)); }
.dark .va-strip__value { color: #fff; }
.va-strip__hint { font-size: .75rem; color: rgb(var(--gray-500)); }
.dark .va-strip__hint { color: rgb(var(--gray-400)); }
.va-strip__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .25rem; }
.va-pill { display: inline-flex; align-items: center; gap: .125rem; padding: .125rem .5rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; background: rgb(var(--gray-100)); color: rgb(var(--gray-600)); }
.va-pill__icon { width: .75rem; height: .75rem; }
.va-pill.is-up { background: rgb(var(--primary-50)); color: rgb(var(--primary-700)); }
.va-pill.is-down { background: rgb(var(--danger-50)); color: rgb(var(--danger-700)); }
.dark .va-pill { background: rgb(255 255 255 / .08); color: rgb(var(--gray-300)); }
.dark .va-pill.is-up { background: rgba(var(--primary-500), .16); color: rgb(var(--primary-300)); }
.dark .va-pill.is-down { background: rgba(var(--danger-500), .16); color: rgb(var(--danger-300)); }
.va-strip__spark { width: 5rem; flex-shrink: 0; }
.va-strip__spark .va-spark { height: 1.5rem; margin: 0; }
.va-bar { display: flex; height: .375rem; margin: .25rem 0 .125rem; overflow: hidden; border-radius: 9999px; background: rgb(var(--gray-100)); }
.dark .va-bar { background: rgb(255 255 255 / .08); }
.va-bar__seg.is-warn { background: rgb(var(--warning-400)); }
.va-bar__seg.is-danger { background: rgb(var(--danger-500)); }
@media (max-width: 640px) {
    .va-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .va-strip__item { padding: .875rem; }
    .va-strip__value { font-size: 1.25rem; line-height: 1.75rem; }
    .va-strip__spark { width: 3.5rem; }
}

/* Same shadow as the tables, sections and charts (see "tables" / "sections" above). */
.va-strip, .va-dash-kpi, .va-dash-btn:not(.va-dash-btn--primary),
.dark .va-strip, .dark .va-dash-kpi, .dark .va-dash-btn:not(.va-dash-btn--primary) { box-shadow: rgba(0, 0, 0, 0.15) 0 3px 3px 0; }
.va-dash-kpi:hover, .va-dash-btn:not(.va-dash-btn--primary):hover,
.dark .va-dash-kpi:hover, .dark .va-dash-btn:not(.va-dash-btn--primary):hover { box-shadow: rgba(0, 0, 0, 0.22) 0 6px 10px 0; }

/* Show / hide the statistics strip */
.va-strip__head { align-items: center; }
.va-strip__toggle { display: inline-flex; align-items: center; gap: .375rem; margin-inline-start: auto; padding: .25rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; color: rgb(var(--gray-500)); transition: background-color .15s, color .15s; }
.va-strip__toggle:hover { background: rgb(var(--gray-100)); color: rgb(var(--gray-800)); }
.dark .va-strip__toggle { color: rgb(var(--gray-400)); }
.dark .va-strip__toggle:hover { background: rgb(255 255 255 / .08); color: #fff; }
.va-strip-collapsed { display: flex; justify-content: flex-end; }
.va-strip-open { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .875rem; border-radius: 9999px; background: #fff; font-size: .8125rem; font-weight: 600; color: rgb(var(--gray-700)); box-shadow: rgba(0, 0, 0, 0.15) 0 3px 3px 0; transition: box-shadow .15s, color .15s; }
.va-strip-open:hover { color: rgb(var(--primary-700)); box-shadow: rgba(0, 0, 0, 0.22) 0 6px 10px 0; }
.dark .va-strip-open { background: rgb(var(--gray-900)); color: rgb(var(--gray-200)); }
.dark .va-strip-open:hover { color: rgb(var(--primary-400)); }


/* Schedule rows that open the edit modal are buttons: keep the tile look. */
button.va-dash-slot { width: 100%; text-align: start; cursor: pointer; font: inherit; }
button.va-dash-slot:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 2px; }

/* ---- Tables on small screens: every row becomes a card of "label  value" lines instead of scrolling sideways.
   Cells carry their column label in data-label (AppServiceProvider). Sorting: a select under the toolbar (filament/tables/mobile-sort, hook in AdminPanelProvider). ---- */
@media (max-width: 767px) {
    .fi-ta-content { overflow-x: visible; }
    .fi-ta-table, .fi-ta-table > tbody { display: block; width: 100%; }
    .fi-ta-table > thead { display: none; }
    .fi-ta-table > tbody { display: grid; gap: .75rem; padding: .75rem; white-space: normal; border: 0; background: rgb(var(--gray-100)); }
    .dark .fi-ta-table > tbody { background: rgb(255 255 255 / .03); }
    .fi-ta-table > tbody > tr { display: block; border: 0; }

    .fi-ta-table > tbody > tr.fi-ta-row {
        position: relative; display: grid; padding: .5rem .875rem; border-radius: 1em;
        background: #fff; box-shadow: rgba(0, 0, 0, 0.15) 0 3px 3px 0, 0 0 0 1px rgba(var(--gray-950), .05);
    }
    .dark .fi-ta-table > tbody > tr.fi-ta-row { background: rgb(var(--gray-900)); box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
    .fi-ta-table > tbody > tr.fi-ta-row:hover { background: rgb(var(--gray-50)); }
    .dark .fi-ta-table > tbody > tr.fi-ta-row:hover { background: rgb(var(--gray-800)); }

    /* text cells with no value: drop the lone label instead of showing an empty line */
    .fi-ta-table > tbody > tr.fi-ta-row > td.fi-ta-cell[data-label]:has(.fi-ta-text):not(:has(.fi-ta-text > *)) { display: none; }

    .fi-ta-table > tbody > tr.fi-ta-row > td.fi-ta-cell { display: flex; align-items: baseline; gap: .75rem; width: auto; padding: .3125rem 0; border: 0; }
    td.fi-ta-cell[data-label]::before {
        content: attr(data-label); flex: 0 0 34%; max-width: 34%; font-size: .75rem; font-weight: 500; line-height: 1.5rem;
        color: rgb(var(--gray-500)); overflow-wrap: anywhere;
    }
    td.fi-ta-cell[data-label=""]::before { display: none; }
    .dark td.fi-ta-cell[data-label]::before { color: rgb(var(--gray-400)); }
    td.fi-ta-cell[data-label] > .fi-ta-col-wrp { flex: 1 1 0; min-width: 0; }
    /* the columns' own cell padding (px-3 py-4) is for table cells; inside a card it is just extra space */
    td.fi-ta-cell[data-label] .fi-ta-col-wrp [class*="py-4"] { padding-block: 0; }
    td.fi-ta-cell[data-label] .fi-ta-col-wrp [class*="px-3"] { padding-inline: 0; }

    /* bulk-select checkbox in the card's corner */
    .fi-ta-table > tbody > tr.fi-ta-row > td.fi-ta-selection-cell { position: absolute; inset-block-start: .25rem; inset-inline-end: .25rem; width: auto; padding: 0; }
    .fi-ta-table > tbody > tr.fi-ta-row > td.fi-ta-selection-cell > div { padding: .5rem; }

    /* row actions along the bottom of the card */
    .fi-ta-table > tbody > tr.fi-ta-row > td.fi-ta-actions-cell { justify-content: flex-end; margin-top: .25rem; padding: .375rem 0 0; border-top: 1px solid rgb(var(--gray-200)); }
    .dark .fi-ta-table > tbody > tr.fi-ta-row > td.fi-ta-actions-cell { border-top-color: rgb(255 255 255 / .1); }
    .fi-ta-table > tbody > tr.fi-ta-row > td.fi-ta-actions-cell [class*="py-4"] { padding-block: 0; }
}

/* Shown only on phones (e.g. the sort picker above table cards). */
.va-mobile-only { display: none !important; }
@media (max-width: 767px) {
    .va-mobile-only { display: inline-flex !important; }
}

/* "Πρόγραμμα σήμερα" on desktop: show 6 appointments (6 x 66px tiles + 5 x 6px gaps + 8px padding), scroll for the rest. */
@media (min-width: 768px) {
    .va-dash-timeline { max-height: 27.125rem; overflow-y: auto; padding: .25rem; margin: -.25rem; scrollbar-width: thin; scrollbar-color: rgb(var(--gray-300)) transparent; }
    .dark .va-dash-timeline { scrollbar-color: rgb(255 255 255 / .25) transparent; }
}

/* "Χρειάζονται προσοχή": the card keeps its size however many rows there are; the rows scroll inside it.
   Same cap as the schedule list next to it, so the two cards stay level. */
.va-dash-attn-scroll { max-height: 27.125rem; overflow-y: auto; padding: .25rem; margin: -.25rem; scrollbar-width: thin; scrollbar-color: rgb(var(--gray-300)) transparent; }
.dark .va-dash-attn-scroll { scrollbar-color: rgb(255 255 255 / .25) transparent; }

/* «Η μέρα μου» (DailyBoard): day tasks + quick notes. Stacked on phones/tablets; from 1024px the dashboard's own
   12-column grid and gap, so tasks line up with «Πρόγραμμα σήμερα» (7) and notes with «Χρειάζονται προσοχή» (5). */
.va-day { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
    .va-day { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; }
    .va-day > .va-day-tasks { grid-column: span 7 / span 7; }
    .va-day > .va-day-notes { grid-column: span 5 / span 5; }
}
/* Both cards are Filament sections, like «Πρόγραμμα σήμερα» (same header, radius and shadow); same height side by side. */
.va-day > .fi-section { display: flex; min-width: 0; flex-direction: column; }
.va-day > .fi-section > .fi-section-content-ctn { flex: 1; }
.va-day .fi-section-content { display: flex; flex-direction: column; gap: .75rem; }
.va-day .fi-section-header-icon { align-self: center; } /* Filament pins it to the top; our header controls are taller than a link */
.va-day .fi-section-header > div { flex-wrap: wrap; row-gap: .5rem; } /* phones: the day / note switch drops under the title */

/* Icon buttons (≥ 40px touch target) */
.va-day-iconbtn { display: inline-flex; width: 2.5rem; height: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .625rem; color: rgb(var(--gray-500)); transition: background-color .15s, color .15s; }
.va-day-iconbtn:hover { background: rgb(var(--gray-100)); color: rgb(var(--gray-800)); }
.va-day-iconbtn:focus-visible, .va-day-tab:focus-visible, .va-day-check:focus-visible, .va-day-chip:focus-visible, .va-day-nav__label:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 2px; }
.va-day-iconbtn.is-on { background: rgb(var(--primary-50)); color: rgb(var(--primary-600)); }
.va-day-iconbtn.is-danger:hover { background: rgb(var(--danger-50)); color: rgb(var(--danger-600)); }
.dark .va-day-iconbtn { color: rgb(var(--gray-400)); }
.dark .va-day-iconbtn:hover { background: rgb(255 255 255 / .06); color: #fff; }
.dark .va-day-iconbtn.is-on { background: rgba(var(--primary-500), .15); color: rgb(var(--primary-400)); }
.dark .va-day-iconbtn.is-danger:hover { background: rgba(var(--danger-500), .15); color: rgb(var(--danger-400)); }
.va-day-iconbtn__svg { width: 1.25rem; height: 1.25rem; }

/* Day navigation ‹ Σήμερα › */
.va-day-nav { display: flex; align-items: center; gap: .125rem; }
.va-day-nav__label { min-width: 5.5rem; padding: .375rem .625rem; border-radius: .625rem; font-size: .875rem; font-weight: 600; text-align: center; color: rgb(var(--warning-700)); background: rgb(var(--warning-50)); }
.va-day-nav__label.is-today { color: rgb(var(--gray-700)); background: transparent; }
.va-day-nav__label.is-today:hover { background: rgb(var(--gray-100)); }
.dark .va-day-nav__label { color: rgb(var(--warning-400)); background: rgba(var(--warning-500), .12); }
.dark .va-day-nav__label.is-today { color: rgb(var(--gray-200)); background: transparent; }

/* Tabs: one scrolling row on phones */
.va-day-tabs { display: flex; gap: .25rem; padding: .25rem; overflow-x: auto; border-radius: .875rem; background: rgb(var(--gray-100)); scrollbar-width: none; }
.va-day-tabs::-webkit-scrollbar { display: none; }
.dark .va-day-tabs { background: rgb(255 255 255 / .05); }
.va-day-tab { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: .375rem; min-height: 2.5rem; padding: .375rem .75rem; border-radius: .625rem; font-size: .875rem; font-weight: 500; white-space: nowrap; color: rgb(var(--gray-600)); transition: background-color .15s, color .15s, box-shadow .15s; }
.va-day-tab:hover { color: rgb(var(--gray-900)); }
.va-day-tab.is-active { background: #fff; color: rgb(var(--gray-950)); font-weight: 600; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.dark .va-day-tab { color: rgb(var(--gray-400)); }
.dark .va-day-tab:hover { color: #fff; }
.dark .va-day-tab.is-active { background: rgb(255 255 255 / .1); color: #fff; box-shadow: none; }
.va-day-tab__count { min-width: 1.375rem; padding: 0 .375rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; line-height: 1.375rem; text-align: center; background: rgb(var(--primary-600)); color: #fff; }

/* Quick add */
.va-day-add { display: grid; gap: .5rem; }
.va-day-add__row { display: flex; align-items: center; gap: .25rem; padding: .25rem .25rem .25rem .75rem; border-radius: .875rem; background: rgb(var(--gray-50)); box-shadow: inset 0 0 0 1px rgba(var(--gray-950), .08); transition: box-shadow .15s, background-color .15s; }
.va-day-add__row:focus-within { background: #fff; box-shadow: inset 0 0 0 2px rgb(var(--primary-500)); }
.dark .va-day-add__row { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.dark .va-day-add__row:focus-within { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 2px rgb(var(--primary-500)); }
.va-day-add__plus { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: rgb(var(--gray-400)); }
.va-day .va-day-add__input { flex: 1; min-width: 0; padding: .5rem .25rem; border: 0; background: transparent; font-size: 1rem; color: rgb(var(--gray-950)); }
.va-day .va-day-add__input:focus { outline: none; box-shadow: none; }
.va-day-add__input::placeholder { color: rgb(var(--gray-400)); }
.dark .va-day .va-day-add__input { color: #fff; }
.va-day-add__submit { display: inline-flex; height: 2.5rem; flex-shrink: 0; align-items: center; gap: .375rem; padding: 0 .875rem; border-radius: .625rem; background: rgb(var(--primary-600)); color: #fff; font-size: .875rem; font-weight: 600; transition: background-color .15s; }
.va-day-add__submit:hover { background: rgb(var(--primary-700)); }
.va-day-add__submit:disabled { opacity: .6; }
.va-day-add__submit-icon { display: none; }
@media (max-width: 479px) {
    .va-day-add__submit { width: 2.5rem; justify-content: center; padding: 0; }
    .va-day-add__submit-text { display: none; }
    .va-day-add__submit-icon { display: block; }
}
.va-day-add__more { display: flex; flex-wrap: wrap; gap: .5rem; }
.va-day-field { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; padding: 0 .625rem; border-radius: .625rem; background: rgb(var(--gray-50)); box-shadow: inset 0 0 0 1px rgba(var(--gray-950), .08); }
.va-day-field--grow { flex: 1 1 12rem; min-width: 0; }
.va-day .va-day-field input, .va-day .va-day-field select { min-width: 0; flex: 1; border: 0; padding: .375rem 1.75rem .375rem 0; background-color: transparent; font-size: .875rem; color: rgb(var(--gray-800)); }
.va-day .va-day-field input { padding-right: 0; }
.va-day .va-day-field input:focus, .va-day .va-day-field select:focus { outline: none; box-shadow: none; }
.dark .va-day-field { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.dark .va-day .va-day-field input, .dark .va-day .va-day-field select { color: rgb(var(--gray-200)); color-scheme: dark; }
.dark .va-day-field select option { background: rgb(var(--gray-900)); }
.va-day-field__icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; color: rgb(var(--gray-400)); }
.va-day-chip { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; padding: 0 .75rem; border-radius: .625rem; font-size: .875rem; font-weight: 500; color: rgb(var(--gray-700)); box-shadow: inset 0 0 0 1px rgba(var(--gray-950), .1); transition: background-color .15s, color .15s; }
.va-day-chip:hover { background: rgb(var(--gray-50)); }
.va-day-chip:disabled { opacity: .45; cursor: default; }
.va-day-chip.is-on { background: rgb(var(--warning-50)); color: rgb(var(--warning-700)); box-shadow: inset 0 0 0 1px rgba(var(--warning-500), .4); }
.va-day-chip.is-on .va-day-field__icon { color: rgb(var(--warning-500)); }
.dark .va-day-chip { color: rgb(var(--gray-300)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.dark .va-day-chip:hover { background: rgb(255 255 255 / .05); }
.dark .va-day-chip.is-on { background: rgba(var(--warning-500), .12); color: rgb(var(--warning-400)); }

/* Task list */
.va-day-list { display: grid; gap: .375rem; max-height: 27.125rem; overflow-y: auto; margin: -.25rem; padding: .25rem; scrollbar-width: thin; scrollbar-color: rgb(var(--gray-300)) transparent; }
.dark .va-day-list { scrollbar-color: rgb(255 255 255 / .25) transparent; }
.va-day-task { position: relative; display: flex; align-items: flex-start; gap: .75rem; padding: .75rem .5rem .75rem .875rem; border-radius: 1rem;
    background: linear-gradient(135deg, rgb(255 255 255 / .85), rgba(var(--gray-100), .55));
    -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
    box-shadow: 0 2px 10px rgba(var(--gray-950), .06), inset 0 1px 0 rgb(255 255 255 / .9);
    transition: opacity .25s, transform .15s, box-shadow .15s; }
.va-day-task:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(var(--gray-950), .1), inset 0 1px 0 rgb(255 255 255 / .9); }
.dark .va-day-task { background: linear-gradient(135deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03)); box-shadow: 0 2px 10px rgb(0 0 0 / .25), inset 0 1px 0 rgb(255 255 255 / .1); }
.dark .va-day-task:hover { box-shadow: 0 6px 16px rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .14); }
.va-day-task.is-important { background: linear-gradient(135deg, rgba(var(--warning-50), .95), rgba(var(--warning-100), .55));
    box-shadow: 0 4px 14px rgba(var(--warning-600), .16), inset 0 1px 0 rgb(255 255 255 / .9); }
.dark .va-day-task.is-important { background: linear-gradient(135deg, rgba(var(--warning-500), .2), rgba(var(--warning-500), .07)); box-shadow: 0 4px 14px rgb(0 0 0 / .3), inset 0 1px 0 rgb(255 255 255 / .12); }
.va-day-task.is-done { opacity: .6; }
.va-day-task.is-leaving { opacity: .35; transform: translateX(.375rem); }
.va-day-paper { flex: 1; }

.va-day-check { display: flex; width: 1.625rem; height: 1.625rem; flex-shrink: 0; margin-top: .0625rem; align-items: center; justify-content: center; border-radius: 9999px; color: transparent; box-shadow: inset 0 0 0 2px rgb(var(--gray-300)); transition: background-color .15s, box-shadow .15s, color .15s; }
.va-day-check::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3rem; } /* bigger touch target */
.va-day-check:hover { color: rgb(var(--primary-500)); box-shadow: inset 0 0 0 2px rgb(var(--primary-500)); }
.dark .va-day-check { box-shadow: inset 0 0 0 2px rgb(255 255 255 / .25); }
.va-day-check__svg { width: 1rem; height: 1rem; }
.is-done .va-day-check, .is-leaving .va-day-check { background: rgb(var(--primary-600)); color: #fff; box-shadow: none; }

.va-day-task__body { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: .125rem; padding-top: .125rem; }
.va-day-task__title { display: flex; align-items: baseline; gap: .375rem; font-size: .9375rem; font-weight: 500; line-height: 1.375rem; color: rgb(var(--gray-950)); overflow-wrap: anywhere; }
.dark .va-day-task__title { color: #fff; }
.va-day-task__star { position: relative; top: .125rem; width: 1rem; height: 1rem; flex-shrink: 0; color: rgb(var(--warning-500)); }
.va-day-task__notes { font-size: .8125rem; color: rgb(var(--gray-600)); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dark .va-day-task__notes { color: rgb(var(--gray-400)); }
.va-day-task__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin-top: .125rem; font-size: .75rem; color: rgb(var(--gray-500)); }
.is-done .va-day-task__title { color: rgb(var(--gray-400)); text-decoration: line-through; text-decoration-color: rgb(var(--gray-300)); }
.va-day-pill { display: inline-flex; align-items: center; gap: .25rem; padding: .0625rem .5rem; border-radius: 9999px; font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(var(--gray-200), .7); color: rgb(var(--gray-700)); }
.va-day-pill.is-warning { background: rgb(var(--warning-100)); color: rgb(var(--warning-700)); }
.dark .va-day-pill { background: rgb(255 255 255 / .08); color: rgb(var(--gray-300)); }
.dark .va-day-pill.is-warning { background: rgba(var(--warning-500), .18); color: rgb(var(--warning-400)); }
.va-day-pill__svg { width: .875rem; height: .875rem; }

/* Edit / delete: on hover with a mouse, always shown on touch screens */
.va-day-task__actions { display: flex; flex-shrink: 0; gap: .125rem; margin: -.25rem 0; }
.va-day-task__actions .va-day-iconbtn { width: 2.25rem; height: 2.25rem; }
@media (hover: hover) and (pointer: fine) {
    .va-day-task__actions { opacity: 0; transition: opacity .15s; }
    .va-day-task:hover .va-day-task__actions, .va-day-task:focus-within .va-day-task__actions { opacity: 1; }
}
.va-day-empty { padding: 1.25rem 1rem; }

/* Quick notes: a soft "paper" */
.va-day-seg { display: flex; gap: .125rem; padding: .1875rem; border-radius: .75rem; background: rgb(var(--gray-100)); }
.dark .va-day-seg { background: rgb(255 255 255 / .05); }
.va-day-seg button { min-height: 2.25rem; padding: 0 .75rem; border-radius: .5625rem; font-size: .8125rem; font-weight: 500; color: rgb(var(--gray-600)); }
.va-day-seg button.is-active { background: #fff; color: rgb(var(--gray-950)); font-weight: 600; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.dark .va-day-seg button { color: rgb(var(--gray-400)); }
.dark .va-day-seg button.is-active { background: rgb(255 255 255 / .1); color: #fff; box-shadow: none; }
.va-day-paper { display: flex; flex-direction: column; gap: .5rem; padding: .75rem; border-radius: .875rem; background: rgba(var(--warning-50), .8); box-shadow: inset 0 0 0 1px rgba(var(--warning-500), .18); }
.dark .va-day-paper { background: rgba(var(--warning-500), .07); box-shadow: inset 0 0 0 1px rgba(var(--warning-500), .18); }
.va-day .va-day-paper__area { width: 100%; min-height: 10rem; resize: none; border: 0; padding: .25rem; background: transparent; font-size: .9375rem; line-height: 1.6; color: rgb(var(--gray-900));
    background-image: repeating-linear-gradient(transparent, transparent calc(1.5rem - 1px), rgba(var(--warning-500), .14) calc(1.5rem - 1px), rgba(var(--warning-500), .14) 1.5rem); background-attachment: local; }
.va-day .va-day-paper__area:focus { outline: none; box-shadow: none; }
.va-day-paper__area::placeholder { color: rgb(var(--gray-400)); }
.dark .va-day .va-day-paper__area { color: rgb(var(--gray-100)); }
.va-day-paper__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.va-day-paper__status { font-size: .75rem; color: rgb(var(--gray-500)); }
.va-day-paper__prev { display: inline-flex; align-self: flex-start; align-items: center; gap: .375rem; font-size: .8125rem; font-weight: 500; color: rgb(var(--primary-600)); }
.va-day-paper__prev:hover { text-decoration: underline; }
.dark .va-day-paper__prev { color: rgb(var(--primary-400)); }
.va-day-paper__conflict { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .75rem; border-radius: .625rem; font-size: .8125rem; background: rgb(var(--danger-50)); color: rgb(var(--danger-700)); }
.va-day-paper__conflict button { font-weight: 600; text-decoration: underline; }
.dark .va-day-paper__conflict { background: rgba(var(--danger-500), .15); color: rgb(var(--danger-400)); }
.va-day-paper .va-day-chip { background: rgb(255 255 255 / .6); }
.dark .va-day-paper .va-day-chip { background: rgb(255 255 255 / .04); }

/* Greeting: open tasks badge */
.va-dash-greet__tasks { display: inline-flex; align-items: center; gap: .25rem; margin-left: .5rem; padding: .0625rem .5rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; background: rgb(var(--primary-50)); color: rgb(var(--primary-700)); }
.va-dash-greet__tasks:hover { background: rgb(var(--primary-100)); }
.dark .va-dash-greet__tasks { background: rgba(var(--primary-500), .15); color: rgb(var(--primary-400)); }

@media (prefers-reduced-motion: reduce) {
    .va-day-task, .va-day-tab, .va-day-check, .va-day-iconbtn { transition: none; }
    .va-day-task.is-leaving { transform: none; }
}

/* Visit form wizard (create / edit): all steps fit the header on desktop, no sideways scrolling.
   Filament sizes each step to its description (344px each, 2300px for 7 steps). Here the steps share the width
   equally, the number circle sits above the title and the long description is left out of the header. */
@media (min-width: 768px) {
    .fi-resource-visits .fi-fo-wizard-header { grid-auto-columns: minmax(0, 1fr); overflow-x: visible; }
    .fi-resource-visits .fi-fo-wizard-header-step-button { width: 100%; flex-direction: column; justify-content: flex-start; align-items: center; gap: .375rem; padding: .75rem .25rem; text-align: center; }
    .fi-resource-visits .fi-fo-wizard-header-step-button > div:not(.fi-fo-wizard-header-step-icon-ctn) { width: 100%; max-width: 100%; justify-items: center; }
    .fi-resource-visits .fi-fo-wizard-header-step-icon-ctn { width: 2rem; height: 2rem; }
    .fi-resource-visits .fi-fo-wizard-header-step-label { max-width: 100%; font-size: .8125rem; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
    .fi-resource-visits .fi-fo-wizard-header-step-description { display: none; }
}

/* ...on narrower desktops (tablets in landscape) the labels no longer fit: numbers for every step, the title only
   for the step you are on, which gets the room. */
@media (min-width: 768px) and (max-width: 1279px) {
    .fi-resource-visits .fi-fo-wizard-header { display: flex; }
    .fi-resource-visits .fi-fo-wizard-header-step { flex: 1 1 0; min-width: 0; }
    .fi-resource-visits .fi-fo-wizard-header-step.fi-active { flex: 3 1 0; }
    .fi-resource-visits .fi-fo-wizard-header-step:not(.fi-active) .fi-fo-wizard-header-step-label { display: none; }
}

/* ...and on phones: one row of number circles, the title only for the current step (the stacked list with
   descriptions took more than half of the screen). */
@media (max-width: 767px) {
    .fi-resource-visits .fi-fo-wizard-header { display: flex; }
    .fi-resource-visits .fi-fo-wizard-header > li { flex: 1 1 0; min-width: 0; border-top-width: 0; }
    .fi-resource-visits .fi-fo-wizard-header > li.fi-active { flex: 3 1 0; }
    .fi-resource-visits .fi-fo-wizard-header-step-button { width: 100%; flex-direction: column; justify-content: flex-start; align-items: center; gap: .25rem; padding: .625rem .25rem; text-align: center; }
    .fi-resource-visits .fi-fo-wizard-header-step-button > div:not(.fi-fo-wizard-header-step-icon-ctn) { width: 100%; justify-items: center; }
    .fi-resource-visits .fi-fo-wizard-header-step-icon-ctn { width: 2rem; height: 2rem; }
    .fi-resource-visits .fi-fo-wizard-header-step-label { font-size: .8125rem; line-height: 1.2; text-align: center; }
    .fi-resource-visits .fi-fo-wizard-header-step:not(.fi-active) .fi-fo-wizard-header-step-label,
    .fi-resource-visits .fi-fo-wizard-header-step-description { display: none; }
}

/* TinyEditor Light Mode - Harmonize with Filament Light and Emerald (#1E8A63) */
html:not(.dark) .tox-tinymce {
    border: 1px solid rgb(229 231 235) !important;
    border-radius: 0.75rem !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

html:not(.dark) .tox-tinymce:focus-within {
    border-color: #1E8A63 !important;
    box-shadow: 0 0 0 1px #1E8A63 !important;
}

html:not(.dark) .tox .tox-editor-container {
    background-color: #ffffff !important;
    border-radius: 0.75rem !important;
}

html:not(.dark) .tox .tox-editor-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgb(229 231 235) !important;
    box-shadow: none !important;
    padding: 0.25rem 0.5rem !important;
}

html:not(.dark) .tox .tox-toolbar-overlord,
html:not(.dark) .tox .tox-toolbar,
html:not(.dark) .tox .tox-toolbar__primary,
html:not(.dark) .tox .tox-toolbar__overflow,
html:not(.dark) .tox .tox-menubar {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

html:not(.dark) .tox .tox-menubar {
    border-bottom: 1px solid rgb(229 231 235) !important;
}

html:not(.dark) .tox .tox-tbtn {
    border-radius: 0.375rem !important;
    margin: 1px !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

html:not(.dark) .tox .tox-tbtn:hover {
    background-color: rgb(244 244 245) !important;
}

html:not(.dark) .tox .tox-tbtn--enabled,
html:not(.dark) .tox .tox-tbtn--active,
html:not(.dark) .tox .tox-tbtn:active {
    background-color: rgb(30 138 99 / 0.15) !important;
    color: #1E8A63 !important;
}

html:not(.dark) .tox .tox-tbtn--enabled svg,
html:not(.dark) .tox .tox-tbtn--active svg {
    fill: #1E8A63 !important;
}

html:not(.dark) .tox .tox-edit-area,
html:not(.dark) .tox .tox-edit-area__iframe {
    background-color: #ffffff !important;
}

html:not(.dark) .tox .tox-statusbar {
    background-color: #ffffff !important;
    border-top: 1px solid rgb(229 231 235) !important;
    color: #71717a !important;
}

/* TinyEditor Dark Mode - Harmonize with Filament Zinc (#18181b / #27272a) and Emerald (#1E8A63) */
.dark .tox-tinymce {
    border: 1px solid rgb(255 255 255 / 0.1) !important;
    border-radius: 0.75rem !important;
    background-color: #18181b !important;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    overflow: hidden !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dark .tox-tinymce:focus-within {
    border-color: #1E8A63 !important;
    box-shadow: 0 0 0 1px #1E8A63 !important;
}

.dark .tox .tox-editor-container {
    background-color: #18181b !important;
    border-radius: 0.75rem !important;
}

.dark .tox .tox-editor-header {
    background-color: #18181b !important;
    border-bottom: 1px solid rgb(255 255 255 / 0.08) !important;
    box-shadow: none !important;
    padding: 0.25rem 0.5rem !important;
}

.dark .tox .tox-toolbar-overlord,
.dark .tox .tox-toolbar,
.dark .tox .tox-toolbar__primary,
.dark .tox .tox-toolbar__overflow,
.dark .tox .tox-menubar {
    background-color: #18181b !important;
    background: #18181b !important;
}

.dark .tox .tox-menubar {
    border-bottom: 1px solid rgb(255 255 255 / 0.08) !important;
}

.dark .tox .tox-mbtn {
    color: #e4e4e7 !important;
    border-radius: 0.375rem !important;
}

.dark .tox .tox-mbtn:hover:not(:disabled) {
    background: rgb(255 255 255 / 0.08) !important;
    color: #ffffff !important;
}

.dark .tox .tox-mbtn--active {
    background: rgb(30 138 99 / 0.2) !important;
    color: #34d399 !important;
}

.dark .tox .tox-tbtn {
    color: #e4e4e7 !important;
    border-radius: 0.375rem !important;
    margin: 1px !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dark .tox .tox-tbtn svg {
    fill: currentColor !important;
}

.dark .tox .tox-tbtn:hover {
    background-color: rgb(255 255 255 / 0.08) !important;
    color: #ffffff !important;
}

.dark .tox .tox-tbtn--enabled,
.dark .tox .tox-tbtn--active,
.dark .tox .tox-tbtn:active {
    background-color: rgb(30 138 99 / 0.25) !important;
    color: #34d399 !important;
}

.dark .tox .tox-tbtn--enabled svg,
.dark .tox .tox-tbtn--active svg {
    fill: #34d399 !important;
}

.dark .tox .tox-tbtn--disabled,
.dark .tox .tox-tbtn--disabled:hover {
    color: rgb(255 255 255 / 0.25) !important;
    background: transparent !important;
}

.dark .tox .tox-tbtn--disabled svg {
    fill: rgb(255 255 255 / 0.25) !important;
}

.dark .tox .tox-split-button {
    border-radius: 0.375rem !important;
    margin: 1px !important;
}

.dark .tox .tox-split-button:hover {
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1) inset !important;
}

.dark .tox .tox-split-button .tox-tbtn:hover {
    background-color: rgb(255 255 255 / 0.08) !important;
}

.dark .tox .tox-toolbar-separator,
.dark .tox .tox-toolbar__group:not(:last-of-type) {
    border-color: rgb(255 255 255 / 0.08) !important;
}

.dark .tox .tox-edit-area,
.dark .tox .tox-edit-area__iframe {
    background-color: #242427 !important;
}

.dark .tox .tox-edit-area::before {
    display: none !important;
}

.dark .tox .tox-statusbar {
    background-color: #18181b !important;
    border-top: 1px solid rgb(255 255 255 / 0.08) !important;
    color: #a1a1aa !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.75rem !important;
}

.dark .tox .tox-statusbar a,
.dark .tox .tox-statusbar__path-item,
.dark .tox .tox-statusbar__wordcount {
    color: #a1a1aa !important;
}

.dark .tox .tox-statusbar a:hover,
.dark .tox .tox-statusbar__path-item:hover {
    color: #34d399 !important;
}

.dark .tox .tox-statusbar__resize-handle svg {
    fill: #71717a !important;
}

/* TinyMCE Popups, Dropdowns & Menus (appended to body) */
.dark .tox-tinymce-aux .tox-menu {
    background-color: #18181b !important;
    border: 1px solid rgb(255 255 255 / 0.12) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.5) !important;
    padding: 0.25rem !important;
}

.dark .tox-tinymce-aux .tox-collection__item {
    color: #f4f4f5 !important;
    border-radius: 0.375rem !important;
    padding: 0.375rem 0.625rem !important;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.dark .tox-tinymce-aux .tox-collection__item svg {
    fill: currentColor !important;
}

.dark .tox-tinymce-aux .tox-collection__item--active,
.dark .tox-tinymce-aux .tox-collection__item--enabled,
.dark .tox-tinymce-aux .tox-collection__item:hover:not(.tox-collection__item--state-disabled) {
    background-color: rgb(30 138 99 / 0.2) !important;
    color: #34d399 !important;
}

.dark .tox-tinymce-aux .tox-collection__item-label {
    color: inherit !important;
}

.dark .tox-tinymce-aux .tox-collection__item-accessory {
    color: #a1a1aa !important;
}

.dark .tox-tinymce-aux .tox-collection__item--active .tox-collection__item-accessory {
    color: #34d399 !important;
}

.dark .tox-tinymce-aux .tox-pop__dialog {
    background-color: #18181b !important;
    border: 1px solid rgb(255 255 255 / 0.12) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.5) !important;
}

.dark .tox-tinymce-aux .tox-tooltip__body {
    background-color: #27272a !important;
    color: #f4f4f5 !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3) !important;
    font-size: 0.75rem !important;
}

/* TinyMCE Dialogs & Modals */
.dark .tox-tinymce-aux .tox-dialog {
    background-color: #18181b !important;
    border: 1px solid rgb(255 255 255 / 0.12) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5) !important;
    color: #f4f4f5 !important;
}

.dark .tox-tinymce-aux .tox-dialog__header {
    background-color: #18181b !important;
    border-bottom: 1px solid rgb(255 255 255 / 0.08) !important;
    color: #ffffff !important;
}

.dark .tox-tinymce-aux .tox-dialog__title {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.dark .tox-tinymce-aux .tox-dialog__body {
    background-color: #18181b !important;
    color: #f4f4f5 !important;
}

.dark .tox-tinymce-aux .tox-dialog__footer {
    background-color: #18181b !important;
    border-top: 1px solid rgb(255 255 255 / 0.08) !important;
}

.dark .tox-tinymce-aux .tox-button {
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dark .tox-tinymce-aux .tox-button--secondary {
    background-color: #27272a !important;
    border: 1px solid rgb(255 255 255 / 0.12) !important;
    color: #f4f4f5 !important;
}

.dark .tox-tinymce-aux .tox-button--secondary:hover {
    background-color: #3f3f46 !important;
    color: #ffffff !important;
}

.dark .tox-tinymce-aux .tox-button:not(.tox-button--secondary) {
    background-color: #1E8A63 !important;
    border: 1px solid #1E8A63 !important;
    color: #ffffff !important;
}

.dark .tox-tinymce-aux .tox-button:not(.tox-button--secondary):hover {
    background-color: #166534 !important;
    border-color: #166534 !important;
}

.dark .tox-tinymce-aux .tox-textfield,
.dark .tox-tinymce-aux .tox-listboxfield .tox-listbox--select,
.dark .tox-tinymce-aux .tox-selectfield select {
    background-color: #27272a !important;
    border: 1px solid rgb(255 255 255 / 0.12) !important;
    color: #f4f4f5 !important;
    border-radius: 0.5rem !important;
}

.dark .tox-tinymce-aux .tox-textfield:focus,
.dark .tox-tinymce-aux .tox-listboxfield .tox-listbox--select:focus {
    border-color: #1E8A63 !important;
    box-shadow: 0 0 0 1px #1E8A63 !important;
}

.dark .tox-tinymce-aux .tox-label,
.dark .tox-tinymce-aux .tox-form__group label {
    color: #d4d4d8 !important;
}



/* ---- Page header buttons: the dashboard quick-action look (soft tile + icon chip, one filled green main button) ---- */
.fi-header .fi-ac .fi-btn, .fi-header .fi-ac .fi-icon-btn { border-radius: .875rem; background: #fff; color: rgb(var(--gray-800)); font-weight: 600; --tw-ring-shadow: 0 0 #0000; box-shadow: rgba(0, 0, 0, 0.15) 0 3px 3px 0; transition: box-shadow .15s, transform .15s, background-color .15s; }
.fi-header .fi-ac .fi-btn { padding: .375rem .875rem .375rem .375rem; gap: .5rem; }
.fi-header .fi-ac .fi-btn:hover, .fi-header .fi-ac .fi-icon-btn:hover { transform: translateY(-1px); box-shadow: rgba(0, 0, 0, 0.22) 0 6px 10px 0; background: #fff; }
.fi-header .fi-ac .fi-btn > svg.fi-btn-icon { box-sizing: content-box; width: 1.125rem; height: 1.125rem; padding: .4375rem; border-radius: .625rem; background: rgb(var(--primary-50)); color: rgb(var(--primary-600)); }
.fi-header .fi-ac .fi-icon-btn { width: 2.75rem; height: 2.75rem; margin: 0; color: rgb(var(--gray-600)); } /* Filament gives icon buttons -m-2: it pulled the ⋮ towards its neighbour */
.fi-header .fi-ac .fi-btn.fi-color-primary { background: rgb(var(--primary-600)); color: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.fi-header .fi-ac .fi-btn.fi-color-primary:hover { background: rgb(var(--primary-700)); box-shadow: 0 4px 12px rgba(var(--primary-600), .35); }
.fi-header .fi-ac .fi-btn.fi-color-primary > svg.fi-btn-icon { background: rgb(255 255 255 / .2); color: #fff; }
.fi-header .fi-ac .fi-btn.fi-color-danger { background: #fff; color: rgb(var(--danger-700)); box-shadow: rgba(220, 38, 38, .45) 0 0 0 1px; }
.fi-header .fi-ac .fi-btn.fi-color-danger > svg.fi-btn-icon { background: rgb(var(--danger-50)); color: rgb(var(--danger-600)); }
.dark .fi-header .fi-ac .fi-btn:not(.fi-color-primary), .dark .fi-header .fi-ac .fi-icon-btn { background: rgb(255 255 255 / .06); color: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .12); }
.dark .fi-header .fi-ac .fi-btn:not(.fi-color-primary) > svg.fi-btn-icon { background: rgba(var(--primary-500), .15); color: rgb(var(--primary-400)); }
.dark .fi-header .fi-ac .fi-btn.fi-color-primary { background: rgb(var(--primary-600)); box-shadow: none; }

/* Header buttons without an icon (a few custom ones) keep the same height as the tiles with a chip. A button that opens a modal holds a hidden spinner with the icon's class: it does not count as an icon. */
.fi-header .fi-ac .fi-btn:not(:has(> svg.fi-btn-icon:not(.animate-spin))) { min-height: 2.75rem; padding: .375rem 1rem; }

/* «Προσαρμογή αρχικής» button: full label when there is room, «Προσαρμογή» on small tablets, icon only on phones */
@media (max-width: 767px) { .va-dash-btn__label-more { display: none; } }
@media (max-width: 479px) {
    .va-dash-btn--icon { padding-right: .375rem; }
    .va-dash-btn--icon .va-dash-btn__label { display: none; }
}

/* ===================== Staff chat («Μηνύματα») — Messenger-like ===================== */
/* Topbar 💬: a Filament icon button like the bell; the chat opens in a popover under it (Messenger style). */
.va-chat-launcher { position: relative; display: flex; }
.fi-topbar:has(.va-chat-pop) { z-index: 45; } /* above the page and its sticky bits while open */
.va-chat-pop { position: absolute; top: calc(100% + 1rem); right: -.5rem; z-index: 45; display: flex; width: 24rem; height: min(40rem, calc(100dvh - 6rem)); overflow: hidden; border-radius: 1rem; background: #fff;
    box-shadow: 0 18px 50px rgb(0 0 0 / .18), 0 0 0 1px rgba(var(--gray-950), .06); animation: va-chat-pop .14s ease-out; }
.dark .va-chat-pop { background: rgb(var(--gray-900)); box-shadow: 0 18px 50px rgb(0 0 0 / .55), 0 0 0 1px rgb(255 255 255 / .1); }
/* opacity only: a transform would trap the chat's modals (position: fixed) inside the popover */
@keyframes va-chat-pop { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 767px) { .va-chat-pop { position: fixed; inset: 0; z-index: 50; width: 100vw; height: 100dvh; border-radius: 0; } }

/* Quick create «+»: same quiet look as the bell and 💬 (the plugin paints a coloured circle). */
.quick-create-component .fi-dropdown-trigger button,
.dark .quick-create-component .fi-dropdown-trigger button { width: 2.25rem; height: 2.25rem; margin: -.5rem; background: transparent; color: rgb(var(--gray-400)); border-radius: .5rem; }
.quick-create-component .fi-dropdown-trigger button svg { width: 1.5rem; height: 1.5rem; }
.quick-create-component .fi-dropdown-trigger button:hover,
.quick-create-component .fi-dropdown-trigger button:focus-visible { background: transparent; color: rgb(var(--gray-500)); }
.dark .quick-create-component .fi-dropdown-trigger button { color: rgb(var(--gray-500)); }
.dark .quick-create-component .fi-dropdown-trigger button:hover,
.dark .quick-create-component .fi-dropdown-trigger button:focus-visible { background: transparent; color: rgb(var(--gray-400)); }

/* Layout */
.va-chat { display: grid; grid-template-rows: minmax(0, 1fr); grid-auto-rows: 0; min-width: 0; width: 100%; color: rgb(var(--gray-950)); }
/* The Filament modals container is an extra child: it gets a 0-height row instead of half of the height
   (that pushed the composer to the middle). Its modals are position: fixed, so nothing is cut. */
.va-chat > :not(.va-chat-list):not(.va-chat-thread) { min-height: 0; overflow: visible; }
.dark .va-chat { color: #fff; }
.va-chat--page { grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr); height: calc(100dvh - 8.5rem); min-height: 26rem; border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: rgba(0, 0, 0, .15) 0 3px 3px 0, 0 0 0 1px rgba(var(--gray-950), .05); }
.dark .va-chat--page { background: rgb(var(--gray-900)); box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
.va-chat-page .fi-page > section { padding-top: 0; padding-bottom: 0; }
.va-chat--panel { grid-template-columns: minmax(0, 1fr); height: 100%; min-height: 0; }
.va-chat--panel .va-chat-thread, .va-chat--panel.has-thread .va-chat-list { display: none; }
.va-chat--panel.has-thread .va-chat-thread { display: flex; }
@media (max-width: 767px) {
    .va-chat--page { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 6.5rem); border-radius: .75rem; }
    .va-chat--page .va-chat-thread, .va-chat--page.has-thread .va-chat-list { display: none; }
    .va-chat--page.has-thread .va-chat-thread { display: flex; }
}
@media (min-width: 768px) { .va-chat--page .va-chat-back { display: none; } }

/* Buttons */
.va-chat-iconbtn { display: inline-flex; width: 2.25rem; height: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; color: rgb(var(--primary-600)); cursor: pointer; transition: background-color .15s; }
.va-chat-iconbtn:hover, .va-chat-iconbtn.is-on { background: rgb(var(--gray-100)); }
.dark .va-chat-iconbtn { color: rgb(var(--primary-400)); }
.dark .va-chat-iconbtn:hover, .dark .va-chat-iconbtn.is-on { background: rgb(255 255 255 / .07); }
.va-chat-iconbtn:focus-visible, .va-chat-row:focus-visible, .va-chat-send:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 1px; }
.va-chat-iconbtn__svg { width: 1.25rem; height: 1.25rem; }

/* Avatars */
.va-chat-avatar { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; overflow: hidden; border-radius: 9999px; background: var(--va-av, #64748b); color: #fff; font-weight: 600; user-select: none; }
.va-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.va-chat-avatar.is-xs { width: 1rem; height: 1rem; font-size: .5rem; }
.va-chat-avatar.is-sm { width: 1.75rem; height: 1.75rem; font-size: .6875rem; }
.va-chat-avatar.is-md { width: 2.5rem; height: 2.5rem; font-size: .875rem; }
.va-chat-avatar.is-lg { width: 3.25rem; height: 3.25rem; font-size: 1.0625rem; }
.va-chat-avatar__icon { width: 55%; height: 55%; }

/* Conversation list */
.va-chat-list { display: flex; min-width: 0; min-height: 0; flex-direction: column; border-right: 1px solid rgba(var(--gray-950), .06); }
.dark .va-chat-list { border-color: rgb(255 255 255 / .08); }
.va-chat--panel .va-chat-list { border-right: 0; }
.va-chat-list__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .875rem .75rem .25rem 1rem; }
.va-chat-list__title { font-size: 1.375rem; font-weight: 700; }
.va-chat-list__tools { display: flex; gap: .25rem; }
.va-chat-search { display: flex; align-items: center; gap: .5rem; margin: .5rem .75rem; padding: 0 .875rem; border-radius: 9999px; background: rgb(var(--gray-100)); }
.dark .va-chat-search { background: rgb(255 255 255 / .07); }
.va-chat-search__icon { width: 1.125rem; height: 1.125rem; color: rgb(var(--gray-400)); }
.va-chat .va-chat-search input { flex: 1; min-width: 0; height: 2.375rem; border: 0; padding: 0; background: transparent; font-size: .9375rem; color: inherit; }
.va-chat .va-chat-search input:focus { outline: none; box-shadow: none; }
.va-chat-list__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: .25rem .5rem .75rem; scrollbar-width: thin; }
.va-chat-list__section { margin: .75rem .5rem .25rem; font-size: .75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: rgb(var(--gray-500)); }
.va-chat-rows { display: grid; gap: .125rem; }
.va-chat-row { display: flex; width: 100%; align-items: center; gap: .75rem; padding: .5rem; border-radius: .75rem; text-align: left; transition: background-color .12s; }
.va-chat-row:hover { background: rgb(var(--gray-100)); }
.va-chat-row.is-active { background: rgb(var(--primary-50)); }
.dark .va-chat-row:hover { background: rgb(255 255 255 / .05); }
.dark .va-chat-row.is-active { background: rgba(var(--primary-500), .15); }
.va-chat-row__main { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.va-chat-row__top { display: flex; align-items: baseline; gap: .5rem; }
.va-chat-row__title { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9375rem; font-weight: 500; }
.va-chat-row__time { flex-shrink: 0; font-size: .75rem; color: rgb(var(--gray-500)); }
.va-chat-row__preview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; color: rgb(var(--gray-500)); }
.va-chat-row.is-unread .va-chat-row__title, .va-chat-row.is-unread .va-chat-row__preview { font-weight: 700; color: rgb(var(--gray-950)); }
.dark .va-chat-row.is-unread .va-chat-row__title, .dark .va-chat-row.is-unread .va-chat-row__preview { color: #fff; }
.va-chat-row.is-unread .va-chat-row__time { color: rgb(var(--primary-600)); font-weight: 600; }
.va-chat-row__dot { width: .75rem; height: .75rem; flex-shrink: 0; border-radius: 9999px; background: rgb(var(--primary-600)); }

/* Thread */
.va-chat-thread { display: flex; min-width: 0; min-height: 0; flex-direction: column; }
.va-chat-thread__head { display: flex; align-items: center; gap: .625rem; padding: .625rem .75rem; border-bottom: 1px solid rgba(var(--gray-950), .06); box-shadow: 0 1px 3px rgb(0 0 0 / .04); }
.dark .va-chat-thread__head { border-color: rgb(255 255 255 / .08); }
.va-chat-thread__who { min-width: 0; flex: 1; }
.va-chat-thread__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; font-weight: 600; }
.va-chat-thread__sub { font-size: .75rem; color: rgb(var(--gray-500)); }
.va-chat-thread__tools { position: relative; display: flex; gap: .125rem; }
.va-chat-menu { position: absolute; top: 100%; right: 0; z-index: 10; display: grid; min-width: 14rem; margin-top: .25rem; padding: .25rem; border-radius: .75rem; background: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .15), 0 0 0 1px rgba(var(--gray-950), .06); }
.dark .va-chat-menu { background: rgb(var(--gray-800)); }
.va-chat-menu button { padding: .5rem .75rem; border-radius: .5rem; text-align: left; font-size: .875rem; }
.va-chat-menu button:hover { background: rgb(var(--gray-100)); }
.dark .va-chat-menu button:hover { background: rgb(255 255 255 / .07); }

.va-chat-messages { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: .125rem; overflow-y: auto; overscroll-behavior: contain; padding: 1rem .75rem .5rem; scrollbar-width: thin; }
.va-chat-older { display: flex; justify-content: center; padding-bottom: .5rem; }
.va-chat-older button { padding: .25rem .75rem; border-radius: 9999px; font-size: .8125rem; font-weight: 500; color: rgb(var(--primary-600)); background: rgb(var(--gray-100)); }
.dark .va-chat-older button { background: rgb(255 255 255 / .07); color: rgb(var(--primary-400)); }
.va-chat-day { display: flex; justify-content: center; margin: .875rem 0 .5rem; }
.va-chat-day span { font-size: .75rem; font-weight: 600; color: rgb(var(--gray-500)); }
.va-chat-system { margin: .5rem auto; max-width: 85%; text-align: center; font-size: .75rem; color: rgb(var(--gray-500)); overflow-wrap: anywhere; }

.va-chat-msg { display: flex; align-items: flex-end; gap: .5rem; margin-top: .5rem; }
.va-chat-msg.is-grouped { margin-top: .125rem; }
.va-chat-msg.show-tools { margin-top: 1.375rem; }
.va-chat-msg.is-mine { justify-content: flex-end; }
.va-chat-msg__avatar { width: 1.75rem; flex-shrink: 0; align-self: flex-start; }
.va-chat-msg__col { display: flex; min-width: 0; max-width: min(85%, 38rem); flex-direction: column; }
.va-chat-msg.is-mine .va-chat-msg__col { align-items: flex-end; }
.va-chat-msg__author { margin: 0 0 .125rem .75rem; font-size: .75rem; color: rgb(var(--gray-500)); }
.va-chat-msg__line { position: relative; display: flex; max-width: 100%; }
.va-chat-msg.is-mine .va-chat-msg__line { justify-content: flex-end; }

.va-chat-bubble { display: flex; min-width: 0; max-width: 100%; flex-direction: column; gap: .375rem; padding: .5rem .875rem; border-radius: 1.125rem; background: rgb(var(--gray-100)); font-size: .9375rem; line-height: 1.4; }
.dark .va-chat-bubble { background: rgb(255 255 255 / .09); }
.va-chat-msg.is-mine .va-chat-bubble { background: rgb(var(--primary-600)); color: #fff; }
.va-chat-msg:not(.is-mine).is-grouped .va-chat-bubble { border-top-left-radius: .375rem; }
.va-chat-msg.is-mine.is-grouped .va-chat-bubble { border-top-right-radius: .375rem; }
.va-chat-bubble__text { overflow-wrap: anywhere; white-space: normal; }
.va-chat-bubble__deleted { font-style: italic; opacity: .7; }
.va-chat-msg.is-deleted .va-chat-bubble { background: transparent; color: rgb(var(--gray-500)); box-shadow: inset 0 0 0 1px rgb(var(--gray-300)); }
.dark .va-chat-msg.is-deleted .va-chat-bubble { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .15); }
.va-chat-link { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.va-chat-msg:not(.is-mine) .va-chat-link { color: rgb(var(--primary-700)); }
.dark .va-chat-msg:not(.is-mine) .va-chat-link { color: rgb(var(--primary-300)); }

.va-chat-quote { display: flex; flex-direction: column; padding: .375rem .625rem; border-left: 3px solid currentColor; border-radius: .5rem; background: rgb(0 0 0 / .05); font-size: .8125rem; opacity: .9; }
.va-chat-msg.is-mine .va-chat-quote { background: rgb(255 255 255 / .15); }
.va-chat-quote__author { font-weight: 600; font-size: .75rem; }
.va-chat-quote__text { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }

.va-chat-gallery { display: grid; gap: .25rem; margin: -.125rem -.375rem; }
.va-chat-gallery.is-multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.va-chat-gallery__item { display: block; overflow: hidden; border-radius: .75rem; background: rgb(0 0 0 / .05); }
.va-chat-gallery__item img { display: block; width: 100%; max-height: 20rem; object-fit: cover; }
.va-chat-gallery:not(.is-multi) .va-chat-gallery__item img { width: auto; max-width: 100%; }
.va-chat-file, .va-chat-card { display: flex; align-items: center; gap: .5rem; min-width: 0; padding: .5rem .625rem; border-radius: .75rem; background: rgb(0 0 0 / .05); color: inherit; transition: background-color .12s; }
.va-chat-file:hover, a.va-chat-card:hover { background: rgb(0 0 0 / .09); }
.va-chat-msg.is-mine .va-chat-file, .va-chat-msg.is-mine .va-chat-card { background: rgb(255 255 255 / .16); }
.va-chat-msg.is-mine .va-chat-file:hover, .va-chat-msg.is-mine a.va-chat-card:hover { background: rgb(255 255 255 / .24); }
.dark .va-chat-file, .dark .va-chat-card { background: rgb(255 255 255 / .06); }
.va-chat-file__icon, .va-chat-card__icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.va-chat-file__name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 500; }
.va-chat-file__size { flex-shrink: 0; font-size: .75rem; opacity: .75; }
.va-chat-card__main { display: flex; min-width: 0; flex-direction: column; }
.va-chat-card__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 600; }
.va-chat-card__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; opacity: .8; }
.va-chat-card.is-missing { opacity: .7; font-style: italic; }

/* Message tools: a small floating bar on the bubble's top corner (takes no width, so the bubble can use the whole
   row); on hover with a mouse, after a long press on touch screens. */
.va-chat-tools { position: absolute; top: -1.125rem; z-index: 4; display: flex; gap: .0625rem; padding: .125rem; border-radius: 9999px; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .14), 0 0 0 1px rgba(var(--gray-950), .05); opacity: 0; pointer-events: none; transition: opacity .12s; }
.va-chat-msg.is-mine .va-chat-tools { right: .5rem; }
.va-chat-msg:not(.is-mine) .va-chat-tools { left: .5rem; }
.dark .va-chat-tools { background: rgb(var(--gray-800)); box-shadow: 0 2px 10px rgb(0 0 0 / .4), 0 0 0 1px rgb(255 255 255 / .08); }
.va-chat-msg:hover .va-chat-tools, .va-chat-msg:focus-within .va-chat-tools, .va-chat-msg.show-tools .va-chat-tools { opacity: 1; pointer-events: auto; }
.va-chat-tools > button { display: inline-flex; width: 1.875rem; height: 1.875rem; align-items: center; justify-content: center; border-radius: 9999px; color: rgb(var(--gray-500)); }
.va-chat-tools > button:hover { background: rgb(var(--gray-100)); color: rgb(var(--gray-800)); }
.dark .va-chat-tools > button { color: rgb(var(--gray-400)); }
.dark .va-chat-tools > button:hover { background: rgb(255 255 255 / .08); color: #fff; }
.va-chat-tools__svg { width: 1.0625rem; height: 1.0625rem; }
.va-chat-picker { position: absolute; bottom: calc(100% + .375rem); z-index: 5; display: flex; gap: .125rem; padding: .25rem .375rem; border-radius: 9999px; background: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .18); }
.va-chat-msg.is-mine .va-chat-picker { right: 0; }
.va-chat-msg:not(.is-mine) .va-chat-picker { left: 0; }
.dark .va-chat-picker { background: rgb(var(--gray-800)); }
.va-chat-picker button { width: 2.25rem; height: 2.25rem; border-radius: 9999px; font-size: 1.375rem; line-height: 1; transition: transform .1s; }
.va-chat-picker button:hover { transform: scale(1.25); }

.va-chat-msg__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin-top: -.25rem; padding: 0 .5rem; position: relative; z-index: 1; }
.va-chat-reaction { display: inline-flex; align-items: center; gap: .125rem; padding: .0625rem .375rem; border-radius: 9999px; background: #fff; font-size: .8125rem; box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
.va-chat-reaction span { font-size: .6875rem; color: rgb(var(--gray-500)); }
.va-chat-reaction.is-mine { box-shadow: 0 0 0 1.5px rgb(var(--primary-500)); }
.dark .va-chat-reaction { background: rgb(var(--gray-800)); }
.va-chat-msg__edited { font-size: .6875rem; color: rgb(var(--gray-500)); }
.va-chat-seen { display: flex; justify-content: flex-end; gap: .125rem; margin-top: .25rem; }

.va-chat-edit { display: grid; gap: .375rem; min-width: min(18rem, 60vw); }
.va-chat .va-chat-edit textarea { width: 100%; resize: vertical; border: 0; border-radius: .5rem; padding: .375rem .5rem; background: rgb(255 255 255 / .9); color: rgb(var(--gray-950)); font-size: .9375rem; }
.va-chat-edit__btns { display: flex; justify-content: flex-end; gap: .375rem; }
.va-chat-edit__btns button { padding: .25rem .625rem; border-radius: 9999px; font-size: .8125rem; font-weight: 600; background: rgb(255 255 255 / .2); }
.va-chat-edit__btns button.is-primary { background: #fff; color: rgb(var(--primary-700)); }
.va-chat-msg:not(.is-mine) .va-chat-edit__btns button { background: rgb(var(--gray-200)); }

/* Composer */
.va-chat-composer { display: grid; gap: .375rem; padding: .5rem .75rem calc(.625rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(var(--gray-950), .06); }
.dark .va-chat-composer { border-color: rgb(255 255 255 / .08); }
.va-chat-composer__reply { display: flex; align-items: center; gap: .5rem; padding: .375rem .25rem .375rem .75rem; border-left: 3px solid rgb(var(--primary-500)); border-radius: .5rem; background: rgb(var(--gray-50)); font-size: .8125rem; }
.va-chat-composer__reply > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.dark .va-chat-composer__reply { background: rgb(255 255 255 / .05); }
.va-chat-pending { display: flex; flex-wrap: wrap; gap: .375rem; }
.va-chat-chip { display: inline-flex; max-width: 100%; align-items: center; gap: .375rem; padding: .25rem .25rem .25rem .5rem; border-radius: 9999px; background: rgb(var(--gray-100)); font-size: .8125rem; }
.dark .va-chat-chip { background: rgb(255 255 255 / .08); }
.va-chat-chip__icon { width: 1rem; height: 1rem; flex-shrink: 0; color: rgb(var(--gray-500)); }
.va-chat-chip__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.va-chat-chip button { width: 1.375rem; height: 1.375rem; border-radius: 9999px; font-size: 1rem; line-height: 1; color: rgb(var(--gray-500)); }
.va-chat-chip button:hover { background: rgb(var(--gray-200)); }
.va-chat-error { font-size: .8125rem; color: rgb(var(--danger-600)); }
.va-chat-composer__row { position: relative; display: flex; align-items: flex-end; gap: .25rem; }
.va-chat .va-chat-composer__input { flex: 1; min-width: 0; max-height: 10rem; resize: none; border: 0; border-radius: 1.25rem; padding: .5rem .875rem; background: rgb(var(--gray-100)); font-size: .9375rem; line-height: 1.35; color: inherit; }
.va-chat .va-chat-composer__input:focus { outline: none; box-shadow: 0 0 0 2px rgba(var(--primary-500), .5); }
.dark .va-chat .va-chat-composer__input { background: rgb(255 255 255 / .08); }
.va-chat-send { display: inline-flex; width: 2.25rem; height: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; color: rgb(var(--primary-600)); transition: background-color .15s, transform .1s; }
.va-chat-send:hover { background: rgb(var(--gray-100)); }
.va-chat-send:active { transform: scale(.92); }
.va-chat-send:disabled { opacity: .5; }
.dark .va-chat-send { color: rgb(var(--primary-400)); }
.dark .va-chat-send:hover { background: rgb(255 255 255 / .07); }
.va-chat-send__svg { width: 1.375rem; height: 1.375rem; }
.va-chat-uploading { font-size: .75rem; color: rgb(var(--gray-500)); }
.va-chat-linkpicker { position: absolute; bottom: calc(100% + .375rem); left: 0; z-index: 10; width: min(22rem, 100%); padding: .5rem; border-radius: .875rem; background: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .18), 0 0 0 1px rgba(var(--gray-950), .06); }
.dark .va-chat-linkpicker { background: rgb(var(--gray-800)); }
.va-chat .va-chat-linkpicker input { width: 100%; height: 2.25rem; border: 0; border-radius: .625rem; padding: 0 .75rem; background: rgb(var(--gray-100)); font-size: .875rem; color: inherit; }
.dark .va-chat .va-chat-linkpicker input { background: rgb(255 255 255 / .08); }
.va-chat .va-chat-linkpicker input:focus { outline: none; box-shadow: 0 0 0 2px rgba(var(--primary-500), .5); }
.va-chat-linkpicker ul { display: grid; max-height: 15rem; margin-top: .375rem; overflow-y: auto; }
.va-chat-linkpicker li button { display: flex; width: 100%; flex-direction: column; padding: .375rem .5rem; border-radius: .5rem; text-align: left; }
.va-chat-linkpicker li button:hover { background: rgb(var(--gray-100)); }
.dark .va-chat-linkpicker li button:hover { background: rgb(255 255 255 / .07); }
.va-chat-linkpicker__label { font-size: .875rem; font-weight: 500; }
.va-chat-linkpicker__hint, .va-chat-linkpicker__empty { font-size: .75rem; color: rgb(var(--gray-500)); }
.va-chat-linkpicker__empty { padding: .5rem; }

/* @mentions: the picker above the composer and the highlighted names in a message */
.va-chat-mentions { position: absolute; bottom: calc(100% + .375rem); left: 0; z-index: 10; display: flex; flex-direction: column; width: min(18rem, 100%); max-height: 15rem; overflow-y: auto; padding: .375rem; border-radius: .875rem; background: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .18), 0 0 0 1px rgba(var(--gray-950), .06); }
.dark .va-chat-mentions { background: rgb(var(--gray-800)); }
.va-chat-mentions button { display: flex; width: 100%; align-items: center; gap: .5rem; padding: .375rem .5rem; border-radius: .5rem; text-align: left; font-size: .875rem; font-weight: 500; }
.va-chat-mentions button:hover, .va-chat-mentions button.is-active { background: rgb(var(--gray-100)); }
.dark .va-chat-mentions button:hover, .dark .va-chat-mentions button.is-active { background: rgb(255 255 255 / .07); }
.va-chat-mention { padding: 0 .1875rem; border-radius: .3125rem; font-weight: 600; color: rgb(var(--primary-700)); background: rgba(var(--primary-500), .12); }
.dark .va-chat-mention { color: rgb(var(--primary-300)); background: rgba(var(--primary-400), .16); }
.va-chat-mention.is-me { color: #fff; background: rgb(var(--primary-600)); }
.va-chat-msg.is-mine .va-chat-mention { color: #fff; background: rgb(255 255 255 / .2); }

.va-chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 2rem 1rem; text-align: center; font-size: .875rem; color: rgb(var(--gray-500)); }
.va-chat-empty__icon { width: 3rem; height: 3rem; color: rgb(var(--gray-300)); }
.va-chat-thread__empty { flex: 1; }
@media (prefers-reduced-motion: reduce) { .va-chat-pop { animation: none; } .va-chat-picker button, .va-chat-send { transition: none; } }

/* Chat image viewer (lightbox) */
.va-chat-gallery__item { cursor: zoom-in; }
.va-chat-lightbox { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: rgb(0 0 0 / .92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.va-chat-lightbox__img { max-width: min(92vw, 100%); max-height: calc(100dvh - 8rem); object-fit: contain; border-radius: .5rem; box-shadow: 0 20px 60px rgb(0 0 0 / .5); user-select: none; cursor: pointer; }
.va-chat-lightbox__bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem calc(.75rem); padding-top: max(.75rem, env(safe-area-inset-top)); color: #fff; background: linear-gradient(rgb(0 0 0 / .55), transparent); }
.va-chat-lightbox__name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 500; }
.va-chat-lightbox__count { font-size: .8125rem; opacity: .8; font-variant-numeric: tabular-nums; }
.va-chat-lightbox__btn, .va-chat-lightbox__nav { display: inline-flex; width: 2.75rem; height: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; color: #fff; background: rgb(255 255 255 / .12); transition: background-color .15s; }
.va-chat-lightbox__btn:hover, .va-chat-lightbox__nav:hover { background: rgb(255 255 255 / .24); }
.va-chat-lightbox__btn:focus-visible, .va-chat-lightbox__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.va-chat-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.va-chat-lightbox__nav.is-prev { left: max(.75rem, env(safe-area-inset-left)); }
.va-chat-lightbox__nav.is-next { right: max(.75rem, env(safe-area-inset-right)); }
.va-chat-lightbox__svg { width: 1.375rem; height: 1.375rem; }
@media (max-width: 640px) { .va-chat-lightbox__nav { top: auto; bottom: max(1rem, env(safe-area-inset-bottom)); transform: none; } .va-chat-lightbox__img { max-height: calc(100dvh - 10rem); } }
/* Chat camera (computers): viewfinder in the lightbox, shutter / «Ξανά» «Αποστολή» at the bottom. */
.va-chat-camera__video { cursor: default; background: #000; }
.va-chat-camera__actions { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgb(0 0 0 / .55)); }
.va-chat-camera__shutter { width: 4rem; height: 4rem; border-radius: 9999px; background: #fff; border: 4px solid rgb(255 255 255 / .45); background-clip: padding-box; box-shadow: 0 0 0 2px rgb(0 0 0 / .25); transition: transform .1s; }
.va-chat-camera__shutter:active { transform: scale(.92); }
.va-chat-camera__shutter:disabled { opacity: .4; }
.va-chat-camera__shutter:focus-visible, .va-chat-camera__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.va-chat-camera__confirm { display: flex; gap: .75rem; }
.va-chat-camera__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 9999px; font-size: .9375rem; font-weight: 600; color: #fff; background: rgb(255 255 255 / .16); }
.va-chat-camera__btn:hover { background: rgb(255 255 255 / .26); }
.va-chat-camera__btn.is-primary { background: rgb(var(--primary-600)); }
.va-chat-camera__btn.is-primary:hover { background: rgb(var(--primary-500)); }
.va-chat-camera__svg { width: 1.125rem; height: 1.125rem; }
body.va-lightbox-open { overflow: hidden; }

/* Chat: new conversation and group info, inside the chat (no modals) */
.va-chat-compose { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: .25rem; }
.va-chat-compose__head { display: flex; align-items: center; gap: .25rem; padding: 0 .5rem; }
.va-chat-compose__head h3 { font-size: 1.0625rem; font-weight: 700; }
.va-chat-compose__foot { padding: .5rem .75rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(var(--gray-950), .06); }
.dark .va-chat-compose__foot { border-color: rgb(255 255 255 / .08); }
.va-chat-compose .va-chat-pending { padding: 0 .75rem; }
.va-chat-seg { display: flex; gap: .25rem; margin: .25rem .75rem; padding: .25rem; border-radius: 9999px; background: rgb(var(--gray-100)); }
.dark .va-chat-seg { background: rgb(255 255 255 / .06); }
.va-chat-seg button { flex: 1; min-height: 2.25rem; border-radius: 9999px; font-size: .875rem; font-weight: 500; color: rgb(var(--gray-600)); }
.va-chat-seg button.is-active { background: #fff; color: rgb(var(--gray-950)); font-weight: 600; box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
.dark .va-chat-seg button { color: rgb(var(--gray-400)); }
.dark .va-chat-seg button.is-active { background: rgb(255 255 255 / .12); color: #fff; box-shadow: none; }
.va-chat .va-chat-field { width: calc(100% - 1.5rem); margin: .25rem .75rem; height: 2.5rem; border: 0; border-radius: .75rem; padding: 0 .875rem; background: rgb(var(--gray-100)); font-size: .9375rem; color: inherit; }
.dark .va-chat .va-chat-field { background: rgb(255 255 255 / .07); }
.va-chat .va-chat-field:focus { outline: none; box-shadow: 0 0 0 2px rgba(var(--primary-500), .5); }
.va-chat-check { display: inline-flex; width: 1.375rem; height: 1.375rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; color: transparent; box-shadow: inset 0 0 0 2px rgb(var(--gray-300)); transition: background-color .12s, box-shadow .12s; }
.va-chat-check.is-on { background: rgb(var(--primary-600)); color: #fff; box-shadow: none; }
.dark .va-chat-check { box-shadow: inset 0 0 0 2px rgb(255 255 255 / .25); }
.va-chat-check__svg { width: .875rem; height: .875rem; }
.va-chat-primary { display: inline-flex; width: 100%; min-height: 2.5rem; align-items: center; justify-content: center; gap: .375rem; padding: 0 1rem; border-radius: 9999px; background: rgb(var(--primary-600)); color: #fff; font-size: .9375rem; font-weight: 600; transition: background-color .15s; }
.va-chat-primary:hover { background: rgb(var(--primary-700)); }
.va-chat-primary:disabled { opacity: .45; cursor: not-allowed; }
.va-chat-primary.is-small { width: auto; min-height: 2.25rem; font-size: .8125rem; }
.va-chat-danger { display: inline-flex; width: 100%; min-height: 2.5rem; align-items: center; justify-content: center; gap: .5rem; margin-top: .75rem; border-radius: 9999px; color: rgb(var(--danger-600)); font-size: .875rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(var(--danger-600), .35); transition: background-color .15s, color .15s; }
.va-chat-danger:hover { background: rgb(var(--danger-50)); }
.va-chat-danger.is-confirm { background: rgb(var(--danger-600)); color: #fff; box-shadow: none; }
.dark .va-chat-danger { color: rgb(var(--danger-400)); }
.dark .va-chat-danger:hover { background: rgba(var(--danger-500), .12); }
.dark .va-chat-danger.is-confirm { background: rgb(var(--danger-600)); color: #fff; }
.va-chat-info { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: .375rem; overflow-y: auto; padding: 1rem .75rem calc(1rem + env(safe-area-inset-bottom)); }
.va-chat-info .va-chat-search, .va-chat-info .va-chat-field { margin-left: 0; margin-right: 0; width: 100%; }
.va-chat-info__hero { display: flex; flex-direction: column; align-items: center; gap: .375rem; padding: .5rem 0 .75rem; text-align: center; }
.va-chat-info__row { display: flex; align-items: center; gap: .5rem; }
.va-chat-info__row .va-chat-field { flex: 1; }
.va-chat-info__note { margin-top: .5rem; font-size: .8125rem; color: rgb(var(--gray-500)); text-align: center; }
.va-chat-row.is-static { cursor: default; }
.va-chat-row.is-static:hover { background: transparent; }

/* Chat realtime: online dot, «σε σύνδεση», «… γράφει» */
.va-chat-presence { position: relative; display: inline-flex; flex-shrink: 0; }
.va-chat-presence.is-online::after { content: ''; position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: .625rem; min-height: .625rem; border-radius: 9999px; background: rgb(var(--success-500)); box-shadow: 0 0 0 2px #fff; }
.dark .va-chat-presence.is-online::after { box-shadow: 0 0 0 2px rgb(var(--gray-900)); }
.va-chat-thread__sub.is-online { color: rgb(var(--success-600)); }
.dark .va-chat-thread__sub.is-online { color: rgb(var(--success-400)); }
.va-chat-typing { display: flex; align-items: center; gap: .5rem; padding: 0 1rem .25rem; font-size: .75rem; color: rgb(var(--gray-500)); }
.va-chat-typing__dots { display: inline-flex; gap: .1875rem; padding: .375rem .5rem; border-radius: 9999px; background: rgb(var(--gray-100)); }
.dark .va-chat-typing__dots { background: rgb(255 255 255 / .08); }
.va-chat-typing__dots i { width: .3125rem; height: .3125rem; border-radius: 9999px; background: rgb(var(--gray-400)); animation: va-chat-typing 1.2s infinite ease-in-out; }
.va-chat-typing__dots i:nth-child(2) { animation-delay: .15s; }
.va-chat-typing__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes va-chat-typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .va-chat-typing__dots i { animation: none; } }

/* Chat: super admin reading a conversation they are not part of */
.va-chat-row__observe { width: .875rem; height: .875rem; flex-shrink: 0; color: rgb(var(--gray-400)); }
.va-chat-observe { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(var(--gray-950), .06); font-size: .8125rem; color: rgb(var(--gray-500)); background: rgb(var(--gray-50)); }
.dark .va-chat-observe { border-color: rgb(255 255 255 / .08); background: rgb(255 255 255 / .03); }
.va-chat-reaction:disabled { cursor: default; }

/* Chat lists never grow sideways: a very long word in a name / last message is cut with «…». */
.va-chat-rows { grid-template-columns: minmax(0, 1fr); }
.va-chat-rows > li { min-width: 0; }
.va-chat-row { min-width: 0; max-width: 100%; }
.va-chat-list__scroll, .va-chat-info, .va-chat-messages { overflow-x: hidden; }
.va-chat-row__preview, .va-chat-row__title, .va-chat-thread__title, .va-chat-thread__sub { min-width: 0; max-width: 100%; }
.va-chat-thread__who { overflow: hidden; }
.va-chat-system, .va-chat-msg__author, .va-chat-file__name, .va-chat-card__title, .va-chat-card__sub { overflow-wrap: anywhere; }

/* Chat: push notifications on this device */
.va-push { padding: 0 .75rem; }
.va-push__bar { display: flex; align-items: center; gap: .5rem; margin: .25rem 0 .375rem; padding: .5rem .5rem .5rem .75rem; border-radius: .875rem; background: rgb(var(--primary-50)); font-size: .8125rem; color: rgb(var(--gray-700)); }
.dark .va-push__bar { background: rgba(var(--primary-500), .12); color: rgb(var(--gray-200)); }
.va-push__bar p { min-width: 0; flex: 1; line-height: 1.35; }
.va-push__icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; color: rgb(var(--primary-600)); }
.dark .va-push__icon { color: rgb(var(--primary-400)); }
.va-push__btn { flex-shrink: 0; padding: .375rem .75rem; border-radius: 9999px; background: rgb(var(--primary-600)); color: #fff; font-size: .8125rem; font-weight: 600; }
.va-push__btn:hover { background: rgb(var(--primary-700)); }
.va-push__btn:disabled { opacity: .6; }
.va-push__close { width: 1.75rem; height: 1.75rem; flex-shrink: 0; border-radius: 9999px; font-size: 1.125rem; line-height: 1; color: rgb(var(--gray-500)); }
.va-push__close:hover { background: rgba(var(--gray-200), .6); }
.va-push__note { margin: .25rem 0 .375rem; font-size: .75rem; color: rgb(var(--gray-500)); }
.va-push__on { position: relative; }
.va-push__toggle { display: inline-flex; align-items: center; gap: .375rem; margin: 0 0 .25rem .25rem; font-size: .75rem; font-weight: 500; color: rgb(var(--gray-500)); }
.va-push__toggle:hover { color: rgb(var(--primary-600)); }
.va-push__menu { left: 0; right: auto; top: 100%; }
.va-push__bar.is-stacked { flex-direction: column; align-items: stretch; gap: .5rem; padding: .625rem .75rem; }
.va-push__text { display: flex; align-items: flex-start; gap: .5rem; }
.va-push__text p { min-width: 0; flex: 1; line-height: 1.4; }
.va-push__actions { display: flex; justify-content: flex-end; gap: .375rem; }
.va-push__actions .va-push__btn { padding: .4375rem 1rem; }
.va-push__later { padding: .4375rem .75rem; border-radius: 9999px; font-size: .8125rem; font-weight: 500; color: rgb(var(--gray-600)); }
.va-push__later:hover { background: rgba(var(--gray-200), .6); }
.dark .va-push__later { color: rgb(var(--gray-300)); }
.dark .va-push__later:hover { background: rgb(255 255 255 / .08); }
/* Push prompt: everything centred (icon, text, buttons). */
.va-push__bar.is-stacked { align-items: center; text-align: center; padding: .75rem; }
.va-push__bar.is-stacked .va-push__text { flex-direction: column; align-items: center; gap: .375rem; }
.va-push__bar.is-stacked .va-push__icon { width: 1.375rem; height: 1.375rem; }
.va-push__bar.is-stacked .va-push__actions { justify-content: center; }

/* Chat: a message on its way (shown before the server answers) */
.va-chat-msg.is-pending .va-chat-bubble { opacity: .7; }

/* Chat: «Νέα μηνύματα» above the first unread message */
.va-chat-unread { display: flex; align-items: center; gap: .75rem; margin: .75rem 0 .25rem; font-size: .75rem; font-weight: 600; color: rgb(var(--primary-600)); }
.va-chat-unread::before, .va-chat-unread::after { content: ''; flex: 1; height: 1px; background: rgba(var(--primary-500), .35); }
.dark .va-chat-unread { color: rgb(var(--primary-400)); }
.va-chat-messages { position: relative; }

/* Chat messages anchored to the bottom (column-reverse): the browser opens at the last message and keeps the
   place when older messages load or images arrive. The real list is the inner element, in normal order. */
.va-chat-messages { flex-direction: column-reverse; gap: 0; overflow-anchor: none; }
.va-chat-messages__inner { display: flex; min-width: 0; flex-direction: column; gap: .125rem; }

/* Phones: the staff chat is full screen, so the floating AI button would sit on top of it (and on «Αποστολή»). */
@media (max-width: 767px) {
    body:has(.va-chat-pop) .ai-chatbot-dock,
    body:has(.va-chat--page) .ai-chatbot-dock { display: none !important; }
}

/* iPhone / iPad zoom into any text field under 16px when it gets focus: chat fields are 16px on touch screens. */
@media (pointer: coarse) {
    .va-chat .va-chat-composer__input,
    .va-chat .va-chat-edit textarea,
    .va-chat .va-chat-search input,
    .va-chat .va-chat-field,
    .va-chat .va-chat-linkpicker input,
    .va-day .va-day-add__input,
    .va-day .va-day-field input,
    .va-day .va-day-field select,
    .va-day .va-day-paper__area { font-size: 16px; }
}

/* Chat dictation (microphone) */
.va-chat-mic.is-recording { background: rgb(var(--danger-600)); color: #fff; animation: va-chat-mic 1.4s ease-in-out infinite; }
.va-chat-mic.is-recording:hover { background: rgb(var(--danger-700)); }
@keyframes va-chat-mic { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--danger-500), .45); } 50% { box-shadow: 0 0 0 .4rem rgba(var(--danger-500), 0); } }
.va-chat-listening { font-size: .75rem; color: rgb(var(--danger-600)); }
.dark .va-chat-listening { color: rgb(var(--danger-400)); }
@media (prefers-reduced-motion: reduce) { .va-chat-mic.is-recording { animation: none; } }

/* Chat voice messages: player in the bubble, recording bar in the composer */
.va-chat-voice { display: flex; min-width: 12rem; align-items: center; gap: .5rem; }
.va-chat-voice audio { display: none; }
.va-chat-voice__play { display: inline-flex; width: 2.125rem; height: 2.125rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; background: rgb(var(--primary-600)); color: #fff; }
.va-chat-msg.is-mine .va-chat-voice__play { background: #fff; color: rgb(var(--primary-700)); }
.va-chat-voice__svg { width: 1rem; height: 1rem; }
.va-chat-voice__bar { position: relative; flex: 1; height: .375rem; border-radius: 9999px; background: rgb(0 0 0 / .12); cursor: pointer; overflow: hidden; }
.va-chat-msg.is-mine .va-chat-voice__bar { background: rgb(255 255 255 / .35); }
.dark .va-chat-voice__bar { background: rgb(255 255 255 / .18); }
.va-chat-voice__bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: rgb(var(--primary-600)); transition: width .1s linear; }
.va-chat-msg.is-mine .va-chat-voice__bar i { background: #fff; }
.va-chat-voice__time { min-width: 2.25rem; text-align: right; font-size: .75rem; font-variant-numeric: tabular-nums; opacity: .85; }
.va-chat-rec { display: flex; align-items: center; gap: .5rem; padding: .125rem 0; }
.va-chat-rec__dot { width: .625rem; height: .625rem; flex-shrink: 0; border-radius: 9999px; background: rgb(var(--danger-600)); animation: va-chat-rec 1s ease-in-out infinite; }
@keyframes va-chat-rec { 50% { opacity: .25; } }
.va-chat-rec__time { font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.va-chat-rec__label { flex: 1; font-size: .8125rem; color: rgb(var(--gray-500)); }
.va-chat-rec .va-chat-send { margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .va-chat-rec__dot { animation: none; } }

/* Chat popover: a clear shadow in light mode too (it was barely visible on white). */
.va-chat-pop { box-shadow: 0 24px 64px rgb(0 0 0 / .26), 0 8px 24px rgb(0 0 0 / .14), 0 0 0 1px rgba(var(--gray-950), .08); }
.dark .va-chat-pop { box-shadow: 0 24px 64px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .1); }

/* Chat in light mode: soft grey canvas behind the messages, white bubbles with a fine shadow for the others
   (they disappeared on the white popover); own bubbles stay green. Dark mode unchanged (:not(.dark)). */
:root:not(.dark) .va-chat-messages { background: rgb(var(--gray-100)); }
:root:not(.dark) .va-chat-msg:not(.is-mine):not(.is-deleted) .va-chat-bubble { background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 0 0 1px rgba(var(--gray-950), .05); }
:root:not(.dark) .va-chat-msg.is-mine .va-chat-bubble { box-shadow: 0 1px 2px rgb(0 0 0 / .1); }
:root:not(.dark) .va-chat-msg.is-deleted .va-chat-bubble { background: rgb(255 255 255 / .6); }
:root:not(.dark) .va-chat-msg:not(.is-mine) .va-chat-file,
:root:not(.dark) .va-chat-msg:not(.is-mine) .va-chat-card,
:root:not(.dark) .va-chat-msg:not(.is-mine) .va-chat-quote { background: rgb(var(--gray-100)); }
:root:not(.dark) .va-chat-day span { padding: .1875rem .625rem; border-radius: 9999px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
:root:not(.dark) .va-chat-unread span { padding: .1875rem .625rem; border-radius: 9999px; background: #fff; }
:root:not(.dark) .va-chat-typing__dots { background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
:root:not(.dark) .va-chat-older button { background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
:root:not(.dark) .va-chat-typing { background: rgb(var(--gray-100)); padding-top: .25rem; }
:root:not(.dark) .va-chat-thread__head, :root:not(.dark) .va-chat-composer, :root:not(.dark) .va-chat-observe { background: #fff; position: relative; z-index: 1; }

/* Popover a bit wider, compact header tools so the title has room. */
@media (min-width: 768px) { .va-chat-pop { width: 26rem; } } /* phones: full screen (100vw) */
.va-chat-thread__tools .va-chat-iconbtn { width: 2rem; height: 2rem; }
.va-chat-thread__tools .va-chat-iconbtn__svg { width: 1.125rem; height: 1.125rem; }
.va-chat-thread__head { gap: .5rem; padding: .5rem .5rem .5rem .375rem; }
/* The full chat page has its own composer at the bottom right: no floating AI button over it. */
body:has(.va-chat--page) .ai-chatbot-dock { display: none !important; }

/* Chat: search inside a conversation */
.va-chat-find { position: relative; z-index: 3; padding: .25rem 0 .375rem; border-bottom: 1px solid rgba(var(--gray-950), .06); background: #fff; }
.dark .va-chat-find { background: rgb(var(--gray-900)); border-color: rgba(255, 255, 255, .08); }
.va-chat-find__results { position: absolute; top: 100%; left: 0; right: 0; max-height: min(22rem, 55vh); overflow-y: auto; padding: .25rem; background: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .14), 0 0 0 1px rgba(var(--gray-950), .06); border-radius: 0 0 .875rem .875rem; }
.dark .va-chat-find__results { background: rgb(var(--gray-800)); box-shadow: 0 12px 28px rgba(0, 0, 0, .5); }
.va-chat-find__hit { display: flex; width: 100%; flex-direction: column; gap: .125rem; padding: .5rem .625rem; border-radius: .625rem; text-align: left; }
.va-chat-find__hit:hover, .va-chat-find__hit:focus-visible { background: rgb(var(--gray-100)); outline: none; }
.dark .va-chat-find__hit:hover, .dark .va-chat-find__hit:focus-visible { background: rgba(255, 255, 255, .07); }
.va-chat-find__meta { font-size: .75rem; color: rgb(var(--gray-500)); }
.va-chat-find__meta b { font-weight: 600; color: rgb(var(--gray-700)); }
.dark .va-chat-find__meta b { color: rgb(var(--gray-200)); }
.va-chat-find__text { font-size: .875rem; overflow-wrap: anywhere; }
.va-chat-find__text mark, .va-chat-find__hit mark { padding: 0 .125rem; border-radius: .25rem; background: rgba(var(--warning-400), .45); color: inherit; }
.va-chat-find__empty { padding: .75rem; font-size: .8125rem; text-align: center; color: rgb(var(--gray-500)); }
/* the found message flashes */
.va-chat-msg.is-highlight .va-chat-bubble { animation: va-chat-found 2.4s ease-out 1; }
@keyframes va-chat-found { 0%, 35% { box-shadow: 0 0 0 3px rgba(var(--warning-400), .9); } 100% { box-shadow: 0 0 0 3px rgba(var(--warning-400), 0); } }
@media (prefers-reduced-motion: reduce) { .va-chat-msg.is-highlight .va-chat-bubble { animation: none; box-shadow: 0 0 0 3px rgba(var(--warning-400), .9); } }

/* ---- «Ροή ασθενών» (PatientFlowBoard). Column colour = --va-flow-color, tints with color-mix so light and dark both read.
   Columns side by side from 768px (horizontal scroll), stacked on phones. ---- */
.va-flow-board { display: flex; flex-direction: column; gap: 1rem; }

/* Top: numbers of the day + filters */
.va-flow-top { display: flex; flex-direction: column; gap: .75rem; }
.va-flow-stats { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .va-flow-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.va-flow-stat { --tone: var(--gray-500); display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .75rem .875rem; border-radius: .875rem; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 0 0 1px rgb(var(--gray-950) / .06); }
.dark .va-flow-stat { background: rgb(var(--gray-900)); box-shadow: 0 0 0 1px rgb(255 255 255 / .08); }
.va-flow-stat.is-warning { --tone: var(--warning-500); }
.va-flow-stat.is-info { --tone: var(--info-500); }
.va-flow-stat.is-primary { --tone: var(--primary-500); }
.va-flow-stat.is-success { --tone: var(--success-500); }
.va-flow-stat__icon { display: inline-flex; flex-shrink: 0; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: .625rem; background: rgb(var(--tone) / .12); color: rgb(var(--tone)); }
.va-flow-stat__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.va-flow-stat__label { font-size: .75rem; font-weight: 500; color: rgb(var(--gray-500)); }
.va-flow-stat__value { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; color: rgb(var(--gray-950)); font-variant-numeric: tabular-nums; }
.va-flow-stat__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .6875rem; color: rgb(var(--gray-400)); }
.dark .va-flow-stat__label { color: rgb(var(--gray-400)); }
.dark .va-flow-stat__value { color: #fff; }
.dark .va-flow-stat__sub { color: rgb(var(--gray-500)); }

.va-flow-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; }
.va-flow-select-wrap { position: relative; display: inline-flex; align-items: center; }
.va-flow-select-icon { position: absolute; inset-inline-start: .625rem; pointer-events: none; color: rgb(var(--gray-400)); }
.va-flow-select { min-width: 13rem; height: 2.25rem; border-radius: .625rem; border: 0; padding: 0 2rem 0 2rem; font-size: .8125rem; font-weight: 500; background-color: #fff; color: rgb(var(--gray-800)); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 0 0 1px rgb(var(--gray-950) / .1); }
.dark .va-flow-select { background-color: rgb(var(--gray-900)); color: rgb(var(--gray-100)); box-shadow: 0 0 0 1px rgb(255 255 255 / .12); }

/* Columns */
.va-flow-columns { display: grid; gap: .875rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
    /* The working columns share the width (no horizontal scroll on a desktop); scroll only below their minimum. */
    /* No overflow here (the columns fit): it would clip the ▾ menus of the cards. */
    .va-flow-columns { display: flex; align-items: stretch; padding-bottom: .5rem; }
    /* Columns with patients take more of the width, empty ones less (they stay drop zones). */
    .va-flow-columns { gap: .625rem; }
    .va-flow-columns > .va-flow-col { flex: 1 1 0; min-width: 7rem; }
    .va-flow-columns > .va-flow-col:has(.va-flow-card) { flex-grow: 1.7; min-width: 10rem; }
}
.va-flow-col { container-type: inline-size; }
.va-flow-col { display: flex; flex-direction: column; min-width: 0; border-radius: 1rem; background: color-mix(in srgb, var(--va-flow-color) 6%, rgb(var(--gray-50))); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--va-flow-color) 14%, transparent); }
.dark .va-flow-col { background: color-mix(in srgb, var(--va-flow-color) 7%, rgb(var(--gray-950))); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.va-flow-col__head { display: flex; align-items: center; gap: .5rem; padding: .75rem .875rem .625rem; }
.va-flow-col__dot { width: .625rem; height: .625rem; flex-shrink: 0; border-radius: 999px; background: var(--va-flow-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--va-flow-color) 22%, transparent); }
.va-flow-col__name { flex: 1; min-width: 0; overflow-wrap: break-word; line-height: 1.25; font-size: .8125rem; font-weight: 600; letter-spacing: .01em; color: rgb(var(--gray-800)); }
.dark .va-flow-col__name { color: rgb(var(--gray-100)); }
.va-flow-col__limit { display: inline-flex; align-items: center; gap: .125rem; font-size: .6875rem; font-weight: 500; color: rgb(var(--gray-400)); }
.va-flow-col__count { min-width: 1.5rem; padding: 0 .45rem; border-radius: 999px; text-align: center; font-size: .75rem; font-weight: 700; line-height: 1.375rem; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--va-flow-color) 75%, #000); background: color-mix(in srgb, var(--va-flow-color) 16%, #fff); }
.dark .va-flow-col__count { color: color-mix(in srgb, var(--va-flow-color) 60%, #fff); background: color-mix(in srgb, var(--va-flow-color) 22%, transparent); }
.va-flow-list { display: flex; flex: 1; flex-direction: column; gap: .5rem; min-height: 5rem; padding: 0 .5rem .625rem; }
.va-flow-col__empty { display: flex; flex: 1; min-height: 4.5rem; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; border: 1.5px dashed color-mix(in srgb, var(--va-flow-color) 30%, rgb(var(--gray-300))); border-radius: .75rem; font-size: .75rem; color: rgb(var(--gray-400)); }
.dark .va-flow-col__empty { border-color: rgb(255 255 255 / .1); color: rgb(var(--gray-500)); }
.va-flow-list:has(.va-flow-card) > .va-flow-col__empty { display: none; }

/* Cards */
.va-flow-card { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: .75rem; border-radius: .875rem; background: #fff; font-size: .8125rem; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 0 0 1px rgb(var(--gray-950) / .06); transition: box-shadow .15s; }
.va-flow-card::before { content: ""; position: absolute; inset-block: .75rem; inset-inline-start: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--va-flow-color); }
.va-flow-card.is-draggable { cursor: grab; }
.va-flow-card.is-draggable:hover { box-shadow: 0 4px 12px rgb(0 0 0 / .08), 0 0 0 1px rgb(var(--gray-950) / .08); }
.dark .va-flow-card { background: rgb(var(--gray-900)); box-shadow: 0 0 0 1px rgb(255 255 255 / .08); }
.dark .va-flow-card.is-draggable:hover { box-shadow: 0 6px 16px rgb(0 0 0 / .4), 0 0 0 1px rgb(255 255 255 / .14); }
.va-flow-card.is-urgent { box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 0 0 1.5px rgb(var(--danger-500) / .55); }
.va-flow-card.is-urgent::before { background: rgb(var(--danger-500)); width: 4px; }
.dark .va-flow-card.is-urgent { box-shadow: 0 0 0 1.5px rgb(var(--danger-500) / .6); }
.va-flow-ghost { opacity: .35; }

.va-flow-card__head { display: flex; align-items: flex-start; gap: .625rem; }
.va-flow-avatar { display: inline-flex; flex-shrink: 0; width: 2.125rem; height: 2.125rem; align-items: center; justify-content: center; border-radius: .625rem; color: color-mix(in srgb, var(--va-flow-color) 80%, #000); background: color-mix(in srgb, var(--va-flow-color) 14%, #fff); }
.dark .va-flow-avatar { color: color-mix(in srgb, var(--va-flow-color) 65%, #fff); background: color-mix(in srgb, var(--va-flow-color) 20%, transparent); }
.va-flow-card__who { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.25; }
.va-flow-card__pet { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; font-size: .9375rem; font-weight: 650; color: rgb(var(--gray-950)); }
.va-flow-card__pet a:hover { color: rgb(var(--primary-600)); text-decoration: underline; text-underline-offset: 2px; }
.dark .va-flow-card__pet { color: #fff; }
.dark .va-flow-card__pet a:hover { color: rgb(var(--primary-400)); }
.va-flow-card__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; color: rgb(var(--gray-500)); }
.dark .va-flow-card__sub { color: rgb(var(--gray-400)); }
.va-flow-card__reason { font-size: .8125rem; font-weight: 500; line-height: 1.35; color: rgb(var(--gray-700)); }
.dark .va-flow-card__reason { color: rgb(var(--gray-200)); }
.va-flow-urgent { padding: .0625rem .375rem; border-radius: .375rem; font-size: .625rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgb(var(--danger-600)); }
.va-flow-time { display: inline-flex; align-items: baseline; gap: .25rem; flex-shrink: 0; white-space: nowrap; padding: .125rem .5rem; border-radius: .5rem; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; color: rgb(var(--gray-700)); background: rgb(var(--gray-100)); }
.va-flow-time.is-late { color: rgb(var(--danger-700)); background: rgb(var(--danger-50)); }
.dark .va-flow-time { color: rgb(var(--gray-200)); background: rgb(255 255 255 / .07); }
.dark .va-flow-time.is-late { color: rgb(var(--danger-300)); background: rgb(var(--danger-500) / .15); }
.va-flow-time__late { font-size: .6875rem; font-weight: 600; }
/* Appointment cards: «11:15 +4 ώ 32′ · Google Calendar» under the name, so the name gets the whole width. */
.va-flow-card.is-appointment .va-flow-card__sub { display: flex; align-items: center; gap: .375rem; margin-top: .125rem; }
.va-flow-when { display: inline-flex; flex-shrink: 0; align-items: center; gap: .1875rem; font-weight: 700; font-variant-numeric: tabular-nums; color: rgb(var(--gray-700)); }
.dark .va-flow-when { color: rgb(var(--gray-200)); }
.va-flow-when.is-late { color: rgb(var(--danger-600)); }
.dark .va-flow-when.is-late { color: rgb(var(--danger-400)); }
.va-flow-when__late { margin-inline-start: .25rem; padding: 0 .3125rem; border-radius: .3125rem; font-size: .6875rem; font-weight: 600; line-height: 1.1rem; color: rgb(var(--danger-700)); background: rgb(var(--danger-50)); }
.dark .va-flow-when__late { color: rgb(var(--danger-300)); background: rgb(var(--danger-500) / .15); }
.va-flow-card__from { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.va-flow-card__from::before { content: "·"; margin-inline-end: .375rem; color: rgb(var(--gray-300)); }
.dark .va-flow-card__from::before { color: rgb(var(--gray-600)); }

.va-flow-warn, .va-flow-note { display: flex; align-items: flex-start; gap: .375rem; padding: .375rem .5rem; border-radius: .5rem; font-size: .75rem; line-height: 1.35; }
.va-flow-warn { color: rgb(var(--warning-800)); background: rgb(var(--warning-50)); }
.dark .va-flow-warn { color: rgb(var(--warning-300)); background: rgb(var(--warning-500) / .12); }
.va-flow-warn.is-danger { color: rgb(var(--danger-800)); background: rgb(var(--danger-50)); }
.dark .va-flow-warn.is-danger { color: rgb(var(--danger-300)); background: rgb(var(--danger-500) / .12); }
.va-flow-note { color: rgb(var(--gray-600)); background: rgb(var(--gray-50)); }
/* Google Calendar appointments: calendar avatar, the guessed pet, or a hint to link it. */
.va-flow-avatar.is-google { background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 0 0 1px rgb(var(--gray-950) / .06); }
.dark .va-flow-avatar.is-google { background: rgb(255 255 255 / .92); box-shadow: none; }
.va-flow-gcal { width: 1.625rem; height: 1.625rem; }
.va-flow-suggest { display: flex; align-items: flex-start; gap: .375rem; padding: .375rem .5rem; border-radius: .5rem; font-size: .75rem; line-height: 1.35; color: rgb(var(--primary-800)); background: rgb(var(--primary-50)); }
.va-flow-suggest strong { font-weight: 650; }
/* «Πρόταση AI»: a small pill, then pet · owner on one line (full text in the tooltip). */
.va-flow-suggest.is-ai { align-items: center; gap: .5rem; padding: .375rem .5rem .375rem .375rem; }
.va-flow-ai { display: inline-flex; flex-shrink: 0; align-items: center; gap: .125rem; padding: .0625rem .3125rem; border-radius: .375rem; font-size: .625rem; font-weight: 800; letter-spacing: .04em; line-height: 1.1rem; color: #fff; background: linear-gradient(135deg, rgb(var(--primary-400)), rgb(var(--primary-700))); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 1px 2px rgb(var(--primary-900) / .2); }
.va-flow-suggest__text { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: .0625rem; line-height: 1.3; }
.va-flow-suggest__pet { display: flex; align-items: center; gap: .25rem; overflow-wrap: anywhere; }
.va-flow-suggest__owner { font-size: .6875rem; overflow-wrap: anywhere; opacity: .85; }
.va-flow-suggest__phone { display: inline-flex; align-self: flex-start; align-items: center; gap: .25rem; font-size: .6875rem; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .9; }
.va-flow-suggest__phone:hover { text-decoration: underline; text-underline-offset: 2px; opacity: 1; }
.va-flow-suggest__mismatch { display: inline-flex; align-self: flex-start; align-items: center; gap: .25rem; margin-top: .125rem; padding: .0625rem .375rem; border-radius: .375rem; font-size: .6875rem; font-weight: 600; color: rgb(var(--warning-800)); background: rgb(var(--warning-100)); }
.va-flow-suggest__mismatch a { font-variant-numeric: tabular-nums; text-decoration: underline; text-underline-offset: 2px; }
.dark .va-flow-suggest__mismatch { color: rgb(var(--warning-300)); background: rgb(var(--warning-500) / .18); }
.dark .va-flow-suggest { color: rgb(var(--primary-300)); background: rgb(var(--primary-500) / .12); }
.va-flow-suggest.is-none { color: rgb(var(--gray-500)); background: transparent; padding: 0; }
.dark .va-flow-suggest.is-none { color: rgb(var(--gray-400)); }
.va-flow-suggest.is-link { width: 100%; text-align: start; font-weight: 600; transition: background-color .15s; }
.va-flow-suggest.is-link:hover { background: rgb(var(--primary-100)); }
.dark .va-flow-suggest.is-link:hover { background: rgb(var(--primary-500) / .2); }
/* The Google event's description, as written there. */
.va-flow-gnote { display: flex; align-items: flex-start; gap: .375rem; padding: .375rem .5rem; border-radius: .5rem; font-size: .75rem; line-height: 1.4; color: rgb(var(--gray-700)); background: rgb(var(--info-50)); box-shadow: inset 2px 0 0 rgb(var(--info-400)); }
.va-flow-gnote span { overflow-wrap: anywhere; }
.dark .va-flow-gnote { color: rgb(var(--gray-200)); background: rgb(var(--info-500) / .1); box-shadow: inset 2px 0 0 rgb(var(--info-500) / .6); }
.va-flow-gnote.is-modal { display: block; margin-top: .625rem; white-space: pre-line; text-align: start; }
.va-flow-linkbtn { font-weight: 600; color: rgb(var(--primary-600)); text-decoration: underline; text-underline-offset: 2px; }
.dark .va-flow-linkbtn { color: rgb(var(--primary-400)); }
.dark .va-flow-note { color: rgb(var(--gray-300)); background: rgb(255 255 255 / .05); }

.va-flow-chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.va-flow-chip { display: inline-flex; align-items: center; gap: .25rem; max-width: 100%; padding: .1875rem .5rem; border-radius: 999px; font-size: .71875rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; color: rgb(var(--gray-700)); background: rgb(var(--gray-100)); }
.dark .va-flow-chip { color: rgb(var(--gray-200)); background: rgb(255 255 255 / .07); }
button.va-flow-chip:hover, a.va-flow-chip:hover { background: rgb(var(--gray-200)); }
.dark button.va-flow-chip:hover, .dark a.va-flow-chip:hover { background: rgb(255 255 255 / .12); }
.va-flow-chip.is-room.is-empty { color: rgb(var(--gray-400)); background: transparent; box-shadow: inset 0 0 0 1px rgb(var(--gray-200)); font-weight: 500; }
.dark .va-flow-chip.is-room.is-empty { color: rgb(var(--gray-500)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.va-flow-chip.is-danger { color: rgb(var(--danger-700)); background: rgb(var(--danger-50)); }
.dark .va-flow-chip.is-danger { color: rgb(var(--danger-300)); background: rgb(var(--danger-500) / .15); }
.va-flow-chip.is-success { color: rgb(var(--success-700)); background: rgb(var(--success-50)); }
.dark .va-flow-chip.is-success { color: rgb(var(--success-300)); background: rgb(var(--success-500) / .15); }
.va-flow-card.is-alert .va-flow-chip.is-timer { color: #fff; background: rgb(var(--danger-600)); }

.va-flow-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .5rem; border-top: 1px solid rgb(var(--gray-100)); font-size: .75rem; color: rgb(var(--gray-500)); }
.dark .va-flow-card__foot { border-top-color: rgb(255 255 255 / .06); color: rgb(var(--gray-400)); }
.va-flow-vet { display: inline-flex; align-items: center; gap: .375rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: rgb(var(--gray-700)); }
.dark .va-flow-vet { color: rgb(var(--gray-200)); }
.va-flow-initials { display: inline-flex; flex-shrink: 0; width: 1.375rem; height: 1.375rem; align-items: center; justify-content: center; border-radius: 999px; font-size: .625rem; font-weight: 700; color: rgb(var(--primary-700)); background: rgb(var(--primary-50)); }
.dark .va-flow-initials { color: rgb(var(--primary-300)); background: rgb(var(--primary-500) / .18); }
.va-flow-initials.is-empty { color: rgb(var(--gray-400)); background: rgb(var(--gray-100)); }
.dark .va-flow-initials.is-empty { color: rgb(var(--gray-500)); background: rgb(255 255 255 / .06); }
.va-flow-since { flex-shrink: 0; font-variant-numeric: tabular-nums; }

.va-flow-card__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .375rem; }

.va-flow-btn { display: inline-flex; align-items: center; gap: .375rem; height: 2rem; padding: 0 .75rem; border-radius: .625rem; font-size: .75rem; font-weight: 600; color: rgb(var(--gray-700)); background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 0 0 1px rgb(var(--gray-950) / .1); transition: background-color .15s, color .15s; }
.va-flow-btn:hover { background: rgb(var(--gray-50)); }
.dark .va-flow-btn { color: rgb(var(--gray-200)); background: rgb(255 255 255 / .05); box-shadow: 0 0 0 1px rgb(255 255 255 / .12); }
.dark .va-flow-btn:hover { background: rgb(255 255 255 / .1); }
.va-flow-btn.is-ghost { box-shadow: none; background: transparent; color: rgb(var(--gray-500)); }
.va-flow-btn.is-ghost:hover { color: rgb(var(--gray-800)); background: rgb(var(--gray-100)); }
.dark .va-flow-btn.is-ghost { background: transparent; box-shadow: none; color: rgb(var(--gray-400)); }
.dark .va-flow-btn.is-ghost:hover { color: rgb(var(--gray-100)); background: rgb(255 255 255 / .07); }
.va-flow-btn.is-primary, .va-flow-btn.is-success { color: #fff; box-shadow: none; }
.va-flow-btn.is-primary { background: rgb(var(--primary-600)); }
.va-flow-btn.is-primary:hover { background: rgb(var(--primary-500)); }
.va-flow-btn.is-success { background: rgb(var(--success-600)); }
.va-flow-btn.is-success:hover { background: rgb(var(--success-500)); }
.dark .va-flow-btn.is-primary { background: rgb(var(--primary-500)); }
.dark .va-flow-btn.is-primary:hover { background: rgb(var(--primary-400)); }
.dark .va-flow-btn.is-success { background: rgb(var(--success-600)); }
.va-flow-btn:disabled { opacity: .6; }
/* Next step + ▾ other columns, as one button. */
.va-flow-split { display: inline-flex; align-items: stretch; border-radius: .625rem; }
.va-flow-split__main { border-start-end-radius: 0; border-end-end-radius: 0; }
.va-flow-split__more { width: 1.875rem; padding: 0; justify-content: center; border-start-start-radius: 0; border-end-start-radius: 0; box-shadow: inset 1px 0 0 rgb(255 255 255 / .25) !important; }
/* ▾ / ⋯ open a Filament dropdown; inside the split its wrapper stretches so ▾ keeps the main button's height. */
.va-flow-split__more, .va-flow-arrival__more { position: relative; cursor: pointer; }
.va-flow-split > .fi-dropdown, .va-flow-split > .fi-dropdown > .fi-dropdown-trigger { display: flex; }
/* A card's menu panel stays inside the card and a column (container-type) is a stacking context: raise the column while its menu
   is open, or the next column covers it. Cards don't lift with transform on hover: it would move the open panel. */
.va-flow-col:has(.fi-dropdown-panel:not([style*="display: none"])) { position: relative; z-index: 20; }
.va-flow-move { display: inline-flex; align-items: center; gap: .5rem; }
.va-flow-move__dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--va-f); box-shadow: 0 0 0 2px color-mix(in srgb, var(--va-f) 25%, transparent); }
.va-flow-btn.is-icon { width: 2rem; padding: 0; justify-content: center; }
/* Icon buttons (info, hide) sit on the left of the card's actions, the others on the right. */
.va-flow-btn.is-icon.is-tight { margin-inline-start: -.25rem; margin-inline-end: auto; }
.va-flow-btn.is-icon.is-first:not(:has(+ .is-tight)) { margin-inline-end: auto; }
.va-flow-card__pet.is-button { text-align: start; cursor: pointer; }
.va-flow-card__pet.is-button:hover { color: rgb(var(--primary-600)); text-decoration: underline; text-underline-offset: 2px; }
.dark .va-flow-card__pet.is-button:hover { color: rgb(var(--primary-400)); }
/* «Πληροφορίες ραντεβού» modal */
.va-appt-info { display: grid; gap: .875rem; }
.va-appt-info__title { padding: .75rem .875rem; border-radius: .75rem; font-size: .9375rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; color: rgb(var(--gray-950)); background: rgb(var(--gray-50)); box-shadow: inset 0 0 0 1px rgb(var(--gray-950) / .06); }
.dark .va-appt-info__title { color: #fff; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.va-appt-info dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1rem; font-size: .8125rem; }
.va-appt-info dt { color: rgb(var(--gray-500)); }
.va-appt-info dd { color: rgb(var(--gray-900)); overflow-wrap: anywhere; }
.dark .va-appt-info dt { color: rgb(var(--gray-400)); }
.dark .va-appt-info dd { color: rgb(var(--gray-100)); }
.va-appt-info__desc { white-space: pre-line; }
.va-appt-info a { color: rgb(var(--primary-600)); text-decoration: underline; text-underline-offset: 2px; }
.dark .va-appt-info a { color: rgb(var(--primary-400)); }
.va-flow-btn:focus-visible, .va-flow-chip:focus-visible, .va-flow-select:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 2px; }

/* Card modal history and «Ολοκληρώθηκαν σήμερα» */
.va-flow-timeline { margin-top: 1rem; }
.va-flow-timeline h4 { margin-bottom: .5rem; font-weight: 600; font-size: .875rem; }
.va-flow-timeline ol { display: flex; flex-direction: column; gap: .375rem; font-size: .8125rem; }
.va-flow-dot { display: inline-block; width: .625rem; height: .625rem; margin-right: .375rem; border-radius: 999px; }
.va-flow-muted { color: rgb(var(--gray-500)); font-size: .75rem; }
.dark .va-flow-muted { color: rgb(var(--gray-400)); }
.va-flow-closed { display: flex; flex-direction: column; gap: .5rem; }
.va-flow-closed-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem .75rem; border-radius: .5rem; background: rgb(var(--gray-50)); font-size: .875rem; }
.dark .va-flow-closed-row { background: rgb(255 255 255 / .05); }
.va-flow-empty { padding: .75rem; text-align: center; font-size: .75rem; color: rgb(var(--gray-500)); }
/* «Αφίξεις σήμερα»: today's appointments as a strip over the columns; only the strip scrolls sideways. */
.va-flow-stat[role=button] { cursor: pointer; }
.va-flow-stat[role=button]:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 2px; }
.va-flow-strip { display: flex; flex-direction: column; gap: .5rem; padding: .5rem .5rem .625rem; border-radius: 1rem; background: rgb(var(--gray-100) / .7); box-shadow: inset 0 0 0 1px rgb(var(--gray-950) / .05), rgba(0, 0, 0, .06) 0 2px 4px 0; scroll-margin-top: 5rem; }
.dark .va-flow-strip { background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06), rgba(0, 0, 0, .25) 0 2px 6px 0; }
.va-flow-strip.is-folded { padding-bottom: .5rem; }
.va-flow-strip__head { display: flex; align-items: center; padding: 0 .25rem; }
.va-flow-strip__title { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .375rem; margin-inline-start: -.125rem; border-radius: .5rem; font-size: .8125rem; font-weight: 600; color: rgb(var(--gray-800)); }
.va-flow-strip__title:hover { background: rgb(var(--gray-200) / .6); }
.dark .va-flow-strip__title { color: rgb(var(--gray-100)); }
.dark .va-flow-strip__title:hover { background: rgb(255 255 255 / .06); }
.va-flow-strip__count { min-width: 1.375rem; padding: 0 .4rem; border-radius: 999px; text-align: center; font-size: .6875rem; font-weight: 700; line-height: 1.25rem; color: rgb(var(--gray-700)); background: #fff; box-shadow: 0 0 0 1px rgb(var(--gray-950) / .08); }
.dark .va-flow-strip__count { color: rgb(var(--gray-200)); background: rgb(255 255 255 / .08); box-shadow: none; }
.va-flow-strip__late { padding: 0 .4375rem; border-radius: .375rem; font-size: .6875rem; font-weight: 600; line-height: 1.25rem; color: rgb(var(--danger-700)); background: rgb(var(--danger-50)); }
.dark .va-flow-strip__late { color: rgb(var(--danger-300)); background: rgb(var(--danger-500) / .15); }
.va-flow-strip__chevron { color: rgb(var(--gray-400)); transition: transform .15s; }
.va-flow-strip.is-folded .va-flow-strip__chevron { transform: rotate(-90deg); }
.va-flow-strip__row { display: flex; gap: .625rem; overflow-x: auto; padding: .25rem .25rem .5rem; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgb(var(--gray-300)) transparent;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 .75rem, #000 calc(100% - 1.5rem), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 .75rem, #000 calc(100% - 1.5rem), transparent 100%); }
/* The edge fade masks everything inside, also the fixed ⋯ menu: off while a menu of the strip is open. */
.va-flow-strip__row:has(.fi-dropdown-panel[style*="display: block"]) { -webkit-mask-image: none; mask-image: none; }
.va-flow-strip__empty { display: flex; align-items: center; gap: .5rem; padding: .375rem .5rem; font-size: .8125rem; color: rgb(var(--gray-500)); }
.va-flow-strip__now { position: relative; flex: 0 0 auto; width: 2px; margin: 0 .25rem; border-radius: 2px; background: rgb(var(--primary-500)); scroll-snap-align: start; }
.va-flow-strip__now::before { content: ""; position: absolute; top: -.125rem; left: 50%; width: .5rem; height: .5rem; border-radius: 999px; transform: translateX(-50%); background: rgb(var(--primary-500)); box-shadow: 0 0 0 3px rgb(var(--primary-500) / .2); }
.va-flow-strip__now span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; padding: .0625rem .375rem; border-radius: .375rem; font-size: .625rem; font-weight: 700; letter-spacing: .02em; color: #fff; background: rgb(var(--primary-600)); }

.va-flow-arrival { --va-flow-color: rgb(var(--gray-400)); position: relative; display: flex; flex: 0 0 14rem; width: 14rem; min-width: 0; max-width: 14rem; flex-direction: column; gap: .4375rem; padding: .625rem .625rem .625rem .75rem; border-radius: .875rem; scroll-snap-align: start;
    background: linear-gradient(135deg, #fff, rgb(var(--gray-50))); box-shadow: 0 2px 10px rgba(var(--gray-950), .07), inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1px rgb(var(--gray-950) / .04); transition: box-shadow .15s, transform .15s; }
/* No transform on hover: it would make the card the frame of the fixed ⋯ menu, clipped by the strip scroll. */
.va-flow-arrival:hover { box-shadow: 0 6px 16px rgba(var(--gray-950), .12), inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1px rgb(var(--gray-950) / .05); }
.dark .va-flow-arrival { background: linear-gradient(135deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03)), rgb(var(--gray-900)); box-shadow: 0 2px 10px rgb(0 0 0 / .25), inset 0 1px 0 rgb(255 255 255 / .1); }
.va-flow-arrival::before { content: ""; position: absolute; inset-block: .75rem; inset-inline-start: 0; width: 3px; border-radius: 0 3px 3px 0; background: rgb(var(--gray-300)); }
.va-flow-arrival.is-late::before { background: rgb(var(--danger-500)); }
.dark .va-flow-arrival::before { background: rgb(255 255 255 / .15); }
.dark .va-flow-arrival.is-late::before { background: rgb(var(--danger-500)); }
.va-flow-arrival__top { display: flex; align-items: center; gap: .375rem; }
.va-flow-arrival__time { font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; color: rgb(var(--gray-900)); }
.dark .va-flow-arrival__time { color: #fff; }
.va-flow-arrival.is-late .va-flow-arrival__time { color: rgb(var(--danger-600)); }
.dark .va-flow-arrival.is-late .va-flow-arrival__time { color: rgb(var(--danger-400)); }
.va-flow-arrival__late { padding: 0 .3125rem; border-radius: .3125rem; font-size: .6875rem; font-weight: 600; line-height: 1.1rem; color: rgb(var(--danger-700)); background: rgb(var(--danger-50)); }
.dark .va-flow-arrival__late { color: rgb(var(--danger-300)); background: rgb(var(--danger-500) / .15); }
.va-flow-arrival__top > :last-child { margin-inline-start: auto; }
.va-flow-arrival__more { display: inline-flex; width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center; border-radius: .5rem; color: rgb(var(--gray-400)); }
.va-flow-arrival__more:hover { color: rgb(var(--gray-700)); background: rgb(var(--gray-100)); }
.dark .va-flow-arrival__more:hover { color: rgb(var(--gray-100)); background: rgb(255 255 255 / .08); }
.va-flow-arrival__who { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.va-flow-arrival__who > .va-flow-arrival__name { flex: 1; min-width: 0; }
.va-flow-arrival > * { min-width: 0; }
.va-flow-arrival__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: start; font-size: .875rem; font-weight: 650; line-height: 1.25; color: rgb(var(--gray-950)); overflow-wrap: anywhere; }
.va-flow-arrival__name:hover { color: rgb(var(--primary-600)); text-decoration: underline; text-underline-offset: 2px; }
.dark .va-flow-arrival__name { color: #fff; }
.dark .va-flow-arrival__name:hover { color: rgb(var(--primary-400)); }
.va-flow-arrival__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; color: rgb(var(--gray-500)); }
.dark .va-flow-arrival__sub { color: rgb(var(--gray-400)); }
.va-flow-arrival__sub.is-muted { font-style: italic; }
.va-flow-arrival__ai { display: flex; align-items: center; gap: .375rem; min-width: 0; padding: .25rem .375rem .25rem .25rem; border-radius: .5rem; font-size: .71875rem; color: rgb(var(--primary-800)); background: rgb(var(--primary-50)); }
.dark .va-flow-arrival__ai { color: rgb(var(--primary-300)); background: rgb(var(--primary-500) / .12); }
.va-flow-arrival__ai-text { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.3; overflow-wrap: anywhere; }
.va-flow-arrival__ai-text > span:not(.va-flow-suggest__mismatch) { font-size: .6875rem; opacity: .85; }
.va-flow-arrival__ai { align-items: flex-start; }
.va-flow-arrival__ai .va-flow-ai { margin-top: .0625rem; }
.va-flow-arrival__warn { color: rgb(var(--warning-600)); }
.dark .va-flow-arrival__warn { color: rgb(var(--warning-400)); }
.va-flow-arrival__go { margin-top: auto; justify-content: center; }
/* Very narrow (empty) columns: dot, limit and count on top, the column's name whole on its own line under them. */
@container (max-width: 9.5rem) {
    .va-flow-col__head { flex-wrap: wrap; row-gap: .375rem; padding: .625rem .625rem .5rem; }
    .va-flow-col__name { order: 3; flex: 1 1 100%; font-size: .75rem; }
    .va-flow-col__count { margin-inline-start: auto; }
    .va-flow-col__empty { font-size: .6875rem; text-align: center; padding: 0 .25rem; }
}
/* Narrow columns (~190px when six share a laptop screen): icon-only «Επίσκεψη», the next step full width, time on its own line. */
@container (max-width: 15rem) {
    .va-flow-card { padding: .625rem; }
    .va-flow-btn__label { display: none; }
    .va-flow-card__actions .va-flow-split { flex: 1 1 100%; }
    .va-flow-split__main { flex: 1; justify-content: center; }
    .va-flow-card__foot { flex-wrap: wrap; row-gap: .25rem; }
    .va-flow-chip { font-size: .6875rem; padding: .125rem .4375rem; }
    .va-flow-card__pet { font-size: .875rem; }
}
/* Same depth as «Αρχική» (va-dash-kpi / va-dash-slot) and the app's sections: soft drop shadow, lift on hover. */
.va-flow-stat, .va-flow-select, .va-flow-btn:not(.is-primary):not(.is-success):not(.is-ghost),
.dark .va-flow-stat, .dark .va-flow-select, .dark .va-flow-btn:not(.is-primary):not(.is-success):not(.is-ghost) { box-shadow: rgba(0, 0, 0, .15) 0 3px 3px 0; }
.va-flow-stat { border-radius: 1rem; transition: box-shadow .15s, transform .15s; }
.va-flow-stat:hover, .dark .va-flow-stat:hover { transform: translateY(-1px); box-shadow: rgba(0, 0, 0, .22) 0 6px 10px 0; }
.va-flow-btn:not(.is-ghost) { transition: box-shadow .15s, transform .15s, background-color .15s; }
.va-flow-btn:not(.is-ghost):not(:disabled):hover { transform: translateY(-1px); }
.va-flow-btn:not(.is-primary):not(.is-success):not(.is-ghost):hover { box-shadow: rgba(0, 0, 0, .22) 0 6px 10px 0; }
.va-flow-btn.is-primary { box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.va-flow-btn.is-primary:hover { box-shadow: 0 4px 12px rgba(var(--primary-600), .35); }
.va-flow-btn.is-success:hover { box-shadow: 0 4px 12px rgba(var(--success-600), .35); }
.va-flow-col { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--va-flow-color) 14%, transparent), rgba(0, 0, 0, .06) 0 2px 4px 0; }
.dark .va-flow-col { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06), rgba(0, 0, 0, .25) 0 2px 6px 0; }
/* Cards like the «Σήμερα» tiles: a soft gradient, a light top edge, depth that grows on hover. */
.va-flow-card { background: linear-gradient(135deg, #fff, rgb(var(--gray-50))); box-shadow: 0 2px 10px rgba(var(--gray-950), .07), inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1px rgb(var(--gray-950) / .04); }
.va-flow-card.is-draggable:hover, .va-flow-card.is-appointment:hover { box-shadow: 0 6px 16px rgba(var(--gray-950), .12), inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1px rgb(var(--gray-950) / .05); }
.dark .va-flow-card { background: linear-gradient(135deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03)), rgb(var(--gray-900)); box-shadow: 0 2px 10px rgb(0 0 0 / .25), inset 0 1px 0 rgb(255 255 255 / .1); }
.dark .va-flow-card.is-draggable:hover, .dark .va-flow-card.is-appointment:hover { box-shadow: 0 6px 16px rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .14); }
.va-flow-card.is-urgent { box-shadow: 0 2px 10px rgb(var(--danger-500) / .18), inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1.5px rgb(var(--danger-500) / .55); }
.dark .va-flow-card.is-urgent { box-shadow: 0 2px 10px rgb(0 0 0 / .3), 0 0 0 1.5px rgb(var(--danger-500) / .6); }
.va-flow-avatar { box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 1px 2px rgb(0 0 0 / .06); }
.dark .va-flow-avatar { box-shadow: inset 0 1px 0 rgb(255 255 255 / .08); }
/* Pet and owner of a «Πρόταση AI» open their pages. */
.va-ai-link { color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-style: dotted; }
.va-ai-link:hover, .va-ai-link:focus-visible { text-decoration-style: solid; color: rgb(var(--primary-700)); outline: none; }
.dark .va-ai-link:hover, .dark .va-ai-link:focus-visible { color: rgb(var(--primary-200)); }
.va-ai-hint .va-ai-link { text-decoration: none; }
.va-ai-hint .va-ai-link:hover, .va-ai-hint .va-ai-link:focus-visible { text-decoration: underline; text-decoration-style: solid; }
/* «Πρόταση AI» outside the flow: dashboard schedule rows and the calendar popover. */
.va-ai-hint { display: flex; align-items: center; gap: .375rem; min-width: 0; margin-top: .25rem; font-size: .75rem; color: rgb(var(--primary-800)); }
.va-dash-slot .va-ai-hint { align-items: flex-start; margin-top: .5rem; padding: .375rem .5rem; border-radius: .625rem; background: rgb(var(--primary-50)); box-shadow: inset 0 0 0 1px rgb(var(--primary-200)); }
.va-dash-slot .va-ai-hint__warn { white-space: normal; }
.dark .va-dash-slot .va-ai-hint { background: rgb(var(--primary-500) / .12); box-shadow: inset 0 0 0 1px rgb(var(--primary-500) / .25); }
.dark .va-ai-hint { color: rgb(var(--primary-300)); }
.va-ai-hint__text { min-width: 0; overflow-wrap: anywhere; }
.va-ai-hint__phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.va-ai-hint__warn { display: inline-block; margin-inline-start: .25rem; padding: 0 .3125rem; border-radius: .3125rem; font-size: .6875rem; font-weight: 600; white-space: nowrap; color: rgb(var(--warning-800)); background: rgb(var(--warning-100)); }
.dark .va-ai-hint__warn { color: rgb(var(--warning-300)); background: rgb(var(--warning-500) / .18); }
.va-pop-ai { margin-top: .5rem; }
/* Rule-based «AI» cards of the visit form (app/Services/Insights): pet summary. */
.va-ai-card { padding: .75rem .875rem; border-radius: .75rem; background: rgb(var(--primary-50)); box-shadow: inset 0 0 0 1px rgb(var(--primary-200) / .7); }
.dark .va-ai-card { background: rgb(var(--primary-500) / .08); box-shadow: inset 0 0 0 1px rgb(var(--primary-500) / .25); }
.va-ai-card__head { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; font-size: .8125rem; font-weight: 700; color: rgb(var(--primary-800)); }
.dark .va-ai-card__head { color: rgb(var(--primary-300)); }
.va-ai-card__lines { display: grid; gap: .3125rem; }
.va-ai-card__lines li { display: flex; align-items: flex-start; gap: .5rem; font-size: .8125rem; line-height: 1.4; color: rgb(var(--gray-700)); overflow-wrap: anywhere; }
.dark .va-ai-card__lines li { color: rgb(var(--gray-300)); }
.va-ai-card__icon { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: .0625rem; color: rgb(var(--primary-500)); }
.va-ai-card__lines li.is-warn { font-weight: 600; color: rgb(var(--danger-700)); }
.va-ai-card__lines li.is-warn .va-ai-card__icon { color: rgb(var(--danger-500)); }
.dark .va-ai-card__lines li.is-warn { color: rgb(var(--danger-400)); }
/* «Σύνοψη Ιστορικού» modal of the pet (App\Livewire\PetAiSummary). */
/* Its button: the «AI» mark (resources/svg/va/ai.svg, 32×20) at the icon's height. */
.va-ai-action .fi-btn-icon { width: 2rem; height: 1.25rem; }
.va-pet-sum { display: grid; gap: 1rem; }
.va-pet-sum__card { padding: 1rem 1.125rem; }
.va-pet-sum__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.va-pet-sum__head .va-ai-card__head { margin-bottom: 0; font-size: .875rem; }
.va-pet-sum__headline { margin-top: .625rem; font-size: .9375rem; font-weight: 600; line-height: 1.45; color: rgb(var(--gray-900)); }
.dark .va-pet-sum__headline { color: rgb(var(--gray-100)); }
.va-pet-sum__alert { display: flex; align-items: flex-start; gap: .375rem; margin-top: .375rem; font-size: .8125rem; font-weight: 600; color: rgb(var(--danger-700)); }
.dark .va-pet-sum__alert { color: rgb(var(--danger-400)); }
.va-pet-sum__meta, .va-pet-sum__note { margin-top: .5rem; font-size: .75rem; color: rgb(var(--gray-500)); }
.va-pet-sum__stale { font-weight: 600; color: rgb(var(--warning-700)); }
.dark .va-pet-sum__stale { color: rgb(var(--warning-400)); }
.va-pet-sum__sections { display: grid; gap: .75rem; margin-top: .75rem; }
.va-pet-sum__section h4, .va-pet-sum__box h4, .va-pet-sum__timeline h4 { margin-bottom: .375rem; font-size: .8125rem; font-weight: 700; color: rgb(var(--gray-900)); }
.dark .va-pet-sum__section h4, .dark .va-pet-sum__box h4, .dark .va-pet-sum__timeline h4 { color: rgb(var(--gray-100)); }
.va-pet-sum__section ul { display: grid; gap: .25rem; padding-inline-start: 1.125rem; list-style: disc; font-size: .8125rem; line-height: 1.5; color: rgb(var(--gray-700)); }
.dark .va-pet-sum__section ul { color: rgb(var(--gray-300)); }
.va-pet-sum__themes { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; margin-top: .75rem; }
.va-pet-sum__label { margin-inline-end: .25rem; font-size: .75rem; font-weight: 600; color: rgb(var(--primary-800)); }
.dark .va-pet-sum__label { color: rgb(var(--primary-300)); }
.va-pet-sum__chip { display: inline-flex; align-items: center; gap: .25rem; padding: .125rem .5rem; border-radius: 999px; font-size: .75rem; color: rgb(var(--gray-700)); background: #fff; box-shadow: inset 0 0 0 1px rgb(var(--primary-200)); }
.va-pet-sum__chip b { font-weight: 700; color: rgb(var(--primary-700)); }
.dark .va-pet-sum__chip { color: rgb(var(--gray-200)); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(var(--primary-500) / .3); }
.dark .va-pet-sum__chip b { color: rgb(var(--primary-300)); }
.va-pet-sum__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: .5rem; }
.va-pet-sum__stat { display: flex; flex-direction: column; gap: .125rem; padding: .625rem .75rem; border-radius: .625rem; background: rgb(var(--gray-50)); }
.dark .va-pet-sum__stat { background: rgb(255 255 255 / .04); }
.va-pet-sum__stat span { font-size: .6875rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: rgb(var(--gray-500)); }
.va-pet-sum__stat strong { font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; color: rgb(var(--gray-900)); }
.dark .va-pet-sum__stat strong { color: rgb(var(--gray-100)); }
.va-pet-sum__grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .va-pet-sum__grid { grid-template-columns: 1fr 1fr; } }
.va-pet-sum__box { padding: .875rem 1rem; border-radius: .75rem; box-shadow: inset 0 0 0 1px rgb(var(--gray-200)); }
.dark .va-pet-sum__box { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.va-pet-sum__rows { display: grid; gap: .125rem; }
.va-pet-sum__rows li { display: flex; align-items: baseline; gap: .5rem; padding: .25rem 0; font-size: .8125rem; color: rgb(var(--gray-700)); border-bottom: 1px solid rgb(var(--gray-100)); }
.va-pet-sum__rows li:last-child { border-bottom: 0; }
.dark .va-pet-sum__rows li { color: rgb(var(--gray-300)); border-bottom-color: rgb(255 255 255 / .05); }
.va-pet-sum__rows li > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.va-pet-sum__rows b { min-width: 1.5rem; text-align: end; font-weight: 700; font-variant-numeric: tabular-nums; }
.va-pet-sum__muted { font-size: .75rem; color: rgb(var(--gray-500)); }
.va-pet-sum__due { white-space: nowrap; }
.va-pet-sum__due.is-overdue { font-weight: 600; color: rgb(var(--danger-600)); }
.dark .va-pet-sum__due.is-overdue { color: rgb(var(--danger-400)); }
.va-pet-sum__timeline ol { display: grid; gap: 0; margin-top: .25rem; border-inline-start: 2px solid rgb(var(--primary-200)); }
.dark .va-pet-sum__timeline ol { border-inline-start-color: rgb(var(--primary-500) / .3); }
.va-pet-sum__timeline li { position: relative; padding: .25rem 0 .875rem 1rem; }
.va-pet-sum__timeline li::before { content: ""; position: absolute; inset-inline-start: -.375rem; top: .5rem; width: .625rem; height: .625rem; border-radius: 999px; background: rgb(var(--primary-500)); box-shadow: 0 0 0 3px #fff; }
.dark .va-pet-sum__timeline li::before { box-shadow: 0 0 0 3px rgb(var(--gray-900)); }
.va-pet-sum__vhead { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin-bottom: .25rem; }
.va-pet-sum__vdate { font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; color: rgb(var(--primary-700)); }
.va-pet-sum__vdate:hover { text-decoration: underline; text-underline-offset: 2px; }
.dark .va-pet-sum__vdate { color: rgb(var(--primary-300)); }
.va-pet-sum__tag { padding: 0 .4375rem; border-radius: .375rem; font-size: .6875rem; font-weight: 600; line-height: 1.25rem; color: rgb(var(--primary-800)); background: rgb(var(--primary-50)); }
.va-pet-sum__tag.is-plain { color: rgb(var(--gray-700)); background: rgb(var(--gray-100)); }
.dark .va-pet-sum__tag { color: rgb(var(--primary-300)); background: rgb(var(--primary-500) / .12); }
.dark .va-pet-sum__tag.is-plain { color: rgb(var(--gray-300)); background: rgb(255 255 255 / .06); }
.va-pet-sum__vet { margin-inline-start: auto; }
.va-pet-sum__vtext { margin-top: .125rem; font-size: .8125rem; line-height: 1.5; color: rgb(var(--gray-700)); overflow-wrap: anywhere; }
.va-pet-sum__vtext > span:first-child { font-weight: 600; color: rgb(var(--gray-900)); }
.dark .va-pet-sum__vtext { color: rgb(var(--gray-300)); }
.dark .va-pet-sum__vtext > span:first-child { color: rgb(var(--gray-100)); }
.va-pet-sum__more { margin-top: .25rem; font-size: .8125rem; font-weight: 600; color: rgb(var(--primary-600)); }
.va-pet-sum__more:hover { text-decoration: underline; text-underline-offset: 2px; }
.dark .va-pet-sum__more { color: rgb(var(--primary-400)); }
/* «Σήμερα»: the patient's column in «Ροή ασθενών», in its colour. */
.va-dash-flow { display: inline-flex; align-items: center; gap: .25rem; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .0625rem .5rem; border-radius: .375rem; font-size: .6875rem; font-weight: 600; line-height: 1.25rem; color: color-mix(in srgb, var(--va-f) 75%, #000); background: color-mix(in srgb, var(--va-f) 14%, #fff); }
.va-dash-flow::before { content: ""; width: .375rem; height: .375rem; flex-shrink: 0; border-radius: 999px; background: var(--va-f); }
.dark .va-dash-flow { color: color-mix(in srgb, var(--va-f) 60%, #fff); background: color-mix(in srgb, var(--va-f) 20%, transparent); }

/* SPA navigation progress bar in the brand green, as in the portal (portal.css). html:root beats Livewire's injected :root. */
html:root { --livewire-progress-bar-color: #1e8a63; }
html.dark:root { --livewire-progress-bar-color: #38b98c; }

/* ---------------------------------------------------------------- Πρόγραμμα προσωπικού (va-staff-*) */
.va-staff { --va-work: 22, 163, 74; --va-off: 100, 116, 139; --va-leave: 217, 119, 6; --va-moved: 220, 38, 38; }
.va-staff-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: 1rem; }
.va-staff-nav { display: flex; align-items: center; gap: .25rem; }
.va-staff-navbtn { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: .625rem; color: rgb(var(--gray-600)); border: 1px solid rgb(var(--gray-200)); background: #fff; transition: background-color .15s; }
.va-staff-navbtn:hover { background: rgb(var(--gray-50)); }
.va-staff-today { height: 2.5rem; padding: 0 .875rem; border-radius: .625rem; font-size: .875rem; font-weight: 600; color: rgb(var(--primary-600)); background: rgba(var(--primary-500), .1); }
.va-staff-range { font-size: 1.125rem; font-weight: 700; color: rgb(var(--gray-950)); }
.va-staff-legend { display: flex; flex-wrap: wrap; gap: .75rem; margin-left: auto; font-size: .8125rem; color: rgb(var(--gray-500)); }
.va-staff-legend span { display: inline-flex; align-items: center; gap: .375rem; }
.va-staff-dot { width: .625rem; height: .625rem; border-radius: 999px; }
.va-staff-dot.is-work { background: rgb(var(--va-work)); }
.va-staff-dot.is-off { background: rgb(var(--va-off)); }
.va-staff-dot.is-leave { background: rgb(var(--va-leave)); }
.va-staff-dot.is-changed { background: transparent; box-shadow: inset 0 0 0 2px rgb(var(--primary-500)); }
.va-staff-scroll { overflow-x: auto; border-radius: .875rem; border: 1px solid rgb(var(--gray-200)); background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.va-staff-grid { width: 100%; min-width: 56rem; border-collapse: separate; border-spacing: 0; font-size: .875rem; }
.va-staff-grid th, .va-staff-grid td { border-bottom: 1px solid rgb(var(--gray-100)); padding: .375rem; vertical-align: top; }
.va-staff-grid thead th { position: sticky; top: 0; background: rgb(var(--gray-50)); padding: .625rem .5rem; text-align: center; font-weight: 600; color: rgb(var(--gray-700)); }
.va-staff-grid thead th.is-today { color: rgb(var(--primary-600)); box-shadow: inset 0 -2px 0 rgb(var(--primary-500)); }
.va-staff-grid td.is-today { background: rgba(var(--primary-500), .04); }
.va-staff-dow { display: block; text-transform: capitalize; }
.va-staff-date { display: block; font-size: .75rem; font-weight: 500; color: rgb(var(--gray-500)); }
.va-staff-person { position: sticky; left: 0; z-index: 1; min-width: 10rem; background: #fff; text-align: left !important; font-weight: 600; color: rgb(var(--gray-900)); padding-left: 1rem !important; vertical-align: middle !important; }
thead .va-staff-person { background: rgb(var(--gray-50)); z-index: 2; }
.va-staff-cell { display: flex; width: 100%; min-height: 3.25rem; flex-direction: column; align-items: center; justify-content: center; gap: .125rem; border-radius: .5rem; padding: .375rem .25rem; text-align: center; border: 1px solid transparent; }
button.va-staff-cell { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
button.va-staff-cell:hover { border-color: rgb(var(--gray-300)); }
button.va-staff-cell:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 1px; }
.va-staff-cell.is-work { background: rgba(var(--va-work), .08); }
.va-staff-cell.is-off { background: rgba(var(--va-off), .1); }
.va-staff-cell.is-leave { background: rgba(var(--va-leave), .14); }
.va-staff-cell.is-changed { box-shadow: inset 0 0 0 2px rgba(var(--primary-500), .55); }
.va-staff-hours { font-weight: 600; font-variant-numeric: tabular-nums; color: rgb(var(--gray-900)); }
.va-staff-hours .is-moved { color: rgb(var(--va-moved)); }
.va-staff-sub, .va-staff-note { font-size: .6875rem; line-height: 1.2; color: rgb(var(--gray-500)); }
.va-staff-note { font-style: italic; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.va-staff-badge { font-weight: 600; font-size: .8125rem; }
.va-staff-cell.is-off .va-staff-badge { color: rgb(var(--va-off)); }
.va-staff-cell.is-leave .va-staff-badge { color: rgb(180 83 9); }
.va-staff-blank { color: rgb(var(--gray-300)); }
.va-staff-hint { margin-top: .75rem; font-size: .8125rem; color: rgb(var(--gray-500)); }
.va-staff-empty { padding: 2rem; text-align: center; color: rgb(var(--gray-500)); }
.va-staff-usual { font-size: .8125rem; color: rgb(var(--gray-500)); }
.dark .va-staff-navbtn { background: rgb(var(--gray-900)); border-color: rgb(255 255 255 / .1); color: rgb(var(--gray-300)); }
.dark .va-staff-range { color: #fff; }
.dark .va-staff-scroll { background: rgb(var(--gray-900)); border-color: rgb(255 255 255 / .1); }
.dark .va-staff-grid th, .dark .va-staff-grid td { border-color: rgb(255 255 255 / .06); }
.dark .va-staff-grid thead th, .dark thead .va-staff-person { background: rgb(var(--gray-800)); color: rgb(var(--gray-200)); }
.dark .va-staff-person { background: rgb(var(--gray-900)); color: #fff; }
.dark .va-staff-hours { color: rgb(var(--gray-100)); }
.dark .va-staff-hours .is-moved { color: rgb(248 113 113); }
.dark .va-staff-cell.is-leave .va-staff-badge { color: rgb(251 191 36); }
.dark .va-staff-cell.is-off .va-staff-badge { color: rgb(var(--gray-300)); }
.dark .va-staff-blank { color: rgb(var(--gray-600)); }

/* Phones: the week table becomes one day at a time */
.va-staff-mobile { display: none; }
.va-staff-chips { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; margin-bottom: .75rem; }
.va-staff-chip { display: flex; flex-direction: column; align-items: center; gap: .125rem; min-height: 3.25rem; padding: .375rem 0; border-radius: .75rem; font-size: .75rem; color: rgb(var(--gray-600)); background: #fff; border: 1px solid rgb(var(--gray-200)); }
.va-staff-chip.is-active { background: rgb(var(--primary-600)); border-color: rgb(var(--primary-600)); color: #fff; }
.va-staff-chip:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 2px; }
.va-staff-chipdate { font-size: 1rem; font-weight: 700; }
.va-staff-chipdate.is-today { text-decoration: underline; text-underline-offset: 3px; }
.va-staff-dayname { margin-bottom: .5rem; font-weight: 600; color: rgb(var(--gray-900)); text-transform: capitalize; }
.va-staff-list { display: flex; flex-direction: column; border-radius: .875rem; border: 1px solid rgb(var(--gray-200)); background: #fff; overflow: hidden; }
.va-staff-list li { display: flex; align-items: center; gap: .75rem; padding: .5rem .5rem .5rem .875rem; border-bottom: 1px solid rgb(var(--gray-100)); }
.va-staff-list li:last-child { border-bottom: 0; }
.va-staff-leavecount { display: block; width: fit-content; margin-top: .25rem; padding: .0625rem .5rem; border-radius: 9999px; background: rgba(var(--va-leave), .14); color: rgb(180 83 9); font-size: .6875rem; font-weight: 600; line-height: 1.25rem; white-space: nowrap; }
.dark .va-staff-leavecount { background: rgba(var(--va-leave), .2); color: rgb(251 191 36); }
.va-staff-listname { flex: 1; min-width: 0; font-weight: 600; color: rgb(var(--gray-900)); overflow-wrap: anywhere; }
.va-staff-list .va-staff-cell { width: 8.5rem; flex-shrink: 0; min-height: 2.75rem; }
@media (max-width: 767px) {
    .va-staff-scroll { display: none; }
    .va-staff-mobile { display: block; }
    .va-staff-toolbar { gap: .5rem; }
    .va-staff-range { order: -1; width: 100%; font-size: 1rem; }
    .va-staff-legend { margin-left: 0; width: 100%; gap: .5rem .875rem; font-size: .75rem; }
    .va-staff-today-strip { flex-wrap: wrap; }
    .va-staff-today-strip__link { margin-left: auto; }
}
.dark .va-staff-chip { background: rgb(var(--gray-900)); border-color: rgb(255 255 255 / .1); color: rgb(var(--gray-300)); }
.dark .va-staff-chip.is-active { background: rgb(var(--primary-600)); border-color: rgb(var(--primary-600)); color: #fff; }
.dark .va-staff-dayname, .dark .va-staff-listname { color: #fff; }
.dark .va-staff-list { background: rgb(var(--gray-900)); border-color: rgb(255 255 255 / .1); }
.dark .va-staff-list li { border-color: rgb(255 255 255 / .06); }

/* Staff not on their usual hours today: dashboard schedule + appointment calendar */
.va-staff-today-strip { display: flex; align-items: flex-start; gap: .625rem; margin-bottom: .875rem; padding: .625rem .875rem; border-radius: .75rem; background: rgba(217, 119, 6, .08); border: 1px solid rgba(217, 119, 6, .25); font-size: .8125rem; color: rgb(var(--gray-700)); }
.va-staff-today-strip__icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: rgb(180 83 9); margin-top: .0625rem; }
.va-staff-today-strip ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; flex: 1; min-width: 0; }
.va-staff-today-strip li.is-leave strong { color: rgb(180 83 9); }
.va-staff-today-strip__link { flex-shrink: 0; font-weight: 600; color: rgb(var(--primary-600)); }
.va-staff-today-strip__link:hover { text-decoration: underline; }
.dark .va-staff-today-strip { background: rgba(217, 119, 6, .12); border-color: rgba(217, 119, 6, .3); color: rgb(var(--gray-200)); }
.dark .va-staff-today-strip__icon, .dark .va-staff-today-strip li.is-leave strong { color: rgb(251 191 36); }
.dark .va-staff-today-strip__link { color: rgb(var(--primary-400)); }

/* ---------------------------------------------------------------- «Ρυθμίσεις» page (va-settings-*) */
.va-settings { display: flex; flex-direction: column; gap: 1.75rem; }
.va-settings-heading { margin: 0 0 .625rem .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--gray-500)); }
.va-settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.va-settings-card { display: flex; align-items: center; gap: .875rem; min-height: 4.5rem; padding: .875rem 1rem; border-radius: .875rem; background: #fff; border: 1px solid rgb(var(--gray-200)); box-shadow: 0 1px 2px rgb(0 0 0 / .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.va-settings-card:hover { border-color: rgba(var(--primary-500), .45); box-shadow: 0 4px 14px rgb(0 0 0 / .06); }
.va-settings-card:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 2px; }
.va-settings-icon { display: inline-flex; width: 2.5rem; height: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: rgba(var(--primary-500), .1); color: rgb(var(--primary-600)); }
.va-settings-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: .125rem; }
.va-settings-title { font-weight: 600; font-size: .9375rem; color: rgb(var(--gray-950)); }
.va-settings-desc { font-size: .8125rem; line-height: 1.3; color: rgb(var(--gray-500)); }
.va-settings-chevron { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: rgb(var(--gray-400)); }
.dark .va-settings-card { background: rgb(var(--gray-900)); border-color: rgb(255 255 255 / .1); }
.dark .va-settings-card:hover { border-color: rgba(var(--primary-400), .5); }
.dark .va-settings-icon { background: rgba(var(--primary-500), .15); color: rgb(var(--primary-400)); }
.dark .va-settings-title { color: #fff; }
.dark .va-settings-desc { color: rgb(var(--gray-400)); }
@media (max-width: 1279px) { .va-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: one grouped list per section, like iOS / Shopify mobile settings */
@media (max-width: 639px) {
    .va-settings { gap: 1.25rem; }
    .va-settings-grid { grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: .875rem; overflow: hidden; border: 1px solid rgb(var(--gray-200)); background: #fff; }
    .va-settings-card { min-height: 3.75rem; border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid rgb(var(--gray-100)); padding: .75rem .875rem; }
    .va-settings-card:last-child { border-bottom: 0; }
    .va-settings-card:active { background: rgb(var(--gray-50)); }
    .va-settings-icon { width: 2.25rem; height: 2.25rem; border-radius: .625rem; }
    .dark .va-settings-grid { background: rgb(var(--gray-900)); border-color: rgb(255 255 255 / .1); }
    .dark .va-settings-card { border-bottom-color: rgb(255 255 255 / .06); }
    .dark .va-settings-card:active { background: rgb(255 255 255 / .04); }
}

/* Sidebar: «Ρυθμίσεις» set apart from the day-to-day links */
.fi-sidebar-nav-groups .fi-sidebar-item:has(> a[href$="/settings"]) { margin-top: .625rem; padding-top: .625rem; border-top: 1px solid rgb(var(--gray-100)); }
.dark .fi-sidebar-nav-groups .fi-sidebar-item:has(> a[href$="/settings"]) { border-top-color: rgb(255 255 255 / .06); }
/* Phones / tablets (drawer): touch-sized links */
@media (max-width: 1023px) {
    .fi-sidebar-item-button { min-height: 2.75rem; }
    .fi-sidebar-item-label { font-size: .9375rem; }
}
/* Mobile drawer: 100vh (h-screen) is taller than the visible screen on phones, so the last links sat under the
   browser bar and could not be scrolled to. Use the visible height and keep the scroll inside the drawer. */
.fi-sidebar { height: 100vh; height: 100dvh; }
.fi-sidebar-nav { overscroll-behavior: contain; padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
/* Phone drawer open: page behind is locked (class set from AdminPanelProvider HEAD_END), the menu itself scrolls. */
html.va-drawer-open, html.va-drawer-open body { overflow: hidden; overscroll-behavior: none; }
.fi-sidebar-nav { min-height: 0; -webkit-overflow-scrolling: touch; touch-action: pan-y; }

/* Sidebar «Αγαπημένα» (sidebar/index + item overrides). Stars and drag handles only while editing (.fi-sidebar-nav.va-favs-editing). */
.va-favorites { display: flex; flex-direction: column; gap: .25rem; padding-bottom: 1.25rem; margin-bottom: -.5rem; border-bottom: 1px solid rgb(var(--gray-200)); }
.dark .va-favorites { border-bottom-color: rgb(255 255 255 / .08); }
.va-favorites-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 0 .25rem 0 .5rem; min-height: 1.75rem; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--gray-500)); }
.dark .va-favorites-heading { color: rgb(var(--gray-400)); }
.va-favorites-edit { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .5rem; border-radius: .5rem; font-size: .75rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgb(var(--gray-500)); transition: background-color .15s, color .15s; }
.va-favorites-edit:hover { background: rgb(var(--gray-100)); color: rgb(var(--gray-700)); }
.dark .va-favorites-edit:hover { background: rgb(255 255 255 / .06); color: rgb(var(--gray-200)); }
.va-favorites-edit:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 1px; }
.va-favs-editing .va-favorites-edit { background: rgb(var(--primary-50)); color: rgb(var(--primary-700)); }
.dark .va-favs-editing .va-favorites-edit { background: rgb(var(--primary-500) / .15); color: rgb(var(--primary-300)); }
.va-favorites-hint { padding: .125rem .5rem .375rem; font-size: .75rem; line-height: 1.4; color: rgb(var(--gray-500)); }
.dark .va-favorites-hint { color: rgb(var(--gray-400)); }
.va-fav-row { position: relative; }
.va-fav-row.fi-sortable-ghost { opacity: .4; }
.va-fav-handle { display: none; position: absolute; inset-inline-end: 2.375rem; top: .375rem; width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center; border-radius: .5rem; color: rgb(var(--gray-400)); cursor: grab; touch-action: none; }
.va-fav-handle:hover { background: rgb(var(--gray-200) / .6); color: rgb(var(--gray-600)); }
.dark .va-fav-handle:hover { background: rgb(255 255 255 / .08); color: rgb(var(--gray-300)); }
.va-favs-editing .va-fav-handle { display: flex; }
.va-fav-star { display: none; position: absolute; inset-inline-end: .375rem; top: .375rem; width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center; border-radius: .5rem; color: rgb(var(--gray-400)); transition: color .15s, background-color .15s; }
.va-favs-editing .va-fav-star { display: flex; }
.va-fav-star:hover { color: rgb(var(--warning-500)); background: rgb(var(--gray-200) / .6); }
.dark .va-fav-star:hover { background: rgb(255 255 255 / .08); }
.va-fav-star:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 1px; }
.va-fav-star--on { color: rgb(var(--warning-500)); }
.va-fav-star .va-fav-star__on, .va-fav-star--on .va-fav-star__off { display: none; }
.va-fav-star--on .va-fav-star__on { display: block; }
/* Room for the star (and the handle in the list) so they never cover a label or badge. */
.va-favs-editing .va-fav-host > .fi-sidebar-item-button { padding-inline-end: 2.25rem; }
.va-favs-editing .va-fav-row .va-fav-host > .fi-sidebar-item-button { padding-inline-end: 4.25rem; }
/* Empty and not editing: one slim line (heading + «Προσθήκη») over a faint separator, close to the menu below. */
.va-favorites--empty { padding-bottom: .5rem; border-bottom-color: rgb(var(--gray-100)); margin-bottom: -1rem; }
.dark .va-favorites--empty { border-bottom-color: rgb(255 255 255 / .05); }
.va-favorites-edit__edit, .va-favorites-edit__done { display: none; }
.va-favorites:not(.va-favorites--empty) .va-favorites-edit__add { display: none; }
.va-favorites:not(.va-favorites--empty) .va-favorites-edit__edit { display: block; }
.va-favs-editing .va-favorites .va-favorites-edit__edit, .va-favs-editing .va-favorites .va-favorites-edit__add { display: none; }
.va-favs-editing .va-favorites-edit__done { display: block; }
/* Fold buttons: «Αγαπημένα» heading and the «Μενού» heading above the menu (only once there are favourites). */
.va-fold { display: inline-flex; align-items: center; gap: .25rem; margin-inline-start: -.25rem; padding: .25rem; border-radius: .375rem; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; transition: background-color .15s, color .15s; }
.va-fold:hover { background: rgb(var(--gray-100)); color: rgb(var(--gray-700)); }
.dark .va-fold:hover { background: rgb(255 255 255 / .06); color: rgb(var(--gray-200)); }
.va-fold:focus-visible { outline: 2px solid rgb(var(--primary-500)); outline-offset: 1px; }
.va-fold__chevron { width: .875rem; height: .875rem; transition: transform .15s; }
.va-fold--closed .va-fold__chevron { transform: rotate(-90deg); }
.va-menu-heading { display: flex; align-items: center; min-height: 1.75rem; margin: -1rem -.5rem -1.25rem; padding: 0 .25rem 0 .5rem; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--gray-500)); }
.dark .va-menu-heading { color: rgb(var(--gray-400)); }
