
.rlms-size-system-product {
    margin: 14px 0 4px;
    padding: 13px 14px;
    border: 1px solid #e6e6e8;
    border-radius: 14px;
    background: #fff;
}

.rlms-size-system-product__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
    font-size: 13px;
}

.rlms-size-system-product__row span {
    color: #666970;
}

.rlms-size-system-product__row strong {
    color: #111;
}

.rlms-size-system-product__link {
    margin: 7px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.rlms-size-system-product__note {
    margin: 8px 0 0;
    color: #6b6d72;
    font-size: 11px;
    line-height: 1.45;
}

.rlms-size-system-modal[hidden] {
    display: none !important;
}

.rlms-size-system-modal {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: grid;
    place-items: center;
    padding: 18px;
}

.rlms-size-system-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(17,17,20,.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.rlms-size-system-modal__panel {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.rlms-size-system-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.rlms-size-system-modal__head span {
    color: #e30613;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rlms-size-system-modal__head h2 {
    margin: 3px 0 0;
    font-size: 22px;
    line-height: 1.1;
}

.rlms-size-system-modal__close {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #dedee2;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 22px;
    cursor: pointer;
}

.rlms-size-system-modal__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 0 12px;
}

.rlms-size-system-modal__tabs button {
    min-height: 38px;
    border: 1px solid #d8d8dc;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

.rlms-size-system-modal__tabs button[aria-pressed="true"] {
    border-color: #111;
    background: #111;
    color: #fff;
}

.rlms-size-system-modal__table {
    border: 1px solid #e5e5e8;
    border-radius: 12px;
    overflow: hidden;
}

.rlms-size-system-modal__tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 9px 12px;
    border-top: 1px solid #ececef;
    font-size: 13px;
}

.rlms-size-system-modal__tr:first-child {
    border-top: 0;
}

.rlms-size-system-modal__tr--head {
    background: #f6f6f7;
    color: #686b72;
    font-size: 11px;
    font-weight: 700;
}

.rlms-size-system-modal__note {
    margin: 14px 0 0;
    color: #565960;
    font-size: 12px;
    line-height: 1.5;
}

.rlms-size-system-modal__guide {
    display: inline-block;
    margin-top: 10px;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
