.resistor-wrap{
    background:var(--bs-tertiary-bg);
    border-radius:.5rem;
    padding:1rem;
    display:flex;
    justify-content:center;
    align-items:center;
}
.resistor-svg{
    width:100%;
    max-width:500px;
    height:auto;
    color:var(--bs-secondary-color);
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:.75rem;
}
.result-item{
    background:var(--bs-tertiary-bg);
    padding:.65rem .85rem;
    border-radius:.4rem;
    border:1px solid var(--bs-border-color);
}
.result-label{
    font-size:.75rem;
    color:var(--bs-secondary-color);
    text-transform:uppercase;
    letter-spacing:.05em;
    margin-bottom:.25rem;
}
.result-value{
    font-size:1.05rem;
    font-weight:600;
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    color:var(--bs-body-color);
}

.band-color-select{
    display:flex;
    align-items:center;
    gap:.4rem;
}
.band-swatch{
    width:18px;
    height:18px;
    border-radius:3px;
    border:1px solid rgba(0,0,0,.2);
    flex-shrink:0;
}

.color-row{
    display:flex;
    align-items:center;
    gap:.5rem;
}
.color-row .color-swatch{
    width:18px;
    height:18px;
    border-radius:3px;
    border:1px solid rgba(0,0,0,.2);
}

.lookup-result-card{
    border:1px solid var(--bs-border-color);
    border-radius:.5rem;
    padding:1rem;
    margin-bottom:1rem;
}
.lookup-stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
    gap:.5rem;
    margin-top:.75rem;
    font-size:.85rem;
}
.lookup-stats .stat-label{color:var(--bs-secondary-color);}
.lookup-stats .stat-value{font-weight:600;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;}

.bands-strip{
    display:inline-flex;
    gap:.3rem;
    margin-top:.5rem;
    padding:.5rem .75rem;
    background:#d4a574;
    border-radius:.4rem;
    border:1px solid #8b6f47;
}
.bands-strip .strip-band{
    width:14px;
    height:36px;
    border-radius:2px;
    border:1px solid rgba(0,0,0,.25);
}
