.wm-eval-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wm-eval-detail__locale {
    display: inline-flex;
    align-self: flex-start;
    gap: 0;
    padding: 0.15rem;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.65rem;
    background: rgb(249 250 251);
}

.wm-eval-detail__locale-btn {
    border: 0;
    border-radius: 0.5rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(75 85 99);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wm-eval-detail__locale-btn:hover {
    color: rgb(31 41 55);
    background: rgb(255 255 255 / 0.75);
}

.wm-eval-detail__locale-btn--active {
    color: rgb(31 41 55);
    background: rgb(255 255 255);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 0 0 1px rgb(217 119 6 / 0.25);
}

.wm-eval-detail__note,
.wm-eval-detail__empty {
    margin: 0;
    font-size: 0.875rem;
    color: rgb(107 114 128);
}

.wm-eval-detail__table-wrap {
    overflow: hidden;
    border: 1px solid rgb(229 231 235);
    border-radius: 0.75rem;
    background: rgb(255 255 255);
}

.wm-eval-detail__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.wm-eval-detail__table thead {
    background: rgb(249 250 251);
}

.wm-eval-detail__table th,
.wm-eval-detail__table td {
    padding: 0.65rem 0.9rem;
    vertical-align: top;
    border-bottom: 1px solid rgb(243 244 246);
}

.wm-eval-detail__table tbody tr:last-child td {
    border-bottom: 0;
}

.wm-eval-detail__table th {
    font-weight: 600;
    color: rgb(55 65 81);
    line-height: 1.25;
}

.wm-eval-detail__criterion {
    width: 100%;
    color: rgb(31 41 55);
    word-break: break-word;
}

.wm-eval-detail__score {
    width: 1%;
    min-width: 3.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    text-align: center;
    font-weight: 700;
    color: rgb(17 24 39);
    white-space: nowrap;
}

.wm-eval-detail__table th.wm-eval-detail__score {
    white-space: normal;
    font-size: 0.8125rem;
}

.wm-eval-detail__comment-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wm-eval-detail__comment-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(17 24 39);
}

.wm-eval-detail__comment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wm-eval-detail__comment-box {
    border: 1px solid rgb(229 231 235);
    border-radius: 0.65rem;
    background: rgb(249 250 251);
    padding: 0.75rem 0.9rem;
}

.wm-eval-detail__comment-author {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(107 114 128);
}

.wm-eval-detail__comment-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgb(31 41 55);
    white-space: pre-wrap;
}

.dark .wm-eval-detail__locale {
    border-color: rgb(55 65 81);
    background: rgb(17 24 39);
}

.dark .wm-eval-detail__locale-btn {
    color: rgb(209 213 219);
}

.dark .wm-eval-detail__locale-btn--active {
    color: rgb(243 244 246);
    background: rgb(31 41 55);
}

.dark .wm-eval-detail__table-wrap {
    border-color: rgb(55 65 81);
    background: rgb(17 24 39);
}

.dark .wm-eval-detail__table thead {
    background: rgb(31 41 55);
}

.dark .wm-eval-detail__table th,
.dark .wm-eval-detail__table td {
    border-bottom-color: rgb(55 65 81);
}

.dark .wm-eval-detail__table th {
    color: rgb(229 231 235);
}

.dark .wm-eval-detail__criterion {
    color: rgb(243 244 246);
}

.dark .wm-eval-detail__score {
    color: rgb(255 255 255);
}

.dark .wm-eval-detail__comment-box {
    border-color: rgb(55 65 81);
    background: rgb(31 41 55);
}

.dark .wm-eval-detail__comment-title {
    color: rgb(243 244 246);
}

.dark .wm-eval-detail__comment-text {
    color: rgb(229 231 235);
}
