:root { --telcoops-brand: #5d87ff; --telcoops-rail-width: 64px; --telcoops-toolbar-height: 48px; }
#main-wrapper .page-wrapper { height: 100vh; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden !important; }
#main-wrapper .page-wrapper > .body-wrapper { flex: 1 1 auto; min-height: 0; margin-bottom: 8px; overflow-y: auto; }
#main-wrapper .page-wrapper > .telcoops-footer { flex: 0 0 auto; margin-top: 0; background: #fff; }
.telcoops-page-content { min-height: calc(100vh - 146px); }
.telcoops-mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 11px; background: var(--telcoops-brand); color: #fff; }
.telcoops-brand { color: var(--bs-dark); font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.telcoops-brand strong { color: var(--telcoops-brand); }
.telcoops-avatar { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bs-primary-bg-subtle); color: var(--bs-primary); font-weight: 700; }
.telcoops-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.topbar .telcoops-profile-identity { display: flex; flex-direction: column; min-width: 0; max-width: 160px; text-align: left; line-height: 1.15; }
.topbar .telcoops-profile-identity strong,
.topbar .telcoops-profile-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .telcoops-profile-identity strong { color: var(--bs-heading-color); font-size: .76rem; font-weight: 700; }
.topbar .telcoops-profile-identity small { color: var(--bs-secondary-color); font-size: .65rem; }
@media (max-width: 575.98px) { .topbar .telcoops-profile-identity { display: none; } }
.topbar .workspace-toolbar-popover,
.workspace-shortcuts-menu {
  border: 1px solid #e0e3e8 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 16px 38px rgb(30 45 74 / .16) !important;
}
.topbar .workspace-toolbar-popover { z-index: 1080; overflow: hidden; color: #202833; }
.topbar .telcoops-profile-menu { width: 236px; min-width: 236px; margin-top: 0; padding: 10px; }
.topbar .telcoops-profile-menu-heading { display: flex; align-items: center; gap: 10px; margin: 0 2px 5px; padding: 4px 6px 9px; border-bottom: 1px solid #e0e3e8; line-height: 1.3; }
.topbar .telcoops-profile-menu-heading .telcoops-avatar { flex: 0 0 32px; width: 32px; height: 32px; }
.topbar .telcoops-profile-menu-person { display: flex; flex-direction: column; min-width: 0; }
.topbar .telcoops-profile-menu-heading strong { overflow: hidden; color: #202833; font-size: .8rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.topbar .telcoops-profile-menu-heading small { overflow: hidden; color: #6c7786; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.topbar .telcoops-profile-menu .dropdown-item { display: flex; align-items: center; gap: 9px; min-height: 31px; padding: 5px 7px; border: 0; border-radius: 7px; color: #202833; background: transparent; font-size: .76rem; text-decoration: none; }
.topbar .telcoops-profile-menu .dropdown-item:hover,
.topbar .telcoops-profile-menu .dropdown-item:focus-visible { color: #202833; background: #f3f5f8; }
.topbar .telcoops-profile-menu .dropdown-item iconify-icon { flex: 0 0 16px; color: #6c7786; font-size: 16px; }
.topbar .telcoops-profile-menu-logout { margin-top: 5px; padding-top: 5px; border-top: 1px solid #e0e3e8; }
.workspace-shortcuts-menu {
  position: fixed;
  display: flex;
  align-items: stretch;
  width: 646px;
  min-width: 646px;
  max-width: calc(100vw - 2rem);
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 1080;
}
.workspace-shortcuts-menu[hidden] { display: none !important; }
.workspace-shortcuts-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1 1 0; min-width: 0; gap: 2px; padding: 14px 16px; }
.workspace-shortcut-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 9px;
  color: #3f4a59;
  text-decoration: none;
  transition: background-color .16s ease, transform .16s ease;
}
.workspace-shortcut-link:hover,
.workspace-shortcut-link:focus-visible,
.workspace-shortcut-link.is-preview-active { color: #273548; background: #f4f7fb; transform: translateX(2px); }
.workspace-shortcut-link > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.22; }
.workspace-shortcut-link strong { overflow: hidden; color: #3e4957; font-size: .78rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.workspace-shortcut-link small { overflow: hidden; margin-top: 2px; color: #98a3b1; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.workspace-shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 19px;
}
.workspace-shortcut-icon-chat { color: #7567f4; background: #e9e7ff; }
.workspace-shortcut-icon-profile { color: #43b980; background: #e4f8ec; }
.workspace-shortcut-icon-ai { color: #29b7bd; background: #daf7f7; }
.workspace-shortcut-icon-calendar { color: #7461e8; background: #e8e5ff; }
.workspace-shortcut-icon-contact { color: #1abcbf; background: #daf7f7; }
.workspace-shortcut-icon-notes { color: #e1a217; background: #fff5d9; }
.workspace-shortcut-icon-email { color: #e8668d; background: #ffe0e9; }
.workspace-shortcut-icon-kanban { color: #f09d3c; background: #fff0dc; }
.workspace-shortcuts-art {
  --shortcut-art-from: #3521a9;
  --shortcut-art-via: #7d21dd;
  --shortcut-art-to: #11cfd4;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  flex: 0 0 225px;
  overflow: hidden;
  min-height: 236px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--shortcut-art-from), var(--shortcut-art-via) 52%, var(--shortcut-art-to));
  transition: background .24s ease;
}
.workspace-shortcuts-art[data-tone="green"] { --shortcut-art-from: #075f58; --shortcut-art-via: #1a9d72; --shortcut-art-to: #8bdc93; }
.workspace-shortcuts-art[data-tone="cyan"] { --shortcut-art-from: #083b78; --shortcut-art-via: #076ea4; --shortcut-art-to: #14d8d2; }
.workspace-shortcuts-art[data-tone="indigo"] { --shortcut-art-from: #26227f; --shortcut-art-via: #6254d9; --shortcut-art-to: #a793ff; }
.workspace-shortcuts-art[data-tone="teal"] { --shortcut-art-from: #075967; --shortcut-art-via: #0a8d9a; --shortcut-art-to: #59dfc4; }
.workspace-shortcuts-art[data-tone="amber"] { --shortcut-art-from: #7a3e08; --shortcut-art-via: #dc8817; --shortcut-art-to: #ffd465; }
.workspace-shortcuts-art[data-tone="rose"] { --shortcut-art-from: #751b48; --shortcut-art-via: #d23c78; --shortcut-art-to: #ff91b3; }
.workspace-shortcuts-art[data-tone="orange"] { --shortcut-art-from: #71300c; --shortcut-art-via: #dc681e; --shortcut-art-to: #ffbd5d; }
.workspace-shortcuts-art::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 28%, rgb(7 13 31 / .76) 100%);
}
.workspace-shortcuts-art > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .2s ease, transform .35s ease;
}
.workspace-shortcuts-art.has-image > img { opacity: 1; transform: scale(1); }
.workspace-shortcuts-art-orb { position: absolute; z-index: -1; display: block; border-radius: 44% 56% 63% 37%; background: rgb(255 255 255 / .17); filter: blur(.2px); transition: transform .35s ease, opacity .2s ease; }
.workspace-shortcuts-art-orb-one { width: 168px; height: 168px; top: -45px; right: -52px; transform: rotate(24deg); }
.workspace-shortcuts-art-orb-two { width: 126px; height: 126px; right: 52px; bottom: 48px; transform: rotate(62deg); background: rgb(4 13 67 / .22); }
.workspace-shortcuts-art.has-image .workspace-shortcuts-art-orb { opacity: 0; }
.workspace-shortcuts-art-content { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; min-width: 0; width: 100%; text-shadow: 0 1px 12px rgb(0 0 0 / .24); }
.workspace-shortcuts-art-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid rgb(255 255 255 / .32); border-radius: 13px; background: rgb(255 255 255 / .18); backdrop-filter: blur(8px); font-size: 23px; }
.workspace-shortcuts-art-content > div { display: flex; flex-direction: column; min-width: 0; }
.workspace-shortcuts-art-content strong { overflow: hidden; color: #fff; font-size: .79rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.workspace-shortcuts-art-content small { overflow: hidden; margin-top: 2px; color: rgb(255 255 255 / .78); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575.98px) {
  .workspace-shortcuts-menu { width: calc(100vw - 2rem); min-width: 0; }
  .workspace-shortcuts-art { display: none; }
  .workspace-shortcuts-links { grid-template-columns: 1fr; }
}
.sidebarmenu .brand-logo { min-height: var(--telcoops-toolbar-height); padding: 0 20px; }
.telcoops-footer { margin-top: auto; border-top: 0; color: var(--bs-secondary-color); background: var(--bs-body-bg); }
.btn-label-primary { color: #3f63d7; background: #eaf0ff; border-color: #eaf0ff; }
.btn-label-primary:hover { color: #fff; background: #5d87ff; border-color: #5d87ff; }
.btn-label-secondary { color: #526172; background: #eef2f6; border-color: #eef2f6; }
.btn-label-warning { color: #8a6100; background: #fff3d8; border-color: #fff3d8; }
.btn-label-danger { color: #c93636; background: #ffe9e9; border-color: #ffe9e9; }
.btn-label-danger:hover,
.btn-label-danger:focus-visible { color: #a92727; background: #ffd5d5; border-color: #ffd5d5; }
.bg-label-primary { color: #3f63d7 !important; background: #eaf0ff !important; }
.bg-label-secondary { color: #526172 !important; background: #eef2f6 !important; }
.bg-label-success { color: #21875a !important; background: #e0f6ec !important; }
.bg-label-warning { color: #8a6100 !important; background: #fff3d8 !important; }
.bg-label-danger { color: #c93636 !important; background: #ffe9e9 !important; }
@media (max-width: 991.98px) { .telcoops-page-content { min-height: calc(100vh - 131px); } }

/* Keep the workspace toolbar and icon rail proportional to the compact shell. */
.topbar { padding-inline: 12px; }
.topbar .navbar { min-height: var(--telcoops-toolbar-height); }
.topbar .navbar .navbar-nav { gap: 4px; }
.topbar .navbar .navbar-nav .nav-item.dropdown .dropdown-menu[data-workspace-toolbar-popover]:not(.show) {
  display: none;
}
.topbar .navbar .navbar-nav .nav-item .nav-link:not(#userMenu) {
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  line-height: 1;
  justify-content: center;
}
.topbar .navbar .navbar-nav .nav-item.nav-icon-hover-bg {
  display: flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}
.topbar .navbar .navbar-nav .nav-item .nav-link iconify-icon { font-size: 17px !important; }
.topbar .navbar .navbar-nav .nav-item #userMenu { margin: 0; padding: 0 6px; line-height: 1; }
.topbar #workspaceLanguageFlag { width: 17px; height: 17px; }
.side-mini-panel .mini-nav .brand-logo { min-height: var(--telcoops-toolbar-height); }
#telcoops-sidebar .telcoops-mini-logo {
  width: var(--telcoops-mini-logo-size, 28px);
  height: var(--telcoops-mini-logo-size, 28px);
  max-width: none;
  max-height: none;
}
.side-mini-panel .mini-nav ul.mini-nav-ul {
  height: calc(100vh - var(--telcoops-toolbar-height));
}
#telcoops-sidebar .mini-nav #mini-1 > a { margin-top: 15px; }
.side-mini-panel .mini-nav .mini-nav-item > a { height: 42px; margin-bottom: 5px; }
.side-mini-panel .mini-nav .mini-nav-item > a iconify-icon { font-size: 19px !important; }
.side-mini-panel .mini-nav .mini-nav-item > a:hover::before,
.side-mini-panel .mini-nav .mini-nav-item.selected > a::before { width: 42px; height: 42px; }
.side-mini-panel .mini-nav .sidebar-divider {
  width: calc(100% - 24px);
  margin: 10px 12px;
}

/* Align the expanded menu icons with the logo and section headings. */
#telcoops-sidebar .sidebarmenu .sidebar-nav { padding-inline: 12px; }
#telcoops-sidebar .sidebarmenu .sidebar-nav .nav-small-cap { padding-inline-start: 8px; }
#telcoops-sidebar .sidebarmenu .sidebar-menu > .sidebar-item > .sidebar-link { padding-inline: 8px; }

/* Keep the slide-out menu flush with its logo at tablet and mobile widths. */
@media (max-width: 1299.98px) {
  #telcoops-sidebar .sidebarmenu .sidebar-nav {
    top: var(--telcoops-toolbar-height);
    height: calc(100vh - var(--telcoops-toolbar-height));
  }
}

/* UMB and Settings submenus share one timeline treatment. */
#telcoops-sidebar .telcoops-timeline-submenu {
  position: relative;
}
#telcoops-sidebar .telcoops-timeline-submenu::before {
  content: "";
  position: absolute;
  top: 18.5px;
  bottom: 18.5px;
  left: 15px;
  width: 2px;
  border-radius: 2px;
  background: #d7e2ee;
  pointer-events: none;
}
#telcoops-sidebar .telcoops-timeline-submenu > .sidebar-item > .sidebar-link {
  position: relative;
  padding-inline: 8px;
  gap: 16px;
  border-radius: 9px;
  transition: color .18s ease, background-color .18s ease;
}
#telcoops-sidebar .telcoops-timeline-submenu > .sidebar-item > .sidebar-link .ti-circle {
  visibility: hidden;
}
#telcoops-sidebar .telcoops-timeline-submenu > .sidebar-item > .sidebar-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 9px;
  height: 9px;
  border: 1.5px solid #98a8ba;
  border-radius: 50%;
  background: var(--bs-body-bg);
  transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  pointer-events: none;
}
#telcoops-sidebar .telcoops-timeline-submenu > .sidebar-item > .sidebar-link:hover::before,
#telcoops-sidebar .telcoops-timeline-submenu > .sidebar-item > .sidebar-link:focus-visible::before {
  width: 11px;
  height: 11px;
  border-color: var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
}
#telcoops-sidebar .telcoops-timeline-submenu > .sidebar-item > .sidebar-link.active {
  font-weight: 600;
}
#telcoops-sidebar .telcoops-timeline-submenu > .sidebar-item > .sidebar-link.active::before {
  width: 16px;
  height: 16px;
  border: 3px solid var(--bs-body-bg);
  background: var(--bs-primary);
  box-shadow: 0 0 0 2px var(--bs-primary), 0 0 0 5px rgba(93, 135, 255, .16);
}
html[data-bs-theme="dark"] #telcoops-sidebar .telcoops-timeline-submenu::before { background: #506077; }
html[data-bs-theme="dark"] #telcoops-sidebar .telcoops-timeline-submenu > .sidebar-item > .sidebar-link:not(.active)::before {
  border-color: #9ba9bb;
}

@media (min-width: 1300px) {
  .side-mini-panel { width: var(--telcoops-rail-width); }
  .side-mini-panel .sidebarmenu .sidebar-nav { left: var(--telcoops-rail-width); top: var(--telcoops-toolbar-height); height: calc(100vh - var(--telcoops-toolbar-height)); }
  .side-mini-panel .sidebarmenu .nav-logo { left: var(--telcoops-rail-width); }
  html[data-layout="vertical"] .topbar { width: calc(100% - var(--telcoops-rail-width) - 240px); }
  html[data-layout="vertical"] .page-wrapper { margin-left: calc(var(--telcoops-rail-width) + 240px); }
  html[data-layout="vertical"] body[data-sidebartype="mini-sidebar"] .topbar { width: calc(100% - var(--telcoops-rail-width)); }
  html[data-layout="vertical"] body[data-sidebartype="mini-sidebar"] .page-wrapper { margin-left: var(--telcoops-rail-width); }
  html[data-layout="vertical"] body[data-sidebartype="mini-sidebar"] .side-mini-panel .sidebarmenu .nav-logo { left: -240px; }
  html[data-layout="vertical"] body[data-sidebartype="mini-sidebar"] .side-mini-panel .sidebarmenu.hovermenus .sidebar-nav.left-none { left: var(--telcoops-rail-width); }

}

/* A collapsed sidebar opens its menu beside the icon rail without moving the page. */
.telcoops-flyout-header,
.telcoops-flyout-brand { display: none; }
@media (min-width: 992px) {
  html[data-layout="vertical"] body[data-sidebartype="mini-sidebar"] #telcoops-sidebar .sidebarmenu .sidebar-nav {
    top: 4px;
    height: calc(100vh - 8px);
    width: calc(240px - 8px);
    left: calc(var(--telcoops-rail-width) + 4px);
    padding: 0 11px 16px;
    border: 1px solid var(--bs-border-color);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(20, 35, 55, .14);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 110;
  }

  html[data-layout="vertical"] body[data-sidebartype="mini-sidebar"] #telcoops-sidebar.telcoops-sidebar-flyout-open .sidebarmenu.hovermenus .sidebar-nav.d-block.left-none {
    left: calc(var(--telcoops-rail-width) + 4px);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  #telcoops-sidebar.telcoops-sidebar-flyout-open .sidebar-nav .sidebar-menu > .nav-small-cap {
    display: none;
  }

  #telcoops-sidebar.telcoops-sidebar-flyout-open .sidebar-nav .telcoops-flyout-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    height: calc(var(--telcoops-toolbar-height) - 1px);
    padding: 0 8px;
  }
  .telcoops-flyout-brand a { display: inline-flex; align-items: center; min-width: 0; }
  .telcoops-flyout-brand img { display: block; max-width: 100%; object-fit: contain; }

  #telcoops-sidebar.telcoops-sidebar-flyout-open .sidebar-nav .telcoops-flyout-header {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 7px 8px;
    color: var(--bs-heading-color);
    font-size: 15px;
  }
  .telcoops-flyout-header strong { white-space: nowrap; }

  .telcoops-flyout-brand > button {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--bs-secondary-color);
    font-size: 17px;
    cursor: pointer;
  }
  .telcoops-flyout-brand > button:hover,
  .telcoops-flyout-brand > button:focus-visible {
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
  }
}
.telcoops-auth-mark { color: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 8rem; }

/* Persisted appearance settings */
.telcoops-brand-logo { display: block; height: var(--telcoops-sidebar-logo-height, 36px); width: auto; max-width: 210px; object-fit: contain; }
.telcoops-brand-logo--compact { width: auto; }
html[data-bs-theme="dark"] .telcoops-brand-logo { filter: brightness(0) invert(1); }
body[data-telcoops-typography="compact"] { font-size: .875rem; }
body[data-telcoops-typography="comfortable"] { font-size: 1rem; letter-spacing: .01em; }
body[data-telcoops-typography="comfortable"] .sidebar-link,
body[data-telcoops-typography="comfortable"] .form-control,
body[data-telcoops-typography="comfortable"] .form-select { line-height: 1.65; }

/* Dashboard 1 intentionally shares the Dashboard 2 shell: a compact icon rail,
   240px context panel, and a white toolbar in light mode. */
html[data-telcoops-navigation-model="dashboard-1"][data-bs-theme="light"] .topbar,
html[data-telcoops-navigation-model="dashboard-2"][data-bs-theme="light"] .topbar {
  background: #fff !important;
}

html[data-telcoops-navigation-model="dashboard-1"][data-bs-theme="light"] .side-mini-panel,
html[data-telcoops-navigation-model="dashboard-1"][data-bs-theme="light"] .side-mini-panel .iconbar,
html[data-telcoops-navigation-model="dashboard-1"][data-bs-theme="light"] .side-mini-panel .mini-nav,
html[data-telcoops-navigation-model="dashboard-1"][data-bs-theme="light"] .side-mini-panel .sidebarmenu {
  background: #fff;
}

html[data-telcoops-navigation-model="dashboard-1"][data-bs-theme="light"] .side-mini-panel .mini-nav-item > a {
  background: #fff;
}

html[data-telcoops-navigation-model="dashboard-1"] .side-mini-panel .sidebarmenu .brand-logo,
html[data-telcoops-navigation-model="dashboard-2"] .side-mini-panel .sidebarmenu .brand-logo {
  min-height: var(--telcoops-toolbar-height);
  padding: 0 20px;
}
html[data-telcoops-navigation-model="dashboard-1"] body,
html[data-telcoops-navigation-model="dashboard-1"] .page-wrapper,
html[data-telcoops-navigation-model="dashboard-2"] body,
html[data-telcoops-navigation-model="dashboard-2"] .page-wrapper {
  background: #fff;
}

html[data-telcoops-navigation-model="dashboard-1"] .body-wrapper,
html[data-telcoops-navigation-model="dashboard-2"] .body-wrapper {
  margin: var(--telcoops-toolbar-height) 15px 30px;
  min-height: calc(100% - var(--telcoops-toolbar-height) - 30px);
  border-radius: 20px;
  background: #f4f7fb;
}

@media (max-width: 991.98px) {
  html[data-telcoops-navigation-model="dashboard-1"] .body-wrapper,
  html[data-telcoops-navigation-model="dashboard-2"] .body-wrapper {
    margin-top: calc(var(--telcoops-toolbar-height) + 8px);
  }
}
/* Dashboard 3 reference uses a solid white toolbar in light mode. */
html[data-telcoops-navigation-model="dashboard-3"][data-bs-theme="light"] .topbar {
  background: #fff !important;
}
/* Dashboard 3 keeps the same compact toolbar and sidebar geometry. */
html[data-telcoops-navigation-model="dashboard-3"] .side-mini-panel .sidebarmenu .brand-logo {
  min-height: var(--telcoops-toolbar-height);
  padding: 0 20px;
}
/* Match Dashboard 3: a white page shell framing the four rounded canvas edges. */
html[data-telcoops-navigation-model="dashboard-3"] body,
html[data-telcoops-navigation-model="dashboard-3"] .page-wrapper {
  background: #fff;
}

html[data-telcoops-navigation-model="dashboard-3"] .body-wrapper {
  margin: var(--telcoops-toolbar-height) 15px 30px;
  min-height: calc(100% - var(--telcoops-toolbar-height) - 30px);
  border-radius: 20px;
  background: #f4f7fb;
}

@media (max-width: 991.98px) {
  html[data-telcoops-navigation-model="dashboard-3"] .body-wrapper {
    margin-top: calc(var(--telcoops-toolbar-height) + 8px);
  }
}

/* The reference canvas has matching rounded lower corners around its footer. */
html[data-telcoops-navigation-model="dashboard-1"] .telcoops-footer,
html[data-telcoops-navigation-model="dashboard-2"] .telcoops-footer,
html[data-telcoops-navigation-model="dashboard-3"] .telcoops-footer {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* The divider ends 12px before the rail edge; avoid an extra 15px canvas gap. */
@media (min-width: 1300px) {
  html[data-telcoops-navigation-model="dashboard-1"] .body-wrapper,
  html[data-telcoops-navigation-model="dashboard-2"] .body-wrapper,
  html[data-telcoops-navigation-model="dashboard-3"] .body-wrapper { margin-left: 0; }
}
