.hz-tool{--hz-ok:#0b7a68;--hz-ok-bg:#e7f6f2;--hz-adjust:#a8321d;--hz-adjust-bg:#fdeeea;--hz-pending:#855700;--hz-pending-bg:#fdf3dc;--hz-advice:#245d8a;--hz-advice-bg:#e8f1f9;--hz-wire:#8aa3b4;--hz-wall:#d8cdbd;--hz-soil:#b89a74;--hz-pipe:#f2f4f5;--hz-cable:#59636b;--fig-phase:#d94343;--fig-neutral:#4aa5e0;--fig-earth:#2f9e52}.hz-sr{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hz-muted{color:var(--ds-muted);font-size:13.5px;line-height:1.6}.hz-intro{color:var(--ds-ink-2);margin-bottom:14px;font-size:14px;line-height:1.65}.hz-note{border-left:3px solid var(--ds-line-strong);background:var(--ds-surface-2);color:var(--ds-ink-2);border-radius:0 8px 8px 0;margin:10px 0;padding:10px 12px;font-size:13px;line-height:1.6}.hz-modes{background:var(--ds-surface-2);border:1px solid var(--ds-line);border-radius:14px;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 16px;padding:5px;display:grid}.hz-modes button{min-height:56px;color:var(--ds-ink-2);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:10px 14px;display:flex}.hz-modes button svg{width:22px;height:22px;color:var(--ds-muted)}.hz-modes button b{color:var(--ds-ink);font-size:14.5px;font-weight:650;display:block}.hz-modes button small{color:var(--ds-muted);font-size:12.5px;display:block}.hz-modes button.active{background:var(--ds-surface);box-shadow:var(--ds-shadow-1);outline:2px solid var(--ds-action);outline-offset:-2px}.hz-modes button.active svg{color:var(--ds-action)}.hz-housebar{flex-wrap:wrap;align-items:flex-end;gap:12px 16px;margin:14px 0 16px;display:flex}.hz-housebar .hz-field{flex:260px;max-width:460px;margin:0}.hz-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hz-buttons .button,.hz-add-row .button{min-height:40px}.hz-steps{z-index:20;background:color-mix(in srgb,var(--ds-bg) 88%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--ds-line);border-radius:14px;grid-template-columns:repeat(4,1fr);gap:6px;padding:6px;display:grid;position:sticky;top:64px}.hz-steps button{min-height:48px;color:var(--ds-ink-2);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;font-weight:600;display:flex;position:relative}.hz-steps button:hover{background:var(--ds-surface)}.hz-steps button.active{background:var(--ds-surface);color:var(--ds-ink);box-shadow:var(--ds-shadow-1);outline:2px solid var(--ds-action);outline-offset:-2px}.hz-steps button>svg{width:18px;height:18px;color:var(--ds-muted)}.hz-step-number{background:var(--ds-surface-2);border:1px solid var(--ds-line-strong);border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:inline-grid}.hz-steps button.active .hz-step-number{background:var(--ds-action);border-color:var(--ds-action);color:#fff}.hz-step-badge{background:var(--hz-adjust-bg);color:var(--hz-adjust);white-space:nowrap;border-radius:999px;margin-left:auto;padding:1px 7px;font-size:12px;font-weight:700}.hz-strip{color:var(--ds-ink-2);flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 0 4px;font-size:13.5px;display:flex}.hz-step{gap:16px;margin-top:14px;display:grid}.hz-step-nav{justify-content:space-between;gap:12px;margin:22px 0 8px;display:flex}.hz-step-nav .button{min-height:46px}.hz-card{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:var(--ds-radius);box-shadow:var(--ds-shadow-1);min-width:0;padding:18px 20px}.hz-card-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.hz-card-head h3{color:var(--ds-ink);min-width:0;font-size:17px;font-weight:700}.hz-card-head h3 small{font-size:13px;font-weight:500}.hz-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-items:start;gap:14px 16px;display:grid}.hz-fieldset{border:1px solid var(--ds-line);border-radius:12px;min-width:0;margin:14px 0 0;padding:12px 14px 14px}.hz-fieldset>legend{color:var(--ds-ink-2);padding:0 6px;font-size:13.5px;font-weight:700}.hz-field{flex-direction:column;gap:6px;min-width:0;display:flex}.hz-field>label,.hz-label{color:var(--ds-ink);font-size:13.5px;font-weight:600;line-height:1.35}.hz-field>label small{color:var(--ds-muted);font-weight:500}.hz-field input[type=text],.hz-field select{width:100%;min-height:44px}.hz-field select{background:var(--ds-surface);color:var(--ds-ink);font:inherit;border:1px solid #cad9e4;border-radius:8px;padding:10px 12px}.hz-field .field-hint{color:var(--ds-muted);margin:0;font-size:12.5px;line-height:1.55}.hz-field.compact input{min-height:40px;padding:8px 10px}.hz-input-row{align-items:center;gap:8px;display:flex}.hz-input-row input{flex:1;min-width:0}.hz-unknown{border:1px dashed var(--ds-line-strong);white-space:nowrap;cursor:pointer;border-radius:8px;align-items:center;gap:6px;min-height:44px;padding:0 10px;font-size:13px!important;font-weight:600!important;display:inline-flex!important}.hz-unknown input{width:18px;height:18px;accent-color:var(--ds-action);margin:0}.hz-how-icon{vertical-align:-3px;color:var(--ds-action);margin-right:5px;width:15px!important;height:15px!important}.hz-choice{background:var(--ds-surface-2);border:1px solid var(--ds-line);border-radius:10px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.hz-choice button{min-height:40px;color:var(--ds-ink-2);background:0 0;border:0;border-radius:7px;flex:auto;padding:6px 10px;font-size:13px;font-weight:600;line-height:1.25}.hz-choice button.active{background:var(--ds-surface);color:var(--ds-action-deep);box-shadow:var(--ds-shadow-1);outline:2px solid var(--ds-action);outline-offset:-2px}.hz-choice button.unknown{border:1px dashed var(--ds-line-strong)}.hz-choice button.unknown.active{outline-style:dashed}.hz-methods{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;display:grid}.hz-methods button{border:1px solid var(--ds-line-strong);background:var(--ds-surface);color:var(--ds-ink);text-align:left;border-radius:12px;flex-direction:column;align-items:flex-start;gap:4px;padding:10px;display:flex;position:relative}.hz-methods button b{font-size:13px;line-height:1.3}.hz-methods button small{color:var(--ds-muted);font-size:11.5px;line-height:1.45}.hz-methods button.active{outline:2.5px solid var(--ds-action);outline-offset:-1px;background:var(--ds-surface-2)}.hz-method-drawing{background:var(--ds-surface-2);width:100%;height:auto;max-height:64px;color:var(--ds-ink-2);border-radius:8px}.hz-method-code{background:var(--ds-surface);border:1px solid var(--ds-line);color:var(--ds-ink-2);border-radius:6px;padding:0 6px;font-size:11px;font-weight:700;position:absolute;top:8px;right:8px}.hz-method-unknown{justify-content:center;border-style:dashed!important}.hz-status{border:1px solid;border-radius:999px;align-items:center;gap:5px;padding:3px 9px 3px 7px;font-size:12.5px;font-weight:700;line-height:1.3;display:inline-flex}.hz-status svg{width:15px;height:15px}.hz-status.ok{color:var(--hz-ok);background:var(--hz-ok-bg)}.hz-status.adjust{color:var(--hz-adjust);background:var(--hz-adjust-bg)}.hz-status.pending{color:var(--hz-pending);background:var(--hz-pending-bg);border-style:dashed}.hz-status.advice{color:var(--hz-advice);background:var(--hz-advice-bg)}.hz-checks{margin-top:12px}.hz-checks h4{margin-bottom:8px;font-size:14px}.hz-checks ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.hz-checks li{border:1px solid var(--ds-line);background:var(--ds-surface);border-radius:10px;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:10px 12px;display:grid}.hz-checks li.adjust{border-left:4px solid var(--hz-adjust)}.hz-checks li.pending{border-left:4px dashed var(--hz-pending)}.hz-checks li.advice{border-left:4px solid var(--hz-advice)}.hz-checks li.ok{border-left:4px solid var(--hz-ok)}.hz-checks li p{color:var(--ds-ink);margin:0;font-size:13.5px;line-height:1.55}.hz-check-meta{flex-wrap:wrap;gap:6px 10px;display:flex;color:var(--ds-muted)!important;margin-top:4px!important;font-size:12px!important}.hz-basis{border:1px solid var(--ds-line-strong);color:var(--ds-ink-2);border-radius:6px;padding:0 7px;font-size:11.5px;font-weight:650;display:inline-block}.hz-basis.norma{color:#0a6f8f;border-color:#0a6f8f}.hz-basis.concessionaria{color:#7a4fa0;border-color:#7a4fa0}.hz-basis.fabricante{color:#8a5a00;border-color:#8a5a00}.hz-basis.hipotese{border-style:dashed}.hz-how{gap:4px;display:flex;color:var(--ds-ink-2)!important;margin-top:6px!important;font-size:12.5px!important}.hz-how svg{width:15px;height:15px;color:var(--ds-action);flex:none;margin-top:2px}.hz-confirm{color:var(--ds-ink-2);margin:8px 0 0;padding-left:18px;font-size:13px;line-height:1.6}.hz-metrics{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:0;display:grid}.hz-metrics>div{border:1px solid var(--ds-line);background:var(--ds-surface-2);border-radius:10px;min-width:0;padding:10px 12px}.hz-metrics dt{color:var(--ds-muted);font-size:12px}.hz-metrics dd{color:var(--ds-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:2px 0 0;font-size:15px;font-weight:700}.hz-summary{gap:12px;display:grid}.hz-compare,.hz-table{border-collapse:collapse;width:100%;margin-top:12px;font-size:13px}.hz-compare th,.hz-compare td,.hz-table th,.hz-table td{border-bottom:1px solid var(--ds-line);text-align:left;vertical-align:top;padding:8px 10px}.hz-compare thead th,.hz-table thead th{color:var(--ds-muted);background:var(--ds-surface-2);font-size:12px;font-weight:650}.hz-table caption{text-align:left;color:var(--ds-ink);padding:4px 0 8px;font-size:14px;font-weight:700}.hz-table th small{color:var(--ds-muted);margin-top:2px;font-size:12px;font-weight:500;display:block}.hz-table tr.current th{box-shadow:inset 3px 0 0 var(--ds-action)}.hz-table-wrap,.hz-materials{overflow-x:auto}.hz-result{background:var(--ds-surface-2);border:1px solid var(--ds-line);border-radius:12px;margin-top:16px;padding:14px}.hz-result-head{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:12px;display:flex}.hz-alternatives,.hz-effect{margin-top:12px}.hz-alternatives h4,.hz-effect h4,.hz-card h4{margin:10px 0 6px;font-size:14px}.hz-alternatives ul,.hz-effect ul{margin:0;padding-left:18px;font-size:13.5px;line-height:1.6}.hz-add-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hz-add-row .hz-label{width:100%}.hz-circuit .hz-card-head{margin-bottom:6px}.hz-circuit .hz-card-head h3{flex:1}.hz-circuit-toggle{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.hz-circuit-tag{background:var(--ds-navy);color:#fff;border-radius:7px;flex:none;padding:2px 8px;font-size:13px;font-weight:700}.hz-circuit-name{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:700}.hz-state{border:1px solid var(--ds-line-strong);color:var(--ds-ink-2);border-radius:999px;flex:none;padding:1px 8px;font-size:12px;font-weight:650}.hz-state.new{border-style:dashed}.hz-circuit-line{color:var(--ds-ink-2);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:13px;display:flex}.hz-circuit.open{border-color:var(--ds-line-strong);box-shadow:var(--ds-shadow-2)}.hz-equipment{border:1px solid var(--ds-line);border-radius:10px;min-width:0;margin:10px 0 0;padding:10px 12px}.hz-equipment>legend{padding:0 6px;font-size:13px;font-weight:650}.hz-checks-row{flex-wrap:wrap;gap:8px 16px;margin-top:8px;display:flex}.hz-checks-row label{align-items:center;gap:6px;min-height:36px;font-size:13px;font-weight:500;display:flex}.hz-checks-row input{width:18px;height:18px;accent-color:var(--ds-action);margin:0}.hz-estimate{color:var(--hz-pending);margin:8px 0 0;font-size:12.5px}.hz-remove{margin-top:8px;font-size:13px;color:var(--hz-adjust)!important}.hz-danger{color:var(--hz-adjust)!important}.hz-segments{gap:10px;margin-top:10px;display:grid}.hz-tag-link{border:1px solid var(--ds-line-strong);background:var(--ds-surface);color:var(--ds-action-deep);border-radius:7px;min-height:32px;margin:0 6px 4px 0;padding:2px 8px;font-size:13px;font-weight:700}.hz-pending{border:1px solid var(--ds-line);border-radius:10px;margin-top:8px;padding:10px 12px}.hz-pending summary{cursor:pointer;align-items:center;gap:10px;min-height:36px;font-weight:650;display:flex}.hz-legend-list{flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:0;list-style:none;display:flex}.hz-saved{gap:8px;max-height:50vh;margin:8px 0;padding:0;list-style:none;display:grid;overflow:auto}.hz-saved li{border:1px solid var(--ds-line);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.hz-saved li.current{border-color:var(--ds-action)}.hz-saved li small{color:var(--ds-muted);font-size:12px;display:block}.hz-tree-card{padding-bottom:12px}.hz-tree-layout{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.hz-tree-layout.with-details{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}.hz-tree-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:8px;display:flex}.hz-tree-search{background:var(--ds-surface);border:1px solid #cad9e4;border-radius:10px;flex:300px;align-items:center;gap:4px;min-width:0;padding:0 6px 0 10px;display:flex}.hz-tree-search>svg{width:18px;height:18px;color:var(--ds-muted)}.hz-tree-search input{background:0 0;min-height:44px;padding:8px 6px;box-shadow:none!important;border:0!important}.hz-tree-count{color:var(--ds-muted);white-space:nowrap;font-size:12.5px}.hz-tree-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hz-zoom{font-variant-numeric:tabular-nums;color:var(--ds-ink-2);align-items:center;gap:2px;font-size:12.5px;display:inline-flex}.hz-tree-legend{color:var(--ds-muted);flex-wrap:wrap;gap:6px 16px;margin:4px 0 10px;font-size:12.5px;display:flex}.hz-tree-legend span{align-items:center;gap:6px;display:inline-flex}.hz-leg{border:1.6px solid var(--ds-ink-2);background:var(--ds-surface);border-radius:4px;width:22px;height:13px;display:inline-block}.hz-leg.virtual{border-style:dashed;border-color:var(--ds-muted);background:var(--ds-surface-2)}.hz-leg.side{border-width:0;border-top:2px dashed var(--hz-wire);border-radius:0;height:0}.hz-leg.planned{border-color:var(--ds-action);border-left-width:5px}.hz-tree-viewport{border:1px solid var(--ds-line);background:var(--ds-surface-2);overscroll-behavior:contain;border-radius:12px;padding:12px 8px 20px;overflow:auto hidden;container:hztree/inline-size}.hz-tree-viewport:focus-visible{outline-offset:2px;outline:3px solid #0c9aba}.hz-tree-root,.hz-tchildren,.hz-tside{margin:0;padding:0;list-style:none}.hz-tree-root{justify-content:center;min-width:max-content;display:flex}.hz-tree-hint{margin-top:8px}.hz-tnode{flex-direction:column;align-items:center;display:flex;position:relative}.hz-tnode.c-column,.hz-tnode.c-points{align-items:stretch}.hz-tself{align-items:flex-start;gap:0;display:flex;position:relative}.hz-tnode.c-column>.hz-tself>.hz-tbox,.hz-tnode.c-points>.hz-tself>.hz-tbox{flex:1}.hz-tbox{border:1.6px solid var(--ds-line-strong);background:var(--ds-surface);width:15.5rem;min-height:0;color:var(--ds-ink);text-align:left;box-shadow:var(--ds-shadow-1);border-radius:10px;flex-direction:column;align-items:flex-start;gap:1px;padding:8px 10px 9px;font-size:12.5px;line-height:1.4;display:flex;position:relative}.hz-tnode.c-column>.hz-tself>.hz-tbox,.hz-tnode.c-points>.hz-tself>.hz-tbox{width:auto;min-width:15.5rem}.hz-tbox:hover{border-color:var(--ds-action)}.hz-tbox.selected{outline:3px solid var(--ds-action);outline-offset:2px}.hz-tbox.match{box-shadow:0 0 0 3px #f5c84a88}.hz-tbox.current{background:color-mix(in srgb,#ffd65a 18%,var(--ds-surface));box-shadow:0 0 0 4px #f0b400}.hz-tbox.virtual{border-style:dashed;border-color:var(--ds-muted);background:var(--ds-surface-2);box-shadow:none}.hz-tbox.planned{border-left:5px solid var(--ds-action)}.hz-tbox.adjust{border-color:var(--hz-adjust)}.hz-tbox.pending{border-color:var(--hz-pending);border-style:dashed}.hz-tbox.k-supply,.hz-tbox.k-panel{background:var(--ds-navy);border-color:var(--ds-navy);color:#fff}.hz-tbox.k-supply .hz-tlabel,.hz-tbox.k-panel .hz-tlabel,.hz-tbox.k-supply .hz-tline,.hz-tbox.k-panel .hz-tline{color:#c4d8e4}.hz-tbox.k-supply.adjust,.hz-tbox.k-panel.adjust{box-shadow:inset 0 -4px #ff8a6e}.hz-tbox.k-point{width:auto;min-width:12rem;padding:6px 9px;font-size:12px}.hz-tlabel{letter-spacing:.2px;color:var(--ds-muted);text-transform:none;padding-right:4px;font-size:11px;font-weight:650}.hz-ttitle{overflow-wrap:anywhere;font-size:13.5px;font-weight:700;line-height:1.3}.hz-tline{color:var(--ds-ink-2);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:12px}.hz-tchips{flex-wrap:wrap;gap:4px;margin-top:3px;display:flex}.hz-tchips span{background:var(--ds-surface-2);border:1px solid var(--ds-line);border-radius:6px;padding:0 6px;font-size:11px}.hz-tstatus{background:var(--ds-surface);border:1px solid;border-radius:999px;align-items:center;gap:4px;margin:2px 0;padding:1px 7px 1px 5px;font-size:11px;font-weight:700;display:inline-flex}.hz-tstatus svg{width:13px!important;height:13px!important}.hz-tstatus.ok{color:var(--hz-ok)}.hz-tstatus.adjust{color:var(--hz-adjust)}.hz-tstatus.pending{color:var(--hz-pending);border-style:dashed}.hz-tstatus.advice{color:var(--hz-advice)}.hz-ttoggle{z-index:2;border:1.5px solid var(--ds-line-strong);background:var(--ds-surface);min-width:28px;height:24px;color:var(--ds-ink-2);border-radius:999px;justify-content:center;align-items:center;gap:2px;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex;position:absolute;bottom:-12px;left:50%;transform:translate(-50%)}.hz-ttoggle svg{width:13px!important;height:13px!important}.hz-tnode.c-column>.hz-tself>.hz-ttoggle,.hz-tnode.c-points>.hz-tself>.hz-ttoggle{left:12px;transform:none}.hz-ttoggle:before{content:"";position:absolute;inset:-11px -9px}.hz-tchildren.l-chain{flex-direction:column;align-items:center;padding-top:22px;display:flex;position:relative}.hz-tchildren.l-chain:before{content:"";border-left:2px solid var(--hz-wire);height:22px;position:absolute;top:0;left:50%}.hz-tchildren.l-row{justify-content:center;align-items:flex-start;padding-top:20px;display:flex;position:relative}.hz-tchildren.l-row:before{content:"";border-left:2px solid var(--hz-wire);height:20px;position:absolute;top:0;left:50%}.hz-tchildren.l-row>.hz-tnode{padding:20px 10px 0}.hz-tchildren.l-row>.hz-tnode:before,.hz-tchildren.l-row>.hz-tnode:after{content:"";border-top:2px solid var(--hz-wire);width:50%;height:20px;position:absolute;top:0}.hz-tchildren.l-row>.hz-tnode:before{right:50%}.hz-tchildren.l-row>.hz-tnode:after{border-left:2px solid var(--hz-wire);left:50%}.hz-tchildren.l-row>.hz-tnode:first-child:before,.hz-tchildren.l-row>.hz-tnode:last-child:after,.hz-tchildren.l-row>.hz-tnode:only-child:after{border-top:0}.hz-tchildren.l-column,.hz-tchildren.l-points{flex-direction:column;align-items:stretch;gap:10px;padding:20px 0 0 26px;display:flex;position:relative}.hz-tchildren.l-column>.hz-tnode,.hz-tchildren.l-points>.hz-tnode{align-items:stretch}.hz-tchildren.l-column>.hz-tnode:before,.hz-tchildren.l-points>.hz-tnode:before{content:"";border-top:2px solid var(--hz-wire);width:14px;position:absolute;top:20px;left:-14px}.hz-tchildren.l-column>.hz-tnode:after,.hz-tchildren.l-points>.hz-tnode:after{content:"";border-left:2px solid var(--hz-wire);height:calc(100% + 10px);position:absolute;top:-10px;left:-14px}.hz-tchildren.l-column>.hz-tnode:first-of-type:after,.hz-tchildren.l-points>.hz-tparallel+.hz-tnode:after{height:calc(100% + 20px);top:-20px}.hz-tchildren.l-column>.hz-tnode:last-child:after,.hz-tchildren.l-points>.hz-tnode:last-child:after{height:30px}.hz-tchildren.l-column>.hz-tnode:first-of-type:last-child:after,.hz-tchildren.l-points>.hz-tparallel+.hz-tnode:last-child:after{height:40px}.hz-tchildren.l-points{gap:6px}.hz-tchildren.l-points>.hz-tnode:before{top:16px}.hz-tchildren.l-points>.hz-tnode:last-child:after{height:22px}.hz-tchildren.l-points>.hz-tparallel+.hz-tnode:last-child:after{height:36px}.hz-tparallel{letter-spacing:.3px;color:var(--ds-muted);text-transform:uppercase;margin:-14px 0 -2px -12px;font-size:10.5px;font-weight:650}.hz-tside{flex-direction:column;gap:8px;display:flex;position:absolute;top:6px;left:calc(100% + 26px)}.hz-tside>.hz-tnode:before{content:"";border-top:2px dashed var(--hz-wire);width:26px;position:absolute;top:22px;right:100%}.hz-tside .hz-tbox{width:13.5rem}@container hztree (width<=720px){.hz-tree-root{justify-content:flex-start}.hz-tnode{align-items:stretch}.hz-tbox,.hz-tnode.c-column>.hz-tself>.hz-tbox,.hz-tnode.c-points>.hz-tself>.hz-tbox{width:auto;min-width:0;max-width:26rem}.hz-tbox.k-point{min-width:0}.hz-ttoggle{left:12px;transform:none}.hz-tchildren.l-chain{flex-direction:column;align-items:stretch;padding:20px 0 0;display:flex}.hz-tchildren.l-chain:before{left:14px}.hz-tchildren.l-chain>.hz-tnode:before,.hz-tchildren.l-chain>.hz-tnode:after{display:none}.hz-tchildren.l-row{flex-direction:column;align-items:stretch;gap:10px;padding:20px 0 0 22px;display:flex}.hz-tchildren.l-row:before{display:none}.hz-tchildren.l-row>.hz-tnode{padding:0}.hz-tchildren.l-row>.hz-tnode:before{content:"";border-top:2px solid var(--hz-wire);width:12px;height:0;position:absolute;top:20px;left:-12px;right:auto}.hz-tchildren.l-row>.hz-tnode:after{content:"";border-top:0;border-left:2px solid var(--hz-wire);width:0;height:calc(100% + 10px);position:absolute;top:-10px;left:-12px}.hz-tchildren.l-row>.hz-tnode:first-child:after{height:calc(100% + 20px);top:-20px}.hz-tchildren.l-row>.hz-tnode:last-child:after{height:30px}.hz-tchildren.l-row>.hz-tnode:first-child:last-child:after{height:40px}.hz-tchildren.l-row>.hz-tnode:first-child:before{border-top:2px solid var(--hz-wire)}.hz-tchildren.l-column,.hz-tchildren.l-points{padding-left:22px}.hz-tchildren.l-column>.hz-tnode:before,.hz-tchildren.l-points>.hz-tnode:before,.hz-tchildren.l-column>.hz-tnode:after,.hz-tchildren.l-points>.hz-tnode:after{left:-12px}.hz-tchildren.l-column>.hz-tnode:before,.hz-tchildren.l-points>.hz-tnode:before{width:12px}.hz-tside{margin:8px 0 0 22px;position:static}.hz-tself{flex-direction:column;align-items:stretch}.hz-tside .hz-tbox{width:auto}.hz-tside>.hz-tnode:before{width:12px;left:-12px;right:auto}.hz-tside>.hz-tnode:after{content:"";border-left:2px dashed var(--hz-wire);height:30px;position:absolute;top:-8px;left:-12px}}.hz-diagram{--hzd-ink:var(--ds-ink);--hzd-muted:var(--ds-muted);--hzd-line:var(--ds-line-strong);--hzd-wire:var(--hz-wire);--hzd-bus:var(--ds-ink-2);--hzd-paper:var(--ds-surface);--hzd-soft:var(--ds-surface-2);--hzd-navy:var(--ds-navy);--hzd-onNavy:#fff;--hzd-onNavyMuted:#c4d8e4;--hzd-ok:var(--hz-ok);--hzd-adjust:var(--hz-adjust);--hzd-pending:var(--hz-pending);--hzd-advice:var(--hz-advice);--hzd-accent:var(--ds-action);--hzd-fluid:#2f7fb8;min-width:0}.hz-diagram-viewport{padding:14px 10px 16px;overflow-y:visible}.hz-diagram-svg{font-variant-numeric:tabular-nums;margin:0 auto;font-family:Inter,Segoe UI,Arial,sans-serif;display:block;overflow:visible}.hz-dnode,.hz-dtoggle{cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none}.hz-dhit{fill:#0000;stroke:#0000;stroke-width:2.5px}.hz-dnode:hover .hz-dhit{stroke:color-mix(in srgb,var(--ds-action) 45%,transparent)}.hz-dnode:focus-visible .hz-dhit{stroke:#0c9aba;stroke-width:3px}.hz-dnode.selected .hz-dhit{stroke:var(--ds-action);fill:color-mix(in srgb,var(--ds-action) 9%,transparent)}.hz-dnode.match .hz-dhit{fill:#f5c84a33;stroke:#e0a800}.hz-dnode.current .hz-dhit{fill:#ffd65a40;stroke:#f0b400;stroke-width:3.5px}.hz-dtoggle-hit{fill:#0000}.hz-dtoggle-face{fill:var(--ds-surface);stroke:var(--ds-line-strong);stroke-width:1.5px}.hz-dtoggle-sign{stroke:var(--ds-ink-2);stroke-width:2px;fill:none;stroke-linecap:round}.hz-dtoggle:hover .hz-dtoggle-face{stroke:var(--ds-action)}.hz-dtoggle:focus-visible .hz-dtoggle-face{stroke:#0c9aba;stroke-width:3px}.hz-diagram-legend{padding:0;list-style:none}.hz-diagram-legend li{align-items:center;gap:6px;display:inline-flex}.hz-dmark{width:16px;height:16px;color:var(--ds-surface);border-radius:50%;place-items:center;font-size:10.5px;font-weight:800;line-height:1;display:inline-grid}.hz-dmark.ok{background:var(--hz-ok)}.hz-dmark.adjust{background:var(--hz-adjust)}.hz-dmark.pending{background:var(--hz-pending)}.hz-leg.bus{border-width:0;border-top:4px solid var(--ds-ink-2);border-radius:2px;height:0}.hz-dplanned{color:var(--ds-action);font-size:11px;font-weight:700}.hz-dmeters{border:1.3px solid var(--hz-wire);min-width:26px;height:16px;color:var(--ds-ink);border-radius:8px;place-items:center;padding:0 6px;font-size:10px;font-weight:700;display:inline-grid}.hz-details{border:1px solid var(--ds-line-strong);background:var(--ds-surface);max-height:calc(100vh - 160px);box-shadow:var(--ds-shadow-2);border-radius:12px;align-self:start;gap:10px;padding:14px;display:grid;position:sticky;top:140px;overflow:auto}.hz-details-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.hz-details-head h3{overflow-wrap:anywhere;font-size:16px;line-height:1.3}.hz-details-lines{color:var(--ds-ink-2);margin:0;padding-left:16px;font-size:13px;line-height:1.6}.hz-details .hz-checks{margin-top:0}@media (max-width:1100px){.hz-tree-layout.with-details{grid-template-columns:minmax(0,1fr)}.hz-details{z-index:60;max-height:58vh;box-shadow:var(--ds-shadow-3);position:fixed;inset:auto 8px 8px}}@media (max-width:820px){.hz-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px}.hz-steps button{text-align:center;flex-direction:column;justify-content:center;gap:3px;padding:6px 4px;font-size:12px;line-height:1.2}.hz-steps button>svg{display:none}.hz-step-badge{margin:0;padding:0 5px;font-size:10.5px;position:absolute;top:2px;right:2px}}@media (max-width:600px){.hz-steps{top:60px}}@media (max-width:540px){.hz-step .button,.hz-step-nav .button,.hz-housebar .button,.hz-add-row .button{white-space:normal;text-align:left;line-height:1.3}.hz-modes{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px;padding:4px}.hz-modes button{gap:8px;min-height:48px;padding:8px 10px}.hz-modes button svg{flex:none;width:18px;height:18px}.hz-modes button b{font-size:13.5px;line-height:1.25}.hz-modes button small{display:none}.hz-housebar{gap:8px;margin:10px 0 12px}.hz-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;display:grid}.hz-buttons .button{flex-direction:column;justify-content:center;gap:4px;min-height:54px;padding:6px 4px;font-size:12.5px;text-align:center!important}.hz-card{border-radius:12px;padding:14px 12px}.hz-grid{grid-template-columns:1fr}.hz-methods{grid-template-columns:1fr 1fr}.hz-fieldset{padding:10px 10px 12px}.hz-tree-viewport{margin:0 -6px;padding:10px 6px 18px}.hz-tree-buttons .button{flex:auto}.hz-step-nav .button{flex:1;justify-content:center;padding:10px;font-size:13px}.hz-checks li{grid-template-columns:1fr}}@media screen{:root[data-theme=dark] .hz-tool{--hz-ok:#3fe0c5;--hz-ok-bg:#0e2d29;--hz-adjust:#ff9c84;--hz-adjust-bg:#35170f;--hz-pending:#ffcf6b;--hz-pending-bg:#2e2410;--hz-advice:#8cc5f0;--hz-advice-bg:#102a3e;--hz-wire:#4f6f84;--hz-wall:#4a4237;--hz-soil:#5c4a33;--hz-pipe:#22384a;--hz-cable:#9aa7b1}:root[data-theme=dark] .hz-field select{border-color:var(--ds-line-strong)}:root[data-theme=dark] .hz-basis.norma{color:#5fc0e4;border-color:#5fc0e4}:root[data-theme=dark] .hz-basis.concessionaria{color:#c39be6;border-color:#c39be6}:root[data-theme=dark] .hz-basis.fabricante{color:#ffcf6b;border-color:#ffcf6b}:root[data-theme=dark] .hz-tbox.k-supply,:root[data-theme=dark] .hz-tbox.k-panel{background:#173a52;border-color:#2a5673}:root[data-theme=dark] .hz-diagram{--hzd-navy:#173a52;--hzd-fluid:#6cb6ea}}.hz-report-actions{flex-wrap:wrap}.hz-first-use{border:1px solid var(--ds-line,#dce5eb);background:var(--ds-surface-2,#f4f8fa);color:var(--ds-ink-2,#24465c);border-radius:10px;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:10px 0 0;padding:8px 12px;font-size:13.5px;line-height:1.45;display:flex}.hz-first-use svg{width:16px;height:16px;color:var(--ds-action,#087cad);flex:none}.hz-first-use span{flex:220px;min-width:0}.hz-first-use .text-button{min-height:36px;font-weight:650}
