
:where(.vm-workspace){
  font-family: "Golos Text", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1b1b1d;
  background: #f5f4f1;
  font-synthesis: none;
  --surface: #ffffff;
  --surface-soft: #f7f6f3;
  --line: rgba(27, 27, 29, 0.10);
  --line-strong: rgba(27, 27, 29, 0.16);
  --muted: rgba(27, 27, 29, 0.58);
  --shadow: 0 10px 32px rgba(27, 27, 29, 0.08);
}
:where(.vm-workspace) *{ box-sizing: border-box; }
:where(.vm-workspace) [hidden]{ display: none !important; }
:where(.vm-workspace),
:where(.vm-workspace){
  margin: 0;
  min-height: 100%;
}
:where(.vm-workspace){
  min-height: calc(100vh - var(--vm-header-height));
  background: #f5f4f1;
}
:where(.vm-workspace) button,
:where(.vm-workspace) input,
:where(.vm-workspace) select{
  font: inherit;
}
:where(.vm-workspace) button,
:where(.vm-workspace) select,
:where(.vm-workspace) input[type="search"]{
  outline-offset: 2px;
}
:where(.vm-workspace) .app-shell{
  min-height: calc(100vh - var(--vm-header-height));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
}
:where(.vm-workspace) .stage{
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
:where(.vm-workspace) .topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
:where(.vm-workspace) .topbar-tools{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
:where(.vm-workspace) .eyebrow,
:where(.vm-workspace) .question-label{
  margin: 0 0 5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 760;
  color: var(--muted);
}
:where(.vm-workspace) h1{
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.018em;
}
:where(.vm-workspace) .brand{
  display: grid;
  gap: 3px;
}
:where(.vm-workspace) .brand-author{
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
}
:where(.vm-workspace) .score{
  display: none !important;
}
:where(.vm-workspace) .mode-switch{
  display: inline-flex;
  padding: 3px;
  border-radius: 13px;
  background: rgba(27, 27, 29, .055);
}
:where(.vm-workspace) .mode-switch button{
  border: 0;
  background: transparent;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 650;
}
:where(.vm-workspace) .mode-switch button.active{
  background: #fff;
  box-shadow: 0 1px 6px rgba(27, 27, 29, .12);
}
:where(.vm-workspace) .viewer-wrap{
  --display-panel-width: clamp(340px, 36vw, 410px);
  position: relative;
  flex: 1;
  min-height: 640px;
  overflow: hidden;
  border-radius: 24px;
  background: #dedbd4;
  box-shadow:
    inset 0 0 0 1px rgba(27, 27, 29, .06),
    0 8px 28px rgba(27, 27, 29, .055);
}
:where(.vm-workspace) #viewer{
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  outline: none;
}
:where(.vm-workspace) .loading{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: rgba(245, 244, 241, .9);
  font-weight: 680;
  z-index: 7;
}
:where(.vm-workspace) .loading.is-hidden{
  display: none;
}
:where(.vm-workspace) .viewer-tools{
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  z-index: 5;
  pointer-events: none;
}
:where(.vm-workspace) .viewer-tools button,
:where(.vm-workspace) .viewer-tools > select,
:where(.vm-workspace) .display-panel-toggle{
  pointer-events: auto;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(27, 27, 29, .11);
  background: rgba(255, 255, 255, .90);
  color: inherit;
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 620;
  box-shadow: 0 2px 10px rgba(27, 27, 29, .055);
}
:where(.vm-workspace) .viewer-tools button:disabled{
  display: none;
}
:where(.vm-workspace) .viewer-quick-toggle[aria-pressed="true"]{
  background: rgba(255, 255, 255, .98);
  border-color: rgba(72, 96, 71, .34);
  box-shadow: 0 2px 10px rgba(27, 27, 29, .055), inset 0 0 0 1px rgba(72, 96, 71, .12);
}
:where(.vm-workspace) .viewer-quick-toggle[aria-pressed="true"]::before{
  content: "✓";
  margin-right: 5px;
  font-size: 11px;
}
:where(.vm-workspace) .display-panel-toggle{
  pointer-events: auto;
}
:where(.vm-workspace) .display-panel{
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 8;
  width: var(--display-panel-width);
  height: 100%;
  min-width: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  border-right: 1px solid var(--line);
  background: rgba(250, 249, 247, .99);
  box-shadow: 10px 0 30px rgba(27,27,29,.10);
  scrollbar-width: thin;
}
:where(.vm-workspace) .display-panel-head{
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 16px 18px 13px;
  background: rgba(250,249,247,.98);
  border-bottom: 1px solid var(--line);
}
:where(.vm-workspace) .display-panel-head > div{
  display: grid;
  gap: 2px;
}
:where(.vm-workspace) .display-panel-head strong{
  font-size: 15px;
}
:where(.vm-workspace) .display-panel-head span{
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
:where(.vm-workspace) .display-panel-close{
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}
:where(.vm-workspace) .display-section{
  display: grid;
  gap: 10px;
  padding: 15px 18px 16px;
  border-bottom: 1px solid var(--line);
}
:where(.vm-workspace) .display-section:last-child{
  border-bottom: 0;
}
:where(.vm-workspace) .display-section h3{
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .01em;
}
:where(.vm-workspace) .display-section-head{
  display: grid;
  gap: 3px;
}
:where(.vm-workspace) .display-section-head > span{
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}
:where(.vm-workspace) .display-layer-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
:where(.vm-workspace) .display-layer-actions button{
  min-height: 38px;
  padding: 8px 9px;
  font-size: 11px;
}
body:not(.motion-mode) :where(.vm-workspace) .viewer-wrap.display-panel-open .comparison-pane-static{
  left: var(--display-panel-width);
  right: 0;
  width: auto;
  margin: 0;
}
:where(.vm-workspace) .viewer-wrap.display-panel-open .viewer-tools{
  left: calc(var(--display-panel-width) + 12px);
}
:where(.vm-workspace) .viewer-wrap.display-panel-open .viewer-hint{
  left: calc(var(--display-panel-width) + 12px);
}
:where(.vm-workspace) .viewer-setting-field{
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  font-weight: 680;
  color: var(--muted);
}
:where(.vm-workspace) .viewer-setting-field select,
:where(.vm-workspace) .viewer-setting-field input[type="range"]{
  width: 100%;
}
:where(.vm-workspace) .viewer-setting-field select{
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: #1b1b1d;
  padding: 7px 9px;
}
:where(.vm-workspace) .viewer-hint{
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  color: rgba(27,27,29,.66);
  font-size: 11px;
  line-height: 1.25;
  pointer-events: none;
}
:where(.vm-workspace) .panel{
  min-width: 0;
  border-left: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
:where(.vm-workspace) .question-card,
:where(.vm-workspace) .debug{
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 18px;
}
:where(.vm-workspace) .question-card{
  box-shadow: 0 3px 16px rgba(27,27,29,.035);
}
:where(.vm-workspace) .question-card h2{
  margin: 0;
  font-size: clamp(23px, 2.25vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  overflow-wrap: anywhere;
}
:where(.vm-workspace) .feedback{
  min-height: 2.9em;
  line-height: 1.45;
  margin: 12px 0 0;
  color: rgba(27,27,29,.78);
}
:where(.vm-workspace) .feedback.correct{
  font-weight: 680;
}
:where(.vm-workspace) .feedback.wrong{
  font-weight: 650;
}
:where(.vm-workspace) .structure-reference{
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}
:where(.vm-workspace) .structure-reference-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
:where(.vm-workspace) .structure-reference-head strong{
  font-size: 12px;
}
:where(.vm-workspace) .structure-reference-head span{
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
:where(.vm-workspace) .structure-reference-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
:where(.vm-workspace) .structure-reference-grid > div{
  min-width: 0;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}
:where(.vm-workspace) .structure-reference-grid dt{
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
:where(.vm-workspace) .structure-reference-grid dd{
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
:where(.vm-workspace) .structure-reference-media{
  display: grid;
  gap: 4px;
  padding-top: 2px;
  color: rgba(27,27,29,.76);
  font-size: 11px;
  line-height: 1.4;
}
:where(.vm-workspace) .structure-reference-media strong{
  color: #1b1b1d;
}
:where(.vm-workspace) .sr-only{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
:where(.vm-workspace) .actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}
:where(.vm-workspace) .actions.next-only{
  grid-template-columns: 1fr;
}
:where(.vm-workspace) button{
  border: 1px solid var(--line-strong);
  background: #f4f3f0;
  color: inherit;
  border-radius: 11px;
  padding: 10px 13px;
  cursor: pointer;
}
:where(.vm-workspace) button.primary,
:where(.vm-workspace) .learning-start{
  background: #1b1b1d;
  color: #fff;
  border-color: #1b1b1d;
  font-weight: 720;
}
:where(.vm-workspace) button:disabled{
  opacity: .42;
  cursor: default;
}
:where(.vm-workspace) .learning-controls{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
  margin-bottom: 8px;
}
:where(.vm-workspace) .learning-field,
:where(.vm-workspace) .learning-mode-field{
  display: grid;
  gap: 6px;
  min-width: 0;
}
:where(.vm-workspace) .learning-field > span,
:where(.vm-workspace) .learning-mode-field > span,
:where(.vm-workspace) .search-field > span{
  font-size: 11px;
  font-weight: 720;
  color: var(--muted);
}
:where(.vm-workspace) .explore-start-hint{
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
:where(.vm-workspace) .explore-start-hint strong{
  color: var(--text);
  font-weight: 760;
}
:where(.vm-workspace) .learning-mode-buttons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
:where(.vm-workspace) .learning-mode-buttons button{
  min-height: 40px;
  padding: 8px 9px;
  background: #fff;
  border-color: var(--line);
  font-size: 12px;
  font-weight: 680;
}
:where(.vm-workspace) .learning-mode-buttons button.active{
  background: #1b1b1d;
  border-color: #1b1b1d;
  color: #fff;
}
:where(.vm-workspace) .display-panel-toggle.active,
:where(.vm-workspace) .display-panel-toggle[aria-expanded="true"]{
  background: #1b1b1d;
  border-color: #1b1b1d;
  color: #fff;
  box-shadow: 0 4px 14px rgba(27, 27, 29, .16);
}
:where(.vm-workspace) .learning-mode-buttons button:disabled{
  opacity: .34;
}
:where(.vm-workspace) .learning-field select{
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  padding: 8px 9px;
}
:where(.vm-workspace) .learning-start{
  min-height: 40px;
  align-self: end;
}
:where(.vm-workspace) .learning-summary{
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
body.session-active :where(.vm-workspace) .scope-controls,
body.session-active :where(.vm-workspace) .learning-controls,
body.session-active :where(.vm-workspace) .learning-summary,
body.session-active :where(.vm-workspace) #model-source-field{
  display: none;
}
:where(.vm-workspace) .session-progress{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 13px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(27,27,29,.045);
  color: rgba(27,27,29,.7);
  font-size: 11px;
  line-height: 1.35;
}
:where(.vm-workspace) .session-progress::before{
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: var(--session-progress, 0%);
  background: rgba(27,27,29,.055);
  transition: width .2s ease;
}
:where(.vm-workspace) .session-exit{
  width: fit-content;
  min-height: 36px;
  margin: -6px 0 9px;
  padding: 7px 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 12px;
  font-weight: 620;
  text-decoration: none;
}
:where(.vm-workspace) .session-exit:hover{
  color: #1b1b1d;
}
:where(.vm-workspace) .name-choices{
  display: grid;
  gap: 7px;
  margin: 12px 0 2px;
}
:where(.vm-workspace) .name-choice{
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  padding: 10px 11px;
  color: inherit;
  cursor: pointer;
}
:where(.vm-workspace) .name-choice:hover{
  background: #f8f7f4;
}
:where(.vm-workspace) .name-choice.correct{
  border-color: rgba(22,129,72,.38);
  background: rgba(22,129,72,.07);
}
:where(.vm-workspace) .name-choice.wrong{
  border-color: rgba(117,29,40,.35);
  background: rgba(117,29,40,.06);
}
:where(.vm-workspace) #reveal-deeper{
  grid-column: 1 / -1;
}
:where(.vm-workspace) .explore-controls{
  margin-top: 16px;
}
:where(.vm-workspace) .search-field{
  display: grid;
  gap: 7px;
}
:where(.vm-workspace) .search-field input{
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 10px 11px;
  background: #fff;
  color: inherit;
}
:where(.vm-workspace) .search-results{
  display: grid;
  gap: 5px;
  margin-top: 7px;
  max-height: 270px;
  overflow: auto;
}
:where(.vm-workspace) .search-result{
  text-align: left;
  padding: 9px 10px;
  background: #faf9f7;
}
:where(.vm-workspace) .search-empty{
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}
:where(.vm-workspace) .layer-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}
:where(.vm-workspace) .debug summary{
  cursor: pointer;
  font-weight: 700;
}
:where(.vm-workspace) .debug p,
:where(.vm-workspace) .target-status,
:where(.vm-workspace) .attribution{
  margin: 0;
  line-height: 1.45;
  font-size: 12px;
}
:where(.vm-workspace) .target-status{
  margin: 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
:where(.vm-workspace) .debug pre{
  max-height: 230px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 10px;
}
:where(.vm-workspace) .attribution{
  margin-top: auto;
  color: var(--muted);
}
:where(.vm-workspace) .attribution a{
  color: inherit;
}
body.embed-mode :where(.vm-workspace) .stage,
body.embed-mode :where(.vm-workspace) .panel{
  padding-top: 12px;
  padding-bottom: 12px;
}
body.embed-mode :where(.vm-workspace) .eyebrow{
  display: none;
}
body.embed-mode :where(.vm-workspace) h1{
  font-size: clamp(24px, 3vw, 36px);
}

@media (max-width: 920px) {
:where(.vm-workspace) .app-shell{
    grid-template-columns: 1fr;
  }
:where(.vm-workspace) .panel{
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
:where(.vm-workspace) .viewer-wrap{
    min-height: 56dvh;
  }
body.task-docked :where(.vm-workspace) .viewer-wrap{
    min-height: 76dvh;
  }
body.task-docked :where(.vm-workspace) .viewer-wrap > .question-card{
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 6;
    max-height: min(52dvh, 58%);
    overflow: auto;
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,.965);
    box-shadow: 0 12px 36px rgba(27,27,29,.18);
    backdrop-filter: blur(16px);
  }
body.task-docked:not(.session-active) :where(.vm-workspace) .viewer-wrap > .question-card{
    max-height: min(46dvh, 52%);
  }
body.task-docked :where(.vm-workspace) .viewer-hint{
    display: none;
  }
body.task-docked :where(.vm-workspace) .viewer-tools{
    right: 10px;
  }
body.session-active.task-docked :where(.vm-workspace) .question-card h2{
    font-size: clamp(21px, 6vw, 27px);
  }
}

@media (max-width: 620px) {
:where(.vm-workspace) .stage,
:where(.vm-workspace) .panel{
    padding: 12px;
  }
:where(.vm-workspace) .stage{
    gap: 10px;
  }
:where(.vm-workspace) .topbar{
    align-items: flex-start;
    gap: 10px;
  }
:where(.vm-workspace) .topbar-tools{
    justify-content: flex-end;
  }
:where(.vm-workspace) .eyebrow{
    display: none;
  }
:where(.vm-workspace) h1{
    font-size: clamp(19px, 5.5vw, 23px);
  }
:where(.vm-workspace) .brand-author{
    font-size: 10px;
  }
:where(.vm-workspace) .viewer-wrap{
    --display-panel-width: min(92%, 380px);
  }
:where(.vm-workspace) .display-panel{
    width: var(--display-panel-width);
    min-width: 0;
  }
body:not(.motion-mode) :where(.vm-workspace) .viewer-wrap.display-panel-open .comparison-pane-static{
    left: 0;
    right: 0;
  }
:where(.vm-workspace) .viewer-wrap.display-panel-open .viewer-tools{
    opacity: 0;
    pointer-events: none;
  }
:where(.vm-workspace) .viewer-wrap.display-panel-open .viewer-hint{
    left: 12px;
  }
:where(.vm-workspace) .structure-reference-grid{
    grid-template-columns: 1fr;
  }
:where(.vm-workspace) .viewer-wrap{
    min-height: 54dvh;
    border-radius: 18px;
  }
body.task-docked :where(.vm-workspace) .viewer-wrap{
    min-height: 78dvh;
  }
:where(.vm-workspace) .viewer-tools{
    top: 9px;
    left: 9px;
    right: 9px;
    gap: 5px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }/* Mobile Atlas keeps the model as the primary workspace. Camera shortcuts
     remain available on larger screens; on touch screens they are redundant
     with direct rotate/zoom gestures and otherwise cover the anatomy. */
body:not(.motion-mode) :where(.vm-workspace) .viewer-tools #view-preset,
body:not(.motion-mode) :where(.vm-workspace) .viewer-tools #focus-shoulder,
body:not(.motion-mode) :where(.vm-workspace) .viewer-tools #focus-selected,
body:not(.motion-mode) :where(.vm-workspace) .viewer-tools #focus-full{
    display: none;
  }
body:not(.motion-mode) :where(.vm-workspace) .viewer-tools #toggle-skeleton,
body:not(.motion-mode) :where(.vm-workspace) .viewer-tools #display-panel-toggle{
    flex: 0 0 auto;
  }
body:not(.motion-mode) :where(.vm-workspace) .viewer-tools #display-panel-toggle[aria-expanded="true"]{
    min-width: 132px;
  }
:where(.vm-workspace) .viewer-tools button,
:where(.vm-workspace) .viewer-tools > select,
:where(.vm-workspace) .viewer-settings > summary{
    min-height: 36px;
    padding: 6px 9px;
    font-size: 11px;
  }
:where(.vm-workspace) .viewer-hint{
    left: 9px;
    bottom: 9px;
    max-width: calc(100% - 18px);
    border-radius: 12px;
    white-space: normal;
  }
:where(.vm-workspace) .learning-controls{
    grid-template-columns: 1fr 1fr;
  }
:where(.vm-workspace) .learning-start{
    width: 100%;
  }
:where(.vm-workspace) .session-exit{
    min-height: 40px;
  }
:where(.vm-workspace) .actions,
:where(.vm-workspace) .layer-actions{
    grid-template-columns: 1fr;
  }
:where(.vm-workspace) .panel{
    gap: 12px;
  }
:where(.vm-workspace) .attribution{
    font-size: 11px;
  }
}

@media (max-width: 430px) {
:where(.vm-workspace) .topbar{
    flex-direction: column;
  }
:where(.vm-workspace) .topbar-tools{
    width: 100%;
    justify-content: flex-start;
  }
:where(.vm-workspace) .learning-controls{
    grid-template-columns: 1fr;
  }
body.task-docked :where(.vm-workspace) .viewer-wrap > .question-card{
    max-height: 55dvh;
  }
}
:where(.vm-workspace) .hint-touch{ display: none; }
:where(.vm-workspace) .hint-pointer{ display: inline; }
:where(.vm-workspace) .feedback{
  white-space: pre-line;
}

@media (pointer: coarse) {
:where(.vm-workspace) .hint-touch{ display: inline; }
:where(.vm-workspace) .hint-pointer{ display: none; }
}

@media (max-width: 620px) {
body.session-active.task-docked :where(.vm-workspace) .topbar,
body.session-active.task-docked :where(.vm-workspace) .attribution,
body.session-active.task-docked :where(.vm-workspace) .panel{
    display: none;
  }
body.session-active.task-docked :where(.vm-workspace) #focus-full{
    display: none;
  }
body.session-active.task-docked :where(.vm-workspace) .stage{
    padding-top: 8px;
  }
body.session-active.task-docked :where(.vm-workspace) .viewer-wrap{
    min-height: 88dvh;
  }
}
body.session-active :where(.vm-workspace) .viewer-settings,
body.session-active :where(.vm-workspace) .viewer-hint,
body.session-active :where(.vm-workspace) .attribution{
  display: none;
}
:where(.vm-workspace) .today-start{
  width: 100%;
  min-height: 40px;
  margin: -4px 0 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-weight: 700;
  text-align: left;
}
:where(.vm-workspace) .today-start:hover{
  background: #f8f7f4;
}
body.session-active :where(.vm-workspace) .today-start{
  display: none !important;
}
:where(.vm-workspace) .learning-progress{
  margin: -2px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
:where(.vm-workspace) .learning-progress > summary{
  min-height: 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 720;
}
:where(.vm-workspace) .learning-progress > summary::-webkit-details-marker{
  display: none;
}
:where(.vm-workspace) .learning-progress-content{
  display: grid;
  gap: 14px;
  padding: 0 0 14px;
}
:where(.vm-workspace) .progress-block{
  display: grid;
  gap: 7px;
}
:where(.vm-workspace) .progress-block h3{
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
}
:where(.vm-workspace) .progress-line,
:where(.vm-workspace) .progress-history-line{
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
:where(.vm-workspace) .progress-region-list{
  display: grid;
  gap: 5px;
}
:where(.vm-workspace) .progress-region-row{
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) 1fr;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid rgba(27,27,29,.065);
  font-size: 11px;
  line-height: 1.35;
}
:where(.vm-workspace) .progress-region-row:first-child{
  border-top: 0;
}
:where(.vm-workspace) .progress-region-name{
  font-weight: 650;
}
:where(.vm-workspace) .progress-region-stats{
  color: var(--muted);
  text-align: right;
}
:where(.vm-workspace) .progress-weak-list,
:where(.vm-workspace) .progress-confusion-list{
  display: grid;
  gap: 6px;
}
:where(.vm-workspace) .progress-weak-item{
  font-size: 12px;
  line-height: 1.4;
}
:where(.vm-workspace) .progress-weak-item strong{
  font-weight: 680;
}
:where(.vm-workspace) .progress-confusion{
  width: 100%;
  min-height: 38px;
  text-align: left;
  background: #fff;
  border-color: var(--line);
  font-size: 12px;
}
body.session-active :where(.vm-workspace) .learning-progress{
  display: none;
}

@media (max-width: 430px) {
:where(.vm-workspace) .progress-region-row{
    grid-template-columns: 1fr;
    gap: 2px;
  }
:where(.vm-workspace) .progress-region-stats{
    text-align: left;
  }
}
:where(.vm-workspace) .learning-mode-buttons [data-learning-mode="exam"]{
  grid-column: 1 / -1;
}
:where(.vm-workspace) .connective-layer-options{
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 7px;
}
:where(.vm-workspace) .connective-layer-options legend{
  margin: 0 0 2px;
  padding: 0;
  font-size: 11px;
  font-weight: 720;
  color: var(--muted);
}
:where(.vm-workspace) .connective-layer-options label{
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(27,27,29,.78);
}
:where(.vm-workspace) .connective-layer-options input{
  margin: 0;
  flex: 0 0 auto;
}
:where(.vm-workspace) .viewer-setting-note{
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}
:where(.vm-workspace) .learning-summary{
  white-space: pre-line;
}
:where(.vm-workspace) .learning-field select optgroup{
  font-weight: 700;
}
:where(.vm-workspace) .learning-field select option{
  font-weight: 400;
}
body.session-active :where(.vm-workspace) .name-choice:disabled:not(.correct):not(.wrong){
  opacity: .72;
}
:where(.vm-workspace) .scope-controls{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}
:where(.vm-workspace) .scope-isolation{
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 2px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--muted);
  white-space: nowrap;
}
:where(.vm-workspace) .scope-isolation input{
  margin: 0;
}

@media (max-width: 700px) {
:where(.vm-workspace) .scope-controls{
    grid-template-columns: 1fr;
    gap: 6px;
  }
:where(.vm-workspace) .scope-isolation{
    min-height: 28px;
  }
}
:where(.vm-workspace) #peel-surface-layer{
  white-space: normal;
}
:where(.vm-workspace) .deeper-structures{
  margin: 13px 0 2px;
  padding: 12px;
  border: 1px solid rgba(36, 93, 168, .24);
  border-left-width: 3px;
  border-radius: 13px;
  background: rgba(36, 93, 168, .055);
}
:where(.vm-workspace) .deeper-structures-head{
  display: grid;
  gap: 3px;
  margin-bottom: 9px;
}
:where(.vm-workspace) .deeper-structures-head strong{
  font-size: 13px;
  line-height: 1.25;
  color: rgba(25, 69, 128, .98);
}
:where(.vm-workspace) .deeper-structures-head span{
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
:where(.vm-workspace) .deeper-structure-list{
  display: grid;
  gap: 6px;
}
:where(.vm-workspace) .deeper-structure{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  text-align: left;
  background: #fff;
  border-color: var(--line);
}
:where(.vm-workspace) .deeper-structure:hover{
  border-color: var(--line-strong);
  background: #f9f8f5;
}
:where(.vm-workspace) .deeper-structure-depth{
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .045em;
}
:where(.vm-workspace) .deeper-structure strong{
  min-width: 0;
  font-size: 12px;
  line-height: 1.3;
}
:where(.vm-workspace) .deeper-focus-feedback{
  color: rgba(27,27,29,.72);
}

@media (max-width: 430px) {
:where(.vm-workspace) .deeper-structure{
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
:where(.vm-workspace) .source-coverage-note{
  margin: 8px 0 0;
  padding: 10px 11px;
  border: 1px solid rgba(137, 92, 24, .28);
  border-radius: 11px;
  background: rgba(179, 119, 30, .08);
  color: rgba(77, 52, 17, .92);
  font-size: 12px;
  line-height: 1.45;
}
:where(.vm-workspace) .source-coverage-note[hidden]{
  display: none;
}
:where(.vm-workspace) .feedback.navigation{
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(154, 107, 24, .08);
  color: rgba(78, 53, 12, .92);
}
:where(.vm-workspace) #reveal-deeper:not([hidden]){
  font-weight: 720;
  border-color: rgba(154, 107, 24, .34);
  background: rgba(154, 107, 24, .08);
}
:where(.vm-workspace) .topography-choice{
  border-left-width: 3px;
}
:where(.vm-workspace) .learning-mode-buttons [data-learning-mode="topography"]:not(:disabled){
  border-color: rgba(36, 93, 168, .26);
}/* Six learning modes form three stable pairs. */
:where(.vm-workspace) .learning-mode-buttons [data-learning-mode="exam"]{
  grid-column: auto;
}/* Motion comparison: atlas stays single-pane; only Motion splits the viewer. */
:where(.vm-workspace) .comparison-pane{
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
:where(.vm-workspace) .comparison-pane-static{
  width: 100%;
  height: 100%;
}
:where(.vm-workspace) .comparison-pane-motion{
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
:where(.vm-workspace) #motion-viewer{
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
  outline: none;
}
:where(.vm-workspace) #motion-viewer:active{
  cursor: grabbing;
}
:where(.vm-workspace) .motion-only-label{
  display: none;
}
:where(.vm-workspace) .comparison-pane-label{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(27,27,29,.10);
  color: rgba(27,27,29,.74);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 720;
  pointer-events: none;
}
:where(.vm-workspace) .motion-state{
  position: relative;
  grid-row: 2;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 4;
  display: grid;
  gap: 3px;
  max-height: min(32vh, 260px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 11px;
  border-radius: 0;
  background: rgba(255,255,255,.98);
  border: 0;
  border-top: 1px solid rgba(27,27,29,.12);
  backdrop-filter: none;
  pointer-events: auto;
  scrollbar-width: thin;
}
:where(.vm-workspace) .motion-state strong{
  font-size: 12px;
  line-height: 1.25;
}
:where(.vm-workspace) .motion-state span{
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}
body.motion-mode :where(.vm-workspace) .viewer-wrap{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: rgba(27,27,29,.12);
}
body.motion-mode :where(.vm-workspace) .comparison-pane{
  background: #dedbd4;
}
body.motion-mode :where(.vm-workspace) .motion-only-label{
  display: block;
}
body.motion-mode :where(.vm-workspace) .viewer-tools{
  right: calc(50% + 12px);
}
body.motion-mode :where(.vm-workspace) .layer-actions{
  display: none;
}
body.motion-mode :where(.vm-workspace) .viewer-hint{
  max-width: calc(50% - 24px);
}

@media (max-width: 760px) {
body.motion-mode :where(.vm-workspace) .viewer-wrap{
    grid-template-columns: 1fr;
    grid-template-rows: minmax(46dvh, 1fr) minmax(46dvh, 1fr);
    min-height: 96dvh;
  }
body.motion-mode :where(.vm-workspace) .viewer-tools{
    right: 10px;
  }
body.motion-mode :where(.vm-workspace) .viewer-hint{
    max-width: calc(100% - 24px);
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-label{
    top: 9px;
    right: 9px;
  }
}/* Outside Motion the wrapper must behave exactly like the original single canvas. */
body:not(.motion-mode) :where(.vm-workspace) .comparison-pane-static{
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
}
body.motion-mode :where(.vm-workspace) .comparison-pane-static{
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
}


/* Primary workspaces must never collapse into a submenu. */
@media (max-width: 620px) {
:where(.vm-workspace) .mode-switch{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
:where(.vm-workspace) .mode-switch button{
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
  }
}

@media (max-width: 430px) {
:where(.vm-workspace) .topbar-tools .mode-switch{
    width: 100%;
  }
}
:where(.vm-workspace) .motion-state{
  pointer-events: auto;
}
:where(.vm-workspace) .motion-controls{
  display: grid;
  gap: 7px;
  margin-top: 7px;
  padding-top: 8px;
  border-top: 1px solid rgba(27,27,29,.10);
}
:where(.vm-workspace) .motion-angle-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
}
:where(.vm-workspace) .motion-angle-row output{
  font-variant-numeric: tabular-nums;
}
:where(.vm-workspace) #motion-angle{
  width: 100%;
  margin: 0;
  accent-color: currentColor;
}
:where(.vm-workspace) .motion-control-buttons,
:where(.vm-workspace) .motion-button-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}
:where(.vm-workspace) .motion-button-row button,
:where(.vm-workspace) .motion-control-buttons button{
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
}
:where(.vm-workspace) .motion-movement-row{
  display: grid;
  gap: 5px;
}
:where(.vm-workspace) .motion-movement-row > span{
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
:where(.vm-workspace) .motion-movement-row select{
  width: 100%;
}
:where(.vm-workspace) .motion-range-note{
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
:where(.vm-workspace) .motion-role-summary{
  display: grid;
  gap: 4px;
  font-size: 10px;
  line-height: 1.4;
}
:where(.vm-workspace) .motion-role-summary span{
  color: var(--muted);
}
:where(.vm-workspace) .motion-role-summary strong{
  color: var(--ink);
}/* Mobile Motion Lab: movement is the primary workspace.
   The static atlas becomes a compact context preview instead of a second
   full-height viewport. */
:where(.vm-workspace) .motion-atlas-return{
  font: inherit;
  cursor: pointer;
}

@media (max-width: 760px) {
body.motion-mode :where(.vm-workspace){
    overflow-x: hidden;
  }
body.motion-mode :where(.vm-workspace) .app-shell{
    min-height: 100dvh;
    grid-template-columns: 1fr;
  }
body.motion-mode :where(.vm-workspace) .panel{
    display: none;
  }
body.motion-mode :where(.vm-workspace) .stage{
    min-height: 100dvh;
    padding: 8px;
    gap: 8px;
  }
body.motion-mode :where(.vm-workspace) .topbar > div:first-child{
    display: none;
  }
body.motion-mode :where(.vm-workspace) .topbar,
body.motion-mode :where(.vm-workspace) .topbar-tools{
    width: 100%;
  }
body.motion-mode :where(.vm-workspace) .topbar-tools{
    justify-content: stretch;
  }
body.motion-mode :where(.vm-workspace) .mode-switch{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
body.motion-mode :where(.vm-workspace) .mode-switch button{
    min-width: 0;
    min-height: 40px;
  }
body.motion-mode :where(.vm-workspace) .viewer-wrap{
    display: block;
    flex: none;
    width: 100%;
    height: calc(100dvh - 64px);
    min-height: 620px;
    border-radius: 18px;
    overflow: hidden;
    background: #dedbd4;
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-motion{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-static{
    position: absolute;
    inset: 12px auto auto 12px;
    width: min(32vw, 138px);
    height: min(23dvh, 180px);
    z-index: 7;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(27,27,29,.14);
    background: #dedbd4;
    box-shadow: 0 8px 26px rgba(27,27,29,.18);
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-static #viewer{
    pointer-events: none;
  }
body.motion-mode :where(.vm-workspace) .motion-atlas-return{
    display: block;
    top: auto;
    right: 7px;
    bottom: 7px;
    min-height: 32px;
    padding: 5px 9px;
    border: 1px solid rgba(27,27,29,.12);
    background: rgba(255,255,255,.94);
    color: rgba(27,27,29,.82);
    pointer-events: auto;
    font-size: 11px;
    font-weight: 720;
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-motion > .comparison-pane-label{
    top: 10px;
    right: 10px;
  }
body.motion-mode :where(.vm-workspace) .viewer-tools,
body.motion-mode :where(.vm-workspace) .viewer-hint{
    display: none;
  }
body.motion-mode :where(.vm-workspace) .motion-state{
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-height: min(28dvh, 220px);
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 0;
    box-shadow: none;
    scrollbar-width: thin;
  }
body.motion-mode :where(.vm-workspace) .motion-state.motion-state-controls{
    max-height: min(26dvh, 205px);
  }
body.motion-mode :where(.vm-workspace) .motion-state > strong{
    padding-right: 68px;
    font-size: 12px;
    line-height: 1.2;
  }
body.motion-mode :where(.vm-workspace) .motion-state.motion-state-controls > span,
body.motion-mode :where(.vm-workspace) .motion-state.motion-state-controls > small,
body.motion-mode :where(.vm-workspace) .motion-state.motion-state-controls > .motion-role-summary{
    display: none;
  }
body.motion-mode :where(.vm-workspace) .motion-controls{
    position: static;
    margin-top: 2px;
    padding: 4px 0 0;
    gap: 4px;
    border-top: 0;
    border-bottom: 0;
    background: transparent;
  }
body.motion-mode :where(.vm-workspace) .motion-movement-row{
    gap: 2px;
  }
body.motion-mode :where(.vm-workspace) .motion-movement-row > span{
    display: none;
  }
body.motion-mode :where(.vm-workspace) .motion-movement-row select{
    min-height: 34px;
  }
body.motion-mode :where(.vm-workspace) .motion-angle-row{
    font-size: 10px;
  }
body.motion-mode :where(.vm-workspace) #motion-angle{
    min-height: 22px;
    touch-action: pan-x;
  }
body.motion-mode :where(.vm-workspace) .motion-control-buttons button,
body.motion-mode :where(.vm-workspace) .motion-button-row button{
    min-height: 34px;
    padding-block: 5px;
  }
}

@media (max-width: 430px) {
body.motion-mode :where(.vm-workspace) .viewer-wrap{
    height: calc(100dvh - 62px);
    min-height: 560px;
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-static{
    width: min(30vw, 112px);
    height: min(16dvh, 120px);
  }
body.motion-mode :where(.vm-workspace) .motion-state,
body.motion-mode :where(.vm-workspace) .motion-state.motion-state-controls{
    max-height: min(27dvh, 198px);
  }
}


/* User-facing Motion reset: one independent motion workspace. */
@media (min-width: 761px) {
body.motion-mode :where(.vm-workspace) .viewer-wrap{
    display: block;
    background: #dedbd4;
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-static{
    display: none !important;
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-motion{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
body.motion-mode :where(.vm-workspace) #motion-viewer{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
body.motion-mode :where(.vm-workspace) .viewer-tools,
body.motion-mode :where(.vm-workspace) .viewer-hint,
body.motion-mode :where(.vm-workspace) .motion-atlas-return{
    display: none !important;
  }
body.motion-mode.motion-controls-docked :where(.vm-workspace) .motion-state{
    position: relative;
    inset: auto;
    display: grid;
    max-height: none;
    overflow: visible;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(27,27,29,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    box-shadow: none;
  }
body.motion-mode.motion-controls-docked :where(.vm-workspace) .motion-state strong{
    font-size: 13px;
  }
body.motion-mode.motion-controls-docked :where(.vm-workspace) .motion-state span,
body.motion-mode.motion-controls-docked :where(.vm-workspace) .motion-state small{
    font-size: 11px;
    line-height: 1.4;
  }
}

@media (max-width: 760px) {
body.motion-mode :where(.vm-workspace) .comparison-pane-static{
    display: none !important;
  }
body.motion-mode :where(.vm-workspace) .comparison-pane-motion{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}
:where(.vm-workspace) .structure-reference-facts{
  display: grid;
  gap: 8px;
}
:where(.vm-workspace) .structure-reference-facts > div{
  display: grid;
  gap: 3px;
}
:where(.vm-workspace) .structure-reference-facts strong{
  font-size: 10px;
  color: var(--muted);
}
:where(.vm-workspace) .structure-reference-facts span,
:where(.vm-workspace) .structure-reference-facts li{
  font-size: 11px;
  line-height: 1.42;
}
:where(.vm-workspace) .structure-reference-facts ul{
  margin: 0;
  padding-left: 17px;
}
:where(.vm-workspace) .structure-reference-source-list{
  display: grid;
  gap: 3px;
}
:where(.vm-workspace) .structure-reference-source-item{
  display: grid;
  gap: 1px;
  padding: 6px 8px;
  border-radius: 9px;
  background: #fff;
}
:where(.vm-workspace) .structure-reference-source-item strong{
  font-size: 10px;
}
:where(.vm-workspace) .structure-reference-source-item span{
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}
:where(.vm-workspace) .structure-reference-figure{
  display: grid;
  gap: 5px;
  margin: 7px 0 0;
}
:where(.vm-workspace) .structure-reference-figure img{
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
:where(.vm-workspace) .structure-reference-figure figcaption{
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}/* Full muscle reference card: learner-facing hierarchy and progressive disclosure. */
:where(.vm-workspace) .structure-reference{
  gap: 12px;
  padding: 14px;
  border-color: rgba(27,27,29,.16);
  background: #fff;
  box-shadow: 0 5px 18px rgba(27,27,29,.055);
  scroll-margin-top: 12px;
}
:where(.vm-workspace) .structure-reference-head{
  align-items: flex-start;
  padding-bottom: 2px;
}
:where(.vm-workspace) .structure-reference-head strong{
  font-size: 14px;
  line-height: 1.25;
}
:where(.vm-workspace) .structure-reference-head span{
  max-width: 68%;
  font-size: 11px;
  line-height: 1.35;
  font-style: italic;
}
:where(.vm-workspace) .structure-reference-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
:where(.vm-workspace) .structure-reference-grid > div{
  padding: 8px 9px;
}
:where(.vm-workspace) .structure-reference-grid dd{
  font-size: 11.5px;
  line-height: 1.38;
}
:where(.vm-workspace) .structure-reference-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
:where(.vm-workspace) .structure-reference-badges > span{
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(27,27,29,.065);
  color: rgba(27,27,29,.72);
  font-size: 10px;
  font-weight: 680;
  line-height: 1.2;
}
:where(.vm-workspace) .structure-reference-context{
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.42;
}
:where(.vm-workspace) .structure-reference-primary-art{
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}
:where(.vm-workspace) .structure-reference-primary-art-image{
  width: min(100%, 330px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: #f5f4ef;
  background-repeat: no-repeat;
  background-size: 600% 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
}
:where(.vm-workspace) .structure-reference-primary-art figcaption{
  display: grid;
  gap: 2px;
  margin: 0;
  text-align: center;
}
:where(.vm-workspace) .structure-reference-primary-art figcaption strong{
  font-size: 11.5px;
  line-height: 1.35;
}
:where(.vm-workspace) .structure-reference-primary-art figcaption span{
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
}
:where(.vm-workspace) .structure-reference-atlas-block{
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}
:where(.vm-workspace) .structure-reference-atlas-block > strong{
  font-size: 11.5px;
}
:where(.vm-workspace) .structure-reference-atlas-block > span{
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
:where(.vm-workspace) .structure-reference-ambiguity{
  display: grid;
  gap: 6px;
  padding: 10px 11px;
  border: 1px solid rgba(146,95,24,.20);
  border-radius: 11px;
  background: rgba(168,119,46,.075);
}
:where(.vm-workspace) .structure-reference-ambiguity strong{
  font-size: 12px;
}
:where(.vm-workspace) .structure-reference-ambiguity p,
:where(.vm-workspace) .structure-reference-ambiguity li{
  margin: 0;
  font-size: 11.5px;
  line-height: 1.42;
}
:where(.vm-workspace) .structure-reference-ambiguity ul{
  margin: 0;
  padding-left: 18px;
}
:where(.vm-workspace) .structure-reference-facts{
  gap: 9px;
}
:where(.vm-workspace) .structure-reference-primary{
  display: grid;
  gap: 5px;
  padding: 10px 11px;
  border-radius: 11px;
  background: #fff;
}
:where(.vm-workspace) .structure-reference-primary > strong,
:where(.vm-workspace) .structure-reference-study-cue > strong,
:where(.vm-workspace) .structure-reference-fact > strong{
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 730;
  line-height: 1.3;
}
:where(.vm-workspace) .structure-reference-primary ul,
:where(.vm-workspace) .structure-reference-fact ul{
  margin: 0;
  padding-left: 18px;
}
:where(.vm-workspace) .structure-reference-primary li,
:where(.vm-workspace) .structure-reference-fact li,
:where(.vm-workspace) .structure-reference-fact > span{
  font-size: 12.5px;
  line-height: 1.45;
}
:where(.vm-workspace) .structure-reference-primary li + li,
:where(.vm-workspace) .structure-reference-fact li + li{
  margin-top: 3px;
}
:where(.vm-workspace) .structure-reference-study-cue{
  display: grid;
  gap: 4px;
  padding: 9px 10px 9px 12px;
  border-left: 3px solid rgba(27,27,29,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.62);
}
:where(.vm-workspace) .structure-reference-study-cue > span{
  font-size: 12px;
  line-height: 1.45;
}
:where(.vm-workspace) .structure-reference-details{
  border-top: 1px solid var(--line);
}
:where(.vm-workspace) .structure-reference-details > summary{
  min-height: 38px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: rgba(27,27,29,.82);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
}
:where(.vm-workspace) .structure-reference-details > summary::-webkit-details-marker{
  display: none;
}
:where(.vm-workspace) .structure-reference-details > summary::after{
  content: "⌄";
  margin-left: auto;
  padding-left: 10px;
  color: var(--muted);
  font-size: 14px;
  transition: transform .15s ease;
}
:where(.vm-workspace) .structure-reference-details[open] > summary{
  color: #1b1b1d;
}
:where(.vm-workspace) .structure-reference-details[open] > summary::after{
  transform: rotate(180deg);
}
:where(.vm-workspace) .structure-reference-details-body{
  display: grid;
  gap: 9px;
  padding: 0 0 10px;
}
:where(.vm-workspace) .structure-reference-fact{
  display: grid;
  gap: 4px;
}
:where(.vm-workspace) .structure-reference-sources-details .structure-reference-media{
  padding: 0 0 10px;
}
:where(.vm-workspace) .structure-reference-source-item{
  gap: 3px;
  padding: 7px 8px;
}
:where(.vm-workspace) .structure-reference-source-item strong,
:where(.vm-workspace) .structure-reference-source-link{
  color: #1b1b1d;
  font-size: 10.5px;
  font-weight: 690;
  line-height: 1.35;
}
:where(.vm-workspace) .structure-reference-source-link{
  text-decoration: underline;
  text-decoration-color: rgba(27,27,29,.22);
  text-underline-offset: 2px;
}
:where(.vm-workspace) .structure-reference-source-item span{
  font-size: 10px;
  line-height: 1.4;
}
:where(.vm-workspace) .structure-reference-empty{
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

@media (max-width: 620px) {
:where(.vm-workspace) .structure-reference{
    padding: 12px;
  }
:where(.vm-workspace) .structure-reference-head span{
    max-width: 62%;
  }
:where(.vm-workspace) .structure-reference-primary li,
:where(.vm-workspace) .structure-reference-fact li,
:where(.vm-workspace) .structure-reference-fact > span{
    font-size: 12px;
  }
}/* Atlas controls: area selection, structure actions and display controls have separate roles. */
:where(.vm-workspace) .scope-controls{
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
:where(.vm-workspace) .explore-controls{
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
:where(.vm-workspace) .selected-structure-actions{
  display: grid;
  gap: 6px;
}
:where(.vm-workspace) .control-group-label{
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
}
:where(.vm-workspace) .restore-view-actions{
  padding-top: 2px;
}
:where(.vm-workspace) .restore-view-actions button{
  width: 100%;
  min-height: 38px;
  background: #fff;
  border-color: var(--line);
}

@media (min-width: 621px) {
:where(.vm-workspace) .selected-structure-actions .layer-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
:where(.vm-workspace) .selected-structure-actions-primary{
  margin: 10px 0 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.7);
}
:where(.vm-workspace) .selected-structure-actions-primary .layer-actions{
  margin-top: 2px;
}
:where(.vm-workspace) .support-layer-toggle{
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #1b1b1d;
  cursor: pointer;
}
:where(.vm-workspace) .support-layer-toggle > input{
  margin: 2px 0 0;
  flex: 0 0 auto;
}
:where(.vm-workspace) .support-layer-toggle > span{
  display: grid;
  gap: 2px;
  min-width: 0;
}
:where(.vm-workspace) .support-layer-toggle strong{
  font-size: 12px;
  line-height: 1.25;
}
:where(.vm-workspace) .support-layer-toggle small,
:where(.vm-workspace) .layer-control-note{
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
:where(.vm-workspace) .secondary-display-action{
  width: 100%;
  min-height: 36px;
  background: #fff;
  border-color: var(--line);
  font-size: 11px;
}
:where(.vm-workspace) .connective-layer-options{
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.62);
}
:where(.vm-workspace) .structure-reference-functional{
  display: grid;
  gap: 8px;
  padding: 0 0 10px;
}
:where(.vm-workspace) .structure-reference-functional-row{
  display: grid;
  gap: 6px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.62);
}
:where(.vm-workspace) .structure-reference-functional-row > strong{
  font-size: 11px;
  line-height: 1.35;
}
:where(.vm-workspace) .structure-reference-functional-group{
  display: grid;
  grid-template-columns: minmax(92px, .7fr) minmax(0, 1.6fr);
  gap: 8px;
  align-items: start;
  font-size: 10.5px;
  line-height: 1.4;
}
:where(.vm-workspace) .structure-reference-functional-label{
  color: var(--muted);
  font-weight: 680;
}
:where(.vm-workspace) .structure-reference-functional-row-note{
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
:where(.vm-workspace) .structure-reference-functional-note{
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 620px) {
:where(.vm-workspace) .structure-reference-functional-group{
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Mobile training follows the same rule as Atlas: the 3D model stays clear.
   The task card is below the viewer; only the small tap-action bubble may overlay it. */
@media (max-width: 920px) {
body.session-active:not(.motion-mode) :where(.vm-workspace) .viewer-wrap{
    min-height: 70dvh;
  }
body.session-active:not(.motion-mode) :where(.vm-workspace) .viewer-tools{
    display: none;
  }
body.session-active :where(.vm-workspace) .panel .question-card{
    position: static;
    inset: auto;
    max-height: none;
    overflow: visible;
    margin: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
:where(.vm-workspace) .quiz-muscle-actions{
    min-width: 146px;
    max-width: min(210px, calc(100% - 16px));
  }
:where(.vm-workspace) .quiz-muscle-actions-buttons button{
    min-height: 42px;
  }
}

/* Mobile Atlas: the information card must never cover the interactive anatomy. */
@media (max-width: 920px) {
body:not(.session-active) :where(.vm-workspace) .panel .question-card,
body:not(.motion-mode):not(.session-active) :where(.vm-workspace) .panel .question-card{
    position: static;
    inset: auto;
    max-height: none;
    overflow: visible;
    margin: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
body:not(.motion-mode):not(.session-active) :where(.vm-workspace) .viewer-wrap{
    min-height: 68dvh;
  }
}

@media (max-width: 620px) {
body:not(.motion-mode):not(.session-active) :where(.vm-workspace) .viewer-wrap{
    min-height: 70dvh;
  }
body:not(.motion-mode):not(.session-active) :where(.vm-workspace) .panel{
    padding-top: 8px;
  }
}/* Mobile Atlas quick card: immediate identification and layer actions stay with the 3D model. *//* Training tap actions: a compact choice attached to the muscle that was tapped. */
:where(.vm-workspace) .quiz-muscle-actions{
  position: absolute;
  z-index: 9;
  display: grid;
  gap: 7px;
  min-width: 150px;
  max-width: min(230px, calc(100% - 16px));
  padding: 9px;
  border: 1px solid rgba(27,27,29,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 30px rgba(27,27,29,.18);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}
:where(.vm-workspace) .quiz-muscle-actions[hidden]{ display: none; }
:where(.vm-workspace) .quiz-muscle-actions > strong{
  min-width: 0;
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
}
:where(.vm-workspace) .quiz-muscle-actions-buttons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
:where(.vm-workspace) .quiz-muscle-actions-buttons button{
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(27,27,29,.13);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}
:where(.vm-workspace) #quiz-muscle-select{
  background: #1b1b1d;
  border-color: #1b1b1d;
  color: #fff;
}
:where(.vm-workspace) .mobile-muscle-card{ display: none; }
@media (max-width: 920px) {
body:not(.session-active):not(.motion-mode) :where(.vm-workspace) .mobile-muscle-card:not([hidden]){
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid rgba(27,27,29,.12);
    border-radius: 15px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 28px rgba(27,27,29,.16);
    backdrop-filter: blur(14px);
    pointer-events: auto;
  }
:where(.vm-workspace) .mobile-muscle-card-copy{ min-width: 0; display: grid; gap: 2px; }
:where(.vm-workspace) .mobile-muscle-card-copy span{ font-size: 10px; color: rgba(27,27,29,.58); }
:where(.vm-workspace) .mobile-muscle-card-copy strong{
    font-size: 13px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
:where(.vm-workspace) .mobile-muscle-actions{ display: flex; flex: 0 0 auto; gap: 5px; }
:where(.vm-workspace) .mobile-muscle-actions button{
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid rgba(27,27,29,.12);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
  }
:where(.vm-workspace) .mobile-muscle-actions button:disabled{ opacity: .45; }
}

@media (max-width: 920px) {
body:not(.session-active):not(.motion-mode) :where(.vm-workspace) .mobile-muscle-card:not([hidden]){
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    padding: 9px 10px;
  }
:where(.vm-workspace) .mobile-muscle-card-copy{ width: 100%; }
:where(.vm-workspace) .mobile-muscle-card-copy strong{
    font-size: 14px;
    line-height: 1.22;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
:where(.vm-workspace) .mobile-muscle-actions{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
:where(.vm-workspace) .mobile-muscle-actions button{
    flex: 0 0 auto;
    min-height: 32px;
    padding: 5px 9px;
    font-size: 11px;
  }
:where(.vm-workspace) .mobile-muscle-actions .mobile-back-context{
    flex: 1 0 100%;
    justify-self: stretch;
    text-align: center;
    font-weight: 700;
  }
}

@media (max-width: 920px) {
:where(.vm-workspace) .mobile-context-trail:not([hidden]){
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 12px;
    padding: 0 2px;
  }
:where(.vm-workspace) .mobile-context-step{
    display: flex;
    align-items: center;
    flex: 1 1 0;
  }
:where(.vm-workspace) .mobile-context-step:last-child{ flex: 0 0 auto; }
:where(.vm-workspace) .mobile-context-dot{
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(27,27,29,.22);
    transition: transform .18s ease, background .18s ease;
  }
:where(.vm-workspace) .mobile-context-step.active .mobile-context-dot{
    transform: scale(1.55);
    background: #245da8;
  }
:where(.vm-workspace) .mobile-context-line{
    height: 2px;
    flex: 1 1 auto;
    margin: 0 4px;
    border-radius: 999px;
    background: rgba(36,93,168,.22);
  }
:where(.vm-workspace) .mobile-muscle-actions .mobile-back-context,
:where(.vm-workspace) .mobile-muscle-actions .mobile-root-context{
    flex: 1 1 auto;
    text-align: center;
    font-weight: 700;
  }
}

/* Interactive depth navigator: the thumb visibly travels as anatomy context changes. */
@media (max-width: 920px) {
:where(.vm-workspace) .mobile-context-trail:not([hidden]){
    display: block;
    min-height: 26px;
    padding: 2px 5px 0;
  }
:where(.vm-workspace) .mobile-context-track{
    --context-depth: 1;
    position: relative;
    height: 24px;
    margin: 0 7px;
  }
:where(.vm-workspace) .mobile-context-rail{
    position: absolute;
    left: 7px;
    right: 7px;
    top: 11px;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(27,27,29,.12);
  }
:where(.vm-workspace) .mobile-context-progress{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: rgba(36,93,168,.34);
  }
:where(.vm-workspace) .mobile-context-node{
    --context-index: 0;
    position: absolute;
    z-index: 2;
    top: 2px;
    left: calc((100% - 14px) * var(--context-index) / var(--context-depth));
    width: 20px;
    height: 20px;
    margin-left: -3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    display: grid;
    place-items: center;
    touch-action: manipulation;
  }
:where(.vm-workspace) .mobile-context-node-dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid rgba(36,93,168,.55);
    box-shadow: 0 1px 4px rgba(27,27,29,.14);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
  }
:where(.vm-workspace) .mobile-context-node:not(.active):active .mobile-context-node-dot{
    transform: scale(1.35);
    border-color: #245da8;
  }
:where(.vm-workspace) .mobile-context-node.active .mobile-context-node-dot{
    opacity: 0;
  }
:where(.vm-workspace) .mobile-context-thumb{
    position: absolute;
    z-index: 3;
    top: 5px;
    left: calc(100% - 10px);
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #245da8;
    box-shadow: 0 2px 9px rgba(36,93,168,.38), 0 0 0 4px rgba(36,93,168,.10);
    transform: translateX(0);
    transition: left .34s cubic-bezier(.22,.8,.3,1), transform .22s ease, box-shadow .22s ease;
    pointer-events: none;
  }
:where(.vm-workspace) .mobile-context-track:active .mobile-context-thumb{
    transform: scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
:where(.vm-workspace) .mobile-context-thumb,
:where(.vm-workspace) .mobile-context-node-dot{
    transition: none !important;
  }
}

@media (max-width: 920px) {
:where(.vm-workspace) .mobile-context-track{ --context-active: 0; }
:where(.vm-workspace) .mobile-context-thumb{
    left: calc((100% - 14px) * var(--context-active) / var(--context-depth));
    transform: translateX(0);
    transition: left .42s cubic-bezier(.2,.75,.25,1), box-shadow .2s ease;
  }
:where(.vm-workspace) .mobile-context-progress{
    width: calc(100% * var(--context-active) / var(--context-depth));
    transition: width .42s cubic-bezier(.2,.75,.25,1);
  }
}

@media (max-width: 920px) {
:where(.vm-workspace) .mobile-context-thumb{
    margin-left: -7px;
    transition: left .48s cubic-bezier(.18,.78,.24,1), box-shadow .2s ease;
    will-change: left;
  }
:where(.vm-workspace) .mobile-context-node.active .mobile-context-node-dot{
    opacity: 1;
    transform: scale(1.25);
    background: rgba(36,93,168,.14);
  }
}

@media (max-width: 920px) {
:where(.vm-workspace) .mobile-context-trail:not([hidden]){
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
:where(.vm-workspace) .mobile-context-trail::-webkit-scrollbar{ display: none; }
:where(.vm-workspace) .mobile-context-track{
    width: max-content;
    margin: 0;
  }
:where(.vm-workspace) .mobile-context-node{
    left: 0;
    margin-left: -10px;
  }
:where(.vm-workspace) .mobile-context-rail{
    right: auto;
  }
:where(.vm-workspace) .mobile-context-progress{
    width: 0;
    transition: width .48s cubic-bezier(.18,.78,.24,1);
  }
:where(.vm-workspace) .mobile-context-thumb{
    left: 12px;
    margin-left: -7px;
    transition: left .48s cubic-bezier(.18,.78,.24,1), box-shadow .2s ease;
  }
}

@media (max-width: 920px) {
:where(.vm-workspace) .mobile-context-thumb{
    left: 0 !important;
    margin-left: -7px;
    transition: transform .52s cubic-bezier(.16,.72,.24,1), box-shadow .2s ease !important;
    will-change: transform;
  }
:where(.vm-workspace) .mobile-context-progress{
    transition: width .52s cubic-bezier(.16,.72,.24,1) !important;
  }
}

@media (max-width: 920px) {
:where(.vm-workspace) .mobile-context-node-pending .mobile-context-node-dot{
    opacity: .35;
    transform: scale(.72);
    transition: opacity .42s ease, transform .52s cubic-bezier(.16,.72,.24,1);
  }
:where(.vm-workspace) .mobile-context-node-pending.arriving .mobile-context-node-dot{
    opacity: 1;
    transform: scale(1.15);
  }
}
:where(.vm-workspace) .structure-reference-gallery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
:where(.vm-workspace) .structure-reference-gallery-head>div{display:grid;gap:3px}
:where(.vm-workspace) .structure-reference-gallery-count{white-space:nowrap;font-size:.78rem;opacity:.68}
:where(.vm-workspace) .structure-reference-gallery-shell{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px}
:where(.vm-workspace) .structure-reference-gallery{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;gap:10px}
:where(.vm-workspace) .structure-reference-gallery::-webkit-scrollbar{display:none}
:where(.vm-workspace) .structure-reference-gallery>.structure-reference-source-item{flex:0 0 100%;scroll-snap-align:start;min-width:0}
:where(.vm-workspace) .structure-reference-gallery-nav{width:34px;height:44px;padding:0;border-radius:999px;font-size:1.55rem;line-height:1}
:where(.vm-workspace) .structure-reference-gallery-nav[hidden]{display:none}
:where(.vm-workspace) .structure-reference-gallery .structure-reference-figure img{width:100%;max-height:430px;object-fit:contain}
@media(max-width:620px){
:where(.vm-workspace) .structure-reference-gallery-shell{grid-template-columns:30px minmax(0,1fr) 30px;gap:3px}
:where(.vm-workspace) .structure-reference-gallery-nav{width:30px;height:40px}
:where(.vm-workspace) .structure-reference-gallery .structure-reference-figure img{max-height:52vh}
}
:where(.vm-workspace) .structure-reference-3d-slide > strong{display:block;margin-bottom:8px}
:where(.vm-workspace) .structure-reference-3d-figure{margin:0}
:where(.vm-workspace) .structure-reference-3d-figure img{
  display:block;
  width:100%;
  max-height:430px;
  object-fit:contain;
  border-radius:12px;
  background:#dedbd4;
}
:where(.vm-workspace) .structure-reference-3d-figure figcaption{margin-top:8px}
@media(max-width:620px){
:where(.vm-workspace) .structure-reference-3d-figure img{max-height:52vh}
}/* Gallery slides must keep a real viewport width even when an image is still loading. */
:where(.vm-workspace) .structure-reference-gallery-shell,
:where(.vm-workspace) .structure-reference-gallery,
:where(.vm-workspace) .structure-reference-gallery > .structure-reference-source-item,
:where(.vm-workspace) .structure-reference-3d-slide,
:where(.vm-workspace) .structure-reference-3d-figure{
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
:where(.vm-workspace) .structure-reference-gallery > .structure-reference-source-item{
  flex-basis: 100%;
  max-width: 100%;
}
:where(.vm-workspace) .structure-reference-3d-figure img{
  width: 100% !important;
  min-width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: contain;
}
:where(.vm-workspace) .structure-reference-3d-figure figcaption{
  width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}
@media(max-width:620px){
:where(.vm-workspace) .structure-reference-gallery-shell{
    grid-template-columns:32px minmax(0,1fr) 32px;
    width:100%;
  }
:where(.vm-workspace) .structure-reference-gallery{
    width:100%;
    min-width:0;
  }
:where(.vm-workspace) .structure-reference-gallery > .structure-reference-source-item{
    flex:0 0 100%;
    width:100%;
  }
:where(.vm-workspace) .structure-reference-3d-figure img{
    min-height:320px;
    max-height:min(58vh,520px);
  }
}
:where(.vm-workspace) .structure-reference-course-art-image{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background-repeat: no-repeat;
  background-color: #f4f2ed;
}
:where(.vm-workspace) .structure-reference-course-art-figure{
  margin: 0;
}/* The unified illustration gallery is the muscle card's primary visual block. */
:where(.vm-workspace) .structure-reference-atlas-block{
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(27,27,29,.10);
  border-radius: 16px;
  background: var(--surface-soft);
}
:where(.vm-workspace) .structure-reference-atlas-block[hidden]{ display: none; }
:where(.vm-workspace) .structure-reference-gallery .structure-reference-source-item{
  background: transparent;
}
:where(.vm-workspace) .structure-reference-course-art-image{
  min-height: 280px;
  background-size: cover;
  background-position-y: center;
}
@media(max-width:620px){
:where(.vm-workspace) .structure-reference-atlas-block{ padding: 8px 5px; }
:where(.vm-workspace) .structure-reference-course-art-image{ min-height: min(62vw, 330px); }
}/* Unified muscle gallery: every slide uses the same uncropped visual stage. */
:where(.vm-workspace) .structure-reference-gallery > .structure-reference-source-item{
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: start;
  gap: 7px;
  overflow: hidden;
}
:where(.vm-workspace) .structure-reference-gallery > .structure-reference-source-item > strong,
:where(.vm-workspace) .structure-reference-gallery > .structure-reference-source-item > .structure-reference-source-link,
:where(.vm-workspace) .structure-reference-gallery > .structure-reference-source-item > span{
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
:where(.vm-workspace) .structure-reference-gallery .structure-reference-figure{
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
}
:where(.vm-workspace) .structure-reference-gallery .structure-reference-figure img,
:where(.vm-workspace) .structure-reference-gallery .structure-reference-course-art-image{
  width: 100%;
  height: min(56vh, 520px);
  min-height: 320px;
  max-height: 520px;
  box-sizing: border-box;
  object-fit: contain !important;
  object-position: center;
  border-radius: 12px;
  background-color: #f4f2ed;
}
:where(.vm-workspace) .structure-reference-gallery .structure-reference-course-art-image{
  aspect-ratio: auto;
  background-repeat: no-repeat;
  background-color: #f4f2ed;
}
:where(.vm-workspace) .structure-reference-gallery .structure-reference-figure figcaption{
  position: static;
  width: 100%;
  min-height: 2.7em;
  margin: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
@media(max-width:620px){
:where(.vm-workspace) .structure-reference-gallery .structure-reference-figure img,
:where(.vm-workspace) .structure-reference-gallery .structure-reference-course-art-image{
    height: min(58vh, 470px);
    min-height: min(92vw, 360px);
    max-height: 470px;
  }
}/* Interactive 3D skeletal view inside the reference gallery. */
:where(.vm-workspace) .structure-reference-3d-stage{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(27, 27, 29, .12);
  border-radius: 18px;
  background: #e7e4dc;
}
:where(.vm-workspace) .structure-reference-3d-canvas{
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
:where(.vm-workspace) .structure-reference-3d-canvas:active{ cursor: grabbing; }
:where(.vm-workspace) .structure-reference-3d-hint{
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 132px);
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(8px);
  font-size: 12px;
  line-height: 1.25;
  color: rgba(27,27,29,.72);
  pointer-events: none;
}
:where(.vm-workspace) .structure-reference-3d-reset{
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: auto;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  font-size: 12px;
  line-height: 1.2;
}
@media (max-width: 620px) {
:where(.vm-workspace) .structure-reference-3d-stage{
    min-height: 360px;
    aspect-ratio: 3 / 4;
  }
:where(.vm-workspace) .structure-reference-3d-hint{
    max-width: calc(100% - 116px);
    font-size: 11px;
  }
:where(.vm-workspace) .structure-reference-3d-reset{
    font-size: 11px;
  }
}/* Bone study uses the existing Atlas workspace and a compact card below the model. */
:where(.vm-workspace) .bone-reference{ font-size: 13px; line-height: 1.6; }
:where(.vm-workspace) .bone-reference p{ margin: 9px 0 12px; }
:where(.vm-workspace) .bone-reference ul{ margin: 6px 0 12px; padding-left: 19px; }
:where(.vm-workspace) .bone-reference-latin{ display: block; color: var(--muted, #697689); font-style: italic; }
:where(.vm-workspace) .bone-reference-source{ display: inline-block; font-size: 11px; color: #486b95; }
:where(.vm-workspace) .mobile-bone-reference{ grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid rgba(107, 124, 145, .18); }
:where(.vm-workspace) .mobile-bone-reference summary{ cursor: pointer; font-weight: 600; padding: 4px 0; }
:where(.vm-workspace) #atlas-bones-toggle[aria-pressed="true"]{ background: #dce9f6; color: #244d78; border-color: #b9cfe6; }
body.bones-mode :where(.vm-workspace) #display-layer-actions{ display: none; }
@media (max-width: 920px) {
:where(.vm-workspace) #atlas-bones-toggle{ flex: 0 0 auto; } }
:where(.vm-workspace) #bone-reference .bone-reference-latin{ display: none; }
:where(.vm-workspace) .mobile-muscle-card .mobile-bone-reference{ order: 2; }
body.bones-mode :where(.vm-workspace) #toggle-skeleton{ display: none; }
@media (max-width: 920px) {
body.explore-mode :where(.vm-workspace) #toggle-skeleton{ display: none; } }/* A selected bone has one reference card on each screen size. */
:where(.vm-workspace) #structure-reference[data-reference-kind="bone"] .structure-reference-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
:where(.vm-workspace) #structure-reference[data-reference-kind="bone"] .structure-reference-grid > div:last-child{ display: none; }
@media (max-width: 920px) {
:where(.vm-workspace) .question-card:has(#structure-reference[data-reference-kind="bone"]) #structure-reference,
:where(.vm-workspace) .question-card:has(#structure-reference[data-reference-kind="bone"]) #question-label,
:where(.vm-workspace) .question-card:has(#structure-reference[data-reference-kind="bone"]) #question,
:where(.vm-workspace) .question-card:has(#structure-reference[data-reference-kind="bone"]) #feedback{ display: none; }
}
@media (prefers-reduced-motion: no-preference) {
:where(.vm-workspace) .mobile-bone-reference[open] > :not(summary){ animation: reference-arrive var(--ui-motion-content, 160ms) ease-out; }
}/* Product surface. Anatomy colors and the learning/touch contracts stay in styles.css. */
:where(.vm-workspace){
  --ink: #202b3b;
  --bg: #f3f5f8;
  --surface: #fff;
  --surface-soft: #f8f9fb;
  --line: #dce1e8;
  --muted: #626d7c;
  --accent: #0f4d7b;
  --shadow: 0 12px 40px rgba(30, 46, 70, .06);
  --ui-motion-fast: 140ms;
  --ui-motion-content: 160ms;
  --ui-motion-surface: 220ms;
  --ui-motion-ease: cubic-bezier(.2,.7,.2,1);
}
:where(.vm-workspace){ color: var(--ink); background: var(--bg); }
:where(.vm-workspace) button,
:where(.vm-workspace) input,
:where(.vm-workspace) select{ font: inherit; }
:where(.vm-workspace) button{ transition: color var(--ui-motion-fast) ease, background-color var(--ui-motion-fast) ease, border-color var(--ui-motion-fast) ease, box-shadow var(--ui-motion-fast) ease; }
:where(.vm-workspace) input,
:where(.vm-workspace) select{ transition: border-color var(--ui-motion-fast) ease, box-shadow var(--ui-motion-fast) ease, background-color var(--ui-motion-fast) ease; }
:where(.vm-workspace) input:focus-visible,
:where(.vm-workspace) select:focus-visible{ border-color: #79a5dc; }
:where(.vm-workspace) .feedback{ transition: color var(--ui-motion-fast) ease; }
:where(.vm-workspace) button:not(:disabled):hover{ border-color: #b1bdcf; }
:where(.vm-workspace) button:not(:disabled):active{ filter: brightness(.97); }
:where(.vm-workspace) button:focus-visible,
:where(.vm-workspace) select:focus-visible,
:where(.vm-workspace) input:focus-visible,
:where(.vm-workspace) [tabindex="0"]:focus-visible{
  outline: 3px solid #79a5dc;
  outline-offset: 3px;
}
:where(.vm-workspace) .topbar{ gap: 16px; align-items: center; }
:where(.vm-workspace) .brand{ flex: 1; min-width: 0; }
:where(.vm-workspace) .brand h1{ font-size: clamp(18px, 1.65vw, 24px); line-height: 1.17; letter-spacing: -.025em; }
:where(.vm-workspace) .brand h1 .brand-author{ display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
:where(.vm-workspace) .mode-switch{ flex-shrink: 0; padding: 4px; border: 1px solid var(--line); background: #e9edf3; border-radius: 12px; }
:where(.vm-workspace) .mode-switch button{ min-height: 38px; border-radius: 8px; font-weight: 650; color: #536176; }
:where(.vm-workspace) .mode-switch button.active{ color: var(--accent); background: #fff; box-shadow: 0 2px 6px #253d5b12; }
:where(.vm-workspace) .ui-motion-track{ position: relative; isolation: isolate; }
:where(.vm-workspace) .ui-motion-track > button{ position: relative; z-index: 1; }
:where(.vm-workspace) .ui-selection-indicator{ position: absolute; top: 0; left: 0; pointer-events: none; border-radius: 8px; background: #fff; box-shadow: 0 2px 6px #253d5b12; }
:where(.vm-workspace) .ui-motion-ready > .ui-selection-indicator{ transition: transform var(--ui-motion-surface) var(--ui-motion-ease), width var(--ui-motion-surface) var(--ui-motion-ease), height var(--ui-motion-surface) var(--ui-motion-ease); }
:where(.vm-workspace) .mode-switch.ui-motion-track > button.active,
:where(.vm-workspace) .reference-tabs.ui-motion-track > button[aria-selected="true"]{ background: transparent; box-shadow: none; }
:where(.vm-workspace) .viewer-wrap{ border: 1px solid #d4dae3; border-radius: 8px; background: #e7e9ed; box-shadow: var(--shadow); }
:where(.vm-workspace) .webgl-status{ z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
:where(.vm-workspace) .webgl-status button{ min-height: 44px; padding: 10px 16px; }
:where(.vm-workspace) .viewer-tools button,
:where(.vm-workspace) .viewer-tools select{ min-height: 38px; background: rgba(255,255,255,.94); border-color: #ccd4df; box-shadow: 0 2px 5px #233e5b08; color: var(--ink); }
:where(.vm-workspace) .viewer-hint{ background: rgba(255,255,255,.9); color: #536176; }
:where(.vm-workspace) .display-panel,
:where(.vm-workspace) .display-panel-head{ background: #fafbfd; }
:where(.vm-workspace) .display-panel h3,
:where(.vm-workspace) .display-panel strong{ color: var(--ink); }
:where(.vm-workspace) .panel{ padding: 22px; background: var(--surface-soft); scrollbar-width: thin; scrollbar-color: #c1cad7 transparent; }
:where(.vm-workspace) .question-card{ padding: 20px; border-color: var(--line); border-radius: 0; box-shadow: none; }
:where(.vm-workspace) .question-card h2{ margin-top: 6px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.14; color: var(--ink); }
:where(.vm-workspace) .question-card .feedback{ line-height: 1.55; color: var(--muted); }
:where(.vm-workspace) .question-card .feedback.correct{ color: #1b7149; }
:where(.vm-workspace) .question-card .feedback.wrong{ color: #922d3e; }
:where(.vm-workspace) .question-card .feedback.navigation{ color: #765315; }
:where(.vm-workspace) .scope-controls{ padding-bottom: 16px; border-bottom: 1px solid var(--line); }
:where(.vm-workspace) .learning-field > span,
:where(.vm-workspace) .search-field > span{ font-size: 12px; color: #536176; font-weight: 650; }
:where(.vm-workspace) .learning-field select,
:where(.vm-workspace) .search-field input{ min-height: 44px; padding: 10px 12px; border: 1px solid #cbd3de; border-radius: 10px; color: var(--ink); background: #fff; font-size: 14px; }
:where(.vm-workspace) .scope-isolation{ color: #536176; line-height: 1.45; }
:where(.vm-workspace) .explore-controls{ margin: 16px 0 20px; gap: 8px; }
:where(.vm-workspace) .search-field{ position: relative; }
:where(.vm-workspace) .search-field input{ width: 100%; box-sizing: border-box; }
:where(.vm-workspace) .search-field input::placeholder{ color: #798596; }
:where(.vm-workspace) .search-results{ max-height: 280px; overflow-y: auto; }
:where(.vm-workspace) .search-results button{ padding: 10px 12px; border-radius: 9px; font-size: 13px; }
:where(.vm-workspace) .selected-structure-actions{ gap: 7px; margin: 14px 0; }
:where(.vm-workspace) .selected-structure-actions button{ min-height: 40px; border-radius: 9px; font-size: 12px; }
:where(.vm-workspace) .structure-reference{ margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
:where(.vm-workspace) .structure-reference-head strong{ color: #536176; font-size: 12px; font-weight: 650; }
:where(.vm-workspace) .structure-reference-head span{ font-size: 14px; color: var(--muted); line-height: 1.4; }
:where(.vm-workspace) .structure-reference-grid{ gap: 8px; margin: 14px 0; }
:where(.vm-workspace) .structure-reference-grid > div{ padding: 8px 9px; background: #f5f7fa; border-radius: 8px; }
:where(.vm-workspace) .structure-reference-grid dt{ font-size: 10px; color: #667486; text-transform: none; letter-spacing: 0; }
:where(.vm-workspace) .structure-reference-grid dd{ font-size: 12px; line-height: 1.4; color: var(--ink); }
:where(.vm-workspace) .structure-reference-context{ font-size: 13px; line-height: 1.5; color: #536176; }
:where(.vm-workspace) .structure-reference-badges > span{ color: #596a7e; background: #f1f5fa; border-color: #dfe6ef; }
:where(.vm-workspace) .structure-reference-facts{ gap: 0; }
:where(.vm-workspace) .reference-tabs{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; padding: 4px; margin: 6px 0 18px; border: 1px solid var(--line); border-radius: 11px; background: #f1f4f8; }
:where(.vm-workspace) .reference-tabs button{ width: auto; min-width: 0; min-height: 40px; padding: 8px 5px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 650; background: transparent; color: #59677a; }
:where(.vm-workspace) .reference-tabs button[aria-selected="true"]{ color: #174d94; background: #fff; border-color: #dce4ef; box-shadow: 0 1px 4px #283f5a0c; }
:where(.vm-workspace) .reference-tab-panel:not([hidden]){ animation: reference-arrive var(--ui-motion-content) var(--ui-motion-ease); }
:where(.vm-workspace) .learning-controls:not([hidden]),
:where(.vm-workspace) .quiz-muscle-actions:not([hidden]),
:where(.vm-workspace) .selected-structure-actions:not([hidden]),
:where(.vm-workspace) .learning-progress[open] > .learning-progress-content{
  animation: reference-arrive var(--ui-motion-content) var(--ui-motion-ease);
}
:where(.vm-workspace) .session-progress:not([hidden]),
:where(.vm-workspace) .name-choices:not([hidden]){ animation: content-arrive var(--ui-motion-content) ease-out; }
:where(.vm-workspace) .reference-section{ display: grid; gap: 12px; margin: 0; padding: 18px 0; border-bottom: 1px solid #e5eaf0; }
:where(.vm-workspace) .reference-section:first-child{ padding-top: 0; }
:where(.vm-workspace) .reference-section:last-child{ border-bottom: 0; padding-bottom: 0; }
:where(.vm-workspace) .reference-section h3{ margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
:where(.vm-workspace) .reference-section p,
:where(.vm-workspace) .reference-section span,
:where(.vm-workspace) .reference-section li,
:where(.vm-workspace) .reference-function li{ font-size: 14px; line-height: 1.65; color: #3f4d60; }
:where(.vm-workspace) .reference-section p{ margin: 0; }
:where(.vm-workspace) .reference-section ul{ margin: 0; padding-left: 18px; }
:where(.vm-workspace) .reference-section li + li,
:where(.vm-workspace) .reference-function li + li{ margin-top: 7px; }
:where(.vm-workspace) .reference-section .structure-reference-fact{ gap: 4px; }
:where(.vm-workspace) .reference-section .structure-reference-fact > strong{ color: #657185; font-size: 12px; font-weight: 650; }
:where(.vm-workspace) .reference-study-cue{ display: grid; gap: 5px; padding: 12px 14px; margin: 16px 0; border-left: 3px solid #84a8d3; background: #f1f6fc; border-radius: 0 9px 9px 0; }
:where(.vm-workspace) .reference-study-cue strong{ color: #315681; font-size: 12px; }
:where(.vm-workspace) .reference-study-cue span{ font-size: 13px; line-height: 1.6; color: #425b79; }
:where(.vm-workspace) .reference-select-field{ display: grid; gap: 6px; }
:where(.vm-workspace) .reference-select-field > span{ font-size: 12px; line-height: 1.4; font-weight: 650; color: #657185; }
:where(.vm-workspace) .reference-select-field select{ width: 100%; min-width: 0; min-height: 44px; padding: 10px 30px 10px 11px; border: 1px solid #cad4e1; border-radius: 9px; font-size: 13px; color: var(--ink); background-color: #fff; }
:where(.vm-workspace) .reference-section .reference-intro,
:where(.vm-workspace) .reference-intro{ font-size: 13px; line-height: 1.55; color: #657185; }
:where(.vm-workspace) .functional-role{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 2px; }
:where(.vm-workspace) .functional-role button{ min-height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 13px; color: #536176; }
:where(.vm-workspace) .functional-role button[aria-pressed="true"]{ border-color: #68a3ac; color: #12646b; background: #eff8f8; font-weight: 650; }
:where(.vm-workspace) .functional-role button[data-functional-role="antagonists"][aria-pressed="true"]{ color: #904819; border-color: #cd9a78; background: #fdf5ef; }
:where(.vm-workspace) .structure-reference-functional{ gap: 12px; }
:where(.vm-workspace) .functional-muscle-list{ display: grid; gap: 6px; }
:where(.vm-workspace) .functional-muscle{ width: 100%; padding: 10px 12px; border: 1px solid #d8e2ed; border-radius: 9px; text-align: left; color: #294d78; background: #f8fafd; font-size: 13px; line-height: 1.5; }
:where(.vm-workspace) .functional-muscle:hover{ background: #edf3fc; }
:where(.vm-workspace) .reference-section .functional-empty,
:where(.vm-workspace) .reference-section .functional-conditional{ font-size: 13px; line-height: 1.55; color: #657185; }
:where(.vm-workspace) .reference-section .structure-reference-functional-row-note{ font-size: 12px; line-height: 1.6; color: #657185; margin-top: 12px; }
:where(.vm-workspace) .functional-source{ display: inline-block; margin-top: 8px; font-size: 11px; line-height: 1.5; color: #315b8c; text-underline-offset: 3px; }
:where(.vm-workspace) .functional-show-group{ width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #245da8; border-radius: 10px; color: #fff; background: #245da8; font-size: 13px; font-weight: 650; }
:where(.vm-workspace) .functional-show-group:not(:disabled):hover{ background: #1c4e90; }
:where(.vm-workspace) .functional-show-group[aria-pressed="true"]{ color: #245da8; background: #edf4fd; }
:where(.vm-workspace) .functional-show-group[aria-pressed="true"]:not(:disabled):hover{ background: #dfebfa; }
:where(.vm-workspace) .functional-show-group:disabled{ color: #818c9b; border-color: var(--line); background: #f2f4f7; }
:where(.vm-workspace) .reference-section .functional-model-status{ color: #49617e; font-size: 12px; line-height: 1.6; }
:where(.vm-workspace) .functional-model-status:empty{ display: none; }
:where(.vm-workspace) .structure-reference-gallery-head > div > span{ font-size: 12px; line-height: 1.5; }
:where(.vm-workspace) .structure-reference-gallery .structure-reference-figure figcaption{ font-size: 12px; line-height: 1.5; }
:where(.vm-workspace) .structure-reference-source-item strong,
:where(.vm-workspace) .structure-reference-source-link{ font-size: 12px; line-height: 1.45; }
:where(.vm-workspace) .structure-reference-source-item span{ font-size: 11px; line-height: 1.55; }
:where(.vm-workspace) .attribution{ margin-top: auto; color: #526377; line-height: 1.55; }
:where(.vm-workspace) .attribution a{ color: #536a89; }/* Immediate movement comparison, shared with the full reference controller. */
:where(.vm-workspace) .atlas-relations{ min-width: 0; box-sizing: border-box; }
:where(.vm-workspace) .atlas-relation-roles{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
:where(.vm-workspace) .atlas-relations[data-expanded="true"] .atlas-relation-roles{ grid-template-columns: minmax(0,1fr) minmax(0,1fr) 44px; }
:where(.vm-workspace) .atlas-relation-roles button{ min-width: 0; min-height: 44px; padding: 8px; border: 1px solid #ccd7e4; border-radius: 9px; background: #fff; color: #536176; font-size: 13px; font-weight: 650; }
:where(.vm-workspace) .atlas-relation-roles button[aria-expanded="true"]{ color: #12646b; border-color: #68a3ac; background: #eff8f8; }
:where(.vm-workspace) .atlas-relation-roles button[data-quick-role="antagonists"][aria-expanded="true"]{ color: #904819; border-color: #cd9a78; background: #fdf5ef; }
:where(.vm-workspace) .atlas-relation-roles button:disabled{ color: #818c9b; background: #f2f4f7; }
:where(.vm-workspace) .atlas-relations-body:not([hidden]){ display: grid; gap: 9px; padding-top: 12px; }
:where(.vm-workspace) .atlas-relations-list{ display: flex; flex-wrap: wrap; gap: 6px; max-height: 112px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
:where(.vm-workspace) .atlas-relation-muscle{ padding: 5px 8px; border: 1px solid #c5e1e1; border-radius: 7px; background: #f1f9f8; color: #12646b; font-size: 12px; line-height: 1.4; }
:where(.vm-workspace) .atlas-relations[data-role="antagonists"] .atlas-relation-muscle{ color: #904819; border-color: #efd3bd; background: #fdf5ef; }
:where(.vm-workspace) .atlas-relations .atlas-relation-muscle[data-availability="hidden"],
:where(.vm-workspace) .atlas-relations .atlas-relation-muscle[data-availability="missing"]{ color: #657185; border-color: var(--line); background: #f6f7f9; }
:where(.vm-workspace) .atlas-relations-status,
:where(.vm-workspace) .atlas-relations-unavailable,
:where(.vm-workspace) .atlas-relations-list p{ margin: 0; font-size: 12px; line-height: 1.5; color: #657185; }
:where(.vm-workspace) .atlas-relations-status:empty{ display: none; }
:where(.vm-workspace) .atlas-relations-unavailable{ margin-top: 8px; }
:where(.vm-workspace) .atlas-relation-roles .atlas-relations-close{ padding: 5px; color: #657185; background: #f8fafd; font-size: 23px; font-weight: 400; }
@keyframes reference-arrive { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes content-arrive { from { opacity: .65; } to { opacity: 1; } }
@keyframes drawer-arrive { from { opacity: .7; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
@media (min-width: 921px) {
:where(.vm-workspace) .app-shell{ height: calc(100dvh - var(--vm-header-height)); min-height: calc(640px - var(--vm-header-height)); overflow: hidden; }
:where(.vm-workspace) .stage{ min-height: 0; padding: 22px; gap: 18px; }
:where(.vm-workspace) .viewer-wrap{ min-height: 0; }
:where(.vm-workspace) .panel{ max-height: calc(100dvh - var(--vm-header-height)); box-sizing: border-box; overflow-y: auto; }
:where(.vm-workspace) .structure-reference-gallery .structure-reference-figure img,
:where(.vm-workspace) .structure-reference-gallery .structure-reference-course-art-image{ height: 330px; min-height: 280px; max-height: 360px; object-fit: contain; }
}
@media (max-width: 920px) {
body:not(.session-active):not(.motion-mode) :where(.vm-workspace) .mobile-muscle-card:not([hidden]){
    position: static; width: auto; margin: 0; box-sizing: border-box; box-shadow: 0 2px 10px #26395008;
    border-color: var(--line); background: #fff; backdrop-filter: none; border-radius: 14px; padding: 12px;
  }
:where(.vm-workspace) .mobile-muscle-actions button{ min-height: 44px; }
:where(.vm-workspace) .mobile-muscle-card-copy{ order: 1; }
:where(.vm-workspace) .mobile-muscle-card .atlas-relations{ order: 2; }
:where(.vm-workspace) .mobile-muscle-actions{ order: 3; }
body:not(.session-active):not(.motion-mode) :where(.vm-workspace) .stage:has(.mobile-muscle-card:not([hidden])) .viewer-wrap{
    flex: none; height: max(260px, calc(100dvh - 256px)); min-height: max(260px, calc(100dvh - 256px));
  }
:where(.vm-workspace) .mobile-muscle-card:has(.atlas-relations[data-expanded="true"]) .mobile-muscle-actions{ display: none; }
body:not(.session-active):not(.motion-mode) :where(.vm-workspace) .mobile-muscle-card:has(.atlas-relations[data-expanded="true"]){
    display: flex; flex-direction: column; max-height: max(240px, calc(58dvh - 148px));
  }
:where(.vm-workspace) .mobile-muscle-card .atlas-relations[data-expanded="true"]{ display: flex; flex-direction: column; min-height: 0; }
:where(.vm-workspace) .mobile-muscle-card .atlas-relation-roles{ flex: none; }
body:not(.session-active):not(.motion-mode) :where(.vm-workspace) .stage:has(.atlas-relations[data-expanded="true"]) .viewer-wrap{
    flex: none; height: max(260px, 42dvh); min-height: max(260px, 42dvh);
  }
:where(.vm-workspace) .mobile-muscle-card .atlas-relations-body{ gap: 7px; padding-top: 9px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
:where(.vm-workspace) .mobile-muscle-card .atlas-relations-list{ max-height: none; overflow: visible; }
:where(.vm-workspace) .mobile-muscle-card .atlas-relations-status{ order: -1; }
:where(.vm-workspace) .mobile-muscle-card .atlas-relations-body .reference-select-field > span{ position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:where(.vm-workspace) .topbar{ align-items: center; }
:where(.vm-workspace) .brand h1{ font-size: 18px; }
:where(.vm-workspace) .brand h1 .brand-author{ font-size: 12px; margin-top: 3px; }
:where(.vm-workspace) .viewer-tools button,
:where(.vm-workspace) .viewer-tools select{ min-height: 44px; }
:where(.vm-workspace) .mode-switch button{ min-height: 40px; padding: 8px 10px; font-size: 12px; }
:where(.vm-workspace) .panel{ padding: 14px; }
:where(.vm-workspace) .question-card{ padding: 16px; }
:where(.vm-workspace) .viewer-wrap{ border-radius: 16px; }
:where(.vm-workspace) .reference-tabs{ position: sticky; top: 0; z-index: 2; }
:where(.vm-workspace) .reference-tabs button,
:where(.vm-workspace) .functional-role button,
:where(.vm-workspace) .functional-muscle{ min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
:where(.vm-workspace) *,
:where(.vm-workspace) *::before,
:where(.vm-workspace) *::after{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}/* A quiet, always visible touch lane; the 3D canvas keeps its own gestures. */
:where(.vm-workspace) .mobile-page-scroll{ position: fixed; z-index: 30; right: max(1px, env(safe-area-inset-right)); top: max(110px, 18dvh); bottom: max(60px, env(safe-area-inset-bottom)); width: 24px; touch-action: none; user-select: none; cursor: grab; border-radius: 14px; }
:where(.vm-workspace) .mobile-page-scroll::before{ content: ""; position: absolute; top: 0; bottom: 0; width: 4px; left: 10px; border-radius: 4px; background: #cfdae7; }
:where(.vm-workspace) .mobile-page-scroll-thumb{ display: block; position: absolute; top: 0; left: 5px; width: 14px; min-height: 52px; border-radius: 9px; background: #6b88ad; border: 2px solid #f3f5f8; box-sizing: border-box; box-shadow: 0 1px 4px #253d5b20; }
:where(.vm-workspace) .mobile-page-scroll-thumb::after{ content: ""; position: absolute; top: 50%; left: 2px; right: 2px; height: 12px; transform: translateY(-50%); border-top: 1px solid #ffffffb0; border-bottom: 1px solid #ffffffb0; }
:where(.vm-workspace) .mobile-page-scroll[data-dragging="true"]{ cursor: grabbing; }
:where(.vm-workspace) .mobile-page-scroll[data-dragging="true"] .mobile-page-scroll-thumb{ background: #245da8; }
:where(.vm-workspace) .atlas-context-layers{ flex: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; }
:where(.vm-workspace) .atlas-context-layer-buttons{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
:where(.vm-workspace) .atlas-context-layer-buttons button{ min-width: 0; min-height: 44px; padding: 6px 3px; font-size: 12px; background: #f5f7fa; }
:where(.vm-workspace) .atlas-context-layer-buttons button::before{ content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; background: #d1ad5d; }
:where(.vm-workspace) [data-context-layer="vascular"]::before{ background: #a44f4b !important; }
:where(.vm-workspace) [data-context-layer="lymphatic"]::before{ background: #78966f !important; }
:where(.vm-workspace) [data-context-layer="organs"]::before{ background: #c88179 !important; }
:where(.vm-workspace) .atlas-context-layer-buttons button[aria-pressed="true"],
:where(.vm-workspace) #atlas-context-muscles[aria-pressed="true"]{ color: #244d78; background: #e8f0fa; border-color: #a9c1df; }
:where(.vm-workspace) .atlas-context-layer-buttons button[aria-busy="true"]{ opacity: .65; }
:where(.vm-workspace) .atlas-context-layer-footer{ display: flex; align-items: center; gap: 10px; margin-top: 8px; }
:where(.vm-workspace) .nerve-muscle-links{ display: grid; gap: 8px; }
:where(.vm-workspace) .nerve-muscle-links > div{ display: flex; flex-wrap: wrap; gap: 6px; }
:where(.vm-workspace) .nerve-muscle-links button{ min-height: 40px; padding: 7px 9px; font-size: 12px; }
:where(.vm-workspace) .nerve-muscle-links p{ margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
:where(.vm-workspace) #atlas-context-muscles{ flex: none; min-height: 36px; padding: 6px 9px; font-size: 11px; background: #fff; }
:where(.vm-workspace) #atlas-context-status{ font-size: 11px; line-height: 1.4; color: var(--muted); }
@media (max-width: 920px) {
:where(.vm-workspace) .app-shell{ margin-right: 22px; }
:where(.vm-workspace) .atlas-context-layer-footer{ align-items: flex-start; }
body.bones-mode :where(.vm-workspace) .viewer-wrap{ flex: none; }
body:not(.session-active):not(.motion-mode) :where(.vm-workspace) .panel:has(#structure-reference[data-reference-kind="context"]) #structure-reference,
body:not(.session-active):not(.motion-mode) :where(.vm-workspace) .question-card:has(#structure-reference[data-reference-kind="context"]) > :is(#question-label, #question, #feedback){ display: none; }
}
:where(.vm-workspace) [data-context-layer="joints"]::before{ background: #a7bac9 !important; }
:where(.vm-workspace) .muscle-transparency-field{ display: grid; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
:where(.vm-workspace) .muscle-transparency-field > span{ display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
:where(.vm-workspace) .muscle-transparency-field output{ color: #244d78; font-variant-numeric: tabular-nums; }
:where(.vm-workspace) .muscle-transparency-field input{ width: 100%; height: 32px; margin: 0; accent-color: #5682b5; cursor: pointer; }
:where(.vm-workspace) .atlas-context-restore-actions{ display: flex; flex-wrap: wrap; gap: 6px; }
:where(.vm-workspace) .atlas-context-restore-actions:has(button:not([hidden])){ margin-top: 10px; }
:where(.vm-workspace) .atlas-context-restore-actions button{ min-height: 40px; padding: 6px 10px; font-size: 14px; }
@media (max-width: 360px) {
:where(.vm-workspace) .atlas-context-layer-buttons{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
:where(.vm-workspace) .mobile-muscle-card:has(#mobile-focus-structure:not([hidden])) .mobile-muscle-actions button{ min-height: 44px; font-size: 14px; }
:where(.vm-workspace) .display-panel-toggle::after{ content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 1px 3px 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .18s; }
:where(.vm-workspace) .display-panel-toggle[aria-expanded="true"]::after{ transform: translateY(3px) rotate(225deg); }
:where(.vm-workspace) #atlas-view-back{ margin-right: auto; }
:where(.vm-workspace) .atlas-selection-menu{ position: absolute; z-index: 8; width: min(270px, calc(100% - 16px)); padding: 10px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px #26395026; }
:where(.vm-workspace) .atlas-selection-menu[hidden]{ display: none; }
:where(.vm-workspace) .atlas-selection-menu-head{ display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
:where(.vm-workspace) .atlas-selection-menu-head strong{ flex: 1; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
:where(.vm-workspace) .atlas-selection-menu-head button{ flex: none; width: 32px; min-height: 32px; padding: 0; border: 0; background: transparent; font-size: 22px; }
:where(.vm-workspace) .atlas-selection-menu-actions{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
:where(.vm-workspace) .atlas-selection-menu-actions button{ min-height: 44px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: #f6f8fc; color: inherit; font: inherit; font-size: 12px; font-weight: 600; }
:where(.vm-workspace) .atlas-selection-menu-actions [data-atlas-action="reveal"]{ grid-column: 1 / -1; }
:where(.vm-workspace) .atlas-card-illustrations{ display: grid; gap: 12px; }
:where(.vm-workspace) .atlas-card-illustrations figure{ margin: 0; }
:where(.vm-workspace) .atlas-card-illustrations img{ display: block; width: 100%; max-height: 440px; object-fit: contain; background: white; }
:where(.vm-workspace) .atlas-card-illustrations figcaption{ font-size: 12px; line-height: 1.45; color: var(--muted); }
:where(.vm-workspace) .atlas-mini-view{ margin-top: 12px; }
:where(.vm-workspace) .atlas-mini-view summary{ cursor: pointer; font-weight: 600; padding: 8px 0; }
:where(.vm-workspace) .atlas-mini-stage{ position: relative; height: 260px; }
:where(.vm-workspace) .atlas-mini-stage canvas{ width: 100%; height: 100%; touch-action: none; border-radius: 12px; }
:where(.vm-workspace) .atlas-mini-stage button{ position: absolute; top: 8px; right: 8px; min-height: 36px; }
@media (max-width: 920px) {
:where(.vm-workspace) .viewer-tools{ flex-wrap: wrap; }
:where(.vm-workspace) .viewer-tools #atlas-view-back{ min-height: 36px; padding: 6px 8px; }
:where(.vm-workspace) .viewer-tools #atlas-bones-toggle{ font-size: 11px; padding: 6px 8px; }
:where(.vm-workspace) .viewer-tools #display-panel-toggle[aria-expanded="true"]{ min-width: 0; }
:where(.vm-workspace) .mobile-muscle-card:has(#mobile-isolate-structure:not([hidden])) .mobile-muscle-actions{ display: grid; grid-template-columns: 1fr 1fr; }
:where(.vm-workspace) .mobile-muscle-card:has(#mobile-isolate-structure:not([hidden])) .mobile-back-context{ grid-column: 1 / -1; }
}/* Stage 1 — unified visual language, additive and layout-safe. */
:where(.vm-workspace){
  --ui-ink: #243043;
  --ui-ink-soft: #455267;
  --ui-muted: #526377;
  --ui-bg: #f3f5f8;
  --ui-surface: #ffffff;
  --ui-surface-subtle: #f8fafc;
  --ui-surface-control: rgba(255,255,255,.94);
  --ui-border: #d8dfe8;
  --ui-border-strong: #c7d0dc;
  --ui-accent: #245da8;
  --ui-accent-soft: #edf4fd;
  --ui-focus: #6f9dd6;
  --ui-radius-control: 10px;
  --ui-radius-card: 14px;
  --ui-radius-panel: 18px;
  --ui-radius-viewer: 20px;
  --ui-shadow-float: 0 8px 28px rgba(30,46,70,.10);
  --ui-shadow-panel: 0 14px 42px rgba(30,46,70,.07);
}
:where(.vm-workspace){
  color: var(--ui-ink);
  background: var(--ui-bg);
}
:where(.vm-workspace) button,
:where(.vm-workspace) select,
:where(.vm-workspace) input[type="search"]{
  border-radius: var(--ui-radius-control);
}
:where(.vm-workspace) button:focus-visible,
:where(.vm-workspace) select:focus-visible,
:where(.vm-workspace) input:focus-visible,
:where(.vm-workspace) [tabindex="0"]:focus-visible{
  outline-color: var(--ui-focus);
}
:where(.vm-workspace) .brand h1{
  color: var(--ui-ink);
  font-weight: 720;
}
:where(.vm-workspace) .brand h1 .brand-author{
  color: var(--ui-muted);
}
:where(.vm-workspace) .mode-switch{
  border-color: var(--ui-border);
  background: #e9edf3;
  border-radius: 12px;
}
:where(.vm-workspace) .mode-switch button{
  border-radius: 8px;
}
:where(.vm-workspace) .mode-switch button.active{
  color: var(--ui-accent);
}
:where(.vm-workspace) .viewer-wrap{
  border-color: #d2d9e3;
  border-radius: var(--ui-radius-viewer);
  box-shadow: var(--ui-shadow-panel);
}/* Scene toolbar: compact tools, not a row of pills. */
:where(.vm-workspace) .viewer-tools button,
:where(.vm-workspace) .viewer-tools > select{
  min-height: 38px;
  padding: 7px 10px;
  border-radius: var(--ui-radius-control);
  border-color: var(--ui-border-strong);
  background: var(--ui-surface-control);
  color: var(--ui-ink);
  box-shadow: 0 2px 7px rgba(35,62,91,.06);
  font-size: 12px;
  font-weight: 620;
}
:where(.vm-workspace) .viewer-tools button:not(:disabled):hover,
:where(.vm-workspace) .viewer-tools > select:hover{
  border-color: #aeb9c8;
  background: #fff;
  box-shadow: 0 3px 10px rgba(35,62,91,.08);
}
:where(.vm-workspace) .viewer-quick-toggle[aria-pressed="true"]{
  color: #244d78;
  border-color: #9eb8d8;
  background: var(--ui-accent-soft);
  box-shadow: inset 0 0 0 1px rgba(36,93,168,.05);
}/* "Display settings" is a gateway to a panel, not an anatomical action. */
:where(.vm-workspace) .display-panel-toggle{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: var(--ui-radius-control);
  border-color: #bcc7d4;
  background: rgba(248,250,252,.96);
  color: #4d5a6c;
  box-shadow: none;
  font-weight: 630;
}
:where(.vm-workspace) .display-panel-toggle::before{
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 10px;
  opacity: .72;
  background:
    linear-gradient(currentColor 0 0) top / 100% 1.5px no-repeat,
    linear-gradient(currentColor 0 0) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor 0 0) bottom / 100% 1.5px no-repeat;
}
:where(.vm-workspace) .display-panel-toggle::after{
  width: 6px;
  height: 6px;
  margin: 0 1px 3px 1px;
  border-width: 0 1.5px 1.5px 0;
  opacity: .7;
}
:where(.vm-workspace) .display-panel-toggle:not(:disabled):hover{
  color: #35465b;
  border-color: #9fabb9;
  background: #fff;
}
:where(.vm-workspace) .display-panel-toggle.active,
:where(.vm-workspace) .display-panel-toggle[aria-expanded="true"]{
  color: var(--ui-accent);
  border-color: #a9bed9;
  background: #f1f6fc;
  box-shadow: 0 2px 8px rgba(36,93,168,.08);
}
:where(.vm-workspace) .display-panel{
  background: #fbfcfd;
  border-right-color: var(--ui-border);
  box-shadow: 12px 0 34px rgba(30,46,70,.10);
}
:where(.vm-workspace) .display-panel-head{
  background: rgba(251,252,253,.97);
  border-bottom-color: var(--ui-border);
}
:where(.vm-workspace) .display-panel-head strong{
  font-size: 15px;
  font-weight: 720;
}
:where(.vm-workspace) .display-panel-head span,
:where(.vm-workspace) .display-section-head > span,
:where(.vm-workspace) .viewer-setting-note{
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.45;
}
:where(.vm-workspace) .display-section{
  gap: 11px;
  border-bottom-color: #e3e8ef;
}
:where(.vm-workspace) .display-section h3{
  color: var(--ui-ink);
  font-size: 13px;
  font-weight: 720;
}
:where(.vm-workspace) .viewer-setting-field{
  color: #59677a;
  font-size: 12px;
}
:where(.vm-workspace) .viewer-setting-field select{
  min-height: 40px;
  border-color: var(--ui-border-strong);
  border-radius: var(--ui-radius-control);
  color: var(--ui-ink);
}
:where(.vm-workspace) .connective-layer-options label{
  color: var(--ui-ink-soft);
  font-size: 13px;
  line-height: 1.4;
}
:where(.vm-workspace) .panel{
  background: var(--ui-surface-subtle);
  border-left-color: var(--ui-border);
}
:where(.vm-workspace) .question-card{
  border-color: var(--ui-border);
  border-radius: var(--ui-radius-panel);
  background: var(--ui-surface);
  box-shadow: 0 5px 24px rgba(30,46,70,.045);
}
:where(.vm-workspace) .question-card h2{
  color: var(--ui-ink);
  letter-spacing: -.022em;
}
:where(.vm-workspace) .learning-field > span,
:where(.vm-workspace) .learning-mode-field > span,
:where(.vm-workspace) .search-field > span,
:where(.vm-workspace) .control-group-label{
  color: #59677a;
  font-size: 12px;
  font-weight: 660;
}
:where(.vm-workspace) .learning-field select,
:where(.vm-workspace) .search-field input,
:where(.vm-workspace) .reference-select-field select{
  border-color: var(--ui-border-strong);
  border-radius: var(--ui-radius-control);
  background: #fff;
  color: var(--ui-ink);
}
:where(.vm-workspace) .selected-structure-actions button,
:where(.vm-workspace) .layer-actions button,
:where(.vm-workspace) .atlas-selection-menu-actions button,
:where(.vm-workspace) .mobile-muscle-actions button{
  border-radius: var(--ui-radius-control);
}
:where(.vm-workspace) .atlas-selection-menu{
  border-color: var(--ui-border);
  border-radius: var(--ui-radius-card);
  background: rgba(255,255,255,.975);
  box-shadow: var(--ui-shadow-float);
}
:where(.vm-workspace) .structure-reference{
  border-color: var(--ui-border);
  border-radius: var(--ui-radius-card);
  background: #fbfcfd;
}
:where(.vm-workspace) .structure-reference-grid > div{
  border-radius: 9px;
  background: #f4f7fa;
}
:where(.vm-workspace) .structure-reference-grid dt{
  color: var(--ui-muted);
  font-size: 11px;
}
:where(.vm-workspace) .structure-reference-grid dd{
  color: var(--ui-ink);
  font-size: 13px;
}
:where(.vm-workspace) .reference-tabs{
  border-color: var(--ui-border);
  border-radius: 12px;
  background: #f0f3f7;
}
:where(.vm-workspace) .reference-tabs button{
  border-radius: 8px;
}
:where(.vm-workspace) .reference-section h3{
  color: var(--ui-ink);
}
:where(.vm-workspace) .reference-section p,
:where(.vm-workspace) .reference-section span,
:where(.vm-workspace) .reference-section li,
:where(.vm-workspace) .reference-function li{
  color: #465468;
}
:where(.vm-workspace) .functional-role button,
:where(.vm-workspace) .atlas-relation-roles button,
:where(.vm-workspace) .functional-muscle{
  border-radius: var(--ui-radius-control);
}
:where(.vm-workspace) .atlas-context-layers{
  border-color: var(--ui-border);
  border-radius: var(--ui-radius-card);
  background: #fff;
  box-shadow: 0 3px 16px rgba(30,46,70,.035);
}
:where(.vm-workspace) .atlas-context-layer-buttons button{
  border-radius: 9px;
}
:where(.vm-workspace) .deeper-structures{
  border-radius: var(--ui-radius-card);
}
:where(.vm-workspace) .mobile-muscle-card{
  border-radius: var(--ui-radius-card);
}

@media (max-width: 920px) {
:where(.vm-workspace) .viewer-tools button,
:where(.vm-workspace) .viewer-tools > select,
:where(.vm-workspace) .display-panel-toggle{
    min-height: 44px;
  }
:where(.vm-workspace) .display-panel-toggle{
    padding-inline: 10px;
  }
}

@media (max-width: 430px) {
:where(.vm-workspace) .display-panel-toggle{
    font-size: 11px;
  }
}
