.sl-locator {
    max-width: 1000px;
    margin: 30px auto;
    font-family: inherit;
}
.sl-search-box {
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.sl-search-box label {
    display: block;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.sl-search-row {
    display: flex;
    gap: 10px;
}
#sl-search-input {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #cfd5dc;
    border-radius: 9px;
    font-size: 16px;
}
#sl-search-button {
    border: 0;
    border-radius: 9px;
    padding: 0 22px;
    cursor: pointer;
    font-weight: 700;
    background: #1d4ed8;
    color: #fff;
}
.sl-search-help {
    margin-top: 8px;
    color: #667085;
    font-size: .9rem;
}
#sl-results { margin-top: 20px; }
.sl-result-count {
    margin-bottom: 10px;
    color: #667085;
    font-size: .9rem;
}
.sl-result {
    display: grid;
    grid-template-columns: 1.35fr .9fr;
    gap: 24px;
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 12px;
}
.sl-ref {
    display: inline-block;
    font-weight: 800;
    font-size: .9rem;
    background: #eef2ff;
    color: #3730a3;
    border-radius: 6px;
    padding: 4px 8px;
    margin-bottom: 8px;
}
.sl-result h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}
.sl-location {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}
.sl-stock-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.sl-progress {
    height: 18px;
    background: #edf0f2;
    border-radius: 999px;
    overflow: hidden;
}
.sl-progress-bar {
    display: block;
    height: 100%;
    border-radius: 999px;
    transition: width .35s ease;
}
.sl-progress-bar.critical { background: #d71920; }
.sl-progress-bar.low { background: #f28c28; }
.sl-progress-bar.medium { background: #e4bd21; }
.sl-progress-bar.good { background: #27a745; }
.sl-stock small {
    display: block;
    margin-top: 7px;
    color: #667085;
}
.sl-message, .sl-loading {
    padding: 18px;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    background: #fff;
}
@media (max-width: 700px) {
    .sl-result { grid-template-columns: 1fr; }
    .sl-search-row { flex-direction: column; }
    #sl-search-button { min-height: 46px; }
}
