.layout>article:has(.selected-calculator){min-width:0}
.selected-calculator{min-width:0}.selected-calculator *{min-width:0}.selected-calculator [hidden]{display:none!important}.selected-calculator .card-head h2{font-size:1.35rem}.selected-note{padding:12px 16px;background:var(--brand-soft);border-left:3px solid var(--brand);border-radius:8px;color:var(--muted);font-size:.9rem}.selected-form{margin-top:20px}.selected-group{border:0;margin:0 0 22px;padding:0}.selected-group>legend{font-size:1.03rem;font-weight:800;margin-bottom:12px;padding:0}.selected-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.selected-calculator .field{display:flex;flex-direction:column;gap:5px}.selected-calculator input,.selected-calculator select{box-sizing:border-box;max-width:100%;width:100%;padding:11px 12px;border:1px solid #b9c7d9;background:white;color:var(--ink);border-radius:9px;font:inherit;min-height:44px}.selected-calculator input:focus,.selected-calculator select:focus{outline:2px solid var(--brand);outline-offset:2px}.selected-calculator label{font-size:.88rem;font-weight:700}.selected-calculator small{font-size:.78rem;line-height:1.5;color:var(--muted)}.selected-calculator button{min-height:44px;white-space:normal}.selected-calculator [aria-invalid=true]{border-color:#b42318;outline-color:#b42318}.selected-advanced,.selected-storage{border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:0 16px}.selected-calculator summary,.selected-faq summary{cursor:pointer;font-weight:750;padding:14px 0}.selected-advanced .selected-group{margin:4px 0 18px}.selected-row{border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:12px;background:var(--surface)}.selected-row .selected-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.selected-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.selected-row-head .secondary{padding:5px 10px;font-size:.8rem;min-height:36px}.selected-buttons{display:flex;flex-wrap:wrap;gap:8px}.selected-storage .selected-buttons{margin:14px 0}.selected-upload{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 12px;border:1px solid var(--line);border-radius:9px;cursor:pointer}.selected-upload input{width:auto;max-width:210px;padding:0;border:0;font-size:.8rem;min-height:30px}.selected-error{padding:14px 16px;border:1px solid #f2b8b2;border-radius:10px;background:#fff0ee;color:#8b2118;margin:16px 0}.selected-result{border-top:1px solid var(--line);margin-top:24px;padding-top:24px;overflow-wrap:anywhere}.selected-answer{padding:22px;border:1px solid #b9d1fc;border-radius:15px;background:linear-gradient(130deg,#edf4ff,#f4faf8)}.selected-answer h3{margin:0 0 8px;font-size:1rem}.selected-value{display:block;font-size:clamp(1.45rem,3vw,2rem);line-height:1.3;letter-spacing:-.025em}.selected-answer p{margin:10px 0 0;font-size:.92rem}.selected-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.selected-metric{border:1px solid var(--line);border-radius:10px;padding:13px;background:#fff}.selected-metric span{display:block;color:var(--muted);font-size:.8rem}.selected-metric strong{display:block;font-size:1.08rem;margin-top:4px}.selected-result h3{font-size:1rem;margin:22px 0 10px}.selected-result .selected-answer h3{margin-top:0}.selected-result ol{padding-left:22px}.selected-result li{margin:7px 0;font-size:.9rem}.selected-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px;max-width:100%;margin:14px 0;overscroll-behavior-x:contain}.selected-table{border-collapse:collapse;width:100%;font-size:.85rem;white-space:nowrap}.selected-table th,.selected-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}.selected-table th{background:var(--surface);font-weight:750}.selected-table caption{text-align:left;font-weight:750;padding:12px;white-space:normal}.selected-result details>summary{color:var(--brand)}.selected-result table tr:last-child td{border-bottom:0}.selected-examples{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.selected-examples h3{font-size:1rem}.selected-share{margin:15px 0}.selected-share input{margin-top:7px;font-size:.8rem}.selected-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.selected-chart{margin:18px 0}.selected-chart svg{display:block;width:100%;height:auto;max-height:260px;background:var(--surface);border-radius:10px}.selected-chart figcaption{font-size:.8rem;color:var(--muted);margin-top:8px}.selected-chart text{fill:#42516c;font-size:12px}.selected-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:.8rem}.selected-legend span:before{content:'';display:inline-block;width:18px;height:3px;vertical-align:middle;background:#2459d8;margin-right:7px}.selected-legend span:nth-child(2):before{background:#078b73}.selected-fraction-bar{display:block;width:100%;height:22px}.selected-warning{border-left:3px solid #b97510;padding:10px 14px;background:#fff7e8;border-radius:6px;font-size:.9rem}.selected-faq details{border-bottom:1px solid var(--line)}.selected-calculator [data-selected-status]{font-size:.85rem;color:var(--muted)}
@media(max-width:650px){.selected-fields,.selected-row .selected-fields{grid-template-columns:minmax(0,1fr)}.selected-metrics{grid-template-columns:minmax(0,1fr)}.selected-answer{padding:16px}.selected-calculator .actions{display:flex;flex-wrap:wrap;gap:8px}.selected-calculator .actions button{flex:1 1 140px}.selected-row-head{align-items:center}.selected-advanced,.selected-storage{padding:0 12px}.selected-value{font-size:1.55rem}}
@media print{.site-header,.site-footer,.selected-storage,.selected-examples,.selected-buttons,.selected-form .actions,.selected-share,.selected-row-head button,[data-add-row],.selected-faq,.ad-slot{display:none!important}.selected-calculator,.selected-result,.selected-answer{box-shadow:none;border-color:#aaa}.selected-advanced:not([open]){display:none}.selected-table-wrap{overflow:visible}.selected-table{white-space:normal;font-size:9pt}.selected-answer,.selected-metric{break-inside:avoid}.selected-chart{break-inside:avoid}}

.resistor-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:100px;margin:1rem 0}.resistor-wire{position:absolute;left:0;right:0;height:8px;background:#92969b}.resistor-body{position:relative;display:flex;justify-content:space-around;gap:10px;padding:0 16px;width:260px;max-width:85%;height:72px;background:#e7cda2;border:2px solid #8d7656;border-radius:22px}.resistor-band{width:22px;padding:0;border:1px solid #363636;border-radius:0;min-width:0}.resistor-band:focus-visible{outline:3px solid #2459d8;outline-offset:4px}.resistor-sequence{font-weight:650;text-align:center}
.resistor-black{background:#222222}.resistor-brown{background:#854d2e}.resistor-red{background:#d82432}.resistor-orange{background:#ed7d16}.resistor-yellow{background:#f1d332}.resistor-green{background:#218447}.resistor-blue{background:#225ac4}.resistor-violet{background:#8a41ac}.resistor-grey{background:#92969b}.resistor-white{background:#f7f7ef}.resistor-gold{background:#c8a447}.resistor-silver{background:#c5cbd0}body:has(.selected-calculator) .verification-strip{display:grid;grid-template-columns:40px minmax(0,1fr)}body:has(.selected-calculator) .verification-strip>a{grid-column:2;margin-left:0}body:has(.selected-calculator) .verification-strip>div{min-width:0}body:has(.selected-calculator) .page-head h1{font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.18;letter-spacing:-.025em;overflow-wrap:anywhere}body:has(.selected-calculator) .breadcrumbs{white-space:normal;flex-wrap:wrap;overflow-wrap:anywhere}
