/**
 * xuye/selection-panel block styles.
 * 原型 prototypes/xuye/styles.css:
 *   .compound-selection-panel (3774-3798) · .selection-paths (3800-3821)
 *   响应式: 1080 (4707 panel 单列)
 * 断点: 1080px / 680px。
 */
@layer xuye-block {
  .xuye-x-selection-panel__panel {
    display: grid;
    grid-template-columns: minmax(300px, 0.55fr) minmax(420px, 0.78fr);
    gap: clamp(38px, 6vw, 82px);
    align-items: center;
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid var(--wp--preset--color--line, #dfe8ec);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(0, 140, 145, 0.08), transparent 42%),
      #fff;
  }

  .xuye-x-selection-panel__body h2 {
    margin-top: 18px;
    color: var(--wp--preset--color--ink, #0b131a);
    font-size: calc(clamp(2rem, 3.3vw, 3.6rem) * 0.75);
    line-height: 1.02;
  }

  .xuye-x-selection-panel__body p {
    margin-top: 18px;
    color: var(--wp--preset--color--muted, #60707b);
    line-height: 1.74;
  }

  .xuye-x-selection-panel__paths {
    display: grid;
    gap: 14px;
  }

  .xuye-x-selection-panel__path {
    padding: 22px;
    border-left: 4px solid var(--wp--preset--color--teal, #008c91);
    background: #f7fbfc;
  }

  .xuye-x-selection-panel__path b {
    display: block;
    color: var(--wp--preset--color--ink, #0b131a);
    font-size: 1.08rem;
  }

  .xuye-x-selection-panel__path span {
    display: block;
    margin-top: 8px;
    color: var(--wp--preset--color--muted, #60707b);
    line-height: 1.52;
  }
}

@layer xuye-responsive {
  @media (max-width: 1080px) {
    .xuye-x-selection-panel__panel {
      grid-template-columns: 1fr;
    }
  }
}
