.tm-card-phone {
    position: relative;
    min-width: 0;
}

.tm-card-phone > summary {
    display: block;
    list-style: none;
    cursor: pointer;
    text-align: center;
}

.tm-card-phone > summary.button {
    box-sizing: border-box;
    min-height: 44px;
}

.product-page-inner .contact .links .tm-card-phone > summary {
    max-width: 308px;
    line-height: 52px;
    margin-bottom: 14px;
}

.company-page .contacts .contact-links .tm-card-phone {
    margin-right: 16px;
}

.tm-card-phone > summary::-webkit-details-marker {
    display: none;
}

.tm-card-phone > summary:focus-visible,
.tm-card-phone-number button:focus-visible {
    outline: 2px solid #1a724b;
    outline-offset: 3px;
}

.tm-card-phone-number {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 8px 0;
}

.tm-card-phone-number a,
.product-page-inner .contact .links .tm-card-phone-number a,
.company-page .contacts .contact-links .tm-card-phone-number a {
    display: inline;
    margin: 0;
    width: auto;
    line-height: 1.4;
    font-size: 16px;
    color: #1b513b;
    font-weight: 650;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.tm-card-phone-number button {
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid #a9c1b4;
    border-radius: 7px;
    background: #fff;
    color: #1b513b;
    font-size: 13px;
    cursor: pointer;
}

.tm-card-phone-number [data-phone-status] {
    flex-basis: 100%;
    font-size: 13px;
}

.tm-card-phone-number [data-phone-status]:empty {
    display: none;
}

.tm-product-quick-contact .tm-card-phone > summary {
    display: flex;
}

.tm-product-quick-contact .tm-card-phone-number {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #dce6e0;
    border-radius: 9px;
    background: #fff;
}

@media (max-width: 768px) {
    .company-page .contacts .contact-links .tm-card-phone {
        margin: 0 0 10px;
    }
}

.tm-company-share { margin: 16px 0; }
.tm-company-share summary { cursor: pointer; color: #1b513b; font-weight: 600; }
.tm-company-share label { display: block; max-width: 480px; margin: 12px 0; }
.tm-company-share label span { display: block; }
.tm-company-share input[type="url"] { width: 100%; box-sizing: border-box; }
.tm-company-share [role="status"] { display: block; margin-top: 6px; }
