/* 科室一体机详情页补充样式，复用 platform-detail 体系，scoped 到 .appliance。 */
.appliance {
  --platform-surface: var(--pale-blue);
  --platform-accent: var(--blue);
}

/* ---------- Section kicker ---------- */
.ap-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--platform-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}
.ap-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--platform-accent);
}

/* ---------- Assistant / plan cards ---------- */
.ap-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.ap-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow:
    0 1px 2px hsl(222 47% 20% / 0.05),
    0 20px 40px -26px hsl(222 47% 20% / 0.16);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.ap-card:hover {
  border-color: hsl(224 76% 52% / 0.35);
  box-shadow: 0 18px 36px -20px hsl(222 47% 20% / 0.22);
  transform: translateY(-3px);
}
.ap-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
}
.ap-card-model {
  font-size: 13px;
  font-weight: 500;
  color: var(--platform-accent);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
.ap-card-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.ap-card-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.ap-card-points li {
  position: relative;
  padding-inline-start: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.ap-card-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--platform-accent);
}

/* ---------- Hardware specs ---------- */
.ap-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.ap-spec {
  background: var(--platform-surface);
  border-radius: 16px;
  padding: 24px 22px;
  display: grid;
  gap: 8px;
  align-content: start;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.ap-spec:hover {
  background: var(--white);
  box-shadow: 0 14px 30px -18px hsl(222 47% 20% / 0.2);
  transform: translateY(-2px);
}
.ap-spec-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--platform-accent);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.ap-spec-label {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Deploy steps ---------- */
.ap-step-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.ap-step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ---------- Scene figure ---------- */
.ap-scene {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px hsl(222 47% 20% / 0.05),
    0 24px 48px -24px hsl(222 47% 20% / 0.18);
}
.ap-scene img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Section rhythm ---------- */
.ap-section {
  padding-block: 72px;
}
.ap-section > .ap-kicker + h2 {
  margin-bottom: 14px;
}
.ap-section > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 720px;
}

/* ---------- Deployed cases ---------- */
.ap-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.ap-case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  display: grid;
  gap: 6px;
  align-content: start;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.ap-case:hover {
  border-color: hsl(224 76% 52% / 0.35);
  box-shadow: 0 14px 30px -18px hsl(222 47% 20% / 0.2);
  transform: translateY(-2px);
}
.ap-case-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy);
}
.ap-case-nb {
  white-space: nowrap;
}
.ap-case-city {
  font-size: 12.5px;
  color: var(--muted);
}
.ap-section > p.ap-cases-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 18px;
}

@media (max-width: 760px) {
  .ap-duo {
    grid-template-columns: 1fr;
  }
  .ap-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ap-section {
    padding-block: 48px;
  }
  .ap-spec-value {
    font-size: 22px;
  }
}

/* ---------- 360° viewer ---------- */
.ap-viewer {
  margin: 0;
  min-width: 0;
}
.ap-viewer.is-3d {
  background: linear-gradient(180deg, var(--white), var(--pale-blue));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px 14px 16px;
  overflow: hidden;
}
.ap-viewer.is-3d .ap-viewer-fallback {
  display: none;
}
.av-stage {
  position: relative;
  height: clamp(260px, 34vw, 400px);
  perspective: 1800px;
  touch-action: none;
  cursor: grab;
  user-select: none;
  outline: none;
  border-radius: 14px;
  overflow: hidden;
}
.av-stage:focus-visible {
  box-shadow: 0 0 0 3px hsl(224 76% 52% / 0.35);
}
.av-stage:active {
  cursor: grabbing;
}
.av-pivot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}
.av-model {
  --av-h: 228.93px;
  position: absolute;
  left: -340px;
  top: calc(var(--av-h) / -2);
  width: 680px;
  height: var(--av-h);
  transform-style: preserve-3d;
  direction: ltr;
}
.av-face {
  position: absolute;
  backface-visibility: hidden;
}
.av-front,
.av-back {
  width: 680px;
  height: var(--av-h);
  border-radius: 7px;
  overflow: hidden;
}
.av-front {
  transform: translateZ(340px);
  background: #24292c;
}
.av-back {
  transform: rotateY(180deg) translateZ(340px);
  background: linear-gradient(110deg, #53595d, #343a3d);
  border: 2px solid #707779;
}
.av-top,
.av-bottom {
  width: 680px;
  height: 680px;
  top: calc((var(--av-h) - 680px) / 2);
  border: 2px solid #7b8285;
  border-radius: 7px;
}
.av-top {
  transform: rotateX(90deg) translateZ(calc(var(--av-h) / 2));
  background: repeating-linear-gradient(0deg, #353a3d 0, #5c6366 1px, #2d3235 2px, #41474a 4px);
}
.av-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--av-h) / 2));
  background: linear-gradient(135deg, #52585b, #2c3235);
}
.av-bottom::after {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 25px;
  border: 4px solid #555f64;
  box-shadow: inset 0 0 0 20px #252f34;
  background: #333e44;
}
.av-side {
  width: 680px;
  height: var(--av-h);
  background: repeating-linear-gradient(90deg, #363c3f 0, #747d80 2px, #42494c 4px, #31373a 8px);
  border: 2px solid #757d80;
  border-radius: 5px;
}
.av-left {
  transform: rotateY(-90deg) translateZ(340px);
}
.av-right {
  transform: rotateY(90deg) translateZ(340px);
}
.av-nameplate {
  position: absolute;
  inset: 0 0 auto;
  height: 86px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  background: linear-gradient(120deg, #353737, #252928 80%, #303433);
  border-bottom: 1px solid #60696a;
  color: #f0f1eb;
}
.av-desc {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
}
.ap-viewer .av-logo {
  display: block;
  width: 220px;
  height: auto;
  margin-left: auto;
  filter: brightness(0) invert(1);
}
.av-grille {
  position: absolute;
  top: 86px;
  width: 100%;
  height: calc(var(--av-h) - 86px);
  background: linear-gradient(#111a1f, #263037 70%, #151d22);
}
.av-fin {
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 11px;
  background: linear-gradient(90deg, #434c51, #9ca6ab 35%, #d2d7d8 58%, #737f84 78%, #343d42);
  border-radius: 0 0 6px 3px;
  box-shadow: 5px 1px 5px #000b;
}
.av-power {
  position: absolute;
  right: 54px;
  top: 86px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(130deg, #c1c8cb, #6d777d);
  border: 1px solid #485056;
  border-radius: 0 0 4px 4px;
  color: #d9e9ff;
  font-size: 26px;
  text-shadow:
    0 0 4px #78a7ff,
    0 0 10px #7896ff;
}
.av-rear-vent {
  position: absolute;
  inset: 8px 8px 75px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #263034 0, #687378 3px, #a1aaab 5px, #4c585d 8px);
}
.av-io {
  position: absolute;
  bottom: 17px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  padding: 8px 9px 5px;
  border: 1px solid #8b9599;
  border-radius: 9px;
  background: #444c50;
}
.av-port {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  width: 36px;
  height: 47px;
  color: #d9dfe1;
}
.av-port small {
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}
.av-port-wide {
  width: 64px;
}
.av-port-qs {
  width: 74px;
}
.av-usb {
  width: 12px;
  height: 24px;
  background: #0b1114;
  border: 2px solid #a8b2b5;
  border-radius: 5px;
}
.av-switch {
  width: 15px;
  height: 26px;
  border: 2px solid #a8b2b5;
  border-radius: 7px;
  background: #636c70;
}
.av-hdmi {
  width: 44px;
  height: 18px;
  border: 2px solid #b5bfc2;
  border-radius: 3px 3px 7px 7px;
  background: #0b1114;
}
.av-rj45 {
  width: 35px;
  height: 27px;
  border: 3px solid #b5bfc2;
  background: linear-gradient(#090f12 65%, #ba9e57 65%, #ba9e57 75%, #090f12 75%);
}
.av-qsfp {
  width: 64px;
  height: 24px;
  border: 3px solid #b5bfc2;
  background: #0b1114;
}
.av-screw {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1b2023;
  border: 1px solid #858f95;
}
.av-controls {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.av-views {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.av-btn {
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.av-btn:hover {
  background: var(--pale-blue);
  border-color: hsl(224 76% 52% / 0.35);
}
.av-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.av-icon,
.av-auto {
  width: 36px;
  padding: 0;
  font-size: 15px;
}
.av-auto[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.av-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
.av-dims {
  color: var(--navy);
  font-weight: 600;
}
.av-hint {
  flex-basis: 100%;
}

/* ---------- Ten consultation rooms ---------- */
.ap-rooms-share {
  display: inline-block;
  margin: 4px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pale-blue);
}
.ap-section > p.ap-rooms-share {
  color: var(--blue);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
}
/* Shared inference machine → hospital network → ClinMate workstations. */
.appliance .ap-hub {
  margin: 28px 0 0;
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(100px, 0.45fr) minmax(0, 2fr);
  align-items: center;
  gap: 20px;
  border-block: 1px solid var(--line);
}
.appliance .ap-hub-core {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--navy);
  text-align: center;
}
.appliance .ap-hub-machine {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}
.appliance .ap-hub-core strong {
  font-size: 16px;
}
.appliance .ap-hub-core > span {
  color: var(--muted);
  font-size: 12px;
}
.appliance .ap-hub-apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
}
.appliance .ap-hub-network {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.appliance .ap-hub-link {
  height: 2px;
  margin-top: 10px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px);
  background-size: 14px 2px;
  animation: ap-hub-flow 1.6s linear infinite;
  position: relative;
}
.appliance .ap-hub-link::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue);
  border-inline-end: 2px solid var(--blue);
  transform: rotate(45deg);
}
html[dir="rtl"] .appliance .ap-hub-link::after {
  transform: rotate(-45deg);
}
.appliance .ap-hub-clinics {
  min-width: 0;
}
.appliance .ap-hub-product {
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
}
.appliance .ap-hub-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.appliance .ap-hub-room {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  font-size: 12px;
  color: var(--navy);
  min-width: 0;
}
.appliance .ap-hub-screen {
  display: grid;
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1.4;
  padding: 7px;
  border: 3px solid var(--navy);
  border-radius: 6px;
  background: var(--white);
  position: relative;
  gap: 6px;
}
.appliance .ap-hub-screen::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 6px;
  background: var(--navy);
  bottom: -9px;
  left: 29%;
  border-radius: 2px;
}
.appliance .ap-hub-screen-brand {
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-align: start;
}
.appliance .ap-hub-document {
  display: grid;
  align-content: space-evenly;
  gap: 4px;
  padding: 5px;
  background: var(--pale-blue);
}
.appliance .ap-hub-document i {
  height: 2px;
  background: var(--line);
}
.appliance .ap-hub-document-short {
  width: 65%;
}
.appliance .ap-hub-more {
  font-size: 24px;
  color: var(--blue);
  text-align: center;
}
@keyframes ap-hub-flow {
  to {
    background-position: 14px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .appliance .ap-hub-link {
    animation: none;
  }
}
@media (max-width: 760px) {
  .ap-viewer.is-3d {
    padding: 8px 8px 14px;
  }
  .av-stage {
    height: 250px;
  }
  .appliance .ap-hub {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 22px;
  }
  .appliance .ap-hub-machine {
    width: 190px;
  }
  .appliance .ap-hub-network {
    width: 150px;
    justify-self: center;
  }
  .appliance .ap-hub-link {
    height: 28px;
    width: 2px;
    margin: 8px auto 0;
    background: var(--blue);
    animation: none;
  }
  .appliance .ap-hub-link::after {
    top: auto;
    bottom: 0;
    inset-inline-end: -4px;
    transform: rotate(135deg);
  }
  html[dir="rtl"] .appliance .ap-hub-link::after {
    transform: rotate(-135deg);
  }
  .appliance .ap-hub-product {
    margin-bottom: 14px;
  }
  .appliance .ap-hub-row {
    gap: 8px;
    grid-template-columns: 1fr 1fr 20px 1fr;
  }
}
