.m33ccj {
  --m33ccj-ink: #153d3a;
  --m33ccj-muted: #627b76;
  --m33ccj-paper: #edf4f0;
  --m33ccj-paper-2: #e3eee9;
  --m33ccj-line: rgba(21, 61, 58, .16);
  --m33ccj-marker: #87505a;
  --m33ccj-marker-soft: rgba(135, 80, 90, .24);
  position: relative;
  isolation: isolate;
  margin: 58px -12px 0;
  padding: 46px 18px 72px;
  overflow: clip;
  border: 1px solid rgba(21, 61, 58, .09);
  border-radius: 26px;
  color: var(--m33ccj-ink);
  background:
    radial-gradient(circle at 88% 4%, rgba(130, 190, 176, .18), transparent 26%),
    radial-gradient(circle at 7% 42%, rgba(135, 80, 90, .07), transparent 20%),
    linear-gradient(180deg, #f2f7f4 0%, var(--m33ccj-paper) 52%, #e8f1ed 100%);
}

.m33ccj::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .26;
  background-image: linear-gradient(rgba(21, 61, 58, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 61, 58, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 42%);
}

.m33ccj button,
.m33ccj input {
  font: inherit;
}

.m33ccj button {
  -webkit-tap-highlight-color: transparent;
}

.m33ccj__header {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.m33ccj__eyebrow,
.m33ccj-stage__header p,
.m33ccj-placeholder span,
.m33ccj-comparison header p,
.m33ccj-doctor-note > p {
  margin: 0;
  color: #5a7772;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.m33ccj__header h3 {
  max-width: 620px;
  margin: 15px 0 18px;
  color: var(--m33ccj-ink);
  font-size: clamp(35px, 10vw, 47px);
  line-height: .99;
  letter-spacing: -.035em;
}

.m33ccj__intro {
  max-width: 520px;
  margin: 0;
  color: var(--m33ccj-muted);
  font-size: 16px;
  line-height: 1.62;
}

.m33ccj__case-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 23px;
  padding: 7px 12px;
  border: 1px solid rgba(21, 61, 58, .19);
  border-radius: 999px;
  color: var(--m33ccj-ink);
  background: rgba(255, 255, 255, .42);
  font-size: 12px;
  line-height: 1.2;
}

.m33ccj-route {
  position: relative;
  margin-top: 68px;
}

.m33ccj-route__line {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.m33ccj-route__path,
.m33ccj-route__mask {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m33ccj-route__path {
  stroke: var(--m33ccj-marker);
  stroke-width: 2;
  stroke-dasharray: 2 10;
  vector-effect: non-scaling-stroke;
}

.m33ccj-route__path--base {
  opacity: .18;
}

.m33ccj-route__path--progress {
  opacity: .9;
}

.m33ccj-route__mask {
  stroke: #fff;
  stroke-width: 12;
}

.m33ccj-stages {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 112px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.m33ccj-stage {
  position: relative;
  min-width: 0;
}

.m33ccj-stage__route-point {
  position: absolute;
  z-index: -1;
  top: 96px;
  left: 9%;
  width: 8px;
  height: 8px;
  border: 2px solid var(--m33ccj-paper);
  border-radius: 50%;
  background: var(--m33ccj-marker);
  box-shadow: 0 0 0 1px rgba(135, 80, 90, .42);
}

.m33ccj-stage[data-align="left"] .m33ccj-stage__route-point {
  right: 9%;
  left: auto;
}

.m33ccj-stage__header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  width: min(100%, 520px);
}

.m33ccj-stage[data-align="right"] .m33ccj-stage__header,
.m33ccj-stage[data-align="right"] .m33ccj-stage__body {
  margin-left: auto;
}

.m33ccj-stage__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(135, 80, 90, .34);
  border-radius: 50%;
  color: var(--m33ccj-marker);
  background: rgba(242, 247, 244, .86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.m33ccj-stage__header p {
  margin: 2px 0 8px;
  color: var(--m33ccj-marker);
}

.m33ccj-stage__header h4 {
  margin: 0;
  color: var(--m33ccj-ink);
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.03;
  letter-spacing: -.025em;
}

.m33ccj-stage__body {
  width: min(92%, 520px);
  margin-top: 24px;
  padding-left: 57px;
}

.m33ccj-stage__body p {
  margin: 0;
  color: #425f5b;
  font-size: 15px;
  line-height: 1.66;
}

.m33ccj-stage__body p + p {
  margin-top: 12px;
}

.m33ccj-scene {
  position: relative;
  display: flow-root;
  min-width: 0;
  margin-top: 30px;
}

.m33ccj-main-media {
  position: relative;
  z-index: 2;
  width: 91%;
}

.m33ccj-stage[data-align="right"] .m33ccj-main-media {
  margin-left: auto;
}

.m33ccj-media-button,
.m33ccj-rail-item {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.m33ccj-media-button {
  width: 100%;
}

.m33ccj-media-frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px 20px 58px 20px;
  background: #d2ded8;
  box-shadow: 0 24px 60px rgba(18, 55, 51, .15);
}

.m33ccj-stage[data-align="left"] .m33ccj-media-frame {
  border-radius: 20px 20px 20px 58px;
}

.m33ccj-stage--result .m33ccj-media-frame {
  aspect-ratio: 3 / 4;
  border-radius: 52% 52% 24px 24px / 22% 22% 24px 24px;
  box-shadow: 0 28px 70px rgba(18, 55, 51, .17);
}

.m33ccj-media-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter .2s ease;
}

.m33ccj-media-button:hover .m33ccj-media-frame > img {
  filter: brightness(.97);
}

.m33ccj-media__annotations {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.m33ccj-anatomy-path {
  fill: rgba(135, 80, 90, .025);
  stroke: rgba(126, 65, 77, .96);
  stroke-width: 2.2;
  stroke-dasharray: .022 .034;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 1.5px rgba(255, 251, 247, .95));
  opacity: 0;
}

.m33ccj-expand,
.m33ccj-play,
.m33ccj-annotation-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(11, 43, 40, .64);
  box-shadow: 0 8px 24px rgba(8, 30, 28, .16);
  backdrop-filter: blur(8px);
}

.m33ccj-expand {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
}

.m33ccj-play {
  top: 50%;
  left: 50%;
  gap: 8px;
  min-height: 48px;
  padding: 0 15px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  font-size: 13px;
}

.m33ccj-play span {
  font-size: 16px;
}

.m33ccj-play b {
  font-weight: 600;
}

.m33ccj-annotation-badge {
  right: 12px;
  bottom: 12px;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.m33ccj-media-caption {
  display: block;
  margin-top: 11px;
  padding-inline: 3px;
  color: #58726d;
  font-size: 12px;
  line-height: 1.4;
}

.m33ccj-connectors,
.m33ccj-viewer__connectors {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.m33ccj-connectors path,
.m33ccj-viewer__connectors path {
  fill: none;
  stroke: var(--m33ccj-marker);
  stroke-width: 1.7;
  stroke-dasharray: .024 .038;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.m33ccj-doctor-notes {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 22px;
  width: 88%;
  margin-top: 30px;
}

.m33ccj-stage[data-align="right"] .m33ccj-doctor-notes {
  margin-right: auto;
}

.m33ccj-stage[data-align="left"] .m33ccj-doctor-notes {
  margin-left: auto;
}

.m33ccj-doctor-note {
  position: relative;
  max-width: 430px;
  padding: 4px 0 4px 16px;
  border-left: 1px solid rgba(135, 80, 90, .52);
  background: linear-gradient(90deg, rgba(242, 247, 244, .88), rgba(242, 247, 244, 0));
  opacity: 0;
  transform: translateY(8px);
}

.m33ccj-doctor-note:nth-child(even) {
  margin-left: 8%;
}

.m33ccj-doctor-note > p {
  margin-bottom: 7px;
  color: var(--m33ccj-marker);
  font-size: 9px;
}

.m33ccj-doctor-note > div {
  color: #314f4a;
  font-size: 14px;
  line-height: 1.58;
}

.m33ccj-rail-wrap {
  position: relative;
  z-index: 2;
  margin-top: 30px;
}

.m33ccj-rail-wrap > p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 11px;
  color: #607a75;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.m33ccj-media-rail {
  display: grid;
  grid-auto-columns: minmax(118px, 42%);
  grid-auto-flow: column;
  gap: 9px;
  margin-right: -18px;
  padding: 2px 20% 10px 1px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-left: 1px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.m33ccj-media-rail::-webkit-scrollbar {
  display: none;
}

.m33ccj-media-rail > div {
  min-width: 0;
  scroll-snap-align: start;
}

.m33ccj-rail-item {
  width: 100%;
  cursor: pointer;
}

.m33ccj-rail-item__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(21, 61, 58, .1);
  border-radius: 13px;
  background: #d4e0da;
}

.m33ccj-rail-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m33ccj-rail-item__play,
.m33ccj-rail-item__mark {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(12, 48, 45, .7);
  backdrop-filter: blur(6px);
}

.m33ccj-rail-item__play {
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
}

.m33ccj-rail-item__mark {
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 17px;
}

.m33ccj-rail-item__caption {
  display: -webkit-box;
  min-height: 35px;
  margin-top: 7px;
  overflow: hidden;
  color: #4e6a65;
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.m33ccj-placeholder {
  position: relative;
  display: grid;
  min-height: 285px;
  margin-top: 30px;
  padding: 28px;
  overflow: hidden;
  place-items: end start;
  border: 1px dashed rgba(135, 80, 90, .34);
  border-radius: 18px 18px 52px 18px;
  background: rgba(255, 255, 255, .22);
}

.m33ccj-stage[data-align="left"] .m33ccj-placeholder {
  border-radius: 18px 18px 18px 52px;
}

.m33ccj-placeholder svg {
  position: absolute;
  top: 14px;
  right: -22px;
  width: 86%;
  opacity: .46;
}

.m33ccj-placeholder svg path {
  fill: none;
  stroke: var(--m33ccj-marker);
  stroke-width: 1.7;
  stroke-dasharray: 3 8;
  stroke-linecap: round;
}

.m33ccj-placeholder > div {
  position: relative;
  max-width: 300px;
}

.m33ccj-placeholder h4 {
  margin: 9px 0 8px;
  color: var(--m33ccj-ink);
  font-size: 24px;
  line-height: 1.08;
}

.m33ccj-placeholder p {
  margin: 0;
  color: var(--m33ccj-muted);
  font-size: 13px;
  line-height: 1.55;
}

.m33ccj-stage--result {
  padding-top: 13px;
}

.m33ccj-stage--result::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -38px;
  right: -18px;
  bottom: -42px;
  left: -18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .31);
  box-shadow: inset 0 0 0 1px rgba(21, 61, 58, .06);
}

.m33ccj-comparison {
  position: relative;
  z-index: 2;
  margin-top: 46px;
}

.m33ccj-comparison header {
  margin-bottom: 16px;
}

.m33ccj-comparison header h4 {
  margin: 8px 0 0;
  color: var(--m33ccj-ink);
  font-size: 26px;
  line-height: 1.08;
}

.m33ccj-comparison__viewport {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border-radius: 18px;
  background: #d2ded8;
  box-shadow: 0 22px 55px rgba(18, 55, 51, .15);
  touch-action: pan-y;
}

.m33ccj-comparison__after,
.m33ccj-comparison__before,
.m33ccj-comparison__before img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.m33ccj-comparison__after,
.m33ccj-comparison__before img {
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.m33ccj-comparison__before {
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--m33ccj-split)) 0 0);
}

.m33ccj-comparison__divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--m33ccj-split);
  width: 2px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px rgba(17, 58, 54, .14);
  transform: translateX(-1px);
  pointer-events: none;
}

.m33ccj-comparison__divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 61, 57, .82);
  box-shadow: 0 9px 24px rgba(9, 35, 32, .22);
  font-style: normal;
  transform: translate(-50%, -50%);
}

.m33ccj-comparison input[type="range"] {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.m33ccj-comparison__label {
  position: absolute;
  z-index: 3;
  top: 12px;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(14, 47, 44, .66);
  backdrop-filter: blur(7px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.m33ccj-comparison__label--before { left: 12px; }
.m33ccj-comparison__label--after { right: 12px; }

.m33ccj-comparison__caption {
  margin: 12px 2px 0;
  color: var(--m33ccj-muted);
  font-size: 11px;
  line-height: 1.5;
}

.m33ccj-reveal,
.m33ccj-reveal-part {
  opacity: 0;
  transform: translateY(13px);
}

.m33ccj-reveal.is-visible,
.m33ccj-stage.is-visible .m33ccj-stage__header,
.m33ccj-stage.is-visible .m33ccj-stage__body {
  opacity: 1;
  transform: none;
  transition: opacity .48s ease, transform .56s cubic-bezier(.2, .7, .25, 1);
}

.m33ccj-stage.is-visible .m33ccj-stage__body {
  transition-delay: .08s;
}

.m33ccj-stage.is-visible .m33ccj-main-media,
.m33ccj-stage.is-visible > .m33ccj-reveal-part:not(.m33ccj-comparison),
.m33ccj-stage.is-visible .m33ccj-rail-wrap {
  opacity: 1;
  transform: none;
  transition: opacity .56s ease .16s, transform .62s cubic-bezier(.2, .7, .25, 1) .16s;
}

.m33ccj-stage.is-visible .m33ccj-anatomy-path {
  opacity: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .9s ease .46s, opacity .2s ease .46s;
}

.m33ccj-stage.is-visible .m33ccj-connectors path {
  opacity: .82;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .72s ease .72s, opacity .22s ease .72s;
}

.m33ccj-stage.is-visible .m33ccj-doctor-note {
  opacity: 1;
  transform: none;
  transition: opacity .42s ease .92s, transform .5s ease .92s;
}

.m33ccj-stage.is-visible .m33ccj-doctor-note:nth-child(2) { transition-delay: 1.04s; }
.m33ccj-stage.is-visible .m33ccj-doctor-note:nth-child(3) { transition-delay: 1.16s; }

.m33ccj-stage.is-visible .m33ccj-comparison {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease .3s, transform .62s ease .3s;
}

.m33ccj :focus-visible {
  outline: 3px solid rgba(135, 80, 90, .52);
  outline-offset: 3px;
}

body.m33ccj-viewer-open {
  overflow: hidden;
}

body.m33ccj-viewer-open .m33ccj {
  z-index: 2147481999;
  isolation: auto;
  overflow: visible;
}

.m33ccj-viewer[hidden] {
  display: none;
}

.m33ccj-viewer {
  --m33ccj-viewer-ink: #f4faf7;
  position: fixed;
  z-index: 2147482000;
  inset: 0;
  color: var(--m33ccj-viewer-ink);
}

.m33ccj-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 28, 26, .96);
  backdrop-filter: blur(14px);
}

.m33ccj-viewer__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100dvh;
  min-height: 100%;
  animation: m33ccj-viewer-in .22s ease both;
}

@keyframes m33ccj-viewer-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.m33ccj-viewer__topbar {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: max(12px, env(safe-area-inset-top)) 13px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: rgba(6, 28, 26, .82);
}

.m33ccj-viewer__topbar > div:first-child {
  min-width: 0;
}

.m33ccj-viewer__topbar p {
  margin: 0 0 3px;
  overflow: hidden;
  color: rgba(244, 250, 247, .56);
  font-size: 9px;
  letter-spacing: .12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.m33ccj-viewer__topbar h2 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m33ccj-viewer__tools {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
}

.m33ccj-viewer__toggle,
.m33ccj-viewer__close,
.m33ccj-viewer__nav {
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  background: rgba(255, 255, 255, .09);
  cursor: pointer;
}

.m33ccj-viewer__toggle {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 10px;
}

.m33ccj-viewer__toggle i {
  position: relative;
  display: block;
  width: 29px;
  height: 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
}

.m33ccj-viewer__toggle i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s ease;
}

.m33ccj-viewer__toggle[aria-checked="true"] i {
  background: #9d6570;
}

.m33ccj-viewer__toggle[aria-checked="true"] i::after {
  transform: translateX(12px);
}

.m33ccj-viewer__toggle[hidden] {
  display: none;
}

.m33ccj-viewer__close,
.m33ccj-viewer__nav {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border-radius: 50%;
}

.m33ccj-viewer__close {
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}

.m33ccj-viewer__body {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
}

.m33ccj-viewer__scene {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 16px 14px 26px;
  scrollbar-width: thin;
}

.m33ccj-viewer__media {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-height: 0;
  place-items: center;
}

.m33ccj-viewer__zoom-surface {
  position: relative;
  display: grid;
  width: 100%;
  min-height: min(66dvh, 620px);
  overflow: hidden;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, .16);
  touch-action: none;
}

.m33ccj-viewer__image-stack {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  transform-origin: center;
  will-change: transform;
}

.m33ccj-viewer__image-stack img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(68dvh, 720px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.m33ccj-viewer__image-stack .m33ccj-media__annotations {
  width: 100%;
  height: 100%;
}

.m33ccj-viewer__image-stack .m33ccj-anatomy-path {
  opacity: 1;
  stroke-dashoffset: 0;
}

.m33ccj-viewer video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  border-radius: 12px;
  background: #000;
}

.m33ccj-viewer__notes {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.m33ccj-viewer__notes article {
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-left-color: rgba(213, 144, 156, .8);
  border-radius: 0 10px 10px 0;
  color: rgba(244, 250, 247, .82);
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  line-height: 1.5;
}

.m33ccj-viewer__notes article p {
  margin: 0 0 5px;
  color: #e4aeba;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.m33ccj-viewer__connectors path {
  stroke: #d497a3;
  opacity: .8;
  stroke-dashoffset: 0;
}

.m33ccj-viewer.is-clean .m33ccj-media__annotations,
.m33ccj-viewer.is-clean .m33ccj-viewer__connectors,
.m33ccj-viewer.is-clean .m33ccj-viewer__notes {
  visibility: hidden;
  opacity: 0;
  transition: opacity .16s ease, visibility 0s linear .16s;
}

.m33ccj-viewer:not(.is-clean) .m33ccj-media__annotations,
.m33ccj-viewer:not(.is-clean) .m33ccj-viewer__connectors,
.m33ccj-viewer:not(.is-clean) .m33ccj-viewer__notes {
  visibility: visible;
  opacity: 1;
  transition: opacity .16s ease;
}

.m33ccj-viewer__nav {
  position: absolute;
  z-index: 8;
  top: 50%;
  opacity: .92;
  transform: translateY(-50%);
}

.m33ccj-viewer__nav--prev { left: 8px; }
.m33ccj-viewer__nav--next { right: 8px; }

.m33ccj-viewer__nav[disabled] {
  display: none;
}

.m33ccj-viewer__footer {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 12px;
  align-items: center;
  min-height: 60px;
  padding: 10px 14px max(11px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(244, 250, 247, .62);
  background: rgba(6, 28, 26, .86);
  font-size: 11px;
}

.m33ccj-viewer__footer p {
  margin: 0;
  overflow: hidden;
  color: rgba(244, 250, 247, .8);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m33ccj-viewer__hint {
  grid-column: 1 / -1;
  font-size: 9px;
}

@media (min-width: 560px) {
  .m33ccj {
    margin-inline: 0;
    padding-inline: 30px;
  }

  .m33ccj-media-rail {
    grid-auto-columns: minmax(150px, 31%);
    margin-right: -30px;
    padding-right: 13%;
  }

  .m33ccj-comparison__viewport {
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 780px) {
  .m33ccj {
    margin-top: 76px;
    padding: 72px 48px 100px;
    border-radius: 34px;
  }

  .m33ccj__header h3 {
    font-size: clamp(46px, 6vw, 72px);
  }

  .m33ccj__intro {
    font-size: 18px;
  }

  .m33ccj-route {
    margin-top: 100px;
  }

  .m33ccj-stages {
    gap: 150px;
  }

  .m33ccj-stage__route-point { left: 16%; }
  .m33ccj-stage[data-align="left"] .m33ccj-stage__route-point { right: 16%; }

  .m33ccj-stage__header {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
  }

  .m33ccj-stage__number {
    width: 52px;
    height: 52px;
  }

  .m33ccj-stage__header h4 {
    font-size: clamp(36px, 4.2vw, 52px);
  }

  .m33ccj-stage__body {
    padding-left: 72px;
  }

  .m33ccj-scene {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(220px, .66fr);
    gap: 34px;
    align-items: center;
    margin-top: 42px;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-scene {
    grid-template-columns: minmax(220px, .66fr) minmax(0, 1.34fr);
  }

  .m33ccj-stage[data-align="left"] .m33ccj-main-media {
    grid-column: 2;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-doctor-notes {
    grid-column: 1;
    grid-row: 1;
  }

  .m33ccj-main-media,
  .m33ccj-doctor-notes {
    width: 100%;
    margin: 0;
  }

  .m33ccj-media-frame {
    aspect-ratio: 4 / 5;
    border-radius: 28px 28px 82px 28px;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-media-frame {
    border-radius: 28px 28px 28px 82px;
  }

  .m33ccj-doctor-notes {
    gap: 30px;
  }

  .m33ccj-doctor-note:nth-child(even) {
    margin-left: 0;
  }

  .m33ccj-doctor-note > div {
    font-size: 15px;
  }

  .m33ccj-rail-wrap {
    width: 72%;
    margin-top: 34px;
  }

  .m33ccj-stage[data-align="right"] .m33ccj-rail-wrap {
    margin-left: auto;
  }

  .m33ccj-media-rail {
    grid-auto-columns: minmax(138px, 32%);
    margin-right: 0;
    padding-right: 8%;
  }

  .m33ccj-placeholder {
    width: 72%;
    min-height: 380px;
    margin-top: 42px;
    padding: 42px;
  }

  .m33ccj-stage[data-align="right"] .m33ccj-placeholder {
    margin-left: auto;
  }

  .m33ccj-stage--result::before {
    top: -58px;
    right: -34px;
    bottom: -70px;
    left: -34px;
    border-radius: 34px;
  }

  .m33ccj-comparison {
    width: 72%;
    margin-top: 68px;
  }

  .m33ccj-stage[data-align="right"] .m33ccj-comparison {
    margin-left: auto;
  }

  .m33ccj-comparison__viewport {
    aspect-ratio: 4 / 5;
  }

  .m33ccj-viewer__topbar {
    min-height: 82px;
    padding-inline: 24px;
  }

  .m33ccj-viewer__body {
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    align-items: center;
    padding: 12px 18px;
  }

  .m33ccj-viewer__scene {
    grid-column: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 32%);
    gap: 28px;
    align-items: center;
    height: 100%;
    padding: 6px;
    overflow: hidden;
  }

  .m33ccj-viewer__scene.no-notes {
    grid-template-columns: 1fr;
  }

  .m33ccj-viewer__zoom-surface {
    min-height: 0;
    height: 100%;
  }

  .m33ccj-viewer__image-stack img {
    max-height: calc(100dvh - 190px);
  }

  .m33ccj-viewer__notes {
    max-height: calc(100dvh - 210px);
    margin-top: 0;
    overflow: auto;
  }

  .m33ccj-viewer__nav {
    position: static;
    transform: none;
  }

  .m33ccj-viewer__nav--prev { grid-column: 1; grid-row: 1; justify-self: center; }
  .m33ccj-viewer__nav--next { grid-column: 3; grid-row: 1; justify-self: center; }

  .m33ccj-viewer__footer {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 58px;
    padding-inline: 24px;
  }

  .m33ccj-viewer__hint {
    grid-column: 3;
  }
}

@media (min-width: 1120px) {
  .m33ccj {
    padding: 96px 76px 124px;
  }

  .m33ccj-stages {
    gap: 182px;
  }

  .m33ccj-stage__header,
  .m33ccj-stage__body {
    width: min(55%, 590px);
  }

  .m33ccj-scene {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
    gap: 62px;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-scene {
    grid-template-columns: minmax(300px, .6fr) minmax(0, 1.4fr);
  }

  .m33ccj-main-media {
    width: 88%;
  }

  .m33ccj-stage[data-align="right"] .m33ccj-main-media {
    margin-left: 8%;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-main-media {
    margin-right: 8%;
  }

  .m33ccj-placeholder,
  .m33ccj-comparison,
  .m33ccj-rail-wrap {
    width: 66%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .m33ccj *,
  .m33ccj *::before,
  .m33ccj *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .m33ccj-reveal,
  .m33ccj-reveal-part,
  .m33ccj-doctor-note,
  .m33ccj-anatomy-path,
  .m33ccj-connectors path {
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* 2026-09-03 refinement: compact stage panels, warm palette and light viewer. */
.m33ccj {
  --m33ccj-ink: #173e39;
  --m33ccj-muted: #61756f;
  --m33ccj-paper: #f4f6f1;
  --m33ccj-paper-2: #e8efea;
  --m33ccj-line: rgba(23, 62, 57, .14);
  --m33ccj-marker: #8f676f;
  --m33ccj-marker-soft: rgba(143, 103, 111, .2);
  --m33ccj-anatomy: #a56f79;
  margin: 40px -4px 0;
  padding: 34px 10px 44px;
  border-color: rgba(23, 62, 57, .11);
  border-radius: 25px;
  background:
    radial-gradient(circle at 90% 3%, rgba(105, 135, 128, .17), transparent 25%),
    linear-gradient(180deg, #f7f8f3 0%, #edf3ee 56%, #e6eee9 100%);
}

.m33ccj::before {
  opacity: .18;
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 28%);
}

.m33ccj__header {
  padding-inline: 10px;
}

.m33ccj__header h3 {
  margin: 11px 0 13px;
  font-size: clamp(31px, 9vw, 43px);
  line-height: 1.02;
}

.m33ccj__intro {
  font-size: 14px;
  line-height: 1.55;
}

.m33ccj__case-label {
  margin-top: 17px;
  border-color: rgba(143, 103, 111, .28);
  color: #5e5355;
  background: rgba(255, 251, 240, .78);
}

.m33ccj-case-switcher {
  display: grid;
  grid-auto-columns: minmax(218px, 82%);
  grid-auto-flow: column;
  gap: 8px;
  margin: 22px -10px 0;
  padding: 2px 18% 6px 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.m33ccj-case-switcher::-webkit-scrollbar { display: none; }

.m33ccj-case-switcher__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  min-height: 50px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(23, 62, 57, .14);
  border-radius: 13px;
  color: #586d67;
  background: rgba(255, 253, 248, .65);
  scroll-snap-align: start;
  text-align: left;
}

.m33ccj-case-switcher__item span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #47665f;
  background: #dfe8e3;
  font-size: 10px;
}

.m33ccj-case-switcher__item strong {
  font-size: 11px;
  font-weight: 620;
  line-height: 1.35;
}

.m33ccj-case-switcher__item.is-current {
  border-color: rgba(23, 62, 57, .24);
  color: #fff;
  background: #17463f;
  box-shadow: 0 9px 24px rgba(20, 59, 54, .12);
}

.m33ccj-case-switcher__item.is-current span {
  color: #294a45;
  background: #c9ddd4;
}

.m33ccj-case-switcher__item:disabled {
  opacity: .58;
  cursor: default;
}

.m33ccj-route {
  margin-top: 38px;
}

.m33ccj-route__path {
  stroke: var(--m33ccj-marker);
  stroke-width: 1.8;
  stroke-dasharray: 4 9;
}

.m33ccj-route__path--base { opacity: .12; }
.m33ccj-route__path--progress { opacity: .76; }
.m33ccj-route__mask { transition: stroke-dashoffset .12s linear; }

.m33ccj-stages {
  gap: 42px;
}

.m33ccj-stage {
  padding: 22px 14px 25px;
  border: 1px solid rgba(43, 69, 62, .11);
  border-radius: 21px;
  background: rgba(255, 253, 248, .82);
  box-shadow: 0 13px 34px rgba(41, 58, 49, .07);
}

.m33ccj-stage:nth-child(even) {
  background: rgba(248, 244, 234, .91);
}

.m33ccj-stage__route-point {
  z-index: 2;
  top: 34px;
  left: -5px;
  border-color: #f8f3ea;
  background: #789b92;
}

.m33ccj-stage[data-align="left"] .m33ccj-stage__route-point {
  right: -5px;
}

.m33ccj-stage__header {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
}

.m33ccj-stage__number {
  width: 36px;
  height: 36px;
  border-color: rgba(143, 103, 111, .38);
  color: #4f7069;
  background: #f7f8f3;
  font-size: 10px;
}

.m33ccj-stage__header p {
  margin: 1px 0 6px;
  color: #59736d;
  font-size: 9px;
}

.m33ccj-stage__header h4 {
  font-size: clamp(25px, 7vw, 32px);
  line-height: 1.04;
}

.m33ccj-stage__body {
  width: 100%;
  margin-top: 14px;
  padding-left: 49px;
}

.m33ccj-stage__body p {
  font-size: 13px;
  line-height: 1.56;
}

.m33ccj-stage__body p + p { margin-top: 8px; }

.m33ccj-scene {
  margin-top: 18px;
}

.m33ccj-main-media {
  width: 86%;
}

.m33ccj-media-frame {
  aspect-ratio: 4 / 5;
  contain: paint;
  border-radius: 16px 16px 42px 16px;
  box-shadow: 0 16px 38px rgba(23, 55, 49, .12);
}

.m33ccj-stage[data-align="left"] .m33ccj-media-frame {
  border-radius: 16px 16px 16px 42px;
}

.m33ccj-stage--result .m33ccj-media-frame {
  border-radius: 48% 48% 17px 17px / 18% 18% 17px 17px;
  box-shadow: 0 18px 42px rgba(23, 55, 49, .13);
}

.m33ccj-expand,
.m33ccj-play,
.m33ccj-annotation-badge,
.m33ccj-rail-item__play,
.m33ccj-rail-item__mark {
  backdrop-filter: none;
}

.m33ccj-expand {
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  background: rgba(19, 59, 53, .83);
}

.m33ccj-expand svg {
  width: 21px;
  height: 21px;
}

.m33ccj-expand path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m33ccj-anatomy-path {
  fill: rgba(165, 111, 121, .045);
  stroke: var(--m33ccj-anatomy);
  stroke-width: 2.7;
  stroke-dasharray: .015 .015;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.m33ccj-connectors path {
  stroke: #8f676f;
  stroke-width: 2;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  opacity: 0;
}

.m33ccj-stage.is-visible .m33ccj-connectors path {
  opacity: .92;
  transition: opacity .3s ease .66s;
}

.m33ccj-scene--annotated {
  min-height: 520px;
  padding-top: 118px;
}

.m33ccj-scene--annotated .m33ccj-main-media {
  width: 79%;
  margin-left: auto;
}

.m33ccj-doctor-notes {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: block;
  width: 100%;
  margin: 0;
  pointer-events: none;
}

.m33ccj-doctor-note,
.m33ccj-doctor-note:nth-child(even) {
  position: absolute;
  max-width: none;
  margin: 0;
  padding: 10px 11px 11px;
  border: 1px solid rgba(179, 128, 9, .32);
  border-left: 3px solid #8f676f;
  border-radius: 11px;
  color: #264a44;
  background: #f7f8f3;
  box-shadow: 0 8px 22px rgba(31, 67, 61, .11);
  pointer-events: auto;
}

.m33ccj-doctor-note[data-annotation-note="forehead-side"] {
  top: 0;
  left: 3%;
  width: 94%;
}

.m33ccj-doctor-note[data-annotation-note="upper-eyelids-side"] {
  top: 61%;
  left: 0;
  width: 61%;
  max-width: 202px;
}

.m33ccj-doctor-note[data-annotation-note="planned-excision"] {
  top: 58%;
  right: 0;
  width: 58%;
  max-width: 194px;
}

.m33ccj-doctor-note > p {
  margin-bottom: 4px;
  color: #6f5359;
  font-size: 8px;
}

.m33ccj-doctor-note > div {
  color: #2a4944;
  font-size: 11px;
  line-height: 1.44;
}

.m33ccj-annotation-badge {
  right: 9px;
  bottom: 9px;
  background: rgba(19, 59, 53, .85);
}

.m33ccj-rail-wrap {
  margin-top: 20px;
}

.m33ccj-rail-wrap > p {
  margin-bottom: 9px;
  color: #76643b;
  font-size: 9px;
}

.m33ccj-media-rail {
  grid-auto-columns: minmax(106px, 38%);
  gap: 8px;
  margin-right: -14px;
  padding: 2px 23% 5px 1px;
}

.m33ccj-rail-item__image {
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(23, 55, 49, .06);
}

.m33ccj-media-caption,
.m33ccj-rail-item__caption {
  display: none;
}

.m33ccj-placeholder {
  min-height: 190px;
  margin-top: 18px;
  padding: 20px;
  border-color: rgba(143, 103, 111, .32);
  border-radius: 15px 15px 36px 15px;
  background: rgba(250, 245, 233, .8);
}

.m33ccj-placeholder svg { width: 68%; }
.m33ccj-placeholder h4 { font-size: 21px; }
.m33ccj-placeholder p { font-size: 12px; }

.m33ccj-stage--result {
  padding-top: 22px;
  background: linear-gradient(145deg, rgba(236, 244, 237, .96), rgba(255, 253, 248, .94));
}

.m33ccj-stage--result::before { display: none; }

.m33ccj-comparison {
  margin-top: 26px;
}

.m33ccj-comparison header { margin-bottom: 11px; }
.m33ccj-comparison header h4 { font-size: 23px; }
.m33ccj-comparison__viewport { box-shadow: 0 14px 34px rgba(23, 55, 49, .12); }

body.m33ccj-viewer-open .am26-servicebar,
body.m33ccj-viewer-open .am26-header,
body.m33ccj-viewer-open .am26-page-section-nav,
body.m33ccj-viewer-open .am26-mobile-actions,
body.m33ccj-viewer-open .am26-mobile-bottom-actions {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.m33ccj-viewer__backdrop {
  background: #082d29;
  backdrop-filter: none;
}

.m33ccj-viewer__topbar,
.m33ccj-viewer__footer {
  background: #082d29;
}

.m33ccj-viewer__toggle[aria-checked="true"] i {
  background: #789b92;
}

.m33ccj-viewer__scene {
  position: relative;
  padding: 12px 10px 18px;
}

.m33ccj-viewer__zoom-surface {
  min-height: min(69dvh, 620px);
  border-radius: 12px;
  background: #061f1c;
}

.m33ccj-viewer__image-stack {
  will-change: auto;
}

.m33ccj-viewer__annotation-marker {
  position: absolute;
  z-index: 6;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .94);
  border-radius: 50%;
  color: #294a45;
  background: #a56f79;
  box-shadow: 0 4px 0 rgba(35, 28, 6, .25), 0 8px 22px rgba(0, 0, 0, .28);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.m33ccj-viewer__annotation-marker.is-active {
  color: #fff;
  background: #75545b;
}

.m33ccj-viewer__notes {
  position: absolute;
  z-index: 9;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: block;
  margin: 0;
  pointer-events: none;
}

.m33ccj-viewer__notes .m33ccj-viewer__note {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 42px 14px 15px;
  border: 1px solid rgba(190, 137, 12, .45);
  border-left: 4px solid #8f676f;
  border-radius: 12px;
  color: #274640;
  background: #f7f8f3;
  box-shadow: 0 16px 46px rgba(0, 0, 0, .3);
  font-size: 13px;
  line-height: 1.5;
  pointer-events: auto;
}

.m33ccj-viewer__notes .m33ccj-viewer__note[hidden] { display: none; }

.m33ccj-viewer__notes .m33ccj-viewer__note p {
  margin: 0 0 5px;
  color: #6f5359;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.m33ccj-viewer__note-close {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #31514a;
  background: #dfe8e3;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.m33ccj-viewer.is-clean .m33ccj-viewer__annotation-marker,
.m33ccj-viewer.is-clean .m33ccj-viewer__notes {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.m33ccj-viewer__footer {
  grid-template-columns: auto minmax(0, 1fr);
}

.m33ccj-viewer__hint {
  grid-column: 2;
  text-align: right;
}

@media (min-width: 560px) {
  .m33ccj {
    margin-inline: 0;
    padding-inline: 26px;
  }

  .m33ccj-case-switcher {
    grid-auto-columns: minmax(250px, 46%);
    margin-inline: 0;
    padding-right: 8%;
    padding-left: 0;
  }
}

@media (min-width: 780px) {
  .m33ccj {
    margin-top: 54px;
    padding: 58px 44px 70px;
    border-radius: 31px;
  }

  .m33ccj__header { padding-inline: 0; }
  .m33ccj__header h3 { font-size: clamp(45px, 5.4vw, 66px); }
  .m33ccj__intro { font-size: 17px; }

  .m33ccj-case-switcher {
    grid-auto-columns: minmax(260px, 31%);
    margin-top: 27px;
    padding-right: 5%;
  }

  .m33ccj-route { margin-top: 66px; }
  .m33ccj-stages { gap: 64px; }

  .m33ccj-stage {
    padding: 38px 42px 43px;
    border-radius: 27px;
  }

  .m33ccj-stage__route-point { left: -5px; }
  .m33ccj-stage[data-align="left"] .m33ccj-stage__route-point { right: -5px; }

  .m33ccj-stage__header {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
  }

  .m33ccj-stage__number { width: 46px; height: 46px; }
  .m33ccj-stage__header h4 { font-size: clamp(34px, 3.8vw, 47px); }

  .m33ccj-stage__body {
    width: min(78%, 610px);
    margin-top: 18px;
    padding-left: 63px;
  }

  .m33ccj-scene,
  .m33ccj-scene--annotated {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1.28fr) minmax(230px, .72fr);
    gap: 34px;
    align-items: center;
    margin-top: 28px;
    padding-top: 0;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-scene,
  .m33ccj-stage[data-align="left"] .m33ccj-scene--annotated {
    grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  }

  .m33ccj-scene--annotated .m33ccj-main-media,
  .m33ccj-main-media {
    width: 100%;
    margin: 0;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-main-media {
    grid-column: 2;
  }

  .m33ccj-doctor-notes {
    position: relative;
    inset: auto;
    display: grid;
    gap: 22px;
    width: 100%;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-doctor-notes {
    grid-column: 1;
    grid-row: 1;
  }

  .m33ccj-doctor-note,
  .m33ccj-doctor-note:nth-child(even),
  .m33ccj-doctor-note[data-annotation-note="forehead-side"],
  .m33ccj-doctor-note[data-annotation-note="upper-eyelids-side"],
  .m33ccj-doctor-note[data-annotation-note="planned-excision"] {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 430px;
    padding: 13px 15px 14px;
  }

  .m33ccj-doctor-note > div {
    font-size: 13px;
    line-height: 1.52;
  }

  .m33ccj-rail-wrap,
  .m33ccj-placeholder,
  .m33ccj-comparison {
    width: 76%;
  }

  .m33ccj-placeholder { min-height: 250px; }

  .m33ccj-viewer__body {
    grid-template-columns: 60px minmax(0, 1fr) 60px;
  }

  .m33ccj-viewer__scene,
  .m33ccj-viewer__scene.no-notes {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    padding: 6px;
    overflow: hidden;
  }

  .m33ccj-viewer__zoom-surface { height: 100%; }
  .m33ccj-viewer__notes { right: 20px; bottom: 18px; left: 20px; }

  .m33ccj-viewer__footer {
    grid-template-columns: auto 1fr;
  }

  .m33ccj-viewer__hint { grid-column: 2; }
}

@media (min-width: 1120px) {
  .m33ccj { padding: 72px 62px 86px; }
  .m33ccj-stages { gap: 74px; }

  .m33ccj-stage__header,
  .m33ccj-stage__body {
    width: min(62%, 650px);
  }

  .m33ccj-scene,
  .m33ccj-scene--annotated {
    grid-template-columns: minmax(0, 1.37fr) minmax(290px, .63fr);
    gap: 52px;
  }

  .m33ccj-stage[data-align="left"] .m33ccj-scene,
  .m33ccj-stage[data-align="left"] .m33ccj-scene--annotated {
    grid-template-columns: minmax(290px, .63fr) minmax(0, 1.37fr);
  }

  .m33ccj-main-media,
  .m33ccj-scene--annotated .m33ccj-main-media {
    width: 90%;
  }

  .m33ccj-stage[data-align="right"] .m33ccj-main-media { margin-left: 5%; }
  .m33ccj-stage[data-align="left"] .m33ccj-main-media { margin-right: 5%; }
}

/* 2026-09-03 iteration: functional case tabs and precise medical callouts. */
.m33ccj {
  --m33ccj-comment-line: #8f676f;
}

.m33ccj-case-panel[hidden] {
  display: none !important;
}

.m33ccj-case-switcher__item {
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.m33ccj-case-switcher__item:hover {
  border-color: rgba(11, 108, 98, .34);
}

.m33ccj-case-switcher__item:focus-visible {
  outline: 3px solid rgba(165, 111, 121, .72);
  outline-offset: 2px;
}

.m33ccj-case-panel--placeholder {
  margin-top: 32px;
}

.m33ccj-case-empty {
  position: relative;
  display: grid;
  min-height: 300px;
  align-items: end;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid rgba(23, 62, 57, .14);
  border-radius: 20px 20px 48px 20px;
  color: #f8fbf7;
  background:
    radial-gradient(circle at 88% 13%, rgba(201, 221, 212, .18), transparent 30%),
    linear-gradient(145deg, #164b45, #092f2d);
  box-shadow: 0 18px 42px rgba(25, 57, 52, .12);
}

.m33ccj-case-empty > div {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.m33ccj-case-empty p {
  margin: 0 0 9px;
  color: #c9ddd4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.m33ccj-case-empty h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Tenor Sans", Georgia, serif;
  font-size: clamp(27px, 7.8vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.m33ccj-case-empty > div > div {
  color: rgba(246, 251, 248, .76);
  font-size: 13px;
  line-height: 1.62;
}

.m33ccj-case-empty svg {
  position: absolute;
  right: -9%;
  bottom: -18%;
  width: 76%;
  opacity: .42;
}

.m33ccj-case-empty svg path {
  fill: none;
  stroke: #c9ddd4;
  stroke-width: 2;
  stroke-dasharray: 7 9;
  stroke-linecap: round;
}

.m33ccj-annotation-badge {
  display: none !important;
}

.m33ccj-doctor-note,
.m33ccj-doctor-note:nth-child(even) {
  border: 1.5px solid var(--m33ccj-comment-line);
  border-left-width: 3px;
}

.m33ccj-connectors path {
  stroke: var(--m33ccj-comment-line);
  stroke-width: 2.2;
  stroke-dasharray: none;
  stroke-dashoffset: 0 !important;
  stroke-linecap: square;
  animation: none !important;
}

.m33ccj-stage .m33ccj-anatomy-path {
  stroke-dasharray: .017 .017;
  stroke-dashoffset: 0 !important;
  opacity: 0;
  animation: none !important;
}

.m33ccj-stage.is-visible .m33ccj-anatomy-path,
.m33ccj-stage.is-visible .m33ccj-connectors path {
  opacity: .96;
  stroke-dashoffset: 0 !important;
  transition: opacity .34s ease .66s;
  animation: none !important;
}

.m33ccj-stage.is-visible .m33ccj-doctor-note,
.m33ccj-stage.is-visible .m33ccj-doctor-note:nth-child(2),
.m33ccj-stage.is-visible .m33ccj-doctor-note:nth-child(3) {
  opacity: 1;
  transform: none;
  transition: opacity .34s ease .66s, transform .34s ease .66s;
}

.m33ccj-viewer__image-stack .m33ccj-anatomy-path {
  opacity: 1;
  stroke-dashoffset: 0 !important;
  animation: none !important;
}

.m33ccj-stage[data-stage-id="before"] .m33ccj-scene--annotated {
  min-height: 590px;
  padding-top: 112px;
  padding-bottom: 108px;
}

.m33ccj-stage[data-stage-id="before"] .m33ccj-scene--annotated .m33ccj-main-media {
  width: 76%;
  margin-left: auto;
}

.m33ccj-doctor-note[data-annotation-note="forehead-side"] {
  top: 0;
  left: 2%;
  width: 96%;
}

.m33ccj-doctor-note[data-annotation-note="upper-eyelids-side"] {
  top: 52%;
  left: 0;
  width: 57%;
  max-width: 202px;
}

.m33ccj-doctor-note[data-annotation-note="lower-eyelids-side"] {
  right: 0;
  bottom: 0;
  width: 64%;
  max-width: 224px;
}

.m33ccj-stage[data-stage-id="marking"] .m33ccj-scene--annotated {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 12px;
  padding-top: 0;
}

.m33ccj-stage[data-stage-id="marking"] .m33ccj-main-media,
.m33ccj-stage[data-stage-id="marking"] .m33ccj-scene--annotated .m33ccj-main-media {
  width: 86%;
  margin: 0;
}

.m33ccj-stage[data-stage-id="marking"] .m33ccj-doctor-notes {
  position: relative;
  inset: auto;
  display: block;
  width: 86%;
  margin: 10px 0 0;
}

.m33ccj-stage[data-stage-id="marking"] .m33ccj-doctor-note[data-annotation-note="planned-excision"] {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
}

.m33ccj-stage[data-stage-id="result-3m"] .m33ccj-media-frame {
  border-radius: 0 0 17px 17px !important;
}

@media (min-width: 560px) {
  .m33ccj-case-panel--placeholder { margin-top: 40px; }
  .m33ccj-case-empty { min-height: 340px; padding: 36px 34px; }
}

@media (min-width: 780px) {
  .m33ccj-case-panel--placeholder { margin-top: 54px; }

  .m33ccj-case-empty {
    min-height: 410px;
    padding: 54px 48px;
    border-radius: 28px 28px 70px 28px;
  }

  .m33ccj-case-empty h4 { font-size: 45px; }
  .m33ccj-case-empty > div > div { font-size: 15px; }

  .m33ccj-stage[data-stage-id="before"] .m33ccj-scene--annotated {
    min-height: 0;
    padding: 0;
  }

  .m33ccj-stage[data-stage-id="before"] .m33ccj-scene--annotated .m33ccj-main-media {
    width: 100%;
    margin: 0;
  }

  .m33ccj-doctor-note[data-annotation-note="forehead-side"],
  .m33ccj-doctor-note[data-annotation-note="upper-eyelids-side"],
  .m33ccj-doctor-note[data-annotation-note="lower-eyelids-side"] {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 430px;
  }

  .m33ccj-stage[data-stage-id="marking"] .m33ccj-scene--annotated {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
  }

  .m33ccj-stage[data-stage-id="marking"] .m33ccj-main-media,
  .m33ccj-stage[data-stage-id="marking"] .m33ccj-scene--annotated .m33ccj-main-media,
  .m33ccj-stage[data-stage-id="marking"] .m33ccj-doctor-notes {
    grid-column: 1;
    width: 74%;
    margin-right: 0;
    margin-left: auto;
  }

  .m33ccj-stage[data-stage-id="marking"] .m33ccj-main-media {
    grid-row: 1;
  }

  .m33ccj-stage[data-stage-id="marking"] .m33ccj-doctor-notes {
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .m33ccj-stage .m33ccj-anatomy-path,
  .m33ccj-stage .m33ccj-connectors path,
  .m33ccj-stage .m33ccj-doctor-note {
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
    animation: none !important;
    transition: none !important;
  }
}


/* 2026-09-04 mobile-first refinement: muted annotations and fine medical marking. */
.m33ccj {
  --m33ccj-marker: #8f676f;
  --m33ccj-marker-soft: rgba(143, 103, 111, .16);
  --m33ccj-anatomy: #a56f79;
  --m33ccj-comment-line: #8f676f;
}

.m33ccj-doctor-note,
.m33ccj-doctor-note:nth-child(even) {
  border: 1px solid rgba(143, 103, 111, .58);
  border-left-width: 1px;
  color: #294a45;
  background: rgba(248, 248, 243, .96);
  box-shadow: 0 7px 18px rgba(31, 67, 61, .08);
}

.m33ccj-doctor-note > p {
  color: #75545b;
}

.m33ccj-connectors path {
  stroke: var(--m33ccj-comment-line);
  stroke-width: 1.3;
  stroke-linecap: round;
}

.m33ccj-stage .m33ccj-anatomy-path,
.m33ccj-viewer__image-stack .m33ccj-anatomy-path {
  fill: rgba(165, 111, 121, .035);
  stroke: var(--m33ccj-anatomy);
  stroke-width: 1.4;
  stroke-dasharray: .009 .012;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m33ccj-case-switcher__item:focus-visible {
  outline-color: rgba(143, 103, 111, .52);
}

.m33ccj-case-switcher__item.is-current span,
.m33ccj-stage__route-point {
  color: #294a45;
  background: #c9ddd4;
}

.m33ccj-stage__number {
  border-color: rgba(82, 117, 111, .3);
  color: #4f7069;
  background: #f7f8f3;
}

.m33ccj-route__path {
  stroke: #789b92;
}

.m33ccj-case-empty p,
.m33ccj-case-empty svg path {
  color: #c9ddd4;
  stroke: #c9ddd4;
}


/* 2026-09-04 contrast correction: teal facial contours against skin tones. */
.m33ccj {
  --m33ccj-anatomy: #2f6f68;
}

.m33ccj-stage .m33ccj-anatomy-path,
.m33ccj-viewer__image-stack .m33ccj-anatomy-path {
  fill: rgba(47, 111, 104, .035);
  stroke: var(--m33ccj-anatomy);
}


/* 2026-09-04 campaign-ready case-study surface. */
.m33ccj {
  --m33ccj-paper: #f7f3ee;
  --m33ccj-paper-2: #e8efea;
  background:
    radial-gradient(circle at 91% 4%, rgba(135, 95, 105, .14), transparent 26%),
    radial-gradient(circle at 5% 66%, rgba(82, 117, 111, .1), transparent 29%),
    linear-gradient(180deg, #faf6f1 0%, #edf3ee 54%, #eee3e1 100%);
}

.m33ccj__case-label {
  border-color: rgba(135, 95, 105, .24);
  color: #6f4c56;
  background: rgba(248, 239, 237, .84);
}

.m33ccj-stage {
  border-color: rgba(111, 76, 86, .12);
  background: rgba(255, 252, 248, .88);
  box-shadow: 0 14px 34px rgba(48, 75, 68, .07), 0 5px 14px rgba(111, 76, 86, .05);
}

.m33ccj-stage:nth-child(even) {
  background: rgba(245, 237, 235, .9);
}


/* Keep the case header concise. */
.m33ccj__intro,
.m33ccj__case-label {
  display: none;
}

/* Light, unfilled medical marking stays distinct from skin and the page. */
.m33ccj-doctor-note,
.m33ccj-doctor-note:nth-child(even),
.m33ccj-viewer__notes .m33ccj-viewer__note {
  border: 1px solid #72978e;
  color: #f4faf7;
  background: #174b45;
  box-shadow: 0 7px 18px rgba(8, 45, 41, .14);
}

.m33ccj-doctor-note > div,
.m33ccj-viewer__notes .m33ccj-viewer__note > div {
  color: #f4faf7;
}

.m33ccj-doctor-note > p,
.m33ccj-viewer__notes .m33ccj-viewer__note > p {
  color: #c8e1d8;
}

.m33ccj-viewer__annotation-marker,
.m33ccj-viewer__annotation-marker.is-active {
  border-color: #f4faf7;
  color: #f4faf7;
  background: #174b45;
}

.m33ccj-viewer__annotation-marker.is-active {
  box-shadow: 0 0 0 3px rgba(244, 250, 247, .3), 0 4px 14px rgba(8, 45, 41, .35);
}

/* Keep zoom controls reachable while a comment is open over the photo. */
.m33ccj-viewer.has-open-note .m33ccj-viewer__zoom-controls {
  top: 16px;
  bottom: auto;
}

.m33ccj-connectors path,
.m33ccj-viewer__connectors path {
  stroke: #f4faf7;
  stroke-width: 1.1;
  stroke-linecap: round;
  filter: drop-shadow(0 0 1px #082d29) drop-shadow(0 0 .5px #082d29);
}

.m33ccj-stage .m33ccj-anatomy-path,
.m33ccj-viewer__image-stack .m33ccj-anatomy-path {
  fill: none;
  stroke: #f4faf7;
  stroke-width: 1.1;
  stroke-dasharray: .004 .0025;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 1px rgba(8, 45, 41, .9))
    drop-shadow(0 0 2px rgba(8, 45, 41, .45));
}
