/*
 * Espo-style theme for SuiteCRM 8 (runtime override layer)
 * Values taken from EspoCRM 10.1.1 "Espo" (light) and "Dark" themes.
 * Everything is scoped under html.espo-ui  ->  remove that class (or this <link>) to get stock SuiteCRM back.
 */
@font-face{font-family:Inter;font-weight:400;font-style:normal;font-display:swap;src:url(espo-fonts/Inter-Regular.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:500;font-style:normal;font-display:swap;src:url(espo-fonts/Inter-Medium.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:600;font-style:normal;font-display:swap;src:url(espo-fonts/Inter-SemiBold.woff2) format("woff2")}

/* ---------- Tokens: light (Espo default) ---------- */
html.espo-ui {
  --e-bg: #f1f3f5;
  --e-text: #262626;
  --e-text-muted: #5c5c5c;
  --e-link: #245b8c;
  --e-link-hover: #1a4163;
  --e-primary: #5589ca;
  --e-primary-hover: #386fb4;
  --e-primary-text: #FFF;
  --e-danger: #d7657d;
  --e-danger-hover: #cc3d5b;
  --e-success: #58c97a;
  --e-warning: #e4a133;
  --e-info: #9b86c9;
  --e-nav-bg: #f1f3f5;
  --e-nav-border: #e0e2e3;
  --e-nav-link: #262626;
  --e-nav-hover-bg: #ececed;
  --e-nav-active-bg: #dee1e7;
  --e-nav-icon: #5c5c5c;
  --e-table-bg: #ffffff;
  --e-table-accent: #f9f9f9;
  --e-panel-bg: #ffffff;
  --e-panel-border: #e7eaed;
  --e-panel-radius: 8px;
  --e-input-bg: #FEFEFE;
  --e-input-border: #D1D5D6;
  --e-input-focus: #66afe9;
  --e-input-color: #262626;
  --e-input-disabled-bg: #e6e6e6;
  --e-btn-bg: #fcfcfc;
  --e-btn-border: #c2cacc;
  --e-btn-color: #585858;
  --e-btn-hover-bg: #f4f4f4;
  --e-btn-hover-border: #bac3c5;
  --e-dd-bg: #FEFEFE;
  --e-dd-border: #e0e2e3;
  --e-dd-hover-bg: #f5f5f5;
  --e-dd-color: #262626;
  --e-modal-bg: #f1f3f5;
  --e-row-hover: var(--e-dd-hover-bg);
  --e-radius: 6px;
  --e-radius-sm: 4px;
  color-scheme: light;
}
/* ---------- Tokens: dark (Espo Dark) ---------- */
html.espo-ui[data-espo-mode="dark"] {
  --e-bg: #18191d;
  --e-text: #dbdbdb;
  --e-text-muted: #b7b7b7;
  --e-link: #92b9db;
  --e-link-hover: #6ca0ce;
  --e-primary: #486581;
  --e-primary-hover: #364b60;
  --e-primary-text: #FFF;
  --e-danger: #9f505c;
  --e-danger-hover: #7d3f48;
  --e-success: #53784d;
  --e-warning: #836a40;
  --e-info: #5d4d83;
  --e-nav-bg: #18191d;
  --e-nav-border: #38393e;
  --e-nav-link: #dbdbdb;
  --e-nav-hover-bg: #28292e;
  --e-nav-active-bg: #2b2d2e;
  --e-nav-icon: #b2b0b0;
  --e-table-bg: #23262a;
  --e-table-accent: #1a1a1a;
  --e-panel-bg: #23262a;
  --e-panel-border: #38393e;
  --e-panel-radius: 10px;
  --e-input-bg: #18191d;
  --e-input-border: #45474c;
  --e-input-focus: #4b7b9d;
  --e-input-color: #dbdbdb;
  --e-input-disabled-bg: #505050;
  --e-btn-bg: #2e2e2e;
  --e-btn-border: #45474c;
  --e-btn-color: #d1d1d1;
  --e-btn-hover-bg: #292929;
  --e-btn-hover-border: #404247;
  --e-dd-bg: #1f1f22;
  --e-dd-border: #38393e;
  --e-dd-hover-bg: #28292e;
  --e-dd-color: #dbdbdb;
  --e-modal-bg: #18191d;
  color-scheme: dark;
}

/* ---------- Base ---------- */
html.espo-ui, html.espo-ui body {
  background: var(--e-bg) !important;
  color: var(--e-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html.espo-ui body { font-size: 14px; }
html.espo-ui a { color: var(--e-link); }
html.espo-ui a:hover { color: var(--e-link-hover); }
html.espo-ui ::selection { background: var(--e-primary); color: var(--e-primary-text); }

/* ---------- Navbar ---------- */
html.espo-ui .top-panel,
html.espo-ui .top-panel .navbar,
html.espo-ui .navbar-1,
html.espo-ui .navbar-2,
html.espo-ui .mobilenavbar {
  background: var(--e-nav-bg) !important;
  box-shadow: none !important;
}
html.espo-ui .top-panel { border-bottom: 1px solid var(--e-nav-border); }
html.espo-ui .top-panel .navbar .nav-link,
html.espo-ui .top-panel .navbar .nav-item > a,
html.espo-ui .top-panel .navbar .top-nav a,
html.espo-ui .top-panel .navbar .menu-item-wrapper a,
html.espo-ui .top-panel .navbar button {
  color: var(--e-nav-link) !important;
  font-weight: 500;
  font-size: 13px;
  border-radius: var(--e-radius);
}
html.espo-ui .top-panel .navbar .top-nav:hover,
html.espo-ui .top-panel .navbar .nav-item:hover > a,
html.espo-ui .top-panel .navbar .global-link-item:hover > a {
  background: var(--e-nav-hover-bg) !important;
  border-radius: var(--e-radius);
}
html.espo-ui .top-panel .navbar .top-nav.active,
html.espo-ui .top-panel .navbar .nav-item.active,
html.espo-ui .top-panel .navbar .top-nav.active > a {
  background: var(--e-nav-active-bg) !important;
  border-radius: var(--e-radius);
}
html.espo-ui .top-panel .navbar-action-group svg,
html.espo-ui .top-panel .navbar-action-group svg *,
html.espo-ui .top-panel .global-action-icon svg,
html.espo-ui .top-panel .global-action-icon svg *,
html.espo-ui .top-panel .navbar-toggler svg *,
html.espo-ui .top-panel .responsive-menu-toggler svg * {
  fill: var(--e-nav-icon) !important;
}
html.espo-ui .top-panel .navbar input,
html.espo-ui .top-panel .navbar .search-input {
  background: var(--e-input-bg) !important;
  color: var(--e-input-color) !important;
  border: 1px solid var(--e-input-border) !important;
  border-radius: var(--e-radius);
}

/* ---------- Dropdowns, popovers, modals ---------- */
html.espo-ui .dropdown-menu {
  background: var(--e-dd-bg) !important;
  color: var(--e-dd-color);
  border: 1px solid var(--e-dd-border) !important;
  border-radius: var(--e-radius) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.12) !important;
}
html.espo-ui .dropdown-menu a,
html.espo-ui .dropdown-menu .dropdown-item,
html.espo-ui .dropdown-menu li,
html.espo-ui .dropdown-menu span { color: var(--e-dd-color) !important; }
html.espo-ui .dropdown-menu a:hover,
html.espo-ui .dropdown-menu .dropdown-item:hover,
html.espo-ui .dropdown-menu li:hover { background: var(--e-dd-hover-bg) !important; }
html.espo-ui .modal-content {
  background: var(--e-modal-bg) !important;
  color: var(--e-text);
  border: 1px solid var(--e-panel-border);
  border-radius: calc(var(--e-radius) + 2px);
}
html.espo-ui .modal-header,
html.espo-ui .modal-footer { background: transparent !important; border-color: var(--e-panel-border) !important; color: var(--e-text); }

/* ---------- Buttons ---------- */
html.espo-ui .btn { border-radius: var(--e-radius); font-weight: 500; box-shadow: none; }
html.espo-ui .btn-main,
html.espo-ui .btn-primary,
html.espo-ui .btn.btn-main {
  background: var(--e-primary) !important;
  border: 1px solid var(--e-primary-hover) !important;
  color: var(--e-primary-text) !important;
}
html.espo-ui .btn-main:hover,
html.espo-ui .btn-primary:hover { background: var(--e-primary-hover) !important; }
html.espo-ui .btn-secondary,
html.espo-ui .btn-main-light,
html.espo-ui .btn-default,
html.espo-ui .btn-light {
  background: var(--e-btn-bg) !important;
  border: 1px solid var(--e-btn-border) !important;
  color: var(--e-btn-color) !important;
}
html.espo-ui .btn-secondary:hover,
html.espo-ui .btn-main-light:hover,
html.espo-ui .btn-default:hover,
html.espo-ui .btn-light:hover { background: var(--e-btn-hover-bg) !important; border-color: var(--e-btn-hover-border) !important; }
html.espo-ui .btn-danger {
  background: var(--e-danger) !important;
  border: 1px solid var(--e-danger-hover) !important;
  color: #fff !important;
}

/* ---------- Forms ---------- */
html.espo-ui input.form-control,
html.espo-ui select.form-control,
html.espo-ui textarea.form-control,
html.espo-ui .form-control,
html.espo-ui input[type="text"],
html.espo-ui input[type="email"],
html.espo-ui input[type="number"],
html.espo-ui input[type="password"],
html.espo-ui textarea,
html.espo-ui select {
  background-color: var(--e-input-bg);
  color: var(--e-input-color);
  border: 1px solid var(--e-input-border);
  border-radius: var(--e-radius-sm);
}
html.espo-ui .form-control:focus,
html.espo-ui input:focus,
html.espo-ui textarea:focus,
html.espo-ui select:focus {
  border-color: var(--e-input-focus) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--e-input-focus) 25%, transparent) !important;
  outline: 0;
}
html.espo-ui .form-control:disabled,
html.espo-ui input:disabled { background: var(--e-input-disabled-bg); }
html.espo-ui label, html.espo-ui .field-label, html.espo-ui .record-view .label { color: var(--e-text-muted); font-weight: 500; }

/* ---------- List view ---------- */
html.espo-ui .list-view,
html.espo-ui .list-view-container { background: transparent; color: var(--e-text); }
html.espo-ui .list-view-title,
html.espo-ui .list-view-header h1,
html.espo-ui .list-view-header .title-font { color: var(--e-text) !important; font-weight: 600; letter-spacing: -.01em; }
html.espo-ui .list-view-table,
html.espo-ui .table-wrapper {
  background: var(--e-table-bg);
  border: 1px solid var(--e-panel-border);
  border-radius: var(--e-panel-radius);
  overflow: hidden;
  box-shadow: none;
}
html.espo-ui .list-view-table .table,
html.espo-ui .table { background: transparent; color: var(--e-text); margin-bottom: 0; }
html.espo-ui .table thead th,
html.espo-ui .list-view-table thead th,
html.espo-ui .primary-table-header {
  background: var(--e-table-accent) !important;
  color: var(--e-text-muted) !important;
  font-weight: 600;
  font-size: 12px;
  border-bottom: 1px solid var(--e-panel-border) !important;
  border-top: 0 !important;
}
html.espo-ui .table td,
html.espo-ui .table th,
html.espo-ui .list-view-table td {
  border-top: 1px solid var(--e-panel-border) !important;
  color: var(--e-text);
  padding-top: 8px; padding-bottom: 8px;
}
html.espo-ui .striped-table tbody tr,
html.espo-ui .striped-table tbody tr:nth-of-type(odd),
html.espo-ui .striped-table tbody tr:nth-of-type(even) { background: transparent !important; }
html.espo-ui .table tbody tr:hover,
html.espo-ui .list-view-table tbody tr:hover { background: var(--e-row-hover) !important; }
html.espo-ui .list-view-table a { color: var(--e-link); }
html.espo-ui .table-header,
html.espo-ui .table-footer { background: transparent !important; color: var(--e-text); border-color: var(--e-panel-border) !important; }
html.espo-ui .bulk-action { color: var(--e-text); }

/* ---------- Detail / record view ---------- */
html.espo-ui .record-view,
html.espo-ui .record-view-container { background: transparent; color: var(--e-text); }
html.espo-ui .record-view-header,
html.espo-ui .record-view-position-sticky { background: var(--e-bg) !important; border-bottom: 1px solid var(--e-panel-border); box-shadow: none; }
html.espo-ui .record-view-title,
html.espo-ui .record-view-name,
html.espo-ui .record-view-name-label { color: var(--e-text) !important; font-weight: 600; }
html.espo-ui .panel-card,
html.espo-ui .card {
  background: var(--e-panel-bg) !important;
  color: var(--e-text);
  border: 1px solid var(--e-panel-border) !important;
  border-radius: var(--e-panel-radius) !important;
  box-shadow: none !important;
}
html.espo-ui .panel-card .card-header,
html.espo-ui .card-header {
  background: transparent !important;
  color: var(--e-text) !important;
  border-bottom: 1px solid var(--e-panel-border) !important;
  border-radius: var(--e-panel-radius) var(--e-panel-radius) 0 0 !important;
}
html.espo-ui .panel-card .panel-title { color: var(--e-text) !important; font-weight: 600; font-size: 15px; }
html.espo-ui .panel-card .card-body { background: transparent; color: var(--e-text); }
html.espo-ui .nav-tabs { border-bottom: 1px solid var(--e-panel-border); }
html.espo-ui .nav-tabs .nav-link { color: var(--e-text-muted); border: 0; }
html.espo-ui .nav-tabs .nav-link.active { color: var(--e-text); background: transparent; border-bottom: 2px solid var(--e-primary); }

/* ---------- Theme toggle button (added by espo-theme.js) ---------- */
html.espo-ui .espo-mode-toggle .action-link { cursor: pointer; display: inline-flex; align-items: center; padding: 0 .5em; }
html.espo-ui .espo-mode-toggle svg { width: 18px; height: 18px; }
html.espo-ui .espo-mode-toggle svg * { fill: var(--e-nav-icon) !important; }

/* ======================================================================
 * Side navbar (toggle button in the navbar; class html.espo-nav-side)
 * Desktop only (>= 992px). On smaller screens SuiteCRM's own mobile navbar is kept.
 * ====================================================================== */
html.espo-ui .espo-nav-toggle .action-link { cursor: pointer; display: inline-flex; align-items: center; padding: 0 .5em; }
html.espo-ui .espo-nav-toggle svg { width: 18px; height: 18px; }
html.espo-ui .espo-nav-toggle svg * { fill: var(--e-nav-icon) !important; }

@media (min-width: 992px) {
  html.espo-ui.espo-nav-side { --e-side-w: 232px; }

  html.espo-ui.espo-nav-side .top-panel.fixed-top {
    top: 0; bottom: 0; left: 0; right: auto;
    width: var(--e-side-w); height: 100vh;
    border-bottom: 0;
    border-right: 1px solid var(--e-nav-border);
  }
  html.espo-ui.espo-nav-side .top-panel nav.navbar,
  html.espo-ui.espo-nav-side .top-panel .navbar-1 {
    height: 100% !important;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px 8px !important;
  }
  html.espo-ui.espo-nav-side .top-panel .navbar-collapse {
    display: flex !important;
    flex-direction: column;
    flex: 0 1 auto;
    align-items: stretch;
    height: auto;
  }
  html.espo-ui.espo-nav-side .top-panel .navbar-nav {
    flex-direction: column !important;
    width: 100%;
    align-items: stretch;
  }
  html.espo-ui.espo-nav-side .top-panel .navbar-nav > li,
  html.espo-ui.espo-nav-side .top-panel .top-nav,
  html.espo-ui.espo-nav-side .top-panel .nav-item,
  html.espo-ui.espo-nav-side .top-panel scrm-menu-items-list,
  html.espo-ui.espo-nav-side .top-panel scrm-home-menu-item {
    display: block;
    width: 100%;
    height: auto !important;
    position: relative;
  }
  html.espo-ui.espo-nav-side .top-panel .navbar .nav-link,
  html.espo-ui.espo-nav-side .top-panel .navbar .top-nav-link,
  html.espo-ui.espo-nav-side .top-panel .navbar .home-nav-link,
  html.espo-ui.espo-nav-side .top-panel .navbar .menu-item-wrapper a {
    display: block;
    line-height: 1.4 !important;
    height: auto !important;
    padding: 9px 14px !important;
    text-align: start;
  }
  /* sub-menus open to the side instead of downward */
  html.espo-ui.espo-nav-side .top-panel .navbar-nav .dropdown-menu,
  html.espo-ui.espo-nav-side .top-panel .navbar .dropdown-menu.submenu {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
    margin: 0 0 0 6px !important;
    transform: none !important;
    min-width: 220px;
    z-index: 1100;
  }
  /* icons / search / user menu go to the bottom of the sidebar */
  html.espo-ui.espo-nav-side .top-panel .navbar-action-group {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--e-nav-border);
    width: 100%;
    float: none;
  }
  html.espo-ui.espo-nav-side .top-panel .navbar-action-group .action-search { width: 100%; order: -1; padding: 0 0 8px !important; }
  html.espo-ui.espo-nav-side .top-panel .navbar-action-group .action-dropdown .dropdown-menu { left: 0 !important; right: auto !important; bottom: 100% !important; top: auto !important; }
  html.espo-ui.espo-nav-side .top-panel .global-links { width: 100%; margin-top: 6px; }
  html.espo-ui.espo-nav-side .top-panel .global-links .dropdown-menu { left: 0 !important; right: auto !important; bottom: 100% !important; top: auto !important; }

  /* push the page content to the right of the sidebar and drop the top-bar offsets */
  html.espo-ui.espo-nav-side .app-shell { margin-left: var(--e-side-w); min-height: 100vh; }
  html.espo-ui.espo-nav-side .list-view,
  html.espo-ui.espo-nav-side .record-view { padding-top: .5em; }
  html.espo-ui.espo-nav-side .record-view-position-sticky { top: 0; }
  html.espo-ui.espo-nav-side .classic-view-container iframe { padding-top: 0; }
  html.espo-ui.espo-nav-side .footer { left: var(--e-side-w) !important; width: calc(100% - var(--e-side-w)) !important; }
}

/* ======================================================================
 * Detail view: Activities as its own card above the Timeline
 * (the card is moved into the right column by espo-theme.js)
 * ====================================================================== */
@media (min-width: 992px) {
  html.espo-ui .record-view-container.espo-has-activities > .row > .col-lg-9 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  html.espo-ui .record-view-container.espo-has-activities > .row > .record-widget-container { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
html.espo-ui .record-widget-container .espo-activities-card {
  display: block;
  width: 100%;
  margin: 0 0 16px 0;
  font-size: 13px;
}
html.espo-ui .record-widget-container .espo-activities-card .panel-card { margin-bottom: 0; }
html.espo-ui .record-widget-container .espo-activities-card [panel-body],
html.espo-ui .record-widget-container .espo-activities-card .card-body { overflow-x: auto; }
html.espo-ui .record-widget-container .espo-activities-card table { min-width: 100%; }

/* ======================================================================
 * Activities subpanel: "Actions" dropdown shown as a row of icon buttons
 * (icons + tooltips are added by espo-theme.js)
 * ====================================================================== */
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown-toggle,
html.espo-ui .subpanel-activities scrm-action-group-menu button[ngbdropdowntoggle] { display: none !important; }
html.espo-ui .subpanel-activities scrm-action-group-menu,
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown,
html.espo-ui .subpanel-activities scrm-action-group-menu .btn-group { display: inline-flex !important; align-items: center; }
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown-menu {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown-item {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: var(--e-radius) !important;
  background: var(--e-btn-bg) !important;
  border: 1px solid var(--e-btn-border) !important;
  color: var(--e-btn-color) !important;
  cursor: pointer;
}
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown-item:hover {
  background: var(--e-btn-hover-bg) !important;
  border-color: var(--e-btn-hover-border) !important;
}
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown-item > div { display: inline-flex; align-items: center; justify-content: center; width: 100%; }
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown-item-label { display: none !important; }
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown-item .espo-act-icon,
html.espo-ui .subpanel-activities scrm-action-group-menu .dropdown-item span { display: inline-flex; margin: 0 !important; }
html.espo-ui .subpanel-activities scrm-action-group-menu .espo-act-icon svg { width: 16px; height: 16px; }
html.espo-ui .subpanel-activities scrm-action-group-menu .espo-act-icon svg * { fill: currentColor; }

/* ======================================================================
 * Mobile slide-out menu (PrimeNG sidebar) - follows Espo light / dark tokens
 * ====================================================================== */
html.espo-ui .p-sidebar,
html.espo-ui .p-sidebar-header,
html.espo-ui .p-sidebar-content,
html.espo-ui .sidebar-container,
html.espo-ui .mobile-menu-container {
  background: var(--e-nav-bg) !important;
}
html.espo-ui .p-sidebar {
  border-right: 1px solid var(--e-nav-border);
  box-shadow: 0 0 24px rgba(0, 0, 0, .2);
}
html.espo-ui .p-sidebar-header { border-bottom: 1px solid var(--e-nav-border); }
html.espo-ui .sidebar-container,
html.espo-ui .sidebar-container *,
html.espo-ui .mobile-menu-items,
html.espo-ui .mobile-menu-items * {
  color: var(--e-nav-link) !important;
}
html.espo-ui .sidebar-container li {
  border-top: 1px solid var(--e-nav-border) !important;
}
html.espo-ui .sidebar-container li:first-child { border-top: 0 !important; }
html.espo-ui .sidebar-container li:hover,
html.espo-ui .sidebar-container li:focus-within,
html.espo-ui .sidebar-container a:hover {
  background: var(--e-nav-hover-bg) !important;
}
html.espo-ui .sidebar-container li.active,
html.espo-ui .sidebar-container .active {
  background: var(--e-nav-active-bg) !important;
}
html.espo-ui .mobile-menu-item-label { font-weight: 500; font-size: 14px; }
html.espo-ui .sidebar-container svg,
html.espo-ui .sidebar-container svg *,
html.espo-ui .p-sidebar-header svg,
html.espo-ui .p-sidebar-header svg * {
  fill: var(--e-nav-icon) !important;
}
html.espo-ui .p-sidebar-header input,
html.espo-ui .search-bar-mobile-menu input {
  background: var(--e-input-bg) !important;
  color: var(--e-input-color) !important;
  border: 1px solid var(--e-input-border) !important;
  border-radius: var(--e-radius) 0 0 var(--e-radius);
}
html.espo-ui .p-sidebar-header input::placeholder { color: var(--e-text-muted); opacity: .8; }
html.espo-ui .p-sidebar-header button.btn,
html.espo-ui .search-bar-mobile-menu button {
  background: var(--e-btn-bg) !important;
  border: 1px solid var(--e-btn-border) !important;
  border-radius: 0 var(--e-radius) var(--e-radius) 0;
}

/* ---------- Scrollbars (Espo-like thin) ---------- */
html.espo-ui ::-webkit-scrollbar { width: 10px; height: 10px; }
html.espo-ui ::-webkit-scrollbar-thumb { background: var(--e-nav-border); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
