:root {
  --panel: rgba(74, 83, 99, 0.94);
  --panel-soft: rgba(94, 103, 119, 0.82);
  --line: rgba(194, 205, 223, 0.2);
  --text: #f5f8ff;
  --muted: #b8c2d4;
  --blue: #1596db;
  --green: #38c76d;
  --red: #f55d5d;
  --amber: #f6b84b;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #6c7076;
}

button {
  font: inherit;
}

.training-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #8b8e8d;
}

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  background: rgba(72, 80, 95, 0.96);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 25px;
  font-weight: 700;
}

.menu-icon {
  width: 22px;
  height: 18px;
  position: relative;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon {
  border-top: 3px solid #e9eef7;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  width: 18px;
}

.menu-icon::before {
  top: 5px;
}

.menu-icon::after {
  top: 13px;
}

.topbar-meta,
.guide-switch {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
}

.guide-switch {
  gap: 10px;
}

.assistant-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 56%, #ffffff 0 9%, #8fd8e9 10% 23%, #4e6372 24% 58%, #f9fbff 59% 70%, transparent 71%);
}

.toggle {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #d9dde3;
  position: relative;
}

.toggle::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
}

.scene-stage {
  position: absolute;
  inset: 64px 0 0 0;
  overflow: hidden;
}

.scene-step-title {
  position: absolute;
  z-index: 7;
  left: 28px;
  top: 24px;
  display: flex;
  align-items: center;
  min-height: 86px;
  max-width: 620px;
  padding: 0 34px;
  border-radius: 20px;
  color: #edf6ff;
  background: rgba(36, 48, 68, 0.26);
  border: 1px solid rgba(203, 227, 248, 0.18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0.5px;
}

.scene-step-title::before,
.scene-step-title::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  height: 1px;
  border-radius: 999px;
}

.scene-step-title::before {
  bottom: 18px;
  background: linear-gradient(90deg, rgba(72, 207, 255, 0.92), rgba(117, 160, 255, 0.72), rgba(132, 240, 203, 0.22));
}

.scene-step-title::after {
  bottom: 16px;
  opacity: 0.45;
  filter: blur(6px);
  background: linear-gradient(90deg, rgba(72, 207, 255, 0.5), rgba(117, 160, 255, 0.38), rgba(132, 240, 203, 0.12));
}


.training-shell.is-home-cover .workflow-panel {
  display: none;
}

.scene {
  position: absolute;
  inset: 0;
  background: #9a9a98;
  transition: filter 0.3s ease;
}

.scene-image,
.scene-image-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.7s ease;
}

.scene-image {
  z-index: 2;
  width: calc(100% - 408px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #8f9291;
}

.scene-image.is-visible {
  opacity: 1;
}

.scene-image-shade {
  z-index: 3;
  width: calc(100% - 408px);
  background: linear-gradient(90deg, rgba(22, 26, 33, 0.2), transparent 46%, rgba(22, 26, 33, 0.08));
}

.scene-model-overlay,
.scene-model-layer,
.scene-model-defects,
.wearing-overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% - 408px);
}

.scene-model-overlay[hidden],
.scene-model-layer[hidden],
.scene-model-defects[hidden],
.wearing-overlay[hidden] {
  display: none;
}

.scene-model-overlay {
  z-index: 4;
  background:
    radial-gradient(circle at 50% 46%, rgba(8, 15, 24, 0.08), rgba(6, 10, 16, 0.18) 72%),
    linear-gradient(0deg, rgba(11, 16, 24, var(--overlay-opacity, 0.34)), rgba(11, 16, 24, var(--overlay-opacity, 0.34)));
  pointer-events: none;
}

.scene-model-layer {
  z-index: 5;
  pointer-events: auto;
  filter: drop-shadow(0 18px 36px rgba(8, 14, 22, 0.28));
}

.scene-model-layer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-model-defects {
  z-index: 6;
  pointer-events: none;
}

.wearing-overlay {
  z-index: 6;
  pointer-events: auto;
}

.scene-model-defects.is-interactive {
  pointer-events: auto;
}

.wearing-scene {
  position: absolute;
  inset: 0;
  padding: 112px 34px 36px;
  background:
    radial-gradient(circle at 50% 10%, rgba(88, 171, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(18, 28, 42, 0.12), rgba(10, 16, 25, 0.28));
}

.wearing-figure {
  position: relative;
  width: 430px;
  height: 540px;
  margin: 0 auto;
}

.wearing-body {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 240px;
  height: 470px;
  transform: translateX(-50%);
}

.wearing-head,
.wearing-torso,
.wearing-arm,
.wearing-leg {
  position: absolute;
  display: block;
  background: linear-gradient(180deg, rgba(182, 206, 227, 0.95), rgba(117, 141, 164, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.wearing-head {
  left: 50%;
  top: 0;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.wearing-torso {
  left: 50%;
  top: 82px;
  width: 138px;
  height: 210px;
  border-radius: 68px 68px 36px 36px;
  transform: translateX(-50%);
}

.wearing-arm {
  top: 110px;
  width: 44px;
  height: 178px;
  border-radius: 999px;
}

.wearing-arm.is-left {
  left: 18px;
  transform: rotate(12deg);
}

.wearing-arm.is-right {
  right: 18px;
  transform: rotate(-12deg);
}

.wearing-leg {
  top: 280px;
  width: 54px;
  height: 180px;
  border-radius: 999px;
}

.wearing-leg.is-left {
  left: 78px;
}

.wearing-leg.is-right {
  right: 78px;
}

.wearing-harness-line {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, #f1c84d, #c18f18);
  box-shadow: 0 6px 16px rgba(55, 41, 8, 0.22);
}

.wearing-harness-line.is-shoulder {
  left: 78px;
  top: 84px;
  width: 84px;
  height: 12px;
  transform: rotate(58deg);
  transform-origin: left center;
}

.wearing-harness-line.is-waist {
  left: 52px;
  top: 246px;
  width: 136px;
  height: 14px;
}

.wearing-harness-line.is-chest {
  left: 66px;
  top: 168px;
  width: 108px;
  height: 12px;
}

.wearing-harness-line.is-leg {
  left: 62px;
  top: 304px;
  width: 118px;
  height: 12px;
  transform: rotate(-8deg);
}

.wearing-hotspot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.wearing-hotspot-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 6px rgba(123, 201, 255, 0.16);
}

.wearing-hotspot-label {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #eef6ff;
  background: rgba(36, 48, 68, 0.64);
  border: 1px solid rgba(203, 227, 248, 0.16);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.wearing-hotspot.is-danger .wearing-hotspot-dot {
  background: #ff6b6b;
}

.wearing-hotspot.is-warn .wearing-hotspot-dot {
  background: #ffc15b;
}

.wearing-hotspot.is-note .wearing-hotspot-dot {
  background: #6fb6ff;
}

.wearing-hotspot.is-viewed .wearing-hotspot-label {
  border-color: rgba(123, 201, 255, 0.34);
  background: rgba(20, 49, 76, 0.66);
}

.wearing-scene-note,
.wearing-order-card,
.wearing-parts-panel {
  border: 1px solid rgba(203, 227, 248, 0.16);
  background: rgba(39, 52, 72, 0.72);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.wearing-scene-note {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 390px;
  padding: 14px 16px;
  border-radius: 18px;
}

.wearing-scene-note b,
.wearing-order-card b,
.wearing-parts-head strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.wearing-scene-note span,
.wearing-order-card span,
.wearing-order-card i,
.wearing-parts-head span {
  color: #d6e1f1;
  line-height: 1.7;
}

.wearing-order-card {
  width: min(520px, 100%);
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: 18px;
}

.wearing-order-card i {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: #f7d893;
  font-weight: 700;
}

.wearing-practice-layout {
  display: grid;
  grid-template-columns: minmax(360px, 420px) minmax(260px, 320px);
  gap: 26px;
  justify-content: center;
  align-items: start;
}

.wearing-figure.is-practice {
  width: 420px;
  height: 520px;
}

.wearing-slot {
  position: absolute;
  left: 50%;
  width: 168px;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px dashed rgba(203, 227, 248, 0.26);
  background: rgba(41, 56, 77, 0.54);
  transform: translateX(-50%);
  text-align: center;
}

.wearing-slot[data-slot-id="shoulder"] {
  top: 112px;
}

.wearing-slot[data-slot-id="waist"] {
  top: 246px;
}

.wearing-slot[data-slot-id="chest"] {
  top: 178px;
}

.wearing-slot[data-slot-id="leg"] {
  top: 340px;
}

.wearing-slot.is-filled {
  border-style: solid;
  border-color: rgba(111, 182, 255, 0.42);
  background: rgba(44, 70, 97, 0.74);
}

.wearing-slot-title {
  display: block;
  color: #b8c9dd;
  font-size: 13px;
  font-weight: 700;
}

.wearing-slot-value {
  display: block;
  margin-top: 4px;
  color: #eef6ff;
  font-weight: 800;
}

.wearing-parts-panel {
  padding: 16px;
  border-radius: 18px;
}

.wearing-parts-head {
  margin-bottom: 14px;
}

.wearing-parts-list {
  display: grid;
  gap: 12px;
}

.wearing-part {
  min-height: 46px;
  border: 1px solid rgba(203, 227, 248, 0.16);
  border-radius: 14px;
  background: rgba(53, 66, 88, 0.68);
  color: #eef6ff;
  font-weight: 800;
  cursor: grab;
}

.wearing-part:active {
  cursor: grabbing;
}

.wearing-part.is-attached,
.wearing-part:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.scene-model-defect {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
}

.scene-model-checkpoint {
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}

.scene-model-checkpoint.is-done .scene-model-defect-dot {
  box-shadow: 0 0 0 5px rgba(87, 204, 125, 0.18);
  background: #57cc7d;
}

.scene-model-checkpoint.is-done .scene-model-defect-label {
  border-color: rgba(111, 217, 154, 0.34);
  background: rgba(26, 53, 41, 0.56);
}

.scene-model-locate.is-viewed .scene-model-defect-dot {
  box-shadow: 0 0 0 5px rgba(123, 201, 255, 0.16);
  background: #7bc9ff;
}

.scene-model-locate.is-viewed .scene-model-defect-label {
  border-color: rgba(123, 201, 255, 0.32);
  background: rgba(20, 49, 76, 0.62);
}

.scene-model-defect-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.scene-model-defect-label {
  padding: 5px 10px;
  border-radius: 999px;
  color: #f4f8ff;
  background: rgba(28, 39, 55, 0.54);
  border: 1px solid rgba(201, 225, 248, 0.2);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.scene-model-defect.is-warn {
  color: #f0bb62;
}

.scene-model-defect.is-danger {
  color: #eb8e8e;
}

.scene-model-defect.is-note {
  color: #7bc9ff;
}

.training-shell.is-home-cover .scene-image,
.training-shell.is-home-cover .scene-image-shade,
.training-shell.is-home-cover .scene-model-overlay,
.training-shell.is-home-cover .scene-model-layer,
.training-shell.is-home-cover .scene-model-defects {
  width: 100%;
}

.inspection-hotspots,
.inspection-modal {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 6;
  width: calc(100% - 408px);
  pointer-events: none;
}

.inspection-hotspots[hidden],
.inspection-modal[hidden] {
  display: none;
}

.scene-image.is-visible + .scene-image-shade {
  opacity: 1;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(167deg, rgba(255, 255, 255, 0.08), transparent 35%),
    #9d9d9a;
}

.ground {
  position: absolute;
  left: -80px;
  right: 490px;
  bottom: -95px;
  height: 47%;
  transform: skewX(-14deg);
  background:
    radial-gradient(circle at 20% 62%, rgba(52, 109, 54, 0.36) 0 18%, transparent 19%),
    radial-gradient(circle at 74% 36%, rgba(69, 136, 65, 0.4) 0 16%, transparent 17%),
    linear-gradient(15deg, #9fa766, #6d9258 45%, #98a461);
}

.road {
  position: absolute;
  left: 600px;
  bottom: -70px;
  width: 410px;
  height: 360px;
  transform: rotate(-48deg) skewX(3deg);
  background:
    linear-gradient(90deg, transparent 0 45%, #f7e328 46% 48%, #f7e328 50% 52%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 255, 255, 0.86) 43px 57px, transparent 58px 112px),
    #777e83;
  border-left: 2px solid rgba(255, 255, 255, 0.9);
  border-right: 2px solid rgba(255, 255, 255, 0.8);
}

.pole {
  position: absolute;
  width: 26px;
  height: 600px;
  bottom: 145px;
  border-radius: 18px;
  background: linear-gradient(90deg, #c5cdd3, #eef2f4 45%, #9ca6ad);
  box-shadow: -8px 18px 22px rgba(0, 0, 0, 0.16);
}

.pole-main {
  left: 55%;
  bottom: 60px;
  height: 780px;
}

.pole-left {
  left: 35%;
  bottom: 180px;
  height: 600px;
  transform: scale(0.72);
  opacity: 0.82;
}

.crossarm {
  position: absolute;
  left: -160px;
  width: 340px;
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(#e6ebef, #9fa9b0);
  transform: rotate(-6deg);
}

.crossarm-top {
  top: 45px;
}

.crossarm-mid {
  top: 140px;
  width: 270px;
  left: -120px;
}

.wire {
  position: absolute;
  left: -390px;
  width: 790px;
  height: 1px;
  background: rgba(82, 90, 99, 0.55);
  transform: rotate(-6deg);
}

.wire-a {
  top: 37px;
}

.wire-b {
  top: 130px;
}

.insulator {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b9d6;
  box-shadow: 32px 0 0 #10b9d6;
}

.i1 {
  top: 31px;
  left: -120px;
}

.i2 {
  top: 124px;
  left: 65px;
}

.worker {
  position: absolute;
  left: -22px;
  top: 330px;
  width: 72px;
  height: 124px;
  transform: rotate(-8deg);
}

.head,
.torso,
.arm,
.leg,
.belt,
.lanyard {
  position: absolute;
  display: block;
}

.head {
  top: 0;
  left: 28px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #272018;
}

.torso {
  left: 23px;
  top: 18px;
  width: 23px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(90deg, #12315b, #254d82);
}

.arm {
  top: 25px;
  width: 11px;
  height: 52px;
  border-radius: 8px;
  background: #173864;
}

.arm-left {
  left: 13px;
  transform: rotate(35deg);
}

.arm-right {
  left: 45px;
  transform: rotate(-42deg);
}

.leg {
  top: 67px;
  width: 12px;
  height: 58px;
  border-radius: 8px;
  background: #19283e;
}

.leg-left {
  left: 22px;
  transform: rotate(10deg);
}

.leg-right {
  left: 40px;
  transform: rotate(-18deg);
}

.belt {
  left: 19px;
  top: 36px;
  width: 34px;
  height: 42px;
  border: 4px solid #ffd93f;
  border-top: 0;
  transform: rotate(8deg);
  opacity: 0.82;
}

.lanyard {
  left: 52px;
  top: 45px;
  width: 74px;
  height: 2px;
  background: #f7f3dc;
  transform: rotate(27deg);
  transform-origin: left center;
}

.risk-tag {
  position: absolute;
  padding: 8px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(219, 65, 65, 0.9);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.tag-helmet {
  top: 302px;
  left: 36px;
}

.tag-belt {
  top: 378px;
  left: 54px;
}

.tag-rope {
  top: 442px;
  left: 60px;
}

.tree {
  position: absolute;
  bottom: 110px;
  width: 150px;
  height: 185px;
  border-radius: 50% 50% 46% 54%;
  background:
    radial-gradient(circle at 33% 25%, #4f936e 0 17%, transparent 18%),
    radial-gradient(circle at 64% 31%, #3f7c62 0 22%, transparent 23%),
    radial-gradient(circle at 47% 55%, #568c67 0 31%, transparent 32%),
    #356f56;
  box-shadow: inset 0 -24px 34px rgba(35, 74, 43, 0.36);
}

.tree::after {
  content: "";
  position: absolute;
  left: 68px;
  bottom: -70px;
  width: 17px;
  height: 90px;
  border-radius: 8px;
  background: #7c6553;
}

.t1 {
  left: 13%;
  bottom: 190px;
  transform: scale(1.2);
}

.t2 {
  left: 68%;
  bottom: 250px;
  transform: scale(0.85);
}

.t3 {
  left: 6%;
  bottom: -20px;
  transform: scale(1.55);
}

.equipment-table {
  position: absolute;
  left: 32%;
  top: 31%;
  width: 500px;
  height: 330px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.scene-inspection .equipment-table {
  opacity: 1;
}

.scene-inspection .pole-main,
.scene-inspection .pole-left,
.scene-inspection .road,
.scene-inspection .risk-tag {
  opacity: 0.14;
}

.scene-wearing {
  background:
    linear-gradient(180deg, rgba(44, 56, 72, 0.88), rgba(27, 35, 47, 0.98)),
    radial-gradient(circle at 50% 14%, rgba(93, 173, 255, 0.22), transparent 28%);
}

.scene-wearing .sky,
.scene-wearing .ground,
.scene-wearing .road,
.scene-wearing .pole,
.scene-wearing .worker,
.scene-wearing .risk-tag,
.scene-wearing .equipment-table,
.scene-wearing .tree {
  opacity: 0;
  pointer-events: none;
}

.table-top {
  position: absolute;
  inset: 95px 0 0 0;
  height: 210px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(234, 237, 232, 0.94), rgba(155, 164, 165, 0.94));
  transform: perspective(500px) rotateX(55deg) rotateZ(-7deg);
  box-shadow: 0 28px 42px rgba(0, 0, 0, 0.22);
}

.harness {
  position: absolute;
  left: 94px;
  top: 76px;
  width: 315px;
  height: 210px;
  transform: rotate(-7deg);
}

.strap {
  position: absolute;
  border-radius: 999px;
  background: #1e2838;
  box-shadow: inset 0 0 0 5px #f4cd35;
}

.strap-a {
  left: 90px;
  top: 25px;
  width: 150px;
  height: 150px;
  border: 18px solid #1e2838;
  background: transparent;
}

.strap-b {
  left: 36px;
  top: 86px;
  width: 120px;
  height: 22px;
  transform: rotate(28deg);
}

.strap-c {
  left: 164px;
  top: 90px;
  width: 125px;
  height: 22px;
  transform: rotate(-25deg);
}

.defect {
  position: absolute;
  min-width: 72px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(245, 93, 93, 0.92);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.defect-webbing {
  left: 32px;
  top: 70px;
}

.defect-tag {
  right: 6px;
  top: 45px;
}

.defect-ring {
  left: 130px;
  bottom: 8px;
}

.scene-caption {
  position: absolute;
  z-index: 6;
  left: 28px;
  bottom: 28px;
  max-width: 420px;
  padding: 14px 18px;
  border: 1px solid rgba(230, 236, 249, 0.16);
  border-radius: 18px 18px 18px 6px;
  background: rgba(55, 63, 78, 0.74);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  color: #eef4ff;
  font-size: 15px;
  line-height: 1.7;
}

.inspection-hotspot {
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}

.inspection-hotspot::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(114, 196, 255, 0.72);
  border-radius: 16px;
  background: rgba(49, 85, 126, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.inspection-hotspot:hover::before,
.inspection-hotspot:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.inspection-hotspot span {
  position: absolute;
  bottom: -34px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #eef6ff;
  background: rgba(36, 48, 68, 0.56);
  border: 1px solid rgba(203, 227, 248, 0.16);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.inspection-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: rgba(9, 14, 22, 0.18);
  pointer-events: auto;
}

.inspection-modal-card {
  width: min(420px, 92%);
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: rgba(41, 53, 74, 0.82);
  border: 1px solid rgba(203, 227, 248, 0.18);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.inspection-modal-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  color: #c5d2e6;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.inspection-modal-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #d9efff;
  background: rgba(79, 147, 204, 0.22);
  font-size: 12px;
  font-weight: 800;
}

.inspection-modal-card h3 {
  margin: 16px 0 10px;
  font-size: 28px;
}

.inspection-modal-card p {
  margin: 0;
  color: #d6e1f1;
  line-height: 1.7;
}

.inspection-modal-observation {
  margin-top: 10px !important;
  color: #f7d893 !important;
  font-weight: 700;
}

.inspection-modal-preview {
  position: relative;
  margin-top: 18px;
  height: 188px;
  border-radius: 16px;
  border: 1px solid rgba(203, 227, 248, 0.16);
  background-color: rgba(16, 23, 34, 0.42);
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.inspection-modal-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(21, 150, 219, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.02), rgba(8, 13, 20, 0.24));
  pointer-events: none;
}

.inspection-modal-preview::after {
  content: "部件局部放大图";
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #e8f3ff;
  background: rgba(20, 30, 44, 0.68);
  border: 1px solid rgba(203, 227, 248, 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.inspection-modal-issues {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #e7eef8;
  line-height: 1.75;
}

.inspection-modal-issues li + li {
  margin-top: 4px;
}

.interactive-check-card {
  width: min(460px, 92%);
}

.interactive-check-observation {
  margin-top: 10px !important;
  color: #f7d893 !important;
  font-weight: 700;
}

.interactive-check-preview {
  position: relative;
  margin-top: 16px;
  height: 168px;
  border-radius: 16px;
  border: 1px solid rgba(203, 227, 248, 0.16);
  background-color: rgba(16, 23, 34, 0.42);
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.interactive-check-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(21, 150, 219, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.02), rgba(8, 13, 20, 0.24));
  pointer-events: none;
}

.interactive-check-preview::after {
  content: "检查点局部图";
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #e8f3ff;
  background: rgba(20, 30, 44, 0.68);
  border: 1px solid rgba(203, 227, 248, 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.interactive-check-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.interactive-check-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(203, 227, 248, 0.16);
  background: rgba(53, 66, 88, 0.5);
  color: #e7eef8;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.interactive-check-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.interactive-check-option.selected {
  border-color: rgba(111, 182, 255, 0.42);
  background: rgba(59, 89, 122, 0.56);
}

.interactive-check-submit {
  width: 100%;
  margin-top: 18px;
}

.training-shell.is-home-cover .scene-caption {
  display: none;
}

.case-cover {
  position: absolute;
  inset: 0 408px 0 0;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.92fr);
  gap: 40px;
  align-items: center;
  padding: 8vh 7vw;
  background:
    linear-gradient(90deg, rgba(30, 38, 50, 0.9), rgba(38, 48, 61, 0.62) 48%, rgba(38, 48, 61, 0.22)),
    radial-gradient(circle at 78% 28%, rgba(21, 150, 219, 0.32), transparent 31%),
    #59636a;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.training-shell.is-home-cover .case-cover {
  inset: 0;
}

.case-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-content {
  width: min(720px, 100%);
}

.cover-tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  color: #d7f0ff;
  background: rgba(21, 150, 219, 0.26);
  font-size: 14px;
  font-weight: 800;
}

.cover-content h1 {
  margin: 22px 0 16px;
  font-size: 46px;
  line-height: 1.16;
  letter-spacing: 0;
}

.cover-content p {
  min-height: 136px;
  margin: 0;
  color: #e6edf8;
  font-size: 22px;
  line-height: 1.75;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cover-btn {
  width: 160px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(180deg, rgba(88, 114, 145, 0.96), rgba(63, 84, 110, 0.96));
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.cover-btn.is-secondary {
  background: rgba(74, 90, 113, 0.58);
  border: 1px solid rgba(190, 208, 229, 0.24);
  box-shadow: none;
}

.cover-media {
  display: flex;
  justify-content: flex-end;
}

.cover-image {
  width: 100%;
  max-width: 420px;
  max-height: 55vh;
  border-radius: 24px;
  border: 1px solid rgba(216, 231, 246, 0.2);
  box-shadow: 0 28px 44px rgba(0, 0, 0, 0.24);
  object-fit: cover;
}

.interactive-check-panel {
  display: grid;
  gap: 14px;
}

.interactive-check-summary,
.interactive-check-progress {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(203, 227, 248, 0.14);
  background: rgba(62, 76, 98, 0.42);
}

.interactive-check-summary b,
.interactive-check-progress strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.interactive-check-summary span,
.interactive-check-progress span {
  color: #d6e0ef;
  line-height: 1.7;
}

.interactive-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interactive-check-step-list {
  display: grid;
  gap: 12px;
  position: relative;
  margin-left: 22px;
  padding-left: 16px;
}

.interactive-check-step-shell {
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(178, 197, 226, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(112, 128, 153, 0.18), rgba(68, 78, 96, 0.22)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 10px 28px rgba(19, 29, 44, 0.12);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.interactive-check-step-group {
  position: relative;
  display: grid;
  gap: 16px;
}

.interactive-check-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 58px;
  padding: 8px 12px;
  border-radius: 12px;
}

.interactive-check-step-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
}

.interactive-check-step-head b {
  color: #f7fbff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.interactive-check-step-head span {
  display: none;
  color: #d6e0ef;
  font-size: 13px;
  font-weight: 700;
}

.interactive-check-step.is-done {
  opacity: 1;
}

.interactive-check-step.is-current {
  background: rgba(48, 71, 102, 0.36);
  border: 1px solid rgba(115, 183, 255, 0.2);
}

.interactive-check-step::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(174, 203, 240, 0.82);
  background: rgba(55, 73, 96, 0.62);
  transform: translateY(-50%);
}

.interactive-check-step.is-current::before {
  border-color: rgba(116, 179, 255, 0.9);
  background: rgba(73, 137, 255, 0.96);
  box-shadow: 0 0 0 4px rgba(92, 152, 255, 0.16);
}

.interactive-check-step.is-done::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(124, 225, 164, 0.7);
  background: rgba(58, 151, 97, 0.92);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.interactive-check-result {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(203, 227, 248, 0.14);
  background: rgba(62, 76, 98, 0.42);
}

.interactive-check-result.is-disabled {
  opacity: 0.72;
}

.interactive-check-result strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.interactive-check-result span {
  display: block;
  color: #d6e0ef;
  line-height: 1.7;
}

.interactive-check-decision-list {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.interactive-check-decision {
  flex: 1 1 0;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(203, 227, 248, 0.16);
  background: rgba(53, 66, 88, 0.5);
  color: #e7eef8;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.interactive-check-decision.selected {
  border-color: rgba(111, 182, 255, 0.42);
  background: rgba(59, 89, 122, 0.56);
}

.interactive-check-decision:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.interactive-check-chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(203, 227, 248, 0.14);
  background: rgba(67, 79, 99, 0.42);
  color: #e9f1fc;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.interactive-check-chip.is-done {
  border-color: rgba(104, 209, 145, 0.28);
  background: rgba(36, 75, 54, 0.56);
}

.assessment-card {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 24px 18px;
}

.checkpoint-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: #d9e4f4;
  font-size: 14px;
  font-weight: 800;
}

.node-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 6px;
  color: #f1f7ff;
  background: rgba(21, 150, 219, 0.18);
  border: 1px solid rgba(79, 190, 255, 0.22);
}

.assessment-card.is-quiz .node-summary,
.assessment-card.is-quiz .data-grid {
  display: none;
}

.node-summary b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.node-summary span {
  color: #b9c7d9;
  font-size: 13px;
}

.node-summary i {
  min-width: 56px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #d7f0ff;
  background: rgba(31, 173, 236, 0.25);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.data-card {
  min-height: 62px;
  padding: 10px 8px;
  border-radius: 6px;
  background: rgba(24, 31, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.assessment-card.is-info .data-grid {
  gap: 6px;
  margin-bottom: 12px;
}

.assessment-card.is-info .data-card {
  min-height: 54px;
  padding: 8px;
}

.data-card b {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.data-card span {
  display: block;
  margin-top: 8px;
  color: #afbbcc;
  font-size: 12px;
}

.card-kicker {
  color: #77c9ff;
  font-size: 14px;
  font-weight: 800;
}

.stage-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 0;
  padding: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.assessment-card.is-info .stage-pills,
.assessment-card.is-info #answerArea,
.assessment-card.is-info #feedback,
.assessment-card.is-info #nextBtn {
  display: none;
}

.assessment-card.is-quiz .stage-pills {
  display: grid;
}

.stage-pill {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 9px 6px 8px;
  border-radius: 4px;
  border: 1px solid rgba(230, 238, 248, 0.12);
  color: #afbbcc;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
}

.stage-pill::before {
  display: none;
}

.stage-pill i,
.stage-pill b,
.stage-pill em {
  font-style: normal;
  line-height: 1.2;
}

.stage-pill i {
  min-width: 34px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #d5deec;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.stage-pill b {
  color: #dce4ef;
  font-size: 12px;
  font-weight: 700;
}

.stage-pill em {
  color: #b5bfce;
  font-size: 12px;
  font-weight: 400;
}

.stage-pill.active {
  color: #eff8ff;
  border-color: rgba(91, 145, 255, 0.68);
  background: rgba(65, 104, 160, 0.5);
}

.stage-pill.done {
  color: #eaffef;
  border-color: rgba(104, 209, 145, 0.36);
  background: rgba(49, 93, 69, 0.38);
}

.stage-pill.active i {
  color: #ffffff;
  background: #2f7df6;
}

.stage-pill.done i {
  color: #ffffff;
  background: #38c76d;
}

.stage-pill.active b,
.stage-pill.active em,
.stage-pill.done b,
.stage-pill.done em {
  color: #ffffff;
}

.question-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(228, 235, 246, 0.18);
}

/* Final override: scene 2 practical checkpoint modal only shows checklist items. */
.interactive-check-card {
  width: min(520px, 92%);
  display: block;
  grid-template-columns: none;
  padding: 22px;
}

.interactive-check-card .interactive-check-preview {
  display: none;
}

.interactive-check-card .inspection-modal-tag,
.interactive-check-card h3,
.interactive-check-card p,
.interactive-check-card .interactive-check-options,
.interactive-check-card .feedback,
.interactive-check-card .interactive-check-submit {
  grid-column: auto;
}

.interactive-check-card .interactive-check-submit {
  width: 100%;
}

/* Final override: scene 2 practical checkpoint modal only shows checklist items. */
.interactive-check-card {
  width: min(520px, 92%);
  display: block;
  grid-template-columns: none;
  padding: 22px;
}

.interactive-check-card .interactive-check-preview {
  display: none;
}

.interactive-check-card .inspection-modal-tag,
.interactive-check-card h3,
.interactive-check-card p,
.interactive-check-card .interactive-check-options,
.interactive-check-card .feedback,
.interactive-check-card .interactive-check-submit {
  grid-column: auto;
}

.interactive-check-card .interactive-check-submit {
  width: 100%;
}

.workflow-panel .assessment-card h1 {
  display: block;
}

.workflow-panel .question-title-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin: 0 10px 4px 0;
  border-radius: 999px;
  color: #eaf4ff;
  background: linear-gradient(180deg, rgba(95, 144, 214, 0.34), rgba(55, 92, 152, 0.28));
  border: 1px solid rgba(147, 195, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 6px 16px rgba(28, 56, 96, 0.14);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.workflow-panel .question-title-text {
  display: inline;
  vertical-align: middle;
}

.workflow-panel .stage-pills {
  display: block;
  padding: 4px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.workflow-panel .assessment-card.is-quiz .stage-pills {
  display: block;
  grid-template-columns: none;
  gap: 0;
}

.workflow-panel .stage-flow-shell {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: stretch;
  min-height: 98px;
  padding: 12px 16px;
  border-radius: 22px;
  border: 1px solid rgba(207, 222, 246, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(112, 128, 153, 0.2), rgba(68, 78, 96, 0.24)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 10px 28px rgba(19, 29, 44, 0.12);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.workflow-panel .question-block {
  margin-top: 12px;
  padding-top: 14px;
}

.workflow-panel .stage-flow-title {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding-right: 16px;
  border-right: 1px solid rgba(171, 191, 225, 0.22);
  text-align: center;
}

.workflow-panel .stage-flow-title b {
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.workflow-panel .stage-flow-title span {
  color: rgba(242, 247, 255, 0.88);
  font-size: 16px;
  line-height: 1.28;
  font-weight: 700;
}

.workflow-panel .checkpoint-meta {
  justify-content: flex-start;
  margin-bottom: 10px;
}

.workflow-panel #cardKicker[hidden] {
  display: none !important;
}

.workflow-panel .stage-flow-content {
  display: grid;
  align-content: center;
  padding-left: 18px;
}

.workflow-panel .stage-simple {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.workflow-panel .stage-simple-item {
  display: grid;
  gap: 8px;
}

.workflow-panel .stage-simple-bar {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(180, 192, 208, 0.36);
}

.workflow-panel .stage-simple-item.active .stage-simple-bar {
  background: #3f82f4;
}

.workflow-panel .stage-simple-item.done .stage-simple-bar {
  background: #65d680;
}

.workflow-panel .stage-simple-label {
  display: block;
  text-align: center;
  white-space: nowrap;
  color: rgba(240, 246, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.workflow-panel .stage-simple-item.active .stage-simple-label {
  color: #ffffff;
}

.workflow-panel .answer-area:not(.interactive-check-panel) {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(226, 237, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 30px rgba(14, 24, 38, 0.22);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.workflow-panel .answer-area:not(.interactive-check-panel) .answer-option {
  border-radius: 12px;
  border: 1px solid rgba(164, 195, 242, 0.46);
  background: rgba(88, 101, 124, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.workflow-panel .answer-area:not(.interactive-check-panel) .answer-option:hover,
.workflow-panel .answer-area:not(.interactive-check-panel) .answer-option.selected {
  border-color: rgba(202, 224, 255, 0.78);
  background: rgba(98, 119, 154, 0.56);
}

.workflow-panel .assessment-card .primary-btn {
  width: min(236px, 100%);
  height: 58px;
  margin: 22px auto 0;
  border: 1px solid rgba(141, 190, 255, 0.42);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(180deg, #70a7ff, #3b7df0);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 10px 28px rgba(58, 126, 240, 0.34), 0 0 24px rgba(85, 156, 255, 0.26);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.workflow-panel .assessment-card .primary-btn:disabled {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(98, 132, 185, 0.28);
  background: linear-gradient(180deg, rgba(97, 129, 180, 0.82), rgba(71, 98, 142, 0.82));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 8px 20px rgba(41, 66, 102, 0.18);
}

/* Reference-style right property panel */
.workflow-panel {
  background:
    radial-gradient(circle at 46% 16%, rgba(133, 155, 185, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(57, 66, 82, 0.94), rgba(43, 51, 64, 0.94));
  border-color: rgba(211, 224, 245, 0.18);
  box-shadow: -14px 0 42px rgba(18, 26, 38, 0.24), inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

.panel-head {
  min-height: 56px;
  border-bottom: 1px solid rgba(224, 233, 247, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.panel-head strong {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.assessment-card {
  padding: 20px 16px 22px;
}

#cardKicker {
  color: rgba(238, 244, 255, 0.88);
  font-size: 16px;
}

.stage-pills {
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(174, 197, 232, 0.5);
  background:
    linear-gradient(180deg, rgba(118, 136, 162, 0.22), rgba(55, 65, 82, 0.22)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 28px rgba(17, 28, 43, 0.22);
}

.stage-pills::before,
.stage-pills::after {
  display: none;
}

.stage-flow-title {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding-right: 16px;
  border-right: 1px solid rgba(154, 178, 217, 0.28);
}

.stage-flow-title b {
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.stage-flow-title span {
  color: rgba(239, 245, 255, 0.9);
  font-size: 16px;
}

.stage-flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  min-height: 88px;
  padding: 0 10px;
}

.stage-flow-track::before,
.stage-flow-track::after {
  content: "";
  position: absolute;
  left: 16.666%;
  top: 22px;
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
}

.stage-flow-track::before {
  right: 16.666%;
  background: rgba(213, 224, 240, 0.28);
}

.stage-flow-track::after {
  width: 0;
  background: linear-gradient(90deg, #63d680, #3e82f5);
  box-shadow: 0 0 14px rgba(81, 147, 255, 0.34);
}

.stage-flow-track:has(.stage-pill:nth-child(2).active)::after {
  width: 33.333%;
}

.stage-flow-track:has(.stage-pill:nth-child(3).active)::after,
.stage-flow-track:has(.stage-pill:nth-child(3).done)::after {
  width: 66.666%;
}

.stage-pill {
  min-height: 88px;
  grid-template-rows: 46px auto;
  padding: 0 2px;
}

.stage-pill i {
  width: 22px;
  min-width: 22px;
  height: 22px;
  margin-top: 11px;
  color: transparent;
  border: 3px solid rgba(178, 190, 208, 0.62);
  background: rgba(79, 88, 104, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 69, 85, 0.94);
  font-size: 0;
}

.stage-pill i::before {
  content: "";
}

.stage-pill.done i {
  width: 58px;
  min-width: 58px;
  color: #65d680;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: 800;
}

.stage-pill.done i::before {
  content: "\2713";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  border-radius: 50%;
  color: #243846;
  background: #65d680;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.stage-pill.active i {
  width: 72px;
  min-width: 72px;
  height: 34px;
  margin-top: 6px;
  border-radius: 999px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, #5790ff, #2f72e9);
  box-shadow: 0 0 0 3px rgba(66, 121, 237, 0.16), 0 10px 18px rgba(22, 44, 88, 0.24);
  font-size: 16px;
}

.stage-pill b {
  display: none;
}

.stage-pill.active b,
.stage-pill.active em {
  color: #ffffff;
  font-weight: 700;
}

.stage-pill.done em {
  color: #6ddc88;
}

.stage-pill em {
  color: rgba(238, 244, 255, 0.58);
  display: block;
  font-size: 16px;
  line-height: 1.25;
  margin-top: 4px;
}

.question-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 0;
}

.assessment-card h1 {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
}

.assessment-card p {
  color: rgba(235, 241, 252, 0.86);
}

.answer-area:not(.interactive-check-panel) {
  gap: 12px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(226, 237, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 30px rgba(14, 24, 38, 0.22);
}

.answer-option {
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(164, 195, 242, 0.82);
  background: rgba(88, 101, 124, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.answer-option:hover,
.answer-option.selected {
  border-color: rgba(202, 224, 255, 0.96);
  background: rgba(98, 119, 154, 0.58);
}

.answer-option input {
  accent-color: #3f82f4;
}

.primary-btn {
  width: min(210px, 86%);
  height: 52px;
  margin: 22px auto 0;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, #5d9aff, #2f7df6);
  box-shadow: 0 10px 24px rgba(47, 125, 246, 0.28), inset 0 -2px 0 rgba(35, 83, 183, 0.35);
  font-size: 16px;
}

.primary-btn:disabled {
  background: rgba(104, 114, 129, 0.34);
  border-radius: 999px;
  box-shadow: none;
}

/* Scene 2 practical checkpoint modal: checklist only */
.interactive-check-card {
  width: min(520px, 92%);
  display: block;
  max-height: calc(100vh - 118px);
  padding: 22px;
}

.interactive-check-card .interactive-check-preview {
  display: none;
}

.interactive-check-card .inspection-modal-tag,
.interactive-check-card h3,
.interactive-check-card p,
.interactive-check-card .interactive-check-options,
.interactive-check-card .feedback,
.interactive-check-card .interactive-check-submit {
  grid-column: auto;
}

.interactive-check-card .inspection-modal-tag {
  display: inline-flex;
  margin-bottom: 12px;
}

.interactive-check-card h3 {
  margin: 0 0 8px;
}

.interactive-check-card .interactive-check-options {
  margin-top: 16px;
}

.interactive-check-card .interactive-check-option {
  min-height: 48px;
}

.interactive-check-card .interactive-check-submit {
  width: 100%;
  margin-top: 16px;
}

/* Final override: practical checkpoint modal should not reserve image space */
.interactive-check-card {
  width: min(520px, 92%);
  display: block;
  grid-template-columns: none;
  padding: 22px;
}

.interactive-check-card .interactive-check-preview {
  display: none;
}

.interactive-check-card .inspection-modal-tag,
.interactive-check-card h3,
.interactive-check-card p,
.interactive-check-card .interactive-check-options,
.interactive-check-card .feedback,
.interactive-check-card .interactive-check-submit {
  grid-column: auto;
}

.interactive-check-card .interactive-check-submit {
  width: 100%;
}

.assessment-card h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.assessment-card p {
  margin: 8px 0 16px;
  color: #d3d9e5;
  line-height: 1.65;
  font-size: 16px;
}

.answer-area {
  display: grid;
  gap: 12px;
}

.answer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.answer-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(193, 207, 227, 0.16);
  border-radius: 6px;
  color: #eef4ff;
  background: rgba(86, 97, 114, 0.56);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.answer-option:hover {
  border-color: rgba(122, 156, 196, 0.54);
  background: rgba(95, 108, 128, 0.82);
}

.answer-option.selected {
  border-color: rgba(143, 184, 226, 0.88);
  background: rgba(93, 114, 142, 0.64);
}

.answer-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.feedback {
  min-height: 24px;
  margin-top: 14px;
  color: #f5d27d;
  font-size: 15px;
  line-height: 1.4;
}

.feedback.ok {
  color: #91efa9;
}

.feedback.bad {
  color: #ffb4b4;
}

.primary-btn {
  width: 100%;
  height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 6px;
  color: white;
  background: linear-gradient(180deg, rgba(88, 114, 145, 0.96), rgba(63, 84, 110, 0.96));
  font-weight: 800;
  cursor: pointer;
}

.primary-btn:disabled {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(104, 114, 129, 0.42);
}

.workflow-panel {
  position: absolute;
  z-index: 9;
  right: 24px;
  top: 84px;
  bottom: 18px;
  width: 380px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(74, 83, 99, 0.68);
  border: 1px solid rgba(230, 236, 249, 0.14);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  max-height: calc(100vh - 102px);
}

.panel-head {
  flex: 0 0 55px;
  height: 55px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.detail-switch {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-switch i {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #39bd65;
  position: relative;
}

.detail-switch i::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
}

.log-panel {
  flex: 0 0 180px;
  min-height: 180px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: rgba(14, 18, 26, 0.08);
}

.log-panel h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.log-list {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 9px;
  height: 128px;
  overflow-y: auto;
  color: #dbe3ef;
  font-size: 13px;
  padding-right: 4px;
}

.log-list p {
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

.log-list time {
  color: #aeb9cc;
  margin-right: 8px;
}

.log-list b {
  color: #3aaeff;
  margin-right: 4px;
}

@media (max-width: 1280px) {
  .workflow-panel {
    width: 340px;
  }
}

/* Design migration: match the completed courseware's cool-gray command center style. */
:root {
  --panel: rgba(82, 91, 108, 0.88);
  --panel-soft: rgba(105, 114, 131, 0.66);
  --line: rgba(228, 235, 246, 0.16);
  --text: #f7f9ff;
  --muted: #c6cfdd;
  --blue: #2f7df6;
  --green: #4ad47a;
  --red: #ff6868;
  --amber: #f7c65d;
}

body {
  background: #eef1f4;
}

.training-shell {
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0.96), rgba(230, 235, 241, 0.96)),
    #edf1f5;
}

.topbar {
  height: 60px;
  padding: 0 16px;
  background: rgba(80, 89, 106, 0.98);
  box-shadow: none;
}

.brand {
  gap: 0;
  font-size: 25px;
  letter-spacing: 0;
}

.brand span:last-child {
  font-size: 0;
}

.brand span:last-child::after {
  content: "内拉线悬浮抱杆分解组立铁塔(3W)实训考核";
  font-size: 25px;
}

.menu-icon {
  display: none;
}

.topbar-meta,
.guide-switch {
  gap: 14px;
  color: #f5f7fb;
  font-size: 18px;
  font-weight: 600;
}

.assistant-dot {
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle at 34% 55%, #5cf5ff 0 8%, transparent 9%),
    radial-gradient(circle at 66% 55%, #5cf5ff 0 8%, transparent 9%),
    radial-gradient(circle at 50% 55%, #172338 0 42%, transparent 43%),
    radial-gradient(circle, #e7fbff 0 66%, #8ed6e7 67% 100%);
  box-shadow: 0 0 0 2px rgba(222, 247, 255, 0.25);
}

.toggle {
  width: 39px;
  height: 20px;
  background: #3f7dff;
}

.toggle::after {
  left: auto;
  right: 2px;
  width: 16px;
  height: 16px;
}

.scene-stage {
  inset: 60px 0 0 0;
}

.scene {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 240, 245, 0.92)),
    #edf1f4;
}

.scene-image {
  width: calc(100% - 350px);
  object-fit: cover;
  object-position: center;
  background: #f0f3f6;
}

.scene-image-shade,
.scene-model-overlay,
.scene-model-layer,
.scene-model-defects,
.wearing-overlay,
.inspection-hotspots,
.inspection-modal {
  width: calc(100% - 350px);
}

.scene-image-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(210, 218, 228, 0.08));
}

.scene-model-overlay {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.12), transparent 46%),
    linear-gradient(0deg, rgba(245, 248, 252, 0.22), rgba(245, 248, 252, 0.22));
}

.scene-step-title {
  display: none;
}

.scene-step-title::before,
.scene-step-title::after {
  display: none;
}

.workflow-panel {
  right: 10px;
  top: 70px;
  bottom: 10px;
  width: 340px;
  max-height: calc(100vh - 80px);
  border-radius: 16px;
  border: 1px solid rgba(232, 239, 249, 0.18);
  background: linear-gradient(180deg, rgba(75, 84, 101, 0.9), rgba(101, 110, 126, 0.88));
  box-shadow: 0 18px 44px rgba(32, 41, 54, 0.22);
  backdrop-filter: blur(18px);
}

.panel-head {
  flex-basis: 50px;
  height: 50px;
  padding: 0 16px;
  background: rgba(88, 102, 124, 0.44);
  font-size: 16px;
}

.detail-switch {
  display: none;
}

.assessment-card {
  flex: 1 1 auto;
  padding: 18px 16px 14px;
}

.checkpoint-meta {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  color: #f4f7fd;
  font-size: 15px;
}

#taskTitle {
  display: none;
}

.checkpoint-meta span:last-child {
  color: #cbd4e2;
  font-size: 13px;
}

.node-summary,
.data-card,
.interactive-check-summary,
.interactive-check-progress,
.interactive-check-result {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.assessment-card h1 {
  font-size: 18px;
  line-height: 1.45;
}

.assessment-card p {
  color: #dbe2ed;
  font-size: 14px;
}

.stage-pills {
  gap: 8px;
  margin-bottom: 16px;
}

.stage-pill {
  font-size: 12px;
}

.stage-pill.active::before {
  background: #2f7df6;
}

.answer-option,
.interactive-check-option,
.interactive-check-decision {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.answer-option:hover,
.answer-option.selected,
.interactive-check-option.selected,
.interactive-check-decision.selected {
  border-color: rgba(103, 159, 255, 0.82);
  background: rgba(88, 107, 135, 0.56);
}

.primary-btn,
.cover-btn {
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(91, 110, 134, 0.98), rgba(67, 82, 105, 0.98));
  box-shadow: none;
}

.log-panel {
  display: none;
  flex-basis: 300px;
  min-height: 220px;
  padding: 16px;
  background: rgba(78, 87, 104, 0.38);
}

.log-list {
  height: 236px;
  color: #e1e7f1;
}

.log-list b {
  color: #2f7df6;
}

.scene-caption {
  left: 100px;
  bottom: 18px;
  max-width: 342px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 4px;
  border: 0;
  background: rgba(105, 113, 127, 0.76);
  box-shadow: 0 14px 30px rgba(42, 50, 63, 0.18);
  color: #f5f7fb;
  font-size: 16px;
  text-align: left;
}

.scene-caption::before {
  content: "\1F514";
  margin-right: 8px;
  color: #2f7df6;
}

.scene-caption b,
.scene-caption span {
  display: inline;
}

.scene-caption b {
  flex: initial;
  white-space: normal;
  font-size: 15px;
}

.scene-caption span {
  min-width: 0;
  line-height: 1.55;
}

.ai-guide-assistant {
  position: absolute;
  z-index: 7;
  left: 12px;
  bottom: 24px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 52%, rgba(98, 235, 255, 0.18), transparent 50%),
    rgba(236, 250, 255, 0.76);
  box-shadow: 0 0 0 1px rgba(160, 224, 241, 0.36), 0 0 28px rgba(97, 215, 238, 0.62);
  backdrop-filter: blur(8px);
}

.ai-guide-avatar {
  position: relative;
  width: 62px;
  height: 50px;
  border-radius: 18px 18px 22px 22px;
  background: linear-gradient(180deg, #23324a, #10182b);
  border: 3px solid rgba(242, 252, 255, 0.95);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.24);
}

.ai-guide-avatar::before,
.ai-guide-avatar::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 3px solid #4ce8ff;
  box-shadow: 0 0 10px rgba(76, 232, 255, 0.72);
}

.ai-guide-avatar::before {
  left: 12px;
}

.ai-guide-avatar::after {
  right: 12px;
}

.ai-guide-face {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eafcff;
  transform: translateX(-50%);
  box-shadow: 0 -7px 0 -3px rgba(76, 232, 255, 0.95);
}

.training-shell.is-home-cover .ai-guide-assistant {
  display: none;
}

.inspection-modal {
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}

.inspection-modal-card {
  position: relative;
  width: min(760px, 92%);
  min-height: 390px;
  display: grid;
  grid-template-columns: 390px minmax(250px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.inspection-modal-card:not(.has-preview):not(.interactive-check-card) {
  display: block;
  width: min(430px, 92%);
  min-height: 0;
  padding: 22px;
  border-radius: 10px;
  background: rgba(70, 80, 98, 0.86);
  border: 1px solid rgba(235, 243, 255, 0.18);
  box-shadow: 0 22px 48px rgba(40, 48, 62, 0.26);
  backdrop-filter: blur(16px);
}

.inspection-modal-card.has-preview .inspection-modal-preview {
  grid-column: 1;
  grid-row: 1 / span 7;
  width: 390px;
  height: 390px;
  margin: 0;
  border-radius: 50%;
  border: 8px solid rgba(66, 160, 255, 0.78);
  outline: 3px solid rgba(193, 231, 255, 0.78);
  background-color: rgba(29, 48, 70, 0.92);
  box-shadow:
    0 0 0 10px rgba(72, 157, 255, 0.18),
    0 0 0 16px rgba(105, 190, 255, 0.12),
    0 24px 54px rgba(28, 42, 62, 0.34),
    inset 0 0 46px rgba(4, 17, 32, 0.56);
}

.inspection-modal-card.has-preview .inspection-modal-preview::before {
  background:
    radial-gradient(circle at 50% 48%, transparent 0 54%, rgba(13, 30, 50, 0.16) 55% 70%, rgba(10, 22, 36, 0.42) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 18, 32, 0.18));
}

.inspection-modal-card.has-preview .inspection-modal-preview::after {
  content: "";
  left: auto;
  bottom: auto;
  inset: 18px;
  border-radius: 50%;
  padding: 0;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(168, 224, 255, 0.2) 50%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgba(168, 224, 255, 0.16) 50%, transparent 50.4%);
  border: 1px solid rgba(207, 238, 255, 0.2);
}

.inspection-modal-card.has-preview .inspection-modal-tag,
.inspection-modal-card.has-preview h3,
.inspection-modal-card.has-preview p,
.inspection-modal-card.has-preview .inspection-modal-issues {
  grid-column: 2;
}

.inspection-modal-card.has-preview .inspection-modal-tag {
  width: max-content;
  border-radius: 4px;
  background: rgba(72, 92, 118, 0.82);
}

.inspection-modal-card.has-preview h3 {
  margin: 0;
  font-size: 24px;
}

.inspection-modal-card.has-preview p,
.inspection-modal-card.has-preview .inspection-modal-issues {
  padding: 12px 14px;
  border-radius: 4px;
  background: rgba(72, 82, 99, 0.78);
  color: #edf3fb;
  backdrop-filter: blur(14px);
}

.inspection-modal-card.has-preview .inspection-modal-issues {
  margin: 0;
  padding-left: 32px;
}

.inspection-modal-close {
  position: absolute;
  right: 0;
  top: -34px;
  min-width: 46px;
  min-height: 28px;
  justify-content: center;
  margin: 0;
  color: #f5f9ff;
  border-radius: 4px;
  background: rgba(75, 84, 101, 0.78);
}

.inspection-modal.is-bubble-mode {
  pointer-events: none;
}

.inspection-modal-card.is-bubble {
  position: absolute;
  left: var(--bubble-left, 24px);
  top: var(--bubble-top, 24px);
  width: min(272px, calc(100% - 16px));
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(183, 221, 255, 0.28);
  background: rgba(31, 43, 61, 0.86);
  box-shadow:
    0 18px 40px rgba(9, 17, 28, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  pointer-events: auto;
}

.inspection-modal-card.is-bubble::before {
  content: "";
  position: absolute;
  top: var(--bubble-tail-top, 82px);
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(183, 221, 255, 0.28);
  border-left: 1px solid rgba(183, 221, 255, 0.28);
  background: rgba(31, 43, 61, 0.86);
  transform: translateY(-50%) rotate(-45deg);
}

.inspection-modal-card.is-bubble.is-anchor-left::before {
  left: -7px;
}

.inspection-modal-card.is-bubble.is-anchor-right::before {
  right: -7px;
  transform: translateY(-50%) rotate(135deg);
}

.inspection-modal-card.is-bubble.has-preview .inspection-modal-preview {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 204px;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(183, 221, 255, 0.2);
  outline: 0;
  background-color: rgba(20, 32, 47, 0.92);
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.inspection-modal-card.is-bubble .inspection-modal-preview::after {
  content: "";
  inset: 0;
  border: 0;
  background: none;
}

.inspection-modal-card.is-bubble h3 {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding-right: 28px;
  color: #f2f7ff;
  font-size: 14px;
  line-height: 1.25;
}

.inspection-modal-card.is-bubble .inspection-modal-close {
  top: 8px;
  right: 8px;
  min-width: 26px;
  width: 26px;
  min-height: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  background: rgba(57, 77, 104, 0.82);
  border: 1px solid rgba(183, 221, 255, 0.2);
  font-size: 18px;
  line-height: 1;
}

.inspection-modal-card.is-bubble .inspection-modal-tag {
  display: none;
}

.interactive-check-card {
  width: min(820px, 94%);
  min-height: 0;
  max-height: calc(100vh - 118px);
  grid-template-columns: 300px minmax(300px, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(70, 80, 98, 0.9);
  border: 1px solid rgba(235, 243, 255, 0.18);
  box-shadow: 0 22px 48px rgba(40, 48, 62, 0.28);
  backdrop-filter: blur(16px);
  overflow-y: auto;
}

.interactive-check-card .interactive-check-preview {
  grid-column: 1;
  grid-row: 2 / span 6;
  width: 300px;
  height: 300px;
  margin: 0;
  border-radius: 50%;
  border: 7px solid rgba(66, 160, 255, 0.72);
  outline: 2px solid rgba(206, 237, 255, 0.72);
  box-shadow:
    0 0 0 9px rgba(72, 157, 255, 0.14),
    0 20px 42px rgba(28, 42, 62, 0.3),
    inset 0 0 36px rgba(4, 17, 32, 0.48);
}

.interactive-check-card .inspection-modal-tag,
.interactive-check-card h3,
.interactive-check-card p,
.interactive-check-card .interactive-check-options,
.interactive-check-card .feedback,
.interactive-check-card .interactive-check-submit {
  grid-column: 2;
}

.interactive-check-card .inspection-modal-tag {
  width: max-content;
  border-radius: 4px;
}

.interactive-check-card h3 {
  margin: 0 0 2px;
  font-size: 22px;
}

.interactive-check-card p {
  font-size: 14px;
}

.interactive-check-card .interactive-check-options {
  margin-top: 8px;
  gap: 8px;
}

.interactive-check-card .interactive-check-option {
  min-height: 44px;
  padding: 10px 12px;
}

.interactive-check-card .interactive-check-submit {
  margin-top: 6px;
}

.interactive-check-card .inspection-modal-close {
  top: 12px;
  right: 12px;
}

.interactive-check-card .interactive-check-preview::after {
  content: "";
  inset: 16px;
  border-radius: 50%;
  padding: 0;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(168, 224, 255, 0.2) 50%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgba(168, 224, 255, 0.16) 50%, transparent 50.4%);
  border: 1px solid rgba(207, 238, 255, 0.2);
}

@media (max-width: 1180px) {
  .scene-image,
  .scene-image-shade,
  .scene-model-overlay,
  .scene-model-layer,
  .scene-model-defects,
  .wearing-overlay,
  .inspection-hotspots,
  .inspection-modal {
    width: calc(100% - 320px);
  }

  .workflow-panel {
    width: 310px;
  }

  .inspection-modal-card.has-preview {
    grid-template-columns: 300px minmax(210px, 1fr);
  }

  .inspection-modal-card.has-preview .inspection-modal-preview {
    width: 300px;
    height: 300px;
  }
}

/* Typography normalization */
.topbar .brand,
.topbar .brand span:last-child::after {
  font-size: 24px;
  font-weight: 700;
}

.topbar .topbar-meta,
.topbar .guide-switch,
.topbar #timer {
  font-size: 18px;
}

.workflow-panel,
.inspection-modal-card,
.interactive-check-card,
.scene-caption,
.wearing-scene-note,
.wearing-order-card,
.wearing-parts-panel,
.node-summary,
.interactive-check-summary,
.interactive-check-progress,
.interactive-check-result,
.log-panel {
  font-size: 14px;
}

.panel-head strong,
.assessment-card h1,
.node-summary b,
.interactive-check-summary b,
.interactive-check-progress strong,
.interactive-check-result strong,
.log-panel h3,
.inspection-modal-card h3,
.interactive-check-card h3,
.wearing-scene-note b,
.wearing-order-card b,
.wearing-parts-head strong,
.scene-caption b,
.checkpoint-meta span:first-child {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.checkpoint-meta span:last-child,
.inspection-modal-tag,
.card-kicker,
.node-summary i,
.wearing-parts-head span,
.scene-step-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.assessment-card p,
.answer-option,
.feedback,
.data-card span,
.node-summary span,
.interactive-check-summary span,
.interactive-check-progress span,
.interactive-check-result span,
.interactive-check-option,
.interactive-check-decision,
.interactive-check-chip,
.inspection-modal-card p,
.inspection-modal-issues,
.log-list,
.scene-caption span,
.wearing-scene-note span,
.wearing-order-card span,
.wearing-order-card i,
.wearing-hotspot-label,
.wearing-slot-title,
.wearing-slot-value,
.wearing-part {
  font-size: 14px;
  line-height: 1.55;
}

/* Right panel 3W refinements */
.panel-head strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkpoint-meta {
  margin-bottom: 12px;
}

#cardKicker {
  display: block;
  color: #dce6f5;
}

.stage-pills {
  position: relative;
  gap: 8px;
  margin-bottom: 0;
  padding: 12px 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-pills::before,
.stage-pills::after {
  content: "";
  position: absolute;
  left: 16.666%;
  top: 30px;
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
}

.stage-pills::before {
  right: 16.666%;
  background: rgba(217, 226, 240, 0.22);
}

.stage-pills::after {
  width: 0;
  background: linear-gradient(90deg, #38c76d, #2f7df6);
  box-shadow: 0 0 12px rgba(47, 125, 246, 0.28);
  transition: width 0.24s ease;
}

.stage-pills:has(.stage-pill:nth-child(2).active)::after {
  width: 33.333%;
}

.stage-pills:has(.stage-pill:nth-child(3).active)::after,
.stage-pills:has(.stage-pill:nth-child(3).done)::after {
  width: 66.666%;
}

.stage-pill {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-rows: 36px auto auto;
  align-content: start;
  justify-items: center;
  gap: 4px;
  padding: 0 4px;
  border: 0;
  background: transparent;
}

.stage-pill::before {
  display: none;
}

.stage-pill i,
.stage-pill b,
.stage-pill em {
  font-style: normal;
  line-height: 1.2;
}

.stage-pill i {
  position: relative;
  z-index: 2;
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #d5deec;
  background: #667184;
  border: 3px solid rgba(102, 113, 132, 0.9);
  box-shadow: 0 0 0 4px rgba(82, 91, 108, 0.95);
  font-size: 12px;
  font-weight: 700;
}

.stage-pill b {
  color: #dce4ef;
  font-size: 12px;
  font-weight: 700;
}

.stage-pill em {
  color: #b5bfce;
  font-size: 12px;
  font-weight: 400;
}

.stage-pill.active {
  background: transparent;
}

.stage-pill.done {
  background: transparent;
}

.stage-pill.active i {
  color: #ffffff;
  background: #2f7df6;
  border-color: rgba(117, 166, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(82, 91, 108, 0.95), 0 0 18px rgba(47, 125, 246, 0.55);
}

.stage-pill.done i {
  color: #ffffff;
  background: #38c76d;
  border-color: rgba(101, 221, 144, 0.95);
}

.stage-pill.active b,
.stage-pill.active em,
.stage-pill.done b,
.stage-pill.done em {
  color: #ffffff;
}

.question-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(228, 235, 246, 0.18);
}
