@import url("rscable-calculator-spacing.css?v=9a6c208247c5");
.rscable-drum { min-width: 0; padding-bottom: 48px; color: var(--basic_text_black, #555558); }
.rscable-drum *, .rscable-drum *::before, .rscable-drum *::after { box-sizing: border-box; }
.rscable-drum [hidden] { display: none !important; }
.rscable-drum h1 { margin: 0 0 16px; }
.rscable-drum__panel { position: relative; padding: 20px; margin: 20px 0; background: var(--black_bg_black, #fff); }
.rscable-drum__controls, .rscable-drum__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.rscable-drum__field { flex: 0 1 280px; min-width: 0; }
.rscable-drum__field label { display: block; font-size: 14px; margin: 0 0 8px; }
.rscable-drum .form-control { width: 100%; min-width: 0; }
.rscable-drum .btn { min-height: 44px; height: auto; white-space: normal; }
.rscable-drum__status { margin: 16px 0 0; }
.rscable-drum__result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 16px; padding-top: 16px; min-height: 290px; border-top: 1px solid var(--stroke_black, #ebedef); }
.rscable-drum__info { min-width: 0; }
.rscable-drum__info h2 { margin-top: 0; }
.rscable-drum__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 16px 0; }
.rscable-drum__facts dt { font-weight: 400; font-size: 14px; }
.rscable-drum__facts dd { margin: 2px 0 0; font-size: 22px; line-height: 28px; font-weight: 500; color: var(--white_text_black, #222228); overflow-wrap: anywhere; }
.rscable-drum__hint { color: var(--secondary, #8d8d8d); }
.rscable-drum__figure { min-width: 0; align-self: center; margin: 0; width: 100%; max-width: 520px; justify-self: center; }
.rscable-drum__figure svg { display: block; width: 100%; height: 220px; color: var(--theme-base-color, #257de3); }
.rscable-drum__outline { fill: color-mix(in srgb, var(--theme-base-color, #257de3) 8%, var(--black_bg_black, #fff)); stroke: currentColor; stroke-width: 2; }
.rscable-drum__dimension { fill: none; stroke: currentColor; stroke-width: 1.5; }
.rscable-drum__labels { fill: var(--white_text_black, #222228); font-size: 20px; font-family: inherit; }
.rscable-drum__figure figcaption { margin-top: 8px; }
.rscable-drum__reference { scroll-margin-top: 110px; }
.rscable-drum__reference h2 { margin: 12px 0 8px; }
.rscable-drum__legend { font-size: 13px; line-height: 20px; margin: 0 0 10px; }
.rscable-drum__tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 10px 0; }
.rscable-drum__tables table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; font-size: 13px; line-height: 20px; }
.rscable-drum__tables th, .rscable-drum__tables td { padding: 2px 8px; border: 1px solid var(--stroke_black, #ebedef); text-align: right; vertical-align: middle; }
.rscable-drum__tables th { font-weight: 500; background: var(--darkerblack_bg_black, #f8f8f8); }
.rscable-drum__tables th:first-child { text-align: center; width: 16%; }
.rscable-drum__tables thead th { padding-block: 5px; white-space: nowrap; }
.rscable-drum__tables tbody th { padding: 0; }
.rscable-drum__tables button { display: block; width: 100%; background: transparent; border: 0; color: var(--theme-base-color, #257de3); font: inherit; min-height: 24px; line-height: 20px; cursor: default; padding: 2px 4px; text-align: center; }
.rscable-drum__tables td { cursor: default; }
.rscable-drum__availability { min-height: 40px; margin-top: 8px; }
.rscable-drum__availability p { margin: 0; font-size: 13px; line-height: 20px; }
.rscable-drum__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rscable-drum .is-axis { background: color-mix(in srgb, var(--theme-base-color, #257de3) 12%, var(--black_bg_black, #fff)); }
.rscable-drum .is-cell { background: var(--theme-base-color, #257de3); color: var(--button_color_text, #fff); }
.rscable-drum .is-cell button { color: inherit; }
.rscable-drum tr.is-selected > :not(.is-cell) { background: color-mix(in srgb, var(--theme-base-color, #257de3) 20%, var(--black_bg_black, #fff)); }
.rscable-drum tr.is-selected > :first-child { box-shadow: inset 4px 0 var(--theme-base-color, #257de3); }
.rscable-drum tr.is-selected button { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.rscable-drum__seo { margin-top: 40px; }
.rscable-drum [data-drum-share-url] { margin-top: 16px; }
.rscable-drum :focus-visible { outline: 2px solid var(--theme-base-color, #257de3); outline-offset: 2px; }
@media (max-width: 1023px) {
    .rscable-drum__result { grid-template-columns: minmax(0, 1fr); }
    .rscable-drum__figure { width: 100%; max-width: 520px; justify-self: center; }
}
@media (max-width: 767px) {
    .rscable-drum__panel { padding: 16px; }
    .rscable-drum__controls .rscable-drum__field { flex: 1 1 100%; }
    .rscable-drum__facts { gap: 12px; }
    .rscable-drum__facts dd { font-size: 20px; line-height: 28px; }
    .rscable-drum__actions .btn { flex: 1 1 200px; }
}

.rscable-drum__views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) {
    .rscable-drum__views { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 280px; margin-inline: auto; }
}

@media (max-width: 1099px) {
    .rscable-drum__tables { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .rscable-drum__tables th, .rscable-drum__tables td { padding-inline: 4px; }
    .rscable-drum__tables button { min-height: 36px; }
    .rscable-drum__figure svg { height: 190px; }
    .rscable-drum__labels { font-size: 22px; }
}

.rscable-drum__actions { min-height: 44px; align-content: start; }


/* Копирование ссылки: тот же вид и состояния, что у калькулятора намотки. */
.rscable-drum__share { position: absolute; top: 20px; right: 20px; display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: auto; padding: 0; border: 0; border-radius: var(--border-radius, 6px); background: transparent; color: var(--theme-base-color, #257de3); cursor: pointer; }
.rscable-drum__share:hover, .rscable-drum__share:focus-visible { background: transparent; color: var(--theme-base-color, #257de3); }
.rscable-drum__share { color: var(--basic_text_black, #555); }
.rscable-drum__share svg { transition: transform .12s ease; }
.rscable-drum__share:active svg { transform: translateY(2px) scale(.94); }
.rscable-drum__share [role=tooltip] { position: absolute; right: 0; bottom: calc(100% + 6px); width: max-content; max-width: 240px; padding: 8px 10px; border-radius: var(--border-radius, 6px); color: var(--button_color_text, #fff); background: var(--white_text_black, #222228); font-size: 12px; line-height: 18px; font-weight: 400; visibility: hidden; opacity: 0; pointer-events: none; z-index: 25; }
.rscable-drum__share:hover [role=tooltip], .rscable-drum__share:focus-visible [role=tooltip] { visibility: visible; opacity: 1; }

.rscable-drum__controls { padding-right: 56px; }
@media (max-width: 767px) { .rscable-drum__share { top: 16px; right: 16px; } }
