{"id":7214,"date":"2026-07-01T19:22:33","date_gmt":"2026-07-01T19:22:33","guid":{"rendered":"https:\/\/climease.com\/?page_id=7214"},"modified":"2026-09-21T12:31:38","modified_gmt":"2026-09-21T12:31:38","slug":"new-calculator","status":"publish","type":"page","link":"https:\/\/climease.com\/en\/new-calculator\/","title":{"rendered":"NEW &#8211; CALCULATOR"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"7214\" class=\"elementor elementor-7214\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-42be2cf e-con-full e-flex e-con e-parent\" data-id=\"42be2cf\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4a2f44b elementor-widget elementor-widget-html\" data-id=\"4a2f44b\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"cbamCalculatorModule\" class=\"cbam-module\">\n  <section class=\"cbam-hero\">\n    <div class=\"cbam-hero-layer\"><\/div>\n\n    <div class=\"cbam-hero-inner\">\n      <div class=\"cbam-hero-copy\">\n        <h1>CBAM cost and<br>savings calculator<\/h1>\n        <p>A streamlined way to estimate CBAM costs and understand your exposure.<\/p>\n\n        <div class=\"cbam-powered\">\n          <span>Powered by:<\/span>\n          <img decoding=\"async\" src=\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/cru-logo-1.png\" alt=\"CRU\" width=\"144\" height=\"136\" \/>\n        <\/div>\n      <\/div>\n\n      <div class=\"cbam-calculator-column\">\n        <div class=\"cbam-overlay-info\">\n          Choose Default or Real Emissions, enter your data and click Add + to see your savings or for adding more rows.\n        <\/div>\n\n        <div class=\"cbam-calculator\">\n          <div class=\"cbam-head\">\n            <div class=\"cbam-tabs\">\n              <button class=\"cbam-tab active\" type=\"button\" data-mode=\"default\">Default<\/button>\n              <button class=\"cbam-tab\" type=\"button\" data-mode=\"real\">Real emissions<\/button>\n            <\/div>\n\n            <div class=\"cbam-actions\">\n              <div class=\"cbam-info-holder\">\n                <button class=\"cbam-icon-btn\" type=\"button\" aria-label=\"Information\"><\/button>\n                <div class=\"cbam-info-tooltip\" aria-hidden=\"true\"><\/div>\n              <\/div>\n\n              <button class=\"cbam-add\" type=\"button\" id=\"cbamAdd\">\n                Add <span>+<\/span>\n              <\/button>\n            <\/div>\n          <\/div>\n\n          <div class=\"cbam-form cbam-form-default active\" data-form=\"default\">\n            <div class=\"cbam-field\">\n              <label>Quarter<\/label>\n              <div class=\"cbam-select\" data-name=\"quarter\" aria-required=\"true\">\n                <button type=\"button\" class=\"cbam-select-trigger\">\n                  <span class=\"cbam-select-value muted\">Q0\/YY<\/span>\n                  <span class=\"cbam-chevron\">\u2304<\/span>\n                <\/button>\n                <div class=\"cbam-select-menu\">\n                  <button type=\"button\">Q1\/26<\/button>\n                  <button type=\"button\">Q2\/26<\/button>\n                  <button type=\"button\">Q3\/26<\/button>\n                  <button type=\"button\">Q4\/26<\/button>\n                  <button type=\"button\">Q1\/27<\/button>\n                  <button type=\"button\">Q2\/27<\/button>\n                  <button type=\"button\">Q3\/27<\/button>\n                  <button type=\"button\">Q4\/27<\/button>\n                <\/div>\n              <\/div>\n            <\/div>\n\n            <div class=\"cbam-field\">\n              <label>CN code<\/label>\n              <div class=\"cbam-search-select cbam-cn-search\" data-name=\"code\" data-source=\"cn-codes\" aria-required=\"true\">\n                <button type=\"button\" class=\"cbam-search-trigger\" aria-label=\"CN code\">\n                  <span class=\"cbam-search-value muted\">CN code<\/span>\n                  <span class=\"cbam-chevron\">\u2304<\/span>\n                <\/button>\n                <div class=\"cbam-search-menu\">\n                  <input type=\"text\" class=\"cbam-search-input\" placeholder=\"CN code\" autocomplete=\"off\">\n                  <div class=\"cbam-search-options\"><\/div>\n                <\/div>\n              <\/div>\n            <\/div>\n\n            <div class=\"cbam-field\">\n              <label>Import volume (t)<\/label>\n              <input type=\"text\" data-name=\"volume\" placeholder=\"Volume\" inputmode=\"decimal\" data-decimal=\"true\" data-allow-comma=\"true\" aria-label=\"Import volume\" required aria-required=\"true\">\n            <\/div>\n\n            <div class=\"cbam-field\">\n              <label>Country of origin<\/label>\n              <div class=\"cbam-search-select cbam-country-search\" data-name=\"country\" data-source=\"countries\" aria-required=\"true\">\n                <button type=\"button\" class=\"cbam-search-trigger\" aria-label=\"Country\">\n                  <span class=\"cbam-search-value muted\">Country<\/span>\n                  <span class=\"cbam-chevron\">\u2304<\/span>\n                <\/button>\n                <div class=\"cbam-search-menu country-menu\">\n                  <input type=\"text\" class=\"cbam-search-input\" placeholder=\"Country\" autocomplete=\"off\">\n                  <div class=\"cbam-search-options\"><\/div>\n                <\/div>\n              <\/div>\n            <\/div>\n          <\/div>\n\n          <div class=\"cbam-form cbam-form-real\" data-form=\"real\">\n            <div class=\"cbam-field\">\n              <label>Quarter<\/label>\n              <div class=\"cbam-select\" data-name=\"quarter\" aria-required=\"true\">\n                <button type=\"button\" class=\"cbam-select-trigger\">\n                  <span class=\"cbam-select-value muted\">Q0\/YY<\/span>\n                  <span class=\"cbam-chevron\">\u2304<\/span>\n                <\/button>\n                <div class=\"cbam-select-menu\">\n                  <button type=\"button\">Q1\/26<\/button>\n                  <button type=\"button\">Q2\/26<\/button>\n                  <button type=\"button\">Q3\/26<\/button>\n                  <button type=\"button\">Q4\/26<\/button>\n                  <button type=\"button\">Q1\/27<\/button>\n                  <button type=\"button\">Q2\/27<\/button>\n                  <button type=\"button\">Q3\/27<\/button>\n                  <button type=\"button\">Q4\/27<\/button>\n                <\/div>\n              <\/div>\n            <\/div>\n\n            <div class=\"cbam-field\">\n              <label>Import volume (t)<\/label>\n              <input type=\"text\" data-name=\"volume\" placeholder=\"Volume\" inputmode=\"decimal\" data-decimal=\"true\" data-allow-comma=\"true\" aria-label=\"Import volume\" required aria-required=\"true\">\n            <\/div>\n\n            <div class=\"cbam-field\">\n              <label>Emissions (t CO2\/t)<\/label>\n              <input type=\"text\" data-name=\"emissions\" placeholder=\"000\" inputmode=\"decimal\" maxlength=\"4\" data-max-digits=\"3\" data-decimal=\"true\" aria-label=\"Emissions, maximum 3 digits\" required aria-required=\"true\">\n            <\/div>\n\n            <div class=\"cbam-field\">\n              <label>SEFA (t CO2\/t)<\/label>\n              <input type=\"text\" data-name=\"sefa\" placeholder=\"000\" inputmode=\"decimal\" maxlength=\"4\" data-max-digits=\"3\" data-decimal=\"true\" aria-label=\"SEFA, maximum 3 digits\" required aria-required=\"true\">\n            <\/div>\n\n            <div class=\"cbam-field\">\n              <label>CN code <span class=\"cbam-optional-label\">(optional)<\/span><\/label>\n              <div class=\"cbam-search-select cbam-cn-search\" data-name=\"code\" data-source=\"cn-codes\">\n                <button type=\"button\" class=\"cbam-search-trigger\" aria-label=\"CN code\">\n                  <span class=\"cbam-search-value muted\">CN code<\/span>\n                  <span class=\"cbam-chevron\">\u2304<\/span>\n                <\/button>\n                <div class=\"cbam-search-menu\">\n                  <input type=\"text\" class=\"cbam-search-input\" placeholder=\"CN code\" autocomplete=\"off\">\n                  <div class=\"cbam-search-options\"><\/div>\n                <\/div>\n              <\/div>\n            <\/div>\n\n            <div class=\"cbam-field\">\n              <label>Country of origin <span class=\"cbam-optional-label\">(optional)<\/span><\/label>\n              <div class=\"cbam-search-select cbam-country-search\" data-name=\"country\" data-source=\"countries\">\n                <button type=\"button\" class=\"cbam-search-trigger\" aria-label=\"Country\">\n                  <span class=\"cbam-search-value muted\">Country<\/span>\n                  <span class=\"cbam-chevron\">\u2304<\/span>\n                <\/button>\n                <div class=\"cbam-search-menu country-menu\">\n                  <input type=\"text\" class=\"cbam-search-input\" placeholder=\"Country\" autocomplete=\"off\">\n                  <div class=\"cbam-search-options\"><\/div>\n                <\/div>\n              <\/div>\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/section>\n\n  <section class=\"cbam-results-area\" id=\"cbamResultsArea\">\n    <div class=\"cbam-results-inner\">\n      <div class=\"cbam-results\" id=\"cbamResults\"><\/div>\n\n      <div class=\"cbam-results-actions\">\n        <a href=\"#abrir-popup\" class=\"cbam-download\" id=\"cbamDownload\">Download report<\/a>\n      <\/div>\n    <\/div>\n  <\/section>\n\n\n<style>\n  @import url(\"https:\/\/fonts.googleapis.com\/css2?family=DM+Sans:wght@300;400;500;600;700;800&display=swap\");\n\n  #cbamCalculatorModule,\n  #cbamCalculatorModule *,\n  #cbamCalculatorModule *::before,\n  #cbamCalculatorModule *::after {\n    box-sizing: border-box;\n    font-family: \"DM Sans\", Arial, Helvetica, sans-serif !important;\n  }\n\n  #cbamCalculatorModule {\n    --cbam-green: #19B97F;\n    --cbam-green-light: #E6EFEF;\n    --cbam-green-gradient: linear-gradient(263.44deg, #E6EFEF -51.07%, #19B97F 42.58%);\n    --cbam-green-soft: #E6F5EF;\n    --cbam-red: #FF4E51;\n    --cbam-red-soft: #FFF1F1;\n    --cbam-dark: #2B2B2B;\n    --cbam-border: rgba(255, 255, 255, 0.1);\n    width: 100%;\n    margin: 0;\n    font-family: \"DM Sans\", Arial, Helvetica, sans-serif;\n    color: #fff;\n  }\n\n  #cbamCalculatorModule button,\n  #cbamCalculatorModule input,\n  #cbamCalculatorModule select {\n    font-family: inherit !important;\n    box-shadow: none !important;\n    outline: none !important;\n    text-decoration: none !important;\n  }\n\n  #cbamCalculatorModule button:hover,\n  #cbamCalculatorModule button:focus,\n  #cbamCalculatorModule button:active {\n    box-shadow: none !important;\n    outline: none !important;\n    text-decoration: none !important;\n  }\n\n  #cbamCalculatorModule input[type=\"number\"]::-webkit-outer-spin-button,\n  #cbamCalculatorModule input[type=\"number\"]::-webkit-inner-spin-button {\n    -webkit-appearance: none !important;\n    margin: 0 !important;\n  }\n\n  #cbamCalculatorModule input[type=\"number\"] {\n    -moz-appearance: textfield !important;\n    appearance: textfield !important;\n  }\n\n  #cbamCalculatorModule .cbam-hero {\n    position: relative;\n    min-height: 675px;\n    background-image: url(\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/hero.png\");\n    background-size: cover;\n    background-position: center top;\n    background-repeat: no-repeat;\n    overflow: visible;\n  }\n\n  #cbamCalculatorModule .cbam-hero-layer {\n    position: absolute;\n    inset: 0;\n    background: linear-gradient(\n      90deg,\n      rgba(3, 35, 34, 0.82) 0%,\n      rgba(3, 35, 34, 0.62) 42%,\n      rgba(3, 35, 34, 0.2) 100%\n    );\n    pointer-events: none;\n  }\n\n  #cbamCalculatorModule .cbam-hero-inner {\n    position: relative;\n    z-index: 2;\n    width: min(1180px, 100%);\n    min-height: 675px;\n    margin: 0 auto;\n    display: grid;\n    grid-template-columns: 0.9fr 1.1fr;\n    align-items: center;\n    gap: 72px;\n    padding: 72px 20px 0;\n  }\n\n  @media (min-width: 981px) {\n    #cbamCalculatorModule .cbam-hero-inner {\n      padding-top: 170px !important;\n      align-items: start !important;\n    }\n\n    #cbamCalculatorModule .cbam-calculator-column {\n      align-self: start !important;\n    }\n  }\n\n  #cbamCalculatorModule .cbam-hero-copy h1 {\n    margin: 0 0 24px;\n    color: #fff;\n    font-size: clamp(48px, 5.7vw, 76px);\n    line-height: 1.08;\n    font-weight: 500;\n    letter-spacing: -0.055em;\n  }\n\n  #cbamCalculatorModule .cbam-hero-copy p {\n    max-width: 430px;\n    margin: 0;\n    color: #E6EFEF99;\n    font-size: 18px;\n    line-height: 1.45;\n    font-weight: 300;\n  }\n\n  #cbamCalculatorModule .cbam-powered {\n    display: flex;\n    align-items: center;\n    gap: 12px;\n    margin-top: 82px;\n    color: #fff;\n    font-size: 14px;\n    line-height: 1;\n    font-weight: 700;\n  }\n\n  #cbamCalculatorModule .cbam-powered img {\n    display: block;\n    width: auto;\n    height: 42px;\n    object-fit: contain;\n  }\n\n  #cbamCalculatorModule .cbam-calculator-column {\n    position: relative;\n    width: 100%;\n    align-self: end;\n  }\n\n  #cbamCalculatorModule .cbam-overlay-info {\n    position: absolute;\n    left: 0;\n    right: 0;\n    bottom: 100%;\n    width: 100%;\n    display: none;\n    background: var(--cbam-green-gradient) !important;\n    color: #fff;\n    font-size: 14px;\n    line-height: 1.35;\n    padding: 16px 26px;\n    z-index: 50;\n  }\n\n  #cbamCalculatorModule .cbam-overlay-info.active {\n    display: block;\n  }\n\n  #cbamCalculatorModule .cbam-calculator {\n    width: 100%;\n    background: rgba(42, 42, 42, 0.36);\n    backdrop-filter: blur(74px);\n    -webkit-backdrop-filter: blur(74px);\n    color: #fff;\n    overflow: visible;\n  }\n\n  #cbamCalculatorModule .cbam-head {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    min-height: 72px;\n    border-bottom: 1px solid var(--cbam-border);\n    padding: 0 26px;\n  }\n\n  #cbamCalculatorModule .cbam-tabs {\n    display: flex;\n    align-items: center;\n    gap: 24px;\n  }\n\n  #cbamCalculatorModule .cbam-tab {\n    position: relative;\n    border: 0 !important;\n    background: transparent !important;\n    color: rgba(255, 255, 255, 0.42) !important;\n    font-size: 24px;\n    font-weight: 600;\n    letter-spacing: -0.045em;\n    padding: 24px 0 21px;\n    cursor: pointer;\n  }\n\n  #cbamCalculatorModule .cbam-tab:hover {\n    background: transparent !important;\n    color: rgba(255, 255, 255, 0.72) !important;\n  }\n\n  #cbamCalculatorModule .cbam-tab.active,\n  #cbamCalculatorModule .cbam-tab.active:hover {\n    background: transparent !important;\n    color: #fff !important;\n  }\n\n  #cbamCalculatorModule .cbam-tab.active::after {\n    content: \"\";\n    position: absolute;\n    left: 0;\n    right: 0;\n    bottom: -1px;\n    height: 2px;\n    background: #fff;\n  }\n\n  #cbamCalculatorModule .cbam-actions {\n    display: flex;\n    align-items: center;\n    gap: 12px;\n  }\n\n  #cbamCalculatorModule .cbam-info-holder {\n    position: relative;\n  }\n\n  #cbamCalculatorModule .cbam-icon-btn {\n    width: 44px;\n    height: 44px;\n    border: 1px solid #fff !important;\n    border-radius: 6px;\n    background-color: transparent !important;\n    background-image: url(\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/info-1.png\") !important;\n    background-repeat: no-repeat !important;\n    background-position: center center !important;\n    background-size: 28px 28px !important;\n    color: transparent !important;\n    font-size: 0 !important;\n    cursor: pointer;\n    line-height: 1;\n  }\n\n  #cbamCalculatorModule .cbam-icon-btn:hover,\n  #cbamCalculatorModule .cbam-icon-btn:focus,\n  #cbamCalculatorModule .cbam-icon-btn:active {\n    background-image: url(\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/info-1.png\"), var(--cbam-green-gradient) !important;\n    background-repeat: no-repeat, no-repeat !important;\n    background-position: center center, center center !important;\n    background-size: 28px 28px, 100% 100% !important;\n    background-color: transparent !important;\n    border-color: transparent !important;\n  }\n\n  #cbamCalculatorModule .cbam-add {\n    height: 44px;\n    min-width: 92px;\n    padding: 0 18px;\n    border: 1px solid #fff !important;\n    border-radius: 6px;\n    background: transparent !important;\n    color: #fff !important;\n    font-size: 15px;\n    font-weight: 600;\n    cursor: pointer;\n  }\n\n  #cbamCalculatorModule .cbam-add span {\n    margin-left: 10px;\n    font-size: 18px;\n    line-height: 1;\n  }\n\n  #cbamCalculatorModule .cbam-add:hover,\n  #cbamCalculatorModule .cbam-add:focus,\n  #cbamCalculatorModule .cbam-add:active {\n    background: var(--cbam-green-gradient) !important;\n    border-color: transparent !important;\n    color: #fff !important;\n  }\n\n  #cbamCalculatorModule .cbam-info-tooltip {\n    display: none !important;\n  }\n\n  #cbamCalculatorModule .cbam-form {\n    display: none;\n    grid-template-columns: 1fr 1fr;\n  }\n\n  #cbamCalculatorModule .cbam-form.active {\n    display: grid;\n  }\n\n  #cbamCalculatorModule .cbam-field {\n    position: relative;\n    min-height: 124px;\n    padding: 22px 26px 24px;\n    border-right: 1px solid var(--cbam-border);\n    border-bottom: 1px solid var(--cbam-border);\n  }\n\n  #cbamCalculatorModule .cbam-field:nth-child(2n) {\n    border-right: 0;\n  }\n\n  #cbamCalculatorModule .cbam-field label {\n    display: block;\n    margin: 0 0 20px !important;\n    color: rgba(255, 255, 255, 0.62);\n    font-size: 14px;\n    line-height: 1;\n    font-weight: 700;\n    letter-spacing: -0.015em;\n  }\n\n  #cbamCalculatorModule .cbam-field input {\n    width: 100%;\n    display: block;\n    border: 0 !important;\n    background: var(--cbam-green-gradient) !important;\n    background-clip: text !important;\n    -webkit-background-clip: text !important;\n    color: transparent !important;\n    -webkit-text-fill-color: transparent !important;\n    caret-color: var(--cbam-green) !important;\n    font-size: 38px;\n    line-height: 1.05;\n    font-weight: 400;\n    letter-spacing: -0.06em;\n    padding: 0 !important;\n    margin-top: 20px !important;\n    box-shadow: none !important;\n  }\n\n  #cbamCalculatorModule .cbam-field input:hover,\n  #cbamCalculatorModule .cbam-field input:focus,\n  #cbamCalculatorModule .cbam-field input:active {\n    border: 0 !important;\n    background: var(--cbam-green-gradient) !important;\n    background-clip: text !important;\n    -webkit-background-clip: text !important;\n    color: transparent !important;\n    -webkit-text-fill-color: transparent !important;\n    box-shadow: none !important;\n    outline: none !important;\n  }\n\n  #cbamCalculatorModule .cbam-field input::placeholder {\n    color: rgba(255, 255, 255, 0.24) !important;\n    -webkit-text-fill-color: rgba(255, 255, 255, 0.24) !important;\n    opacity: 1 !important;\n  }\n\n  #cbamCalculatorModule .cbam-field.has-error::after {\n    content: attr(data-error);\n    position: absolute;\n    left: 26px;\n    right: 26px;\n    bottom: 8px;\n    color: var(--cbam-red);\n    font-size: 11px;\n    line-height: 1;\n    font-weight: 700;\n  }\n\n  #cbamCalculatorModule .cbam-select {\n    position: relative;\n  }\n\n  #cbamCalculatorModule .cbam-select-trigger {\n    width: 100%;\n    min-height: 44px;\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n    gap: 12px;\n    border: 0 !important;\n    background: transparent !important;\n    color: var(--cbam-green) !important;\n    padding: 0 !important;\n    margin-top: 20px !important;\n    cursor: pointer;\n    text-align: left;\n  }\n\n  #cbamCalculatorModule .cbam-select-trigger:hover,\n  #cbamCalculatorModule .cbam-select-trigger:focus,\n  #cbamCalculatorModule .cbam-select-trigger:active {\n    border: 0 !important;\n    background: transparent !important;\n    color: var(--cbam-green) !important;\n  }\n\n  #cbamCalculatorModule .cbam-select-value {\n    display: block;\n    color: var(--cbam-green);\n    font-size: 38px;\n    line-height: 1.05;\n    font-weight: 400;\n    letter-spacing: -0.06em;\n  }\n\n  #cbamCalculatorModule .cbam-select-value:not(.muted) {\n    background: var(--cbam-green-gradient) !important;\n    background-clip: text !important;\n    -webkit-background-clip: text !important;\n    color: transparent !important;\n    -webkit-text-fill-color: transparent !important;\n  }\n\n  #cbamCalculatorModule .cbam-select-value.muted {\n    color: rgba(255, 255, 255, 0.24);\n    -webkit-text-fill-color: rgba(255, 255, 255, 0.24) !important;\n  }\n\n  #cbamCalculatorModule .cbam-chevron {\n    display: inline-block;\n    width: 18px;\n    height: 10px;\n    flex: 0 0 18px;\n    background-image: url(\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/Vector.png\") !important;\n    background-repeat: no-repeat !important;\n    background-position: center center !important;\n    background-size: contain !important;\n    color: transparent !important;\n    font-size: 0 !important;\n    line-height: 0;\n    transform: translateY(15px);\n  }\n\n  #cbamCalculatorModule .cbam-select-menu {\n    position: absolute;\n    left: -26px;\n    right: -26px;\n    top: calc(100% + 22px);\n    max-height: 214px;\n    overflow-y: auto;\n    scrollbar-width: none;\n    -ms-overflow-style: none;\n    display: none;\n    background: #0A1E20;\n    border: 1px solid rgba(230, 239, 239, 0.14);\n    z-index: 999;\n  }\n\n  #cbamCalculatorModule .cbam-select-menu::-webkit-scrollbar {\n    display: none;\n    width: 0;\n    height: 0;\n  }\n\n  #cbamCalculatorModule .cbam-search-select {\n    position: relative;\n  }\n\n  #cbamCalculatorModule .cbam-search-trigger {\n    width: 100%;\n    min-height: 44px;\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n    gap: 12px;\n    border: 0 !important;\n    background: transparent !important;\n    color: var(--cbam-green) !important;\n    padding: 0 !important;\n    margin-top: 20px !important;\n    cursor: pointer;\n    text-align: left;\n  }\n\n  #cbamCalculatorModule .cbam-search-trigger:hover,\n  #cbamCalculatorModule .cbam-search-trigger:focus,\n  #cbamCalculatorModule .cbam-search-trigger:active {\n    border: 0 !important;\n    background: transparent !important;\n    color: var(--cbam-green) !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-value {\n    display: block;\n    color: var(--cbam-green);\n    font-size: 38px;\n    line-height: 1.05;\n    font-weight: 400;\n    letter-spacing: -0.06em;\n  }\n\n  #cbamCalculatorModule .cbam-search-value:not(.muted) {\n    background: var(--cbam-green-gradient) !important;\n    background-clip: text !important;\n    -webkit-background-clip: text !important;\n    color: transparent !important;\n    -webkit-text-fill-color: transparent !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-value.muted {\n    color: rgba(255, 255, 255, 0.24);\n    -webkit-text-fill-color: rgba(255, 255, 255, 0.24) !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-menu {\n    position: absolute;\n    left: -26px;\n    right: -26px;\n    top: calc(100% + 22px);\n    max-height: 260px;\n    overflow-y: auto;\n    scrollbar-width: none;\n    -ms-overflow-style: none;\n    display: none;\n    background: #0A1E20;\n    border: 1px solid rgba(230, 239, 239, 0.14);\n    z-index: 999;\n  }\n\n  #cbamCalculatorModule .cbam-search-menu::-webkit-scrollbar {\n    display: none;\n    width: 0;\n    height: 0;\n  }\n\n  #cbamCalculatorModule .cbam-search-select.open .cbam-search-menu {\n    display: block;\n  }\n\n  #cbamCalculatorModule .cbam-search-menu .cbam-search-input {\n    position: sticky;\n    top: 0;\n    z-index: 2;\n    width: 100% !important;\n    display: block !important;\n    border: 0 !important;\n    border-bottom: 1px solid rgba(230, 239, 239, 0.14) !important;\n    background: #0A1E20 !important;\n    color: #fff !important;\n    -webkit-text-fill-color: #fff !important;\n    caret-color: #fff !important;\n    font-size: 13px !important;\n    line-height: 1.2 !important;\n    font-weight: 500 !important;\n    letter-spacing: 0 !important;\n    padding: 13px 14px !important;\n    margin: 0 !important;\n    text-indent: 0 !important;\n    box-sizing: border-box !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-menu .cbam-search-input::placeholder {\n    color: rgba(255, 255, 255, 0.45) !important;\n    -webkit-text-fill-color: rgba(255, 255, 255, 0.45) !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-option,\n  #cbamCalculatorModule .cbam-search-empty {\n    width: 100%;\n    display: block;\n    border: 0 !important;\n    border-bottom: 1px solid rgba(230, 239, 239, 0.12) !important;\n    border-radius: 0 !important;\n    background: #0A1E20 !important;\n    color: #fff !important;\n    text-align: left;\n    padding: 11px 14px !important;\n    font-size: 13px;\n    line-height: 1.25;\n    font-weight: 400;\n  }\n\n  #cbamCalculatorModule .cbam-search-option {\n    cursor: pointer;\n  }\n\n  #cbamCalculatorModule .cbam-search-empty {\n    color: rgba(255, 255, 255, 0.45) !important;\n    cursor: default;\n  }\n\n  #cbamCalculatorModule .cbam-search-option:hover,\n  #cbamCalculatorModule .cbam-search-option:focus,\n  #cbamCalculatorModule .cbam-search-option:active,\n  #cbamCalculatorModule .cbam-search-option.active {\n    background: var(--cbam-green-gradient) !important;\n    color: #fff !important;\n  }\n\n  #cbamCalculatorModule .cbam-select.open .cbam-select-menu {\n    display: block;\n  }\n\n  #cbamCalculatorModule .cbam-select-menu button {\n    width: 100%;\n    display: block;\n    border: 0 !important;\n    border-bottom: 1px solid rgba(230, 239, 239, 0.12) !important;\n    border-radius: 0 !important;\n    background: #0A1E20 !important;\n    color: #fff !important;\n    text-align: left;\n    padding: 11px 14px !important;\n    font-size: 13px;\n    font-weight: 400;\n    cursor: pointer;\n  }\n\n  #cbamCalculatorModule .cbam-select-menu button:hover,\n  #cbamCalculatorModule .cbam-select-menu button:focus,\n  #cbamCalculatorModule .cbam-select-menu button:active,\n  #cbamCalculatorModule .cbam-select-menu button.active {\n    background: var(--cbam-green-gradient) !important;\n    color: #fff !important;\n  }\n\n  #cbamCalculatorModule .country-menu {\n    top: auto;\n    bottom: calc(100% + 14px);\n    max-height: 190px;\n  }\n\n  #cbamCalculatorModule .cbam-results-area {\n    display: none;\n    background: #fff;\n    color: #082827;\n    padding: 26px 0 56px;\n    overflow: visible;\n  }\n\n  #cbamCalculatorModule .cbam-results-area.active {\n    display: block;\n  }\n\n  #cbamCalculatorModule .cbam-results-inner {\n    width: min(1180px, 100%);\n    margin: 0 auto;\n    padding: 0 10px;\n    overflow: visible;\n  }\n\n  #cbamCalculatorModule .cbam-results-actions {\n    display: flex;\n    justify-content: flex-end;\n    align-items: center;\n    margin-top: 48px;\n  }\n\n  #cbamCalculatorModule .cbam-download {\n    min-height: 43px;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 22px;\n    border: 0 !important;\n    border-radius: 6px;\n    background: var(--cbam-green-gradient) !important;\n    color: #fff !important;\n    padding: 0 12px 0 18px;\n    font-size: 13px;\n    line-height: 1;\n    font-weight: 700;\n    cursor: pointer;\n  }\n\n  #cbamCalculatorModule .cbam-download::after {\n    content: \"\";\n    width: 14px;\n    height: 14px;\n    display: inline-block;\n    flex: 0 0 14px;\n    background-image: url(\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/Vector-1.png\");\n    background-repeat: no-repeat;\n    background-position: center center;\n    background-size: contain;\n  }\n\n  #cbamCalculatorModule .cbam-download:hover,\n  #cbamCalculatorModule .cbam-download:focus,\n  #cbamCalculatorModule .cbam-download:active {\n    background: var(--cbam-green-gradient) !important;\n    color: #fff !important;\n  }\n\n  \/* Results layout \u2014 grouped exactly as the approved reference *\/\n  #cbamCalculatorModule .cbam-results {\n    display: block;\n    background: #fff;\n    overflow: visible;\n  }\n\n  #cbamCalculatorModule .cbam-results-group + .cbam-results-group {\n    margin-top: 34px;\n  }\n\n  #cbamCalculatorModule .cbam-results-group-title {\n    margin: 0;\n    padding: 0 0 2px;\n    border-bottom: 2px solid #dce6e4;\n    color: #7c8584;\n    font-size: 16px;\n    line-height: 1.2;\n    font-weight: 400;\n    letter-spacing: -0.02em;\n  }\n\n  #cbamCalculatorModule .cbam-row {\n    position: relative;\n    display: block;\n    background: #fff;\n    border-bottom: 2px solid #dce6e4;\n    padding: 13px 0 10px;\n    overflow: visible;\n  }\n\n  #cbamCalculatorModule .cbam-summary-grid {\n    display: grid;\n    grid-template-columns: 0.78fr repeat(5, minmax(0, 1fr));\n    align-items: start;\n    column-gap: 0;\n    row-gap: 0;\n  }\n\n  #cbamCalculatorModule .cbam-detail {\n    min-width: 0;\n    padding-right: 8px;\n  }\n\n  #cbamCalculatorModule .cbam-detail-label {\n    display: block;\n    margin: 0 0 3px;\n    color: #75807e;\n    font-size: 10px;\n    line-height: 1.1;\n    font-weight: 600;\n    white-space: nowrap;\n  }\n\n  #cbamCalculatorModule .cbam-detail-value {\n    display: block;\n    color: #082827;\n    font-size: 14px;\n    line-height: 1.12;\n    font-weight: 800;\n    letter-spacing: -0.02em;\n    overflow-wrap: anywhere;\n  }\n\n  \/* Metrics begin below the third information column, as in the reference *\/\n  #cbamCalculatorModule .cbam-metrics-grid {\n    width: 69.1%;\n    margin-top: 8px;\n    margin-left: 30.9%;\n    display: grid;\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 4px;\n  }\n\n  #cbamCalculatorModule .cbam-row-default .cbam-metrics-grid {\n    grid-template-columns: repeat(3, minmax(0, 1fr));\n  }\n\n  #cbamCalculatorModule .cbam-metric-group {\n    min-width: 0;\n  }\n\n  #cbamCalculatorModule .cbam-metric-title {\n    display: block;\n    margin: 0 0 3px;\n    color: #75807e;\n    font-size: 10px;\n    line-height: 1.1;\n    font-weight: 600;\n    white-space: nowrap;\n  }\n\n  #cbamCalculatorModule .cbam-value-bars {\n    display: grid;\n    grid-template-columns: 1fr 1fr;\n    gap: 4px;\n    overflow: visible;\n  }\n\n  #cbamCalculatorModule .cbam-value-bars.single {\n    grid-template-columns: 1fr;\n  }\n\n  #cbamCalculatorModule .cbam-value-box {\n    position: relative;\n    display: inline-flex !important;\n    justify-content: center;\n    align-items: center;\n    gap: 0;\n    width: 100%;\n    min-height: 30px;\n    border-radius: 0;\n    padding: 5px 6px;\n    font-size: 13px !important;\n    line-height: 1 !important;\n    font-weight: 500 !important;\n    letter-spacing: -0.02em !important;\n    cursor: help;\n    overflow: visible;\n    z-index: 5;\n    white-space: nowrap;\n  }\n\n  #cbamCalculatorModule .cbam-value-box.red {\n    background: rgba(255, 78, 81, 0.10);\n    color: var(--cbam-red) !important;\n  }\n\n  #cbamCalculatorModule .cbam-value-box.green {\n    background: rgba(25, 185, 127, 0.12);\n    color: var(--cbam-green) !important;\n  }\n\n  \/* The reference does not show the wallet icon inside CRU values. *\/\n  #cbamCalculatorModule .cbam-value-icon {\n    display: none !important;\n  }\n\n  #cbamCalculatorModule .cbam-value-box::before {\n    content: attr(data-label);\n    position: absolute;\n    left: 50%;\n    bottom: calc(100% + 8px);\n    transform: translateX(-50%) translateY(4px);\n    color: #fff !important;\n    border-radius: 6px;\n    padding: 8px 12px;\n    font-size: 12px;\n    line-height: 1;\n    font-weight: 800;\n    letter-spacing: 0;\n    white-space: nowrap;\n    opacity: 0;\n    pointer-events: none;\n    transition: 0.18s ease;\n    z-index: 9999;\n  }\n\n  #cbamCalculatorModule .cbam-value-box::after {\n    content: \"\";\n    position: absolute;\n    left: 50%;\n    bottom: calc(100% + 2px);\n    transform: translateX(-50%) translateY(4px);\n    border-width: 7px 7px 0 7px;\n    border-style: solid;\n    opacity: 0;\n    pointer-events: none;\n    transition: 0.18s ease;\n    z-index: 9998;\n  }\n\n  #cbamCalculatorModule .cbam-value-box.red::before {\n    background: var(--cbam-red) !important;\n  }\n\n  #cbamCalculatorModule .cbam-value-box.red::after {\n    border-color: var(--cbam-red) transparent transparent transparent !important;\n  }\n\n  #cbamCalculatorModule .cbam-value-box.green::before {\n    background: var(--cbam-green) !important;\n  }\n\n  #cbamCalculatorModule .cbam-value-box.green::after {\n    border-color: var(--cbam-green) transparent transparent transparent !important;\n  }\n\n  #cbamCalculatorModule .cbam-value-box:hover::before,\n  #cbamCalculatorModule .cbam-value-box:hover::after {\n    opacity: 1;\n    transform: translateX(-50%) translateY(0);\n  }\n\n  \/* Keep delete functionality without changing the approved static layout. *\/\n  #cbamCalculatorModule .cbam-trash {\n    position: absolute;\n    right: 0;\n    top: 8px;\n    width: 28px;\n    height: 28px;\n    border: none !important;\n    border-radius: 5px !important;\n    background-color: #fff !important;\n    background-image: url(\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/icon-buttons-1.png\") !important;\n    background-repeat: no-repeat !important;\n    background-position: center center !important;\n    background-size: 28px 28px !important;\n    color: transparent !important;\n    font-size: 0 !important;\n    cursor: pointer;\n    padding: 0 !important;\n    opacity: 0;\n    transition: opacity 0.15s ease;\n    z-index: 10;\n  }\n\n  #cbamCalculatorModule .cbam-row:hover .cbam-trash,\n  #cbamCalculatorModule .cbam-trash:focus-visible {\n    opacity: 1;\n  }\n\n  #cbamCalculatorModule .cbam-trash:hover,\n  #cbamCalculatorModule .cbam-trash:focus,\n  #cbamCalculatorModule .cbam-trash:active {\n    border: none !important;\n    background-color: #fff !important;\n    color: transparent !important;\n  }\n\n\n\n\n  \/* Visual fixes: keep long selected values inside the field and keep search input fixed above options *\/\n  #cbamCalculatorModule .cbam-field,\n  #cbamCalculatorModule .cbam-select,\n  #cbamCalculatorModule .cbam-search-select,\n  #cbamCalculatorModule .cbam-select-trigger,\n  #cbamCalculatorModule .cbam-search-trigger {\n    min-width: 0 !important;\n    max-width: 100% !important;\n  }\n\n  #cbamCalculatorModule .cbam-select-trigger,\n  #cbamCalculatorModule .cbam-search-trigger {\n    overflow: hidden !important;\n  }\n\n  #cbamCalculatorModule .cbam-select-value,\n  #cbamCalculatorModule .cbam-search-value {\n    flex: 1 1 auto !important;\n    min-width: 0 !important;\n    max-width: 100% !important;\n    overflow: hidden !important;\n    text-overflow: ellipsis !important;\n    white-space: nowrap !important;\n  }\n\n  #cbamCalculatorModule .cbam-chevron {\n    flex: 0 0 18px !important;\n  }\n\n  \/* Search dropdown fix: the menu itself does NOT scroll. Only the options area scrolls, so the search field can never overlap with options. *\/\n  #cbamCalculatorModule .cbam-search-menu {\n    isolation: isolate !important;\n    overflow: hidden !important;\n    max-height: none !important;\n    background: #0A1E20 !important;\n    background-color: #0A1E20 !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-options {\n    position: relative !important;\n    z-index: 1 !important;\n    max-height: 214px !important;\n    overflow-y: auto !important;\n    overflow-x: hidden !important;\n    background: #0A1E20 !important;\n    scrollbar-width: none !important;\n    -ms-overflow-style: none !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-options::-webkit-scrollbar {\n    display: none !important;\n    width: 0 !important;\n    height: 0 !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-menu.country-menu .cbam-search-options {\n    max-height: 146px !important;\n  }\n\n  #cbamCalculatorModule .cbam-search-menu .cbam-search-input {\n    position: relative !important;\n    top: auto !important;\n    z-index: 20 !important;\n    width: 100% !important;\n    min-height: 42px !important;\n    display: block !important;\n    flex: 0 0 auto !important;\n    background: #0A1E20 !important;\n    background-color: #0A1E20 !important;\n    background-image: none !important;\n    background-clip: border-box !important;\n    -webkit-background-clip: border-box !important;\n    color: #fff !important;\n    -webkit-text-fill-color: #fff !important;\n    border-bottom: 1px solid rgba(230, 239, 239, 0.14) !important;\n    box-shadow: 0 8px 12px rgba(10, 30, 32, 0.92) !important;\n  }\n\n\n  @media (max-width: 980px) {\n    #cbamCalculatorModule .cbam-hero-inner {\n      grid-template-columns: 1fr;\n      gap: 44px;\n      align-items: start;\n      padding: 60px 20px 0;\n    }\n\n    #cbamCalculatorModule .cbam-calculator-column {\n      align-self: auto;\n    }\n\n    #cbamCalculatorModule .cbam-powered {\n      margin-top: 44px;\n    }\n\n  }\n\n  @media (max-width: 640px) {\n    #cbamCalculatorModule .cbam-hero-inner,\n    #cbamCalculatorModule .cbam-results-inner {\n      width: 100%;\n      padding-left: 20px;\n      padding-right: 20px;\n    }\n\n    #cbamCalculatorModule .cbam-head {\n      align-items: flex-start;\n      flex-direction: column;\n      gap: 14px;\n      padding: 18px;\n    }\n\n    #cbamCalculatorModule .cbam-tab {\n      font-size: 21px;\n    }\n\n    #cbamCalculatorModule .cbam-form {\n      grid-template-columns: 1fr;\n    }\n\n    #cbamCalculatorModule .cbam-field {\n      border-right: 0;\n    }\n\n    #cbamCalculatorModule .cbam-results-actions {\n      align-items: flex-start;\n      flex-direction: column;\n    }\n\n    #cbamCalculatorModule .cbam-results-inner {\n      padding-left: 14px;\n      padding-right: 14px;\n    }\n\n    #cbamCalculatorModule .cbam-results-group + .cbam-results-group {\n      margin-top: 30px;\n    }\n\n    #cbamCalculatorModule .cbam-row {\n      padding: 14px 0 12px;\n    }\n\n    #cbamCalculatorModule .cbam-summary-grid {\n      grid-template-columns: 1fr 1fr;\n      row-gap: 13px;\n    }\n\n    #cbamCalculatorModule .cbam-detail {\n      padding-right: 12px;\n    }\n\n    #cbamCalculatorModule .cbam-metrics-grid,\n    #cbamCalculatorModule .cbam-row-default .cbam-metrics-grid {\n      width: 100%;\n      margin-left: 0;\n      margin-top: 14px;\n      grid-template-columns: 1fr;\n      gap: 10px;\n    }\n\n    #cbamCalculatorModule .cbam-trash {\n      top: 8px;\n      right: 0;\n      opacity: 1;\n    }\n\n    #cbamCalculatorModule .cbam-value-box {\n      min-height: 30px;\n      font-size: 13px !important;\n    }\n  }\n<\/style>\n\n<script>\n  (function () {\n    const widget = document.getElementById(\"cbamCalculatorModule\");\n    if (!widget) return;\n\n    let mode = \"default\";\n    let rows = [];\n\n    let CBAM_CN_CODES = [];\n    let COUNTRIES = [];\n    let DEFAULT_DATA_BY_COUNTRY = {};\n    let GLOBAL_DEFAULT_DATA = {};\n    let CRU_ESTIMATED_TAXED_EF = {};\n    let CERTIFICATE_COSTS = {};\n\n    const DEFAULT_QUARTERS = [\n      \"Q1\/26\", \"Q2\/26\", \"Q3\/26\", \"Q4\/26\",\n      \"Q1\/27\", \"Q2\/27\", \"Q3\/27\", \"Q4\/27\"\n    ];\n    let QUARTERS = DEFAULT_QUARTERS.slice();\n\n    \/* V4.0 dataset stores the BASE SEFA.\n       Apply the year-specific factor only when calculating CBAM cost. *\/\n    const DEFAULT_SEFA_FACTORS = {\n      2026: 0.975,\n      2027: 0.95\n    };\n\n    \/* The client's validated test case requires Saudi Arabia to use the Asia CRU EF.\n       The countries CSV can also provide a cru_region column for future exceptions. *\/\n    const CRU_REGION_OVERRIDES = {\n      SA: \"Asia\"\n    };\n\n    loadCbamData()\n      .then(initCalculator)\n      .catch(error => {\n        console.error(\"CBAM calculator data could not be loaded.\", error);\n        initCalculator();\n      });\n\n    async function loadCbamData() {\n      const sources = window.CBAM_CALCULATOR_DATA_SOURCES || {};\n\n      if (Array.isArray(sources.quarters) && sources.quarters.length) {\n        const expanded = sources.quarters.flatMap(expandQuarterEntry);\n        if (expanded.length) {\n          QUARTERS = Array.from(new Set(expanded));\n        }\n      }\n\n      const cnText = await fetchTextSafe(sources.cnCodesUrl || sources.cnCodes || \"\", \"CN codes\");\n      const countriesText = await fetchTextSafe(sources.countriesUrl || sources.countries || \"\", \"Countries\");\n      const defaultsText = await fetchTextSafe(sources.defaultValuesUrl || sources.defaultValues || \"\", \"Default SEE & SEFA\");\n      const cruText = await fetchTextSafe(sources.cruEstimatedEfUrl || sources.cruEstimatedTaxedEfUrl || sources.cruEstimatedEf || \"\", \"CRU estimated taxed EF\");\n      const certificateText = await fetchTextSafe(sources.certificateCostsUrl || sources.certificateCosts || \"\", \"Certificate costs\");\n\n      CBAM_CN_CODES = parseCnCodesCsv(cnText);\n\n      COUNTRIES = parseCountriesCsv(countriesText);\n\n      if (!COUNTRIES.length) {\n        console.warn(\"CBAM Countries: CSV loaded but no valid countries were parsed. Check that the file has columns such as code,name,continent and is comma, semicolon, or tab separated.\");\n      }\n\n      const dataMaps = parseDefaultValuesCsv(defaultsText);\n      DEFAULT_DATA_BY_COUNTRY = dataMaps.byCountry;\n      GLOBAL_DEFAULT_DATA = dataMaps.global;\n      CRU_ESTIMATED_TAXED_EF = parseCruEstimatedTaxedEfCsv(cruText);\n      CERTIFICATE_COSTS = parseCertificateCostsCsv(certificateText);\n\n      console.info(\"CBAM data loaded\", {\n        cnCodes: CBAM_CN_CODES.length,\n        countries: COUNTRIES.length,\n        defaultsByCountry: Object.keys(DEFAULT_DATA_BY_COUNTRY).length,\n        globalDefaults: Object.keys(GLOBAL_DEFAULT_DATA).length,\n        cruEstimatedTaxedEf: Object.keys(CRU_ESTIMATED_TAXED_EF).length,\n        certificateCosts: Object.keys(CERTIFICATE_COSTS).length,\n        sources\n      });\n    }\n\n    async function fetchTextSafe(url, label) {\n      if (!url) {\n        console.warn(`CBAM ${label}: missing URL`);\n        return \"\";\n      }\n\n      try {\n        const response = await fetch(url, { cache: \"no-store\" });\n        if (!response.ok) {\n          console.warn(`CBAM ${label}: unable to load ${url}`, response.status);\n          return \"\";\n        }\n        return await response.text();\n      } catch (error) {\n        console.warn(`CBAM ${label}: fetch failed`, url, error);\n        return \"\";\n      }\n    }\n\n    function detectCsvDelimiter(text) {\n      const firstLine = String(text || \"\")\n        .replace(\/^\\uFEFF\/, \"\")\n        .split(\/\\r?\\n\/)\n        .find(line => line.trim() !== \"\") || \"\";\n\n      const candidates = [\",\", \";\", \"\\t\"];\n      let bestDelimiter = \",\";\n      let bestCount = -1;\n\n      candidates.forEach(delimiter => {\n        let count = 0;\n        let inQuotes = false;\n\n        for (let i = 0; i < firstLine.length; i++) {\n          const char = firstLine[i];\n          const next = firstLine[i + 1];\n\n          if (char === '\"' && inQuotes && next === '\"') {\n            i += 1;\n            continue;\n          }\n\n          if (char === '\"') {\n            inQuotes = !inQuotes;\n            continue;\n          }\n\n          if (char === delimiter && !inQuotes) {\n            count += 1;\n          }\n        }\n\n        if (count > bestCount) {\n          bestCount = count;\n          bestDelimiter = delimiter;\n        }\n      });\n\n      return bestDelimiter;\n    }\n\n    function parseCsv(text) {\n      const source = String(text || \"\").replace(\/^\\uFEFF\/, \"\");\n      const delimiter = detectCsvDelimiter(source);\n      const rows = [];\n      let row = [];\n      let value = \"\";\n      let inQuotes = false;\n\n      for (let i = 0; i < source.length; i++) {\n        const char = source[i];\n        const next = source[i + 1];\n\n        if (char === '\"' && inQuotes && next === '\"') {\n          value += '\"';\n          i += 1;\n          continue;\n        }\n\n        if (char === '\"') {\n          inQuotes = !inQuotes;\n          continue;\n        }\n\n        if (char === delimiter && !inQuotes) {\n          row.push(value);\n          value = \"\";\n          continue;\n        }\n\n        if ((char === \"\\n\" || char === \"\\r\") && !inQuotes) {\n          if (char === \"\\r\" && next === \"\\n\") i += 1;\n          row.push(value);\n          if (row.some(cell => String(cell).trim() !== \"\")) rows.push(row);\n          row = [];\n          value = \"\";\n          continue;\n        }\n\n        value += char;\n      }\n\n      row.push(value);\n      if (row.some(cell => String(cell).trim() !== \"\")) rows.push(row);\n\n      return rows;\n    }\n\n    function normalizeHeader(value) {\n      return String(value || \"\")\n        .replace(\/^\\uFEFF\/, \"\")\n        .trim()\n        .toLowerCase()\n        .replace(\/\\s+\/g, \"_\")\n        .replace(\/[()]\/g, \"\")\n        .replace(\/[^a-z0-9_]+\/g, \"_\")\n        .replace(\/^_+|_+$\/g, \"\");\n    }\n\n    function makeCsvObjects(text) {\n      const rows = parseCsv(text);\n      if (!rows.length) return [];\n\n      const headers = rows[0].map(normalizeHeader);\n\n      return rows.slice(1).map(row => {\n        const item = {};\n        headers.forEach((header, index) => {\n          item[header] = typeof row[index] === \"undefined\" ? \"\" : String(row[index]).trim();\n        });\n        return item;\n      });\n    }\n\n    function pickValue(item, names) {\n      for (const name of names) {\n        const key = normalizeHeader(name);\n        if (typeof item[key] !== \"undefined\" && String(item[key]).trim() !== \"\") {\n          return String(item[key]).trim();\n        }\n      }\n      return \"\";\n    }\n\n    function normalizeDataCNCode(value) {\n      const digits = String(value || \"\").replace(\/\\D\/g, \"\");\n      return digits ? digits.padStart(8, \"0\").slice(-8) : \"\";\n    }\n\n    function formatDataCNCode(value) {\n      const digits = normalizeDataCNCode(value);\n      return digits.length === 8 ? `${digits.slice(0, 4)} ${digits.slice(4)}` : digits;\n    }\n\n    function parseCnCodesCsv(text) {\n      return makeCsvObjects(text)\n        .map(item => {\n          const value = normalizeDataCNCode(pickValue(item, [\n            \"value\",\n            \"cn_code\",\n            \"cn code\",\n            \"cn code 8 digits\",\n            \"cn_code_8_digits\",\n            \"code\"\n          ]));\n\n          if (!value) return null;\n\n          const description = pickValue(item, [\"description\", \"product_description\", \"desc\"]);\n          const display = pickValue(item, [\"display\", \"display_code\"]) || formatDataCNCode(value);\n          const label = pickValue(item, [\"label\"]) || `${display}${description ? \" \u2014 \" + description : \"\"}`;\n\n          return { value, display, label, description };\n        })\n        .filter(Boolean);\n    }\n\n    function parseCountriesCsv(text) {\n      return makeCsvObjects(text)\n        .map(item => {\n          const value = pickValue(item, [\"code\", \"country_code\", \"value\"]).toUpperCase();\n          const name = pickValue(item, [\"name\", \"country_name\", \"country\", \"label\", \"display\"]);\n          const continent = normalizeRegionName(pickValue(item, [\"continent\", \"region\", \"state\"]));\n          const cruRegion = normalizeRegionName(pickValue(item, [\n            \"cru_region\",\n            \"cru region\",\n            \"cru_continent\",\n            \"cru continent\"\n          ]));\n          const cruEstimatedTaxedEf = parseOptionalNumber(pickValue(item, [\n            \"cru_estimated_taxed_ef\",\n            \"cru estimated_taxed_ef\",\n            \"cru estimated taxed ef\",\n            \"estimated_taxed_ef\"\n          ]));\n\n          if (!value || !name) return null;\n\n          return {\n            value,\n            display: name,\n            label: name,\n            continent,\n            cruRegion,\n            cruEstimatedTaxedEf\n          };\n        })\n        .filter(Boolean);\n    }\n\n    function parseCruEstimatedTaxedEfCsv(text) {\n      const map = {};\n\n      makeCsvObjects(text).forEach(item => {\n        const countryCode = pickValue(item, [\"country_code\", \"country code\", \"code\"]).toUpperCase();\n        const continent = normalizeRegionName(pickValue(item, [\"continent\", \"region\", \"state\"]));\n        const value = parseOptionalNumber(pickValue(item, [\n          \"cru_estimated_taxed_ef\",\n          \"cru estimated_taxed_ef\",\n          \"cru estimated taxed ef\",\n          \"estimated_taxed_ef\",\n          \"value\"\n        ]));\n\n        if (!Number.isFinite(value)) return;\n        if (countryCode) map[`country:${countryCode}`] = value;\n        if (continent) map[`continent:${continent}`] = value;\n      });\n\n      return map;\n    }\n\n    function parseCertificateCostsCsv(text) {\n      const map = {};\n\n      makeCsvObjects(text).forEach(item => {\n        const quarter = pickValue(item, [\"quarter\", \"period\", \"value\"]);\n        const normalizedQuarter = normalizeQuarterKey(quarter);\n        const cost = parseOptionalNumber(pickValue(item, [\n          \"certificate_cost\",\n          \"cbam_certificate_cost\",\n          \"cbam certificate cost\",\n          \"price\",\n          \"cost\",\n          \"ton_co2\",\n          \"eur_ton_co2\",\n          \"eur_per_ton_co2\"\n        ]));\n\n        if (!normalizedQuarter || !Number.isFinite(cost)) return;\n        map[`quarter:${normalizedQuarter}`] = cost;\n      });\n\n      return map;\n    }\n\n    function normalizeQuarterKey(value) {\n      const text = String(value || \"\").trim().toUpperCase();\n      if (!text) return \"\";\n\n      let match = text.match(\/^Q([1-4])\\s*\\\/\\s*(\\d{2})$\/);\n      if (match) return `20${match[2]}-Q${match[1]}`;\n\n      match = text.match(\/^Q([1-4])\\s*\\\/\\s*(20\\d{2})$\/);\n      if (match) return `${match[2]}-Q${match[1]}`;\n\n      match = text.match(\/^(20\\d{2})\\s*[-\/]?\\s*Q([1-4])$\/);\n      if (match) return `${match[1]}-Q${match[2]}`;\n\n      match = text.match(\/^Q([1-4])\\s+(20\\d{2})$\/);\n      if (match) return `${match[2]}-Q${match[1]}`;\n\n      return \"\";\n    }\n\n    function quarterKeyToDisplay(key) {\n      const match = String(key || \"\").match(\/^(20\\d{2})-Q([1-4])$\/);\n      if (!match) return \"\";\n      return `Q${match[2]}\/${match[1].slice(-2)}`;\n    }\n\n    function expandQuarterEntry(value) {\n      const text = String(value || \"\").trim();\n      if (!text) return [];\n\n      if (\/^20\\d{2}$\/.test(text)) {\n        const yy = text.slice(-2);\n        return [1, 2, 3, 4].map(q => `Q${q}\/${yy}`);\n      }\n\n      const normalized = normalizeQuarterKey(text);\n      const display = quarterKeyToDisplay(normalized);\n      return display ? [display] : [];\n    }\n\n    function normalizeRegionName(value) {\n      const text = String(value || \"\").trim();\n      if (!text) return \"\";\n\n      const normalized = text.toLowerCase().replace(\/[_-]+\/g, \" \").replace(\/\\s+\/g, \" \");\n      const aliases = {\n        \"africa\": \"Africa\",\n        \"americas\": \"Americas\",\n        \"america\": \"Americas\",\n        \"north america\": \"Americas\",\n        \"south america\": \"Americas\",\n        \"latin america\": \"Americas\",\n        \"asia\": \"Asia\",\n        \"europe\": \"Europe\",\n        \"middle east\": \"Middle East\",\n        \"oceania\": \"Oceania\",\n        \"australia and oceania\": \"Oceania\"\n      };\n\n      return aliases[normalized] || text;\n    }\n\n    function parseLocalizedNumber(value) {\n      let text = String(value || \"\").trim().replace(\/\\s\/g, \"\");\n\n      if (!text) return NaN;\n\n      const hasComma = text.includes(\",\");\n      const hasDot = text.includes(\".\");\n\n      if (hasComma && hasDot) {\n        \/* Support both 1,234.56 and 1.234,56. The last separator is treated as decimal. *\/\n        if (text.lastIndexOf(\",\") > text.lastIndexOf(\".\")) {\n          text = text.replace(\/\\.\/g, \"\").replace(\/,\/g, \".\");\n        } else {\n          text = text.replace(\/,\/g, \"\");\n        }\n      } else if (hasComma) {\n        const commaThousandsPattern = \/^\\d{1,3}(,\\d{3})+(\\.\\d+)?$\/;\n        text = commaThousandsPattern.test(text)\n          ? text.replace(\/,\/g, \"\")\n          : text.replace(\/,\/g, \".\");\n      }\n\n      text = text.replace(\/[^0-9.-]\/g, \"\");\n      return parseFloat(text);\n    }\n\n    function parseOptionalNumber(value) {\n      const number = parseLocalizedNumber(value);\n      return Number.isFinite(number) ? number : NaN;\n    }\n\n    function parseDefaultValuesCsv(text) {\n      const maps = {\n        byCountry: {},\n        global: {}\n      };\n\n      makeCsvObjects(text).forEach(item => {\n        const countryCode = pickValue(item, [\"country_code\", \"country code\"]).toUpperCase();\n        const cnCode = normalizeDataCNCode(pickValue(item, [\n          \"cn_code\",\n          \"cn code\",\n          \"cn code 8 digits\",\n          \"cn_code_8_digits\",\n          \"code\"\n        ]));\n\n        const year = Number(pickValue(item, [\"year\"]));\n        const see = parseOptionalNumber(pickValue(item, [\n          \"see\",\n          \"default_see\",\n          \"default_see_direct_data\",\n          \"default see direct data\",\n          \"default see\"\n        ]));\n\n        const sefa = parseOptionalNumber(pickValue(item, [\n          \"sefa\",\n          \"default_sefa\",\n          \"default_sefa_2026\",\n          \"default sefa 2026\",\n          \"default sefa\"\n        ]));\n\n        const method = pickValue(item, [\n          \"method\",\n          \"prod_method_label\",\n          \"production_method\",\n          \"prod method label\"\n        ]);\n\n        const cruEstimatedTaxedEf = parseOptionalNumber(pickValue(item, [\n          \"cru_estimated_taxed_ef\",\n          \"cru estimated_taxed_ef\",\n          \"cru estimated taxed ef\",\n          \"estimated_taxed_ef\"\n        ]));\n\n        if (!cnCode || !year || !Number.isFinite(see) || !Number.isFinite(sefa)) return;\n\n        const payload = { see, sefa };\n        if (method) payload.method = method;\n        if (Number.isFinite(cruEstimatedTaxedEf)) payload.cruEstimatedTaxedEf = cruEstimatedTaxedEf;\n\n        if (countryCode) {\n          maps.byCountry[`${countryCode}|${cnCode}|${year}`] = payload;\n        } else {\n          maps.global[`${cnCode}|${year}`] = payload;\n        }\n      });\n\n      return maps;\n    }\n\n    function initCalculator() {\n    const tabs = widget.querySelectorAll(\".cbam-tab\");\n    const forms = widget.querySelectorAll(\".cbam-form\");\n    const addBtn = widget.querySelector(\"#cbamAdd\");\n    const resultsArea = widget.querySelector(\"#cbamResultsArea\");\n    const results = widget.querySelector(\"#cbamResults\");\n    const download = widget.querySelector(\"#cbamDownload\");\n    const infoHolder = widget.querySelector(\".cbam-info-holder\");\n    const overlayInfo = widget.querySelector(\".cbam-overlay-info\");\n\n    \/* -------------------------------------------------------\n       REPORT DATA -> ELEMENTOR POPUP\n       The Elementor form must contain a Hidden field with ID:\n       cbam_report_data\n    -------------------------------------------------------- *\/\n    let pendingReportData = \"\";\n\n    function reportNumber(value) {\n      if (value === null || typeof value === \"undefined\" || value === \"\") return null;\n      const number = Number(value);\n      return Number.isFinite(number) ? number : null;\n    }\n\n    function buildReportPayload() {\n      return {\n        version: 1,\n        generatedAt: new Date().toISOString(),\n        rows: rows.map(row => ({\n          mode: row.mode || \"\",\n          type: row.type || (row.mode === \"real\" ? \"Real emissions\" : \"Default\"),\n          quarter: row.quarter || \"\",\n          code: row.code || \"\",\n          volume: reportNumber(row.volume),\n          emissions: reportNumber(row.emissions),\n          sefa: reportNumber(row.sefa),\n          effectiveSefa: reportNumber(row.effectiveSefa),\n          country: row.country || \"\",\n          countryCode: row.countryCode || \"\",\n          certificateCost: reportNumber(row.certificateCost),\n          cruDataAvailable: Boolean(row.cruDataAvailable),\n          cruEstimatedTaxedEf: reportNumber(row.cruEstimatedTaxedEf),\n          redCostPerTon: reportNumber(row.redCostPerTon),\n          greenCostPerTon: reportNumber(row.greenCostPerTon),\n          redTotalCost: reportNumber(row.redTotalCost),\n          greenTotalCost: reportNumber(row.greenTotalCost),\n          costSavingPercent: reportNumber(row.costSavingPercent),\n          realCostPerTon: reportNumber(row.realCostPerTon),\n          realTotalCost: reportNumber(row.realTotalCost)\n        }))\n      };\n    }\n\n    function captureReportData() {\n      pendingReportData = JSON.stringify(buildReportPayload());\n      window.CBAM_PENDING_REPORT_DATA = pendingReportData;\n      return pendingReportData;\n    }\n\n    function fillElementorReportField(payloadText) {\n      const value = payloadText || pendingReportData || window.CBAM_PENDING_REPORT_DATA || \"\";\n      if (!value) return 0;\n\n      const fields = document.querySelectorAll(\n        'input[name=\"form_fields[cbam_report_data]\"], ' +\n        'textarea[name=\"form_fields[cbam_report_data]\"], ' +\n        '#form-field-cbam_report_data'\n      );\n\n      fields.forEach(field => {\n        field.value = value;\n        field.setAttribute(\"value\", value);\n        field.dispatchEvent(new Event(\"input\", { bubbles: true }));\n        field.dispatchEvent(new Event(\"change\", { bubbles: true }));\n      });\n\n      return fields.length;\n    }\n\n    function fillElementorReportFieldWithRetries(payloadText) {\n      [0, 100, 250, 500, 900, 1500].forEach(delay => {\n        window.setTimeout(() => fillElementorReportField(payloadText), delay);\n      });\n    }\n\n    if (download) {\n      download.addEventListener(\"click\", () => {\n        const payloadText = captureReportData();\n        fillElementorReportFieldWithRetries(payloadText);\n      });\n    }\n\n    \/* Elementor Pro popup event. This catches the form after the popup\n       has actually been inserted into the DOM. *\/\n    if (window.jQuery && !window.CBAM_REPORT_POPUP_EVENT_BOUND) {\n      window.CBAM_REPORT_POPUP_EVENT_BOUND = true;\n      window.jQuery(document).on(\"elementor\/popup\/show\", function () {\n        const payloadText = pendingReportData || window.CBAM_PENDING_REPORT_DATA || captureReportData();\n        fillElementorReportFieldWithRetries(payloadText);\n      });\n    }\n\n    \/* Final safeguard: refresh the hidden field immediately before the\n       Elementor form is submitted. *\/\n    document.addEventListener(\"submit\", event => {\n      const form = event.target;\n      if (!form || !form.querySelector) return;\n\n      const reportField = form.querySelector(\n        'input[name=\"form_fields[cbam_report_data]\"], ' +\n        'textarea[name=\"form_fields[cbam_report_data]\"], ' +\n        '#form-field-cbam_report_data'\n      );\n\n      if (!reportField) return;\n      const payloadText = pendingReportData || window.CBAM_PENDING_REPORT_DATA || captureReportData();\n      fillElementorReportField(payloadText);\n    }, true);\n\n    if (infoHolder && overlayInfo) {\n      infoHolder.addEventListener(\"mouseenter\", () => overlayInfo.classList.add(\"active\"));\n      infoHolder.addEventListener(\"mouseleave\", () => overlayInfo.classList.remove(\"active\"));\n      infoHolder.addEventListener(\"focusin\", () => overlayInfo.classList.add(\"active\"));\n      infoHolder.addEventListener(\"focusout\", () => overlayInfo.classList.remove(\"active\"));\n    }\n\n\n    widget.querySelectorAll('input[data-name=\"volume\"], input[data-name=\"emissions\"], input[data-name=\"sefa\"]').forEach(input => {\n      const allowDecimal = input.dataset.decimal === \"true\";\n      const allowComma = input.dataset.allowComma === \"true\";\n      const maxDigits = input.dataset.maxDigits ? Number(input.dataset.maxDigits) : 0;\n\n      input.addEventListener(\"input\", () => {\n        input.value = sanitizeNumericInput(input.value, allowDecimal, maxDigits, allowComma);\n        clearFieldError(input);\n      });\n    });\n\n    tabs.forEach(tab => {\n      tab.addEventListener(\"click\", () => {\n        mode = tab.dataset.mode;\n\n        tabs.forEach(item => item.classList.remove(\"active\"));\n        tab.classList.add(\"active\");\n\n        forms.forEach(form => {\n          form.classList.toggle(\"active\", form.dataset.form === mode);\n        });\n      });\n    });\n\n    populateQuarterSelects();\n\n    widget.querySelectorAll(\".cbam-select\").forEach(select => {\n      const trigger = select.querySelector(\".cbam-select-trigger\");\n      const value = select.querySelector(\".cbam-select-value\");\n      const options = select.querySelectorAll(\".cbam-select-menu button\");\n\n      trigger.addEventListener(\"click\", e => {\n        e.stopPropagation();\n\n        widget.querySelectorAll(\".cbam-select\").forEach(other => {\n          if (other !== select) other.classList.remove(\"open\");\n        });\n\n        select.classList.toggle(\"open\");\n      });\n\n      options.forEach(option => {\n        option.addEventListener(\"click\", e => {\n          e.stopPropagation();\n\n          options.forEach(item => item.classList.remove(\"active\"));\n          option.classList.add(\"active\");\n\n          value.textContent = option.textContent;\n          value.classList.remove(\"muted\");\n          select.dataset.value = option.textContent;\n          select.classList.remove(\"open\");\n          clearFieldError(trigger);\n        });\n      });\n    });\n\n\n    widget.querySelectorAll(\".cbam-search-select\").forEach(select => {\n      const source = select.dataset.source;\n      const items = source === \"cn-codes\" ? CBAM_CN_CODES : COUNTRIES;\n\n      initSearchSelect(select, items);\n    });\n\n\n    document.addEventListener(\"click\", () => {\n      widget.querySelectorAll(\".cbam-select, .cbam-search-select\").forEach(select => {\n        select.classList.remove(\"open\");\n      });\n    });\n\n    addBtn.addEventListener(\"click\", () => {\n      const form = widget.querySelector(`.cbam-form[data-form=\"${mode}\"]`);\n      const item = mode === \"default\" ? getDefaultData(form) : getRealData(form);\n\n      if (!item) return;\n\n      rows.unshift(item);\n      renderRows();\n    });\n\n\n    function populateQuarterSelects() {\n      widget.querySelectorAll('.cbam-select[data-name=\"quarter\"]').forEach(select => {\n        const menu = select.querySelector(\".cbam-select-menu\");\n        if (!menu) return;\n\n        menu.innerHTML = \"\";\n\n        QUARTERS.forEach(quarter => {\n          const option = document.createElement(\"button\");\n          option.type = \"button\";\n          option.textContent = quarter;\n          menu.appendChild(option);\n        });\n      });\n    }\n\n    function getDefaultData(form) {\n      const quarter = validateSelectValue(form, \"quarter\", \"Quarter\");\n      const code = validateSelectValue(form, \"code\", \"CN code\");\n      const countryCode = validateSelectValue(form, \"country\", \"Country of origin\");\n      const country = getSelectLabel(form, \"country\") || countryCode;\n\n      if (!quarter || !code || !countryCode) return null;\n      if (!validateRequiredNumeric(form, \"volume\", \"Import volume\")) return null;\n\n      const volume = getNumberValue(form, \"volume\");\n      const year = getYearFromQuarter(quarter);\n      const certificateCost = getCertificateCost(quarter);\n\n      if (!Number.isFinite(certificateCost)) {\n        const quarterTrigger = form.querySelector('.cbam-select[data-name=\"quarter\"] .cbam-select-trigger');\n        setFieldError(quarterTrigger, `No Certificate Price found for ${quarter}`);\n        return null;\n      }\n\n      const defaultData = findDefaultData(countryCode, code, year);\n\n      if (!defaultData) {\n        const codeTrigger = form.querySelector('.cbam-search-select[data-name=\"code\"] .cbam-search-trigger');\n        setFieldError(codeTrigger, \"No default data found for this CN code\/country\/year\");\n        return null;\n      }\n\n      \/* V4.0:\n         - Emissions are year-specific and are used directly from the database.\n         - SEFA in the database is the BASE SEFA and is shown to the user unchanged.\n         - The 2026\/2027 factor is applied only to the SEFA used in the calculation. *\/\n      const emissions = Number(defaultData.see);\n      const baseSefa = Number(defaultData.sefa);\n      const effectiveSefa = getEffectiveDefaultSefa(baseSefa, year);\n\n      const redCostPerTon = calculateDefaultCostPerTon(emissions, effectiveSefa, certificateCost);\n      const redTotalCost = redCostPerTon * volume;\n\n      const cruDataAvailable = isCruCnCodeCovered(code);\n      const cruEstimatedTaxedEf = cruDataAvailable ? getCruEstimatedTaxedEf(countryCode, form, defaultData) : NaN;\n      const greenCostPerTon = Number.isFinite(cruEstimatedTaxedEf)\n        ? calculateCruCostPerTon(cruEstimatedTaxedEf, certificateCost)\n        : NaN;\n      const greenTotalCost = Number.isFinite(greenCostPerTon) ? greenCostPerTon * volume : NaN;\n      const costSavingPercent = redCostPerTon && Number.isFinite(greenCostPerTon)\n        ? (redCostPerTon - greenCostPerTon) \/ redCostPerTon\n        : NaN;\n\n      return {\n        id: Date.now() + Math.random(),\n        mode: \"default\",\n        type: \"Default\",\n        quarter,\n        code: formatCNCode(code),\n        volume,\n        emissions,\n        country,\n        countryCode,\n        sefa: baseSefa,\n        effectiveSefa,\n        certificateCost,\n        cruDataAvailable,\n        cruEstimatedTaxedEf,\n        defaultDataSource: defaultData.source,\n        redCostPerTon,\n        greenCostPerTon,\n        redTotalCost,\n        greenTotalCost,\n        costSavingPercent\n      };\n    }\n\n    function getRealData(form) {\n      const quarter = validateSelectValue(form, \"quarter\", \"Quarter\");\n      if (!quarter) return null;\n\n      if (!validateRequiredNumeric(form, \"volume\", \"Import volume\")) return null;\n      if (!validateRequiredNumeric(form, \"emissions\", \"Emissions\")) return null;\n      if (!validateRequiredNumeric(form, \"sefa\", \"SEFA\")) return null;\n\n      const selectedCode = getSelectValue(form, \"code\");\n      const selectedCountryCode = getSelectValue(form, \"country\");\n      const code = selectedCode ? formatCNCode(selectedCode) : \"Not provided\";\n      const country = selectedCountryCode ? (getSelectLabel(form, \"country\") || selectedCountryCode) : \"Not provided\";\n\n      const volume = getNumberValue(form, \"volume\");\n      const emissions = getNumberValue(form, \"emissions\");\n      const sefa = getNumberValue(form, \"sefa\");\n      const certificateCost = getCertificateCost(quarter);\n\n      if (!Number.isFinite(certificateCost)) {\n        const quarterTrigger = form.querySelector('.cbam-select[data-name=\"quarter\"] .cbam-select-trigger');\n        setFieldError(quarterTrigger, `No Certificate Price found for ${quarter}`);\n        return null;\n      }\n\n      const realCostPerTon = calculateRealCostPerTon(emissions, sefa, certificateCost);\n      const realTotalCost = realCostPerTon * volume;\n\n      return {\n        id: Date.now() + Math.random(),\n        mode: \"real\",\n        type: \"Real emissions\",\n        quarter,\n        code,\n        volume,\n        emissions,\n        country,\n        countryCode: selectedCountryCode || \"\",\n        sefa,\n        certificateCost,\n        realCostPerTon,\n        realTotalCost\n      };\n    }\n\n    function renderRows() {\n      results.innerHTML = \"\";\n\n      if (!rows.length) {\n        resultsArea.classList.remove(\"active\");\n        return;\n      }\n\n      resultsArea.classList.add(\"active\");\n\n      const groups = [\n        { mode: \"default\", title: \"Default\" },\n        { mode: \"real\", title: \"Real emissions\" }\n      ];\n\n      groups.forEach(group => {\n        const groupRows = rows.filter(row => row.mode === group.mode);\n        if (!groupRows.length) return;\n\n        const section = document.createElement(\"section\");\n        section.className = `cbam-results-group cbam-results-group-${group.mode}`;\n\n        const title = document.createElement(\"h3\");\n        title.className = \"cbam-results-group-title\";\n        title.textContent = group.title;\n        section.appendChild(title);\n\n        groupRows.forEach(row => {\n          const div = document.createElement(\"div\");\n          div.className = `cbam-row cbam-row-${row.mode}`;\n\n          div.innerHTML = `\n            <div class=\"cbam-summary-grid\">\n              ${renderDetail(\"Quarter\", row.quarter)}\n              ${renderDetail(\"Emissions (t CO2\/t)\", formatDecimal(row.emissions))}\n              ${renderDetail(\"CN code\", row.code)}\n              ${renderDetail(\"SEFA (t CO2\/t)\", formatDecimal(row.sefa))}\n              ${renderDetail(\"Import volume (t)\", formatInteger(row.volume))}\n              ${renderDetail(\"Country of origin\", row.country)}\n            <\/div>\n\n            ${renderMetrics(row)}\n\n            <button type=\"button\" class=\"cbam-trash\" data-id=\"${row.id}\" aria-label=\"Delete row\">\n              Delete\n            <\/button>\n          `;\n\n          section.appendChild(div);\n        });\n\n        results.appendChild(section);\n      });\n\n      results.querySelectorAll(\".cbam-trash\").forEach(btn => {\n        btn.addEventListener(\"click\", () => {\n          const id = Number(btn.dataset.id);\n          rows = rows.filter(row => row.id !== id);\n          renderRows();\n        });\n      });\n    }\n\n    function renderMetrics(row) {\n      if (row.mode === \"real\") {\n        return `\n          <div class=\"cbam-metrics-grid\">\n            <div class=\"cbam-metric-group\">\n              <span class=\"cbam-metric-title\">Real CBAM cost \/ ton<\/span>\n              <div class=\"cbam-value-bars single\">\n                <strong class=\"cbam-value-box green\" data-label=\"Real CBAM cost \/ ton\">\n                  ${formatEUR(row.realCostPerTon)}\n                <\/strong>\n              <\/div>\n            <\/div>\n\n            <div class=\"cbam-metric-group\">\n              <span class=\"cbam-metric-title\">Total cost on Real<\/span>\n              <div class=\"cbam-value-bars single\">\n                <strong class=\"cbam-value-box green\" data-label=\"Total cost on Real\">\n                  ${formatEUR(row.realTotalCost)}\n                <\/strong>\n              <\/div>\n            <\/div>\n          <\/div>\n        `;\n      }\n\n      return `\n        <div class=\"cbam-metrics-grid\">\n          <div class=\"cbam-metric-group\">\n            <span class=\"cbam-metric-title\">Cost per ton<\/span>\n            <div class=\"cbam-value-bars\">\n              <strong class=\"cbam-value-box red\" data-label=\"Default CBAM cost \/ ton\">\n                ${formatEUR(row.redCostPerTon)}\n              <\/strong>\n              <strong class=\"cbam-value-box green\" data-label=\"CRU cost \/ ton\">\n                ${renderCruMoneyValue(row.greenCostPerTon)}\n              <\/strong>\n            <\/div>\n          <\/div>\n\n          <div class=\"cbam-metric-group\">\n            <span class=\"cbam-metric-title\">Total cost<\/span>\n            <div class=\"cbam-value-bars\">\n              <strong class=\"cbam-value-box red\" data-label=\"Total cost on default\">\n                ${formatEUR(row.redTotalCost)}\n              <\/strong>\n              <strong class=\"cbam-value-box green\" data-label=\"Total cost on CRU\">\n                ${renderCruMoneyValue(row.greenTotalCost)}\n              <\/strong>\n            <\/div>\n          <\/div>\n\n          <div class=\"cbam-metric-group\">\n            <span class=\"cbam-metric-title\">Cost saving<\/span>\n            <div class=\"cbam-value-bars single\">\n              <strong class=\"cbam-value-box green\" data-label=\"Cost Saving (%)\">\n                ${formatPercentOrNotAvailable(row.costSavingPercent)}\n              <\/strong>\n            <\/div>\n          <\/div>\n        <\/div>\n      `;\n    }\n\n    function renderDetail(label, value) {\n      return `\n        <div class=\"cbam-detail\">\n          <span class=\"cbam-detail-label\">${escapeHTML(label)}<\/span>\n          <strong class=\"cbam-detail-value\">${escapeHTML(value)}<\/strong>\n        <\/div>\n      `;\n    }\n\n    function formatDecimal(value) {\n      const number = Number(value);\n      return Number.isFinite(number)\n        ? number.toLocaleString(\"de-DE\", { maximumFractionDigits: 3 })\n        : escapeHTML(value);\n    }\n\n    function getSelectValue(scope, name) {\n      const select = scope.querySelector(`.cbam-select[data-name=\"${name}\"], .cbam-search-select[data-name=\"${name}\"]`);\n      return select ? select.dataset.value || \"\" : \"\";\n    }\n\n    function getSelectLabel(scope, name) {\n      const select = scope.querySelector(`.cbam-select[data-name=\"${name}\"], .cbam-search-select[data-name=\"${name}\"]`);\n      return select ? select.dataset.label || \"\" : \"\";\n    }\n\n    function normalizeCNCode(value) {\n      return String(value || \"\").replace(\/\\D\/g, \"\").padStart(8, \"0\").slice(-8);\n    }\n\n    function getYearFromQuarter(value) {\n      const normalized = normalizeQuarterKey(value);\n      const match = normalized.match(\/^(20\\d{2})-Q[1-4]$\/);\n      return match ? Number(match[1]) : NaN;\n    }\n\n    function findDefaultData(countryCode, cnCode, year) {\n      const normalizedCode = normalizeCNCode(cnCode);\n      const countryKey = `${String(countryCode || \"\").trim().toUpperCase()}|${normalizedCode}|${year}`;\n      const globalKey = `${normalizedCode}|${year}`;\n      if (DEFAULT_DATA_BY_COUNTRY[countryKey]) return Object.assign({ source: \"country\" }, DEFAULT_DATA_BY_COUNTRY[countryKey]);\n      if (GLOBAL_DEFAULT_DATA[globalKey]) return Object.assign({ source: \"global\" }, GLOBAL_DEFAULT_DATA[globalKey]);\n      return null;\n    }\n\n    function getCertificateCost(quarter) {\n      const normalizedQuarter = normalizeQuarterKey(quarter);\n      if (!normalizedQuarter) return NaN;\n\n      const quarterKey = `quarter:${normalizedQuarter}`;\n      return Number.isFinite(CERTIFICATE_COSTS[quarterKey])\n        ? CERTIFICATE_COSTS[quarterKey]\n        : NaN;\n    }\n\n    function getCountryMeta(countryCode) {\n      const normalized = String(countryCode || \"\").trim().toUpperCase();\n      return COUNTRIES.find(country => country.value === normalized) || null;\n    }\n\n    function isCruCnCodeCovered(cnCode) {\n      const digits = normalizeCNCode(cnCode);\n      return digits === \"26011200\" || digits.startsWith(\"72\") || digits.startsWith(\"73\");\n    }\n\n    function getCruEstimatedTaxedEf(countryCode, form, defaultData) {\n      if (defaultData && Number.isFinite(defaultData.cruEstimatedTaxedEf)) {\n        return defaultData.cruEstimatedTaxedEf;\n      }\n\n      const normalizedCountryCode = String(countryCode || \"\").trim().toUpperCase();\n      const countrySelect = form.querySelector('.cbam-search-select[data-name=\"country\"]');\n\n      const selectedDirectValue = countrySelect ? parseOptionalNumber(countrySelect.dataset.cruEstimatedTaxedEf) : NaN;\n      if (Number.isFinite(selectedDirectValue)) return selectedDirectValue;\n\n      const countryKey = `country:${normalizedCountryCode}`;\n      if (Number.isFinite(CRU_ESTIMATED_TAXED_EF[countryKey])) return CRU_ESTIMATED_TAXED_EF[countryKey];\n\n      const meta = getCountryMeta(normalizedCountryCode);\n      const overrideRegion = normalizeRegionName(CRU_REGION_OVERRIDES[normalizedCountryCode] || \"\");\n      const selectedCruRegion = countrySelect ? normalizeRegionName(countrySelect.dataset.cruRegion) : \"\";\n      const metaCruRegion = meta ? normalizeRegionName(meta.cruRegion) : \"\";\n      const selectedContinent = countrySelect ? normalizeRegionName(countrySelect.dataset.continent) : \"\";\n      const metaContinent = meta ? normalizeRegionName(meta.continent) : \"\";\n\n      const region = overrideRegion || selectedCruRegion || metaCruRegion || selectedContinent || metaContinent;\n\n      if (region && Number.isFinite(CRU_ESTIMATED_TAXED_EF[`continent:${region}`])) {\n        return CRU_ESTIMATED_TAXED_EF[`continent:${region}`];\n      }\n\n      return NaN;\n    }\n\n    function roundTo(value, decimals) {\n      const number = Number(value);\n      if (!Number.isFinite(number)) return NaN;\n      const factor = Math.pow(10, Number(decimals) || 0);\n      return Math.round((number + Number.EPSILON) * factor) \/ factor;\n    }\n\n    function getEffectiveDefaultSefa(baseSefa, year) {\n      const base = Number(baseSefa);\n      if (!Number.isFinite(base)) return NaN;\n\n      const factor = DEFAULT_SEFA_FACTORS[Number(year)];\n      return Number.isFinite(factor) ? base * factor : base;\n    }\n\n    function calculateDefaultCostPerTon(defaultSeeDirect, defaultSefa, certificateCost) {\n      return (Number(defaultSeeDirect) - Number(defaultSefa)) * Number(certificateCost);\n    }\n\n    function calculateCruCostPerTon(cruEstimatedTaxedEf, certificateCost) {\n      return Number(cruEstimatedTaxedEf) * Number(certificateCost);\n    }\n\n    function calculateRealCostPerTon(realSeeDirect, sefa, certificateCost) {\n      return (Number(realSeeDirect) - Number(sefa)) * Number(certificateCost);\n    }\n\n    function getInputValue(scope, name) {\n      const input = scope.querySelector(`input[data-name=\"${name}\"]`);\n      return input ? input.value.trim() : \"\";\n    }\n\n    function getNumberValue(scope, name) {\n      const value = parseLocalizedNumber(getInputValue(scope, name));\n      return Number.isFinite(value) ? value : 0;\n    }\n\n        function sanitizeNumericInput(value, allowDecimal, maxDigits, allowComma) {\n      let text = String(value);\n\n      if (allowComma) {\n        text = text.replace(\/[^0-9.,]\/g, \"\");\n        if (!maxDigits) return text;\n\n        const digits = text.replace(\/\\D\/g, \"\").slice(0, maxDigits);\n        let digitIndex = 0;\n        return text.split(\"\").filter(char => {\n          if (\/\\d\/.test(char)) {\n            digitIndex += 1;\n            return digitIndex <= digits.length;\n          }\n          return char === \",\" || char === \".\";\n        }).join(\"\");\n      }\n\n      text = text.replace(\/,\/g, \".\");\n\n      if (!allowDecimal) {\n        const digits = text.replace(\/\\D\/g, \"\");\n        return maxDigits ? digits.slice(0, maxDigits) : digits;\n      }\n\n      text = text.replace(\/[^0-9.]\/g, \"\");\n\n      const hasDecimal = text.includes(\".\");\n      const firstDotIndex = text.indexOf(\".\");\n      const beforeDot = hasDecimal ? text.slice(0, firstDotIndex) : text;\n      const afterDot = hasDecimal ? text.slice(firstDotIndex + 1).replace(\/\\.\/g, \"\") : \"\";\n      const rawDigits = beforeDot + afterDot;\n      const digits = maxDigits ? rawDigits.slice(0, maxDigits) : rawDigits;\n\n      if (!hasDecimal) return digits;\n\n      const integerLength = Math.min(beforeDot.length, digits.length);\n      const integerPart = digits.slice(0, integerLength);\n      const decimalPart = digits.slice(integerLength);\n\n      return decimalPart ? `${integerPart}.${decimalPart}` : `${integerPart}.`;\n    }\n\n\n    function validateSelectValue(scope, name, label) {\n      const select = scope.querySelector(`.cbam-select[data-name=\"${name}\"], .cbam-search-select[data-name=\"${name}\"]`);\n      const value = getSelectValue(scope, name);\n\n      if (!select) return value;\n\n      const trigger = select.querySelector(\".cbam-select-trigger, .cbam-search-trigger\");\n\n      if (!value) {\n        setFieldError(trigger, `${label} is required`);\n        return \"\";\n      }\n\n      clearFieldError(trigger);\n      return value;\n    }\n\n    function initSearchSelect(select, items) {\n      const trigger = select.querySelector(\".cbam-search-trigger\");\n      const value = select.querySelector(\".cbam-search-value\");\n      const menu = select.querySelector(\".cbam-search-menu\");\n      const input = select.querySelector(\".cbam-search-input\");\n      const options = select.querySelector(\".cbam-search-options\");\n\n      if (!trigger || !value || !menu || !input || !options) return;\n\n      function normalize(text) {\n        return String(text || \"\")\n          .toLowerCase()\n          .normalize(\"NFD\")\n          .replace(\/[\u0300-\u036f]\/g, \"\");\n      }\n\n      function render(filter = \"\") {\n        const query = normalize(filter);\n        const filtered = items\n          .filter(item => normalize(`${item.value} ${item.label}`).includes(query))\n          .slice(0, 80);\n\n        options.innerHTML = \"\";\n\n        if (!filtered.length) {\n          const empty = document.createElement(\"div\");\n          empty.className = \"cbam-search-empty\";\n          empty.textContent = select.dataset.source === \"cn-codes\"\n            ? \"No CN codes loaded\"\n            : \"No results found\";\n          options.appendChild(empty);\n          return;\n        }\n\n        filtered.forEach(item => {\n          const option = document.createElement(\"button\");\n          option.type = \"button\";\n          option.className = \"cbam-search-option\";\n          option.textContent = item.label;\n\n          if (select.dataset.value === item.value) {\n            option.classList.add(\"active\");\n          }\n\n          option.addEventListener(\"click\", event => {\n            event.stopPropagation();\n\n            select.dataset.value = item.value;\n            select.dataset.label = item.label || item.value;\n            if (item.continent) {\n              select.dataset.continent = item.continent;\n            } else {\n              delete select.dataset.continent;\n            }\n            if (item.cruRegion) {\n              select.dataset.cruRegion = item.cruRegion;\n            } else {\n              delete select.dataset.cruRegion;\n            }\n            if (Number.isFinite(item.cruEstimatedTaxedEf)) {\n              select.dataset.cruEstimatedTaxedEf = String(item.cruEstimatedTaxedEf);\n            } else {\n              delete select.dataset.cruEstimatedTaxedEf;\n            }\n            value.textContent = item.display || item.label || item.value;\n            value.classList.remove(\"muted\");\n            input.value = \"\";\n            select.classList.remove(\"open\");\n            clearFieldError(trigger);\n            render(\"\");\n          });\n\n          options.appendChild(option);\n        });\n      }\n\n      trigger.addEventListener(\"click\", event => {\n        event.stopPropagation();\n\n        widget.querySelectorAll(\".cbam-select, .cbam-search-select\").forEach(other => {\n          if (other !== select) other.classList.remove(\"open\");\n        });\n\n        select.classList.toggle(\"open\");\n\n        if (select.classList.contains(\"open\")) {\n          render(input.value);\n          setTimeout(() => input.focus(), 0);\n        }\n      });\n\n      menu.addEventListener(\"click\", event => {\n        event.stopPropagation();\n      });\n\n      input.addEventListener(\"input\", () => {\n        render(input.value);\n      });\n\n      render(\"\");\n    }\n\n    function validateRequiredNumeric(scope, name, label) {\n      const input = scope.querySelector(`[data-name=\"${name}\"]`);\n      if (!input) return true;\n\n      const rawValue = getInputValue(scope, name);\n      const digits = rawValue.replace(\/\\D\/g, \"\");\n\n      if (!rawValue || !digits.length) {\n        setFieldError(input, `${label} is required`);\n        return false;\n      }\n\n      return validateMaxDigits(scope, name, label);\n    }\n\n    function validateMaxDigits(scope, name, label) {\n      const input = scope.querySelector(`input[data-name=\"${name}\"]`);\n      if (!input || !input.dataset.maxDigits) return true;\n\n      const maxDigits = Number(input.dataset.maxDigits);\n      const digits = getInputValue(scope, name).replace(\/\\D\/g, \"\");\n\n      if (maxDigits && digits.length > maxDigits) {\n        setFieldError(input, `${label}: maximum ${maxDigits} digits`);\n        return false;\n      }\n\n      return true;\n    }\n\n    function setFieldError(input, message) {\n      const field = input ? input.closest(\".cbam-field\") : null;\n      if (!field) return;\n\n      field.dataset.error = message;\n      field.classList.add(\"has-error\");\n      input.focus();\n    }\n\n    function clearFieldError(input) {\n      const field = input ? input.closest(\".cbam-field\") : null;\n      if (!field) return;\n\n      field.classList.remove(\"has-error\");\n      delete field.dataset.error;\n    }\n\n    function formatInteger(value) {\n      const number = Number(value);\n      return Number.isFinite(number)\n        ? number.toLocaleString(\"de-DE\", { maximumFractionDigits: 3 })\n        : value;\n    }\n\n    function formatCNCode(value) {\n      const digits = String(value).replace(\/\\D\/g, \"\").slice(0, 8);\n      return digits.length > 4 ? digits.slice(0, 4) + \" \" + digits.slice(4) : digits;\n    }\n\n    function isValidCNCode(value) {\n      return \/^\\d{4} \\d{4}$\/.test(String(value));\n    }\n\n    function formatEUR(value) {\n      const number = Number(value);\n      return Number.isFinite(number)\n        ? number.toLocaleString(\"de-DE\", {\n            minimumFractionDigits: 2,\n            maximumFractionDigits: 2\n          }) + \" EUR\"\n        : \"\u2014\";\n    }\n\n    function renderCruMoneyValue(value) {\n      const number = Number(value);\n      return Number.isFinite(number)\n        ? `<span class=\"cbam-value-icon\" aria-hidden=\"true\"><\/span>${formatEUR(number)}`\n        : \"Not Available\";\n    }\n\n    function formatPercent(value) {\n      const number = Number(value);\n      return Number.isFinite(number)\n        ? (number * 100).toLocaleString(\"de-DE\", {\n            minimumFractionDigits: 2,\n            maximumFractionDigits: 2\n          }) + \"%\"\n        : \"\u2014\";\n    }\n\n    function formatPercentOrNotAvailable(value) {\n      const number = Number(value);\n      return Number.isFinite(number) ? formatPercent(number) : \"Not Available\";\n    }\n\n    function escapeHTML(value) {\n      return String(value)\n        .replace(\/&\/g, \"&amp;\")\n        .replace(\/<\/g, \"&lt;\")\n        .replace(\/>\/g, \"&gt;\")\n        .replace(\/\"\/g, \"&quot;\")\n        .replace(\/'\/g, \"&#039;\");\n    }\n    }\n  })();\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-9b64d9a e-flex e-con-boxed e-con e-parent\" data-id=\"9b64d9a\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cb7ce12 elementor-widget elementor-widget-image\" data-id=\"cb7ce12\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"348\" height=\"124\" src=\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp\" class=\"attachment-full size-full wp-image-7365\" alt=\"\" srcset=\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp 348w, https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill-300x107.webp 300w, https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill-18x6.webp 18w\" sizes=\"(max-width: 348px) 100vw, 348px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-68ed275 e-con-full e-flex e-con e-child\" data-id=\"68ed275\" data-element_type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-a6e4ea2 e-con-full e-flex e-con e-child\" data-id=\"a6e4ea2\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bf15c09 elementor-widget__width-initial elementor-widget elementor-widget-heading\" data-id=\"bf15c09\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">About these estimates<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-30348c5 e-con-full e-flex e-con e-child\" data-id=\"30348c5\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9cf2d5d elementor-widget elementor-widget-text-editor\" data-id=\"9cf2d5d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div>The results generated by this calculator are approximate and provided for informational purposes only. They do not constitute official CBAM reporting, verified emissions data, legal advice, or a legally binding assessment under Regulation (EU) 2023\/956.\u00a0<br \/>Calculation methodologies, default values, carbon pricing mechanisms, and applicable regulatory requirements may evolve over time and remain subject to interpretation by competent authorities. Certain deductions, including carbon costs incurred in the country of origin, may not be fully reflected due to ongoing regulatory developments.\u00a0<\/div><p>\u00a0<\/p><p>Climease makes no warranty regarding the accuracy, completeness, or future validity of the information provided, and these results cannot be used as an official compliance document or legal proof of CBAM liability.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-2c013a9 e-con-full e-flex e-con e-child\" data-id=\"2c013a9\" data-element_type=\"container\" id=\"contenedor_cru\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6fd7783 elementor-widget elementor-widget-image\" data-id=\"6fd7783\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"212\" height=\"200\" src=\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/cru-logo-1-1.webp\" class=\"attachment-full size-full wp-image-7367\" alt=\"\" srcset=\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/cru-logo-1-1.webp 212w, https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/cru-logo-1-1-13x12.webp 13w\" sizes=\"(max-width: 212px) 100vw, 212px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0d9c220 elementor-widget elementor-widget-heading\" data-id=\"0d9c220\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Real value emission estimates powered by CRU<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>CBAM costand savingscalculator A streamlined way to estimate CBAM costs and understand your exposure. Powered by: Choose Default or Real Emissions, enter your data and click Add + to see your savings or for adding more rows. Default Real emissions Add + Quarter Q0\/YY \u2304 Q1\/26 Q2\/26 Q3\/26 Q4\/26 Q1\/27 Q2\/27 Q3\/27 Q4\/27 CN code [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-7214","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.9 (Yoast SEO v26.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>NEW - CALCULATOR | Climease<\/title>\n<meta name=\"description\" content=\"NEW - CALCULATOR - Simplify CBAM compliance, track emissions, manage suppliers with ClimEase.\" \/>\n<meta name=\"robots\" content=\"noindex, nofollow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NEW - CALCULATOR\" \/>\n<meta property=\"og:description\" content=\"NEW - CALCULATOR - Simplify CBAM compliance, track emissions, manage suppliers with ClimEase.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/climease.com\/en\/new-calculator\/\" \/>\n<meta property=\"og:site_name\" content=\"Climease\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-21T12:31:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/climease.com\/new-calculator\/\",\"url\":\"https:\/\/climease.com\/new-calculator\/\",\"name\":\"NEW - CALCULATOR | Climease\",\"isPartOf\":{\"@id\":\"https:\/\/climease.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/climease.com\/new-calculator\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/climease.com\/new-calculator\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp\",\"datePublished\":\"2026-07-01T19:22:33+00:00\",\"dateModified\":\"2026-09-21T12:31:38+00:00\",\"description\":\"NEW - CALCULATOR - Simplify CBAM compliance, track emissions, manage suppliers with ClimEase.\",\"breadcrumb\":{\"@id\":\"https:\/\/climease.com\/new-calculator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/climease.com\/new-calculator\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/climease.com\/new-calculator\/#primaryimage\",\"url\":\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp\",\"contentUrl\":\"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/climease.com\/new-calculator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/climease.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NEW &#8211; CALCULATOR\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/climease.com\/#website\",\"url\":\"https:\/\/climease.com\/\",\"name\":\"Climease\",\"description\":\"All-In-One CBAM Software\",\"publisher\":{\"@id\":\"https:\/\/climease.com\/#organization\"},\"alternateName\":\"Climease\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/climease.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/climease.com\/#organization\",\"name\":\"Climease\",\"url\":\"https:\/\/climease.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/climease.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/climease.com\/wp-content\/uploads\/2025\/10\/climease-logo@2x.png\",\"contentUrl\":\"https:\/\/climease.com\/wp-content\/uploads\/2025\/10\/climease-logo@2x.png\",\"width\":130,\"height\":128,\"caption\":\"Climease\"},\"image\":{\"@id\":\"https:\/\/climease.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/climease\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"NEW - CALCULATOR | Climease","description":"NEW - CALCULATOR - Simplify CBAM compliance, track emissions, manage suppliers with ClimEase.","robots":{"index":"noindex","follow":"nofollow"},"og_locale":"en_US","og_type":"article","og_title":"NEW - CALCULATOR","og_description":"NEW - CALCULATOR - Simplify CBAM compliance, track emissions, manage suppliers with ClimEase.","og_url":"https:\/\/climease.com\/en\/new-calculator\/","og_site_name":"Climease","article_modified_time":"2026-09-21T12:31:38+00:00","og_image":[{"url":"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/climease.com\/new-calculator\/","url":"https:\/\/climease.com\/new-calculator\/","name":"NEW - CALCULATOR | Climease","isPartOf":{"@id":"https:\/\/climease.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/climease.com\/new-calculator\/#primaryimage"},"image":{"@id":"https:\/\/climease.com\/new-calculator\/#primaryimage"},"thumbnailUrl":"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp","datePublished":"2026-07-01T19:22:33+00:00","dateModified":"2026-09-21T12:31:38+00:00","description":"NEW - CALCULATOR - Simplify CBAM compliance, track emissions, manage suppliers with ClimEase.","breadcrumb":{"@id":"https:\/\/climease.com\/new-calculator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/climease.com\/new-calculator\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/climease.com\/new-calculator\/#primaryimage","url":"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp","contentUrl":"https:\/\/climease.com\/wp-content\/uploads\/2026\/07\/pill.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/climease.com\/new-calculator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/climease.com\/en\/"},{"@type":"ListItem","position":2,"name":"NEW &#8211; CALCULATOR"}]},{"@type":"WebSite","@id":"https:\/\/climease.com\/#website","url":"https:\/\/climease.com\/","name":"Climease","description":"All-In-One CBAM Software","publisher":{"@id":"https:\/\/climease.com\/#organization"},"alternateName":"Climease","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/climease.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/climease.com\/#organization","name":"Climease","url":"https:\/\/climease.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/climease.com\/#\/schema\/logo\/image\/","url":"https:\/\/climease.com\/wp-content\/uploads\/2025\/10\/climease-logo@2x.png","contentUrl":"https:\/\/climease.com\/wp-content\/uploads\/2025\/10\/climease-logo@2x.png","width":130,"height":128,"caption":"Climease"},"image":{"@id":"https:\/\/climease.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/climease\/"]}]}},"_links":{"self":[{"href":"https:\/\/climease.com\/en\/wp-json\/wp\/v2\/pages\/7214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/climease.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/climease.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/climease.com\/en\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/climease.com\/en\/wp-json\/wp\/v2\/comments?post=7214"}],"version-history":[{"count":3,"href":"https:\/\/climease.com\/en\/wp-json\/wp\/v2\/pages\/7214\/revisions"}],"predecessor-version":[{"id":9365,"href":"https:\/\/climease.com\/en\/wp-json\/wp\/v2\/pages\/7214\/revisions\/9365"}],"wp:attachment":[{"href":"https:\/\/climease.com\/en\/wp-json\/wp\/v2\/media?parent=7214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}