.leec-voltage-drop-calculator [hidden] { display: none !important; }
.leec-voltage-drop__fieldset { min-width: 0; margin: 0 0 1.25rem; padding: 0; border: 0; }
.leec-voltage-drop__fieldset > legend, .leec-voltage-drop__choice-group > legend { width: 100%; margin: 0 0 .75rem; color: var(--leec-ink); font-family: var(--serif, Georgia, serif); font-size: 1.12rem; font-weight: 600; }
.leec-voltage-drop__field-grid, .leec-voltage-drop__group--fields { display: grid; gap: .9rem; min-width: 0; }
.leec-voltage-drop__group { min-width: 0; }
.leec-voltage-drop__full, .leec-voltage-drop__group { grid-column: 1 / -1; }
.leec-voltage-drop-calculator .leec-calculator__field > select { width: 100%; }
.leec-voltage-drop-calculator .leec-calculator__control input:only-child { border-radius: 2px; }
.leec-voltage-drop__hint { margin: .35rem 0 0; color: var(--leec-soft); font-size: .8rem; line-height: 1.42; }
.leec-voltage-drop__field-error { margin: .35rem 0 0; color: #8a2f18; font-size: .82rem; font-weight: 700; line-height: 1.4; }
.leec-voltage-drop__choice-group { grid-column: 1 / -1; min-width: 0; margin: .15rem 0 0; padding: .8rem; border: 1px solid var(--leec-rule); background: #fff; }
.leec-voltage-drop__choice-group > legend { width: auto; margin: 0; padding: 0 .3rem; font-family: inherit; font-size: .88rem; font-weight: 750; }
.leec-voltage-drop__choice-group label { display: inline-flex; align-items: center; gap: .4rem; margin: .2rem 1rem .2rem 0; color: var(--leec-ink); font-size: .88rem; }
.leec-voltage-drop__choice-group input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--leec-signal); }
.leec-voltage-drop-calculator select:focus-visible, .leec-voltage-drop__choice-group input:focus-visible, .leec-voltage-drop__formula-scroll:focus-visible { outline: 3px solid var(--leec-signal-pale); outline-offset: 2px; border-color: var(--leec-signal); }
.leec-voltage-drop__context-note { margin-bottom: 0; }
.leec-voltage-drop__primary-result { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; margin-bottom: 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--leec-rule); }
.leec-voltage-drop__primary-result span { color: var(--leec-soft); font-size: .9rem; font-weight: 700; }
.leec-voltage-drop__primary-result strong { color: var(--leec-signal-dark); font-family: var(--serif, Georgia, serif); font-size: clamp(1.65rem, 6vw, 2.15rem); font-weight: 600; }
.leec-voltage-drop__results dl > div { display: contents; }
.leec-voltage-drop__warning { margin-top: .9rem; padding: .75rem .9rem; border-left: 3px solid #b54708; background: #fff4e5; color: #713b08; font-size: .88rem; font-weight: 700; line-height: 1.5; }
.leec-voltage-drop__calculation { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--leec-rule); }
.leec-voltage-drop__calculation h3 { margin: 0 0 .6rem; color: var(--leec-ink); font-family: var(--serif, Georgia, serif); font-size: 1.12rem; }
.leec-voltage-drop__formula-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; padding: .1rem 0 .35rem; }
.leec-voltage-drop__formula-scroll p { width: max-content; min-width: 100%; margin: .35rem 0; color: var(--leec-soft); font-family: var(--serif, Georgia, serif); font-size: .94rem; line-height: 1.45; }
.leec-voltage-drop__interpretation { margin: .9rem 0 0; color: var(--leec-soft); font-size: .9rem; line-height: 1.5; }
.leec-voltage-drop__related { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: 1rem; font-size: .87rem; }
.leec-voltage-drop__related a { color: var(--leec-signal-dark); font-weight: 750; }

@media (min-width: 640px) { .leec-voltage-drop__field-grid, .leec-voltage-drop__group--fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .leec-voltage-drop-calculator .leec-calculator__actions { display: grid; grid-template-columns: 1fr; } .leec-voltage-drop-calculator .leec-calculator__button { width: 100%; } .leec-voltage-drop__results dl { grid-template-columns: minmax(0, 1fr); gap: .15rem; } .leec-voltage-drop__results dd { margin-bottom: .55rem; text-align: left; } }
