.item-link-row {
    align-items: flex-start;
}

.item-link-main {
    min-width: 0;
}

.item-linker-status {
    margin-top: 4px;
    color: var(--theme-raw-777980);
    font-size: 10px;
    line-height: 1.35;
}

.item-linker-status strong,
.item-linker-status span {
    display: block;
}

.item-linker-status strong {
    color: var(--theme-raw-111216);
    font-size: 9px;
    letter-spacing: .4px;
}

.item-linker-status.linked strong {
    color: var(--theme-raw-2f6a26);
}

.item-linker-status.new-item strong {
    color: var(--theme-raw-8a6a00);
}

.item-linker-status.error {
    color: var(--theme-raw-9b2034);
}

.item-linker-results {
    margin-top: 8px;
}

.item-match-list {
    display: grid;
    gap: 5px;
}

.item-match,
.item-linked-card {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--theme-raw-d2d3d6);
    background: var(--theme-raw-fff);
    padding: 6px;
    text-align: left;
}

.item-match {
    cursor: pointer;
}

.item-match:hover {
    border-color: var(--theme-raw-111216);
    background: var(--theme-raw-fafafa);
}

.item-linked-card {
    border: 2px solid var(--theme-raw-a7cb80);
    background: var(--theme-raw-f5faef);
}

.item-link-result-thumb {
    width: 46px;
    height: 40px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--theme-raw-292a2e);
    color: var(--theme-raw-fff);
    font-size: 13px;
    font-weight: 800;
}

.item-link-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-match-copy,
.item-linked-card > div {
    min-width: 0;
}

.item-match-copy b,
.item-linked-card b {
    display: block;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.15;
    text-overflow: ellipsis;
}

.item-match-copy small,
.item-linked-card small {
    display: block;
    margin-top: 2px;
    color: var(--theme-raw-777980);
    font-size: 9px;
    line-height: 1.25;
}

.item-link-warning {
    color: var(--theme-raw-95560b) !important;
}

.item-match-use,
.item-unlink-btn {
    border: 0;
    background: var(--theme-raw-111216);
    color: var(--theme-raw-fff);
    padding: 7px 8px;
    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.item-unlink-btn {
    background: var(--theme-raw-ececee);
    color: var(--theme-raw-33353a);
    border: 1px solid var(--theme-raw-c7c8cb);
}

@media (max-width: 760px) {
    .item-match,
    .item-linked-card {
        grid-template-columns: 44px minmax(0,1fr);
    }

    .item-match-use,
    .item-unlink-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* Electric Yellow builder theme */
.theme-builder-electric .item-linker-status{color:var(--theme-raw-8992aa)}
.theme-builder-electric .item-linker-status strong{color:var(--theme-raw-fff)}
.theme-builder-electric .item-linker-status.linked strong{color:var(--theme-page-accent)}
.theme-builder-electric .item-linker-status.new-item strong{color:var(--theme-raw-d7bf4d)}
.theme-builder-electric .item-linker-status.error{color:var(--theme-raw-ff6c8b)}
.theme-builder-electric .item-match,
.theme-builder-electric .item-linked-card{
    border-color:var(--theme-raw-3d4665);
    background:var(--theme-raw-11172e);
    color:var(--theme-raw-fff);
}
.theme-builder-electric .item-match:hover{
    border-color:var(--theme-page-accent);
    background:var(--theme-raw-171e38);
}
.theme-builder-electric .item-linked-card{
    border-color:var(--theme-page-accent);
    background:var(--theme-raw-rgba-231-255-0-055-0e4447);
}
.theme-builder-electric .item-match-copy small,
.theme-builder-electric .item-linked-card small{color:var(--theme-raw-8992aa)}
.theme-builder-electric .item-match-use{
    background:var(--theme-page-accent);
    color:var(--theme-ink);
}
.theme-builder-electric .item-unlink-btn{
    border-color:var(--theme-raw-46506d);
    background:var(--theme-raw-10162d);
    color:var(--theme-raw-fff);
}
