:root{--pf-green:#167a42;--pf-green2:#0e6033;--pf-blue:#326f8a;--pf-text:#18261e;--pf-muted:#62736a;--pf-line:#dce8df;--pf-soft:#f6faf7;--pf-warn:#a96b1f;--pf-danger:#b33a35;--pf-shadow:0 24px 70px rgba(25,52,35,.09)}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}body{overflow-x:hidden}
.fence-hero{position:relative;min-height:520px;display:flex;align-items:center;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 38%,rgba(255,255,255,.90) 56%,rgba(255,255,255,.18) 100%);border-bottom:1px solid #e0ebe3;overflow:hidden}.fence-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(360px,690px) minmax(320px,1fr);gap:38px;align-items:center;padding:56px 0}.fence-hero-copy h1{margin:0 0 18px;font-size:clamp(38px,4.2vw,64px);line-height:.99;letter-spacing:-.045em;color:var(--pf-text)}.fence-hero-copy>p{max-width:680px;margin:0 0 24px;color:#506159;font-size:18px;line-height:1.55}.fence-hero-art{display:flex;align-items:center;justify-content:flex-end;min-width:0}.fence-hero-art img{display:block;width:min(100%,710px);height:auto;max-height:485px;object-fit:contain;object-position:right center;filter:drop-shadow(0 24px 42px rgba(20,50,32,.10))}.hero-badges{display:flex;flex-wrap:wrap;gap:10px}.hero-badges span{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #dce9df;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 8px 22px rgba(22,45,30,.05)}.hero-badges svg{width:20px;height:20px;stroke:var(--pf-green);fill:none;stroke-width:2.1}.hero-badges b{font-size:13px;color:var(--pf-text)}
.pf-calc{padding:34px 0 18px;background:linear-gradient(180deg,#fff,#f7faf8 70%,#fff)}.pf-wrap{width:min(1520px,calc(100% - 32px));margin:0 auto}.pf-shell{width:100%;min-width:0;container-type:inline-size;container-name:profiled-fence-calculator;border:1px solid var(--pf-line);border-radius:30px;background:#fff;box-shadow:var(--pf-shadow);overflow:hidden}.pf-shell-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:26px;align-items:center;padding:28px 30px;border-bottom:1px solid var(--pf-line);background:linear-gradient(135deg,#fff,#f3faf5)}.pf-eyebrow{display:block;margin-bottom:7px;color:var(--pf-green);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.pf-shell-head h2{margin:0;color:var(--pf-text);font-size:clamp(25px,2.4vw,38px);line-height:1.04;letter-spacing:-.035em}.pf-shell-head p{max-width:850px;margin:10px 0 0;color:var(--pf-muted);font-size:15px;line-height:1.55}.pf-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;border:1px solid var(--pf-line);border-radius:18px;background:#fff}.pf-mode-switch button{min-width:190px;padding:13px 15px;border:0;border-radius:13px;background:transparent;color:#41554a;text-align:left;cursor:pointer}.pf-mode-switch b,.pf-mode-switch small{display:block}.pf-mode-switch b{font-size:15px}.pf-mode-switch small{margin-top:3px;color:#77877e;font-size:11px}.pf-mode-switch button.is-active{background:linear-gradient(180deg,#238c51,#14733e);color:#fff;box-shadow:0 10px 24px rgba(18,120,63,.22)}.pf-mode-switch button.is-active small{color:#daf2e2}
.pf-stage-nav{display:grid;width:100%;max-width:100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 24px;border-bottom:1px solid var(--pf-line);background:#fbfdfb;overflow:hidden}.pf-stage-nav button{position:relative;display:flex;align-items:center;gap:8px;width:100%;min-width:0;max-width:100%;min-height:72px;padding:11px 8px;border:0;background:transparent;color:#66776e;text-align:left;cursor:pointer;overflow:hidden}.pf-stage-nav button:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:transparent}.pf-stage-nav i{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:1px solid #cfded3;border-radius:50%;background:#fff;color:#728279;font-style:normal;font-size:12px;font-weight:900}.pf-stage-nav button>span,.pf-stage-nav b,.pf-stage-nav small{min-width:0;max-width:100%}.pf-stage-nav b,.pf-stage-nav small{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.18}.pf-stage-nav b{font-size:12px;color:#405247}.pf-stage-nav small{margin-top:3px;font-size:9px}.pf-stage-nav button.is-active:after{background:var(--pf-green)}.pf-stage-nav button.is-active i,.pf-stage-nav button.is-done i{border-color:#83c797;background:#edf8f0;color:var(--pf-green2)}.pf-stage-nav button.is-active b{color:var(--pf-green2)}.pf-stage-nav.pro button:nth-child(-n+4){border-bottom:1px solid #e6eee8}.pf-stage-nav.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-stage-nav.is-tight small{display:none}.pf-stage-nav.is-tight button{min-height:58px;gap:6px;padding:9px 7px}.pf-stage-nav.is-tight b{font-size:11px}
.pf-workbench{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);align-items:start;min-height:760px}.pf-controls{min-width:0;padding:26px;border-right:1px solid var(--pf-line)}.pf-current-step{display:flex;align-items:center;gap:13px;margin-bottom:18px}.pf-current-step>span{padding:7px 10px;border-radius:999px;background:#edf8f0;color:var(--pf-green2);font-size:11px;font-weight:900;white-space:nowrap}.pf-current-step b,.pf-current-step small{display:block}.pf-current-step b{font-size:17px;color:var(--pf-text)}.pf-current-step small{margin-top:2px;color:#7a8a80;font-size:12px}.pf-step[hidden],.pf-card[hidden],[data-pf-pro-only][hidden],[data-pf-simple-only][hidden]{display:none!important}.pf-step-head{margin-bottom:16px}.pf-step-head>span{display:block;color:var(--pf-green);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.pf-step-head h3{margin:4px 0 6px;color:var(--pf-text);font-size:24px;letter-spacing:-.025em}.pf-step-head p{margin:0;color:var(--pf-muted);font-size:14px;line-height:1.5}.pf-card{padding:18px;margin-bottom:14px;border:1px solid #e1ebe4;border-radius:20px;background:#fbfdfb}.pf-card h4{margin:0 0 13px;color:var(--pf-text);font-size:16px}.pf-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.pf-card-head h4{margin:0}.pf-card-head p{margin:4px 0 0;color:var(--pf-muted);font-size:12px;line-height:1.45}.pf-card-note{background:linear-gradient(135deg,#f8fcf9,#eef8f1)}
.pf-grid-2,.pf-grid-3,.pf-grid-4{display:grid;gap:12px}.pf-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.pf-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.pf-field{display:grid;gap:6px;min-width:0;color:#42564a;font-size:11px;font-weight:850}.pf-field>span{min-height:28px;display:flex;align-items:end}.pf-field small{color:#7b8981;font-size:10px;line-height:1.35;font-weight:650}.pf-field input,.pf-field select,.pf-dynamic-row input,.pf-dynamic-row select,.pf-visual-toolbar select{width:100%;height:44px;border:1px solid #d6e5da;border-radius:11px;background:#fff;color:#17271d;font-size:14px;padding:0 11px;outline:none}.pf-field input:focus,.pf-field select:focus,.pf-dynamic-row input:focus,.pf-dynamic-row select:focus,.pf-visual-toolbar select:focus{border-color:#70bd8b;box-shadow:0 0 0 3px rgba(22,122,66,.08)}.pf-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid #d6e5da;border-radius:11px;background:#fff;overflow:hidden}.pf-unit input{border:0!important;border-radius:0!important;box-shadow:none!important}.pf-unit b{display:flex;align-items:center;padding:0 10px;border-left:1px solid #e2ebe4;color:#688076;background:#f8fbf9;font-size:11px;white-space:nowrap}.pf-check{display:flex;align-items:center;min-height:73px;padding:11px;border:1px solid #dce8df;border-radius:13px;background:#fff;gap:10px;cursor:pointer}.pf-check input{width:18px;height:18px;accent-color:var(--pf-green)}.pf-check b,.pf-check small{display:block}.pf-check b{color:var(--pf-text);font-size:12px}.pf-check small{margin-top:3px;color:#7a8980;font-size:10px;line-height:1.3}.pf-inline-check{margin-top:12px}.pf-source-note{display:flex;gap:11px;padding:12px 13px;margin-bottom:14px;border:1px solid #cfe6d5;border-radius:14px;background:#f2faf4}.pf-source-note i{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:var(--pf-green);color:#fff;font-style:normal;font-weight:900}.pf-source-note b,.pf-source-note span{display:block}.pf-source-note b{font-size:12px;color:#264330}.pf-source-note span{margin-top:3px;color:#597062;font-size:11px;line-height:1.4}
.pf-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.pf-type-grid label{min-width:0}.pf-type-grid input{position:absolute;width:1px!important;height:1px!important;margin:-1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden;opacity:0;pointer-events:none}.pf-type-grid span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:108px;padding:10px;border:1px solid #dce9df;border-radius:16px;background:#fff;text-align:center;cursor:pointer}.pf-type-grid svg{width:66px;height:44px;margin-bottom:7px;fill:none;stroke:#4b795c;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.pf-type-grid b{font-size:13px;color:var(--pf-text)}.pf-type-grid small{margin-top:3px;color:#728279;font-size:10px}.pf-type-grid input:checked+span{border-color:#78c28a;background:#f0faf2;box-shadow:0 0 0 3px rgba(18,134,58,.07)}.pf-type-grid input:checked+span svg{stroke:var(--pf-green)}
.pf-add,.pf-remove{border:0;cursor:pointer;font-weight:850}.pf-add{min-height:38px;padding:0 13px;border:1px solid #b9dcc3;border-radius:11px;background:#fff;color:var(--pf-green2);white-space:nowrap}.pf-remove{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fff0ef;color:#b03932;font-size:20px}.pf-dynamic-list{display:grid;gap:9px}.pf-dynamic-row{display:grid;grid-template-columns:1.1fr repeat(5,minmax(76px,.8fr)) 36px;gap:8px;align-items:end;padding:10px;border:1px solid #e0ebe3;border-radius:14px;background:#fff}.pf-dynamic-row.opening{grid-template-columns:1fr 1fr .8fr .8fr .8fr 1fr 36px}.pf-dynamic-row label{display:grid;gap:4px;min-width:0;color:#607267;font-size:10px;font-weight:800}.pf-dynamic-row input,.pf-dynamic-row select{min-width:0}.pf-empty{padding:14px;border:1px dashed #cdded1;border-radius:13px;color:#718178;font-size:12px;line-height:1.45}.pf-variants{display:grid;gap:9px}.pf-variant{display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px;border:1px solid #dce8df;border-radius:14px;background:#fff}.pf-variant b,.pf-variant small{display:block}.pf-variant b{font-size:13px;color:#243c2d}.pf-variant small{margin-top:4px;color:#6b7d72;font-size:10px;line-height:1.4}.pf-variant button{align-self:center;border:1px solid #bfd9c7;border-radius:10px;background:#f7fcf8;color:#17623a;font-weight:900;padding:9px 11px;cursor:pointer}
.pf-process-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pf-process-grid article{display:grid;grid-template-columns:30px 1fr;grid-template-areas:"n b" "n s";column-gap:9px;padding:12px;border:1px solid #dfeae2;border-radius:14px;background:#fff}.pf-process-grid i{grid-area:n;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e9f7ed;color:var(--pf-green2);font-style:normal;font-weight:900}.pf-process-grid b{grid-area:b;color:var(--pf-text);font-size:12px}.pf-process-grid small{grid-area:s;margin-top:3px;color:#6c7e72;font-size:10px;line-height:1.35}.pf-step-actions{display:grid;grid-template-columns:auto auto minmax(140px,1fr);gap:9px;margin-top:17px}.pf-step-actions button{min-height:44px;padding:0 15px;border-radius:12px;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.pf-back,.pf-reset{border:1px solid #d6e1d9;background:#fff;color:#53645a}.pf-next{justify-self:end;min-width:160px;border:1px solid #126b39;background:linear-gradient(180deg,#228b50,#136f3c);color:#fff;box-shadow:0 9px 20px rgba(20,111,60,.17)}.pf-step-actions button:disabled{opacity:.45;cursor:not-allowed}
.pf-live{position:sticky;top:82px;min-width:0;padding:24px;background:linear-gradient(180deg,#fff,#fbfdfb)}.pf-live-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.pf-live-head span{color:var(--pf-green);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.pf-live-head h3{margin:4px 0 0;color:var(--pf-text);font-size:21px}.pf-live-kpi{min-width:110px;padding:10px 12px;border:1px solid #dce8df;border-radius:14px;background:#fff;text-align:right}.pf-live-kpi small,.pf-live-kpi b{display:block}.pf-live-kpi small{color:#7a8a80;font-size:9px}.pf-live-kpi b{margin-top:3px;color:#173b28;font-size:17px}.pf-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:16px 0}.pf-kpis article{min-width:0;padding:10px;border:1px solid #e0ebe3;border-radius:13px;background:#fff}.pf-kpis small,.pf-kpis b,.pf-kpis em{display:block}.pf-kpis small{color:#75857b;font-size:9px;font-weight:850}.pf-kpis b{margin-top:3px;color:#24372c;font-size:15px;overflow-wrap:anywhere}.pf-kpis em{margin-top:3px;color:#8a9990;font-size:8px;line-height:1.2;font-style:normal}.pf-kpis article.total{background:#f0f8f2;border-color:#cde3d3}.pf-visual-toolbar{display:grid;gap:9px;margin-top:6px}.pf-visual-toolbar>label{display:grid;grid-template-columns:auto minmax(120px,230px);gap:8px;align-items:center;color:#64766b;font-size:10px;font-weight:850}.pf-visual-toolbar select{height:36px;font-size:12px}.pf-view-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.pf-view-tabs::-webkit-scrollbar{display:none}.pf-view-tabs button{flex:1 0 auto;min-width:72px;height:36px;padding:0 10px;border:1px solid #dbe7df;border-radius:10px;background:#fff;color:#607267;font-size:10px;font-weight:850;cursor:pointer}.pf-view-tabs button.is-active{border-color:#8fc5a1;background:#edf8f0;color:#135e35}.pf-view{margin-top:10px;border:1px solid #dfeae2;border-radius:20px;background:#fff;overflow:hidden}.pf-view svg{display:block;width:100%;min-height:390px;background:linear-gradient(180deg,#fff,#f9fcfa)}.pf-view svg[hidden]{display:none}.pf-axo-tools{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:9px}.pf-axo-tools[hidden]{display:none}.pf-axo-tools button{min-width:40px;height:36px;border:1px solid #d6e3da;border-radius:9px;background:#fff;color:#3e5a49;font-weight:900;cursor:pointer;touch-action:manipulation}.pf-mini-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.pf-mini-summary article{min-width:0;padding:10px;border-radius:12px;background:#f6faf7}.pf-mini-summary small,.pf-mini-summary b{display:block}.pf-mini-summary small{color:#7b8b81;font-size:8px;font-weight:850}.pf-mini-summary b{margin-top:3px;color:#342d27;font-size:12px;overflow-wrap:anywhere}#pf3d{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;overscroll-behavior:contain}#pf3d.is-dragging{cursor:grabbing}
.pf-report{padding:26px 30px 30px;border-top:1px solid var(--pf-line);background:#fbfdfb}.pf-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.pf-report-head>div>span{color:var(--pf-green);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.pf-report-head h2{margin:4px 0 5px;color:var(--pf-text);font-size:26px}.pf-report-head p{max-width:820px;margin:0;color:#697970;font-size:12px;line-height:1.5}.pf-diagnostics{display:grid;gap:8px;margin-bottom:14px}.pf-diag{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:11px 13px;border:1px solid #d9e8dd;border-radius:13px;background:#f4faf6}.pf-diag i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#4e9c67;color:#fff;font-style:normal;font-weight:900}.pf-diag b,.pf-diag span{display:block}.pf-diag b{color:#284033;font-size:12px}.pf-diag span{margin-top:2px;color:#687a6f;font-size:10px;line-height:1.4}.pf-diag.warn{border-color:#ecdcbf;background:#fffaf0}.pf-diag.warn i{background:#c28a32}.pf-diag.danger{border-color:#efceca;background:#fff4f3}.pf-diag.danger i{background:#b84b43}.pf-diag.info{border-color:#d9e5ec;background:#f5f9fb}.pf-diag.info i{background:#5d7f94}.pf-report-card{padding:18px;margin-top:12px;border:1px solid #dfe9e2;border-radius:19px;background:#fff}.pf-report-card h3{margin:0 0 12px;color:#22382a;font-size:18px}.pf-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.pf-report-grid article{min-width:0;padding:11px;border-radius:13px;background:#f7faf8}.pf-report-grid small,.pf-report-grid b,.pf-report-grid span{display:block}.pf-report-grid small{color:#718279;font-size:9px;font-weight:850}.pf-report-grid b{margin-top:4px;color:#233a2b;font-size:15px}.pf-report-grid span{margin-top:3px;color:#77877e;font-size:9px;line-height:1.35}.pf-report .table-wrap{width:100%;overflow:auto;border:1px solid #e1e9e3;border-radius:14px}.pf-report table{width:100%;border-collapse:collapse;min-width:760px}.pf-report th,.pf-report td{padding:10px 11px;border-bottom:1px solid #edf1ee;text-align:left;vertical-align:top;font-size:11px;line-height:1.4}.pf-report th{background:#f6faf7;color:#52665a;font-size:10px}.pf-report td{color:#35483c}.pf-report td small{display:block;margin-top:3px;color:#77877e;font-size:9px}.pf-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pf-cost-grid article{padding:12px;border:1px solid #e2ebe4;border-radius:13px;background:#fff}.pf-cost-grid small,.pf-cost-grid b{display:block}.pf-cost-grid small{color:#6f8076;font-size:10px}.pf-cost-grid b{margin-top:4px;color:#243a2c;font-size:15px}.pf-cost-grid article.total{background:#eff8f1;border-color:#cce2d2}.pf-report-note{margin:12px 0 0;padding:12px 14px;border:1px solid #e1e9e3;border-radius:13px;background:#f9fbfa;color:#65766c;font-size:10px;line-height:1.5}
.fence-features{box-sizing:border-box;width:min(100% - 40px,1520px);max-width:1520px;margin:28px auto 30px;padding:26px;border:1px solid #dfeae2;border-radius:24px;background:linear-gradient(180deg,#fff,#fbfdfb);box-shadow:0 18px 46px rgba(28,54,38,.06);overflow:hidden}.fence-features h2{margin:0 0 18px;color:var(--pf-text);font-size:clamp(25px,2.1vw,32px);line-height:1.08;letter-spacing:-.035em}.fence-features>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.fence-features article{min-width:0;min-height:190px;padding:18px 16px;border:1px solid #dfebe3;border-radius:19px;background:#fff;box-shadow:0 10px 24px rgba(31,59,41,.045);display:flex;flex-direction:column;align-items:flex-start}.fence-features article img{display:block;width:82px;height:82px;margin:0 0 12px;object-fit:contain;filter:drop-shadow(0 7px 12px rgba(18,145,58,.10))}.fence-features article b{display:block;margin-bottom:6px;color:var(--pf-text);font-size:15px;line-height:1.25}.fence-features article small{display:block;color:var(--pf-muted);font-size:12px;line-height:1.48}.fence-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fence-info-grid>article{padding:24px;border:1px solid #e0eae3;border-radius:20px;background:#fff}.fence-info-grid h2{margin-top:0}.fence-info-grid li{margin:8px 0;line-height:1.5}
@container profiled-fence-calculator (max-width:760px){.pf-stage-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-stage-nav small{display:none}.pf-stage-nav button{min-height:58px}.pf-stage-nav.pro button:nth-child(-n+6),.pf-stage-nav.simple button:nth-child(-n+2){border-bottom:1px solid #e6eee8}}
@media(max-width:1260px){.pf-workbench{grid-template-columns:minmax(0,47%) minmax(0,53%)}.pf-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.pf-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-dynamic-row,.pf-dynamic-row.opening{grid-template-columns:repeat(3,minmax(0,1fr))}.pf-dynamic-row .pf-remove{align-self:end}}
@media(max-width:980px){.fence-hero-grid{grid-template-columns:1fr}.fence-hero-art{display:none}.pf-shell-head{grid-template-columns:1fr}.pf-mode-switch button{min-width:0}.pf-workbench{grid-template-columns:1fr}.pf-controls{border-right:0;border-bottom:1px solid var(--pf-line)}.pf-live{position:relative;top:auto}.pf-stage-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px}.pf-report-head{display:grid}.fence-info-grid{grid-template-columns:1fr}}
@media(max-width:700px){.fence-hero{min-height:auto;background:#fff}.fence-hero-grid{padding:28px 0}.fence-hero-copy h1{font-size:34px}.fence-hero-copy>p{font-size:15px}.hero-badges{display:grid}.hero-badges span{width:max-content;max-width:100%}.pf-wrap{width:min(100% - 20px,1520px)}.pf-calc{padding-top:16px}.pf-shell{border-radius:21px}.pf-shell-head{padding:19px}.pf-shell-head h2{font-size:26px}.pf-mode-switch{grid-template-columns:1fr}.pf-controls,.pf-live,.pf-report{padding:15px}.pf-step-head h3{font-size:21px}.pf-card{padding:14px;border-radius:16px}.pf-grid-2,.pf-grid-3,.pf-grid-4{grid-template-columns:1fr}.pf-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-field>span{min-height:0}.pf-dynamic-row,.pf-dynamic-row.opening{grid-template-columns:1fr 1fr}.pf-dynamic-row .pf-remove{justify-self:end}.pf-card-head{display:grid}.pf-card-head .pf-add{justify-self:start}.pf-process-grid{grid-template-columns:1fr}.pf-step-actions{grid-template-columns:1fr 1fr}.pf-next{grid-column:1/-1;justify-self:stretch}.pf-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-kpis article.total{grid-column:1/-1}.pf-mini-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-view svg{min-height:300px}.pf-report-grid{grid-template-columns:1fr 1fr}.pf-cost-grid{grid-template-columns:1fr}.pf-report .table-wrap{overflow:visible;border:0}.pf-report table,.pf-report thead,.pf-report tbody,.pf-report tr,.pf-report th,.pf-report td{display:block;width:100%;min-width:0}.pf-report thead{display:none}.pf-report tbody{display:grid;gap:8px}.pf-report tr{padding:9px 11px;border:1px solid #e0ebe3;border-radius:13px;background:#fff}.pf-report td{display:grid;grid-template-columns:minmax(112px,38%) 1fr;gap:8px;padding:5px 0;border:0}.pf-report td:before{content:attr(data-label);color:#6a7b71;font-weight:800}.fence-features{width:min(100% - 20px,1520px);padding:16px;border-radius:19px}.fence-features>div{grid-template-columns:1fr}.fence-features article{min-height:0;display:grid;grid-template-columns:72px minmax(0,1fr);gap:13px;align-items:center;padding:14px}.fence-features article img{width:72px;height:72px;margin:0}}
@media(max-width:430px){.pf-shell-head,.pf-controls,.pf-live,.pf-report{padding:13px}.pf-stage-nav{padding:0 8px}.pf-stage-nav small{display:none}.pf-stage-nav button{gap:6px;padding:9px 6px}.pf-current-step{align-items:flex-start;flex-wrap:wrap}.pf-type-grid{grid-template-columns:1fr 1fr}.pf-view svg{min-height:250px}.pf-report-grid{grid-template-columns:1fr}.pf-report td{grid-template-columns:1fr;gap:2px}.pf-visual-toolbar>label{grid-template-columns:1fr}.pf-live-kpi{min-width:84px}.pf-kpis b{font-size:14px}}

/* v872: dynamic fence segments and openings wrap within the controls panel. */
.pf-dynamic-row,.pf-dynamic-row.opening{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
.pf-dynamic-row > *{min-width:0}
.pf-dynamic-row input,.pf-dynamic-row select{box-sizing:border-box}
.pf-dynamic-row .pf-remove{justify-self:end}
