.classification-source .demo-field-label {
    display: block;
    margin-top: 12px;
}

.classification-source > .tryit-help {
    min-height: 30px;
}

.classification-source .btn-demo-action.is-busy {
    cursor: progress;
}

.classification-result__heading {
    padding: 13px 13px 10px;
    margin-bottom: 0;
}

.classification-result__heading output {
    color: #c21875;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.classification-confidence {
    height: 5px;
    margin: 0 13px 12px;
    overflow: hidden;
    border-radius: 3px;
    background: #eadfe6;
}

.classification-confidence span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #d60f78;
    transition: width 240ms ease;
}

.classification-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #f0d6e4;
    background: #fff;
}

.classification-metrics span {
    display: grid;
    gap: 2px;
    padding: 10px 8px;
    text-align: center;
}

.classification-metrics span + span {
    border-left: 1px solid #e4e9f0;
}

.classification-metrics strong {
    color: #263850;
    font-size: 11px;
}

.classification-metrics small {
    color: #7b889c;
    font-size: 7px;
}

.classification-scores,
.classification-evidence {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.classification-score > div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.classification-score strong {
    color: #344761;
    font-size: 9px;
}

.classification-score.is-winner strong {
    color: #c21875;
}

.classification-score > div:first-child span {
    color: #7b889c;
    font-size: 7px;
}

.classification-score > div:last-child {
    height: 4px;
    margin-top: 4px;
    overflow: hidden;
    border-radius: 2px;
    background: #e6ebf1;
}

.classification-score > div:last-child span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #7193b8;
}

.classification-score.is-winner > div:last-child span {
    background: #d60f78;
}

.classification-hit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e7ebf1;
}

.classification-hit:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.classification-hit > div {
    display: grid;
    gap: 3px;
}

.classification-hit > div:last-child {
    justify-items: end;
}

.classification-hit strong {
    min-width: 0;
    overflow: hidden;
    color: #263850;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.classification-hit > div:last-child > strong {
    color: #55769b;
}

.classification-hit > div:first-child > span {
    color: #8794a6;
    font-size: 7px;
}

.classification-region {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 6px;
    font-weight: 700;
    text-transform: uppercase;
}

.classification-region--title { color: #b30d66; background: #fde8f4; }
.classification-region--heading { color: #376b9f; background: #e7f1fb; }
.classification-region--body { color: #596779; background: #edf0f4; }
.classification-region--header { color: #167257; background: #e2f5ed; }
.classification-region--footer { color: #7a5b14; background: #f7f0d9; }

.classification-evidence__empty {
    margin: 0;
    color: #7b889c;
    font-size: 8px;
}

@media (max-width: 720px) {
    .classification-result__heading output { font-size: 18px; }
}
