/* CAS-Jartpoint V23 — desktop zijmenu, mobiel compact bovenmenu */
.cj-shell,
.cj-shell * { box-sizing: border-box; }
.cj-icon { width: 20px; height: 20px; flex: 0 0 auto; }

.cj-shell {
  --shell-width: 272px;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10000;
  width: var(--shell-width);
  color: #f8f0d7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 0, rgba(231, 198, 109, .16), transparent 20rem),
    linear-gradient(165deg, #071811 0%, #0d2a20 42%, #123c2d 100%);
  border-right: 1px solid rgba(231, 198, 109, .25);
  box-shadow: 18px 0 45px rgba(6, 20, 13, .16);
}
.cj-shell::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 3px;
  background: linear-gradient(180deg, transparent, #c99537 15%, #e7c66d 50%, #c99537 85%, transparent);
  opacity: .78;
}
.cj-shell__mobilebar { display: none; }
.cj-shell__panel {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 22px 18px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(231,198,109,.35) transparent;
}
.cj-shell__brand,
.cj-shell__mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff8e6;
  text-decoration: none;
}
.cj-shell__brand { padding: 3px 4px 11px; }
.cj-shell__brand b { display: block; font-size: 20px; letter-spacing: -.035em; }
.cj-shell__brand small {
  display: block;
  margin-top: 3px;
  color: #b9b59e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cj-shell__ball {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  color: #171006;
  background: radial-gradient(circle at 32% 24%, #fff3b8 0 14%, #e7c66d 22%, #c99537 58%, #84520e 100%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0,0,0,.28), inset 0 2px 2px rgba(255,255,255,.5);
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: -.08em;
}
.cj-shell__ball::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  right: 4px;
  bottom: 4px;
  border: 2px solid rgba(255,255,255,.65);
  border-radius: 50%;
  opacity: .28;
}

.cj-shell__section { display: grid; gap: 8px; }
.cj-shell__section--context {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.cj-shell__eyebrow {
  padding: 0 10px;
  color: #a9ad9f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cj-shell__nav,
.cj-shell__subnav { display: grid; gap: 6px; }
.cj-shell__link,
.cj-shell__sublink,
.cj-shell__more > summary {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  color: #dedccf;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.cj-shell__more > summary::-webkit-details-marker { display: none; }
.cj-shell__link:hover,
.cj-shell__sublink:hover,
.cj-shell__more > summary:hover {
  color: #fff8e6;
  background: rgba(255,255,255,.075);
  border-color: rgba(231, 198, 109, .19);
  transform: translateX(2px);
}
.cj-shell__link.is-active,
.cj-shell__sublink.is-active {
  color: #1e170b;
  background: linear-gradient(135deg, #efd788 0%, #c99537 100%);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 11px 24px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.45);
}
.cj-shell__link.is-active .cj-icon,
.cj-shell__sublink.is-active .cj-icon { stroke-width: 2.2; }
.cj-shell__chevron { display: grid; margin-left: auto; opacity: .48; }
.cj-shell__chevron .cj-icon { width: 15px; height: 15px; }
.cj-shell__link.is-active .cj-shell__chevron { opacity: .75; }

.cj-shell__sublink {
  min-height: 42px;
  padding-left: 14px;
  color: #c8ccc2;
  font-size: 13px;
}
.cj-shell__sublink .cj-icon { width: 18px; height: 18px; }

.cj-shell__more { position: relative; }
.cj-shell__more > summary { min-height: 45px; }
.cj-shell__more[open] > summary {
  color: #fff6dc;
  background: rgba(255,255,255,.075);
  border-color: rgba(231,198,109,.18);
}
.cj-shell__more[open] .cj-shell__chevron { transform: rotate(90deg); }
.cj-shell__more > div {
  display: grid;
  gap: 4px;
  margin-top: 7px;
  padding: 8px;
  background: rgba(1, 12, 7, .24);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
}
.cj-shell__more > div a {
  padding: 9px 10px;
  color: #cecdbf;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}
.cj-shell__more > div a:hover { color: #fff8e6; background: rgba(255,255,255,.075); }

.cj-shell__public-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 14px;
  color: #ddd9c8;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(231,198,109,.14);
  border-radius: 16px;
}
.cj-shell__note-ball {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  background: #121212;
  border: 3px solid #f4efe2;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0,0,0,.24);
  font-size: 13px;
  font-weight: 1000;
}
.cj-shell__public-note p { margin: 0; }
.cj-shell__public-note b { display: block; color: #fff5da; font-size: 13px; }
.cj-shell__public-note small { display: block; margin-top: 2px; color: #aaa99e; font-size: 11px; line-height: 1.35; }

.cj-shell__account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.cj-shell__account > div { min-width: 0; }
.cj-shell__account small { display: block; color: #92998f; font-size: 10px; }
.cj-shell__account strong {
  display: block;
  max-width: 125px;
  overflow: hidden;
  color: #f5efd9;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cj-shell__account a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: #241a09;
  background: linear-gradient(135deg, #efd788, #c99537);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(0,0,0,.2);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
.cj-shell__account a .cj-icon { width: 18px; height: 18px; }
.cj-shell__account--public { margin-top: 0; }
.cj-shell__account--public a { width: 100%; }

body.cj-has-admin-shell,
body.cj-has-public-shell { padding-left: 272px !important; }

@media (max-width: 980px) {
  .cj-shell {
    position: sticky;
    inset: 0 auto auto;
    width: 100%;
    height: 68px;
    border-right: 0;
    border-bottom: 1px solid rgba(231,198,109,.3);
    box-shadow: 0 12px 28px rgba(5,18,11,.23);
  }
  .cj-shell::after { inset: auto 0 0; width: auto; height: 3px; background: linear-gradient(90deg, transparent, #c99537, #e7c66d, #c99537, transparent); }
  .cj-shell__mobilebar {
    position: relative;
    z-index: 3;
    display: flex;
    height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
  }
  .cj-shell__mobile-brand { min-width: 0; }
  .cj-shell__mobile-brand b { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
  .cj-shell__mobile-brand .cj-shell__ball { width: 40px; height: 40px; font-size: 12px; }
  .cj-shell__toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    color: #241a09;
    background: linear-gradient(135deg, #efd788, #c99537);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
    font-weight: 900;
  }
  .cj-shell__toggle .cj-icon { width: 19px; height: 19px; }
  .cj-shell__panel {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    height: min(calc(100vh - 68px), 720px);
    padding: 16px 13px 18px;
    background:
      radial-gradient(circle at 10% 0, rgba(231, 198, 109, .14), transparent 20rem),
      linear-gradient(165deg, #071811 0%, #0d2a20 55%, #123c2d 100%);
    border-bottom: 1px solid rgba(231,198,109,.28);
    box-shadow: 0 22px 42px rgba(4,15,9,.34);
  }
  .cj-shell.is-open .cj-shell__panel { display: flex; }
  .cj-shell__brand { display: none; }
  .cj-shell__section { gap: 7px; }
  .cj-shell__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cj-shell__link { min-height: 48px; }
  .cj-shell__section--context { padding-top: 12px; }
  .cj-shell__subnav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cj-shell__account,
  .cj-shell__public-note { margin-top: 4px; }
  body.cj-has-admin-shell,
  body.cj-has-public-shell { padding-left: 0 !important; }
}

@media (max-width: 560px) {
  .cj-shell__toggle span { display: none; }
  .cj-shell__nav,
  .cj-shell__subnav { grid-template-columns: 1fr; }
  .cj-shell__panel { height: calc(100vh - 68px); }
  .cj-shell__account strong { max-width: 170px; }
}

/* V24: modules blijven strikt van elkaar gescheiden. */
.cj-shell__home {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding: 0 13px;
  color: #f4e7bf;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(231,198,109,.18);
  border-radius: 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.cj-shell__home:hover {
  color: #fff8e6;
  background: rgba(255,255,255,.09);
  border-color: rgba(231,198,109,.34);
  transform: translateY(-1px);
}
.cj-shell__home + .cj-shell__account { margin-top: 0; }
@media (max-width:980px) {
  .cj-shell__home { margin-top: 4px; }
}
