.path-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem}
.path-index section,.path-task{padding:1rem 1.25rem;border:1px solid #bcc8b4;border-radius:12px;background:#fffdf5}
.path-index h2{font-size:1.3rem;margin:.25rem 0}.path-index ul{padding-left:1.2rem}.path-index li{margin:.6rem 0}
.path-tasks{display:grid;gap:.8rem}.path-task[open]{border-top:4px solid #3a624f}.path-task summary{cursor:pointer;font-size:1.15rem;font-weight:650}
.path-task form{margin-top:.9rem}.path-task .field-grid{margin:1rem 0}.path-task label{display:grid;align-content:start;gap:.4rem;font-weight:600}.path-task input,.path-task textarea,.path-task select{font:inherit;min-width:0;width:100%;box-sizing:border-box;padding:.65rem}.path-task .calc-buttons{display:flex;flex-wrap:wrap;gap:.6rem}.path-result{border-radius:.7rem;background:#edf1e4;padding:1rem;overflow-wrap:anywhere}.path-result strong{font-size:1.35rem}.path-result h3{margin:.2rem 0}.path-result details{margin:.75rem 0}.visual{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.button-sample,.palette-sample{padding:.5rem;margin-top:.6rem;border-radius:.4rem}.palette-sample{border-top:1rem solid;background:white;color:#222}.resistor{display:inline-flex;justify-content:space-evenly;width:9rem;background:#e4d3af;border-radius:1rem;margin:1rem;padding:.1rem .6rem}.resistor i{height:1.5rem;width:.45rem}.resistor i:last-child{margin-left:1rem}.path-task [role=status]:empty{display:none}
@media print{.path-task:not([open]),.calc-buttons,.hint-button,.related-tools{display:none!important}.path-result{break-inside:avoid}}

.theme-preview{width:100%;padding:1rem;border:1px solid #abb5a8;border-top:.55rem solid;border-radius:.5rem;color:#24362e}.theme-preview h4,.theme-preview p{margin:.2rem 0}.theme-preview .button-sample{display:inline-block}.palette-sample{flex:1 1 5rem;text-align:center;border-top-width:2.5rem;font:600 .9rem monospace}.visual b{margin-top:.5rem}.resistor{border:2px solid #91816a}.plate-print{margin:1rem auto;max-width:21rem;aspect-ratio:3/1;border:3px solid #254961;display:grid;place-items:center;color:#18364a;background:repeating-linear-gradient(90deg,#d9e8ee 0 1px,#eef5f8 1px 1rem)}.plate-print span{background:white;padding:.35rem}.drawing-example figure{margin:.5rem}.path-task summary:hover,.path-index a:hover{text-decoration:underline}.path-task :focus-visible,.path-index a:focus-visible{outline:3px solid #954600;outline-offset:2px}

.path-task [hidden]{display:none!important}#gauge-chart{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}#gauge-chart :is(td,th){border-bottom:1px solid #b3c0ac;padding:.4rem;text-align:right}.path-task input[type=color]{height:3rem;cursor:pointer}

.stock-shape{display:inline-block;background:#789089;border:2px solid #304e46;width:5rem;height:1.8rem;margin:.6rem 0}.stock-round{height:4rem;width:4rem;border-radius:50%}

.sheet-scroll{max-width:100%;width:100%;overflow-x:auto}.sheet-scroll table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.sheet-scroll :is(th,td){padding:.42rem;text-align:left;border-bottom:1px solid #b5c4b5}.selected-gauge{font-weight:700;background:#d9ebd8}#gauge .sheet-scroll{max-height:20rem}.path-task{min-width:0}#stock-unit{max-width:18rem}

@media(max-width:600px){
  #buying .path-result table,#buying .path-result tbody{display:block}
  #buying .path-result thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #buying .path-result tr{display:block;padding:.4rem .65rem;margin:.6rem 0;background:#fffdf5;border:1px solid #bdcbbb;border-radius:.5rem}
  #buying .path-result td{display:flex;justify-content:space-between;gap:.6rem;overflow-wrap:normal}
  #buying .path-result td::before{content:attr(data-label);font-weight:600}
  #buying .path-result td:first-child{font-weight:700;color:#1d4739}
  #buying .path-result td:last-child{border:0}
}

.coil-material-field{grid-column:1/-1}.coil-material-field select{max-width:32rem}#coil-density-chart{max-width:38rem;margin:.65rem 0}#coil-density-chart summary{font-size:1rem}#coil-density-chart table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}#coil-density-chart :is(th,td){padding:.45rem;border-bottom:1px solid #bdcbbb;text-align:right}#coil-density-chart th:first-child{text-align:left}#coil-density-chart caption{text-align:left;padding:.5rem 0}

.shop-directory h3{font-size:1rem;margin:1rem 0 .35rem}.shop-directory ul{margin-top:0}.shop-task-group{margin:1.5rem 0}.shop-task-group h2{margin-bottom:.7rem}

.density-pair {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:.6rem;max-width:26rem}
.path-task [aria-invalid="true"] {background:#fff1dd;border:2px solid #984c20;outline-offset:2px}
#blanking h3 {color:#214f42;margin:1.4rem 0 .5rem}
.strip-example {margin:1rem 0;padding:1rem;background:#eef2e8;border-radius:.65rem;max-width:36rem}
.strip-demo {display:flex;align-items:center;justify-content:space-evenly;background:#83968a;padding:.5rem;margin:.5rem 0;color:#142f26}
.strip-demo b {background:#fffdf6;border:2px solid #355a48;border-radius:.5rem;padding:.45rem}
.strip-demo i {font-size:.8rem;font-style:normal}

.strip-drawing {display:block;width:100%;height:auto;font:14px system-ui;fill:#214438}
#blanking .yield-short {background:#f9e5de;color:#902916;font-weight:700}
#blanking :is(.yield-surplus,.yield-met) {background:#deecdc;color:#245438;font-weight:700}

.coil-coverage{display:flex;gap:.4rem;flex-wrap:wrap;padding:0;width:100%;list-style:none}.coil-coverage li{padding:.35rem .6rem;border-radius:.35rem}

#blanking .equipment-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),max-content));gap:.85rem;align-items:end;margin-block:1rem}
#blanking .strip-drawing text {font-weight:700}
.blank-stock-pair{display:grid;grid-template-columns:minmax(8rem,12rem) minmax(12rem,24rem);align-items:end;gap:.85rem}.blank-stock-pair select{max-width:100%}@media(max-width:650px){.blank-stock-pair{grid-template-columns:minmax(0,1fr)}}

.path-task [role=status]:not(:empty),.calc-status-panel{box-sizing:border-box;background:#e4efe7;color:#183c2f;border-left:4px solid #437057;padding:.7rem 1rem;border-radius:.4rem}
.calc-status-panel{width:100%}.calc-status-panel p{margin:.3rem 0}
.path-task [role=status][data-state=warning]:not(:empty),.calc-status-panel.needs-attention{background:#fff1ce;border-color:#975319;color:#663708}
#blanking .strip-drawing text{fill:#145868}

.coil-order-plans{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.7rem}
.coil-order-plans>div{background:#fbf7ec;border:1px solid #acbfaf;border-radius:.7rem;padding:.85rem}
.coil-order-plans h4,.coil-order-plans p{margin:.3rem 0}.coil-order-plans>p{grid-column:1/-1}

#blanking .field-grid {display:flex;align-items:end;flex-wrap:wrap;gap:.85rem 1.25rem}
#blanking .field-grid label {max-width:min(100%,17rem)}
#blanking form input {width:min(100%,12ch);min-height:44px}
#blanking form h3:not(.path-result h3) {border-top:1px solid #b8c7b9;padding-top:1rem;margin-top:1.4rem}
#blanking form>details {margin:.85rem 0;padding:.7rem .9rem;border:1px solid #bdcabb;border-radius:.6rem}
.blanking-sample {display:flex;gap:.6rem 1rem;align-items:center;flex-wrap:wrap}
#blanking .calc-status-panel:not(.needs-attention),#blanking [role=status][data-state=complete]:not(:empty){background:#e7f2f6;color:#184550;border-color:#397286}
@media(max-width:650px){
  #blanking .equipment-fields,#blanking .field-grid {display:grid;grid-template-columns:minmax(0,1fr)}
  #blanking .field-grid label {max-width:100%}
}

#blanking .sheet-scroll caption{text-align:left;color:#214438;font-weight:700;font-size:1.12rem;padding:.6rem 0}
#blanking .sheet-scroll :is(th,td){border:1px solid #b3c5bb;padding:.55rem .65rem;line-height:1.35;vertical-align:top}
#blanking .sheet-scroll th{background:#dce9e2;color:#193e32;text-align:left}
#blanking .visual>details{width:100%}
@media(max-width:650px){
  #blanking .sheet-scroll thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #blanking .sheet-scroll tbody,#blanking .sheet-scroll tr{display:block}
  #blanking .sheet-scroll tbody tr{margin-bottom:.6rem;border:1px solid #b3c5bb}
  #blanking .sheet-scroll td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem;border:0;border-bottom:1px solid #c6d4ca}
  #blanking .sheet-scroll td::before{content:attr(data-label);font-weight:600}
  #blanking .sheet-scroll td:first-child{background:#dce9e2;font-weight:700}
}
