.emt-cable-quantity{--cq-border:#d8e1e8;--cq-soft:#f5f8fa;--cq-ink:#10212d;--cq-muted:#5d6d78;--cq-accent:#0b6b5b;--cq-danger:#9c2b2b;--cq-warning:#8a5a00}.emt-cable-quantity .emt-calculator__intro{background:linear-gradient(135deg,#eef8f5,#f7fafc);border:1px solid var(--cq-border);border-radius:22px;padding:clamp(20px,4vw,34px);margin-bottom:18px}.emt-cable-quantity .emt-calculator__intro h2{margin:.2rem 0 .65rem;color:var(--cq-ink)}.emt-cable-quantity .emt-calculator__eyebrow{margin:0;color:var(--cq-accent);font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:.78rem}.emt-cable-quantity .emt-calculator__panel{border:1px solid var(--cq-border);border-radius:18px;padding:18px;margin:0 0 16px;background:#fff;min-width:0}.emt-cable-quantity .emt-calculator__panel>legend{padding:0 8px;font-weight:850;color:var(--cq-ink)}.emt-cable-quantity .emt-calculator__hint{background:var(--cq-soft);border-radius:12px;padding:12px 14px;margin:0 0 16px;color:var(--cq-muted)}.emt-cable-quantity .emt-field-grid--four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.emt-cable-quantity .emt-field{display:flex;flex-direction:column;gap:6px;min-width:0}.emt-cable-quantity .emt-field>span:first-child{font-weight:750;color:var(--cq-ink)}.emt-cable-quantity .emt-field small{color:var(--cq-muted);line-height:1.4}.emt-cable-quantity input,.emt-cable-quantity select{width:100%;min-height:44px;border:1px solid #b8c5ce;border-radius:10px;background:#fff;color:#15252f;padding:9px 11px;font:inherit}.emt-cable-quantity input:focus,.emt-cable-quantity select:focus{outline:3px solid rgba(11,107,91,.16);border-color:var(--cq-accent)}.emt-cable-quantity .emt-input-unit{display:flex;align-items:stretch}.emt-cable-quantity .emt-input-unit input{border-radius:10px 0 0 10px}.emt-cable-quantity .emt-input-unit b{display:flex;align-items:center;padding:0 10px;border:1px solid #b8c5ce;border-left:0;border-radius:0 10px 10px 0;background:#f1f5f7;color:#4b5d68}.emt-cable-quantity__toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.emt-cable-quantity__toolbar>.emt-field{max-width:520px;flex:1}.emt-cable-quantity__list{display:grid;gap:14px}.emt-cable-quantity__row{position:relative;border:1px solid var(--cq-border);border-radius:16px;padding:18px;background:#fbfcfd;min-width:0}.emt-cable-quantity__row>legend{font-weight:850;padding:0 8px}.emt-cable-quantity__remove{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#8a2d2d;text-decoration:underline;cursor:pointer}.emt-cable-quantity__add-row{display:flex;align-items:center;gap:16px;margin-top:14px}.emt-cable-quantity__add-row p{margin:0;color:var(--cq-muted)}.emt-cable-quantity .emt-calculator__actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.emt-cable-quantity .emt-calculator__error{border:1px solid #e0a8a8;background:#fff3f3;color:#7e2020;border-radius:14px;padding:14px}.emt-cable-quantity .emt-calculator__status{border-radius:16px;padding:16px 18px;margin:18px 0}.emt-cable-quantity .emt-calculator__status.is-success{background:#edf8f3;border:1px solid #9bcfb8}.emt-cable-quantity .emt-calculator__status.is-warning{background:#fff7e4;border:1px solid #e6c276}.emt-cable-quantity .emt-calculator__status.is-danger{background:#fff0f0;border:1px solid #df9b9b}.emt-cable-quantity .emt-calculator__status strong{display:block;font-size:1.1rem;color:var(--cq-ink)}.emt-cable-quantity .emt-calculator__status p{margin:.35rem 0 0}.emt-cable-quantity .emt-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.emt-cable-quantity .emt-metric{border:1px solid var(--cq-border);border-radius:14px;padding:14px;background:#fff}.emt-cable-quantity .emt-metric span,.emt-cable-quantity .emt-metric small{display:block;color:var(--cq-muted)}.emt-cable-quantity .emt-metric strong{display:block;font-size:1.35rem;color:var(--cq-ink);margin:.2rem 0}.emt-cable-quantity .emt-calculator__table-wrap{overflow-x:auto;margin:18px 0}.emt-cable-quantity table{width:100%;border-collapse:collapse;min-width:820px}.emt-cable-quantity th,.emt-cable-quantity td{padding:11px;border-bottom:1px solid var(--cq-border);text-align:left;vertical-align:top}.emt-cable-quantity th{background:#eef3f5;color:#263a45}.emt-cable-quantity td small{display:block;color:var(--cq-muted);margin-top:3px}.emt-cable-quantity__packing,.emt-cable-quantity__continuous,.emt-cable-quantity__method,.emt-cable-quantity__messages{border:1px solid var(--cq-border);border-radius:16px;padding:16px;margin:18px 0;background:#fff}.emt-cable-quantity__packing h3,.emt-cable-quantity__continuous h3,.emt-cable-quantity__method h3,.emt-cable-quantity__messages h3{margin-top:0}.emt-cable-quantity__packing-group+ .emt-cable-quantity__packing-group{border-top:1px solid var(--cq-border);padding-top:16px;margin-top:16px}.emt-cable-quantity__packing-group h4{margin:.2rem 0 .8rem}.emt-cable-quantity__packing-group h4 small{font-weight:500;color:var(--cq-muted)}.emt-cable-quantity__bins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.emt-cable-quantity__bin{border:1px solid #cbd6dc;border-radius:12px;padding:12px;background:#f8fafb}.emt-cable-quantity__bin ul{padding-left:18px;margin:.5rem 0}.emt-cable-quantity__bin p{margin:.5rem 0 0;color:var(--cq-muted)}.emt-cable-quantity__continuous>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.emt-cable-quantity__continuous article{display:flex;flex-direction:column;border:1px solid #e0a8a8;background:#fff5f5;border-radius:12px;padding:12px}.emt-cable-quantity__continuous small{color:#7a3737}.emt-cable-quantity__messages--danger{border-color:#df9b9b;background:#fff5f5}.emt-cable-quantity__messages--danger h3{color:var(--cq-danger)}.emt-cable-quantity__messages--warning{border-color:#e6c276;background:#fffaf0}.emt-cable-quantity__messages--warning h3{color:var(--cq-warning)}.emt-cable-quantity__messages--info{background:#f5f8fa}.emt-cable-quantity__messages ul{margin:0;padding-left:20px}.emt-cable-quantity .emt-calculator__result-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.emt-cable-quantity [hidden]{display:none!important}@media(max-width:1000px){.emt-cable-quantity .emt-field-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}.emt-cable-quantity .emt-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.emt-cable-quantity__bins{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.emt-cable-quantity .emt-field-grid--four,.emt-cable-quantity .emt-metrics,.emt-cable-quantity__bins,.emt-cable-quantity__continuous>div{grid-template-columns:1fr}.emt-cable-quantity__toolbar,.emt-cable-quantity__add-row{align-items:stretch;flex-direction:column}.emt-cable-quantity__toolbar .emt-button,.emt-cable-quantity__add-row .emt-button{width:100%}.emt-cable-quantity__remove{position:static;display:block;margin:-4px 0 10px auto}.emt-cable-quantity .emt-calculator__table-wrap{overflow:visible}.emt-cable-quantity table{min-width:0}.emt-cable-quantity thead{display:none}.emt-cable-quantity tbody,.emt-cable-quantity tr,.emt-cable-quantity td{display:block;width:100%}.emt-cable-quantity tr{border:1px solid var(--cq-border);border-radius:14px;padding:8px 12px;margin-bottom:10px;background:#fff}.emt-cable-quantity td{border:0;padding:7px 0 7px 43%;position:relative;min-height:30px}.emt-cable-quantity td:before{content:attr(data-label);position:absolute;left:0;top:7px;width:39%;font-weight:750;color:#526671}.emt-cable-quantity .emt-calculator__panel,.emt-cable-quantity__row{padding:14px}}@media print{.emt-cable-quantity .emt-calculator__form,.emt-cable-quantity .emt-calculator__result-actions{display:none!important}.emt-cable-quantity .emt-calculator__result{display:block!important}.emt-cable-quantity{font-size:11pt}.emt-cable-quantity__bins{grid-template-columns:repeat(2,1fr)}}
