.rotation-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.rotation-page-copy {
  min-width: 0;
}

.rotation-page-sidecard,
.rotation-page-note {
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 28px;
  background: var(--surface);
}

.rotation-page-sidecard {
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.rotation-page-points {
  display: grid;
  gap: 14px;
}

.rotation-page-point {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  background: rgba(255, 255, 255, 0.48);
}

.rotation-page-point span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rotation-page-point strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
}

.rotation-page-note {
  padding: 24px;
  margin-bottom: 28px;
}

.rotation-inline-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.rotation-visual-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 243, 235, 0.9)),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 42%);
  box-shadow: var(--shadow);
}

.rotation-detail-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.rotation-summary-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 243, 235, 0.9)),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 44%);
}

.rotation-summary-shell {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  box-shadow: var(--shadow);
}

.rotation-summary-card-main {
  min-width: 0;
}

.rotation-summary-detail {
  margin-top: 14px;
  color: var(--text);
  line-height: 1.65;
}

.rotation-visual-shell {
  position: relative;
  margin-top: 18px;
  padding: 26px 74px 52px;
}

.rotation-quadrant-plot {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 50%, rgba(15, 118, 110, 0.05) 50% 100%),
    linear-gradient(180deg, rgba(15, 118, 110, 0.07) 0 50%, rgba(255, 255, 255, 0.32) 50% 100%);
}

.rotation-quadrant-plot::before,
.rotation-quadrant-plot::after {
  content: "";
  position: absolute;
  background: rgba(62, 46, 33, 0.12);
}

.rotation-quadrant-plot::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-0.5px);
}

.rotation-quadrant-plot::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-0.5px);
}

.rotation-quadrant-name {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(62, 46, 33, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.rotation-quadrant-name.top-left {
  top: 14px;
  left: 14px;
}

.rotation-quadrant-name.top-right {
  top: 14px;
  right: 14px;
}

.rotation-quadrant-name.bottom-left {
  bottom: 14px;
  left: 14px;
}

.rotation-quadrant-name.bottom-right {
  bottom: 14px;
  right: 14px;
}

.rotation-axis-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(78, 52, 24, 0.12);
  z-index: 2;
}

.rotation-axis-chip.leading {
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-strong);
}

.rotation-axis-chip.improving {
  background: rgba(255, 255, 255, 0.92);
}

.rotation-axis-chip.weakening {
  background: rgba(191, 122, 67, 0.12);
  color: #8c4c1e;
}

.rotation-axis-chip.lagging {
  background: rgba(62, 46, 33, 0.08);
}

.rotation-axis-chip:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.rotation-x-axis-label,
.rotation-y-axis-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(62, 46, 33, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(78, 52, 24, 0.08);
  z-index: 3;
}

.rotation-x-axis-label.left {
  left: 260px;
  bottom: 16px;
}

.rotation-x-axis-label.right {
  right: 260px;
  bottom: 16px;
  text-align: right;
}

.rotation-y-axis-label.top {
  top: 0;
  left: 14px;
}

.rotation-y-axis-label.bottom {
  bottom: 24px;
  left: 14px;
}

.rotation-method-note {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.rotation-method-line {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .rotation-page-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .rotation-page-sidecard,
  .rotation-page-note,
  .rotation-visual-card,
  .rotation-detail-card {
    padding: 22px;
  }

  .rotation-visual-shell {
    padding: 24px 18px 46px;
  }

  .rotation-quadrant-plot {
    min-height: 360px;
  }

  .rotation-x-axis-label.left {
    left: 136px;
  }

  .rotation-x-axis-label.right {
    right: 136px;
  }

  .rotation-y-axis-label.top,
  .rotation-y-axis-label.bottom {
    left: 18px;
  }

  .rotation-y-axis-label.bottom {
    bottom: 30px;
  }
}
