/* Product details own their navigation, content insets and technical rows.
   Technical topics own the single folder contour; other sheets keep their light frame. */
#top.single-product .woocommerce-tabs{--afpd-inset:16px;--afpd-line:#d9e5e2;--afpd-green:#016e6c;--afpd-frame:#c4dcd5}
#top .afpd-short-description{margin-bottom:24px}
#top.single-product div.product .woocommerce-tabs>ul.tabs{display:flex;float:none;width:auto;align-items:stretch;gap:4px;margin:17px 0 0;padding:0;position:relative}
#top.single-product div.product .woocommerce-tabs>ul.tabs::before,#top.single-product div.product .woocommerce-tabs>ul.tabs>li::before,#top.single-product div.product .woocommerce-tabs>ul.tabs>li::after{content:none}
#top.single-product div.product .woocommerce-tabs>ul.tabs>li{flex:1;min-width:0;margin:0;border:1px solid var(--afpd-frame);border-radius:5px 5px 0 0;background:#e7f1ed;overflow:hidden}
#top.single-product div.product .woocommerce-tabs>ul.tabs>li>a{width:100%;white-space:normal;overflow-wrap:anywhere;float:none;border:0!important;margin:0;display:flex;align-items:center;justify-content:center;height:100%;font-family:"open sans",Helvetica,Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.2;min-height:58px;padding:5px 8px!important;box-sizing:border-box;background:#e7f1ed;color:#285d53;text-align:center}
#top.single-product div.product .woocommerce-tabs>ul.tabs>li,#top.single-product div.product .woocommerce-tabs>ul.tabs>li>a{box-shadow:none!important;text-shadow:none!important;background-image:none!important;transform:none}
#top.single-product div.product .woocommerce-tabs>ul.tabs>li.active{border-color:var(--afpd-green);background:var(--afpd-green)}
#top.single-product div.product .woocommerce-tabs>ul.tabs>li.active>a{background:var(--afpd-green);color:#fff}
#top.single-product div.product .woocommerce-tabs>ul.tabs>li>a:focus-visible{outline:2px solid #b67a1d;outline-offset:-3px}
#top.single-product div.product .woocommerce-tabs>.woocommerce-Tabs-panel{border:1px solid var(--afpd-frame);border-radius:0;margin:0;padding:var(--afpd-inset) 0;background:#fff;box-shadow:none}
#top.single-product div.product .woocommerce-tabs>.woocommerce-Tabs-panel:has(>.afpd-technical){border:0;padding:var(--afpd-inset) 0 0;background:transparent}
/* Every text block uses the same inset, also beside the gallery float. */
html:not(.afb-product-preview) #top.afb-compact-product div.product .woocommerce-Tabs-panel :is(p,h1,h2,h3,h4,h5,h6,blockquote,ul,ol){display:flow-root;padding-left:var(--afpd-inset);padding-right:var(--afpd-inset);box-sizing:border-box}
#top .afpd-subnav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:1fr;gap:6px;align-items:stretch;margin:0;padding:0;border:0;border-radius:0;background:transparent;position:relative;z-index:auto}
#top .afpd-subnav button{grid-column:span 2;min-width:0;white-space:normal;overflow-wrap:anywhere;min-height:36px;padding:4px 10px;font-size:14px;font-weight:400;border:1px solid var(--afpd-line);border-radius:4px 4px 0 0;background:#f5f8f7;color:#48615e;text-align:center;line-height:19px;box-sizing:border-box;box-shadow:none;text-shadow:none}
#top .afpd-subnav:not(.afpd-subnav-wide):has(>button:nth-child(5)):not(:has(>button:nth-child(6)))>button:nth-child(n+4){grid-column:span 3}
#top .afpd-subnav:not(:has(>button:nth-child(3)))>button{grid-column:span 3}
#top .afpd-subnav>button:only-child{grid-column:1/-1}
#top .afpd-subnav.afpd-subnav-wide{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
#top .afpd-subnav.afpd-subnav-wide>button{grid-column:span 1}
#top .afpd-subnav button:hover{background:#f5f8f7;color:#245a54}
#top .afpd-subnav button[aria-selected=true]{background:#f3f8f5;color:#245a54;border:1px solid var(--afpd-frame);padding:4px 10px;font-weight:500;position:relative;z-index:2;border-bottom-color:transparent}
#top .afpd-subnav button[aria-selected=true]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#f3f8f5;pointer-events:none}
#top .afpd-subnav button:focus-visible{outline:2px solid #007c80;outline-offset:2px}
#top .afpd-subpanel{margin:-1px 0 0;padding:16px 0;border:1px solid var(--afpd-frame);border-radius:0;background:#fff;position:relative;isolation:isolate;z-index:1}
#top .afpd-subpanel[hidden]{display:none!important}
html:not(.afb-product-preview) #top.afb-compact-product div.product .woocommerce-Tabs-panel .afpd-subpanel>h3{margin:0 0 12px;color:var(--afpd-green)}
#top .afpd-subpanel dl{margin:0;padding:0;border:0}
#top .afpd-subpanel dl>div,#top .afpd-narrow-rows>div,#top .afpd-wide-rows>div{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;min-height:56px;padding:8px var(--afpd-inset);gap:3px;font-size:16px;line-height:1.35;border:0;background-image:linear-gradient(var(--afpd-line),var(--afpd-line));background-size:calc(100% - 32px) 1px;background-position:center bottom;background-repeat:no-repeat;box-sizing:border-box}
#top .afpd-subpanel :is(dt,dd){min-width:0;margin:0;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
#top .afpd-subpanel dt{font-weight:600}
#top .afpd-subpanel dd{font-weight:400}
/* Only the opening measurement row has up to four equal cells; subsequent data keeps the ordinary grid. */
#top .afpd-subpanel dl>.afpd-dimension-row{display:grid;grid-template-columns:repeat(var(--afpd-measure-columns,4),minmax(0,1fr));padding:0;gap:0;min-height:0;background:none;align-items:stretch;overflow:hidden}
#top .afpd-subpanel .afpd-dimension-row>div{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:3px;min-height:56px;box-sizing:border-box;padding:8px var(--afpd-inset);border-right:1px solid #e8efec}
#top .afpd-subpanel .afpd-dimension-row>div:last-child{border-right:0}
#top .afpd-subpanel .afpd-dimension-row[data-columns="2"]>div:nth-child(even),#top .afpd-subpanel .afpd-dimension-row[data-columns="1"]>div{border-right:0}
#top .afpd-subpanel .afpd-dimension-row[data-columns="2"]>div:nth-child(-n+2):nth-last-child(n+2),#top .afpd-subpanel .afpd-dimension-row[data-columns="1"]>div:not(:last-child){border-bottom:1px solid #e8efec}
#top .afpd-subpanel .afpd-dimension-row[data-following="1"]{border-bottom:1px solid #e8efec}
@media(min-width:990px){
 html:not(.afb-product-preview) #top.afb-compact-product div.product .woocommerce-Tabs-panel .afpd-subpanel dl{display:block;overflow:visible}
 #top .afpd-subpanel dl>.afpd-narrow-rows,#top .afpd-subpanel dl>.afpd-wide-rows{padding:0;border:0;background:none;min-height:0;gap:0 24px}
 #top .afpd-subpanel dl>.afpd-narrow-rows{grid-template-columns:minmax(0,var(--afpd-middle-track)) minmax(0,1fr)}
 #top .afpd-subpanel dl>.afpd-wide-rows{grid-template-columns:minmax(0,var(--afpd-left-track)) minmax(0,var(--afpd-middle-track)) minmax(0,1fr);clear:both}
 /* A connected, quiet grid follows occupied cells only; no extra outer frame. */
 #top .afpd-subpanel dl>.afpd-wide-rows{position:relative}
 #top .afpd-subpanel dl>.afpd-wide-rows.afpd-grid-continuation::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:#e8efec;pointer-events:none}
 #top .afpd-subpanel dl>.afpd-narrow-rows>div,#top .afpd-subpanel dl>.afpd-wide-rows>div{position:relative;background:none}
 #top .afpd-subpanel .afpd-grid-cell::after{content:"";position:absolute;left:-12px;right:-12px;bottom:0;height:1px;background:#e8efec;pointer-events:none}
 #top .afpd-subpanel .afpd-grid-cell.afpd-grid-first::after{left:0}
 #top .afpd-subpanel .afpd-grid-cell.afpd-grid-edge::after{right:0}
 #top .afpd-subpanel .afpd-grid-cell.afpd-grid-last::after,#top .afpd-subpanel .afpd-grid-cell.afpd-grid-bridge::after{content:none}
 #top .afpd-subpanel .afpd-grid-cell:not(.afpd-grid-edge)::before{content:"";position:absolute;right:-12px;top:0;bottom:0;width:1px;background:#e8efec;pointer-events:none}
 #top .afpd-subpanel .afpd-grid-cell.afpd-grid-bridge::before{bottom:calc(-1 * var(--afpd-grid-bridge,0px))}
}

/* Incentive comparisons follow the common content inset. */
#top.single-product #tab-af_incentives .afb-flow-table{box-sizing:border-box;padding:0 var(--afpd-inset);margin:16px 0 20px}
#top.single-product #tab-af_incentives table{width:100%;margin:0;border-collapse:collapse;font-size:inherit;line-height:1.5}
#top.single-product #tab-af_incentives caption{text-align:left;font-weight:600;color:#48615e;padding:0 0 8px}
#top.single-product #tab-af_incentives :is(th,td){padding:10px 12px;border:1px solid #e1eae6;vertical-align:top;text-transform:none;letter-spacing:normal}
#top.single-product #tab-af_incentives thead th{background:#edf5f2;color:#245a54;font-weight:700}
#top.single-product #tab-af_incentives tbody th{background:#f8faf9;font-weight:600;width:38%}

#top .afpd-document-cell>dd{margin:0}
#top .afpd-document-open{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 12px;border:1px solid #016e6c;border-radius:4px;background:#fff;color:#016e6c;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
#top .afpd-document-picker{box-sizing:border-box;width:min(420px,92vw);max-height:80vh;overflow:auto;padding:20px;border:1px solid #c4dcd5;border-radius:8px;background:#fff;color:#294d49;box-shadow:0 12px 40px #0003}
#top .afpd-document-picker::backdrop{background:#0004}
#top .afpd-document-picker>h3{margin:0 0 12px;padding:0;font-size:18px;color:#016e6c}
#top .afpd-document-picker>ul{margin:0 0 16px;padding:0;list-style:none}
#top .afpd-document-picker li{margin:0;border-bottom:1px solid #e1eae6}
#top .afpd-document-picker a{display:block;padding:10px 0;overflow-wrap:anywhere;text-decoration:underline}
#top .afpd-document-close{min-height:36px;padding:6px 12px;cursor:pointer}

#top.single-product #tab-af_incentives .afpd-incentive-help{margin:20px var(--afpd-inset) 4px;padding:14px;background:#edf5f2;border:1px solid #c4dcd5;border-left:4px solid #016e6c;border-radius:4px;color:#245a54;line-height:1.6}
#top.single-product #tab-af_incentives .afpd-incentive-help a{font-weight:600;text-decoration:underline;display:inline-block;padding:4px 0}

/* A shared, decorative opening hint; the selected-folder join keeps its own pseudo-element. */
#top.single-product div.product .woocommerce-tabs>ul.tabs>li>a,#top .afpd-subnav button{display:flex;align-items:center;justify-content:center;gap:2px}
#top.single-product div.product .woocommerce-tabs>ul.tabs>li>a::after,#top .afpd-subnav button::before{content:"";position:static;display:block;flex:0 0 6px;width:6px;height:4px;margin:1px 0 0;padding:0;border:0;background:currentColor;opacity:.75;pointer-events:none;transform:none;box-shadow:none;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 4'%3E%3Cpath d='M.5.5 3 3 5.5.5' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center/contain no-repeat}
#top .afpd-subnav button::before{order:1}
