/*!

	Copyright MAS Environmental Ltd 2026
	Version 6.1

*/
:root{--blue:#3984c1;--red:#db504a;--maroon:#900;--yellow:#ecb53c;--ground:#ccc;--sky:#fff;--main-color:#ecb53c;--second-color:#333;--boxshadow:0 2px 3px #00000040, 0 4px 6px #00000020;--smooth-grad:linear-gradient(180deg, #00000079 0%, #0000005e 5%, #0000004a 10%, #00000039 15%, #0000002d 20%, #0000001b 30%, #0001 40%, #0000000a 50%, #00000005 65%, #00000003 80%, #0000 100%);--smooth-grad-lr:linear-gradient(90deg, #00000079 0%, #0000005e 5%, #0000004a 10%, #00000039 15%, #0000002d 20%, #0000001b 30%, #0001 40%, #0000000a 50%, #00000005 65%, #00000003 80%, #0000 100%);--buttonshadow:0 2px 2px #0003;--buttonhover:0 3px 4px #0006}#tool_diagram *,#tool_values_nav,#tool_settings{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-khtml-user-select:none}#tool_content{display:none}#tool_wrap #tool_content{display:block}#tool_wrap *{box-sizing:border-box}#tool_wrap{border:1px solid #000;min-width:200px;font-family:Roboto,Arial,sans-serif;font-size:16px;font-weight:300;line-height:1.5;position:relative;container-type:inline-size}@media (width>=801px){#tool_wrap{border:2px solid #000}}@media (width<=1024px){#tool_wrap{font-size:15px}}@media (width<=800px){#tool_wrap{font-size:14px}}@media (width<=640px){#tool_wrap{font-size:13px}}@media (width<=480px){#tool_wrap{font-size:12px}}@media (width<=360px){#tool_wrap{font-size:11px}}@media (width<=240px){#tool_wrap{font-size:10px}}@container (width<=1024px){#tool_content.fullscreen :is(#tool_diagram_svg,#tool_values,#tool_settings){font-size:15px}}@container (width<=800px){#tool_content.fullscreen :is(#tool_diagram_svg,#tool_values,#tool_settings){font-size:14px}}@container (width<=640px){#tool_content.fullscreen :is(#tool_diagram_svg,#tool_values,#tool_settings){font-size:13px}}@container (width<=480px){#tool_content.fullscreen :is(#tool_diagram_svg,#tool_values,#tool_settings){font-size:12px}}@container (width<=360px){#tool_content.fullscreen :is(#tool_diagram_svg,#tool_values,#tool_settings){font-size:11px}}@container (width<=240px){#tool_content.fullscreen :is(#tool_diagram_svg,#tool_values,#tool_settings){font-size:10px}}#tool_wrap input,#tool_wrap textarea,#tool_wrap button,#tool_wrap select{font-family:inherit;font-weight:inherit;font-size:inherit}@keyframes hide{0%{opacity:1}to{opacity:0}}@keyframes unhide{0%{opacity:0}to{opacity:1}}.hide:not(.animate){opacity:0;pointer-events:none}.hide.animate{pointer-events:none;animation:.3s ease-out forwards hide}.unhide{animation:.3s ease-out forwards unhide}@keyframes removeOutline{0%{outline-color:var(--blue)}to{outline-color:#0000}}#tool_wrap input[type=number]:focus,#tool_wrap select:focus{outline:none;animation:1s forwards removeOutline}#tool_wrap textarea:focus,#tool_wrap button:focus,#tool_wrap label.radiobutton:focus-within{outline:2px solid var(--blue);animation:1s forwards removeOutline}#tool_wrap input[type=number]::selection,#tool_wrap textarea::selection{color:var(--blue);background-color:#00000020}#tool_wrap input[type=number],#tool_wrap select{border:1px solid #00000040;border-radius:3px;width:3em;height:1.5em;margin:0;font-weight:400;transition:border .2s,background-color .5s,color .5s;display:inline-block}#tool_wrap input[type=number]{text-align:center;-moz-appearance:textfield;cursor:pointer;line-height:1}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#tool_wrap input[type=checkbox]{accent-color:var(--blue)}#tool_wrap .limited input[type=checkbox]{accent-color:var(--maroon)}#tool_wrap input[type=number]:focus,#tool_wrap select:focus,#tool_wrap input[type=number]:active{border-color:var(--blue)}#tool_wrap input[type=number]:invalid{box-shadow:none;outline:none}#tool_wrap input.invalid{border-color:var(--red)}#tool_wrap input.editing{color:var(--blue)}#tool_wrap input.limited,#tool_wrap label.limited,#tool_wrap span.limited{color:var(--red)}#tool_wrap select{background-color:#fff}#tool_wrap table{border-collapse:collapse;border-spacing:0;width:100%}#tool_header{margin-bottom:1em}#tool_header h1,#tool_header p,#tool_wrap h1,#tool_wrap h2,#tool_wrap h3,#tool_wrap li,#tool_wrap p{color:#000;margin:0;padding:0;font-size:1em}#tool_header h1,#tool_wrap h1{padding-right:1em;font-size:1.5em;font-weight:400;line-height:1.15}#tool_header p{color:var(--blue);margin:.5em 0;line-height:1.15}@media (width>=1025px){#tool_header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;display:flex}#tool_header h1,#tool_header p{white-space:nowrap;margin:0}}#tool_wrap h2{font-weight:400}#tool_wrap h3{color:var(--blue);font-weight:400}#tool_wrap ul{margin:0}#tool_wrap th{background-color:#0000;font-weight:300}#tool_wrap th,#tool_wrap td{text-align:center;border:0;margin:0;padding:0}#tool_wrap a{color:var(--blue)}#tool_notes .title{margin-top:1.5em;display:block}#tool_notes{font-weight:300;line-height:1.35}#tool_notes b,#tool_notes strong{font-weight:400}#tool_notes h1,#tool_notes h2,#tool_notes h3{color:inherit;font-weight:400}#tool_notes h1 b,#tool_notes h1 strong,#tool_notes h2 b,#tool_notes h2 strong,#tool_notes h3 b,#tool_notes h3 strong{font-weight:700}#tool_notes li{margin-bottom:.5em}#tool_notes table{border-collapse:collapse;width:100%}#tool_notes th,#tool_notes td{text-align:left;border:1px solid #ccc;padding:.333em .5em;font-size:.875em}#tool_notes th{background-color:#ddd}#tool_notes h2{border-bottom:1px solid #00000040;width:100%;margin-top:.5em;padding:.5em 0;line-height:1.15}.handle,.touch,.dimension,.clickable,#tool_wrap label,#tool_wrap button,#tool_values_tab_single,#tool_values_tab_multi,#tool_values_breakdown,#tool_values_aweighted,#tool_values_limit{cursor:pointer}svg [fill]{transition:fill .2s,stroke .2s}svg .hover [fill=\#000000]{fill:var(--blue)!important}svg .hover [stroke=\#000000]{stroke:var(--blue)!important}label svg{vertical-align:top;margin-right:.25em}#tool_notes a.site_button{color:var(--second-color);background-color:#0000;background-image:linear-gradient(90deg, var(--main-color) 0%, var(--main-color) 100%);background-position:50% 100%;background-repeat:no-repeat;background-size:100% 0;padding:.5rem 1.5rem;font-size:.875rem;font-weight:700;transition:border-color .2s,color .2s,background-size .2s;display:inline-block;border:2px solid!important}#tool_notes a.site_button:hover,#tool_notes a.site_button:focus-visible{color:#000;background-size:100% 100%}#tool_wrap #tool_preload{aspect-ratio:1096/466;text-align:center;flex-direction:column;justify-content:center;padding:1em 5%;display:flex}#tool_wrap #tool_preload p{color:var(--red);padding:1em 0 0}#tool_diagram_svg{width:100%;min-width:100%;display:block}#tool_diagram{position:relative}#tool_data{position:relative;overflow:hidden}#tool_values_main{background-color:#fff;display:grid;position:relative;box-shadow:2px 2px 1px #00000040}#tool_values_main,#tool_settings{margin:0;padding:0 0 1em}.tool_values_section,.tool_settings_section{margin:0;padding:1em 1em 0}@container (width>600px){#tool_values_main,#tool_settings{flex-wrap:wrap;justify-content:space-between;padding-left:.5em;padding-right:.5em;display:flex}.tool_values_section,.tool_settings_section{flex:1 0;padding-left:.75em;padding-right:.75em}#tool_values_main{padding-bottom:0}.tool_values_section{padding-bottom:1em}#tool_values_receiver{border-left:1px dashed #00000040}}@container (width>800px){.tool_values_section,.tool_settings_section{padding-left:1em;padding-right:1em}}@container (width<1024px){.tool_settings_section{min-width:50%}#tool_settings .option_list{flex-wrap:wrap;justify-content:space-between;align-items:stretch;gap:1px;display:flex}#tool_settings .option_list li{text-align:center;flex:1 0;align-items:stretch;display:flex}#tool_settings .option_list label{flex:1 0;justify-content:center;align-items:center;line-height:1.25;display:flex}#tool_settings .option_list li:first-child label{margin-left:0}}@container (width>=1025px){#tool_values_main,#tool_settings{padding-left:1em;padding-right:1em}#tool_settings .option_list label{margin-bottom:1px;line-height:1.5;display:block}}.tool_values_section:after{content:" ";clear:left;display:block}#tool_method{gap:.5em;display:flex}#tool_method select{flex:1}.highlight{background-color:#fff200}#tool_values_nav,#tool_values_nav li{margin:0;padding:0;list-style:none}#tool_values_nav{background-color:var(--ground);align-items:flex-end;gap:5px;margin-top:2px;padding:0 3rem 0 5px;line-height:1;display:flex}#tool_values_nav li{flex:0 auto;position:relative}#tool_values_nav li label{background-color:#0000;border-radius:5px 5px 0 0;justify-content:center;align-items:center;gap:.5em;padding:0 .5em;transition:background-color .2s;display:flex}#tool_values_nav li label svg{width:2.5em;max-width:40px;height:2.5em;max-height:40px;margin-right:0}@container (width>360px){#tool_values_nav li label{padding-left:1em;padding-right:1em}#tool_values_nav li .tab_title{padding-right:1em}}@container (width>800px){#tool_values_nav li label{padding-left:1.5em;padding-right:1.5em}}@container (width<300px){#tool_values_nav li .tab_title{display:none}}#tool_values_tab_single_radio,#tool_values_tab_multi_radio,#tool_settings .option_list li input{opacity:0;position:absolute}#tool_values_nav li label:hover,#tool_values_nav li label:focus-visible{background-color:#aaa}#tool_values_nav li.active label{background-color:#fff;font-weight:400;transition:background-color;box-shadow:2px 2px 1px #00000040}#tool_values #single_freq{width:5em}.tool_values_title,.tool_settings_title{position:relative}.tool_values_title,.tool_settings_title,.tool_settings_title{flex-wrap:wrap;align-items:center;min-height:2em;line-height:1.15;display:flex}.tool_values_title h2,.tool_settings_title h2,.tool_settings_title h2{flex-grow:1}#tool_wrap .option{color:#999;font-weight:400;transition:color .2s;display:inline-block}#tool_wrap label.option{vertical-align:middle;align-items:center;padding:.25em .5em;display:inline-flex}#tool_wrap .option input[type=checkbox]{margin:0 .25em 0 0}#tool_wrap .option:hover,#tool_wrap .option:focus-visible{color:#000}#tool_wrap .option.active{color:#000;font-weight:400}#tool_wrap .option.limited{background-color:var(--red);color:#fff;font-weight:400;transition:background-color .2s}@container (width>200px){.tool_values_subsection{float:left;width:50%;padding-right:1em}}#tool_values_main h3{margin:.25em 0 .5em}.tool_values_title,.tool_settings_title{border-bottom:1px solid #00000040;margin-bottom:1px;font-size:1em;font-weight:400}#tool_wrap .sum input{color:inherit}#tool_values_main label{line-height:1.25;display:block}#tool_values_main table{margin-top:.5em}#tool_values input{font-size:1.125em}#tool_values_main .input{width:11%;padding-right:1px}#tool_values_main .input input{width:100%;margin:0;padding:0;font-size:1em}@container (width<240px){#tool_values_main .multi .input{padding-right:0}#tool_values_main .multi .inputs input{border-left-width:0;border-radius:0;padding-right:0;font-size:.875em}#tool_values_main .multi .inputs .input:first-child input{border-left-width:1px}}#tool_values .hz.active{background-color:#ccc}#tool_values_calculation{border:1px solid var(--blue);background-color:#fff;border-radius:4px;flex:1;margin:.75rem;position:relative}#tool_values_calculation h2{text-align:center;background-color:var(--blue);color:#fff;border-radius:3px 3px 0 0;height:1.5rem;font-size:.75rem;line-height:1.5rem}#tool_values_calculation table{margin:0}#tool_values_calculation thead{background-color:#ddd}#tool_values_calculation th{vertical-align:middle;height:1.5em;padding:.5em .5%;font-size:.75rem;font-weight:400;line-height:1.15}#tool_values_calculation th:empty{position:relative}#tool_values_calculation th:empty:before{content:" ";border:0 solid #bbb;border-left-width:1px;position:absolute;inset:.75em 0;transform:translate(50%)}#tool_values_calculation td{vertical-align:top;padding:.25em 0}#tool_values_calculation .breakdown_notes td{color:var(--blue);padding-top:0;padding-bottom:0;font-size:.75em;line-height:1.15}#tool_values_calculation .breakdown_notes td span{padding-bottom:.25em;display:block}#tool_values_calculation input{display:inline;border:0!important}#tool_values_calculation .symbol{color:var(--blue)}@container (width<=600px){#tool_values_calculation table{grid-template-columns:2fr 1fr;display:grid}#tool_values_calculation thead,#tool_values_calculation tbody{padding:1em;display:grid}#tool_values_calculation thead{grid-template-columns:1fr}#tool_values_calculation tbody{grid-template-columns:1fr 2fr}#tool_values_calculation tr{grid-template-rows:repeat(auto-fit,1.5em);grid-template-columns:1fr;display:grid}#tool_values_calculation td,#tool_values_calculation th{flex-direction:column;justify-content:center;align-items:flex-start;width:100%;height:100%;padding:0;display:flex}#tool_values_calculation th{text-align:right;align-items:flex-end;height:2em;overflow:hidden}#tool_values_calculation th:empty:before{border-top-width:1px;border-left-width:0;inset:0;transform:translateY(50%)}#tool_values_calculation .breakdown_notes td{text-align:left;padding-left:1em;overflow:hidden}#tool_values_calculation .breakdown_notes td span{display:inline}}.close{cursor:pointer;opacity:.5;transition:opacity .2s;position:absolute;top:0;right:0}.close:hover,.close:focus-visible{opacity:1}#tool_values_calculation_close{width:1.5rem;height:1.5rem;padding:.25rem}#tool_values_calculation_close svg,#tool_url_close svg{width:1rem;height:1rem;display:block}#tool_values_calculation_close svg path{fill:#fff}#tool_url_close{background-color:#0000;border:0;margin:0;padding:1em}#tool_settings{background-color:#ddd}#tool_settings ul,#tool_settings li{margin:0;padding:0;list-style:none}#tool_settings li{margin-top:.5em;line-height:1.5}#tool_settings .option_list li,#tool_options li{margin-top:0}#tool_settings button.action{text-align:left;color:#000;border:0;width:100%;margin:0 0 1px;line-height:1.5;display:block}#tool_settings label{line-height:1.15}#tool_settings .option_list label,#tool_options button.action{background-color:#00000013;align-items:center;gap:.5em;min-height:2em;padding:.25em .5em;line-height:1.15;transition:background-color .2s,color .2s;display:flex}#tool_settings .option_list label:hover,#tool_settings .option_list label input:focus-visible,#tool_options button.action:hover,#tool_options button.action:focus-visible{background-color:#00000026}#tool_settings .option_list label.active,#tool_options button.action:active{background-color:var(--blue);color:#fff;transition:none}#tool_settings .option_list label.active{font-weight:400}#tool_settings .option_list label.disabled,#tool_options button.action:active{color:#999;background-color:#0000}#tool_options button svg{vertical-align:middle;width:1.75em;max-width:24px;height:1.75em;max-height:24px;display:inline-block}@container (width>=400px) and (width<=600px){#tool_options{flex-wrap:wrap;display:flex}#tool_options li{width:50%;padding-right:1px}}#tool_settings #tool_groundfactor_buttons{display:inline-block}#tool_groundfactor.disabled #groundfactor{background-color:#0000}#tool_settings #groundfactor{margin-bottom:.25rem}#tool_groundfactor_hard,#tool_groundfactor_soft{cursor:pointer;background-color:var(--blue);color:#fff;text-align:center;min-width:2.75em;padding:.25em 0;font-weight:400;line-height:1;transition:opacity .2s,background-color .5s,color .2s;display:inline-block}#tool_groundfactor_soft{margin-left:1px}.disabled #tool_groundfactor_hard,.disabled #tool_groundfactor_soft{color:#999;font-weight:inherit;background-color:#0000}#tool_popup{z-index:10;display:none;position:absolute;top:0;left:0}#tool_popup.active{display:block}#tool_popup_content{border:2px solid var(--blue);box-shadow:var(--boxshadow);background-color:#fff;border-radius:.5em;flex-direction:column;align-items:center;gap:.333em;width:6em;padding:.5em;display:flex;position:absolute;top:11px;left:-3em}#tool_popup_content:after,#tool_popup_content:before{content:" ";pointer-events:none;border:solid #0000;width:0;height:0;position:absolute;bottom:100%;left:50%}#tool_popup_content:before{border-color:#0000;border-bottom-color:var(--blue);border-width:5px 7px 10px;margin-left:-7px}#tool_popup_content:after{border-width:5px 5px 7px;border-color:#0000 #0000 #fff;margin-left:-5px}#tool_popup h2,#tool_popup p{margin:0;padding:0}#tool_popup h2{font-size:1em}#tool_popup p{font-size:.75em}#tool_popup input[type=number],#tool_popup button{width:100%;line-height:1;display:block}#tool_popup input[type=number]{font-size:1.125em;border:0!important}#tool_popup button,button#tool_url_copy{cursor:pointer;color:#000;box-shadow:var(--buttonshadow);background-color:#bbb;border:1px solid #999;border-radius:.125em;transition:border-color .2s,background-color .2s,box-shadow .2s}#tool_popup button{height:2em;padding:.25em}#tool_popup button.active,button#tool_url_copy{background-color:var(--blue);color:#fff;border:1px solid #333;font-weight:400}#tool_popup button:hover,#tool_popup button:focus-visible,button#tool_url_copy:hover,button#tool_url_copy:focus-visible{box-shadow:var(--buttonhover)}#tool_url_window{z-index:15;box-shadow:var(--boxshadow);background-color:#fff;border-radius:.5em;flex-direction:column;justify-content:center;align-items:center;padding:1em;display:flex;position:absolute;inset:1em}button#tool_url_copy{padding:.666em 1em}#tool_url_window h2,button#tool_url_copy{margin:1em 0}#tool_url{text-align:center;word-break:break-all;overflow-wrap:break-word;background-color:#eee;border:1px solid #999;border-radius:.25em;width:100%;padding:1em;font-weight:400;line-height:1.5;box-shadow:inset 2px 2px 2px #0003}#tool_url a{background-image:none;border:none;text-decoration:none}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){#tool_diagram{text-align:center}}button.toggle_fullscreen{color:#000;cursor:pointer;background-color:#0000;border:0;border-radius:0;justify-content:center;align-items:center;width:2.5em;height:2.5em;margin:0;padding:.375em;display:flex;position:absolute;top:0;right:0}@supports (container-type:inline-size){button.toggle_fullscreen{display:block}}button.toggle_fullscreen svg{width:100%;max-width:32px;height:100%;max-height:32px;display:block}button.toggle_fullscreen svg path{fill:currentColor;transition:fill .2s}button.toggle_fullscreen:hover svg path,button.toggle_fullscreen:focus-visible svg path{fill:var(--blue)}#tool_wrap #tool_content.fullscreen button.toggle_fullscreen{top:0;right:.25em}button.toggle_fullscreen svg .active{display:none}#tool_wrap #tool_content.fullscreen button.toggle_fullscreen svg .active{display:block}#tool_wrap #tool_content.fullscreen button.toggle_fullscreen svg .inactive{display:none}#tool_wrap #tool_content.fullscreen #tool_values{background-color:#eee}#tool_wrap #tool_content.fullscreen{background-color:#ccc;grid-template-rows:auto auto;align-content:center;display:grid;position:fixed;inset:0}#tool_wrap #tool_content.fullscreen:after{content:" ";z-index:-1;background-color:#eee;height:50%;position:absolute;top:0;left:0;right:0}#tool_wrap #tool_content.fullscreen #tool_diagram{justify-content:center;align-items:flex-start;display:flex;container-type:inline-size}#tool_wrap #tool_content.fullscreen #tool_diagram_svg{min-width:unset;min-height:unset;max-width:100%;max-height:100%;position:relative}#tool_wrap #tool_content.fullscreen #tool_diagram:after{content:" ";background:var(--smooth-grad);z-index:10;pointer-events:none;height:1.5rem;opacity:var(--scroll,0);position:absolute;top:100%;left:0;right:0}#tool_wrap #tool_content.fullscreen #tool_data{scrollbar-width:thin;background-color:#ccc;position:relative;overflow:auto;container-type:inline-size}@media (aspect-ratio>=4/3){#tool_wrap #tool_content.fullscreen{grid-template-rows:auto;grid-template-columns:round(62.5%,1px) 1fr;align-content:center}#tool_wrap #tool_content.fullscreen #tool_diagram{align-items:center}#tool_wrap #tool_content.fullscreen #tool_diagram:after{display:none}#tool_wrap #tool_content.fullscreen #tool_data{padding:1rem .5rem}#tool_wrap #tool_content.fullscreen button.toggle_fullscreen{top:.5rem}}@media (aspect-ratio>=16/9){#tool_wrap #tool_content.fullscreen{grid-template-columns:round(70%,1px) 1fr}}@media (aspect-ratio>=4/3) and (width>=1000px){#tool_wrap #tool_content.fullscreen #tool_data{padding-right:2.5rem}}