#js-tool-container-cable-channel-fill-calculator .cc-app { --cc-orange: #ff8a4c; --cc-blue: #4f83ff; --cc-orange-soft: rgba(255,138,76,0.15); display: flex; flex-direction: column; gap: 22px; color: var(--text-primary); font-family: var(--font-sans); }
#js-tool-container-cable-channel-fill-calculator .tbcalc-fieldset { margin: 0 0 14px; padding: 14px 16px 16px; border: 1px solid var(--border-color); border-radius: var(--radius-md); }
#js-tool-container-cable-channel-fill-calculator .tbcalc-fieldset:last-child { margin-bottom: 0; }
#js-tool-container-cable-channel-fill-calculator .tbcalc-legend { padding: 0 6px; color: var(--text-secondary); font-size: 0.95rem; font-weight: 650; }
#js-tool-container-cable-channel-fill-calculator .tbcalc-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
#js-tool-container-cable-channel-fill-calculator .tbcalc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#js-tool-container-cable-channel-fill-calculator .tbcalc-field label { color: var(--text-primary); font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
#js-tool-container-cable-channel-fill-calculator .tbcalc-field input, #js-tool-container-cable-channel-fill-calculator .tbcalc-field select { box-sizing: border-box; min-height: 44px; width: 100%; padding: 9px 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-secondary); color: var(--text-primary); font: inherit; }
#js-tool-container-cable-channel-fill-calculator .tbcalc-field input:focus, #js-tool-container-cable-channel-fill-calculator .tbcalc-field select:focus { border-color: var(--border-focus); }
#js-tool-container-cable-channel-fill-calculator .tbcalc-hint { color: var(--text-muted); font-size: 0.8rem; line-height: 1.35; }
#js-tool-container-cable-channel-fill-calculator .cc-cable-list { display: flex; flex-direction: column; gap: 11px; }
#js-tool-container-cable-channel-fill-calculator .cc-cable-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--border-color); }
#js-tool-container-cable-channel-fill-calculator .cc-cable-row:last-child { border-bottom: 0; padding-bottom: 0; }
#js-tool-container-cable-channel-fill-calculator .cc-line-no { padding-top: 11px; color: var(--cc-orange); font-family: var(--font-mono); font-size: 0.76rem; font-weight: 800; }
#js-tool-container-cable-channel-fill-calculator .cc-outcome-stage { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 22px; align-items: center; padding: 26px; overflow: hidden; border: 1px solid rgba(255,138,76,0.46); border-radius: 12px 28px 28px 28px; background: radial-gradient(circle at 94% 4%, rgba(255,138,76,0.23), transparent 35%), linear-gradient(135deg, var(--bg-secondary), var(--cc-orange-soft)); box-shadow: 0 18px 44px rgba(107,57,27,0.14); }
#js-tool-container-cable-channel-fill-calculator .cc-answer { min-height: 184px; display: flex; flex-direction: column; justify-content: center; }
#js-tool-container-cable-channel-fill-calculator .cc-eyebrow { color: var(--cc-orange); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
#js-tool-container-cable-channel-fill-calculator .cc-hero-row { display: flex; align-items: baseline; gap: 9px; margin: 8px 0 7px; min-width: 0; }
#js-tool-container-cable-channel-fill-calculator .tbcalc-result-value { color: var(--text-primary); font-size: clamp(3.1rem, 9vw, 5.5rem); font-weight: 800; letter-spacing: -0.08em; line-height: 0.94; }
#js-tool-container-cable-channel-fill-calculator .tbcalc-unit { color: var(--text-secondary); font-size: 1rem; font-weight: 700; }
#js-tool-container-cable-channel-fill-calculator .cc-hero-note { max-width: 39rem; margin: 0; color: var(--text-secondary); font-size: 0.93rem; line-height: 1.5; }
#js-tool-container-cable-channel-fill-calculator .cc-capacity-dial { display: flex; flex-direction: column; align-items: center; gap: 10px; }
#js-tool-container-cable-channel-fill-calculator .cc-dial-track { display: grid; place-items: center; width: 176px; aspect-ratio: 1; padding: 10px; border-radius: 50%; background: conic-gradient(var(--cc-orange) var(--cc-progress, 40%), rgba(255,138,76,0.18) 0); box-shadow: 0 0 0 1px rgba(255,138,76,0.4), 0 0 34px rgba(255,138,76,0.2); transition: background 160ms ease-out; }
#js-tool-container-cable-channel-fill-calculator .cc-dial-fill { display: none; }
#js-tool-container-cable-channel-fill-calculator .cc-dial-core { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: var(--bg-secondary); text-align: center; }
#js-tool-container-cable-channel-fill-calculator .cc-dial-core span { max-width: 92px; color: var(--text-muted); font-size: 0.73rem; line-height: 1.25; }
#js-tool-container-cable-channel-fill-calculator .cc-dial-core output { margin-top: 5px; color: var(--text-primary); font-size: 1rem; font-weight: 800; }
#js-tool-container-cable-channel-fill-calculator .cc-dial-caption { display: flex; justify-content: space-between; width: 176px; color: var(--text-muted); font-size: 0.72rem; }
#js-tool-container-cable-channel-fill-calculator .cc-status { margin: 16px 0 0; border-radius: 14px; }
#js-tool-container-cable-channel-fill-calculator .cc-route-visual { position: relative; margin-top: 16px; padding: 18px 20px 16px; overflow: hidden; border: 1px solid var(--border-color); border-radius: 18px 18px 6px 18px; background: repeating-linear-gradient(0deg, rgba(79,131,255,0.04) 0 1px, transparent 1px 14px), var(--bg-secondary); }
#js-tool-container-cable-channel-fill-calculator .cc-route-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--text-secondary); font-size: 0.82rem; font-weight: 700; }
#js-tool-container-cable-channel-fill-calculator #cc-res-cable-count { color: var(--cc-blue); font-size: 0.77rem; }
#js-tool-container-cable-channel-fill-calculator .cc-cable-cloud { display: flex; align-items: center; gap: 12px; min-height: 102px; padding: 20px 16px 17px; }
#js-tool-container-cable-channel-fill-calculator .cc-cable-dot { display: block; width: 36px; height: 36px; min-width: 8px; min-height: 8px; border: 3px solid var(--bg-secondary); border-radius: 50%; background: linear-gradient(145deg, var(--cc-orange), var(--cc-blue)); box-shadow: 0 0 0 1px rgba(79,131,255,0.6), 0 7px 18px rgba(79,131,255,0.2); transition: width 160ms ease-out, height 160ms ease-out, opacity 160ms ease-out; }
#js-tool-container-cable-channel-fill-calculator .cc-capacity-track { position: relative; height: 15px; border-radius: 99px; background: rgba(79,131,255,0.12); overflow: visible; }
#js-tool-container-cable-channel-fill-calculator .cc-capacity-used { position: absolute; inset: 0 auto 0 0; width: 1%; max-width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cc-blue), var(--cc-orange)); transition: width 160ms ease-out; }
#js-tool-container-cable-channel-fill-calculator .cc-capacity-limit { position: absolute; top: -5px; left: 40%; width: 2px; height: 25px; border-radius: 2px; background: var(--text-primary); box-shadow: 0 0 0 3px var(--bg-secondary); transition: left 160ms ease-out; }
#js-tool-container-cable-channel-fill-calculator .cc-capacity-scale { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; color: var(--text-muted); font-size: 0.72rem; }
#js-tool-container-cable-channel-fill-calculator .cc-visual-alt { margin: 10px 0 0; color: var(--text-muted); font-size: 0.75rem; line-height: 1.4; }
#js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
#js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 14px 13px; border-right: 1px solid var(--border-color); }
#js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon > div:last-child { border-right: 0; }
#js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon span { color: var(--text-muted); font-size: 0.74rem; line-height: 1.3; }
#js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon output { color: var(--text-primary); font-size: 1rem; font-weight: 750; overflow-wrap: anywhere; }
#js-tool-container-cable-channel-fill-calculator .cc-formula-card { display: flex; align-items: center; gap: 14px; margin: 12px 0; padding: 15px 17px; border: 1px solid var(--border-color); border-left: 4px solid var(--cc-blue); border-radius: 13px; background: linear-gradient(90deg, var(--bg-secondary), rgba(79,131,255,0.08)); }
#js-tool-container-cable-channel-fill-calculator .cc-formula-index { color: var(--cc-blue); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; }
#js-tool-container-cable-channel-fill-calculator .cc-formula-card strong { display: block; margin-bottom: 4px; color: var(--text-secondary); font-size: 0.8rem; }
#js-tool-container-cable-channel-fill-calculator .tb-formula-main { color: var(--text-primary); font-family: var(--font-mono); font-size: 0.97rem; }
#js-tool-container-cable-channel-fill-calculator #cc-interpretation { margin: 16px 0 0; color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 760px) { #js-tool-container-cable-channel-fill-calculator .tbcalc-grid-3, #js-tool-container-cable-channel-fill-calculator .cc-outcome-stage { grid-template-columns: 1fr; } #js-tool-container-cable-channel-fill-calculator .cc-outcome-stage { padding: 20px; } #js-tool-container-cable-channel-fill-calculator .cc-answer { min-height: 0; } #js-tool-container-cable-channel-fill-calculator .cc-capacity-dial { flex-direction: row; justify-content: flex-start; } }
@media (max-width: 520px) { #js-tool-container-cable-channel-fill-calculator .cc-cable-row { grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; } #js-tool-container-cable-channel-fill-calculator .cc-cable-cloud { gap: 6px; padding-left: 4px; padding-right: 4px; } #js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); } #js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon > div:nth-child(2) { border-right: 0; } #js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon > div:nth-child(-n+2) { border-bottom: 1px solid var(--border-color); } #js-tool-container-cable-channel-fill-calculator .cc-metric-ribbon > div:nth-child(4) { border-right: 0; } }
@media (max-width: 390px) { #js-tool-container-cable-channel-fill-calculator .cc-cable-row { grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr); } #js-tool-container-cable-channel-fill-calculator .cc-cable-row .tbcalc-field label { font-size: 0.78rem; } }
