/* ==========================================================================
   Ebys Shell — Redesign 10/2026 (handoff «ΕΒΥΣ App», κατεύθυνση 1b: «χαρτί» χωρίς σκιές,
   σκούρες ενέργειες, Manrope). Κέλυφος admin/παρόχου: sidebar, header, κουμπιά, φόρμες, tabs, κάρτες.

   Scope: .ebys-shell (wrapper του DefaultDarkSidebar, γύρω από το TelerikRootComponent ώστε να πιάνει
   και τα Telerik popups). Σελίδες με δικό τους design-system (εγγραφή παρόχου .pe-root, πολίτης .rh-*,
   καρτέλα παρόχου .pd, αρχική παρόχου .pv-home) χρησιμοποιούν δικές τους classes και δεν επηρεάζονται
   από τους κανόνες .btn/.card/.form-control εδώ. Φορτώνεται ΜΕΤΑ τα egritos.css/ebys-ui.css.
   Tokens: --syn-* (ebys-ui.css).
   ========================================================================== */

.ebys-shell {
    /* Metronic/Bootstrap: «primary» = σκούρο μελάνι (κύριες ενέργειες, switches, ενεργά στοιχεία) */
    --bs-primary: #101828;
    --bs-primary-rgb: 16, 24, 40;
    --bs-primary-active: #344054;
    --bs-primary-light: #f2f4f7;
    --bs-primary-inverse: #ffffff;
    --bs-primary-clarity: rgba(16, 24, 40, .2);
    --bs-text-primary: #101828;
    /* καταστάσεις — ίδια παλέτα με τα --syn-* */
    --bs-success: #17b26a;
    --bs-success-rgb: 23, 178, 106;
    --bs-success-active: #079455;
    --bs-success-light: #ecfdf3;
    --bs-text-success: #067647;
    --bs-danger: #d92d20;
    --bs-danger-rgb: 217, 45, 32;
    --bs-danger-active: #b42318;
    --bs-danger-light: #fef3f2;
    --bs-text-danger: #b42318;
    --bs-warning: #f79009;
    --bs-warning-rgb: 247, 144, 9;
    --bs-warning-active: #dc6803;
    --bs-warning-light: #fffaeb;
    --bs-text-warning: #b54708;
    --bs-info: #2e90fa;
    --bs-info-rgb: 46, 144, 250;
    --bs-info-active: #1570ef;
    --bs-info-light: #eff8ff;
    --bs-text-info: #175cd3;
    --bs-body-color: #101828;
    --bs-gray-900: #101828;
    /* Telerik (kendo) theme */
    --kendo-color-primary: #101828;
    --kendo-color-primary-hover: #344054;
    --kendo-color-primary-active: #1d2939;
    --kendo-color-primary-subtle: #f2f4f7;
    --kendo-color-primary-subtle-hover: #eaecf0;
    --kendo-color-primary-emphasis: #475467;
    --kendo-color-on-primary: #ffffff;
    color: #101828;
    /* μόνο scope για tokens/selectors — κανένα δικό του box, ώστε να μην αλλάζει το layout του Metronic */
    display: contents;
}

/* ---------- Sidebar ---------------------------------------------------------- */
.ebys-shell #kt_app_sidebar.app-sidebar {
    background-color: #0b1424 !important;
    border-right: 0 !important;
}

/* logo + σήμα TEST */
.ebys-shell #kt_app_sidebar_logo {
    height: auto;
    min-height: 0;
    padding: 22px 22px 18px;
    border-bottom: 0 !important;
}
.ebys-shell #kt_app_sidebar_logo .ebys-sb-brandrow { display: flex; align-items: center; gap: 10px; width: 100%; }
.ebys-shell #kt_app_sidebar_logo a.ebys-sb-brand { display: flex; align-items: center; height: auto; justify-content: flex-start; text-decoration: none; }
.ebys-shell #kt_app_sidebar_logo .ebys-sb-logo {
    margin: 0;
    height: auto;
    /* όπως το αρχικό logo (Archivo → fallback Segoe UI Black για τα ελληνικά), πιο μικρό */
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
    border-radius: 0;
    padding: 0;
    width: auto;
}
.ebys-shell #kt_app_sidebar_logo .ebys-sb-y { position: relative; display: inline-block; color: #4fa8ff; }
.ebys-shell #kt_app_sidebar_logo .ebys-sb-ydot { position: absolute; top: -.2em; left: 50%; transform: translateX(-50%); width: .28em; height: .28em; border-radius: 999px; background: #4fa8ff; }
.ebys-shell #kt_app_sidebar.sidebar-no-programma #kt_app_sidebar_logo .app-sidebar-logo-default { margin-bottom: 0; }
/* ΤΕΒΑ: δέντρο + «τ.ε.β.α.» αριστερά, σήμα TEST δεξιά */
.ebys-shell #kt_app_sidebar_logo .ebys-sb-teba { gap: 10px; }
.ebys-shell #kt_app_sidebar_logo .ebys-sb-teba-img { height: 40px; width: auto; max-width: none; margin: 0; }
.ebys-shell #kt_app_sidebar_logo .ebys-sb-teba-txt { font-family: 'Segoe UI', system-ui, sans-serif; font-size: 22px; font-weight: 900; letter-spacing: -.01em; color: #ffffff; white-space: nowrap; }

/* κουμπί σύμπτυξης sidebar (Metronic toggle στην άκρη) */
.ebys-shell #kt_app_sidebar_toggle {
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px;
    background: #ffffff !important;
    border: 1px solid #e4e7ec;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08) !important;
}

/* επιλογή προγράμματος (στη θέση του «Προβολή ως») */
.ebys-shell .app-sidebar-programma { padding: 0 14px 14px; }

/* μενού */
.ebys-shell #kt_app_sidebar .app-sidebar-menu #kt_app_sidebar_menu_scroll { margin: 0 10px 12px !important; }
.ebys-shell #kt_app_sidebar .menu { gap: 2px; }
.ebys-shell #kt_app_sidebar .menu > .menu-item { margin: 0; }
.ebys-shell #kt_app_sidebar .menu > .menu-item > .menu-link {
    min-height: 38px;
    padding: 0 12px;
    margin: 0;
    border-radius: 8px;
    gap: 10px;
    color: #c7cfdb;
    transition: background .15s, color .15s;
}
.ebys-shell #kt_app_sidebar .menu > .menu-item > .menu-link .menu-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #c7cfdb;
}
/* μικρό τετράγωνο-δείκτης αντί για εικονίδιο (πράσινο όταν η ενότητα είναι ενεργή)·
   τα εικονίδια μένουν μόνο για το συμπτυγμένο sidebar */
.ebys-shell #kt_app_sidebar .ebys-nav-dot { width: 6px; height: 6px; border-radius: 2px; background: #3a475c; flex: none; }
.ebys-shell #kt_app_sidebar .menu > .menu-item > .menu-link .menu-icon { display: none; }
.ebys-shell #kt_app_sidebar .menu > .menu-item > .menu-link:hover { background: #141f33 !important; }
.ebys-shell #kt_app_sidebar .menu > .menu-item > .menu-link:hover .menu-title { color: #ffffff; }
/* ενεργό στοιχείο / ανοιχτή ενότητα με ενεργό παιδί (Metronic: .active / .here / .show) */
.ebys-shell #kt_app_sidebar .menu > .menu-item > .menu-link.active,
.ebys-shell #kt_app_sidebar .menu > .menu-item.here > .menu-link,
.ebys-shell #kt_app_sidebar .menu > .menu-item.here.show > .menu-link {
    background: #141f33 !important;
}
.ebys-shell #kt_app_sidebar .menu > .menu-item.show:not(.here) > .menu-link { background: transparent !important; }
.ebys-shell #kt_app_sidebar .menu > .menu-item > .menu-link.active .menu-title,
.ebys-shell #kt_app_sidebar .menu > .menu-item.here > .menu-link .menu-title { color: #ffffff; }
.ebys-shell #kt_app_sidebar .menu > .menu-item > .menu-link.active .ebys-nav-dot,
.ebys-shell #kt_app_sidebar .menu > .menu-item.here > .menu-link .ebys-nav-dot { background: #12b76a; }
.ebys-shell #kt_app_sidebar .menu .menu-link .menu-arrow { width: 10px; height: 10px; margin-left: auto; }
.ebys-shell #kt_app_sidebar .menu .menu-link .menu-arrow:after { background-color: #5b6a82 !important; }

/* υπομενού: εσοχή με λεπτή κάθετη γραμμή, χωρίς κουκκίδες */
.ebys-shell #kt_app_sidebar .menu-sub.menu-sub-accordion {
    margin: 0 0 0 15px;
    padding: 4px 0 6px 28px;
    border-left: 1px solid #1e2a3e;
}
.ebys-shell #kt_app_sidebar .menu-sub .menu-item { padding: 0; margin: 0 0 1px; }
.ebys-shell #kt_app_sidebar .menu-sub .menu-item .menu-link {
    min-height: 32px;
    padding: 0 10px;
    margin: 0;
    border-radius: 6px;
    background: transparent !important;
}
.ebys-shell #kt_app_sidebar .menu-sub .menu-item .menu-link .menu-bullet { display: none; }
.ebys-shell #kt_app_sidebar .menu-sub .menu-item .menu-link .menu-title { font-size: 13px; font-weight: 500; color: #9aa6b8; }
.ebys-shell #kt_app_sidebar .menu-sub .menu-item .menu-link:hover .menu-title { color: #ffffff; }
.ebys-shell #kt_app_sidebar .menu-sub .menu-item .menu-link.active { background: rgba(255, 255, 255, .08) !important; }
.ebys-shell #kt_app_sidebar .menu-sub .menu-item .menu-link.active .menu-title { color: #ffffff; font-weight: 700; }

/* badge «Εκκρεμότητες» */
.ebys-shell #kt_app_sidebar .ebys-nav-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    color: #0b1424;
    background: #ffd166;
    border-radius: 999px;
    padding: 3px 7px;
}

/* footer: χρήστης (αρχικά) + φορέας · έκδοση */
.ebys-shell #kt_app_sidebar_footer.ebys-sb-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 18px !important;
    border-top: 1px solid #1a2538;
}
.ebys-shell .ebys-sb-avatar {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    background: #1f2d45;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ebys-shell .ebys-sb-who { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.ebys-shell .ebys-sb-name,
.ebys-shell .ebys-sb-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-shell .ebys-sb-name { font-size: 12.5px; font-weight: 700; color: #ffffff; }
.ebys-shell .ebys-sb-meta { font-size: 11px; color: #7d8aa0; }

/* συμπτυγμένο sidebar (desktop, χωρίς hover): εικονίδια αντί για δείκτες, χωρίς κείμενα/σήματα */
@media (min-width: 992px) {
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) .menu > .menu-item > .menu-link .menu-icon { display: flex; margin: 0; }
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) .menu > .menu-item > .menu-link .menu-icon i { color: #c7cfdb; }
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) .ebys-nav-dot,
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) .ebys-nav-badge,
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) .test-app-badge,
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) .ebys-sb-who { display: none; }
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) #kt_app_sidebar_footer.ebys-sb-footer { justify-content: center; padding-left: 0 !important; padding-right: 0 !important; }
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) #kt_app_sidebar_logo { padding-left: 0; padding-right: 0; justify-content: center; }
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) #kt_app_sidebar_logo .ebys-sb-brandrow { justify-content: center; }
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) #kt_app_sidebar_logo .ebys-sb-logo.app-sidebar-logo-minimize { font-size: 18px; letter-spacing: -.02em; }
}

/* ---------- Header (τίτλος σελίδας + ενέργειες) ------------------------------ */
.ebys-shell #kt_app_header.app-header {
    background-color: #ffffff !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
}
.ebys-shell #kt_app_header .page-title { min-width: 0; }
/* κουμπιά header (Αποθήκευση, Ενέργειες, Καθαρισμός φίλτρων): ίδιο σχήμα με τα .syn-btn */
.ebys-shell #kt_app_header .btn {
    height: 38px;
    padding: 0 14px !important;
    border-radius: 8px;
    font-size: 13px !important;
    font-weight: 600 !important;
    gap: 8px;
    border: 1px solid #d0d5dd;
    background-color: #ffffff;
    color: #344054;
    box-shadow: none;
}
.ebys-shell #kt_app_header .btn i { color: inherit; font-size: 13px; }
.ebys-shell #kt_app_header .btn:hover { background-color: #f9fafb; color: #101828; }
.ebys-shell #kt_app_header .btn.btn-primary,
.ebys-shell #kt_app_header .btn.btn-success {
    background-color: #101828;
    border-color: #101828;
    color: #ffffff;
    font-weight: 700 !important;
}
.ebys-shell #kt_app_header .btn.btn-primary:hover,
.ebys-shell #kt_app_header .btn.btn-success:hover { background-color: #344054; border-color: #344054; color: #ffffff; }
.ebys-shell #kt_app_header .btn.btn-danger { background-color: #ffffff; border-color: #fecdca; color: #b42318; font-weight: 700 !important; }
.ebys-shell #kt_app_header .btn.btn-danger:hover { background-color: #fef3f2; }
.ebys-shell #kt_app_header .btn.btn-warning { background-color: #fffaeb; border-color: #fedf89; color: #b54708; }
.ebys-shell #kt_app_header .btn.btn-warning:hover { background-color: #fef0c7; }
/* navbar: καμπανάκι + χρήστης */
.ebys-shell #kt_app_header .app-navbar .ebys-navbtn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 1px solid #e4e7ec !important;
    background: #ffffff;
}
.ebys-shell #kt_app_header .app-navbar .ebys-navbtn:hover { background: #f9fafb; }
/* dropdown «Ενέργειες» */
.ebys-shell .dropdown-menu.dnmenu {
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    box-shadow: 0 12px 24px -6px rgba(16, 24, 40, .18);
    padding: 6px !important;
    font-size: 13px !important;
}

/* ---------- Περιεχόμενο: πλάγια περιθώρια 32px (mock) ------------------------- */
@media (min-width: 992px) {
    .ebys-shell #kt_app_header .app-container,
    .ebys-shell .app-content > .app-container,
    .ebys-shell .app-content > .app-container-fluid {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}
@media (max-width: 991.98px) {
    .ebys-shell #kt_app_header .app-container,
    .ebys-shell .app-content > .app-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
.ebys-shell .app-content { padding-top: 8px; padding-bottom: 32px; }

/* ---------- Κουμπιά περιεχομένου (Metronic) ---------------------------------- */
.ebys-shell .app-content .btn { border-radius: 8px; }
.ebys-shell .app-content .btn.btn-primary:not(.btn-icon),
.ebys-shell .app-content .btn.btn-success:not(.btn-icon) {
    background-color: #101828;
    border-color: #101828;
    color: #ffffff;
    font-weight: 700;
}
.ebys-shell .app-content .btn.btn-primary:not(.btn-icon):hover,
.ebys-shell .app-content .btn.btn-success:not(.btn-icon):hover { background-color: #344054 !important; border-color: #344054 !important; color: #ffffff; }
.ebys-shell .app-content .btn.btn-primary i,
.ebys-shell .app-content .btn.btn-success i { color: #ffffff; }
.ebys-shell .app-content .btn.btn-info:not(.btn-icon),
.ebys-shell .app-content .btn.btn-secondary:not(.btn-icon),
.ebys-shell .app-content .btn.btn-light:not(.btn-icon) {
    background-color: #ffffff;
    border: 1px solid #d0d5dd;
    color: #344054;
    font-weight: 600;
}
.ebys-shell .app-content .btn.btn-info:not(.btn-icon):hover,
.ebys-shell .app-content .btn.btn-secondary:not(.btn-icon):hover,
.ebys-shell .app-content .btn.btn-light:not(.btn-icon):hover { background-color: #f9fafb !important; color: #101828; }

/* ---------- Κάρτες (Metronic .card) παλιών σελίδων: ενότητες «χαρτιού» χωρίς πλαίσιο, όπως η σχεδίαση 10/2026
   (τίτλος 15px/800 και περιεχόμενο από κάτω) ------------- */
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) > .card-header {
    background: transparent;
    border-bottom: 0;
    border-radius: 0;
    min-height: 0;
    padding: 0 0 12px;
}
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) > .card-body { padding: 0 !important; }
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) { margin-bottom: 28px !important; }
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) .separator.separator-dashed { border-color: transparent; margin: 4px 0 !important; }
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) > .card-header h3,
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) > .card-header .card-title h3 {
    color: #101828;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: -.01em;
}
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) > .card-header .fa-chevron-up,
.ebys-shell .app-content:not(.app-frontpage) .card:not(.fpcard) > .card-header .fa-chevron-down { font-size: 13px; color: #667085; }

/* ---------- Φόρμες ---------------------------------------------------------- */
/* ετικέτες πεδίων: 12px/600 γκρι, πεζά (όχι κεφαλαία) */
.ebys-shell .app-content .col-form-label,
.ebys-shell .ebys-dialog .col-form-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #667085 !important;
    text-transform: none;
    letter-spacing: 0;
    padding-top: 0;
    padding-bottom: 6px;
}
/* πεδία: λευκά, πλαίσιο #d0d5dd, γωνίες 8px, ύψος 38px — και στο πλαϊνό πάνελ φόρμας (.ebys-md-aside) */
.ebys-shell .app-content .form-control,
.ebys-shell .app-content .form-select,
.ebys-shell .app-content .k-input:not(.k-input-inner),
.ebys-shell .app-content .k-picker,
.ebys-shell .ebys-md-aside .form-control,
.ebys-shell .ebys-md-aside .form-select,
.ebys-shell .ebys-md-aside .k-input:not(.k-input-inner),
.ebys-shell .ebys-md-aside .k-picker {
    background-color: #ffffff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: #101828;
    font-size: 13.5px;
    min-height: 38px;
}
.ebys-shell .app-content .form-control.form-control-lg,
.ebys-shell .app-content .form-select.form-select-lg,
.ebys-shell .ebys-md-aside .form-control.form-control-lg,
.ebys-shell .ebys-md-aside .form-select.form-select-lg {
    font-size: 13.5px;
    padding: 8px 12px;
    min-height: 38px;
}
.ebys-shell .app-content .form-control::placeholder,
.ebys-shell .ebys-md-aside .form-control::placeholder { color: #98a2b3; }
.ebys-shell .app-content .form-control:focus,
.ebys-shell .app-content .form-select:focus,
.ebys-shell .app-content .k-input.k-focus,
.ebys-shell .app-content .k-picker.k-focus,
.ebys-shell .ebys-md-aside .form-control:focus,
.ebys-shell .ebys-md-aside .form-select:focus,
.ebys-shell .ebys-md-aside .k-input.k-focus,
.ebys-shell .ebys-md-aside .k-picker.k-focus {
    border-color: #101828 !important;
    box-shadow: 0 0 0 3px rgba(16, 24, 40, .08) !important;
}
.ebys-shell .app-content .form-control:disabled,
.ebys-shell .app-content .form-control[disabled],
.ebys-shell .app-content .form-control[readonly],
.ebys-shell .app-content .k-input.k-disabled,
.ebys-shell .app-content .k-picker.k-disabled,
.ebys-shell .ebys-md-aside .form-control:disabled,
.ebys-shell .ebys-md-aside .form-control[disabled],
.ebys-shell .ebys-md-aside .form-control[readonly],
.ebys-shell .ebys-md-aside .k-input.k-disabled,
.ebys-shell .ebys-md-aside .k-picker.k-disabled {
    background-color: #f9fafb !important;
    color: #475467 !important;
}
/* Telerik combobox/dropdown/picker: μηδενισμός padding στο root ώστε το κουμπί-βέλος να φτάνει τέρμα δεξιά·
   το text-padding μπαίνει στο .k-input-inner */
.ebys-shell .app-content .k-picker,
.ebys-shell .app-content .k-combobox,
.ebys-shell .app-content .k-dropdownlist,
.ebys-shell .ebys-md-aside .k-picker,
.ebys-shell .ebys-md-aside .k-combobox,
.ebys-shell .ebys-md-aside .k-dropdownlist { padding: 0 !important; }
.ebys-shell .app-content .k-picker .k-input-inner,
.ebys-shell .app-content .k-combobox .k-input-inner,
.ebys-shell .app-content .k-dropdownlist .k-input-inner,
.ebys-shell .ebys-md-aside .k-picker .k-input-inner,
.ebys-shell .ebys-md-aside .k-combobox .k-input-inner,
.ebys-shell .ebys-md-aside .k-dropdownlist .k-input-inner { padding-left: 12px !important; }
/* μπάρα φίλτρων λιστών: πιο συμπαγή πεδία (34px, 13px) όπως η γραμμή αναζήτησης/φίλτρων της σχεδίασης */
.ebys-shell .app-content .ebys-filters .form-control,
.ebys-shell .app-content .ebys-filters .form-select,
.ebys-shell .app-content .ebys-filters .k-input:not(.k-input-inner),
.ebys-shell .app-content .ebys-filters .k-picker { min-height: 34px; font-size: 13px; }
.ebys-shell .app-content .ebys-filters .form-control.form-control-lg { padding: 6px 10px; font-size: 13px; min-height: 34px; }
.ebys-shell .app-content .ebys-filters .col-form-label { padding-bottom: 4px; }
/* pager λιστών: μικρότερα πεδία (30px) από τα πεδία φορμών */
.ebys-shell .app-content .k-pager .k-input:not(.k-input-inner),
.ebys-shell .app-content .k-pager .k-picker { min-height: 30px; height: 30px; border-radius: 6px !important; font-size: 12.5px; }
.ebys-shell .app-content .k-input-button,
.ebys-shell .app-content .k-picker .k-input-button,
.ebys-shell .ebys-md-aside .k-input-button,
.ebys-shell .ebys-md-aside .k-picker .k-input-button { background: transparent !important; border: 0 !important; color: #667085; }
/* Bootstrap checkbox/switch: σκούρο όταν ενεργό */
.ebys-shell .app-content .form-check-input:checked { background-color: #101828; border-color: #101828; }

/* ---------- Tabs (Telerik TabStrip): υπογράμμιση αντί για γεμάτα κουτιά ------------ */
/* Telerik 13: τα tabs είναι li.k-tabstrip-item (όχι .k-item) */
.ebys-shell .k-tabstrip-items-wrapper.k-hstack {
    border-bottom: 1px solid #eaecf0 !important;
    background: transparent;
}
.ebys-shell .k-tabstrip-items-wrapper.k-hstack .k-tabstrip-items { gap: 24px; flex-wrap: wrap; row-gap: 0; }
.ebys-shell .k-tabstrip-items-wrapper .k-tabstrip-item {
    background: transparent !important;
    color: #98a2b3 !important;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 18px;
    border-radius: 0 !important;
    flex: none;
}
.ebys-shell .k-tabstrip-items-wrapper.k-hstack .k-tabstrip-item {
    margin-bottom: -1px;
    border-bottom: 2px solid transparent !important;
}
.ebys-shell .k-tabstrip-items-wrapper .k-tabstrip-item .k-link {
    min-height: 40px;
    padding: 0 !important;
    color: inherit;
}
.ebys-shell .k-tabstrip-items-wrapper .k-tabstrip-item:hover { color: #344054 !important; }
.ebys-shell .k-tabstrip-items-wrapper.k-hstack .k-tabstrip-item:hover { border-bottom-color: #d0d5dd !important; }
.ebys-shell .k-tabstrip-items-wrapper .k-tabstrip-item.k-active,
.ebys-shell .k-tabstrip-items-wrapper .k-tabstrip-item:active {
    background-color: transparent !important;
    color: #101828 !important;
}
.ebys-shell .k-tabstrip-items-wrapper.k-hstack .k-tabstrip-item.k-active,
.ebys-shell .k-tabstrip-items-wrapper.k-hstack .k-tabstrip-item:active { border-bottom: 2px solid #101828 !important; }
/* κάθετα tabs (TabPosition=Left): λίστα πλοήγησης με σκούρη μπάρα αριστερά στο ενεργό */
.ebys-shell .k-tabstrip-items-wrapper.k-vstack { border-right: 1px solid #eaecf0; padding-right: 12px; }
.ebys-shell .k-tabstrip-items-wrapper.k-vstack .k-tabstrip-item {
    border: 0 !important;
    border-radius: 8px !important;
    margin-bottom: 2px;
}
.ebys-shell .k-tabstrip-items-wrapper.k-vstack .k-tabstrip-item .k-link { min-height: 38px; padding: 0 12px !important; }
.ebys-shell .k-tabstrip-items-wrapper.k-vstack .k-tabstrip-item:hover { background-color: #f9fafb !important; border-right: 0 !important; }
.ebys-shell .k-tabstrip-items-wrapper.k-vstack .k-tabstrip-item.k-active,
.ebys-shell .k-tabstrip-items-wrapper.k-vstack .k-tabstrip-item:active {
    background-color: #f2f4f7 !important;
    border-right: 0 !important;
    box-shadow: inset 3px 0 0 #101828;
}
.ebys-shell .k-tabstrip > .k-tabstrip-content,
.ebys-shell .k-tabstrip-content { border: 0 !important; background: transparent !important; }

/* ---------- Telerik popups (dropdown λίστες) ----------------------------------- */
.ebys-shell .k-animation-container .k-popup:not(.k-calendar-container) {
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    box-shadow: 0 12px 24px -6px rgba(16, 24, 40, .18);
}
.ebys-shell .k-list .k-list-item { border-radius: 6px; font-size: 13px; }
.ebys-shell .k-list .k-list-item.k-selected { background-color: #f2f4f7; color: #101828; font-weight: 700; }
.ebys-shell .k-list .k-list-item:hover,
.ebys-shell .k-list .k-list-item.k-focus { background-color: #f9fafb; }

/* ---------- GenericDetail ----------------------------------------------------- */
/* Σημ.: η κύρια κάρτα (.syn-card / .card) παίρνει το λεπτό πλαίσιο από πάνω· εδώ μόνο ρυθμίσεις ροής. */
.ebys-shell .ebys-detail .syn-card + .syn-card,
.ebys-shell .ebys-detail .card + .card { margin-top: 24px; }

/* ---------- Σελίδες-ευρετήρια (π.χ. Περιφερειακά): ομάδες συνδέσμων χωρίς κάρτες ------------- */
.ebys-linkgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 32px; padding-top: 8px; }
.ebys-linkgroup { display: flex; flex-direction: column; }
.ebys-linkgroup-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98a2b3; padding-bottom: 8px; border-bottom: 1px solid #eaecf0; }
.ebys-linkrow { display: flex; align-items: center; gap: 10px; padding: 10px; margin: 0 -10px; border-radius: 8px; border-bottom: 1px solid #f2f4f7; color: #101828; text-decoration: none; }
.ebys-linkrow:hover { background: #f9fafb; color: #101828; text-decoration: none; }
.ebys-linkrow-label { font-size: 13.5px; font-weight: 700; flex: 1; min-width: 0; }
.ebys-linkrow-count { font-size: 11.5px; font-weight: 700; color: #667085; background: #f2f4f7; border-radius: 999px; padding: 0 7px; }
.ebys-linkrow-chev { color: #98a2b3; font-size: 15px; }

/* ---------- Φίλτρα-«chips» + αναζήτηση (EbysFilterChip / EbysFilterSelect / EbysSearchBox) ---------- */
.ebys-fbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ebys-fchip-wrap { position: relative; flex: 0 0 auto; }
.ebys-fchip {
    height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 12px;
    white-space: nowrap; overflow: hidden; border: 1px solid #d0d5dd; background: #ffffff; border-radius: 8px;
    font-family: inherit; font-size: 12.5px; font-weight: 600; color: #344054; cursor: pointer;
}
.ebys-fchip:hover { background: #f9fafb; }
.ebys-fchip-text { overflow: hidden; text-overflow: ellipsis; }
.ebys-fchip-key { color: #667085; }
.ebys-fchip-caret { font-size: 9px; opacity: .7; flex: none; }
.ebys-fchip.is-on { border-color: #101828; background: #101828; color: #ffffff; }
.ebys-fchip.is-on .ebys-fchip-key { color: #aab4c3; }
.ebys-fchip-overlay { position: fixed; inset: 0; z-index: 1040; background: transparent; }
.ebys-fchip-pop {
    position: absolute; top: 40px; left: 0; z-index: 1041; min-width: max(100%, 220px); box-sizing: border-box;
    background: #ffffff; border: 1px solid #e4e7ec; border-radius: 10px; box-shadow: 0 12px 24px -6px rgba(16, 24, 40, .18);
    padding: 6px; display: flex; flex-direction: column; gap: 1px; max-height: 60vh; overflow-y: auto;
}
.ebys-fchip-pop.is-right { left: auto; right: 0; }
.ebys-fchip-pop.ebys-fchip-pop--form { padding: 12px; gap: 10px; overflow: visible; max-height: none; }
.ebys-fchip-pop--form .row { margin: 0; row-gap: 8px; }
.ebys-fchip-pop--form .row > [class*="col-"] { padding: 0; }
.ebys-fopt { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 500; color: #101828; cursor: pointer; }
.ebys-fopt:hover { background: #f2f4f7; }
.ebys-fopt.is-on { background: #f2f4f7; font-weight: 700; }
.ebys-fopt-check { width: 14px; font-size: 12px; flex: none; }
.ebys-fopt-label { flex: 1; white-space: nowrap; }
.ebys-fclear { height: 34px; padding: 0 10px; border: 0; background: none; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #475467; cursor: pointer; }
.ebys-fclear:hover { color: #101828; }
.ebys-search { display: flex; align-items: center; gap: 8px; height: 34px; flex: 1 1 260px; min-width: 0; border: 1px solid #d0d5dd; border-radius: 8px; padding: 0 10px; box-sizing: border-box; background: #ffffff; }
.ebys-search:focus-within { border-color: #101828; box-shadow: 0 0 0 3px rgba(16, 24, 40, .08); }
.ebys-search-ic { font-size: 13px; color: #98a2b3; }
.ebys-search input { flex: 1; min-width: 0; border: 0; outline: none; font-family: inherit; font-size: 13px; background: transparent; color: #101828; }
.ebys-search input::placeholder { color: #98a2b3; }

/* ---------- Tabs με υπογράμμιση (κουμπιά — για σελίδες χωρίς Telerik TabStrip) ---------- */
.ebys-tabs { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #eaecf0; flex-wrap: wrap; row-gap: 0; }
.ebys-tab { height: 40px; padding: 0; border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: inherit; font-size: 13.5px; font-weight: 700; color: #98a2b3; white-space: nowrap; flex: none; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.ebys-tab:hover { color: #344054; }
.ebys-tab.is-on { color: #101828; border-bottom-color: #101828; }
.ebys-tab-count { font-size: 11.5px; font-weight: 700; color: #667085; background: #f2f4f7; border-radius: 999px; padding: 0 7px; }

/* ---------- Εκκρεμότητες: ομάδες ανά είδος που ανοίγουν σε λίστα ανά ημέρα ---------- */
.ebys-pgroups { display: flex; flex-direction: column; margin-top: 8px; }
.ebys-pgroup { display: flex; flex-direction: column; border-bottom: 1px solid #f2f4f7; }
.ebys-pgroup-head { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 -12px; border-radius: 8px; cursor: pointer; }
.ebys-pgroup-head:hover { background: #f9fafb; }
.ebys-pgroup-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ebys-pgroup-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ebys-pgroup-title { font-size: 13.5px; font-weight: 700; color: #101828; }
.ebys-pgroup-info { color: #98a2b3; font-size: 12px; margin-left: 4px; cursor: pointer; }
.ebys-pgroup-sub { font-size: 12px; color: #667085; }
.ebys-pgroup-n { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; color: #101828; }
.ebys-pgroup-chev { color: #98a2b3; font-size: 16px; width: 16px; text-align: center; transition: transform .15s; }
.ebys-pgroup-chev.is-open { transform: rotate(90deg); }
.ebys-pgroup-body { display: flex; flex-direction: column; padding: 0 0 14px; }
.ebys-pday { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98a2b3; padding: 10px 0 6px; }
.ebys-pitem { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 14px; align-items: center; padding: 10px 12px; margin: 0 -12px; border-radius: 8px; cursor: pointer; border-top: 1px solid #f2f4f7; }
.ebys-pitem:hover { background: #f9fafb; }
.ebys-pitem-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ebys-pitem-title { font-size: 13px; font-weight: 700; color: #101828; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-pitem-sub { font-size: 12px; color: #667085; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-pitem-time { font-size: 11.5px; color: #98a2b3; white-space: nowrap; }
.ebys-pitem-end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ebys-pitem-amt { font-size: 13.5px; font-weight: 800; color: #101828; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ebys-pitem-chev { color: #98a2b3; font-size: 16px; text-align: center; }
.ebys-pgroup-more { align-self: flex-start; border: 0; background: none; padding: 10px 0 0; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #475467; cursor: pointer; }
.ebys-pgroup-more:hover { color: #101828; }
.ebys-pempty { padding: 48px 0; text-align: center; font-size: 13px; color: #667085; }

/* ---------- Header μέσα στη ροή της σελίδας (όχι σταθερή μπάρα) ---------- */
/* Ο τίτλος + ενέργειες ξεκινούν 28px από πάνω (όπως στη σχεδίαση) και μένουν ορατά στο scroll (sticky). */
.ebys-shell .app-main #kt_app_toolbar {
    position: sticky;
    top: 0;
    z-index: 95;
    background: #ffffff;
    height: auto;
}
@media (min-width: 992px) {
    .ebys-shell #kt_app_header.app-header {
        height: auto;
        min-height: 0;
        padding: 28px 0 20px;
    }
}
.ebys-shell #kt_app_toolbar_container { align-items: flex-start !important; gap: 12px; flex-wrap: wrap; }
.ebys-shell #kt_app_toolbar_container > .page-title { flex: 1 1 auto; }
.ebys-shell #kt_app_toolbar_container > .d-flex:not(.page-title) { flex-wrap: wrap; justify-content: flex-end; }
.ebys-shell .app-content { padding-top: 0 !important; }

/* ---------- Footer sidebar: λογαριασμός χρήστη + σχόλια ---------- */
.ebys-shell .ebys-sb-userwrap { flex: 1; min-width: 0; }
.ebys-shell .ebys-sb-user { display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; border-radius: 8px; margin: -4px; padding: 4px; }
.ebys-shell .ebys-sb-user:hover { background: #141f33; }
.ebys-shell #kt_app_sidebar_footer .menu-sub-dropdown { border-radius: 10px; box-shadow: 0 16px 32px -8px rgba(0, 0, 0, .4); }

.ebys-sxl { position: relative; flex: none; }
.ebys-sxl-btn {
    width: 34px; height: 34px; border: 1px solid #233046; background: transparent; border-radius: 8px;
    color: #c7cfdb; font-size: 14px; position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.ebys-sxl-btn:hover, .ebys-sxl-btn.is-open { background: #141f33; color: #ffffff; }
.ebys-sxl-badge {
    position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box;
    border-radius: 999px; background: #f04438; color: #ffffff; font-size: 10px; font-weight: 800; line-height: 1;
    display: flex; align-items: center; justify-content: center; border: 2px solid #0b1424;
}
.ebys-sxl-overlay { position: fixed; inset: 0; z-index: 1050; background: transparent; }
.ebys-sxl-panel {
    position: absolute; left: 44px; bottom: 0; z-index: 1051; width: 360px; max-width: calc(100vw - 80px);
    background: #ffffff; color: #101828; border: 1px solid #e4e7ec; border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(16, 24, 40, .3); overflow: hidden;
}
.ebys-sxl-head { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid #eef0f3; }
.ebys-sxl-title { font-size: 14px; font-weight: 800; flex: 1; }
.ebys-sxl-count { font-size: 12px; font-weight: 700; color: #475467; }
.ebys-sxl-list { max-height: 420px; overflow-y: auto; }
.ebys-sxl-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f2f4f7; cursor: pointer; background: #f9fbff; }
.ebys-sxl-item:hover { background: #f2f4f7; }
.ebys-sxl-av { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #eef4ff; color: #3538cd; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ebys-sxl-dot { position: absolute; top: -1px; right: -1px; width: 9px; height: 9px; border-radius: 50%; background: #2e90fa; border: 2px solid #ffffff; }
.ebys-sxl-main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ebys-sxl-line { font-size: 12.5px; color: #475467; }
.ebys-sxl-line b { color: #101828; font-weight: 800; }
.ebys-sxl-entity { font-weight: 600; color: #101828; }
.ebys-sxl-meta { display: flex; gap: 8px; font-size: 11px; color: #98a2b3; }
.ebys-sxl-empty { padding: 20px 16px; font-size: 13px; color: #667085; }
@media (min-width: 992px) {
    [data-kt-app-sidebar-minimize=on] .ebys-shell #kt_app_sidebar:not(:hover) .ebys-sxl { display: none; }
}

/* ---------- Λίστα master–detail (GenericList με Preview) ---------- */
.ebys-md { display: flex; flex-wrap: wrap; align-items: stretch; min-height: 100vh; }
.ebys-md-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
/* πλάτος: το mock δίνει 320px σε καμβά ~1440px· σε πλατιές οθόνες μεγαλώνει αναλογικά (έως 440px) */
.ebys-md-aside { flex: 1 1 clamp(320px, 26vw, 440px); min-width: 0; border-left: 1px solid #eaecf0; background: #fcfcfd; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 992px) {
    .ebys-md-aside { position: sticky; top: 0; align-self: flex-start; min-height: 100vh; max-height: 100vh; overflow-y: auto; box-sizing: border-box; }
}
.ebys-md-empty { font-size: 13px; color: #667085; padding-top: 20px; }
.ebys-list--preview .k-grid .k-table-row { cursor: pointer; }
.ebys-list .k-grid .k-table-row.ebys-row-sel,
.ebys-list .k-grid .k-table-row.ebys-row-sel:hover { background: #f2f4f7 !important; }
.ebys-list .k-grid .k-table-row.ebys-row-sel > td:first-child { box-shadow: inset 3px 0 0 #101828; }
/* tabs καταστάσεων + μπάρα φίλτρων σε λίστες */
.ebys-list-tabs { margin-bottom: 14px; }
.ebys-filters--bar { padding: 0 0 12px; border-bottom: 0; margin-bottom: 0; }

/* ---------- Προεπισκόπηση (aside) — κοινά κομμάτια ---------- */
.ebys-pv-head { display: flex; flex-direction: column; gap: 8px; }
.ebys-pv-kicker { font-size: 12px; font-weight: 600; color: #98a2b3; }
.ebys-pv-title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #101828; text-wrap: pretty; line-height: 1.25; }
.ebys-pv-status { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.ebys-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }
.ebys-pv-box { display: flex; flex-direction: column; border: 1px solid #eaecf0; border-radius: 10px; background: #ffffff; overflow: hidden; }
.ebys-pv-boxrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eaecf0; }
.ebys-pv-boxrow:last-child { border-bottom: 0; }
.ebys-pv-boxrow-main { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ebys-pv-boxrow-side { font-size: 12px; color: #667085; white-space: nowrap; }
.ebys-pv-sec { display: flex; flex-direction: column; }
.ebys-pv-sectitle { font-size: 12px; font-weight: 700; color: #101828; margin-bottom: 6px; }
.ebys-pv-toggle { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0; border: 0; background: none; font-family: inherit; font-size: 12px; font-weight: 700; color: #101828; text-align: left; cursor: pointer; width: 100%; }
.ebys-pv-toggle > span:first-child { flex: 1; }
.ebys-pv-toggle-meta { font-size: 11.5px; font-weight: 600; color: #667085; }
.ebys-pv-toggle-caret { font-size: 10px; }
.ebys-kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid #f2f4f7; align-items: baseline; }
.ebys-kv:last-child { border-bottom: 0; }
.ebys-kv-k { font-size: 12px; color: #98a2b3; }
.ebys-kv-v { font-size: 13px; font-weight: 600; color: #101828; overflow-wrap: anywhere; }
.ebys-kv-src { font-size: 10px; font-weight: 700; color: #98a2b3; }
.ebys-kv--src { grid-template-columns: 96px minmax(0, 1fr) auto; }
.ebys-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.ebys-pv-amount-k { font-size: 12px; color: #98a2b3; }
.ebys-pv-amount { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #101828; }
.ebys-pv-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ebys-pv-actions .syn-btn { width: 100%; height: 40px; font-size: 13.5px; }
/* πορεία (timeline) */
.ebys-steps { display: flex; flex-direction: column; }
.ebys-step { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.ebys-step-rail { display: flex; flex-direction: column; align-items: center; }
.ebys-step-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid transparent; box-sizing: border-box; margin-top: 4px; flex: none; }
.ebys-step-line { width: 2px; flex: 1; min-height: 14px; background: #eaecf0; }
.ebys-step:last-child .ebys-step-line { display: none; }
.ebys-step-body { display: flex; flex-direction: column; gap: 1px; padding-bottom: 10px; }
.ebys-step-lab { font-size: 12.5px; font-weight: 700; color: #101828; }
.ebys-step-sub { font-size: 11.5px; color: #98a2b3; }
.ebys-step.is-todo .ebys-step-lab { color: #98a2b3; font-weight: 600; }
/* αρχεία */
.ebys-files { background: #ffffff; border: 1px solid #e4e7ec; border-radius: 10px; overflow: hidden; }
.ebys-file { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f2f4f7; }
.ebys-file:last-child { border-bottom: 0; }
.ebys-file-ic { width: 22px; height: 26px; flex: none; border-radius: 4px; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; font-size: 7px; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px; box-sizing: border-box; }
.ebys-file-main { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.ebys-file-name { font-size: 12.5px; font-weight: 700; color: #101828; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-file-meta { font-size: 11px; color: #667085; }
.ebys-iconbtn { width: 32px; height: 32px; flex: none; border: 1px solid #e4e7ec; background: #ffffff; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #475467; padding: 0; cursor: pointer; text-decoration: none; }
.ebys-iconbtn:hover { background: #f2f4f7; color: #101828; }
.ebys-iconbtn.is-danger { border-color: #fecdca; color: #d92d20; }
.ebys-iconbtn.is-danger:hover { background: #fef3f2; }
/* καταστάσεις «τελεία + κείμενο» (χρωματικές παραλλαγές) */
.ebys-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ebys-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.ebys-st.ok { color: #067647; } .ebys-st.ok::before { background: #17b26a; }
.ebys-st.warn { color: #b54708; } .ebys-st.warn::before { background: #f79009; }
.ebys-st.bad { color: #b42318; } .ebys-st.bad::before { background: #f04438; }
.ebys-st.info { color: #175cd3; } .ebys-st.info::before { background: #2e90fa; }
.ebys-st.muted { color: #667085; } .ebys-st.muted::before { background: #98a2b3; }
.ebys-st-sub { font-size: 11.5px; color: #667085; padding-left: 12px; }
/* κελιά λιστών δύο γραμμών */
.ebys-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ebys-cell-main { font-size: 13.5px; font-weight: 700; color: #101828; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-cell-sub { font-size: 12px; color: #667085; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-cell-id { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: #98a2b3; }

/* header μέσα στη ροή: να πιάνει όλο το πλάτος (το .app-toolbar είναι flex row → αλλιώς «μαζεύεται» στο περιεχόμενο) */
.ebys-shell #kt_app_header.app-header { width: 100%; flex: 1 1 auto; }
.ebys-shell #kt_app_header_container { width: 100%; }
.ebys-shell #kt_app_header_wrapper { flex: 1 1 auto; min-width: 0; }
/* λίστες με προεπισκόπηση: σειρές χωρίς διαχωριστικά (μόνο hover/επιλογή), όπως στη σχεδίαση */
.ebys-list--preview .k-grid tbody tr { border-bottom: 0 !important; }

/* ---------- Μικρά στοιχεία λιστών: «+N», ετικέτες, μέλη ---------- */
.ebys-more { font-size: 11.5px; font-weight: 700; color: #475467; background: #f2f4f7; padding: 1px 7px; border-radius: 999px; flex: none; }
.ebys-tag { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; flex: none; white-space: nowrap; }
.ebys-tag.info { color: #175cd3; background: #eff8ff; }
.ebys-tag.warn { color: #b54708; background: #fffaeb; }
.ebys-tag.ok { color: #067647; background: #ecfdf3; }
.ebys-tag.bad { color: #b42318; background: #fef3f2; }
.ebys-tag.muted { color: #475467; background: #f2f4f7; }
.ebys-member { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: #101828; text-decoration: none; }
.ebys-member:hover { background: #f2f4f7; color: #101828; text-decoration: none; }
.ebys-member-av { width: 26px; height: 26px; border-radius: 50%; background: #eef4ff; color: #3538cd; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.ebys-member-name { font-size: 13px; font-weight: 600; flex: 1; min-width: 0; }
.ebys-member-chev { color: #98a2b3; font-size: 15px; }
.ebys-list .table-buttons .ebys-rowchev { border: 0; background: none; padding: 0 4px; color: #98a2b3; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; }
.ebys-list .k-table-row:hover .ebys-rowchev { color: #475467; }
.ebys-search.ebys-search--narrow { max-width: 520px; }
.ebys-search.ebys-search--sm { max-width: 420px; }
/* λίστα χωρίς tabs: η μπάρα φίλτρων κλείνει με λεπτή γραμμή (όπως Νοικοκυριά/Ωφελούμενοι στη σχεδίαση) */
.ebys-list .app-container > .ebys-filters--bar:first-child { padding-bottom: 16px; border-bottom: 1px solid #eaecf0; margin-bottom: 4px; }

/* ---------- Segmented κατάστασης + σημείωση λίστας ---------- */
.ebys-segs { display: flex; gap: 4px; padding: 3px; background: #f2f4f7; border-radius: 8px; flex-wrap: wrap; flex: none; }
.ebys-segs-btn { height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: #667085; font-family: inherit; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.ebys-segs-btn:hover { color: #101828; }
.ebys-segs-btn.is-on { background: #ffffff; color: #101828; box-shadow: 0 1px 2px rgba(16, 24, 40, .1); }
.ebys-segs-n { font-size: 11px; color: #98a2b3; }
.ebys-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #475467; text-wrap: pretty; margin: 0 0 16px; }
.ebys-note svg { flex: none; margin-top: 2px; }
/* δεξιά στοίχιση κεφαλίδας (HeaderClass="text-end") — το Telerik τυλίγει τον τίτλο σε flex .k-cell-inner */
.ebys-list .k-grid th.text-end .k-cell-inner, .ebys-list .k-grid .k-table-th.text-end .k-cell-inner { justify-content: flex-end; }
.ebys-list .k-grid th.text-end .k-link, .ebys-list .k-grid .k-table-th.text-end .k-link { justify-content: flex-end; }
.ebys-list .table-buttons .ebys-rowchev { border: 0 !important; background: none !important; box-shadow: none !important; width: auto; height: auto; }

/* ---------- Αρχική διαχειριστή: «Χρειάζεται ενέργεια» ---------- */
.ebys-home-sec { display: flex; flex-direction: column; padding-top: 4px; }
.ebys-home-sechead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.ebys-home-sectitle { font-size: 15px; font-weight: 800; color: #101828; }
.ebys-home-all { font-size: 12.5px; font-weight: 700; color: #475467; text-decoration: none; }
.ebys-home-all:hover { color: #101828; text-decoration: none; }
.ebys-todo { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 -12px; border-radius: 8px; border-bottom: 1px solid #f2f4f7; color: #101828; text-decoration: none; }
.ebys-todo:hover { background: #f9fafb; color: #101828; text-decoration: none; }

/* ---------- Καρτέλες (detail): επικεφαλίδα, ζώνη στοιχείων, ενότητες, δεξιά στήλη ---------- */
.ebys-dhead { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ebys-back { font-size: 12.5px; color: #667085; font-weight: 600; text-decoration: none; }
.ebys-back:hover { color: #101828; text-decoration: none; }
.ebys-dtitle { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #101828; text-wrap: pretty; }
.ebys-dtitle.sm { font-size: 26px; line-height: 1.15; }
.ebys-dtitle-hash { color: #98a2b3; }
.ebys-dmeta { display: flex; flex-wrap: wrap; margin-top: 6px; }
.ebys-dmeta-item { display: flex; flex-direction: column; gap: 3px; padding-right: 20px; margin-right: 20px; border-right: 1px solid #eaecf0; }
.ebys-dmeta-item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.ebys-dmeta-k { font-size: 11.5px; color: #98a2b3; }
.ebys-dmeta-v { font-size: 14px; font-weight: 700; color: #101828; text-decoration: none; }
a.ebys-dmeta-v:hover { color: #101828; text-decoration: underline; }
.ebys-dmeta-sub { color: #667085; font-weight: 600; }
.ebys-dsub { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: #667085; flex-wrap: wrap; }
.ebys-statuspill { font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; align-self: flex-end; }
.ebys-statuspill.ok { color: #067647; background: #ecfdf3; }
.ebys-statuspill.info { color: #175cd3; background: #eff8ff; }
.ebys-statuspill.warn { color: #b54708; background: #fffaeb; }
.ebys-statuspill.bad { color: #b42318; background: #fef3f2; }
.ebys-statuspill.muted { color: #475467; background: #f2f4f7; }
.ebys-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 0 16px; border-top: 1px solid #eaecf0; border-bottom: 1px solid #eaecf0; padding: 4px 0; }
.ebys-fact { padding: 12px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ebys-fact-k { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #98a2b3; }
.ebys-fact-v { font-size: 13px; font-weight: 600; color: #101828; overflow-wrap: anywhere; }
.ebys-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); border-top: 1px solid #eaecf0; border-bottom: 1px solid #eaecf0; }
.ebys-kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 0; }
.ebys-kpi-k { font-size: 12px; color: #98a2b3; }
.ebys-kpi-v { font-size: 16px; font-weight: 700; line-height: 30px; color: #101828; }
.ebys-kpi-v.big { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 30px; }
.ebys-sechead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.ebys-sectitle { font-size: 16px; font-weight: 800; color: #101828; flex: 1; }
.ebys-secmeta { font-size: 12.5px; color: #667085; }
.ebys-asidelabel { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98a2b3; margin-bottom: 14px; }
.ebys-tech { display: flex; flex-direction: column; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid #f2f4f7; }
.ebys-tech-k { font-size: 11.5px; color: #98a2b3; }
.ebys-tech-v { font-size: 12px; font-weight: 600; font-family: 'JetBrains Mono', ui-monospace, monospace; overflow-wrap: anywhere; color: #344054; }
.ebys-rel { display: flex; justify-content: space-between; font-size: 13px; color: #101828; padding: 6px 0; border-bottom: 1px solid #f2f4f7; text-decoration: none; }
.ebys-rel span { color: #475467; }
.ebys-rel:hover { color: #101828; text-decoration: none; background: #f9fafb; }
.ebys-countbadge { font-size: 11.5px; font-weight: 700; color: #0b1424; background: #ffd166; border-radius: 999px; padding: 1px 7px; line-height: 1.4; }

/* ---------- Γραμμές λιστών σε καρτέλες (CSS grid, --cols ανά πίνακα) ---------- */
.ebys-rows { display: flex; flex-direction: column; }
.ebys-rows-head, .ebys-rows-row { display: grid; grid-template-columns: var(--cols); gap: 12px; align-items: center; }
.ebys-rows-head { padding: 10px 0 8px; border-bottom: 1px solid #eaecf0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98a2b3; }
.ebys-rows-row { padding: 11px 12px; margin: 0 -12px; border-radius: 8px; font-size: 12.5px; color: #101828; border-bottom: 1px solid #f2f4f7; text-decoration: none; }
a.ebys-rows-row:hover, .ebys-rows-row.is-click:hover { background: #f9fafb; color: #101828; text-decoration: none; cursor: pointer; }
.ebys-rows-row.is-static { padding-left: 0; padding-right: 0; margin: 0; border-radius: 0; }
.ebys-rows-chev { color: #98a2b3; font-size: 16px; text-align: center; }
.ebys-rows-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 14px; font-size: 12.5px; color: #667085; }
.ebys-rows-foot b { color: #101828; }
.ebys-pgbtn { min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid #e4e7ec; background: #ffffff; border-radius: 6px; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #344054; display: inline-flex; align-items: center; justify-content: center; }
.ebys-pgbtn.is-on { background: #101828; border-color: #101828; color: #ffffff; }
.ebys-pgbtn:disabled { opacity: .4; }

/* ---------- Σκούρο sticky πάνελ ενεργειών (πληρωμή / αναμονή / μη αποθηκευμένες αλλαγές) ---------- */
.ebys-actionbar { position: sticky; bottom: 16px; z-index: 5; margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; background: #101828; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(16, 24, 40, .45); }
.ebys-actionbar-head { display: flex; align-items: center; gap: 10px; }
.ebys-actionbar-title { font-size: 14px; font-weight: 800; color: #ffffff; flex: 1; }
.ebys-actionbar-side { font-size: 12.5px; color: #98a2b3; }
.ebys-actionbar-side b { color: #ffffff; font-size: 15px; font-variant-numeric: tabular-nums; }
.ebys-actionbar-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.ebys-actionbar-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.ebys-actionbar-field > span { font-size: 11.5px; font-weight: 600; color: #98a2b3; }
.ebys-actionbar-field input { height: 38px; border: 1px solid #344054; background: #1d2939; color: #ffffff; border-radius: 8px; padding: 0 12px; font-size: 13.5px; outline: none; min-width: 0; font-family: inherit; }
.ebys-actionbar-field input.ebys-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.ebys-actionbar-field .k-datepicker, .ebys-actionbar-field .ebys-actionbar-date { height: 38px; border: 1px solid #344054 !important; background: #1d2939 !important; color: #ffffff !important; border-radius: 8px !important; }
.ebys-actionbar-field .k-input-inner { color: #ffffff !important; }
.ebys-actionbar-cancel { height: 38px; padding: 0 14px; border: 1px solid #344054; background: transparent; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 600; color: #ffffff; }
.ebys-actionbar-ok { height: 38px; padding: 0 18px; border: 0; background: #ffffff; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 800; color: #101828; }
.ebys-actionbar-ok:disabled { opacity: .45; }
.ebys-actionbar.is-compact { flex-direction: row; align-items: center; padding: 12px 14px 12px 18px; border-radius: 12px; gap: 12px; }

/* ---------- Μεγάλη «Πορεία» (κύκλοι 24px με ✓) ---------- */
.ebys-bigstep { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.ebys-bigstep-dot { width: 24px; height: 24px; border-radius: 50%; background: #ffffff; border: 2px solid #d0d5dd; color: #ffffff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-sizing: border-box; flex: none; }
.ebys-bigstep-dot.done { background: #17b26a; border-color: #17b26a; }
.ebys-bigstep-dot.current { border-color: #101828; }
.ebys-bigstep-dot.warn { background: #f79009; border-color: #f79009; }
.ebys-bigstep-dot.bad { background: #f04438; border-color: #f04438; }
.ebys-bigstep-body { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 16px; }
.ebys-bigstep-lab { font-size: 13px; font-weight: 700; }
.ebys-holdbox { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; margin: 4px 0 6px; background: #fffaeb; border: 1px solid #fedf89; border-radius: 8px; font-size: 12.5px; color: #b54708; }
.ebys-holdbox span { color: #475467; text-wrap: pretty; }

/* ---------- GenericDetail: ενότητα «χαρτιού» (κύρια κάρτα) ---------- */
.ebys-section { display: flex; flex-direction: column; gap: 14px; }
.ebys-section-head { display: flex; align-items: center; gap: 8px; }
.ebys-section-head h2 { font-size: 15px; font-weight: 800; color: #101828; margin: 0; letter-spacing: -.01em; }
.ebys-section-head.is-click { cursor: pointer; }
.ebys-section-head i { font-size: 12px; color: #667085; }
.ebys-section-body.hidden { display: none; }
.ebys-detail .ebys-actionbar.is-compact { margin-top: 24px; }

/* ---------- Καρτέλες: δύο στήλες ενοτήτων, πεδία με ετικέτα, φόρμα μέσα στη σελίδα ---------- */
.ebys-twocol { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 28px; }
.ebys-fieldgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.ebys-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.ebys-field > span { font-size: 12px; font-weight: 600; color: #667085; }
.ebys-inlineform { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid #101828; border-radius: 12px; }
.ebys-inlineform.is-bad { border-color: #fecdca; background: #fef3f2; }
.ebys-inlineform-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }

/* tabs: το Telerik theme βάζει μέγεθος/περίγραμμα στο .k-link και στο ενεργό tab — ισχυρότερα overrides */
.ebys-shell .k-tabstrip-items-wrapper .k-tabstrip-item .k-link { font-size: 13.5px !important; font-weight: 700 !important; line-height: 18px; color: inherit !important; }
.ebys-shell .k-tabstrip-items-wrapper.k-hstack .k-tabstrip-item, .ebys-shell .k-tabstrip-items-wrapper.k-hstack .k-tabstrip-item.k-active { border-top: 0 !important; border-left: 0 !important; border-right: 0 !important; box-shadow: none !important; outline: 0 !important; }
.ebys-shell .k-tabstrip-items-wrapper .k-tabstrip-item.k-focus, .ebys-shell .k-tabstrip-items-wrapper .k-tabstrip-item:focus { box-shadow: none !important; }

/* ---------- Φόρμες σχεδίασης 10/2026: πλέγμα πεδίων, διακόπτης, tags, πρόσθετα ------------ */
.ebys-formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px 16px; }
.ebys-formgrid .span-2 { grid-column: span 2; }
@media (max-width: 560px) { .ebys-formgrid .span-2 { grid-column: auto; } }
.ebys-field .k-datepicker, .ebys-field .k-combobox, .ebys-field .k-dropdownlist, .ebys-field .k-multiselect, .ebys-field .k-textarea { width: 100%; }

.ebys-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 38px; margin: 0; cursor: pointer; font-size: 13px; font-weight: 600; color: #344054; user-select: none; }
.ebys-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ebys-switch-track { position: relative; flex: none; width: 36px; height: 20px; border-radius: 999px; background: #d0d5dd; transition: background .15s; }
.ebys-switch-knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 2px rgba(16, 24, 40, .2); transition: left .15s; }
.ebys-switch input:checked + .ebys-switch-track { background: #101828; }
.ebys-switch input:checked + .ebys-switch-track .ebys-switch-knob { left: 18px; }
.ebys-switch input:focus-visible + .ebys-switch-track { outline: 2px solid #84adff; outline-offset: 2px; }
.ebys-switch.is-disabled { cursor: not-allowed; opacity: .55; }

/* multi-select ως «κουτί με tags» (Κατηγορίες φορέα / Φορείς) */
.ebys-shell .k-multiselect.ebys-tagselect { min-height: 38px; height: auto !important; padding: 5px 8px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; background: #ffffff !important; box-shadow: none !important; }
.ebys-shell .k-multiselect.ebys-tagselect .k-input-values { gap: 6px; padding: 0; }
.ebys-shell .k-multiselect.ebys-tagselect .k-input-inner { font-size: 12.5px; color: #98a2b3; padding: 0 4px; min-height: 26px; }
.ebys-shell .k-multiselect .k-chip { height: 26px; padding: 0 4px 0 10px; border: 0 !important; border-radius: 6px !important; background: #f2f4f7 !important; color: #101828 !important; font-size: 12.5px; font-weight: 600; box-shadow: none !important; }
.ebys-shell .k-multiselect .k-chip .k-chip-remove-action, .ebys-shell .k-multiselect .k-chip .k-chip-action { color: #667085; border-radius: 4px; }
.ebys-shell .k-multiselect .k-chip .k-chip-action:hover { background: #e4e7ec; color: #101828; }
.ebys-shell .k-multiselect.k-disabled.ebys-tagselect { background: #f9fafb !important; opacity: 1; }

/* «+ Φόρμα»: διακεκομμένο κουμπί προσθήκης */
.ebys-addbtn { align-self: flex-start; height: 34px; padding: 0 12px; border: 1px dashed #d0d5dd; background: #ffffff; border-radius: 8px; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #344054; cursor: pointer; }
.ebys-addbtn:hover { background: #f9fafb; border-color: #98a2b3; }
.ebys-formes-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 32px; gap: 12px; align-items: center; }
.ebys-formes-row.ebys-rows-head { padding: 0; border: 0; }

/* πρότυπο αρχείο: κουμπί επιλογής με διακεκομμένο πλαίσιο */
.ebys-dropzone { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; margin: 0; border: 1px dashed #d0d5dd; border-radius: 8px; font-size: 13px; font-weight: 600; color: #475467; cursor: pointer; background: #ffffff; }
.ebys-dropzone:hover { background: #f9fafb; color: #101828; }
.ebys-dropzone--file { position: relative; }
.ebys-dropzone--file.is-off { cursor: default; color: #98a2b3; background: #f9fafb; }
.ebys-dropzone-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
/* τύπος εγγράφου άδειας: κάρτες επιλογής με εξήγηση (TyposAdeiasEpilogi — πάροχος & Φάκελος παρόχου) */
.ebys-choices { display: flex; flex-direction: column; gap: 8px; }
.ebys-choice { display: flex; align-items: flex-start; gap: 11px; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid #e4e7ec; border-radius: 10px; background: #ffffff; cursor: pointer; }
.ebys-choice:hover:not(:disabled) { background: #f9fafb; }
.ebys-choice:disabled { cursor: default; opacity: .7; }
.ebys-choice.is-on { border-color: #101828; box-shadow: inset 0 0 0 1px #101828; }
.ebys-choice-o { width: 16px; height: 16px; flex: none; margin-top: 1px; border-radius: 50%; border: 1.5px solid #d0d5dd; background: #ffffff; box-sizing: border-box; }
.ebys-choice.is-on .ebys-choice-o { border: 5px solid #101828; }
.ebys-choice-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ebys-choice-body b { font-size: 13px; font-weight: 700; color: #101828; }
.ebys-choice-body span { font-size: 12px; font-weight: 500; color: #667085; text-wrap: pretty; }
label.ebys-iconbtn { margin: 0; }

/* πεδίο με μονάδα δεξιά (€, έτη, %) */
.ebys-suffix { display: flex; align-items: center; height: 38px; border: 1px solid #d0d5dd; border-radius: 8px; background: #ffffff; overflow: hidden; }
.ebys-suffix:focus-within { border-color: #101828; }
.ebys-suffix input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 12px; font-family: inherit; font-size: 13.5px; outline: none; background: transparent; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.ebys-suffix input::-webkit-outer-spin-button, .ebys-suffix input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ebys-suffix i { font-style: normal; padding: 0 10px; height: 100%; display: flex; align-items: center; font-size: 12px; color: #98a2b3; border-left: 1px solid #eaecf0; background: #f9fafb; }

/* editor κανόνα φόρτωσης voucher (πάνελ μέσα στη σελίδα) */
.ebys-rule { display: flex; flex-direction: column; margin-top: 10px; border: 1px solid #d0d5dd; border-radius: 14px; overflow: hidden; background: #ffffff; box-shadow: 0 12px 32px -16px rgba(16, 24, 40, .25); }
.ebys-rule-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eaecf0; }
.ebys-rule-body { display: flex; flex-wrap: wrap; align-items: stretch; }
.ebys-rule-main { flex: 999 1 480px; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 26px; }
.ebys-rule-step { display: flex; flex-direction: column; gap: 12px; }
.ebys-rule-steph { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.ebys-rule-steph b { font-weight: 800; color: #101828; }
.ebys-rule-steph .syn-btn { align-self: center; }
.ebys-rule-num { font-size: 11px; font-weight: 800; color: #98a2b3; font-variant-numeric: tabular-nums; }
.ebys-rule-hint { font-size: 12px; color: #98a2b3; }
.ebys-rule-code { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #0b1424; }
.ebys-rule-code textarea { border: 0; padding: 14px 16px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.65; outline: none; resize: vertical; background: transparent; color: #e4e7ec; }
.ebys-rule-code textarea::placeholder { color: #667085; }
.ebys-rule-ins { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid #1f2d45; background: #101b2e; }
.ebys-rule-ins span { align-self: center; margin-right: 4px; font-size: 11px; font-weight: 700; color: #7d8aa0; }
.ebys-rule-ins button { height: 24px; padding: 0 8px; border: 1px solid #233046; background: #142036; border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: #c7cfdb; cursor: pointer; }
.ebys-rule-ins button:hover { background: #1f2d45; color: #ffffff; }
.ebys-rule-params { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ebys-rule-zones { display: flex; flex-direction: column; border: 1px solid #eaecf0; border-radius: 10px; overflow: hidden; }
.ebys-rule-zone { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 32px; gap: 10px; padding: 8px 12px; align-items: center; border-bottom: 1px solid #f2f4f7; }
.ebys-rule-zone.is-head { background: #f9fafb; border-bottom-color: #eaecf0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98a2b3; }
.ebys-shell .app-content .ebys-rule-zone .form-control { height: 34px; min-height: 34px; }
.ebys-rule-zoneadd { height: 38px; border: 0; background: #ffffff; padding: 0 12px; text-align: left; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #344054; cursor: pointer; }
.ebys-rule-zoneadd:hover { background: #f9fafb; }
.ebys-rule-aside { flex: 1 1 clamp(280px, 23vw, 400px); min-width: 0; padding: 20px; background: #f9fafb; border-left: 1px solid #eaecf0; display: flex; flex-direction: column; gap: 14px; }
.ebys-rule-help { font-size: 12.5px; color: #475467; line-height: 1.6; text-wrap: pretty; }
.ebys-rule-help code, .ebys-rule-var code { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: #101828; }
.ebys-rule-help code { background: #eaecf0; padding: 1px 5px; border-radius: 4px; }
.ebys-rule-varsh { padding-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98a2b3; }
.ebys-rule-var { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid #eaecf0; font-size: 12px; align-items: baseline; }
.ebys-rule-var code { font-weight: 600; overflow-wrap: anywhere; background: none; padding: 0; border-radius: 0; }
.ebys-rule-var span { color: #475467; }
.ebys-rule-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid #eaecf0; background: #ffffff; }

/* ---------- Ωφελούμενος / μέλη νοικοκυριού (σχεδίαση 10/2026) ------------ */
.ebys-facts.ebys-facts--lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0; padding: 0; }
.ebys-facts--lg .ebys-fact { padding: 16px 16px 16px 0; }
.ebys-facts--lg .ebys-fact-k { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ebys-facts--lg .ebys-fact-v { font-size: 14px; font-weight: 700; }

/* απλή λίστα με πάνελ προεπισκόπησης δίπλα (π.χ. «Προεπισκόπηση ωφελούμενου») */
.ebys-inlinemd { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ebys-inlinemd-main { flex: 999 1 560px; min-width: 0; }
/* πλαϊνά πάνελ μέσα στη σελίδα: πλάτη του mock (300/320/280px) που μεγαλώνουν αναλογικά σε πλατιές οθόνες, όπως το .ebys-md-aside */
.ebys-inlinemd-side { flex: 1 1 clamp(320px, 26vw, 440px); min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ebys-inlinemd-side > .ebys-inlinemd-aside { flex: none; }
.ebys-inlinemd-aside { flex: 1 1 clamp(300px, 24vw, 420px); min-width: 0; border: 1px solid #eaecf0; border-radius: 12px; background: #fcfcfd; padding: 18px; }
.ebys-list--preview .k-grid .k-table-row { cursor: pointer; }
.ebys-simple-add { margin-bottom: 8px; }

/* ---------- Υποβολή καταλόγου / αξιολόγηση (σχεδίαση 10/2026) ------------ */
.ebys-st.mix { color: #6941c6; } .ebys-st.mix::before { background: #7a5af8; }
.ebys-kstats { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; border-top: 1px solid #eaecf0; border-bottom: 1px solid #eaecf0; }
.ebys-kstats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
.ebys-kstat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ebys-kstat-k { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #98a2b3; }
.ebys-kstat-k i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.ebys-kstat-v { font-size: 18px; font-weight: 700; line-height: 30px; color: #101828; font-variant-numeric: tabular-nums; }
.ebys-kstat-v.big { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ebys-kstat-d { font-size: 13.5px; font-weight: 700; color: #101828; }
.ebys-kstat-t { font-size: 11.5px; color: #98a2b3; }
.ebys-kstats-bar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; background: #f2f4f7; }
.ebys-warnbox { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; background: #fffaeb; border: 1px solid #fedf89; border-radius: 8px; font-size: 12.5px; color: #b54708; text-wrap: pretty; }
.ebys-warnbox svg { flex: none; margin-top: 1px; }
.ebys-collhead { display: flex; align-items: center; gap: 10px; padding: 4px 0; cursor: pointer; user-select: none; }
.ebys-lockrow { display: grid; grid-template-columns: 120px 110px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid #f2f4f7; font-size: 12.5px; align-items: center; }
.ebys-kcrumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; padding-bottom: 10px; border-bottom: 1px solid #eaecf0; }
.ebys-kcrumbs a { color: #667085; font-weight: 500; cursor: pointer; text-decoration: none; }
.ebys-kcrumbs a:hover { color: #101828; }
.ebys-kcrumbs a.is-here { color: #101828; font-weight: 700; }
.ebys-kcrumbs .sep { color: #d0d5dd; }
.ebys-knode { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 16px; gap: 12px; align-items: center; padding: 11px 12px; margin: 0 -12px; border-radius: 8px; cursor: pointer; }
.ebys-knode:hover { background: #f9fafb; }
.ebys-knode.is-static { cursor: default; }
.ebys-knode.is-sel { background: #f2f4f7; box-shadow: inset 0 0 0 1px #d0d5dd; }
.ebys-knode-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ebys-knode-name { font-size: 13.5px; font-weight: 700; color: #101828; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-knode-code { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: #98a2b3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-knode-sub { font-size: 11.5px; color: #98a2b3; white-space: nowrap; }
.ebys-knode-arrow { color: #98a2b3; font-size: 15px; text-align: center; }
.ebys-kdec { flex: 1; height: 38px; border: 1px solid #d0d5dd; background: #ffffff; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 700; color: #344054; cursor: pointer; }
.ebys-kdec:hover { background: #f9fafb; }
.ebys-kdec.is-ok { border-color: #101828; background: #101828; color: #ffffff; }
.ebys-kdec.is-bad { border-color: #fecdca; background: #fef3f2; color: #d92d20; }
.ebys-kdec.is-on { border-color: #101828; color: #101828; box-shadow: inset 0 0 0 1px #101828; }
.ebys-khist { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid #f2f4f7; }
.ebys-khist:last-child { border-bottom: 0; }

/* ---------- Χάρτης καταστημάτων (σχεδίαση 10/2026) ------------ */
.ebys-mapbox { position: relative; min-height: 460px; border: 1px solid #eaecf0; border-radius: 12px; overflow: hidden; background: #f2f4f7; }
.ebys-mapbox .syn-mapwrap { border: 0 !important; border-radius: 0 !important; }
.ebys-mapbox .leaflet-container { font-family: inherit; }
.ebys-mapbox-empty { display: flex; align-items: center; justify-content: center; min-height: 460px; font-size: 13px; color: #667085; }
.ebys-maplegend { position: absolute; left: 12px; bottom: 12px; z-index: 500; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: #ffffff; border: 1px solid #eaecf0; border-radius: 10px; box-shadow: 0 8px 16px -8px rgba(16, 24, 40, .2); }
.ebys-maplegend:empty { display: none; }
.ebys-maplegend-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.ebys-maplegend-row span { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #ffffff; flex: none; }
.ebys-maplegend-row b { font-weight: 600; flex: 1; }
.ebys-maplegend-row em { font-style: normal; color: #667085; font-variant-numeric: tabular-nums; }

/* εξαίρεση: η πλωτή κάρτα πληροφοριών του χάρτη καταστημάτων κρατά πλαίσιο (KatastimataMapView) */
.ebys-shell .app-content:not(.app-frontpage) .syn-mapwrap .card.shadow { border: 1px solid #eaecf0 !important; background: #ffffff !important; border-radius: 12px !important; box-shadow: 0 12px 24px -8px rgba(16, 24, 40, .25) !important; margin-bottom: 0 !important; }
.ebys-shell .app-content:not(.app-frontpage) .syn-mapwrap .card.shadow > .card-header { padding: 8px 12px !important; border-bottom: 1px solid #eaecf0 !important; }
.ebys-shell .app-content:not(.app-frontpage) .syn-mapwrap .card.shadow > .card-body { padding: 12px !important; }


/* ---------- Αρχική παρόχου (σχεδίαση 10/2026 «ΕΒΥΣ App» → Πάροχος · Αρχική — αλλαγές 26/10) ------------ */
/* Δύο στήλες πάνω στο .ebys-md: κύρια (λευκή, flex 999 1 560px· 28px πάνω + 32px πλάγια από το container) και πλαϊνή
   γκρι πλήρους ύψους (flex 1 1 320px, 28px 24px) που πέφτει κάτω σε στενό παράθυρο. Σε desktop δεν υπάρχει header. */
.ebys-md.ebys-phome { align-content: flex-start; }
.ebys-md-aside.ebys-phome-aside { flex: 1 1 320px; gap: 28px; }
.ebys-phome-main { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 992px) { .ebys-phome-main { padding-top: 28px; } }
.ebys-phome-head { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ebys-phome-hi { font-size: 12.5px; color: #667085; }
.ebys-phome-name { margin: 0; overflow-wrap: anywhere; }
.ebys-phome .ebys-home-sechead { flex-wrap: wrap; row-gap: 2px; }
.ebys-phome-ek { max-width: 760px; }
.ebys-phome-ekmeta { font-size: 12px; color: #98a2b3; font-variant-numeric: tabular-nums; }
.ebys-phome-more { padding: 10px 0 0; font-size: 12px; color: #98a2b3; }
.ebys-phome-files { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.ebys-phome-kv .ebys-kv { grid-template-columns: 92px minmax(0, 1fr); border-bottom-color: #eaecf0; }
.ebys-hfile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e4e7ec; border-radius: 10px; background: #ffffff; min-width: 0; }
.ebys-hfile-ext { width: 22px; height: 26px; flex: none; border-radius: 4px; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; font-size: 7px; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px; box-sizing: border-box; }
.ebys-hfile-ext.is-zip { background: #f2f4f7; border-color: #d0d5dd; color: #475467; }
.ebys-hfile-ext.is-api { background: #eff8ff; border-color: #b2ddff; color: #175cd3; }
.ebys-hfile-main { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.ebys-hfile-name { font-size: 13px; font-weight: 700; color: #101828; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-hfile-meta { font-size: 11.5px; color: #667085; }
.ebys-todo-cta { font-size: 12.5px; font-weight: 700; color: #101828; white-space: nowrap; }
/* γραμμή εκκαθάρισης: αριστερά ημερομηνία + κατάσταση από κάτω, δεξιά ποσό + πλήθος συναλλαγών από κάτω */
.ebys-hrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; margin: 0 -12px; border-radius: 8px; border-bottom: 1px solid #f2f4f7; color: #101828; text-decoration: none; }
.ebys-hrow:hover { background: #f9fafb; color: #101828; text-decoration: none; }
.ebys-hrow-main { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.ebys-hrow-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ebys-hrow-title { max-width: 100%; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ebys-hrow-store { font-weight: 600; color: #98a2b3; }
.ebys-hrow-sub { font-size: 11.5px; color: #667085; white-space: nowrap; }
.ebys-hrow-amt { font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ebys-hrow .ebys-st { font-size: 12px; }


/* ---------- Portal παρόχου: κατάστημα (σχεδίαση 10/2026) ------------ */
.ebys-pstore-grid { display: grid; gap: 12px; }
@media (max-width: 560px) { .ebys-pstore-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.ebys-pdoc { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid #e4e7ec; background: #ffffff; border-radius: 10px; }
.ebys-badbox { padding: 10px 12px; background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px; font-size: 12.5px; color: #b42318; text-wrap: pretty; }

/* ---------- Αξιολόγηση καταλόγου (handoff «Νέα οθόνη αξιολόγησης καταλόγου», 11/2026) ------------ */
.krv-stats { margin-top: 22px; padding: 16px 0 18px; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.krv-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); row-gap: 14px; }
.krv-stat { padding: 0 16px; border-left: 1px solid #e5e7eb; }
.krv-stat:first-child { padding-left: 0; border-left: 0; }
.krv-stat:last-child { padding-right: 0; }
.krv-stat-k { font-size: 12px; color: #64748b; display: flex; gap: 6px; align-items: center; }
.krv-stat-k i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.krv-stat-v { font-size: 28px; font-weight: 800; line-height: 1.1; margin-top: 6px; color: #0f172a; }
.krv-stat-s { font-size: 11.5px; color: #94a3b8; margin-top: 2px; }
.krv-stat-d { font-size: 15px; font-weight: 700; margin-top: 10px; color: #0f172a; }
.krv-progress { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; margin-top: 18px; }
.krv-progress b { font-weight: 700; color: #0f172a; }
.krv-bar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: #f1f3f6; margin-top: 6px; }
.krv-bar > div { transition: width .3s; }

.krv-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 28%, 360px); gap: 20px; margin-top: 20px; align-items: start; }
@media (max-width: 991px) { .krv-layout { grid-template-columns: minmax(0, 1fr); } }

.krv-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.krv-tabs { display: flex; flex-wrap: wrap; max-width: 100%; gap: 4px; background: #f1f3f6; padding: 3px; border-radius: 9px; }
.krv-tab { border: 0; border-radius: 7px; padding: 7px 12px; font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; background: transparent; color: #334155; display: flex; gap: 6px; align-items: center; }
.krv-tab.is-on { background: #0e1726; color: #ffffff; }
.krv-tab span { font-family: 'JetBrains Mono', monospace; font-size: 11px; opacity: .7; }
.krv-search { flex: 1 1 200px; min-width: 160px; border: 1px solid #d6dbe3; border-radius: 8px; padding: 9px 12px; font-size: 13px; font-family: inherit; outline: none; color: #0f172a; background: #ffffff; }
.krv-search:focus { border-color: #94a3b8; }

.krv-bulk { display: flex; gap: 10px; align-items: center; background: #0e1726; color: #ffffff; border-radius: 10px; padding: 8px 10px 8px 14px; margin-bottom: 10px; font-size: 13px; position: sticky; top: 8px; z-index: 3; }
.krv-bulk b { font-weight: 700; }
.krv-bulk button { border-radius: 7px; padding: 7px 12px; font-family: inherit; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.krv-bulk .ok { border: 0; background: #ffffff; color: #0f172a; }
.krv-bulk .no { border: 1px solid #475569; background: transparent; color: #ffffff; }
.krv-bulk .clr { border: 1px solid #334155; background: transparent; color: #cbd5e1; padding: 7px 10px; font-weight: 400; }

.krv-treehead { display: flex; justify-content: space-between; align-items: center; margin: 4px 2px 8px; font-size: 12px; color: #64748b; gap: 10px; flex-wrap: wrap; }
.krv-treehead button { border: 0; background: none; color: #334155; font-family: inherit; font-size: 12px; cursor: pointer; padding: 0; text-decoration: underline; }
.krv-tree { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 12px; padding: 6px; }
.krv-row { display: flex; align-items: stretch; padding: 0 10px 0 4px; border-radius: 8px; border: 1px solid transparent; background: #ffffff; cursor: pointer; }
.krv-row.d1 { background: #f1f3f6; }
.krv-row.d2 { background: #f8f9fb; }
.krv-row.is-sel { background: #f6f8fb; }
.krv-row.is-focus { background: #e6ebf2; border-color: #c5cedb; }
.krv-row.is-ctx { opacity: .55; }
.krv-guides { display: flex; flex: 0 0 auto; }
.krv-guide { position: relative; width: 22px; flex: 0 0 22px; }
.krv-guide .v { position: absolute; left: 10px; top: -1px; bottom: -1px; border-left: 1.5px solid #c3cbd6; }
.krv-guide .v.half { bottom: 50%; }
.krv-guide .h { position: absolute; left: 10px; top: 50%; width: 12px; border-top: 1.5px solid #c3cbd6; }
.krv-row-body { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 9px 0 9px 4px; }
.krv-chev { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #64748b; border-radius: 4px; flex: none; }
.krv-cb { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #cbd5e1; background: #ffffff; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 10px; font-weight: 800; flex: none; }
.krv-cb.is-on { border-color: #0e1726; background: #0e1726; }
.krv-name { min-width: 0; flex: 1 1 140px; }
.krv-name-t { font-size: 13.5px; color: #0f172a; }
.krv-name-c { font-size: 11.5px; color: #94a3b8; font-family: 'JetBrains Mono', monospace; }
.krv-chip { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.krv-chip.pend { color: #c2410c; background: #fff4e8; }
.krv-chip.mix { color: #6d4ae0; background: #f1edff; }
.krv-ai { display: flex; align-items: stretch; border: 1px solid; border-radius: 4px; overflow: hidden; font-size: 9.5px; line-height: 1.25; white-space: nowrap; cursor: help; }
.krv-ai b { color: #ffffff; font-weight: 800; padding: 1px 4px; letter-spacing: .3px; }
.krv-ai span { font-weight: 700; padding: 1px 5px; }
.krv-ai.e { border-color: #bbf7d0; } .krv-ai.e b { background: #16a34a; } .krv-ai.e span { background: #ecfdf3; color: #15803d; }
.krv-ai.n { border-color: #fecaca; } .krv-ai.n b { background: #dc2626; } .krv-ai.n span { background: #fef2f2; color: #b91c1c; }
.krv-ai.u { border-color: #fde68a; } .krv-ai.u b { background: #b45309; } .krv-ai.u span { background: #fffbeb; color: #92400e; }
.krv-acts { display: flex; gap: 6px; justify-content: flex-end; align-items: center; margin-left: auto; }
.krv-btn-ok { border: 1px solid #0f172a; background: #0f172a; color: #ffffff; border-radius: 7px; padding: 6px 12px; font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.krv-btn-ok:hover { background: #1e293b; }
.krv-btn-no { border: 1px solid #d6dbe3; background: #ffffff; color: #0f172a; border-radius: 7px; padding: 6px 12px; font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.krv-btn-no:hover { background: #f8f9fb; }
.krv-st { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.krv-link { border: 0; background: transparent; color: #64748b; font-family: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 4px; }
.krv-more { padding: 10px 12px; font-size: 12.5px; color: #64748b; }
.krv-empty { padding: 40px; text-align: center; color: #64748b; font-size: 13.5px; border: 1px dashed #d6dbe3; border-radius: 12px; }

.krv-aside { min-width: 0; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.krv-focus { border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; background: #ffffff; }
.krv-focus-path { font-size: 12px; color: #64748b; text-wrap: pretty; }
.krv-focus-name { font-size: 18px; font-weight: 800; margin: 4px 0 6px; color: #0f172a; text-wrap: pretty; }
.krv-focus-meta { display: flex; gap: 10px; font-size: 12px; align-items: center; flex-wrap: wrap; color: #64748b; }
.krv-focus-meta b { font-weight: 700; }
.krv-cascade { margin-top: 10px; font-size: 12px; color: #334155; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 8px 10px; text-wrap: pretty; }
.krv-aibox { margin-top: 14px; padding: 12px; background: #f8f9fb; border-radius: 8px; }
.krv-aibox-h { font-size: 12px; font-weight: 700; display: flex; gap: 8px; color: #0f172a; }
.krv-aibox-t { font-size: 12.5px; color: #334155; line-height: 1.55; margin-top: 6px; text-wrap: pretty; }
.krv-aibox-n { font-size: 11px; color: #94a3b8; margin-top: 6px; }
.krv-comment { width: 100%; margin-top: 12px; border: 1px solid #d6dbe3; border-radius: 8px; padding: 9px 11px; font-size: 13px; font-family: inherit; resize: vertical; outline: none; color: #0f172a; }
.krv-comment:focus { border-color: #94a3b8; }
.krv-decide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.krv-decide button { border-radius: 8px; padding: 12px; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; display: flex; justify-content: center; gap: 8px; align-items: center; }
.krv-decide .ok { border: 0; background: #0f172a; color: #ffffff; }
.krv-decide .ok:hover { background: #1e293b; }
.krv-decide .no { border: 1px solid #d6dbe3; background: #ffffff; color: #0f172a; }
.krv-decide .no:hover { background: #f8f9fb; }
.krv-decide button:disabled { opacity: .6; cursor: default; }
.krv-hint { font-size: 11.5px; color: #64748b; margin-top: 8px; text-align: center; }
.krv-reset { width: 100%; margin-top: 10px; border: 1px solid #d6dbe3; background: #ffffff; border-radius: 8px; padding: 11px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: #0f172a; }
.krv-done { border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 12px; padding: 20px; font-size: 13.5px; color: #14532d; }
.krv-done b { display: block; font-weight: 800; font-size: 15px; }
.krv-hist { margin-top: 14px; display: flex; flex-direction: column; }
.krv-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #0e1726; color: #ffffff; border-radius: 10px; padding: 10px 10px 10px 16px; display: flex; gap: 14px; align-items: center; font-size: 13px; box-shadow: 0 10px 30px rgba(14, 23, 38, .25); z-index: 1100; }
.krv-toast button { border: 1px solid #334155; background: transparent; color: #ffffff; border-radius: 7px; padding: 6px 10px; font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
