@import url("rscable-calculator-spacing.css?v=9a6c208247c5");
/* Shared desktop/mobile view; only calculator layout, theme tokens inherited. */
.rscable-cross { min-width: 0; color: var(--basic_text_black, #555558); padding-bottom: 48px; }
.rscable-cross *, .rscable-cross *::before, .rscable-cross *::after { box-sizing: border-box; }
.rscable-cross [hidden] { display: none !important; }
.rscable-cross h1 { margin: 0 0 16px; }
.rscable-cross h2 { margin: 0 0 16px; }
.rscable-cross h3 { margin: 32px 0 16px; }
.rscable-cross p { margin: 0 0 16px; }
.rscable-cross__intro { max-width: none; text-align: justify; text-align-last: start; }
.rscable-cross__hero { padding-bottom: 16px; }
.rscable-cross__layout { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 32px; align-items: start; }
.rscable-cross__layout > *, .rscable-cross__metrics > *, .rscable-cross__details > * { min-width: 0; }
.rscable-cross__card { padding: 24px; border: 1px solid var(--stroke_black, #ebedef); border-radius: var(--theme-outer-border-radius, 12px); background: var(--black_bg_black, #fff); margin-bottom: 24px; }
.rscable-cross__form { margin-bottom: 0; }
.rscable-cross__form[data-sticky="true"] { position: sticky; top: var(--cross-sticky-top, 16px); }
.rscable-cross fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.rscable-cross legend, .rscable-cross__field > label { display: block; padding: 0; margin: 0 0 8px; border: 0; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--white_text_black, #222228); }
.rscable-cross__field { margin-bottom: 16px; }
.rscable-cross__toggle { display: flex; gap: 8px; }
.rscable-cross__toggle label { flex: 1; min-width: 0; position: relative; cursor: pointer; margin: 0; }
.rscable-cross__toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rscable-cross__toggle span { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--stroke_black, #ebedef); border-radius: var(--theme-button-border-radius, 6px); padding: 8px; font-size: 14px; text-align: center; }
.rscable-cross__toggle input:checked + span, .rscable-cross__tabs [aria-selected="true"] { background: var(--theme-base-color, #257de3); border-color: var(--theme-base-color, #257de3); color: #fff; }
.rscable-cross__toggle input:focus-visible + span, .rscable-cross :is(button, select, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--theme-base-color, #257de3); outline-offset: 3px; }
.rscable-cross__power { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; }
.rscable-cross .form-control { width: 100%; min-width: 0; min-height: 44px; }
.rscable-cross .btn { min-height: 44px; height: auto; white-space: normal; overflow: visible; }
.rscable-cross__form .btn { width: 100%; margin-top: 8px; }
.rscable-cross .rscable-cross__hint { font-size: 13px; line-height: 1.5; color: var(--basic_text_black, #555558); margin: 8px 0 12px; }
.rscable-cross__error { color: #b42318; }
.rscable-cross [aria-invalid="true"] { border-color: #b42318; }
.rscable-cross__metrics, .rscable-cross__details { display: grid; gap: 16px; margin: 0 0 24px; }
.rscable-cross__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rscable-cross__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rscable-cross dt { font-size: 13px; font-weight: 400; line-height: 1.5; }
.rscable-cross dd { margin: 8px 0 0; font-size: 18px; line-height: 1.5; color: var(--white_text_black, #222228); overflow-wrap: anywhere; }
.rscable-cross__metrics strong { font-size: 28px; font-weight: 600; color: var(--theme-base-color, #257de3); }
.rscable-cross__meter { height: 10px; background: var(--darkerblack_bg_black, #f7f8fa); border-radius: 5px; }
.rscable-cross__meter span { display: block; height: 100%; border-radius: inherit; width: 0; }
.rscable-cross__meter[data-band="green"] span { background: #24824b; }
.rscable-cross__meter[data-band="yellow"] span { background: #c88c10; }
.rscable-cross__meter[data-band="red"] span { background: #c43b32; }
.rscable-cross__scroll { overflow-x: auto; max-width: 100%; }
.rscable-cross table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.5; }
.rscable-cross th, .rscable-cross td { padding: 12px; border-bottom: 1px solid var(--stroke_black, #ebedef); text-align: left; vertical-align: top; }
.rscable-cross th { font-weight: 500; }
.rscable-cross tbody tr[data-status="recommended"] { background: var(--theme-base-opacity-color, #257de31a); }
.rscable-cross__reference { min-width: 780px; background: var(--black_bg_black, #fff); }

.rscable-cross caption { text-align: left; padding: 12px 0; color: inherit; }
.rscable-cross__section { margin-top: 32px; }
.rscable-cross__muted { padding: 32px; background: var(--darkerblack_bg_black, #f7f8fa); border-radius: var(--theme-outer-border-radius, 12px); }
.rscable-cross__tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; }
.rscable-cross__tabs button { border: 1px solid var(--stroke_black, #ebedef); background: var(--black_bg_black, #fff); border-radius: var(--theme-button-border-radius, 6px); padding: 12px 16px; font: inherit; cursor: pointer; flex: 0 0 auto; }
.rscable-cross__prose { max-width: 860px; margin-left: auto; margin-right: auto; }
.rscable-cross__formula { padding: 20px; background: var(--darkerblack_bg_black, #f7f8fa); border-left: 4px solid var(--theme-base-color, #257de3); margin: 20px 0; }
.rscable-cross code { white-space: normal; overflow-wrap: anywhere; color: inherit; background: transparent; }
.rscable-cross__cta { margin-top: 32px; padding: 32px; border-radius: var(--theme-outer-border-radius, 12px); background: var(--card_bg_black, #fff); border: 1px solid var(--rk-border, #e1e5eb); transition: box-shadow .2s ease, border-color .2s ease; color: var(--basic_text_black, #555558); display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.rscable-cross__cta > div { flex: 1 1 320px; min-width: 0; }
.rscable-cross__cta h2 { color: var(--white_text_black, #222228); }
.rscable-cross__cta p { margin: 0; }
/* Cable selection help keeps its blue hover and keyboard-focus highlight. */
.rscable-cross__cta:hover,
.rscable-cross__cta:focus-within {
    border-color: var(--rk-border-hover, #9fd4f2);
    box-shadow: 0 8px 24px rgba(30, 155, 224, .16);
}
@media (prefers-reduced-motion: reduce) {
    .rscable-cross__cta { transition: none; }
}
.rscable-cross summary { cursor: pointer; color: var(--white_text_black, #222228); }
.rscable-cross details.rscable-cross__card summary { margin-bottom: 12px; }
@media (max-width: 1100px) { .rscable-cross__layout { grid-template-columns: 340px minmax(0, 1fr); gap: 20px; } .rscable-cross__metrics { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 768px) {
    .rscable-cross h1 { font-size: 24px; line-height: 32px; }
    .rscable-cross__layout { grid-template-columns: minmax(0, 1fr); }
    .rscable-cross__form[data-sticky="true"] { position: static; }
    .rscable-cross__card, .rscable-cross__muted { padding: 20px 16px; }
    .rscable-cross__metrics, .rscable-cross__details { grid-template-columns: minmax(0, 1fr); }
    .rscable-cross__section, .rscable-cross__cta { margin-top: 32px; }
    .rscable-cross__cta { padding: 24px; }
    .rscable-cross__cta > div { flex-basis: 100%; }
    .rscable-cross__reference { font-size: 12px; }
}

/* FAQ uses the same shared markup, styles and behavior as the diameter page. */
.rscable-cross .rscable-delivery-page__faq-a p { margin: 0; }

/* Compact composition; control geometry stays native to the site. */
.rscable-cross__form { padding: 20px; }
.rscable-cross__form h2 { margin-bottom: 12px; }
.rscable-cross__form fieldset, .rscable-cross__field { margin-bottom: 10px; }
.rscable-cross__form legend, .rscable-cross__field > label { margin-bottom: 4px; }
.rscable-cross__form .form-control { height: 44px; margin: 0; }
.rscable-cross__power { align-items: start; }
.rscable-cross__form .rscable-cross__hint { margin: 4px 0 0; }
.rscable-cross__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.rscable-cross__actions .btn { width: auto; margin: 0; padding-left: 12px; padding-right: 12px; }
.rscable-cross__muted { padding: 20px; background: var(--black_bg_black, #fff); border: 1px solid var(--stroke_black, #ebedef); }
.rscable-cross__reference { font-size: 13px; line-height: 20px; min-width: 680px; }
.rscable-cross__reference th, .rscable-cross__reference td { padding: 4px 8px; text-align: center; vertical-align: middle; border: 1px solid var(--stroke_black, #ebedef); }
.rscable-cross__reference thead th, .rscable-cross__reference tbody th { background: var(--darkerblack_bg_black, #f8f8f8); color: var(--white_text_black, #222228); }
.rscable-cross__reference tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--theme-base-color, #257de3) 3%, var(--black_bg_black, #fff)); }
.rscable-cross__reference .is-axis { background: color-mix(in srgb, var(--theme-base-color, #257de3) 12%, var(--black_bg_black, #fff)) !important; }
.rscable-cross__reference .is-cell { background: var(--theme-base-color, #257de3) !important; color: #fff; }
.rscable-cross__reference caption { padding: 4px 0 8px; font-size: 13px; }
.rscable-cross__tabs { margin-bottom: 8px; }
.rscable-cross__tabs button { padding: 8px 12px; font-size: 14px; }
.rscable-cross__prose h3 { margin-top: 24px; }
@media (max-width: 1024px) {
    .rscable-cross__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .rscable-cross__form[data-sticky] { position: static; }
}
@media (max-width: 768px) {
    .rscable-cross__form, .rscable-cross__muted { padding: 16px; }
    .rscable-cross__form .form-control { font-size: 16px; }
    .rscable-cross__section, .rscable-cross__cta { margin-top: 24px; }
    .rscable-cross .rscable-catalog-listing-faq { margin-top: 24px; }
}

.rscable-cross__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.rscable-cross__pair .rscable-cross__field { display: flex; flex-direction: column; min-width: 0; }
.rscable-cross__pair label { flex: 1; }
.rscable-cross .rscable-cross__power .form-control { margin: 0 !important; align-self: start; }
@media (max-width: 374px) {
    .rscable-cross__pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .rscable-cross__actions { grid-template-columns: minmax(0, 1fr); }
}

/* Information hints use the diameter calculator's floating tooltip surface. */
.rscable-cross__heading { display: flex; align-items: center; gap: 8px; }
.rscable-cross__heading > span { min-width: 0; }
.rscable-cross__info { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; padding: 4px; border: 0; background: transparent; color: var(--secondary, #8d8d8d); cursor: help; }
.rscable-cross__info:hover, .rscable-cross__info:focus-visible { color: var(--theme-base-color, #257de3); }
.rscable-cross__tooltip { position: fixed; z-index: 1100; width: 340px; max-width: calc(100vw - 24px); max-height: min(420px, calc(100vh - 24px)); overflow: auto; overscroll-behavior: contain; padding: 12px 16px; border: 1px solid var(--stroke_black, #ebedef); border-radius: var(--theme-image-border-radius, 8px); background: var(--black_bg_black, #fff); color: var(--white_text_black, #222228); box-shadow: 0 4px 20px #0002; font-size: 13px; line-height: 20px; font-weight: 400; overflow-wrap: anywhere; }
.rscable-cross__tooltip p, .rscable-cross__tooltip .rscable-cross__hint { margin: 0 0 8px; font-size: inherit; line-height: inherit; }
.rscable-cross__tooltip p:last-child, .rscable-cross__tooltip ul { margin-bottom: 0; }
.rscable-cross__tooltip ul { padding-left: 18px; }
.rscable-cross__tooltip li { margin-bottom: 6px; }

.rscable-cross__tooltip-layer { position: fixed; inset: 0; z-index: 1100; padding: 0; pointer-events: none; }
.rscable-cross__tooltip-layer .rscable-cross__tooltip { pointer-events: auto; }

/* Empty results reuse the diameter calculator's muted placeholder surface. */
.rscable-cross__results { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.rscable-cross__empty { display: flex; flex: 1; min-height: 220px; margin: 0; }
.rscable-cross__placeholder { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 44px 16px; text-align: center; background: var(--darkerblack_bg_black, #f7f8fa); border-radius: var(--theme-image-border-radius, 8px); color: var(--basic_text_black, #666); }
.rscable-cross__placeholder svg { flex: 0 0 auto; margin-bottom: 16px; color: var(--theme-base-color, #257de3); }
.rscable-cross__placeholder p { margin: 0; }
#cross-tooltip-result { width: 620px; max-height: none; overflow: visible; line-height: 18px; }
#cross-tooltip-result p, #cross-tooltip-result ul { line-height: inherit; }
#cross-tooltip-result li { margin-bottom: 4px; }
@media (max-height: 600px) { #cross-tooltip-result { font-size: 12px; line-height: 16px; padding: 10px 12px; } }

/* Keep the desktop columns on the same bottom baseline. */
.rscable-cross__results [data-cross-result] > .rscable-cross__card:last-child { margin-bottom: 0; }
