.issue-lookup {
    padding: 16px 14px 12px;
    border-top: 1px solid #e4e4e4;
    color: #333;
}

.issue-lookup [hidden] {
    display: none !important;
}

.issue-lookup form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 108px;
    align-items: center;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto;
}

.issue-lookup label {
    font-weight: 600;
}

.issue-lookup input,
.issue-lookup button {
    box-sizing: border-box;
    min-width: 0;
    height: 42px;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    font: inherit;
    letter-spacing: 0;
}

.issue-lookup input {
    width: 100%;
    padding: 8px 10px;
    background: #fff;
    color: #333;
    font-size: 16px;
}

.issue-lookup input:focus-visible,
.issue-lookup button:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.issue-lookup input[aria-invalid="true"] {
    border-color: #dc3545;
}

.issue-lookup button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.issue-lookup button:disabled {
    opacity: .65;
    cursor: wait;
}

#issue-search-submit {
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
}

#issue-search-submit img {
    flex: 0 0 16px;
    filter: invert(1);
}

#issue-search-status {
    min-height: 22px;
    max-width: 640px;
    margin: 8px auto 0;
    color: #717171;
    overflow-wrap: anywhere;
}

#issue-search-status[data-error="true"] {
    color: #b42318;
}

#issue-search-hit {
    max-width: 640px;
    margin: 8px auto 4px;
    padding-top: 10px;
    border-top: 1px dashed #dedede;
}

.lookup-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.lookup-heading strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.issue-lookup #issue-search-clear {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-color: #d4d4d4;
}

.lookup-numbers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.lookup-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 32px;
    border-radius: 4px;
    background: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.lookup-total,
#lookup-tema {
    background: #dc3545;
}

#lookup-tema {
    width: auto;
    min-width: 48px;
    max-width: 100%;
    height: auto;
    min-height: 32px;
    padding: 0 6px;
    overflow-wrap: anywhere;
}