.spi-hub .spi-hub-tab[data-rec-kind="wrong"] .spi-hub-wr-n {
    display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px;
    background: #fdecec; color: #d64545; font-size: 11px; font-weight: 700; line-height: 1.2; vertical-align: 1px;
}
.spi-hub .spi-hub-tab[data-rec-kind="wrong"].is-on .spi-hub-wr-n { background: rgba(255, 255, 255, .25); color: #fff; }

.spi-hub .spi-hub-wr[hidden] { display: none; }
.spi-hub .spi-hub-wr-lead { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: #6b7b78; }
.spi-hub .spi-hub-wr-list { display: grid; gap: 12px; min-width: 0; }

.spi-hub .spi-hub-wr-item {
    min-width: 0; box-sizing: border-box; padding: 14px 16px;
    background: #fff; border: 1px solid #e3e6e6; border-left: 4px solid #e04e4e; border-radius: 10px;
}
.spi-hub .spi-hub-wr-item.is-clip { display: none; }

.spi-hub .spi-hub-wr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; font-size: 12px; line-height: 1.4; color: #8a9492; }
.spi-hub .spi-hub-wr-kind { display: inline-block; padding: 4px 8px; border-radius: 4px; background: #26A69A; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.spi-hub .spi-hub-wr-src { font-weight: 700; color: #252525; }
.spi-hub .spi-hub-wr-tag { display: inline-block; padding: 4px 8px; border-radius: 4px; background: #f1f3f3; color: #4a5654; font-size: 11px; font-weight: 700; line-height: 1; }
.spi-hub .spi-hub-wr-miss { color: #d64545; font-weight: 700; }

.spi-hub .spi-hub-wr-q { font-size: 15px; line-height: 1.75; color: #252525; overflow-wrap: anywhere; }
.spi-hub .spi-hub-wr-q p { margin: 0 0 .6em; }
.spi-hub .spi-hub-wr-q > :last-child { margin-bottom: 0; }
.spi-hub .spi-hub-wr-fig { margin: 10px 0 0; max-width: 100%; overflow-x: auto; }
.spi-hub .spi-hub-wr-q img, .spi-hub .spi-hub-wr-q svg,
.spi-hub .spi-hub-wr-fig img, .spi-hub .spi-hub-wr-fig svg,
.spi-hub .spi-hub-wr-exp img, .spi-hub .spi-hub-wr-exp svg { max-width: 100%; height: auto; }
.spi-hub .spi-hub-wr-q svg, .spi-hub .spi-hub-wr-fig svg, .spi-hub .spi-hub-wr-exp svg { max-width: min(100%, 520px) !important; }
.spi-hub .spi-hub-wr-q table, .spi-hub .spi-hub-wr-fig table, .spi-hub .spi-hub-wr-exp table { border-collapse: collapse; max-width: 100%; font-size: 14px; }
.spi-hub .spi-hub-wr-q th, .spi-hub .spi-hub-wr-q td,
.spi-hub .spi-hub-wr-exp th, .spi-hub .spi-hub-wr-exp td { border: 1px solid #dfe3e3; padding: 4px 8px; }

.spi-hub .spi-hub-wr-prev { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #4a5654; }
.spi-hub .spi-hub-wr-prev[hidden] { display: none; }
.spi-hub .spi-hub-wr-prev b { color: #d64545; font-weight: 700; }

.spi-hub .spi-hub-wr-choices { display: grid; gap: 8px; margin: 12px 0 0; }
.spi-hub .spi-hub-wr-choices[hidden] { display: none; }
.spi-hub button.spi-hub-wr-choice {
    display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 11px 14px;
    text-align: left; font-size: 14px; font-weight: 500; line-height: 1.5; color: #252525;
    background: #fff; border: 1px solid #e3e6e6; border-radius: 8px; box-shadow: none; cursor: pointer;
}
.spi-hub button.spi-hub-wr-choice:hover { border-color: #26A69A; }
.spi-hub button.spi-hub-wr-choice.is-picked { border-color: #26A69A; background: #F8FFFE; }
.spi-hub button.spi-hub-wr-choice.is-right { border-color: #26A69A; background: #E4F8F6; font-weight: 700; }
.spi-hub button.spi-hub-wr-choice.is-bad { border-color: #e04e4e; background: #fdecec; }
.spi-hub button.spi-hub-wr-choice[disabled] { cursor: default; opacity: 1; }

.spi-hub .spi-hub-wr-ans { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; background: #f7f9f9; }
.spi-hub .spi-hub-wr-ans[hidden] { display: none; }
.spi-hub .spi-hub-wr-verdict { margin: 0 0 8px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.spi-hub .spi-hub-wr-verdict[hidden] { display: none; }
.spi-hub .spi-hub-wr-verdict.is-ok { color: #1f8a80; }
.spi-hub .spi-hub-wr-verdict.is-ng { color: #d64545; }
.spi-hub .spi-hub-wr-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 14px; line-height: 1.7; }
.spi-hub .spi-hub-wr-dl dt, .spi-hub .spi-hub-wr-dl dd { margin: 0; padding: 0; background: none; border: 0; }
.spi-hub .spi-hub-wr-dl dt::before, .spi-hub .spi-hub-wr-dl dd::before { content: none; display: none; }
.spi-hub .spi-hub-wr-dl dt { font-weight: 700; color: #4a5654; }
.spi-hub .spi-hub-wr-dl dd { min-width: 0; color: #252525; overflow-wrap: anywhere; }

.spi-hub .spi-hub-wr-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; }
.spi-hub button.spi-hub-wr-btn {
    margin: 0; padding: 10px 18px; border: 1px solid #26A69A; border-radius: 999px; box-shadow: none;
    background: #26A69A; color: #fff; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
}
.spi-hub button.spi-hub-wr-btn:hover { background: #1f8a80; border-color: #1f8a80; }
.spi-hub button.spi-hub-wr-btn.is-sub { background: #fff; color: #26A69A; }
.spi-hub button.spi-hub-wr-btn.is-sub:hover { background: #F8FFFE; }
.spi-hub button.spi-hub-wr-btn[hidden] { display: none; }
.spi-hub button.spi-hub-wr-btn[disabled] { opacity: .45; cursor: default; }
.spi-hub .spi-hub-wr-check { justify-self: start; margin-top: 4px; }
.spi-hub a.spi-hub-wr-link { font-size: 12px; color: #6b7b78; text-decoration: underline; }
.spi-hub a.spi-hub-wr-link:hover { color: #26A69A; }

@media (max-width: 767px) {
    .spi-hub .spi-hub-wr-item { padding: 12px 12px 14px; }
    .spi-hub .spi-hub-wr-q { font-size: 14px; }
    .spi-hub .spi-hub-wr-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .spi-hub .spi-hub-wr-dl dd { margin-bottom: 8px; }
    .spi-hub .spi-hub-wr-dl dd:last-child { margin-bottom: 0; }
}
