:root{--green:#214d3a;--green-dark:#173c2d;--ink:#22392f;--muted:#758279;--line:#e0e6de;--paper:#f6f7f3;--mint:#eaf0e5;--accent:#b9cd87;--white:#fff;--radius:17px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,summary{ -webkit-tap-highlight-color:transparent }button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8ea857;outline-offset:3px}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{appearance:none}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.96)}button:active:not(:disabled){transform:translateY(1px)}.shell{max-width:1240px;margin:0 auto;padding:0 40px}.topbar{background:#fff;border-bottom:1px solid var(--line)}.topbar-inner{height:88px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;color:var(--green);text-decoration:none;font-size:17px;letter-spacing:.08em;font-weight:850;line-height:1.05}.brand-sub{display:block;font-size:12px;letter-spacing:.35em;margin-top:6px}.brand-icon{display:grid;place-items:center;width:46px;height:46px;background:var(--green);border-radius:10px}.brand-icon svg{width:31px;fill:none;stroke:white;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.header-tag{font-size:12px;display:flex;align-items:center;gap:8px;color:#63766a;background:#f2f5ef;padding:9px 13px;border-radius:20px}.small-dot{width:6px;height:6px;border-radius:50%;background:#7b9f65;display:inline-block}.intro{padding:46px 0 30px;display:flex;justify-content:space-between;align-items:center;gap:16px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.15em;margin:0 0 14px;color:#72836e}h1{font-size:48px;letter-spacing:-2px;font-weight:740;line-height:1.05;margin:0 0 13px}h1>span{color:#88a456}.lede{font-size:15px;margin:0;color:#6e7b71;line-height:1.5}.button{display:flex;align-items:center;justify-content:center;gap:11px;border-radius:9px;font-weight:650;border:1px solid transparent;min-height:47px;font-size:13px;padding:12px 19px}.secondary{background:white;border-color:var(--line);color:var(--green);white-space:nowrap}.secondary span{font-size:19px;margin-left:17px}.workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:25px;align-items:start}.editor{display:grid;gap:20px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px 27px}.section-heading{display:flex;align-items:center;gap:11px;margin-bottom:23px}.step{font-size:11px;display:grid;place-items:center;border-radius:50%;border:1px solid #e0e6db;width:27px;height:27px;color:#849179;background:#f7f9f4;flex-shrink:0}h2{font-size:17px;font-weight:690;margin:0;letter-spacing:-.3px}.unit-badge{font-size:9px;letter-spacing:.1em;color:#8b958b;margin-left:auto}.field{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#526557;font-weight:600}.field>input,input,select{width:100%;min-width:0;height:46px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff;padding:10px 13px;font-size:15px;font-weight:500}.field>input::placeholder{font-weight:400;color:#a0aaa1}.optional{font-size:11px;color:#8b978d;font-weight:400}.job-field{display:block;margin-bottom:24px}.job-field>.optional{margin-left:6px}.job-field input{display:block;margin-top:9px;height:43px;font-size:13px}.runs-labels{display:grid;grid-template-columns:1fr 121px 32px;gap:10px;font-size:9px;letter-spacing:.12em;color:#8a968b;margin-bottom:8px}.run{margin-bottom:10px}.run-main{display:grid;grid-template-columns:1fr 121px 32px;gap:10px;align-items:center}.run-name{font-size:13px;display:flex;align-items:center;gap:10px}.run-letter{font-size:11px;width:29px;height:29px;border-radius:6px;background:#eff3e9;color:#587548;display:grid;place-items:center;font-weight:700}.input-unit{position:relative;display:block}.input-unit input{padding-right:55px}.input-unit>span{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#98a292;font-size:11px;pointer-events:none;font-weight:400}.run-main .input-unit input{font-size:18px;font-weight:650;text-align:right;padding-right:31px;height:46px}.run-main .input-unit>span{right:11px}.remove-run{border:0;background:transparent;color:#98a293;font-size:23px;width:32px;height:42px}.shared-label{display:flex;align-items:center;gap:7px;margin:7px 0 3px 39px;font-size:11px;color:#74816f}.shared-label input{width:15px;height:15px;accent-color:var(--green);margin:0}.add-button{border:1px dashed #cdd8c7;background:#fafbf8;width:100%;padding:12px;border-radius:7px;color:#537246;font-size:12px;font-weight:600;margin-top:3px}.add-button span{font-size:17px;vertical-align:-1px;margin-right:5px}.field-help{font-size:11px;line-height:1.6;color:#879182;margin:12px 0 0}.height-choice{border:0;margin:0;padding:0}.height-choice legend{font-size:12px;font-weight:600;color:#526557;margin-bottom:11px}.height-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.height-option{position:relative;display:flex;align-items:center;gap:12px;min-height:83px;padding:16px 13px;border-radius:8px;border:1px solid var(--line);cursor:pointer}.height-option:has(input:checked){background:#f2f6eb;border-color:#7b9664;box-shadow:0 0 0 1px #7b9664}.height-option input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.height-option:has(input:focus-visible){outline:3px solid #8ea857;outline-offset:3px}.height-option strong{font-size:20px;line-height:1}.height-option small{display:block;font-size:10px;margin-top:7px;color:#879078;white-space:nowrap}.height-icon{display:flex;align-items:flex-end;gap:3px;height:33px;color:#8d9f7c}.height-icon i{display:block;background:currentColor;width:6px;border-radius:2px 2px 0 0;height:100%}.height-icon.short{height:23px}.height-option:has(input:checked) .height-icon{color:#527041}.radio-dot{margin-left:auto;width:14px;height:14px;flex-shrink:0;border:1px solid #cdd4c8;border-radius:50%}.height-option:has(input:checked) .radio-dot{border:4px solid #68864b;background:#fff}.switch-row{display:flex;align-items:center;gap:14px;position:relative;padding:22px 0 19px;margin-top:3px;border-bottom:1px solid #edf0e9;cursor:pointer}.switch-row strong,.inline-input strong{font-size:12px;font-weight:600;display:block}.switch-row small,.inline-input small{font-size:10px;margin-top:5px;color:#929b8d;display:block}.switch-row>input{opacity:0;position:absolute;right:0;width:42px;height:24px;cursor:pointer}.switch{width:37px;height:22px;border-radius:20px;background:#cfd7c9;display:block;margin-left:auto;flex-shrink:0;pointer-events:none;position:relative}.switch:after{content:'';position:absolute;width:16px;height:16px;top:3px;left:3px;background:white;border-radius:50%;transition:transform .2s}.switch-row input:checked+.switch{background:var(--green)}.switch-row input:checked+.switch:after{transform:translateX(15px)}.switch-row input:focus-visible+.switch{outline:3px solid #8ea857;outline-offset:3px}.inline-input{display:flex;justify-content:space-between;align-items:center;padding:18px 0}.inline-input input{width:65px;text-align:center;height:38px;font-size:14px}.inline-input label{margin-right:10px}details{border-top:1px solid #edf0e9}summary{cursor:pointer;display:flex;align-items:center;gap:10px;list-style:none;font-size:12px;font-weight:650;padding:20px 0 0}summary::-webkit-details-marker{display:none}.summary-caption{font-size:10px;color:#929b8d;font-weight:400}.chevron{margin-left:auto;font-size:19px;color:#899b7a;transition:transform .2s}details[open] .chevron{transform:rotate(180deg)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 14px;margin-top:20px}.settings-grid .field{font-size:11px}.settings-grid input,.settings-grid select{font-size:13px;height:42px}.settings-grid select{padding:8px}.result-card{background:#fff;border:1px solid #d8e0d2;border-radius:var(--radius);overflow:hidden;padding:26px 27px;box-shadow:0 9px 22px #243e2a06}.result-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.result-top .eyebrow{font-size:9px;margin:0;letter-spacing:.13em}.live-pill{font-size:9px;background:#edf4e6;color:#7c9163;padding:5px 7px;display:flex;gap:4px;align-items:center;border-radius:20px;white-space:nowrap}.live-pill>span{width:4px;height:4px;background:#83a85b;border-radius:50%}.length-summary{display:flex;align-items:center;gap:14px;margin:19px 0 10px}.length-summary>strong{font-size:61px;line-height:1.1;letter-spacing:-3px;font-weight:650;color:var(--green)}.length-summary>span{font-size:17px;line-height:1.6;color:#54704f}.length-summary small{font-size:10px;color:#99a08e}.fence-illustration{background:#f5f8ef;border-radius:9px;margin:16px 0 25px;padding:5px 14px 12px;background-image:linear-gradient(#e5ebdf55 1px,transparent 1px),linear-gradient(90deg,#e5ebdf55 1px,transparent 1px);background-size:18px 18px}#fence-view{display:block;width:100%;height:auto}.diagram-caption{display:flex;justify-content:space-between;font-size:10px;color:#889780;border-top:1px solid #e1e8da;padding-top:9px}.materials-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.materials-header h2{font-size:16px}.materials-header>span{font-size:9px;color:#90a082}.material-row{display:grid;grid-template-columns:37px 1fr auto;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #edf0e8}.material-icon{width:35px;height:35px;background:#f4f6ef;border-radius:8px;display:grid;place-items:center}.material-icon svg{width:23px;height:23px;fill:none;stroke:#8d9d7b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.material-name strong{font-size:13px;font-weight:600;display:block}.material-name small{display:block;font-size:10px;color:#939d8b;margin-top:4px;line-height:1.4}.material-count{font-size:25px;font-weight:650;color:#375c38;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.post-note{font-size:10px;color:#98a08f;margin:12px 0 20px;line-height:1.5}.primary{background:var(--green);color:white;width:100%;min-height:48px;box-shadow:0 3px 5px #214d3a10}.primary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}.print-button{border:0;background:transparent;color:#85917c;font-size:11px;display:block;width:100%;padding:15px 0 0}.print-button span{margin-left:7px}.saving-status{display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;color:#99a08f;padding:15px 0}.saving-status .small-dot{width:4px;height:4px}.details-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-top:25px;padding:23px 27px}.details-card .section-heading{margin-bottom:15px}.details-card .section-heading>.optional{margin-left:auto}.table-icon{color:#8a9b7a;font-size:21px;line-height:1}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#98a18f;font-weight:500;padding:12px 15px;background:#f7f9f3}th:first-child{border-radius:6px 0 0 6px}th:last-child{border-radius:0 6px 6px 0}td{padding:15px;border-bottom:1px solid #f0f2eb;color:#53654c}td small{font-size:9px;color:#96a089;margin-left:7px}.table-note{color:#99a28f;font-size:10px;line-height:1.5;margin:11px 0 0}.cut-details{margin-top:15px}.cut-details summary{font-size:11px;padding-top:15px}.cut-details .optional{font-size:10px}.cut-chip{display:inline-block;border:1px solid #e2e8db;border-radius:6px;padding:10px 13px;font-size:11px;margin:12px 7px 0 0;color:#708364;background:#f9faf6}.cut-chip b{color:#3d5b36;margin-right:7px}.notes{display:flex;gap:10px;margin:21px 2px 0;color:#95a089;font-size:10px;line-height:1.7}.notes p{margin:0}.notes strong{font-weight:600;color:#7e8e72}.note-icon{display:grid;place-items:center;width:15px;height:15px;border:1px solid #a5b196;border-radius:50%;flex-shrink:0;font-size:10px;margin-top:3px}footer{margin-top:35px;padding:23px 0 28px;display:flex;justify-content:space-between;border-top:1px solid #e5e9e0;font-size:9px;letter-spacing:.08em;color:#97a08e}.footer-slash{margin:0 9px;color:#c3cbbb}footer>span:last-child{font-size:11px;letter-spacing:0}.error-box{background:#fff4eb;color:#895d36;padding:13px;font-size:12px;line-height:1.6;border:1px solid #eedaca;border-radius:8px;margin:15px 0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--green-dark);color:white;border-radius:10px;padding:14px 23px;box-shadow:0 8px 30px #0002;font-size:13px;z-index:4;max-width:90vw;text-align:center}dialog{width:500px;max-width:calc(100vw - 30px);border:1px solid var(--line);border-radius:15px;padding:24px;color:var(--ink)}dialog::backdrop{background:#18352666}dialog p{font-size:13px;color:var(--muted)}dialog textarea{width:100%;height:300px;padding:12px;border:1px solid var(--line);font-size:12px;border-radius:7px;line-height:1.7;margin-bottom:15px}[hidden]{display:none!important}
@media(min-width:1000px){.results-column{position:sticky;top:22px}}
@media(max-width:1000px){.shell{padding:0 26px}.workspace{gap:18px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.card,.result-card{padding:22px}.height-option{gap:8px;padding:13px 10px}.height-icon{display:none}.summary-caption{display:none}.result-top{align-items:flex-start}.result-top .eyebrow{font-size:8px;max-width:130px;line-height:1.5}.live-pill{font-size:8px}}
@media(max-width:760px){.shell{padding:0 20px}.topbar-inner{height:73px}.brand{font-size:14px;gap:9px}.brand-sub{font-size:10px}.brand-icon{width:39px;height:39px}.header-tag{font-size:10px;padding:7px 10px}.intro{padding:31px 0 24px;align-items:flex-start}.eyebrow{font-size:8px;letter-spacing:.11em;margin-bottom:11px}h1{font-size:37px;letter-spacing:-1.7px;margin-bottom:10px}.lede{font-size:12px;max-width:220px}.intro .button{font-size:10px;min-height:35px;padding:8px 10px;margin-top:24px}.secondary span{margin-left:2px;font-size:13px}.workspace{grid-template-columns:1fr;gap:20px}.card,.result-card{padding:22px}.editor{gap:18px}.height-icon{display:flex}.height-option{gap:12px;padding:16px 14px}.section-heading{margin-bottom:20px}.summary-caption{display:inline;font-size:9px}.result-top .eyebrow{font-size:9px;max-width:none}.live-pill{font-size:9px}.length-summary>strong{font-size:62px}.result-card{padding:25px}.material-row{padding:17px 0}.material-name strong{font-size:14px}.material-name small{font-size:11px}.material-count{font-size:28px}.material-icon{width:39px;height:39px}.details-card{padding:20px;margin-top:5px}.details-card .section-heading>.optional{display:none}.cut-details summary .optional{display:none}th,td{padding:12px}.notes{font-size:10px}.saving-status{padding:13px 0}footer{font-size:8px;line-height:1.8;gap:20px;margin-top:26px}footer>span:last-child{font-size:10px;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media print{@page{margin:15mm}body{background:#fff}.shell{padding:0;max-width:none}.topbar{border:0}.topbar-inner{height:65px}.header-tag,.intro .button,.editor,.saving-status,.result-card .primary,.print-button,.toast,.notes,footer,.fence-illustration,.live-pill{display:none}.intro{padding:15px 0}h1{font-size:29px}.workspace{display:block}.result-card{box-shadow:none;padding:20px}.results-column{position:static}.length-summary>strong{font-size:40px}.material-row{padding:10px 0;break-inside:avoid}.material-count{font-size:22px}.details-card{margin-top:18px;break-inside:avoid}.cut-details{display:none}.lede{font-size:12px}.materials-header>span{font-size:10px}.post-note{margin:12px 0 0}}

.run{padding:0 0 18px;margin-bottom:15px;border-bottom:1px solid #edf0e8}.run-options{display:grid;grid-template-columns:1fr 1.18fr;gap:12px;margin-top:13px}.run-options label{font-size:10px;color:#85927b;display:block}.run-options select{display:block;height:38px;padding:8px;font-size:11px;margin-top:6px;background:#fcfdf9}.cleat-help{font-size:10px;line-height:1.5;color:#719057;background:#f2f6eb;padding:9px 11px;border-radius:5px;margin:10px 0 0}.cut-heading{font-size:11px;font-weight:600;color:#718164;margin:20px 0 0}.run:last-child{margin-bottom:8px}@media(max-width:390px){.run-options{grid-template-columns:1fr}.summary-caption{display:none}.height-option{padding:13px 10px;gap:9px}}
/* Shared Washington Fencing identity, scoped to this calculator page. */
:root{--green:#193b2d;--green-dark:#102c20;--paper:#f7f7f0}
body{font-family:Arial,Helvetica,sans-serif}
.site-header{border-bottom:1px solid #d7ddd3;background:#f7f7f0}.site-header .wrap{max-width:1280px;width:calc(100% - 112px);margin:0 auto}.header-inner{height:108px;display:flex;align-items:center;justify-content:space-between;gap:30px}.site-header a{text-decoration:none;color:inherit}.site-header .brand{font-size:21px;letter-spacing:-.03em;font-weight:800;line-height:1.1;gap:12px}.site-header .brand svg{display:block;width:44px;height:44px;color:#356239;flex-shrink:0}.site-header .brand-bottom{display:block;font-size:21px;letter-spacing:.14em;margin-top:3px}.header-inner nav{display:flex;gap:22px;margin-left:auto;font-size:16px;white-space:nowrap}.header-inner nav a:hover,.header-inner nav [aria-current=page]{text-decoration:underline;text-underline-offset:6px}.header-phone{display:flex;align-items:center;font-size:18px;font-weight:700;margin-left:24px;border-left:1px solid #d7ddd3;padding-left:32px;white-space:nowrap}.mobile-planner-link{display:none}.skip-link{position:absolute;top:-100px;left:12px;background:white;padding:12px;z-index:10;color:var(--green)}.skip-link:focus{top:10px}.planner-breadcrumb{display:flex;gap:10px;font-size:12px;color:#798b70;margin-top:25px}.planner-breadcrumb a{color:var(--green);text-underline-offset:3px}.intro{padding-top:28px}footer a{color:inherit;text-decoration:none}footer a:hover{text-decoration:underline}
@media(max-width:1100px){.site-header .wrap{width:calc(100% - 64px)}.header-inner{gap:20px}.header-inner nav{gap:12px;font-size:14px}.header-phone{margin-left:0;padding-left:22px;font-size:16px}.site-header .brand,.site-header .brand-bottom{font-size:18px}.site-header .brand svg{width:37px}}
@media(max-width:1000px){.header-inner nav{display:none}.mobile-planner-link{display:flex;justify-content:center;align-items:center;min-height:44px;padding:11px 20px;font-size:14px;font-weight:600;background:#e9eedf;border-top:1px solid #d7ddd3;color:var(--green)}.header-inner{height:90px}}
@media(max-width:600px){.site-header .wrap{width:calc(100% - 40px)}.header-inner{height:82px;gap:10px}.site-header .brand{font-size:14px;gap:8px}.site-header .brand-bottom{font-size:15px}.site-header .brand svg{width:31px;height:34px}.header-phone{padding:0;border:0;font-size:14px}.planner-breadcrumb{margin-top:19px;font-size:11px}.intro{padding-top:22px}footer{flex-wrap:wrap;row-gap:10px}footer a:last-child{font-size:12px}}
@media print{.site-header,.skip-link,.planner-breadcrumb{display:none}}
