/* ==========================================================================
 * TNEB CALCULATORS & TOOLS STYLESHEET
 * Power Shutdown Plugin - External Optimized CSS
 * Loaded conditionally on calculator and tariff tool pages
 * ========================================================================== */


/* ==========================================================================
 * SECTION: DOMESTIC
 * ========================================================================== */

/* Full Width Container - Zero Outer Margin/Padding to utilize 100% of inner container */
            .tneb-calc-wrapper {
                width: 100%;
                max-width: 100%;
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                font-family: inherit;
                color: #1f2937;
                overflow-x: hidden;
            }

            /* Header Box - Matches other theme page banners */
            .tneb-calc-header-box {
                width: 100%;
                max-width: 100%;
                background: var(--global-color-9, #e4ffeb);
                border: 1px solid rgba(8, 95, 38, 0.2);
                border-radius: 16px;
                padding: 28px 20px;
                text-align: center;
                margin: 0 0 22px 0;
                box-sizing: border-box;
                overflow-wrap: break-word;
                word-break: break-word;
            }
            .tneb-calc-headline {
                font-size: 2rem;
                font-weight: 800;
                color: var(--global-color-8, #085f26);
                margin: 0 0 10px 0;
                line-height: 1.25;
                overflow-wrap: break-word;
                word-break: break-word;
            }
            .tneb-calc-subhead {
                font-size: 1rem;
                color: #374151;
                margin: 0;
                line-height: 1.55;
                overflow-wrap: break-word;
                word-break: break-word;
            }

            /* 2-Column Responsive Layout for Inner Space Utilization */
            .tneb-calc-grid {
                display: grid;
                grid-template-columns: 390px minmax(0, 1fr);
                gap: 24px;
                align-items: start;
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
                margin: 0;
            }
            @media (max-width: 960px) {
                .tneb-calc-grid {
                    grid-template-columns: minmax(0, 1fr);
                    gap: 20px;
                }
            }

            /* Card Panels */
            .tneb-calc-card {
                background: #ffffff;
                border: 1px solid #e5e7eb;
                border-radius: 16px;
                padding: 26px 24px;
                box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
                box-sizing: border-box;
                margin: 0;
                width: 100%;
                max-width: 100%;
                min-width: 0;
                position: relative;
            }

            /* Form Elements */
            .tneb-calc-form-group {
                margin-bottom: 20px;
                width: 100%;
                max-width: 100%;
                min-width: 0;
                box-sizing: border-box;
                position: relative;
            }
            .tneb-calc-label {
                display: block;
                font-size: 0.95rem;
                font-weight: 700;
                color: #111827;
                margin-bottom: 8px;
                line-height: 1.4;
                overflow-wrap: break-word;
                word-break: break-word;
            }
            .tneb-calc-input {
                width: 100%;
                max-width: 100%;
                min-width: 0;
                box-sizing: border-box;
                border: 1.5px solid #d1d5db;
                border-radius: 12px;
                padding: 13px 14px;
                font-size: 0.95rem;
                font-family: inherit;
                color: #111827;
                outline: none;
                background: #f9fafb;
                display: block;
                transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
            }
            .tneb-calc-input:focus {
                border-color: var(--global-color-8, #085f26);
                background-color: #ffffff;
                box-shadow: 0 0 0 3px rgba(8, 95, 38, 0.15);
            }

            /* Custom Responsive Dropdown that Wraps Cleanly on Mobile */
            .tneb-custom-select-wrap {
                position: relative;
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
            }
            .tneb-custom-select-trigger {
                width: 100%;
                max-width: 100%;
                min-width: 0;
                box-sizing: border-box;
                border: 1.5px solid #d1d5db;
                border-radius: 12px;
                padding: 13px 38px 13px 14px;
                font-size: 0.95rem;
                font-family: inherit;
                color: #111827;
                background: #f9fafb url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23374151%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E') no-repeat right 14px center;
                background-size: 14px;
                cursor: pointer;
                text-align: left;
                line-height: 1.4;
                display: block;
                transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
                user-select: none;
                overflow-wrap: break-word;
                word-break: break-word;
            }
            .tneb-custom-select-trigger:focus,
            .tneb-custom-select-wrap.is-open .tneb-custom-select-trigger {
                border-color: var(--global-color-8, #085f26);
                background-color: #ffffff;
                box-shadow: 0 0 0 3px rgba(8, 95, 38, 0.15);
            }
            .tneb-custom-select-options {
                display: none;
                position: absolute;
                top: calc(100% + 4px);
                left: 0;
                right: 0;
                width: 100%;
                max-width: 100%;
                background: #ffffff;
                border: 1.5px solid #d1d5db;
                border-radius: 12px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
                z-index: 1000;
                overflow-y: auto;
                max-height: 300px;
                box-sizing: border-box;
            }
            .tneb-custom-select-wrap.is-open .tneb-custom-select-options {
                display: block;
                animation: tnebDropdownFade 0.18s ease;
            }
            @keyframes tnebDropdownFade {
                from { opacity: 0; transform: translateY(-4px); }
                to { opacity: 1; transform: translateY(0); }
            }
            .tneb-custom-option {
                padding: 12px 14px;
                font-size: 0.92rem;
                color: #1f2937;
                cursor: pointer;
                border-bottom: 1px solid #f1f5f9;
                transition: background 0.15s ease, color 0.15s ease;
                white-space: normal !important;
                overflow-wrap: break-word !important;
                word-break: break-word !important;
                line-height: 1.45;
                box-sizing: border-box;
            }
            .tneb-custom-option:last-child {
                border-bottom: none;
            }
            .tneb-custom-option:hover,
            .tneb-custom-option.is-selected {
                background: var(--global-color-9, #e4ffeb);
                color: var(--global-color-8, #085f26);
                font-weight: 600;
            }

            /* Quick Preset Unit Chips */
            .tneb-calc-quick-pills {
                display: flex;
                align-items: center;
                gap: 6px;
                flex-wrap: wrap;
                margin-top: 10px;
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
            }
            .tneb-calc-quick-label {
                font-size: 0.82rem;
                color: #6b7280;
                font-weight: 600;
                margin-right: 2px;
                flex: 0 0 auto;
            }
            .tneb-unit-chip {
                background: #f3f4f6;
                border: 1px solid #e5e7eb;
                border-radius: 30px;
                padding: 5px 11px;
                font-size: 0.82rem;
                font-weight: 600;
                color: #374151;
                cursor: pointer;
                transition: all 0.15s ease;
                flex: 0 0 auto;
                box-sizing: border-box;
            }
            .tneb-unit-chip:hover {
                background: var(--global-color-9, #e4ffeb);
                border-color: var(--global-color-8, #085f26);
                color: var(--global-color-8, #085f26);
            }

            /* Calculate Button */
            .tneb-calc-btn {
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
                background: var(--global-color-8, #085f26);
                color: #ffffff;
                border: none;
                border-radius: 12px;
                padding: 14px 20px;
                font-size: 1.05rem;
                font-weight: 700;
                cursor: pointer;
                transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
                box-shadow: 0 4px 14px rgba(8, 95, 38, 0.25);
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                margin-top: 22px;
            }
            .tneb-calc-btn:hover {
                background: #06491d;
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(8, 95, 38, 0.35);
            }

            /* Results Section */
            .tneb-calc-result-box {
                display: block;
                width: 100%;
                max-width: 100%;
                min-width: 0;
                box-sizing: border-box;
            }

            /* Highlight Summary Banner */
            .tneb-summary-card {
                background: linear-gradient(135deg, var(--global-color-9, #e4ffeb) 0%, #f0fdf4 100%);
                border: 1.5px solid rgba(8, 95, 38, 0.25);
                border-radius: 14px;
                padding: 22px;
                text-align: center;
                margin-bottom: 20px;
                width: 100%;
                max-width: 100%;
                min-width: 0;
                box-sizing: border-box;
                overflow-wrap: break-word;
            }
            .tneb-summary-label {
                font-size: 0.88rem;
                font-weight: 600;
                color: #4b5563;
                text-transform: uppercase;
                letter-spacing: 0.04em;
                margin-bottom: 6px;
                overflow-wrap: break-word;
            }
            .tneb-summary-amount {
                font-size: 2.7rem;
                font-weight: 900;
                color: var(--global-color-8, #085f26);
                line-height: 1.1;
                margin-bottom: 10px;
                overflow-wrap: break-word;
            }
            .tneb-subsidy-badge {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: #ffffff;
                color: var(--global-color-8, #085f26);
                border: 1px solid rgba(8, 95, 38, 0.3);
                border-radius: 30px;
                padding: 6px 14px;
                font-size: 0.85rem;
                font-weight: 700;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
                max-width: 100%;
                box-sizing: border-box;
                overflow-wrap: break-word;
            }

            /* Key Metrics Grid */
            .tneb-metrics-grid {
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 12px;
                margin-bottom: 22px;
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
            }
            @media (max-width: 640px) {
                .tneb-metrics-grid {
                    grid-template-columns: 1fr;
                }
            }
            .tneb-metric-item {
                background: #f9fafb;
                border: 1px solid #e5e7eb;
                border-radius: 12px;
                padding: 12px 14px;
                text-align: center;
                min-width: 0;
                box-sizing: border-box;
            }
            .tneb-metric-title {
                font-size: 0.78rem;
                font-weight: 600;
                color: #6b7280;
                margin-bottom: 4px;
                overflow-wrap: break-word;
            }
            .tneb-metric-val {
                font-size: 1.08rem;
                font-weight: 800;
                color: #111827;
                overflow-wrap: break-word;
            }

            /* Slabs Breakdown Table */
            .tneb-table-wrap {
                overflow-x: auto;
                margin-bottom: 18px;
                border: 1px solid #e5e7eb;
                border-radius: 12px;
                width: 100%;
                max-width: 100%;
                min-width: 0;
                box-sizing: border-box;
                -webkit-overflow-scrolling: touch;
            }
            .tneb-breakdown-table {
                width: 100%;
                border-collapse: collapse;
                text-align: left;
                font-size: 0.92rem;
            }
            .tneb-breakdown-table th {
                background: #f8fafc;
                color: #374151;
                font-weight: 700;
                padding: 12px 14px;
                border-bottom: 1.5px solid #e5e7eb;
                white-space: nowrap;
            }
            .tneb-breakdown-table td {
                padding: 11px 14px;
                border-bottom: 1px solid #f1f5f9;
                color: #1f2937;
            }
            .tneb-breakdown-table tr:last-child td {
                border-bottom: none;
            }
            .tneb-breakdown-table tr.tneb-free-tier td {
                background: rgba(228, 255, 235, 0.4);
                color: var(--global-color-8, #085f26);
                font-weight: 600;
            }
            .tneb-free-badge {
                display: inline-block;
                background: var(--global-color-8, #085f26);
                color: #ffffff;
                font-size: 0.72rem;
                font-weight: 800;
                padding: 2px 7px;
                border-radius: 6px;
                margin-left: 6px;
            }

            /* Info Notes Box */
            .tneb-calc-notes {
                background: #f8fafc;
                border-left: 4px solid var(--global-color-8, #085f26);
                padding: 14px 16px;
                border-radius: 0 10px 10px 0;
                font-size: 0.85rem;
                color: #4b5563;
                line-height: 1.55;
                width: 100%;
                max-width: 100%;
                min-width: 0;
                box-sizing: border-box;
                overflow-wrap: break-word;
                word-break: break-word;
            }
            .tneb-calc-notes strong {
                color: #111827;
            }

            @media (max-width: 640px) {
                .tneb-calc-wrapper {
                    padding: 0;
                }
                .tneb-calc-card {
                    padding: 18px 14px;
                    border-radius: 14px;
                }
                .tneb-calc-header-box {
                    padding: 20px 14px;
                    border-radius: 14px;
                    margin-bottom: 16px;
                }
                .tneb-calc-headline {
                    font-size: 1.45rem;
                }
                .tneb-calc-subhead {
                    font-size: 0.9rem;
                    line-height: 1.5;
                }
                .tneb-calc-select,
                .tneb-calc-input {
                    font-size: 0.9rem;
                    padding: 11px 12px;
                }
                .tneb-calc-select {
                    padding-right: 32px;
                }
                .tneb-summary-amount {
                    font-size: 2.1rem;
                }
                .tneb-summary-card {
                    padding: 18px 12px;
                }
                .tneb-metric-item {
                    padding: 10px 8px;
                }
                .tneb-metric-val {
                    font-size: 0.95rem;
                }
                .tneb-breakdown-table th,
                .tneb-breakdown-table td {
                    padding: 9px 8px;
                    font-size: 0.8rem;
                }
                .tneb-unit-chip {
                    padding: 4px 9px;
                    font-size: 0.78rem;
                }
            }

            /* Article Sections & Cards Styling */
            .tneb-article-container { width: 100%; max-width: 100%; margin: 40px 0 20px 0; box-sizing: border-box; font-family: inherit; color: #1f2937; line-height: 1.75; }
            .tneb-article-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 32px 30px; margin-bottom: 26px; box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04); box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
            .tneb-article-h2 { font-size: 1.65rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 16px 0; line-height: 1.3; display: flex; align-items: center; gap: 10px; border-bottom: 2px dashed rgba(8, 95, 38, 0.2); padding-bottom: 12px; }
            .tneb-article-h2 svg { flex: 0 0 auto; color: var(--global-color-8, #085f26); }
            .tneb-article-p { font-size: 1.02rem; color: #374151; margin: 0 0 16px 0; line-height: 1.75; }
            .tneb-article-p:last-child { margin-bottom: 0; }
            .tneb-calc-example-box { background: var(--global-color-9, #e4ffeb); border: 1.5px solid rgba(8, 95, 38, 0.25); border-left: 5px solid var(--global-color-8, #085f26); border-radius: 14px; padding: 20px 22px; margin: 20px 0; box-sizing: border-box; }
            .tneb-example-title { font-size: 1.08rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 10px 0; }
            .tneb-example-list { list-style: none; padding: 0; margin: 0 0 12px 0; }
            .tneb-example-list li { position: relative; padding-left: 22px; margin-bottom: 6px; color: #1f2937; font-weight: 500; }
            .tneb-example-list li::before { content: "✓"; position: absolute; left: 0; color: var(--global-color-8, #085f26); font-weight: 800; }
            .tneb-example-math { background: #ffffff; border: 1px solid rgba(8, 95, 38, 0.2); border-radius: 10px; padding: 12px 16px; font-size: 0.98rem; font-weight: 700; color: #111827; }
            .tneb-reasons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
            .tneb-reason-item { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 22px; box-sizing: border-box; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
            .tneb-reason-item:hover { border-color: var(--global-color-8, #085f26); box-shadow: 0 4px 14px rgba(8, 95, 38, 0.08); }
            .tneb-reason-head { font-size: 1.05rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; }
            .tneb-reason-text { font-size: 0.94rem; color: #4b5563; margin: 0; line-height: 1.6; }
            .tneb-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; margin-top: 20px; }
            .tneb-feature-card { background: #ffffff; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 20px 20px; box-sizing: border-box; transition: all 0.2s ease; }
            .tneb-feature-card:hover { border-color: var(--global-color-8, #085f26); background: #fafffb; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8, 95, 38, 0.08); }
            .tneb-feature-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--global-color-9, #e4ffeb); color: var(--global-color-8, #085f26); font-size: 0.88rem; font-weight: 800; border-radius: 8px; margin-bottom: 10px; }
            .tneb-feature-title { font-size: 1.02rem; font-weight: 800; color: #111827; margin: 0 0 8px 0; line-height: 1.35; }
            .tneb-feature-desc { font-size: 0.91rem; color: #4b5563; margin: 0; line-height: 1.6; }

            /* How to Use Steps Styling */
            .tneb-steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
            .tneb-step-card { background: #ffffff; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 22px 20px; box-sizing: border-box; transition: all 0.2s ease; display: flex; flex-direction: column; }
            .tneb-step-card:hover { border-color: var(--global-color-8, #085f26); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8, 95, 38, 0.08); }
            .tneb-step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
            .tneb-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--global-color-8, #085f26); color: #ffffff; font-size: 0.92rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(8, 95, 38, 0.25); }
            .tneb-step-title { font-size: 1.02rem; font-weight: 800; color: #111827; margin: 0; line-height: 1.35; }
            .tneb-step-desc { font-size: 0.92rem; color: #4b5563; margin: 0; line-height: 1.65; }
            .tneb-step-desc strong { color: #111827; }
            .tneb-meter-tip-box { background: linear-gradient(135deg, var(--global-color-9, #e4ffeb) 0%, #f0fdf4 100%); border: 1.5px solid rgba(8, 95, 38, 0.25); border-left: 5px solid var(--global-color-8, #085f26); border-radius: 14px; padding: 20px 22px; margin-top: 22px; box-sizing: border-box; }
            .tneb-meter-tip-title { font-size: 1.05rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; }

            .tneb-best-option-box { background: linear-gradient(135deg, var(--global-color-9, #e4ffeb) 0%, #f0fdf4 100%); border: 1.5px solid rgba(8, 95, 38, 0.25); border-radius: 14px; padding: 24px 24px; margin-top: 16px; box-sizing: border-box; }
            .tneb-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
            .tneb-faq-item { background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 14px; overflow: hidden; transition: border-color 0.2s ease; }
            .tneb-faq-item:hover, .tneb-faq-item.is-active { border-color: var(--global-color-8, #085f26); }
            .tneb-faq-question { padding: 16px 20px; font-size: 1.02rem; font-weight: 700; color: #111827; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none; }
            .tneb-faq-question:hover { color: var(--global-color-8, #085f26); }
            .tneb-faq-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--global-color-9, #e4ffeb); color: var(--global-color-8, #085f26); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 700; transition: transform 0.2s ease, background 0.2s ease; }
            .tneb-faq-item.is-active .tneb-faq-icon { transform: rotate(180deg); background: var(--global-color-8, #085f26); color: #ffffff; }
            .tneb-faq-answer { display: none; padding: 0 20px 18px 20px; font-size: 0.96rem; color: #4b5563; line-height: 1.7; border-top: 1px solid #f1f5f9; padding-top: 14px; }
            .tneb-faq-item.is-active .tneb-faq-answer { display: block; }
            @media (max-width: 768px) {
                .tneb-article-card { padding: 20px 16px; border-radius: 14px; margin-bottom: 18px; }
                .tneb-article-h2 { font-size: 1.4rem; }
                .tneb-reasons-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-features-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-steps-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-faq-question { font-size: 0.95rem; padding: 14px 16px; }
                .tneb-faq-answer { padding: 0 16px 16px 16px; font-size: 0.9rem; }
            }


/* ==========================================================================
 * SECTION: COMMERCIAL
 * ========================================================================== */

:root {
                --comm-primary: var(--global-color-8, #085f26);
                --comm-primary-light: var(--global-color-9, #e4ffeb);
                --comm-primary-hover: #064a1d;
                --comm-bg: #f8fafc;
                --comm-card-bg: #ffffff;
                --comm-border: #e2e8f0;
                --comm-text-dark: #0f172a;
                --comm-text-muted: #64748b;
                --comm-shadow: 0 10px 25px -5px rgba(8, 95, 38, 0.08), 0 8px 10px -6px rgba(8, 95, 38, 0.04);
            }

            .tneb-comm-calc-wrapper {
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
                box-sizing: border-box !important;
                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
                color: var(--comm-text-dark);
                overflow-x: hidden;
            }

            .tneb-comm-calc-wrapper *,
            .tneb-comm-calc-wrapper *::before,
            .tneb-comm-calc-wrapper *::after {
                box-sizing: border-box;
            }

            /* Header Box */
            .tneb-comm-header-box {
                background: linear-gradient(135deg, var(--comm-primary) 0%, #06431b 100%);
                border-radius: 16px;
                padding: 28px 24px;
                margin: 0 0 24px 0;
                color: #ffffff;
                box-shadow: var(--comm-shadow);
                width: 100%;
                box-sizing: border-box;
                border: 1px solid rgba(255, 255, 255, 0.1);
            }

            .tneb-comm-badge-top {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: rgba(228, 255, 235, 0.18);
                color: #e4ffeb;
                border: 1px solid rgba(228, 255, 235, 0.3);
                padding: 4px 12px;
                border-radius: 20px;
                font-size: 0.8rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                margin-bottom: 12px;
            }

            .tneb-comm-headline {
                font-size: 1.85rem;
                font-weight: 800;
                line-height: 1.25;
                margin: 0 0 10px 0;
                color: #ffffff;
            }

            .tneb-comm-subhead {
                font-size: 0.98rem;
                line-height: 1.6;
                margin: 0;
                color: #e2e8f0;
                max-width: 960px;
            }

            /* 2-Column Responsive Grid */
            .tneb-comm-grid {
                display: grid;
                grid-template-columns: 420px minmax(0, 1fr);
                gap: 24px;
                margin-bottom: 24px;
                width: 100%;
                box-sizing: border-box;
            }

            @media (max-width: 960px) {
                .tneb-comm-grid {
                    grid-template-columns: 1fr;
                    gap: 20px;
                }
            }

            .tneb-comm-card {
                background: var(--comm-card-bg);
                border: 1px solid var(--comm-border);
                border-radius: 16px;
                padding: 24px;
                box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.05);
                width: 100%;
                min-width: 0;
                box-sizing: border-box;
                overflow-wrap: break-word;
                word-break: break-word;
            }

            .tneb-comm-card-title {
                font-size: 1.2rem;
                font-weight: 700;
                color: var(--comm-primary);
                margin: 0 0 18px 0;
                display: flex;
                align-items: center;
                gap: 8px;
                border-bottom: 2px solid var(--comm-primary-light);
                padding-bottom: 10px;
            }

            /* Form Elements */
            .tneb-comm-form-group {
                margin-bottom: 16px;
            }

            .tneb-comm-label {
                display: block;
                font-size: 0.88rem;
                font-weight: 700;
                margin-bottom: 6px;
                color: #1e293b;
            }

            .tneb-comm-hint {
                font-size: 0.78rem;
                color: var(--comm-text-muted);
                margin-top: 4px;
                line-height: 1.4;
            }

            .tneb-comm-input {
                width: 100%;
                font-size: 0.98rem;
                padding: 12px 14px;
                border: 1.5px solid #cbd5e1;
                border-radius: 10px;
                background-color: #ffffff;
                color: #1e293b;
                outline: none;
                transition: border-color 0.2s ease, box-shadow 0.2s ease;
                box-sizing: border-box;
            }

            .tneb-comm-input:focus {
                border-color: var(--comm-primary);
                box-shadow: 0 0 0 3px rgba(8, 95, 38, 0.15);
            }

            /* Custom Accessible Dropdown that always wraps text */
            .tneb-comm-select-wrap {
                position: relative;
                width: 100%;
            }

            .tneb-comm-select-trigger {
                width: 100%;
                font-size: 0.92rem;
                font-weight: 600;
                padding: 11px 36px 11px 14px;
                border: 1.5px solid #cbd5e1;
                border-radius: 10px;
                background: #ffffff;
                color: #1e293b;
                text-align: left;
                cursor: pointer;
                display: flex;
                align-items: center;
                position: relative;
                box-sizing: border-box;
                white-space: normal !important;
                word-break: break-word !important;
                overflow-wrap: break-word !important;
                line-height: 1.4;
            }

            .tneb-comm-select-trigger::after {
                content: "";
                position: absolute;
                right: 14px;
                top: 50%;
                transform: translateY(-50%);
                width: 8px;
                height: 8px;
                border-right: 2px solid #475569;
                border-bottom: 2px solid #475569;
                transform: translateY(-70%) rotate(45deg);
                pointer-events: none;
                transition: transform 0.2s ease;
            }

            .tneb-comm-select-wrap.is-open .tneb-comm-select-trigger::after {
                transform: translateY(-20%) rotate(-135deg);
            }

            .tneb-comm-select-options {
                display: none;
                position: absolute;
                top: calc(100% + 4px);
                left: 0;
                right: 0;
                background: #ffffff;
                border: 1.5px solid #cbd5e1;
                border-radius: 10px;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                z-index: 50;
                max-height: 280px;
                overflow-y: auto;
                box-sizing: border-box;
            }

            .tneb-comm-select-wrap.is-open .tneb-comm-select-options {
                display: block;
            }

            .tneb-comm-option {
                padding: 10px 14px;
                font-size: 0.9rem;
                color: #1e293b;
                cursor: pointer;
                border-bottom: 1px solid #f1f5f9;
                white-space: normal !important;
                word-break: break-word !important;
                overflow-wrap: break-word !important;
                line-height: 1.4;
                transition: background-color 0.15s ease;
            }

            .tneb-comm-option:last-child {
                border-bottom: none;
            }

            .tneb-comm-option:hover,
            .tneb-comm-option.is-selected {
                background-color: var(--comm-primary-light);
                color: var(--comm-primary);
                font-weight: 700;
            }

            /* Quick Preset Chips */
            .tneb-comm-chips-wrap {
                display: flex;
                flex-wrap: wrap;
                gap: 6px;
                margin-top: 8px;
            }

            .tneb-comm-chip {
                background: #f1f5f9;
                border: 1px solid #e2e8f0;
                border-radius: 6px;
                padding: 5px 10px;
                font-size: 0.78rem;
                font-weight: 600;
                color: #475569;
                cursor: pointer;
                transition: all 0.15s ease;
            }

            .tneb-comm-chip:hover {
                background: var(--comm-primary-light);
                border-color: var(--comm-primary);
                color: var(--comm-primary);
            }

            /* Toggle / Helper for Meter readings */
            .tneb-comm-reading-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 12px;
                margin-top: 10px;
                background: #f8fafc;
                border: 1px solid #e2e8f0;
                border-radius: 10px;
                padding: 12px;
            }

            /* Primary Action Button */
            .tneb-comm-btn {
                width: 100%;
                background: var(--comm-primary);
                color: #ffffff;
                border: none;
                border-radius: 10px;
                padding: 13px 20px;
                font-size: 1.05rem;
                font-weight: 700;
                cursor: pointer;
                transition: background-color 0.2s ease, transform 0.1s ease;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                margin-top: 18px;
                box-shadow: 0 4px 12px rgba(8, 95, 38, 0.25);
            }

            .tneb-comm-btn:hover {
                background: var(--comm-primary-hover);
                transform: translateY(-1px);
            }

            /* Commercial Results Section (Right Column) */
            .tneb-comm-summary-card {
                background: linear-gradient(135deg, var(--comm-primary-light) 0%, #ffffff 100%);
                border: 2px solid rgba(8, 95, 38, 0.3);
                border-radius: 14px;
                padding: 24px;
                text-align: center;
                margin-bottom: 20px;
                box-sizing: border-box;
            }

            .tneb-comm-summary-label {
                font-size: 0.85rem;
                font-weight: 700;
                color: var(--comm-primary);
                text-transform: uppercase;
                letter-spacing: 0.5px;
                margin-bottom: 6px;
            }

            .tneb-comm-summary-amount {
                font-size: 2.5rem;
                font-weight: 900;
                color: var(--comm-primary);
                line-height: 1.1;
                margin-bottom: 8px;
            }

            .tneb-comm-tax-badge {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: #ffffff;
                border: 1px solid rgba(8, 95, 38, 0.25);
                color: #1e293b;
                padding: 4px 12px;
                border-radius: 20px;
                font-size: 0.82rem;
                font-weight: 700;
            }

            /* Metric Items */
            .tneb-comm-metrics-grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 10px;
                margin-bottom: 20px;
            }

            @media (max-width: 500px) {
                .tneb-comm-metrics-grid {
                    grid-template-columns: 1fr;
                }
            }

            .tneb-comm-metric-box {
                background: #f8fafc;
                border: 1px solid var(--comm-border);
                border-radius: 10px;
                padding: 12px 10px;
                text-align: center;
            }

            .tneb-comm-metric-title {
                font-size: 0.76rem;
                font-weight: 600;
                color: var(--comm-text-muted);
                margin-bottom: 4px;
                text-transform: uppercase;
            }

            .tneb-comm-metric-val {
                font-size: 1.05rem;
                font-weight: 800;
                color: #0f172a;
            }

            /* Breakdown Table */
            .tneb-comm-table-wrap {
                width: 100%;
                overflow-x: auto;
                border: 1px solid var(--comm-border);
                border-radius: 10px;
                margin-top: 14px;
            }

            .tneb-comm-table {
                width: 100%;
                border-collapse: collapse;
                font-size: 0.88rem;
                text-align: left;
            }

            .tneb-comm-table th {
                background: #f1f5f9;
                color: #334155;
                font-weight: 700;
                padding: 11px 12px;
                border-bottom: 1.5px solid #cbd5e1;
            }

            .tneb-comm-table td {
                padding: 10px 12px;
                border-bottom: 1px solid #f1f5f9;
                color: #1e293b;
            }

            .tneb-comm-table tr:last-child td {
                border-bottom: none;
            }

            .tneb-comm-table tr.total-row td {
                background: #f8fafc;
                font-weight: 800;
                color: var(--comm-primary);
                border-top: 2px solid #cbd5e1;
            }

            /* Quick Tariff Rules Callout Box */
            .tneb-comm-rules-box {
                background: #f8fafc;
                border-left: 4px solid var(--comm-primary);
                border-radius: 0 10px 10px 0;
                padding: 14px 16px;
                margin-top: 18px;
                font-size: 0.84rem;
                line-height: 1.55;
                color: #334155;
            }

            .tneb-comm-rules-box strong {
                color: #0f172a;
            }

            /* Article Cards & Layout */
            .tneb-article-container { width: 100%; max-width: 100%; margin: 36px 0 20px 0; box-sizing: border-box; font-family: inherit; color: #1f2937; line-height: 1.75; }
            .tneb-article-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 32px 30px; margin-bottom: 24px; box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04); box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
            .tneb-article-h2 { font-size: 1.6rem; font-weight: 800; color: var(--comm-primary); margin: 0 0 16px 0; line-height: 1.3; display: flex; align-items: center; gap: 10px; border-bottom: 2px dashed rgba(8, 95, 38, 0.2); padding-bottom: 12px; }
            .tneb-article-h2 svg { flex: 0 0 auto; color: var(--comm-primary); }
            .tneb-article-p { font-size: 1.02rem; color: #374151; margin: 0 0 16px 0; line-height: 1.75; }
            .tneb-article-p:last-child { margin-bottom: 0; }
            .tneb-calc-example-box { background: var(--comm-primary-light); border: 1.5px solid rgba(8, 95, 38, 0.25); border-left: 5px solid var(--comm-primary); border-radius: 14px; padding: 20px 22px; margin: 20px 0; box-sizing: border-box; }
            .tneb-example-title { font-size: 1.08rem; font-weight: 800; color: var(--comm-primary); margin: 0 0 10px 0; }
            .tneb-example-list { list-style: none; padding: 0; margin: 0 0 12px 0; }
            .tneb-example-list li { position: relative; padding-left: 22px; margin-bottom: 6px; color: #1f2937; font-weight: 500; }
            .tneb-example-list li::before { content: "✓"; position: absolute; left: 0; color: var(--comm-primary); font-weight: 800; }
            .tneb-example-math { background: #ffffff; border: 1px solid rgba(8, 95, 38, 0.2); border-radius: 10px; padding: 12px 16px; font-size: 0.98rem; font-weight: 700; color: #111827; }
            .tneb-reasons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
            .tneb-reason-item { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 22px; box-sizing: border-box; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
            .tneb-reason-item:hover { border-color: var(--comm-primary); box-shadow: 0 4px 14px rgba(8, 95, 38, 0.08); }
            .tneb-reason-head { font-size: 1.05rem; font-weight: 800; color: var(--comm-primary); margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; }
            .tneb-reason-text { font-size: 0.94rem; color: #4b5563; margin: 0; line-height: 1.6; }
            .tneb-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; margin-top: 20px; }
            .tneb-feature-card { background: #ffffff; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 20px 20px; box-sizing: border-box; transition: all 0.2s ease; }
            .tneb-feature-card:hover { border-color: var(--comm-primary); background: #fafffb; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8, 95, 38, 0.08); }
            .tneb-feature-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--comm-primary-light); color: var(--comm-primary); font-size: 0.88rem; font-weight: 800; border-radius: 8px; margin-bottom: 10px; }
            .tneb-feature-title { font-size: 1.02rem; font-weight: 800; color: #111827; margin: 0 0 8px 0; line-height: 1.35; }
            .tneb-feature-desc { font-size: 0.91rem; color: #4b5563; margin: 0; line-height: 1.6; }

            /* Steps Grid */
            .tneb-steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
            .tneb-step-card { background: #ffffff; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 22px 20px; box-sizing: border-box; transition: all 0.2s ease; display: flex; flex-direction: column; }
            .tneb-step-card:hover { border-color: var(--comm-primary); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8, 95, 38, 0.08); }
            .tneb-step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
            .tneb-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--comm-primary); color: #ffffff; font-size: 0.92rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(8, 95, 38, 0.25); }
            .tneb-step-title { font-size: 1.02rem; font-weight: 800; color: #111827; margin: 0; line-height: 1.35; }
            .tneb-step-desc { font-size: 0.92rem; color: #4b5563; margin: 0; line-height: 1.65; }
            .tneb-step-desc strong { color: #111827; }
            .tneb-meter-tip-box { background: linear-gradient(135deg, var(--comm-primary-light) 0%, #f0fdf4 100%); border: 1.5px solid rgba(8, 95, 38, 0.25); border-left: 5px solid var(--comm-primary); border-radius: 14px; padding: 20px 22px; margin-top: 22px; box-sizing: border-box; }
            .tneb-meter-tip-title { font-size: 1.05rem; font-weight: 800; color: var(--comm-primary); margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; }

            .tneb-best-option-box { background: linear-gradient(135deg, var(--comm-primary-light) 0%, #f0fdf4 100%); border: 1.5px solid rgba(8, 95, 38, 0.25); border-radius: 14px; padding: 24px 24px; margin-top: 16px; box-sizing: border-box; }

            /* FAQ Accordion */
            .tneb-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
            .tneb-faq-item { background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 14px; overflow: hidden; transition: border-color 0.2s ease; }
            .tneb-faq-item:hover, .tneb-faq-item.is-active { border-color: var(--comm-primary); }
            .tneb-faq-question { padding: 16px 20px; font-size: 1.02rem; font-weight: 700; color: #111827; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none; }
            .tneb-faq-question:hover { color: var(--comm-primary); }
            .tneb-faq-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--comm-primary-light); color: var(--comm-primary); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 700; transition: transform 0.2s ease, background 0.2s ease; }
            .tneb-faq-item.is-active .tneb-faq-icon { transform: rotate(180deg); background: var(--comm-primary); color: #ffffff; }
            .tneb-faq-answer { display: none; padding: 0 20px 18px 20px; font-size: 0.96rem; color: #4b5563; line-height: 1.7; border-top: 1px solid #f1f5f9; padding-top: 14px; }
            .tneb-faq-item.is-active .tneb-faq-answer { display: block; }

            @media (max-width: 768px) {
                .tneb-comm-header-box { padding: 20px 16px; border-radius: 14px; }
                .tneb-comm-headline { font-size: 1.45rem; }
                .tneb-comm-card { padding: 18px 14px; border-radius: 14px; }
                .tneb-article-card { padding: 20px 16px; border-radius: 14px; }
                .tneb-article-h2 { font-size: 1.35rem; }
                .tneb-reasons-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-features-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-steps-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-faq-question { font-size: 0.95rem; padding: 14px 16px; }
                .tneb-faq-answer { padding: 0 16px 16px 16px; font-size: 0.9rem; }
            }


/* ==========================================================================
 * SECTION: SOLAR
 * ========================================================================== */

.tneb-solar-calc-app {
                width: 100%;
                max-width: 100%;
                margin: 0 auto;
                font-family: inherit;
                color: #1f2937;
                box-sizing: border-box;
            }

            /* Header Box: Matches TNEB Bill Calculator */
            .tneb-solar-calc-app .tneb-calc-header-box {
                background: linear-gradient(135deg, var(--global-color-9, #e4ffeb) 0%, #f0fdf4 100%);
                border: 1.5px solid rgba(8, 95, 38, 0.2);
                border-radius: 18px;
                padding: 26px 28px;
                margin-bottom: 24px;
                text-align: center;
                box-sizing: border-box;
                width: 100%;
                max-width: 100%;
            }

            .tneb-solar-calc-app .tneb-calc-headline {
                font-size: 1.75rem;
                font-weight: 800;
                color: var(--global-color-8, #085f26);
                margin: 0 0 10px 0;
                line-height: 1.25;
            }

            .tneb-solar-calc-app .tneb-calc-subhead {
                font-size: 0.98rem;
                color: #4b5563;
                margin: 0;
                line-height: 1.6;
                max-width: 820px;
                margin-left: auto;
                margin-right: auto;
            }

            /* 2-Tab Switcher Navigation */
            .tneb-solar-calc-app .tneb-solar-tabs-bar {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                margin: 0 auto 26px auto;
                padding: 6px;
                background: #f1f5f9;
                border-radius: 50px;
                max-width: 620px;
                border: 1.5px solid #e2e8f0;
                box-sizing: border-box;
            }

            .tneb-solar-calc-app .tneb-solar-tab-btn {
                flex: 1;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 12px 20px;
                border-radius: 40px;
                font-size: 0.95rem;
                font-weight: 700;
                color: #475569;
                background: transparent;
                border: none;
                cursor: pointer;
                transition: all 0.25s ease;
                user-select: none;
                outline: none;
                text-decoration: none;
                box-sizing: border-box;
            }

            .tneb-solar-calc-app .tneb-solar-tab-btn:hover {
                color: var(--global-color-8, #085f26);
                background: rgba(228, 255, 235, 0.4);
            }

            .tneb-solar-calc-app .tneb-solar-tab-btn.is-active {
                background: var(--global-color-8, #085f26);
                color: #ffffff;
                box-shadow: 0 4px 14px rgba(8, 95, 38, 0.28);
            }

            .tneb-solar-calc-app .tneb-solar-tab-btn svg {
                width: 18px;
                height: 18px;
                flex-shrink: 0;
            }

            /* Tab Panes */
            .tneb-solar-calc-app .tneb-tab-pane {
                display: none;
            }

            .tneb-solar-calc-app .tneb-tab-pane.is-active {
                display: block;
                animation: tnebFadeIn 0.3s ease;
            }

            @keyframes tnebFadeIn {
                from { opacity: 0; transform: translateY(6px); }
                to { opacity: 1; transform: translateY(0); }
            }

            /* 2-Column Responsive Grid */
            .tneb-solar-calc-app .tneb-calc-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 24px;
                align-items: start;
                margin-bottom: 24px;
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
            }

            @media (max-width: 900px) {
                .tneb-solar-calc-app .tneb-calc-grid {
                    grid-template-columns: 1fr;
                    gap: 20px;
                }
            }

            /* Card Container */
            .tneb-solar-calc-app .tneb-calc-card {
                background: #ffffff;
                border: 1px solid #e5e7eb;
                border-radius: 18px;
                padding: 26px 24px;
                box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04);
                box-sizing: border-box;
                width: 100%;
                max-width: 100%;
                min-width: 0;
            }

            /* Form Elements */
            .tneb-solar-calc-app .tneb-calc-form-group {
                margin-bottom: 20px;
            }

            .tneb-solar-calc-app .tneb-calc-label {
                display: block;
                font-size: 0.9rem;
                font-weight: 700;
                margin-bottom: 8px;
                color: #111827;
            }

            .tneb-solar-calc-app .tneb-calc-input {
                width: 100%;
                font-size: 1rem;
                padding: 12px 14px;
                border: 1.5px solid #cbd5e1;
                border-radius: 10px;
                background-color: #ffffff;
                color: #1e293b;
                outline: none;
                transition: border-color 0.2s ease, box-shadow 0.2s ease;
                box-sizing: border-box;
            }

            .tneb-solar-calc-app .tneb-calc-input:focus {
                border-color: var(--global-color-8, #085f26);
                box-shadow: 0 0 0 3px rgba(8, 95, 38, 0.15);
            }

            /* Toggle Switch for Input Basis */
            .tneb-solar-calc-app .tneb-toggle-group {
                display: flex;
                background: #f1f5f9;
                padding: 4px;
                border-radius: 10px;
                border: 1px solid #e2e8f0;
                margin-bottom: 16px;
                gap: 4px;
            }

            .tneb-solar-calc-app .tneb-toggle-btn {
                flex: 1;
                padding: 8px 12px;
                font-size: 0.86rem;
                font-weight: 700;
                color: #475569;
                background: transparent;
                border: none;
                border-radius: 8px;
                cursor: pointer;
                transition: all 0.2s ease;
                outline: none;
                text-align: center;
            }

            .tneb-solar-calc-app .tneb-toggle-btn.is-active {
                background: #ffffff;
                color: var(--global-color-8, #085f26);
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
            }

            /* Custom Accessible Dropdown */
            .tneb-solar-calc-app .tneb-custom-select-wrap {
                position: relative;
                width: 100%;
            }

            .tneb-solar-calc-app .tneb-custom-select-trigger {
                width: 100%;
                font-size: 0.95rem;
                font-weight: 600;
                padding: 12px 36px 12px 14px;
                border: 1.5px solid #cbd5e1;
                border-radius: 10px;
                background: #ffffff;
                color: #1e293b;
                text-align: left;
                cursor: pointer;
                display: flex;
                align-items: center;
                position: relative;
                box-sizing: border-box;
                user-select: none;
            }

            .tneb-solar-calc-app .tneb-custom-select-trigger::after {
                content: "";
                position: absolute;
                right: 14px;
                top: 50%;
                width: 8px;
                height: 8px;
                border-right: 2px solid #475569;
                border-bottom: 2px solid #475569;
                transform: translateY(-70%) rotate(45deg);
                pointer-events: none;
                transition: transform 0.2s ease;
            }

            .tneb-solar-calc-app .tneb-custom-select-wrap.is-open .tneb-custom-select-trigger::after {
                transform: translateY(-20%) rotate(-135deg);
            }

            .tneb-solar-calc-app .tneb-custom-select-options {
                display: none;
                position: absolute;
                top: calc(100% + 4px);
                left: 0;
                right: 0;
                background: #ffffff;
                border: 1.5px solid #cbd5e1;
                border-radius: 10px;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                z-index: 50;
                max-height: 280px;
                overflow-y: auto;
                box-sizing: border-box;
            }

            .tneb-solar-calc-app .tneb-custom-select-wrap.is-open .tneb-custom-select-options {
                display: block;
            }

            .tneb-solar-calc-app .tneb-custom-option {
                padding: 10px 14px;
                font-size: 0.92rem;
                font-weight: 500;
                color: #334155;
                cursor: pointer;
                transition: background 0.15s ease;
            }

            .tneb-solar-calc-app .tneb-custom-option:hover,
            .tneb-solar-calc-app .tneb-custom-option.is-selected {
                background: var(--global-color-9, #e4ffeb);
                color: var(--global-color-8, #085f26);
                font-weight: 700;
            }

            /* Quick Preset Chips */
            .tneb-solar-calc-app .tneb-calc-quick-pills {
                display: flex;
                flex-wrap: wrap;
                gap: 6px;
                align-items: center;
                margin-top: 8px;
            }

            .tneb-solar-calc-app .tneb-calc-quick-label {
                font-size: 0.78rem;
                font-weight: 700;
                color: #64748b;
                margin-right: 2px;
            }

            .tneb-solar-calc-app .tneb-unit-chip {
                background: #f1f5f9;
                border: 1px solid #cbd5e1;
                border-radius: 20px;
                padding: 4px 10px;
                font-size: 0.78rem;
                font-weight: 600;
                color: #334155;
                cursor: pointer;
                transition: all 0.15s ease;
            }

            .tneb-solar-calc-app .tneb-unit-chip:hover {
                background: var(--global-color-8, #085f26);
                color: #ffffff;
                border-color: var(--global-color-8, #085f26);
            }

            /* Primary Action Button */
            .tneb-solar-calc-app .tneb-calc-btn {
                width: 100%;
                background: var(--global-color-8, #085f26);
                color: #ffffff;
                font-size: 1.05rem;
                font-weight: 700;
                padding: 14px 20px;
                border: none;
                border-radius: 12px;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                transition: all 0.2s ease;
                box-shadow: 0 4px 12px rgba(8, 95, 38, 0.25);
                box-sizing: border-box;
                margin-top: 10px;
            }

            .tneb-solar-calc-app .tneb-calc-btn:hover {
                filter: brightness(1.1);
                transform: translateY(-1px);
                box-shadow: 0 6px 16px rgba(8, 95, 38, 0.32);
            }

            /* Highlight Summary Card - Matching Commercial Mint Green Gradient Style */
            .tneb-solar-calc-app .tneb-summary-card {
                background: linear-gradient(135deg, var(--global-color-9, #e4ffeb) 0%, #f0fdf4 100%);
                border: 2px solid rgba(8, 95, 38, 0.3);
                border-radius: 14px;
                padding: 24px 22px;
                text-align: center;
                margin-bottom: 20px;
                box-shadow: 0 4px 14px -2px rgba(8, 95, 38, 0.08);
                box-sizing: border-box;
            }

            .tneb-solar-calc-app .tneb-summary-label {
                font-size: 0.88rem;
                font-weight: 700;
                color: var(--global-color-8, #085f26);
                text-transform: uppercase;
                letter-spacing: 0.5px;
                margin-bottom: 8px;
            }

            .tneb-solar-calc-app .tneb-summary-amount {
                font-size: 2.6rem;
                font-weight: 900;
                color: var(--global-color-8, #085f26);
                line-height: 1.15;
                margin-bottom: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 12px;
                flex-wrap: wrap;
            }

            .tneb-solar-calc-app .tneb-summary-amount .old-strike {
                font-size: 1.35rem;
                text-decoration: line-through;
                color: #64748b;
                opacity: 0.75;
                font-weight: 600;
            }

            .tneb-solar-calc-app .tneb-subsidy-badge {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: #ffffff;
                border: 1px solid rgba(8, 95, 38, 0.25);
                color: #1e293b;
                font-size: 0.85rem;
                font-weight: 700;
                padding: 5px 14px;
                border-radius: 50px;
                box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
            }

            /* Metrics Grid */
            .tneb-solar-calc-app .tneb-metrics-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 12px;
                margin-bottom: 20px;
            }

            .tneb-solar-calc-app .tneb-metric-item {
                background: #f8fafc;
                border: 1px solid #e2e8f0;
                border-radius: 12px;
                padding: 12px 14px;
                box-sizing: border-box;
            }

            .tneb-solar-calc-app .tneb-metric-title {
                font-size: 0.78rem;
                font-weight: 600;
                color: #64748b;
                margin-bottom: 4px;
                text-transform: uppercase;
                letter-spacing: 0.3px;
            }

            .tneb-solar-calc-app .tneb-metric-val {
                font-size: 1.12rem;
                font-weight: 800;
                color: #0f172a;
            }

            /* Payback Banner */
            .tneb-solar-calc-app .tneb-payback-box {
                background: linear-gradient(135deg, var(--global-color-9, #e4ffeb) 0%, #f0fdf4 100%);
                border: 1.5px solid rgba(8, 95, 38, 0.25);
                border-radius: 12px;
                padding: 14px 18px;
                margin-bottom: 18px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 8px;
            }

            .tneb-solar-calc-app .tneb-payback-label {
                font-size: 0.9rem;
                font-weight: 700;
                color: var(--global-color-8, #085f26);
            }

            .tneb-solar-calc-app .tneb-payback-value {
                font-size: 1.35rem;
                font-weight: 900;
                color: var(--global-color-8, #085f26);
            }

            /* Breakdown Table */
            .tneb-solar-calc-app .tneb-table-wrap {
                overflow-x: auto;
                margin-bottom: 18px;
                border: 1px solid #e5e7eb;
                border-radius: 12px;
                width: 100%;
                box-sizing: border-box;
                -webkit-overflow-scrolling: touch;
            }

            .tneb-solar-calc-app .tneb-breakdown-table {
                width: 100%;
                border-collapse: collapse;
                text-align: left;
                font-size: 0.92rem;
            }

            .tneb-solar-calc-app .tneb-breakdown-table th {
                background: #f8fafc;
                color: #374151;
                font-weight: 700;
                padding: 12px 14px;
                border-bottom: 1.5px solid #e5e7eb;
                white-space: nowrap;
            }

            .tneb-solar-calc-app .tneb-breakdown-table td {
                padding: 11px 14px;
                border-bottom: 1px solid #f1f5f9;
                color: #1f2937;
            }

            .tneb-solar-calc-app .tneb-breakdown-table tr:last-child td {
                border-bottom: none;
            }

            .tneb-solar-calc-app .tneb-breakdown-table tr.tneb-free-tier td {
                background: rgba(228, 255, 235, 0.4);
                color: var(--global-color-8, #085f26);
                font-weight: 600;
            }

            /* Info Notes Box */
            .tneb-solar-calc-app .tneb-calc-notes {
                background: #f8fafc;
                border-left: 4px solid var(--global-color-8, #085f26);
                padding: 14px 16px;
                border-radius: 0 10px 10px 0;
                font-size: 0.85rem;
                color: #374151;
                line-height: 1.55;
                margin-top: 18px;
                box-sizing: border-box;
            }

            .tneb-solar-calc-app .tneb-calc-notes.tneb-warn-notes {
                border-left-color: #f59e0b;
                background: #fffbeb;
                color: #92400e;
                display: none;
                margin-top: 0;
                margin-bottom: 18px;
            }

            /* Feasibility Specs Box */
            .tneb-solar-calc-app .tneb-specs-list {
                list-style: none;
                padding: 0;
                margin: 0;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }

            .tneb-solar-calc-app .tneb-spec-item {
                background: #f8fafc;
                border: 1px solid #e2e8f0;
                border-radius: 10px;
                padding: 10px 12px;
                font-size: 0.84rem;
                line-height: 1.4;
            }

            .tneb-solar-calc-app .tneb-spec-item strong {
                display: block;
                color: #0f172a;
                font-size: 0.88rem;
                margin-bottom: 2px;
            }

            /* Article Cards & Layout */
            .tneb-article-container { width: 100%; max-width: 100%; margin: 36px 0 20px 0; box-sizing: border-box; font-family: inherit; color: #1f2937; line-height: 1.75; }
            .tneb-article-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 32px 30px; margin-bottom: 24px; box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04); box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
            .tneb-article-h2 { font-size: 1.55rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 16px 0; line-height: 1.35; display: flex; align-items: center; gap: 10px; border-bottom: 2px dashed rgba(8, 95, 38, 0.2); padding-bottom: 12px; }
            .tneb-article-h2 svg { flex: 0 0 auto; color: var(--global-color-8, #085f26); }
            .tneb-article-p { font-size: 1.02rem; color: #374151; margin: 0 0 16px 0; line-height: 1.75; }
            .tneb-article-p:last-child { margin-bottom: 0; }

            /* Scenario / Math Box */
            .tneb-calc-example-box { background: var(--global-color-9, #e4ffeb); border: 1.5px solid rgba(8, 95, 38, 0.25); border-left: 5px solid var(--global-color-8, #085f26); border-radius: 14px; padding: 20px 22px; margin: 20px 0; box-sizing: border-box; }
            .tneb-example-title { font-size: 1.08rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 12px 0; }
            .tneb-example-list { list-style: none; padding: 0; margin: 0 0 14px 0; }
            .tneb-example-list li { position: relative; padding-left: 22px; margin-bottom: 8px; color: #1f2937; font-weight: 500; font-size: 0.98rem; }
            .tneb-example-list li::before { content: "✓"; position: absolute; left: 0; color: var(--global-color-8, #085f26); font-weight: 800; }
            .tneb-example-math { background: #ffffff; border: 1px solid rgba(8, 95, 38, 0.2); border-radius: 10px; padding: 12px 16px; font-size: 0.98rem; font-weight: 700; color: #111827; }

            /* Reasons Grid */
            .tneb-reasons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
            .tneb-reason-item { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 22px; box-sizing: border-box; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
            .tneb-reason-item:hover { border-color: var(--global-color-8, #085f26); box-shadow: 0 4px 14px rgba(8, 95, 38, 0.08); }
            .tneb-reason-head { font-size: 1.05rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; }
            .tneb-reason-text { font-size: 0.94rem; color: #4b5563; margin: 0; line-height: 1.6; }

            /* Features Grid */
            .tneb-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; margin-top: 20px; }
            .tneb-feature-card { background: #ffffff; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 20px 20px; box-sizing: border-box; transition: all 0.2s ease; }
            .tneb-feature-card:hover { border-color: var(--global-color-8, #085f26); background: #fafffb; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8, 95, 38, 0.08); }
            .tneb-feature-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--global-color-9, #e4ffeb); color: var(--global-color-8, #085f26); font-size: 0.88rem; font-weight: 800; border-radius: 8px; margin-bottom: 10px; }
            .tneb-feature-title { font-size: 1.02rem; font-weight: 800; color: #111827; margin: 0 0 8px 0; line-height: 1.35; }
            .tneb-feature-desc { font-size: 0.92rem; color: #4b5563; margin: 0; line-height: 1.6; }

            /* Solar Reference Table */
            .tneb-solar-table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid #e5e7eb; border-radius: 14px; width: 100%; box-sizing: border-box; -webkit-overflow-scrolling: touch; }
            .tneb-solar-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.94rem; }
            .tneb-solar-table th { background: #f8fafc; color: #1f2937; font-weight: 700; padding: 13px 16px; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
            .tneb-solar-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; color: #374151; white-space: nowrap; }
            .tneb-solar-table tr:last-child td { border-bottom: none; }
            .tneb-solar-table tr:hover td { background: #fafffb; }

            /* Best Option Box */
            .tneb-best-option-box { background: linear-gradient(135deg, var(--global-color-9, #e4ffeb) 0%, #f0fdf4 100%); border: 1.5px solid rgba(8, 95, 38, 0.25); border-radius: 14px; padding: 24px 24px; margin-top: 16px; box-sizing: border-box; }

            /* FAQ Accordion */
            .tneb-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
            .tneb-faq-item { background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 14px; overflow: hidden; transition: border-color 0.2s ease; }
            .tneb-faq-item:hover, .tneb-faq-item.is-active { border-color: var(--global-color-8, #085f26); }
            .tneb-faq-question { padding: 16px 20px; font-size: 1.02rem; font-weight: 700; color: #111827; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none; }
            .tneb-faq-question:hover { color: var(--global-color-8, #085f26); }
            .tneb-faq-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--global-color-9, #e4ffeb); color: var(--global-color-8, #085f26); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 700; transition: transform 0.2s ease, background 0.2s ease; }
            .tneb-faq-item.is-active .tneb-faq-icon { transform: rotate(180deg); background: var(--global-color-8, #085f26); color: #ffffff; }
            .tneb-faq-answer { display: none; padding: 0 20px 18px 20px; font-size: 0.96rem; color: #4b5563; line-height: 1.7; border-top: 1px solid #f1f5f9; padding-top: 14px; }
            .tneb-faq-item.is-active .tneb-faq-answer { display: block; }

            @media (max-width: 768px) {
                .tneb-solar-calc-app .tneb-solar-tabs-bar {
                    flex-direction: column;
                    border-radius: 14px;
                    gap: 6px;
                }
                .tneb-solar-calc-app .tneb-solar-tab-btn {
                    width: 100%;
                    border-radius: 10px;
                    padding: 10px 14px;
                    font-size: 0.88rem;
                }
                .tneb-solar-calc-app .tneb-specs-list {
                    grid-template-columns: 1fr;
                }
                .tneb-article-card { padding: 20px 16px; border-radius: 14px; }
                .tneb-article-h2 { font-size: 1.35rem; }
                .tneb-reasons-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-features-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-faq-question { font-size: 0.95rem; padding: 14px 16px; }
                .tneb-faq-answer { padding: 0 16px 16px 16px; font-size: 0.9rem; }
            }


/* ==========================================================================
 * SECTION: UNITCOST
 * ========================================================================== */

.tneb-unit-cost-app {
                width: 100%;
                max-width: 100%;
                margin: 0 auto;
                font-family: inherit;
                color: #1f2937;
                box-sizing: border-box;
            }

            /* Header Banner */
            .tneb-unit-cost-app .tneb-calc-header-box {
                background: linear-gradient(135deg, var(--global-color-9, #e4ffeb) 0%, #f0fdf4 100%);
                border: 1.5px solid rgba(8, 95, 38, 0.2);
                border-radius: 18px;
                padding: 26px 28px;
                margin-bottom: 24px;
                text-align: center;
                box-sizing: border-box;
                width: 100%;
                max-width: 100%;
            }

            .tneb-unit-cost-app .tneb-calc-headline {
                font-size: 1.75rem;
                font-weight: 800;
                color: var(--global-color-8, #085f26);
                margin: 0 0 10px 0;
                line-height: 1.25;
            }

            .tneb-unit-cost-app .tneb-calc-subhead {
                font-size: 0.98rem;
                color: #4b5563;
                margin: 0;
                line-height: 1.6;
                max-width: 820px;
                margin-left: auto;
                margin-right: auto;
            }

            /* Category Switcher Tabs */
            .tneb-unit-cost-app .tneb-cat-tabs-bar {
                display: flex;
                background: #f1f5f9;
                padding: 6px;
                border-radius: 14px;
                gap: 8px;
                margin-bottom: 24px;
                border: 1px solid #e2e8f0;
                box-sizing: border-box;
            }

            .tneb-unit-cost-app .tneb-cat-tab-btn {
                flex: 1;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 12px 18px;
                font-size: 0.98rem;
                font-weight: 700;
                border: none;
                border-radius: 10px;
                cursor: pointer;
                background: transparent;
                color: #475569;
                transition: all 0.2s ease;
                font-family: inherit;
                outline: none;
            }

            .tneb-unit-cost-app .tneb-cat-tab-btn:hover {
                color: var(--global-color-8, #085f26);
                background: rgba(255, 255, 255, 0.6);
            }

            .tneb-unit-cost-app .tneb-cat-tab-btn.is-active {
                background: #ffffff;
                color: var(--global-color-8, #085f26);
                box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
                border: 1.5px solid rgba(8, 95, 38, 0.25);
            }

            /* Main Two-Column Layout */
            .tneb-unit-cost-app .tneb-calc-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 24px;
                align-items: start;
                width: 100%;
                box-sizing: border-box;
            }

            @media (max-width: 960px) {
                .tneb-unit-cost-app .tneb-calc-grid {
                    grid-template-columns: 1fr;
                    gap: 20px;
                }
            }

            /* Cards */
            .tneb-unit-cost-app .tneb-calc-card {
                background: #ffffff;
                border: 1px solid #e5e7eb;
                border-radius: 16px;
                padding: 26px 24px;
                box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
                box-sizing: border-box;
                width: 100%;
            }

            /* Form Elements */
            .tneb-unit-cost-app .tneb-calc-form-group {
                margin-bottom: 20px;
            }

            .tneb-unit-cost-app .tneb-calc-form-group:last-child {
                margin-bottom: 0;
            }

            .tneb-unit-cost-app .tneb-calc-label {
                display: block;
                font-size: 0.92rem;
                font-weight: 700;
                color: #1f2937;
                margin-bottom: 8px;
            }

            .tneb-unit-cost-app .tneb-calc-input {
                width: 100%;
                padding: 12px 14px;
                border: 1.5px solid #d1d5db;
                border-radius: 10px;
                font-size: 1.05rem;
                color: #111827;
                background: #ffffff;
                box-sizing: border-box;
                transition: border-color 0.2s ease, box-shadow 0.2s ease;
                font-family: inherit;
            }

            .tneb-unit-cost-app .tneb-calc-input:focus {
                outline: none;
                border-color: var(--global-color-8, #085f26);
                box-shadow: 0 0 0 3px rgba(8, 95, 38, 0.15);
            }

            /* Quick Preset Pills */
            .tneb-unit-cost-app .tneb-calc-quick-pills {
                display: flex;
                flex-wrap: wrap;
                gap: 6px;
                margin-top: 10px;
                align-items: center;
            }

            .tneb-unit-cost-app .tneb-calc-quick-label {
                font-size: 0.8rem;
                color: #6b7280;
                font-weight: 600;
                margin-right: 4px;
            }

            .tneb-unit-cost-app .tneb-unit-chip {
                background: #f3f4f6;
                border: 1px solid #e5e7eb;
                border-radius: 8px;
                padding: 4px 10px;
                font-size: 0.82rem;
                font-weight: 600;
                color: #374151;
                cursor: pointer;
                transition: all 0.15s ease;
                font-family: inherit;
            }

            .tneb-unit-cost-app .tneb-unit-chip:hover {
                background: var(--global-color-9, #e4ffeb);
                border-color: var(--global-color-8, #085f26);
                color: var(--global-color-8, #085f26);
            }

            /* Custom Dropdown */
            .tneb-unit-cost-app .tneb-custom-select-wrap {
                position: relative;
                width: 100%;
            }

            .tneb-unit-cost-app .tneb-custom-select-trigger {
                width: 100%;
                padding: 12px 14px;
                border: 1.5px solid #d1d5db;
                border-radius: 10px;
                font-size: 0.98rem;
                color: #111827;
                background: #ffffff;
                box-sizing: border-box;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-weight: 600;
                user-select: none;
            }

            .tneb-unit-cost-app .tneb-custom-select-trigger::after {
                content: "";
                width: 8px;
                height: 8px;
                border-right: 2px solid #6b7280;
                border-bottom: 2px solid #6b7280;
                transform: rotate(45deg);
                transition: transform 0.2s ease;
            }

            .tneb-unit-cost-app .tneb-custom-select-wrap.is-open .tneb-custom-select-trigger::after {
                transform: rotate(-135deg);
            }

            .tneb-unit-cost-app .tneb-custom-select-options {
                position: absolute;
                top: calc(100% + 4px);
                left: 0;
                right: 0;
                background: #ffffff;
                border: 1.5px solid #d1d5db;
                border-radius: 10px;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                z-index: 50;
                display: none;
                overflow: hidden;
            }

            .tneb-unit-cost-app .tneb-custom-select-wrap.is-open .tneb-custom-select-options {
                display: block;
            }

            .tneb-unit-cost-app .tneb-custom-option {
                padding: 11px 14px;
                font-size: 0.94rem;
                color: #374151;
                cursor: pointer;
                transition: background 0.15s ease;
            }

            .tneb-unit-cost-app .tneb-custom-option:hover {
                background: var(--global-color-9, #e4ffeb);
                color: var(--global-color-8, #085f26);
            }

            .tneb-unit-cost-app .tneb-custom-option.is-selected {
                background: var(--global-color-9, #e4ffeb);
                color: var(--global-color-8, #085f26);
                font-weight: 700;
            }

            /* Rate Matrix Table Box */
            .tneb-unit-cost-app .tneb-rate-matrix-card {
                background: #f8fafc;
                border: 1px solid #e2e8f0;
                border-radius: 12px;
                padding: 16px;
                margin-top: 20px;
            }

            .tneb-unit-cost-app .tneb-rate-matrix-title {
                font-size: 0.9rem;
                font-weight: 800;
                color: #334155;
                margin: 0 0 10px 0;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                display: flex;
                align-items: center;
                gap: 6px;
            }

            /* Right Column: Highlight Card */
            .tneb-unit-cost-app .tneb-highlight-card {
                background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
                border: 2px solid rgba(8, 95, 38, 0.3);
                border-radius: 16px;
                padding: 24px;
                text-align: center;
                margin-bottom: 20px;
                position: relative;
                overflow: hidden;
            }

            .tneb-unit-cost-app .tneb-highlight-badge {
                display: inline-block;
                background: var(--global-color-8, #085f26);
                color: #ffffff;
                font-size: 0.78rem;
                font-weight: 700;
                padding: 4px 12px;
                border-radius: 20px;
                margin-bottom: 10px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .tneb-unit-cost-app .tneb-marginal-price {
                font-size: 2.8rem;
                font-weight: 900;
                color: var(--global-color-8, #085f26);
                line-height: 1.1;
                margin: 6px 0;
            }

            .tneb-unit-cost-app .tneb-effective-badge {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: #ffffff;
                border: 1.5px solid rgba(8, 95, 38, 0.25);
                border-radius: 24px;
                padding: 6px 16px;
                font-size: 0.95rem;
                font-weight: 700;
                color: #1f2937;
                margin-top: 8px;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
            }

            /* 4-Metric Grid */
            .tneb-unit-cost-app .tneb-metrics-grid {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
                margin-bottom: 20px;
            }

            .tneb-unit-cost-app .tneb-metric-item {
                background: #f8fafc;
                border: 1px solid #e2e8f0;
                border-radius: 12px;
                padding: 12px 14px;
                box-sizing: border-box;
            }

            .tneb-unit-cost-app .tneb-metric-title {
                font-size: 0.78rem;
                font-weight: 600;
                color: #64748b;
                margin-bottom: 4px;
                text-transform: uppercase;
                letter-spacing: 0.3px;
            }

            .tneb-unit-cost-app .tneb-metric-val {
                font-size: 1.15rem;
                font-weight: 800;
                color: #0f172a;
            }

            /* Tables */
            .tneb-unit-cost-app .tneb-table-wrap {
                overflow-x: auto;
                margin-bottom: 18px;
                border: 1px solid #e5e7eb;
                border-radius: 12px;
                width: 100%;
                box-sizing: border-box;
                -webkit-overflow-scrolling: touch;
            }

            .tneb-unit-cost-app .tneb-breakdown-table {
                width: 100%;
                border-collapse: collapse;
                text-align: left;
                font-size: 0.92rem;
            }

            .tneb-unit-cost-app .tneb-breakdown-table th {
                background: #f8fafc;
                color: #374151;
                font-weight: 700;
                padding: 12px 14px;
                border-bottom: 1.5px solid #e5e7eb;
                white-space: nowrap;
            }

            .tneb-unit-cost-app .tneb-breakdown-table td {
                padding: 11px 14px;
                border-bottom: 1px solid #f1f5f9;
                color: #1f2937;
            }

            .tneb-unit-cost-app .tneb-breakdown-table tr:last-child td {
                border-bottom: none;
            }

            .tneb-unit-cost-app .tneb-breakdown-table tr.tneb-free-tier td {
                background: rgba(228, 255, 235, 0.45);
                color: var(--global-color-8, #085f26);
                font-weight: 600;
            }

            /* Info Notes Box */
            .tneb-unit-cost-app .tneb-calc-notes {
                background: #f8fafc;
                border-left: 4px solid var(--global-color-8, #085f26);
                padding: 14px 16px;
                border-radius: 0 10px 10px 0;
                font-size: 0.85rem;
                color: #374151;
                line-height: 1.55;
                margin-top: 14px;
                box-sizing: border-box;
            }

            /* Article Cards & Layout */
            .tneb-article-container { width: 100%; max-width: 100%; margin: 36px 0 20px 0; box-sizing: border-box; font-family: inherit; color: #1f2937; line-height: 1.75; }
            .tneb-article-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 32px 30px; margin-bottom: 24px; box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04); box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
            .tneb-article-h2 { font-size: 1.55rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 16px 0; line-height: 1.35; display: flex; align-items: center; gap: 10px; border-bottom: 2px dashed rgba(8, 95, 38, 0.2); padding-bottom: 12px; }
            .tneb-article-h2 svg { flex: 0 0 auto; color: var(--global-color-8, #085f26); }
            .tneb-article-p { font-size: 1.02rem; color: #374151; margin: 0 0 16px 0; line-height: 1.75; }
            .tneb-article-p:last-child { margin-bottom: 0; }

            /* Scenario / Math Box */
            .tneb-calc-example-box { background: var(--global-color-9, #e4ffeb); border: 1.5px solid rgba(8, 95, 38, 0.25); border-left: 5px solid var(--global-color-8, #085f26); border-radius: 14px; padding: 20px 22px; margin: 20px 0; box-sizing: border-box; }
            .tneb-example-title { font-size: 1.08rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 12px 0; }
            .tneb-example-list { list-style: none; padding: 0; margin: 0 0 14px 0; }
            .tneb-example-list li { position: relative; padding-left: 22px; margin-bottom: 8px; color: #1f2937; font-weight: 500; font-size: 0.98rem; }
            .tneb-example-list li::before { content: "✓"; position: absolute; left: 0; color: var(--global-color-8, #085f26); font-weight: 800; }
            .tneb-example-math { background: #ffffff; border: 1px solid rgba(8, 95, 38, 0.2); border-radius: 10px; padding: 12px 16px; font-size: 0.98rem; font-weight: 700; color: #111827; }

            /* Reasons Grid */
            .tneb-reasons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
            .tneb-reason-item { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 22px; box-sizing: border-box; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
            .tneb-reason-item:hover { border-color: var(--global-color-8, #085f26); box-shadow: 0 4px 14px rgba(8, 95, 38, 0.08); }
            .tneb-reason-head { font-size: 1.05rem; font-weight: 800; color: var(--global-color-8, #085f26); margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; }
            .tneb-reason-text { font-size: 0.94rem; color: #4b5563; margin: 0; line-height: 1.6; }

            /* Features Grid */
            .tneb-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; margin-top: 20px; }
            .tneb-feature-card { background: #ffffff; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 20px 20px; box-sizing: border-box; transition: all 0.2s ease; }
            .tneb-feature-card:hover { border-color: var(--global-color-8, #085f26); background: #fafffb; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8, 95, 38, 0.08); }
            .tneb-feature-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--global-color-9, #e4ffeb); color: var(--global-color-8, #085f26); font-size: 0.88rem; font-weight: 800; border-radius: 8px; margin-bottom: 10px; }
            .tneb-feature-title { font-size: 1.02rem; font-weight: 800; color: #111827; margin: 0 0 8px 0; line-height: 1.35; }
            .tneb-feature-desc { font-size: 0.92rem; color: #4b5563; margin: 0; line-height: 1.6; }

            /* Reference Table */
            .tneb-ref-table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid #e5e7eb; border-radius: 14px; width: 100%; box-sizing: border-box; -webkit-overflow-scrolling: touch; }
            .tneb-ref-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.94rem; }
            .tneb-ref-table th { background: #f8fafc; color: #1f2937; font-weight: 700; padding: 13px 16px; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
            .tneb-ref-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; color: #374151; white-space: nowrap; }
            .tneb-ref-table tr:last-child td { border-bottom: none; }
            .tneb-ref-table tr:hover td { background: #fafffb; }

            /* FAQ Accordion */
            .tneb-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
            .tneb-faq-item { background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 14px; overflow: hidden; transition: border-color 0.2s ease; }
            .tneb-faq-item:hover, .tneb-faq-item.is-active { border-color: var(--global-color-8, #085f26); }
            .tneb-faq-question { padding: 16px 20px; font-size: 1.02rem; font-weight: 700; color: #111827; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none; }
            .tneb-faq-question:hover { color: var(--global-color-8, #085f26); }
            .tneb-faq-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--global-color-9, #e4ffeb); color: var(--global-color-8, #085f26); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 700; transition: transform 0.2s ease, background 0.2s ease; }
            .tneb-faq-item.is-active .tneb-faq-icon { transform: rotate(180deg); background: var(--global-color-8, #085f26); color: #ffffff; }
            .tneb-faq-answer { display: none; padding: 0 20px 18px 20px; font-size: 0.96rem; color: #4b5563; line-height: 1.7; border-top: 1px solid #f1f5f9; padding-top: 14px; }
            .tneb-faq-item.is-active .tneb-faq-answer { display: block; }

            @media (max-width: 768px) {
                .tneb-unit-cost-app .tneb-cat-tabs-bar {
                    flex-direction: column;
                    border-radius: 14px;
                    gap: 6px;
                }
                .tneb-unit-cost-app .tneb-cat-tab-btn {
                    width: 100%;
                    border-radius: 10px;
                    padding: 10px 14px;
                    font-size: 0.88rem;
                }
                .tneb-unit-cost-app .tneb-calc-card {
                    padding: 20px 16px;
                }
                .tneb-unit-cost-app .tneb-marginal-price {
                    font-size: 2.2rem;
                }
                .tneb-article-card { padding: 20px 16px; border-radius: 14px; }
                .tneb-article-h2 { font-size: 1.35rem; }
                .tneb-reasons-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-features-grid { grid-template-columns: 1fr; gap: 12px; }
                .tneb-faq-question { font-size: 0.95rem; padding: 14px 16px; }
                .tneb-faq-answer { padding: 0 16px 16px 16px; font-size: 0.9rem; }
            }
