/* 表格：自适应列宽 + shadow-as-border，品牌 2px */
.md-typeset table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.md-typeset table th,
.md-typeset table td {
    padding: 0.5em 0.8em;
}

.md-typeset table th {
    background-color: #0a72ef;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

[data-md-color-scheme="slate"] .md-typeset table th {
    background-color: #0659c4;
}

/* 第1列（名称）：不换行，保持完整 */
.md-typeset table td:nth-child(1) {
    white-space: nowrap;
}

/* 中间列：允许换行 */
.md-typeset table td:nth-child(2),
.md-typeset table td:nth-child(3),
.md-typeset table td:nth-child(4) {
    white-space: normal;
    word-break: break-word;
}

/* 描述列：自适应剩余空间 */
.md-typeset table td:nth-child(5) {
    white-space: normal;
    line-height: 1.5;
    min-width: 150px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
