:root{color-scheme:light;color:#263e36;background:#faf9f6;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{background:#faf9f6;min-height:100vh;margin:0}.page-shell{width:min(100%,78rem);margin:0 auto;padding:2rem 1rem 4rem}.hero-section{max-width:48rem;margin:3.5rem 0 2.5rem}.hero-section h1{margin:.25rem 0 1rem;font-size:clamp(2rem,4vw,3.5rem)}.hero-section p{margin:0;line-height:1.6}.calculator-card{background:#ffffffdb;border:1px solid #5f3dc41f;border-radius:1.5rem;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:1.5rem;padding:1.5rem;display:grid;box-shadow:0 20px 40px #4f378b14}.calculator-form,.results-panel dl{gap:1rem;display:grid}.calculator-form label,.results-panel div{gap:.35rem;display:grid}.calculator-form span,.results-panel dt{font-weight:600}input,select,button{font:inherit}input,select{background:#fff;border:1px solid #d5ddd5;border-radius:.5rem;width:100%;padding:.8rem .9rem}button{color:#fff;cursor:pointer;background:#315f49;border:0;border-radius:.5rem;padding:.9rem 1.25rem;font-weight:700}.site-header,.site-header nav,.pane-heading,.pane-footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.site-header{border-bottom:1px solid #e0e4dc;padding-bottom:1.5rem}.brand{color:#263e36;font-size:1.15rem;font-weight:750;text-decoration:none}.brand span{color:#53785d;vertical-align:middle;margin-right:.5rem;font-size:1.6rem}.site-header nav{gap:.35rem}.site-header nav a{color:#526358;border-radius:.35rem;padding:.65rem;text-decoration:none}.site-header nav a[aria-current]{color:#263e36;background:#e8eee3;font-weight:700}.hero-section h1{letter-spacing:-.045em;font-weight:650;line-height:1.12}.hero-section>p:last-child{color:#617067;max-width:43rem;font-size:1.08rem}.gauge-panel{background:#f0f3eb;border:1px solid #dce2d7;border-radius:.85rem;grid-template-columns:minmax(0,1fr) auto;gap:1rem 2rem;padding:1.5rem;display:grid}.gauge-fields{grid-template-columns:1fr 1fr 1.5fr;gap:1rem;display:grid}.gauge-fields label{gap:.6rem;min-width:0;font-size:.875rem;font-weight:650;display:grid}.gauge-fields input{font-size:1.2rem;font-weight:600}.gauge-fields select{height:100%}.gauge-hint{color:#59685d;grid-column:1/-1;margin:0;font-size:.8rem}.gauge-panel .error-text{grid-column:1/-1}.ratio-panel{border-left:1px solid #d5ddd0;flex-direction:column;justify-content:center;gap:.5rem;min-width:10rem;padding-left:2rem;display:flex}.ratio-panel span{color:#59685d;font-size:.8rem}.ratio-panel output{font-variant-numeric:tabular-nums;font-size:2rem;font-weight:650}.workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;margin-top:1.5rem;display:grid}.pattern-pane{z-index:0;background:#fff;border:1px solid #dce2d7;border-radius:.85rem;flex-direction:column;min-width:0;display:flex;position:relative;overflow:visible}.pane-heading{border-bottom:1px solid #e9ece5;flex-wrap:wrap;min-height:5rem;padding:1rem 1.2rem}.pane-heading label,.pane-heading h2{margin:0;font-size:1rem;font-weight:650}.pane-heading button{min-height:2.75rem;padding:.6rem .8rem;font-size:.85rem}.quiet-button{color:#536457;background:#f1f3ee}.pattern-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.default-pattern-button{color:#fff;background:#315f49}.help-button{color:#315f49;background:#fff;border:1px solid #8ca495}.action-label-short{display:none}.pattern-input-editor{flex:1;min-height:23rem;position:relative;overflow:hidden}.pattern-pane textarea,.pattern-input-highlights,.pattern-output{color:#364a3d;overflow-wrap:anywhere;white-space:pre-wrap;width:100%;min-height:23rem;margin:0;padding:1.5rem;font:1rem/1.8 ui-monospace,Cascadia Code,Consolas,monospace}.pattern-input-highlights{z-index:0;pointer-events:none;scrollbar-width:none;position:absolute;inset:0;overflow:auto}.pattern-input-highlights::-webkit-scrollbar{display:none}.pattern-pane textarea{z-index:1;resize:none;color:#0000;caret-color:#364a3d;-webkit-text-fill-color:transparent;background:0 0;border:0;border-radius:0;position:absolute;inset:0}.highlighted-textarea::placeholder{color:#717b71;-webkit-text-fill-color:#717b71}.pattern-output{flex:1}.output-pane{background:#fdfefb}textarea::placeholder,.placeholder{color:#717b71}.changed-count{color:#244a30;background:#e0edb9;border-radius:.2rem;padding:.08rem .12rem}.tracked-keyword{color:#174b67;background:#d9edf5;border-radius:.2rem;padding:.08rem .12rem}.pane-footer{color:#667263;border-top:1px solid #e9ece5;flex-wrap:wrap;align-items:flex-start;min-height:3.8rem;padding:.9rem 1.2rem;font-size:.75rem;line-height:1.5}.text-button{color:#315f49;font-size:inherit;background:0 0;border-radius:.15rem;padding:0;text-decoration:underline}.terms-help-wrap{z-index:3;position:relative}.terms-help{z-index:4;color:#405147;background:#fffef9;border:1px solid #cbd8c9;border-radius:.65rem;width:min(22rem,100vw - 3rem);padding:1rem;font-size:.8rem;position:absolute;bottom:calc(100% + .8rem);right:0;box-shadow:0 .7rem 1.8rem #263e362b}.terms-help:after{content:"";background:#fffef9;border-bottom:1px solid #cbd8c9;border-right:1px solid #cbd8c9;width:.8rem;height:.8rem;position:absolute;bottom:-.45rem;right:1.75rem;transform:rotate(45deg)}.terms-help-heading{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.terms-help h3{color:#263e36;margin:0;font-size:.9rem}.terms-help p{margin:.7rem 0;line-height:1.5}.terms-help ul{margin:.7rem 0;padding-left:1.2rem;line-height:1.55}.icon-button{z-index:1;color:#405147;background:0 0;min-height:0;padding:0 .25rem;font-size:1.35rem;line-height:1;position:relative}.save-note{text-align:center;color:#667263;margin:.25rem 0 1.7rem;font-size:.8rem}.analytics-preference{color:#59685d;cursor:pointer;justify-content:center;align-items:flex-start;gap:.6rem;max-width:34rem;margin:-1rem auto 1.7rem;font-size:.8rem;line-height:1.4;display:flex}.analytics-preference input{accent-color:#315f49;width:1rem;height:1rem;margin:.1rem 0 0}.analytics-preference span{gap:.15rem;display:grid}.analytics-preference strong{color:#405147}.analytics-preference small{font-size:inherit}.copy-status{text-align:right;min-height:1.3em;margin:.5rem 0;font-size:.85rem}.review-note{background:#f6f3eb;border:1px solid #e6e0d1;border-radius:.75rem;padding:1.25rem 1.5rem}.review-note h2{margin:0 0 .5rem;font-size:.9rem}.review-note p{color:#655f4d;margin:0;font-size:.85rem;line-height:1.7}.seo-content{background:#f0f3eb;border-top:1px solid #dce2d7;margin:4rem calc(50% - 50vw) 0;padding:4rem 1rem}.seo-content-inner{width:min(100%,48rem);margin:0 auto}.seo-content section+section{margin-top:3.25rem}.seo-content h2{letter-spacing:-.02em;margin:0 0 1rem;font-size:clamp(1.45rem,3vw,2rem)}.seo-content p,.seo-content li{color:#4f6156;font-size:1rem;line-height:1.75}.seo-content p{margin:0}.seo-content p+p{margin-top:1rem}.seo-content ol{gap:.9rem;margin:0;padding-left:1.5rem;display:grid}.seo-content li{padding-left:.35rem}.gauge-formula{background:#fffef9;border-left:.25rem solid #547564;border-radius:0 .4rem .4rem 0;padding:1rem 1.25rem;font-weight:700;color:#263e36!important}.faq-list{gap:.75rem;display:grid}.faq-list details{background:#fffef9;border:1px solid #d5ddd5;border-radius:.6rem}.faq-list summary{cursor:pointer;padding:1rem 1.2rem;list-style-position:inside}.faq-list summary h3{color:#263e36;margin:0;font-size:1rem;line-height:1.5;display:inline}.faq-list details>p{padding:0 1.2rem 1.2rem}.faq-list summary::marker{color:#315f49}input,select{min-width:0}button:disabled{opacity:.5;cursor:default}button:not(:disabled):hover{filter:brightness(.93)}:focus-visible{outline-offset:3px;outline:3px solid #77916c}.pattern-pane textarea:focus-visible,.pattern-output:focus-visible{outline-offset:-3px}@media (width<=55rem){.gauge-panel{grid-template-columns:minmax(0,1fr)}.ratio-panel{border-top:1px solid #d5ddd0;border-left:0;flex-direction:row;justify-content:space-between;align-items:center;padding:1rem 0 0}}@media (width<=40rem){.hero-section{margin:2rem 0}.gauge-panel{padding:1rem}.gauge-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.unit-field{grid-column:1/-1}.pane-heading{align-items:flex-start}.pattern-header-actions{flex-wrap:nowrap;justify-content:stretch;gap:.35rem;width:100%}.pattern-header-actions button{white-space:nowrap;min-width:0;min-height:2.5rem;padding:.5rem .55rem;font-size:.75rem}.default-pattern-button,.help-button{flex:auto}.quiet-button{flex:none}.action-label-full{display:none}.action-label-short{display:inline}.workspace{grid-template-columns:minmax(0,1fr)}.pattern-input-editor{min-height:17rem}.pattern-pane textarea,.pattern-input-highlights,.pattern-output{min-height:17rem;padding:1rem}.terms-help{z-index:10;width:auto;max-height:calc(100dvh - 1.5rem);position:fixed;bottom:.75rem;left:.75rem;right:.75rem;overflow-y:auto}.terms-help:after{display:none}.seo-content{margin-top:2.5rem;padding:2.5rem 1rem}}.checkbox-row{grid-template-columns:auto 1fr;align-items:center}.checkbox-row input{width:1rem;height:1rem}.preference-note,.error-text{margin:0;font-size:.95rem}.results-panel{background:#f4f0ff;border-radius:1rem;align-self:start;padding:1rem}.results-panel dd{margin:0;font-size:1.5rem;font-weight:700}.error-text{color:#c2255c}@media (width<=40rem){.page-shell{padding:1.25rem .85rem 3rem}.calculator-card{padding:1rem}}
