.power-tools{padding:18px 16px 26px;color:#263746;font-size:13px;background:#f6f8fa}.power-tools[hidden]{display:none}.power-tools h2{font-size:18px;margin:4px 0}.power-tools h3{font-size:17px;margin:5px 0 12px}.power-tools h4{font-size:14px;margin:0 0 10px}.power-tools h5{font-size:13px;margin:0 0 10px}.power-tools button,.power-tools input,.power-tools select,.power-tools textarea{font:inherit}.power-tools button{padding:8px 11px;border:1px solid #c8d3db;border-radius:6px;background:#fff;color:#263746;cursor:pointer}.power-tools button:hover{border-color:#537586;background:#eff5f8}.power-tools button:disabled{opacity:.5;cursor:default}.power-tools label{display:flex;flex-direction:column;gap:5px;color:#425464;font-size:12px}.power-tools input,.power-tools select,.power-tools textarea{border:1px solid #c9d3db;border-radius:5px;background:#fff;width:100%;padding:8px;color:#263746;box-sizing:border-box}.power-tools textarea{resize:vertical;min-height:65px}.power-tools input:focus,.power-tools select:focus,.power-tools textarea:focus{outline:2px solid #4d90aa;outline-offset:1px}.power-tools-top,.power-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.power-tools-top button{flex-shrink:0}.power-eyebrow{font-size:10px;letter-spacing:1.1px;font-weight:700;color:#697e8e}.power-feedback{font-size:11px;color:#607789;margin:9px 0 12px;min-height:16px}.power-feedback.error{color:#a82e31;background:#fff0ee;padding:9px;border-radius:5px}.power-search{display:grid;gap:7px;margin-bottom:15px}.power-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.power-form-grid>label:first-child[data-wide]{grid-column:1/-1}.power-card,.power-flow-card{border:1px solid #d7e0e7;border-radius:9px;padding:15px;background:#fff;margin:12px 0}.power-card-heading h3{margin-bottom:0;overflow-wrap:anywhere}.power-card-heading>button{padding:2px 7px;font-size:20px;border-color:transparent}.power-data-section{padding-top:16px;margin-top:16px;border-top:1px solid #e1e7ec}.power-readonly{font-size:10px;color:#758a98;font-weight:400;padding-left:6px}.power-facts{margin:10px 0}.power-facts div{display:flex;justify-content:space-between;gap:12px;margin:7px 0}.power-facts dt{color:#6a7c88}.power-facts dd{text-align:right;font-weight:600;margin:0}.power-muted,.power-empty{color:#70818e;font-size:11px;line-height:1.5}.power-empty{padding:6px 0}.power-wide-label{margin:12px 0 8px}.power-checkbox{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.power-checkbox input{width:16px;height:16px;flex:0 0 16px}.power-note-status,.power-access-status{font-size:11px;color:#748493;padding-left:8px}.power-receptacle{margin:10px 0;padding:11px;border:1px solid #d7e1e7;border-radius:6px;background:#f8fafb}.power-warning{padding:9px 10px;border-radius:5px;color:#865e15;background:#fff4d8;font-size:11px;line-height:1.5}.power-placement{background:#e3f0f5;border:1px solid #9cc2d0;color:#315e74;padding:10px;border-radius:6px;line-height:1.5}.power-run-row{width:100%;display:flex;flex-direction:column;text-align:left;gap:5px;margin:7px 0}.power-run-row span{font-size:11px;color:#6a7d8b}.power-location-list>summary,.power-report>summary{cursor:pointer;color:#506c7e;font-size:12px;padding:10px 0}.power-location-row{display:flex;gap:10px;align-items:center;justify-content:flex-start;width:100%;border-radius:0!important;border-width:0 0 1px!important;text-align:left;padding:11px 5px!important}.power-location-row.selected{background:#e4eef3}.power-location-row b{display:block;font-size:12px}.power-location-row small{font-size:10px;color:#7a8c99;display:block;line-height:1.5;margin-top:3px}.power-number{background:#e2e9ee;border-radius:5px;font-weight:700;padding:6px;min-width:34px;text-align:center;font-size:11px}.power-flow-card>label{margin:11px 0}.power-flow-chain{list-style:none;padding:0;margin:10px 0 14px;counter-reset:power-step}.power-flow-chain li{display:flex;justify-content:space-between;align-items:center;padding:3px 0;counter-increment:power-step}.power-flow-chain li:not(.power-empty)::before{content:counter(power-step);color:#7a8c99;padding:0 10px 0 0;font-size:11px}.power-flow-chain li>button:first-of-type{flex:1;text-align:left}.power-flow-chain li>button:last-of-type:not(:first-of-type){border-color:transparent;margin-left:5px}.power-tools button.power-primary{background:#235b70;border-color:#235b70;color:#fff;margin-right:6px}.power-inline-editor{margin:12px 0;padding:12px;background:#eaf1f5;border-radius:6px}.power-inline-editor>label,.power-inline-editor>.power-form-grid{margin:10px 0}.power-inline-editor button{margin-right:6px}.power-issue{background:#fff0ee;padding:11px;border:1px solid #ebc2bc;border-radius:5px;margin:9px 0}.power-issue>b{font-size:12px;color:#a32d32}.power-issue>p{font-size:11px;line-height:1.5;white-space:pre-wrap}.power-report label{margin:8px 0}.power-map-marker{background:transparent;border:none}.power-map-pin{display:block;position:relative;text-align:center;line-height:25px;background:var(--power-color);border:2px solid #fff;border-radius:5px;color:#fff;font-size:10px;font-weight:700;box-shadow:0 1px 4px #10273755}.power-map-pin.selected{outline:3px solid #1a87af;outline-offset:2px}.power-map-pin.no-receptacle{opacity:.42}.power-map-alert{position:absolute;right:-7px;top:-8px;background:#f4d248;border:1px solid #fff;color:#6a4c09;border-radius:50%;font-size:11px;line-height:15px;text-align:center;width:15px;height:15px;font-weight:900}.power-flow-arrow{background:none;border:none;pointer-events:none}.power-flow-arrow span{display:block;line-height:16px;font-size:14px;text-shadow:0 0 3px #fff;transform-origin:center}.power-tools details[open]>summary{margin-bottom:6px}.power-tools small{overflow-wrap:anywhere}@media(max-width:600px){.power-form-grid{grid-template-columns:1fr 1fr;gap:9px}.power-tools{padding:12px}.power-card,.power-flow-card{padding:12px}.power-tools-top{flex-wrap:wrap}}

.power-map-pin.compact{width:10px;height:10px;box-sizing:border-box;line-height:0;font-size:0;border-width:1px;border-radius:2px;transform:rotate(45deg);box-shadow:0 1px 3px #10273755}.power-key{display:flex;flex-wrap:wrap;gap:7px 12px;margin:0 0 12px;color:#6a7d8b;font-size:10px}.power-key span{display:inline-flex;align-items:center;gap:6px}.power-key i{width:7px;height:7px;display:inline-block;border-radius:1px;transform:rotate(45deg);flex-shrink:0}
.power-map-pin{color:var(--power-ink,#544629)}.power-map-pin.custom-source{border-radius:8px}.power-map-pin.custom-source.compact{border-radius:4px}.power-flow-arrow span{font-size:10px;line-height:12px}.direct-flow-panel{padding:12px;border:1px solid #c8dce2;border-radius:8px;background:#f1f7f8;margin:0 0 14px}.direct-flow-panel>label{margin:10px 0}.direct-flow-panel .power-card-heading h3{font-size:15px}.direct-flow-panel button{margin-right:5px;margin-top:5px}.direct-edge-card,.direct-flow-confirm{padding:10px;margin:10px 0;border-radius:6px;border:1px solid #c6d9df;background:#fff}.direct-flow-confirm{border-color:#ddbd82;background:#fff5e1}.direct-flow-confirm p{font-size:12px;line-height:1.5}

.power-map-pin.no-receptacle.has-power-issue{opacity:1}

/* Static outlines keep cable arrows readable on satellite imagery without animated effects. */
.power-flow-arrow span{font-size:12px;line-height:12px;text-shadow:1px 0 #29322b,-1px 0 #29322b,0 1px #29322b,0 -1px #29322b;pointer-events:none}

/* Direct-pin connection controls stay fixed while the map pans or a cable is drawn. */
.connection-toolbar{position:absolute;z-index:650;top:14px;left:64px;max-width:min(340px,calc(100% - 80px));padding:7px;border:1px solid #c9d7df;border-radius:9px;background:#fffffff5;color:#253d4e;box-shadow:0 2px 9px #17334626;font:12px/1.4 system-ui,sans-serif;cursor:default}.connection-toolbar[hidden],.connection-toolbar [hidden]{display:none!important}.connection-toolbar-row{display:flex;align-items:center;gap:5px}.connection-toolbar button{font:600 12px/1.2 system-ui,sans-serif;padding:9px 11px;white-space:nowrap;border-radius:6px;background:#fff;color:#284352;border:1px solid #c7d4db}.connection-toolbar button[aria-pressed="true"]{background:#1f5267;color:#fff;border-color:#1f5267}.connection-toolbar button:disabled{opacity:.5}.connection-toolbar p{margin:7px 4px 2px;max-width:290px;font-size:11px;color:#4c6677;pointer-events:none}.connection-input-settings{position:static;flex-shrink:0}.connection-input-settings>summary{display:grid;place-items:center;width:33px;height:33px;border:1px solid #c7d4db;border-radius:6px;background:#fff;cursor:pointer;font-size:18px;list-style:none}.connection-input-settings>summary::-webkit-details-marker{display:none}.connection-input-settings[open]>summary{background:#eaf0f4}.connection-input-settings>div{position:absolute;top:44px;left:7px;z-index:1;display:grid;gap:5px;min-width:178px;padding:7px;border:1px solid #c7d4db;border-radius:7px;background:#fff;box-shadow:0 3px 13px #17334630}.connection-input-settings button{text-align:left}.connection-toolbar label{display:flex;align-items:center;gap:8px;margin:8px 4px 2px;font-size:11px;font-weight:500}.connection-toolbar select{width:auto;min-width:0;max-width:245px;margin:0;padding:6px;font-size:12px}.connect-power-mode,.connect-power-mode .tree-marker,.connect-power-mode .power-map-marker{cursor:crosshair!important}.connect-power-mode .tree-pin.connection-origin,.connect-power-mode .power-map-pin.connection-origin{outline:3px solid #f6c84d;outline-offset:3px}.connect-power-mode .leaflet-tooltip:not(.connection-snap-hint){visibility:hidden}.connection-snap-hint{pointer-events:none}@media(max-width:600px){.connection-toolbar{top:12px;left:54px;max-width:calc(100% - 68px)}.connection-toolbar p{max-width:235px}.connection-toolbar button{padding:9px 10px}}
