#tepe-size-finder {
    box-sizing: border-box;
    max-width: 100%;
    scroll-margin-top: 6rem;
    margin: 1.5rem 0 2.5rem;
    padding: clamp(0.7rem, 3vw, 2rem);
    color: #18374b;
    background: #f3f8fc;
    border: 1px solid #c7dce8;
    border-radius: 1rem;
}
#tepe-size-finder h2 { margin: 0 0 .65rem; color: #123954; }
#tepe-size-finder p { max-width: 76ch; }
#tepe-size-finder [hidden] { display: none !important; }
#tepe-size-finder .tepe-size-control { margin: 1rem 0; }
#tepe-size-finder label { display: block; font-weight: 700; }
#tepe-size-finder select { margin-top: .3rem; width: min(100%, 22rem); min-height: 44px; color: #153950; background: white; }
#tepe-size-finder table { width: 100%; margin: 1rem 0 0; border-collapse: collapse; background: white; color: #17364b; }
#tepe-size-finder th, #tepe-size-finder td { text-align: left; vertical-align: middle; padding: .5rem .7rem; border: 0; border-bottom: 1px solid #d5e0e7; }
#tepe-size-finder thead th { color: #fff; background: #173e58; line-height: 1.3; }
#tepe-size-finder tbody th span { display: inline-block; font-weight: 400; white-space: nowrap; }
#tepe-size-finder .tepe-colour { display: inline-block; width: .9em; height: .9em; border: 1px solid #52616a; border-radius: 50%; margin-inline-end: .4em; vertical-align: baseline; }
.tepe-colour-0 { background: #f29bb6; } .tepe-colour-1 { background: #ee8b39; } .tepe-colour-2 { background: #ce3844; }
.tepe-colour-3 { background: #3478bc; } .tepe-colour-4 { background: #f3d850; } .tepe-colour-5 { background: #4a9b5b; }
.tepe-colour-6 { background: #8e60a8; } .tepe-colour-7 { background: #92999d; } .tepe-colour-8 { background: #272a2c; }
#tepe-size-finder .tepe-pack-links { display: flex; flex-wrap: wrap; gap: .25rem .55rem; }
#tepe-size-finder .tepe-pack-links a { display: inline-flex; align-items: center; min-height: 32px; color: #075484; font-weight: 600; text-decoration: underline; white-space: nowrap; }
#tepe-size-finder .tepe-size-source { margin: .85rem 0 0; }
.tepe-find-size-action { margin-inline-end: .4rem; margin-bottom: .4rem; }
.tepe-find-size-action + .tooth-button { background: transparent !important; border: 1px solid currentColor; color: #174966 !important; }
@media (max-width: 600px) {
    #tepe-size-finder th, #tepe-size-finder td { padding: .45rem .3rem; }
    #tepe-size-finder tbody th span { display: block; }
    #tepe-size-finder table { font-size: .9rem; }
}
