/* Dashboard 2026 — Figma mobile layout + desktop layout */

:root {
  --dashboard-shell-bg: #f7f6fb;
  --dashboard-shell-radius: 20px;
  --dashboard-frame-bg: #fff;
  --dashboard-header-height: 100px;
}

body.dashboard-2026 {
  background: #f5f5f5;
  font-family: 'museo-medium', -apple-system, sans-serif;
  color: #141053;
}

/* Canonieke repo: vervang oude header op /dashboard */
body.dashboard-2026 .main-header,
body.dashboard-2026 .mobile-screen-navigetion,
body.dashboard-2026 .responsive-back-arrow,
body.dashboard-2026 .responsive-title-cls {
  display: none !important;
}

body.dashboard-2026 .welcome-announcer,
body.dashboard-2026 .goed-bezig-slider {
  display: none !important;
}

body.dashboard-2026 .deshboard-wrapper {
  margin-top: 0;
  padding-top: 0;
}

body.dashboard-2026 .deshboard-wrapper > .container-fluid > .row {
  margin: 0;
}

/* Sidebar — witte achtergrond + ruimte t.o.v. content (alle breakpoints) */
body.dashboard-2026 .col-md-2.left-column-width,
body.dashboard-2026 .aside-bar,
body.dashboard-2026 .aside-bar .aside-tabs,
body.dashboard-2026 .aside-bar .aside-tabs ul {
  background-color: #fff !important;
}

body.dashboard-2026 .aside-bar {
  padding: 0 0 48px !important;
  padding-left: 0 !important;
  border-right: none !important;
  margin-top: 0 !important;
  width: 100%;
  box-shadow: none !important;
}

/* Desktop partials — hidden by default (mobile-first) */
.dashboard-desktop-topbar,
.dashboard-desktop-hero {
  display: none;
}

/* Tab label variants */
.dashboard-2026 .tab-label--desktop {
  display: none;
}

/* Hero (mobile) */
.dashboard-hero {
  position: relative;
  height: 276px;
  overflow: hidden;
}

.dashboard-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../image/hero-bg.png') center / cover no-repeat;
}

.dashboard-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 83, 0.15) 0%, rgba(20, 16, 83, 0.35) 100%);
}

.dashboard-hero__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 48px 18px 0;
}

.dashboard-hero__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  text-decoration: none;
}

.dashboard-hero__brand img {
  width: 34px;
  height: 32px;
}

.dashboard-hero__brand span {
  color: #fff;
  font-size: 15px;
  line-height: 13px;
  font-family: 'museo-medium', sans-serif;
  text-transform: lowercase;
}

.dashboard-hero__profile {
  position: relative;
}

.dashboard-hero__profile .profile-icon-cls img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.dashboard-hero__profile .profile-box-header-menus {
  top: 44px;
  right: 0;
}

/* Summary card (mobile) */
.dashboard-summary {
  position: relative;
  margin-top: -70px;
  padding: 0 12px;
  z-index: 3;
}

.dashboard-summary__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
  padding: 20px 16px 18px;
  position: relative;
}

.dashboard-summary__title {
  font-family: 'museo-semibold', sans-serif;
  font-size: 22px;
  line-height: 28px;
  color: #141053;
  margin: 0 0 12px;
  padding-right: 40px;
}

.dashboard-summary__card .el-onboard-help-btn {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 2;
}

.dashboard-summary__pies.circle-progresbar {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
  margin-right: 0 !important;
}

.dashboard-summary__pies .pie-main-box {
  flex: 0 0 auto;
  width: auto;
  text-align: center;
  margin-top: 0 !important;
}

.dashboard-summary__pies .pie-main-box:nth-child(3) {
  margin-top: 0 !important;
  width: auto !important;
}

.dashboard-summary__pies .pie {
  margin: 0 auto;
  display: block;
  width: 84px !important;
  height: 84px !important;
}

.dashboard-summary__pies .pie-title {
  min-height: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.dashboard-summary__pies .pie-title p {
  font-size: 12px;
  font-family: 'museo-semibold', sans-serif;
  font-weight: 600;
  color: #141053 !important;
  margin-top: 6px;
  text-align: center;
  line-height: 1.2;
  padding: 0;
}

.dashboard-summary__intro {
  font-size: 14px;
  line-height: 1.45;
  color: #141053;
  margin: 0 0 12px;
}

/* Goed Bezig summary: nudge text block down within card */
.dashboard-hero-state--summary {
  padding-top: 12px;
}

.dashboard-hero-summary-text .dyn-current {
  color: #6C63FF;
  font-weight: 700;
}

.dashboard-hero-summary-text .dyn-count {
  color: #579CE6;
  font-weight: 700;
}

.dashboard-hero-summary-text .dyn-target {
  color: #2BC779;
  font-weight: 700;
}

.dashboard-hero-summary-emoji {
  margin-bottom: 8px;
}

.dashboard-search-empty {
  grid-column: 1 / -1;
  width: 100%;
  margin: 8px 0 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff;
  color: #141053;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dashboard-2026 .dashboard-summary__pies .pie,
.dashboard-2026 .dashboard-summary__pies .pie svg {
  width: 84px !important;
  height: 84px !important;
}

.dashboard-2026 .jouw-checklist-main-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
  padding: 20px 12px 16px;
  margin-bottom: 24px;
}

/* ——— Mobile (≤768px) ——— */
@media (max-width: 768px) {
  body.dashboard-2026:not(.dashboard-preview-desktop) .dashboard-desktop-content-shell {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .deshboard-wrapper > .container-fluid > .row::before {
    display: none;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .aside-bar-main-box,
  body.dashboard-2026:not(.dashboard-preview-desktop) .col-lg-2.aside-bar-main-box,
  body.dashboard-2026:not(.dashboard-preview-desktop) .col-md-2.left-column-width {
    display: none;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .page {
    max-width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .right-column-width {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0 12px;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .right-side-box {
    padding: 0;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .jouw-checklist-main-box {
    margin-top: 14px;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .col-md-10.right-column-width {
    margin-left: 0;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .checklist-menu {
    margin-top: 0;
    padding: 0 4px 16px;
    display: block;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .checklist-menu .left-tabs-cls {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .checklist-menu .tab-cls {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    color: #141053;
    opacity: 0.4;
    font-family: 'museo-medium', sans-serif;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .checklist-menu .tab-cls.checklist-menu-active {
    background: transparent !important;
    opacity: 1;
    font-family: 'museo-semibold', sans-serif;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .checklist-menu .tab-cls::before {
    display: none;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .view-options {
    display: none;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .cards.grid-view-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 23px;
    padding: 0;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .grid-view-cards .card {
    height: auto;
    aspect-ratio: 4 / 5.254;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(27, 28, 32, 0.1);
    overflow: hidden;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .grid-view-cards .card-img-box {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .grid-view-cards .card-img-box img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
    transform: none;
    filter: none !important;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .grid-view-cards .card-img-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 0 0 15px 15px;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .grid-view-cards .text-box h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    background: transparent;
    padding: 12px;
    border-radius: 0;
    height: auto;
    display: block;
    z-index: 2;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .grid-view-cards .checkbox-round {
    width: 45px;
    height: 45px;
    top: 10px;
    right: 10px;
    border: 2px solid #fff;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .grid-view-cards .drag-handle,
  body.dashboard-2026:not(.dashboard-preview-desktop) .grid-view-cards .hover-card {
    display: none;
  }
}

/* ——— Desktop (≥769px) ——— */
@media (min-width: 769px) {
  body.dashboard-2026:not(.dashboard-preview-desktop) .page {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow-x: clip;
  }

  body.dashboard-2026:not(.dashboard-preview-desktop) .deshboard-wrapper,
  body.dashboard-2026:not(.dashboard-preview-desktop) .deshboard-wrapper > .container-fluid {
    max-width: 100%;
    overflow-x: clip;
  }

  /* Footer: volle breedte van viewport (niet korter dan content) */
  body.dashboard-2026 footer.mein-footer,
  body.dashboard-2026 footer.mein-footer .main-footer,
  body.dashboard-2026 footer.mein-footer .footer-cr-bar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.dashboard-2026 {
    background: var(--dashboard-frame-bg);
  }

  body.dashboard-2026 .deshboard-wrapper,
  body.dashboard-2026 .deshboard-wrapper > .container-fluid {
    background: var(--dashboard-frame-bg);
  }

  /* Hide mobile hero/summary on desktop */
  .dashboard-hero,
  .dashboard-summary {
    display: none !important;
  }

  /* Wit L-frame: doorlopend header-vlak (sidebar + topbar) + content-shell met curve */
  body.dashboard-2026 .deshboard-wrapper > .container-fluid > .row {
    position: relative;
    column-gap: 0;
    align-items: stretch;
  }

  body.dashboard-2026 .deshboard-wrapper > .container-fluid > .row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--dashboard-header-height);
    background: var(--dashboard-frame-bg);
    z-index: 1;
    pointer-events: none;
  }

  .dashboard-desktop-topbar {
    display: flex;
    align-items: center;
    min-height: var(--dashboard-header-height);
    background: transparent;
    padding: 0 80px 0 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  .dashboard-desktop-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding-left: 0;
    min-height: 52px;
  }

  .dashboard-desktop-topbar__search {
    flex: 0 1 420px;
    max-width: 420px;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0 18px;
    min-height: 52px;
  }

  .dashboard-desktop-topbar__search-label {
    margin: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .dashboard-desktop-topbar__search-label img {
    width: 20px;
    height: 20px;
    opacity: 0.5;
  }

  .dashboard-desktop-topbar__search input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 15px;
    font-family: 'museo-medium', sans-serif;
    color: #141053;
    padding: 14px 12px;
  }

  .dashboard-desktop-topbar__search input::placeholder {
    color: #acacac;
  }

  .dashboard-desktop-content-shell {
    background: var(--dashboard-shell-bg);
    border-top-left-radius: var(--dashboard-shell-radius);
    padding: 8px 24px 30px;
    position: relative;
    z-index: 1;
  }

  .dashboard-desktop-topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 0;
    z-index: 2;
  }

  .dashboard-desktop-topbar__actions .el-onboard-help-btn {
    flex-shrink: 0;
    margin-right: 0;
  }

  .dashboard-desktop-topbar__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    z-index: 2;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .dashboard-desktop-topbar__profile .profile-icon-cls {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    display: flex;
    align-items: center;
  }

  .dashboard-desktop-topbar__profile .profile-icon-cls a {
    display: flex;
    align-items: center;
    line-height: 0;
  }

  .dashboard-desktop-topbar__profile .profile-name h5 {
    margin: 0;
    font-size: 16px;
    font-family: 'museo-semibold', sans-serif;
    color: #141053;
  }

  .dashboard-desktop-topbar__profile .profile-name a {
    color: #141053;
    text-decoration: none;
  }

  .dashboard-desktop-topbar__profile .profile-icon-cls img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 0;
  }

  .dashboard-desktop-topbar__profile .profile-box-header-menus {
    top: 56px;
    right: 0;
  }

  /* Desktop hero card */
  .dashboard-desktop-hero {
    display: block;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .dashboard-desktop-hero__card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    min-height: 280px;
  }

  .dashboard-desktop-hero__bg {
    position: absolute;
    inset: 0;
    background: url('../image/dashboard-hero-bg-desktop.png') right bottom / cover no-repeat;
    pointer-events: none;
  }

  .dashboard-desktop-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: 40px 48px 48px;
    padding-right: 280px;
  }

  .dashboard-desktop-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    min-width: 0;
    max-width: 100%;
    padding-top: 12px;
  }

  .dashboard-desktop-hero__title {
    font-family: 'museo-semibold', sans-serif;
    font-size: 32px;
    line-height: 1.2;
    color: #141053;
    margin: 0 0 16px;
  }

  .dashboard-desktop-hero__desc {
    font-size: 16px;
    line-height: 1.5;
    color: #141053;
    margin: 0 0 20px;
    max-width: 100%;
  }

  .dashboard-desktop-hero__desc .nvt-count-cls {
    color: #6c63ff;
    font-family: 'museo-semibold', sans-serif;
  }

  .dashboard-desktop-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #69D19C;
    color: #fff;
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 16px;
    font-family: 'museo-semibold', sans-serif;
    text-decoration: none;
    transition: background 0.2s ease;
    line-height: 1.1;
  }

  .dashboard-desktop-hero__cta:hover {
    background: #6C63F9;
    color: #fff;
  }

  .dashboard-desktop-hero__cta img {
    width: 22px;
    filter: brightness(0) invert(1);
  }

  .dashboard-desktop-hero__pies {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    flex-shrink: 0;
    margin-right: 0 !important;
    min-width: 0;
  }

  .dashboard-desktop-hero__pies .pie-main-box {
    text-align: center;
    margin-top: 0 !important;
    width: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Geen schaduw achter de radartjes (.shadow:after uit checklist.css) */
  .dashboard-desktop-hero__pies .pie.shadow::after {
    display: none;
    content: none;
    box-shadow: none;
  }

  /* Buitenste cirkels = maandbedrag (165px); maatregelen midden +5% */
  .dashboard-desktop-hero__pies .pie-main-box:nth-child(1) .pie,
  .dashboard-desktop-hero__pies .pie-main-box:nth-child(3) .pie {
    width: 165px !important;
  }

  .dashboard-desktop-hero__pies .pie-main-box:nth-child(1) .pie svg,
  .dashboard-desktop-hero__pies .pie-main-box:nth-child(3) .pie svg {
    width: 165px !important;
    height: 165px !important;
  }

  .dashboard-desktop-hero__pies .pie-main-box:nth-child(2) .pie {
    width: 173px !important;
  }

  .dashboard-desktop-hero__pies .pie-main-box:nth-child(2) .pie svg {
    width: 173px !important;
    height: 173px !important;
  }

  /* Onderkant cirkels gelijk — buitenste iets lager door kleinere diameter */
  .dashboard-desktop-hero__pies .pie-main-box:nth-child(1),
  .dashboard-desktop-hero__pies .pie-main-box:nth-child(3) {
    padding-top: 8px;
  }

  .dashboard-desktop-hero__pies .pie-title p {
    font-size: 14px;
    font-family: 'museo-semibold', sans-serif;
    font-weight: 600;
    color: #141053 !important;
    margin-top: 8px;
    text-align: center;
  }

  .dashboard-desktop-hero__house {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 220px;
    height: auto;
    z-index: 1;
    pointer-events: none;
  }

  /* Tab labels */
  .dashboard-2026 .tab-label--mobile {
    display: none;
  }

  .dashboard-2026 .tab-label--desktop {
    display: inline;
  }

  body.dashboard-2026 .right-column-width {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    padding: 0;
  }

  body.dashboard-2026 .col-md-2.left-column-width {
    position: relative;
    margin-right: 0;
    padding-right: 0 !important;
    flex-shrink: 0;
    align-self: stretch;
    z-index: 2;
  }

  body.dashboard-2026 .col-md-10.right-column-width {
    margin-left: 0;
    flex: 1 1 0;
    min-width: 0;
  }

  body.dashboard-2026 .right-side-box {
    position: relative;
    z-index: 1;
    padding: 0;
    margin-top: 0;
    background: transparent !important;
    border-radius: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  body.dashboard-2026 .jouw-checklist-main-box {
    margin-top: 0;
    padding: 32px 40px 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
  }

  .dashboard-2026 .checklist-menu {
    margin-top: 0;
    padding-bottom: 24px;
  }

  .dashboard-2026 .checklist-menu .left-tabs-cls {
    gap: 34px;
  }

  .dashboard-2026 .checklist-menu .tab-cls {
    background-color: #f5f5f5;
    padding: 8px 26px;
    border-radius: 18px;
    font-size: 15px;
    opacity: 1;
  }

  .dashboard-2026 .checklist-menu .tab-cls.checklist-menu-active {
    background-color: #e2e2e2 !important;
  }

  .dashboard-2026 .checklist-menu .tab-cls::before {
    display: flex;
  }

  .dashboard-2026 .view-options {
    display: flex;
  }

  .dashboard-2026 .cards.grid-view-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 50px;
    padding: 40px 30px;
  }

  /* Figma grid card: 4:5 + 5px (287 × 377 px) */
  .dashboard-2026 .grid-view-cards .card {
    width: 100%;
    max-width: 287px;
    aspect-ratio: 4 / 5.254;
    height: auto;
    max-height: none;
    border-radius: 20px;
  }

  .dashboard-2026 .grid-view-cards .card-img-box {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
  }

  .dashboard-2026 .grid-view-cards .card-img-box img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    transform: none;
    filter: none !important;
  }

  .dashboard-2026 .grid-view-cards .card .favorite-tag img,
  .dashboard-2026 .list-view-cards .card .favorite-tag img {
    width: 33px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    transform: none;
    filter: none !important;
  }

  .dashboard-2026 .list-view-cards .card .favorite-tag img {
    width: 28px;
  }

  .dashboard-2026 .grid-view-cards .card-img-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 0 0 20px 20px;
  }

  .dashboard-2026 .grid-view-cards .text-box h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    background: transparent;
    padding: 16px 20px;
    border-radius: 0;
    height: auto;
    display: block;
    z-index: 2;
  }

  .dashboard-2026 .grid-view-cards .checkbox-round {
    width: 48px;
    height: 48px;
    top: 24px;
    right: 24px;
  }

  .dashboard-2026 .grid-view-cards .drag-handle,
  .dashboard-2026 .grid-view-cards .hover-card {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body.dashboard-2026 .mobile-footer {
    display: none !important;
  }

  body.dashboard-2026 .aside-bar {
    min-height: 100%;
    align-self: stretch;
  }

  body.dashboard-2026 .aside-bar-logo {
    min-height: var(--dashboard-header-height);
    display: flex;
    align-items: center;
    margin: 0 0 32px;
    padding-left: 20px;
  }

  body.dashboard-2026 .aside-bar-logo a {
    display: block;
    line-height: 0;
  }

  body.dashboard-2026 .aside-bar-logo a img {
    width: 150px;
    height: 60px;
    display: block;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .dashboard-2026 .cards.grid-view-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
  }

  .dashboard-desktop-hero__content {
    padding-right: 240px;
  }

  .dashboard-desktop-hero__house {
    width: 180px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .dashboard-2026 .cards.grid-view-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px 0;
  }

  .dashboard-2026 .grid-view-cards .card {
    max-width: 287px;
    aspect-ratio: 4 / 5.254;
    height: auto;
    max-height: none;
  }

  .dashboard-desktop-hero__content {
    grid-template-columns: minmax(250px, 1fr) auto;
    padding: 32px 32px 48px;
    padding-right: 200px;
  }

  .dashboard-desktop-hero__text {
    min-width: 0;
    max-width: 100%;
  }

  .dashboard-desktop-hero__desc {
    max-width: 100%;
  }

  .dashboard-desktop-hero__house {
    width: 160px;
    right: 0;
  }
}

/* Side-panel preview: force desktop layout + horizontal scroll (?preview=desktop) */
html:has(body.dashboard-preview-desktop) {
  overflow-x: scroll !important;
  overflow-y: auto;
  width: 100%;
  height: 100%;
}

body.dashboard-preview-desktop {
  overflow-x: visible !important;
  overflow-y: visible;
  background: var(--dashboard-frame-bg);
  min-width: 1280px;
}

/* Bootstrap stacks col-md-* below 768px — force sidebar + content side-by-side */
body.dashboard-preview-desktop .deshboard-wrapper > .container-fluid > .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  align-items: stretch;
  position: relative;
  min-width: 0;
  column-gap: 0;
}

body.dashboard-preview-desktop .deshboard-wrapper > .container-fluid > .row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--dashboard-header-height);
  background: var(--dashboard-frame-bg);
  z-index: 1;
  pointer-events: none;
}

body.dashboard-preview-desktop .col-md-2.left-column-width {
  display: block !important;
  flex: 0 0 16.666667% !important;
  width: 16.666667% !important;
  max-width: 16.666667% !important;
  position: relative;
  margin-right: 0;
  padding-right: 0 !important;
  background-color: var(--dashboard-frame-bg) !important;
  align-self: stretch;
  z-index: 2;
}

body.dashboard-preview-desktop .col-md-10.right-column-width {
  flex: 0 0 83.333333% !important;
  width: 83.333333% !important;
  max-width: 83.333333% !important;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar {
  display: flex;
  align-items: center;
  min-height: var(--dashboard-header-height);
  min-width: 1280px;
  background: transparent;
  padding: 0 80px 0 0;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

body.dashboard-preview-desktop .dashboard-desktop-content-shell {
  background: var(--dashboard-shell-bg);
  border-top-left-radius: var(--dashboard-shell-radius);
  padding: 8px 24px 30px;
  position: relative;
  z-index: 1;
}

body.dashboard-preview-desktop .page,
body.dashboard-preview-desktop main,
body.dashboard-preview-desktop .deshboard-wrapper,
body.dashboard-preview-desktop .container-fluid {
  width: 1280px;
  min-width: 1280px;
  max-width: none !important;
  margin: 0 !important;
}

body.dashboard-preview-desktop footer.mein-footer,
body.dashboard-preview-desktop footer.mein-footer .main-footer,
body.dashboard-preview-desktop footer.mein-footer .footer-cr-bar {
  width: 1280px;
  min-width: 1280px;
  max-width: none;
  box-sizing: border-box;
}

body.dashboard-preview-desktop .page {
  padding-bottom: 0;
}

body.dashboard-preview-desktop .right-column-width {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  padding: 0;
}

body.dashboard-preview-desktop .right-side-box {
  position: relative;
  z-index: 1;
  padding: 0;
  margin-top: 0;
  background: transparent !important;
  border-radius: 0;
}

body.dashboard-preview-desktop .jouw-checklist-main-box {
  margin-top: 0;
  padding: 32px 40px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
}

body.dashboard-preview-desktop .col-md-10.right-column-width {
  margin-left: 0;
}

body.dashboard-preview-desktop .checklist-menu {
  margin-top: 0;
  padding-bottom: 24px;
}

body.dashboard-preview-desktop .checklist-menu .left-tabs-cls {
  gap: 34px;
}

body.dashboard-preview-desktop .checklist-menu .tab-cls {
  background-color: #f5f5f5;
  padding: 8px 26px;
  border-radius: 18px;
  font-size: 15px;
  opacity: 1;
}

body.dashboard-preview-desktop .checklist-menu .tab-cls.checklist-menu-active {
  background-color: #e2e2e2 !important;
}

body.dashboard-preview-desktop .checklist-menu .tab-cls::before {
  display: flex;
}

body.dashboard-preview-desktop .view-options {
  display: flex;
}

body.dashboard-preview-desktop .cards.grid-view-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 50px;
  padding: 40px 30px;
}

body.dashboard-preview-desktop .grid-view-cards .card {
  width: 100%;
  max-width: 287px;
  aspect-ratio: 4 / 5.254;
  height: auto;
  max-height: none;
  border-radius: 20px;
}

body.dashboard-preview-desktop .grid-view-cards .card-img-box {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

body.dashboard-preview-desktop .grid-view-cards .card-img-box img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: none !important;
}

body.dashboard-preview-desktop .grid-view-cards .card-img-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 20px 20px;
}

body.dashboard-preview-desktop .grid-view-cards .text-box h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  background: transparent;
  padding: 16px 20px;
  border-radius: 0;
  height: auto;
  display: block;
  z-index: 2;
}

body.dashboard-preview-desktop .grid-view-cards .checkbox-round {
  width: 48px;
  height: 48px;
  top: 24px;
  right: 24px;
}

body.dashboard-preview-desktop .grid-view-cards .drag-handle,
body.dashboard-preview-desktop .grid-view-cards .hover-card {
  display: block;
}

body.dashboard-preview-desktop .aside-bar {
  display: block !important;
  padding: 0 0 48px !important;
  padding-left: 0 !important;
  border-right: none !important;
  margin-top: 0 !important;
  height: auto;
  min-height: 100%;
  width: 100%;
  background-color: #fff !important;
  box-shadow: none !important;
}

body.dashboard-preview-desktop .aside-bar .aside-tabs,
body.dashboard-preview-desktop .aside-bar .aside-tabs ul {
  background-color: #fff !important;
}

body.dashboard-preview-desktop .aside-bar-logo {
  min-height: var(--dashboard-header-height);
  display: flex;
  align-items: center;
  margin: 0 0 32px;
  padding-left: 20px;
}

body.dashboard-preview-desktop .aside-bar-logo a img {
  width: 150px;
  height: 60px;
  display: block;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding-left: 0;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__search {
  flex: 0 1 420px;
  max-width: 420px;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0 18px;
  min-height: 52px;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__search-label {
  margin: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__search-label img {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
  font-family: 'museo-medium', sans-serif;
  color: #141053;
  padding: 14px 12px;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__search input::placeholder {
  color: #acacac;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 0;
  z-index: 2;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__actions .el-onboard-help-btn {
  flex-shrink: 0;
  margin-right: 0;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  z-index: 2;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 0;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__profile .profile-icon-cls {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  display: flex;
  align-items: center;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__profile .profile-icon-cls a {
  display: flex;
  align-items: center;
  line-height: 0;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__profile .profile-name h5 {
  margin: 0;
  font-size: 16px;
  font-family: 'museo-semibold', sans-serif;
  color: #141053;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__profile .profile-name a {
  color: #141053;
  text-decoration: none;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__profile .profile-icon-cls img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 0;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar__profile .profile-box-header-menus {
  top: 56px;
  right: 0;
}

body.dashboard-preview-desktop .dashboard-desktop-hero {
  margin-top: 40px;
  margin-bottom: 24px;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  min-height: 280px;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../image/dashboard-hero-bg-desktop.png') right bottom / cover no-repeat;
  pointer-events: none;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__title {
  font-family: 'museo-semibold', sans-serif;
  font-size: 32px;
  line-height: 1.2;
  color: #141053;
  margin: 0 0 16px;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__desc {
  font-size: 16px;
  line-height: 1.5;
  color: #141053;
  margin: 0 0 20px;
  max-width: 100%;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__desc .nvt-count-cls {
  color: #6c63ff;
  font-family: 'museo-semibold', sans-serif;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #69D19C;
  color: #fff;
  padding: 10px 16px;
  border-radius: 24px;
  font-size: 16px;
  font-family: 'museo-semibold', sans-serif;
  text-decoration: none;
  transition: background 0.2s ease;
  line-height: 1.1;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__cta:hover {
  background: #6C63F9;
  color: #fff;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__cta img {
  width: 22px;
  filter: brightness(0) invert(1);
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-shrink: 0;
  margin-right: 0 !important;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box {
  text-align: center;
  margin-top: 0 !important;
  width: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie.shadow::after {
  display: none;
  content: none;
  box-shadow: none;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box:nth-child(1) .pie,
body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box:nth-child(3) .pie {
  width: 165px !important;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box:nth-child(1) .pie svg,
body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box:nth-child(3) .pie svg {
  width: 165px !important;
  height: 165px !important;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box:nth-child(2) .pie {
  width: 173px !important;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box:nth-child(2) .pie svg {
  width: 173px !important;
  height: 173px !important;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box:nth-child(1),
body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-main-box:nth-child(3) {
  padding-top: 8px;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__pies .pie-title p {
  font-size: 14px;
  font-family: 'museo-semibold', sans-serif;
  font-weight: 600;
  color: #141053 !important;
  margin-top: 8px;
  text-align: center;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 40px 48px 48px;
  padding-right: 280px;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  min-width: 0;
  max-width: 100%;
  padding-top: 12px;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__desc {
  max-width: 100%;
}

body.dashboard-preview-desktop .dashboard-desktop-hero__house {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

body.dashboard-preview-desktop .dashboard-hero,
body.dashboard-preview-desktop .dashboard-summary {
  display: none !important;
}

body.dashboard-preview-desktop .dashboard-desktop-topbar,
body.dashboard-preview-desktop .dashboard-desktop-hero {
  display: block !important;
}

body.dashboard-preview-desktop .tab-label--mobile {
  display: none !important;
}

body.dashboard-preview-desktop .tab-label--desktop {
  display: inline !important;
}

body.dashboard-preview-desktop .mobile-footer {
  display: none !important;
}

/* Grid cards: hide hover overlay (keep markup), full-bleed images */
body.dashboard-2026 .grid-view-cards .card,
body.dashboard-preview-desktop .grid-view-cards .card {
  position: relative;
  overflow: hidden;
}

body.dashboard-2026 .grid-view-cards .card:hover .hover-card,
body.dashboard-preview-desktop .grid-view-cards .card:hover .hover-card {
  bottom: -360px !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

body.dashboard-2026 .grid-view-cards .hover-card,
body.dashboard-preview-desktop .grid-view-cards .hover-card {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.dashboard-2026 .grid-view-cards .card-img-box,
body.dashboard-preview-desktop .grid-view-cards .card-img-box {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: inherit !important;
}

body.dashboard-2026 .grid-view-cards .card-img-box img,
body.dashboard-2026 .grid-view-cards .card > img,
body.dashboard-preview-desktop .grid-view-cards .card-img-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  /* Bron-PNG's hebben ingebakken witte marge; licht opschalen cropt die weg */
  transform: scale(1.12) !important;
  border-radius: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

body.dashboard-2026 .grid-view-cards .card,
body.dashboard-preview-desktop .grid-view-cards .card {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* Todo-vinkje: gecentreerd in gele cirkel, iets dikker */
body.dashboard-2026 .grid-view-cards .checkbox-round[switchstatus="todo"]::after,
body.dashboard-preview-desktop .grid-view-cards .checkbox-round[switchstatus="todo"]::after {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 16px !important;
  height: 8px !important;
  border-width: 3.5px !important;
  transform: translate(-50%, -58%) rotate(-45deg) !important;
}

/* Done-vinkje (Al gedaan): zelfde dikke stijl als todo */
body.dashboard-2026 .grid-view-cards .checkbox-round[switchstatus="done"]::after,
body.dashboard-preview-desktop .grid-view-cards .checkbox-round[switchstatus="done"]::after {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 16px !important;
  height: 8px !important;
  border-width: 3.5px !important;
  border-color: #fff !important;
  border-style: solid !important;
  border-top: none !important;
  border-right: none !important;
  background: none !important;
  transform: translate(-50%, -58%) rotate(-45deg) !important;
}

/* Thumbs up/down op hover: 75% van origineel, gecentreerd in rondje */
body.dashboard-2026 .grid-view-cards .checkbox-round[switchstatus="done"]:hover::after,
body.dashboard-preview-desktop .grid-view-cards .checkbox-round[switchstatus="done"]:hover::after {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 60% !important;
  height: 60% !important;
  border: none !important;
  background: url(../image/thumbs-.png) center/contain no-repeat !important;
  transform: translate(-50%, -50%) scale(0.75) scaleY(-1) !important;
}

/* Kaarthoogte: +5px t.o.v. 372px (4:5 → 287×377) — alle dashboards */
body.dashboard-2026 .grid-view-cards .card,
body.dashboard-preview-desktop .grid-view-cards .card {
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 4 / 5.254 !important;
}

/* Desktop: verouderd detail-pane (incl. ← Terug) verbergen onder maatregelen */
@media (min-width: 769px) {
  body.dashboard-2026 .checklist-detail-pane,
  body.dashboard-preview-desktop .checklist-detail-pane {
    display: none !important;
  }
}
