.project-figure {
  --pf-ink: #17191b;
  --pf-muted: #5b5d60;
  --pf-line: #b5b9bd;
  --pf-guide: #d8dce0;
  color: var(--pf-ink);
  background: #fff;
  padding-block: 54px 62px;
  isolation: isolate;
}
.project-figure > h2 {
  max-width: 1220px;
  margin-bottom: 40px;
  font-size: clamp(32px, 3.1vw, 43px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.035em;
}
.pf-section-label {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--pf-muted);
}
.pf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 3.3vw, 46px);
  background: #f5f5f4;
  border-radius: 4px;
}
.pf-visual, .pf-description { min-width: 0; }
.pf-stage {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 350px;
  margin: 0 auto 16px;
}
.pf-drawing {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.pf-drawing path { fill: none; vector-effect: non-scaling-stroke; }
.pf-travel { fill: none; stroke: none; }
.pf-line { stroke: var(--pf-line); stroke-width: 1.45; }
.pf-guide { stroke: var(--pf-guide); stroke-width: 1.1; }
.pf-dashed { stroke-dasharray: 3 5; }
.pf-focus .pf-line { transition: stroke 220ms ease, stroke-width 220ms ease; }
.pf-focus.is-active .pf-line { stroke: var(--pf-ink); stroke-width: 1.65; }
.pf-part {
  appearance: none;
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pf-muted);
  font: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.project-figure .pf-part:disabled { opacity: 1; }
.pf-part:focus-visible { outline: 2px solid var(--pf-ink); outline-offset: 5px; }
.pf-node {
  display: block;
  width: 15px;
  height: 15px;
  border: 1.5px solid #9ba0a5;
  border-radius: 50%;
  background: #fff;
  transition: box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  pointer-events: none;
}
.pf-part[aria-pressed="true"] { color: var(--pf-ink); }
.pf-part[aria-pressed="true"] .pf-node {
  border-color: var(--pf-ink);
  background: var(--pf-ink);
  box-shadow: 0 0 0 8px rgba(23,25,27,.06);
}
.pf-part:hover .pf-node { border-color: var(--pf-ink); }
.pf-part-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  width: max-content;
  max-width: 125px;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}
.pf-label-top .pf-part-label { top: auto; bottom: calc(100% + 1px); }
.pf-label-right .pf-part-label { left: calc(100% + 5px); top: 50%; transform: translateY(-50%); text-align: left; }
.pf-label-left .pf-part-label { left: auto; right: calc(100% + 5px); top: 50%; transform: translateY(-50%); text-align: right; }
.pf-label {
  position: absolute;
  display: block;
  width: max-content;
  max-width: 40%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  line-height: 1.3;
  color: var(--pf-muted);
  text-align: center;
}
.pf-fixed-point, .pf-moving-dot {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--pf-ink);
  pointer-events: none;
}
.pf-small-open { width: 13px; height: 13px; background: #fff; border: 1.2px solid #a7acb1; }
.pf-point-emphasis { width: 17px; height: 17px; box-shadow: 0 0 0 8px rgba(23,25,27,.055); }
.pf-moving-dot { z-index: 3; width: 14px; height: 14px; }
.pf-controls {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px 27px;
  margin-top: 15px;
}
.pf-controls button {
  appearance: none;
  position: relative;
  min-width: 44px;
  min-height: 46px;
  padding: 8px 1px;
  border: 0;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--pf-muted);
  font: inherit;
  font-size: 18px;
  line-height: 1.3;
}
.pf-controls button:hover { color: var(--pf-ink); }
.pf-controls button[aria-pressed="true"] { border-bottom-color: var(--pf-ink); color: var(--pf-ink); }
.pf-controls button:focus-visible { outline: 2px solid var(--pf-ink); outline-offset: 4px; }
.pf-hint { margin-top: 15px; font-size: 16px; line-height: 1.45; text-align: center; color: #65686c; }
.pf-panel { min-height: 172px; }
.pf-panel h3 {
  margin: 0 0 15px;
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.pf-panel p { margin: 0; font-size: 21px; line-height: 1.5; }
.pf-note { margin: 23px 0 0; color: var(--pf-muted); font-size: 18px; line-height: 1.5; }
.pf-description .text-link { margin-top: 20px; font-size: 18px; }
.pf-transfer { max-width: 700px; }
.pf-transfer .pf-part-label { max-width: 90px; }
.pf-profile { max-width: 600px; height: 360px; }
.pf-profile .pf-action .pf-part-label { width: 140px; max-width: 140px; }
.pf-profile .pf-action .pf-node { width: 15px; height: 15px; background: var(--pf-ink); border-color: var(--pf-ink); }
.pf-context { max-width: 670px; height: 340px; }
.pf-context .pf-moving-dot { width: 17px; height: 17px; }
.pf-record { height: 340px; max-width: 700px; }
.pf-document-part { width: 60px; height: 78px; border-radius: 3px; }
.pf-document {
  position: relative;
  width: 54px;
  height: 70px;
  padding: 28px 11px 0;
  border: 1.3px solid #8e9499;
  border-radius: 3px;
  background: #fff;
  clip-path: polygon(0 0, 66% 0, 100% 27%, 100% 100%, 0 100%);
  pointer-events: none;
}
.pf-document::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 18px;
  height: 19px;
  border-left: 1.2px solid #8e9499;
  border-bottom: 1.2px solid #8e9499;
  border-bottom-left-radius: 2px;
  background: #fff;
}
.pf-document i { display: block; width: 100%; height: 1px; background: #b8bdc2; margin: 0 0 7px; }
.pf-document i:last-child { width: 70%; }
.pf-document-part[aria-pressed="true"] .pf-document { border-color: var(--pf-ink); }
.pf-document-part[aria-pressed="true"] .pf-document::before { border-color: var(--pf-ink); }
.pf-document-part[aria-pressed="true"] .pf-document i { background: #6f7479; }
.pf-hub { width: 110px; height: 110px; cursor: grab; }
.pf-hub:active { cursor: grabbing; }
.pf-hub-disc { display: block; width: 100%; height: 100%; border-radius: 50%; background: #202326; pointer-events: none; }
.pf-hub .pf-part-label { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 90px; color: #fff; font-size: 19px; }
.pf-decision {
  position: absolute;
  left: 85%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--pf-ink);
  border-radius: 50%;
  background: #fff;
  color: var(--pf-ink);
  font-size: 19px;
}
.pf-evidence .pf-label-left .pf-part-label { max-width: 110px; }
.pf-book-part { width: 86px; height: 88px; border-radius: 4px; }
.pf-book { display: flex; width: 82px; height: 68px; pointer-events: none; }
.pf-book i { width: 50%; height: 100%; border: 1.4px solid #868b90; background: #fff; }
.pf-book i:first-child { border-radius: 15% 45% 0 0; transform: skewY(8deg); border-right: 0; }
.pf-book i:last-child { border-radius: 45% 15% 0 0; transform: skewY(-8deg); }
.pf-book-part[aria-pressed="true"] .pf-book i { border-color: var(--pf-ink); }
.pf-classroom-part { height: 120px; }
.pf-classrooms { display: flex; flex-direction: column; gap: 25px; pointer-events: none; }
.pf-classrooms::before, .pf-classrooms i { display: block; content: ""; width: 13px; height: 13px; border: 1.2px solid #979da2; border-radius: 50%; background: #fff; }
.pf-classroom-part[aria-pressed="true"] .pf-classrooms::before, .pf-classroom-part[aria-pressed="true"] .pf-classrooms i { border-color: var(--pf-ink); background: var(--pf-ink); }
.pf-value-part .pf-node { width: 8px; height: 8px; }
.pf-value-part .pf-part-label { top: calc(100% + 1px); }
.pf-module-marker { width: 10px; height: 10px; }
.pf-perspectives { height: 360px; }
.pf-lens-field { position: relative; width: 100%; max-width: 520px; height: 100%; margin-inline: auto; }
.pf-lens { width: 206px; height: 206px; }
.pf-lens-outline { display: block; width: 100%; height: 100%; border: 1.25px solid var(--pf-line); border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
.pf-lens[aria-pressed="true"] .pf-lens-outline { border-color: var(--pf-ink); }
.pf-lens .pf-part-label { top: 35%; width: auto; max-width: none; }
.pf-lens-2 .pf-part-label { top: 63%; }
.pf-question { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); color: var(--pf-ink); font-size: 28px; pointer-events: none; }
@media (min-width: 901px) and (max-width: 1100px) {
  .pf-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; padding: 28px; }
  .pf-stage { height: 300px; }
  .pf-part { font-size: 16px; }
  .pf-controls { gap: 8px 19px; }
  .pf-controls:has(button:nth-child(4)) { display: grid; grid-template-columns: repeat(2, max-content); }
  .pf-controls button { font-size: 17px; }
  .pf-panel p { font-size: 20px; }
  .pf-lens { width: 178px; height: 178px; }
  .pf-decision { width: 92px; height: 92px; font-size: 17px; }
  .pf-evidence .pf-label-left .pf-part-label { right: auto; left: 50%; top: 100%; transform: translateX(-50%); text-align: center; }
}
@media (max-width: 900px) {
  .project-figure { padding-block: 35px 42px; }
  .project-figure > h2 { margin-bottom: 23px; font-size: 31px; line-height: 1.18; }
  .pf-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 24px; }
  .pf-stage { height: 250px; margin-bottom: 16px; max-width: 620px; }
  .pf-part { width: 44px; height: 44px; font-size: 16px; }
  .pf-part-label { top: calc(100% + 1px); max-width: 95px; }
  .pf-label { font-size: 16px; }
  .pf-node { width: 13px; height: 13px; }
  .pf-controls { gap: 6px 23px; margin-top: 14px; }
  .pf-controls button { font-size: 17px; }
  .pf-hint { margin-top: 12px; font-size: 15px; }
  .pf-panel { min-height: 126px; }
  .pf-panel h3 { font-size: 26px; margin-bottom: 12px; }
  .pf-panel p { font-size: 19px; }
  .pf-note { margin-top: 19px; font-size: 16px; }
  .pf-description .text-link { margin-top: 14px; font-size: 17px; }
  .pf-profile { height: 280px; max-width: 500px; }
  .pf-profile .pf-label-left .pf-part-label { right: calc(100% - 2px); }
  .pf-profile .pf-label-right .pf-part-label { left: calc(100% - 2px); }
  .pf-profile .pf-action .pf-part-label { width: 100px; max-width: 100px; }
  .pf-context { height: 250px; }
  .pf-record { height: 270px; }
  .pf-document-part { width: 49px; height: 64px; }
  .pf-document { width: 43px; height: 57px; padding: 23px 8px 0; }
  .pf-document::before { width: 14px; height: 15px; }
  .pf-document i { margin-bottom: 6px; }
  .pf-hub { width: 82px; height: 82px; }
  .pf-hub .pf-part-label { width: 72px; font-size: 16px; }
  .pf-evidence { height: 250px; }
  .pf-evidence .pf-label-left .pf-part-label { right: auto; left: 50%; top: 100%; transform: translateX(-50%); text-align: center; }
  .pf-decision { width: 80px; height: 80px; font-size: 16px; }
  .pf-transfer .pf-label-right .pf-part-label { left: 50%; top: 100%; transform: translateX(-50%); text-align: center; }
  .pf-exchange { height: 270px; }
  .pf-book-part { width: 66px; height: 72px; }
  .pf-book { width: 61px; height: 54px; }
  .pf-classroom-part { height: 90px; }
  .pf-classrooms { gap: 16px; }
  .pf-classrooms::before, .pf-classrooms i { width: 11px; height: 11px; }
  .pf-value-part .pf-part-label { top: calc(100% - 3px); }
  .pf-perspectives { height: 290px; }
  .pf-lens-field { max-width: 410px; }
  .pf-lens { width: 175px; height: 175px; }
  .pf-question { font-size: 24px; }
}
@media (max-width: 420px) {
  .project-figure > h2 { font-size: 29px; }
  .pf-layout { padding: 24px 18px; }
  .pf-stage { height: 230px; }
  .pf-controls { gap: 6px 12px; }
  .pf-controls:has(button:nth-child(4)) { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 28px; }
  .pf-part-label { font-size: 15px; max-width: 80px; }
  .pf-practice .pf-part-label { max-width: 65px; }
  .pf-profile { height: 250px; }
  .pf-profile .pf-label-left .pf-part-label { right: calc(100% - 9px); }
  .pf-profile .pf-label-right .pf-part-label { left: calc(100% - 9px); }
  .pf-record { height: 250px; }
  .pf-exchange { height: 255px; }
  .pf-exchange .pf-classroom-part .pf-part-label { left: 20%; }
  .pf-perspectives { height: 255px; }
  .pf-lens { width: 146px; height: 146px; }
  .pf-lens .pf-part-label { font-size: 15px; }
  .pf-decision { width: 68px; height: 68px; font-size: 15px; }
  .pf-evidence .pf-label-left .pf-part-label { max-width: 85px; font-size: 15px; }
}
@media print {
  .pf-layout { padding: 24px; background: #f5f5f4; }
}
@media (prefers-reduced-motion: reduce) {
  .project-figure *, .project-figure *::before, .project-figure *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
