/* Dictionary list tables â€” fixed layout for consistent column widths */
.dictionary-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dictionary-list h3 {
    font-size: 16px;
    color: #1d2129;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.dictionary-list h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 15px;
    background-color: var(--accent);
    border-radius: 2px;
    margin-right: 8px;
}

.dictionary-list table a {
    color: var(--accent);
}

.dictionary-list table {
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: var(--fs-sm);
}

.dictionary-list thead {
    background: var(--surface);
}

.dictionary-list th {
    text-align: left;
    font-weight: 600;
    color: var(--ink);
    padding: 12px 16px;
    border-bottom: 2px solid var(--border);
}

.dictionary-list td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--ink-soft);
    word-break: break-word;
}

.dictionary-list tbody tr:hover {
    background: rgba(26, 110, 245, .08);
}

/* Column widths */
.dictionary-list th:nth-child(1),
.dictionary-list td:nth-child(1) {
    width: 32%;
}

.dictionary-list th:nth-child(2),
.dictionary-list td:nth-child(2) {
    width: 28%;
}

.dictionary-list th:nth-child(3),
.dictionary-list td:nth-child(3) {
    width: 20%;
}

.dictionary-list th:nth-child(4),
.dictionary-list td:nth-child(4) {
    width: 20%;
}

/* ============================================
   DICTIONARY DETAIL PAGE
   ============================================ */
.dictionary-detail .left {
    min-width: 0;
}

/* Table meta header */
.dictionary-detail .table-meta {
    padding-bottom: 24px;
    margin-top: 24px;
    text-align: center;
}

.dictionary-detail .table-meta h1 {
    font-family: var(--font-mono);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.dictionary-detail .table-desc {
    color: var(--ink-soft);

}



/* Field table */
.dictionary-detail table {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    font-size: var(--fs-sm);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.dictionary-detail thead {
    background: var(--surface);
}

.dictionary-detail th {
    text-align: left;
    font-weight: 700;
    color: var(--ink);
    padding: 12px 16px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.dictionary-detail td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--ink-soft);
    word-break: break-word;
    vertical-align: top;
    font-family: var(--font-sans);
}

.dictionary-detail td:first-child {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--ink);
    font-size: calc(var(--fs-sm) - 1px);
}

.dictionary-detail td:nth-child(2) {
    color: var(--ink);
    font-weight: 500;
    font-size: calc(var(--fs-sm) - 1px);
}

.dictionary-detail tbody tr:hover {
    background: rgba(26, 110, 245, .08);
}

.dictionary-detail tbody tr:last-child td {
    border-bottom: none;
}

/* Column widths */
.dictionary-detail th:nth-child(1) {
    width: 18%;
}

.dictionary-detail th:nth-child(2) {
    width: 22%;
}

.dictionary-detail th:nth-child(3) {
    width: 22%;
}

.dictionary-detail th:nth-child(4) {
    width: 20%;
}

.dictionary-detail th:nth-child(5) {
    width: 18%;
}

/* Version tags */
.ver-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.ver-tag:not(:last-child)::after {
    content: '/';
    color: var(--border);
    margin: 0 6px;
    font-weight: 400;
}

.ver-66 {
    color: #595959;
}

.ver-70 {
    color: #a0d911;
}

.ver-72 {
    color: #13c2c2;
}

.ver-75 {
    color: #1890ff;
}

.ver-80 {
    color: #c41d7f;
}

/* Detail card padding */
.dictionary-detail .detail-card {
    padding: 36px;
}

/* Detail header */
.dictionary-detail .detail-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.dictionary-detail .detail-header h1 {
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 12px;
}

.dictionary-detail .detail-header .meta-info {
    font-size: var(--fs-xs);
    color: var(--ink-mute);
    display: flex;
    gap: 16px;
}

/* Article content */
.dictionary-detail .article-content {
    line-height: 1.8;
    font-size: var(--fs-base);
}