.mtett-v1-shortcode,
.mtett-v1-shortcode * {
    box-sizing: border-box;
}

.mtett-v1-shortcode {
    --mtett-green: #6698c8;
    --mtett-green-dark: #1d2d5a;
    --mtett-ink: #00153b;
    --white: #ffffff;
    --bg-light: #edf2f8;
    --border-light: #c1ccd9;
    --text-main: #1f3255;
    --text-muted: #5f7390;
    --danger: #b91c1c;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-lg: 0 28px 45px -35px rgba(10, 20, 44, 0.45);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.mtett-v1-shortcode .calc-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.mtett-v1-shortcode .calc-container {
    max-width: 920px;
    margin: 0 auto;
}

.mtett-v1-shortcode .dashboard-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.mtett-v1-shortcode .diag-panel,
.mtett-v1-shortcode .lead-overlay,
.mtett-v1-shortcode .result-display {
    padding: clamp(1.45rem, 4vw, 2.5rem);
    background: transparent;
}

.mtett-v1-shortcode .panel-header {
    margin-bottom: 1.25rem;
}

.mtett-v1-shortcode .panel-header h3 {
    margin: 0;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    font-weight: 800;
    color: var(--mtett-ink);
    line-height: 1.25;
}

.mtett-v1-shortcode .panel-sub {
    margin: 0.45rem 0 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.mtett-v1-shortcode .panel-header-center {
    text-align: center;
}

.mtett-v1-shortcode .input-module {
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: clamp(1.05rem, 3vw, 1.6rem);
}

.mtett-v1-shortcode .input-module + .input-module {
    margin-top: 0.9rem;
}

.mtett-v1-shortcode .input-module label {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mtett-v1-shortcode .label-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mtett-v1-shortcode .area-val {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.28rem;
    color: var(--mtett-green-dark);
    font-weight: 800;
}

.mtett-v1-shortcode .area-val span:first-child {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 0.95;
}

.mtett-v1-shortcode .area-val span:last-child {
    font-size: 1.05rem;
    color: var(--text-muted);
    padding-bottom: 0.35rem;
}

.mtett-v1-shortcode .custom-slider {
    --slider-progress: 17%;
    width: 100%;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--mtett-green-dark) 0%,
        var(--mtett-green-dark) var(--slider-progress),
        #c3cfde var(--slider-progress),
        #c3cfde 100%
    );
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.mtett-v1-shortcode .custom-slider::-webkit-slider-runnable-track {
    height: 16px;
    border-radius: 999px;
    background: transparent;
}

.mtett-v1-shortcode .custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 36px;
    height: 36px;
    margin-top: -10px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--mtett-green);
    box-shadow: 0 6px 14px -8px rgba(10, 20, 44, 0.65);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.mtett-v1-shortcode .custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.06);
}

.mtett-v1-shortcode .custom-slider::-moz-range-track {
    height: 16px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--mtett-green-dark) 0%,
        var(--mtett-green-dark) var(--slider-progress),
        #c3cfde var(--slider-progress),
        #c3cfde 100%
    );
}

.mtett-v1-shortcode .custom-slider::-moz-range-thumb {
    width: 36px;
    height: 36px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--mtett-green);
    box-shadow: 0 6px 14px -8px rgba(10, 20, 44, 0.65);
    cursor: pointer;
}

.mtett-v1-shortcode .slider-range {
    margin-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.mtett-v1-shortcode .damage-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.95rem;
}

.mtett-v1-shortcode .damage-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.32rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    background: #e8eef7;
    color: var(--mtett-green-dark);
}

.mtett-v1-shortcode .damage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.mtett-v1-shortcode .damage-btn {
    border: 1px solid #c2cedd;
    border-radius: 10px;
    background: #f4f7fb;
    color: #223a5f;
    padding: 0.72rem 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}

.mtett-v1-shortcode .damage-btn:hover {
    border-color: var(--mtett-green);
    background: #edf2f9;
}

.mtett-v1-shortcode .damage-btn.active {
    background: var(--mtett-green-dark);
    border-color: var(--mtett-green-dark);
    color: var(--white);
    box-shadow: 0 10px 24px -22px rgba(3, 107, 57, 1);
}

.mtett-v1-shortcode .step-error {
    margin-top: 0.75rem;
    color: var(--danger);
    font-size: 0.87rem;
    font-weight: 600;
}

.mtett-v1-shortcode .btn-mtett {
    margin-top: 1.15rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: none;
    border-radius: var(--radius-md);
    background: var(--mtett-green-dark);
    color: var(--white);
    padding: 1rem 1.4rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, background-color 0.16s ease;
}

.mtett-v1-shortcode .btn-mtett:hover {
    background: #00153b;
    color: var(--white);
    transform: translateY(-1px);
}

.mtett-v1-shortcode .btn-mtett.is-loading {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
}

.mtett-v1-shortcode .btn-mtett.is-loading:hover {
    background: var(--mtett-green-dark);
    transform: none;
}

.mtett-v1-shortcode .estimate-note {
    margin-top: 0.9rem;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.mtett-v1-shortcode .estimate-note strong {
    display: block;
    color: var(--mtett-ink);
    margin-bottom: 0.2rem;
}

.mtett-v1-shortcode .estimate-note span {
    color: var(--text-main);
}

.mtett-v1-shortcode .estimate-note--soft {
    border: 1px solid #d5deea;
    background: #f6f9fc;
}

.mtett-v1-shortcode .estimate-note--strong {
    margin-bottom: 1rem;
    border: 1px solid #c9d7e7;
    background: linear-gradient(180deg, #edf3fb 0%, #f8fbff 100%);
}

.mtett-v1-shortcode .benefit-examples {
    margin-top: 0.95rem;
    display: grid;
    gap: 0.75rem;
}

.mtett-v1-shortcode .benefit-example {
    border: 1px solid #c8d3e0;
    border-radius: 12px;
    background: #f8fcf9;
    padding: 0.85rem;
}

.mtett-v1-shortcode .benefit-example-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    text-align: center;
    color: var(--mtett-ink);
    font-weight: 800;
}

.mtett-v1-shortcode .benefit-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.mtett-v1-shortcode .benefit-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    border: 1px solid #ced8e4;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.74rem 0.58rem 0.8rem;
}

.mtett-v1-shortcode .benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e8eef7;
    color: var(--mtett-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mtett-v1-shortcode .benefit-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mtett-v1-shortcode .benefit-heading {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--mtett-ink);
}

.mtett-v1-shortcode .benefit-text {
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.mtett-v1-shortcode .lead-overlay {
    border-top: 0;
}

.mtett-v1-shortcode .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
}

.mtett-v1-shortcode .form-field input {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-light);
    color: var(--text-main);
    padding: 0.95rem 1rem;
    font-size: 1rem;
}

.mtett-v1-shortcode .form-field input:focus {
    outline: none;
    border-color: var(--mtett-green);
    box-shadow: 0 0 0 3px rgba(102, 152, 200, 0.22);
    background: var(--white);
}

.mtett-v1-shortcode .form-note {
    margin-top: 0.8rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
}

.mtett-v1-shortcode .result-display {
    border-top: 0;
}

.mtett-v1-shortcode .result-summary {
    margin-bottom: 1rem;
    text-align: center;
}

.mtett-v1-shortcode .result-summary h3 {
    margin: 0 0 0.3rem;
    font-size: clamp(1.12rem, 2.4vw, 1.38rem);
    color: var(--mtett-ink);
}

.mtett-v1-shortcode .result-summary p {
    margin: 0;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.mtett-v1-shortcode .metrikk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

.mtett-v1-shortcode .metrikk-card {
    --card-accent: var(--mtett-green);
    position: relative;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.35rem 1rem 1.2rem;
    text-align: center;
    background: var(--white);
    box-shadow: 0 16px 30px -30px rgba(10, 20, 44, 0.8);
    overflow: hidden;
}

.mtett-v1-shortcode .metrikk-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--card-accent);
}

.mtett-v1-shortcode .metrikk-card--emissions {
    --card-accent: #6798c8;
    border-color: #c7d7e8;
    background: linear-gradient(180deg, #edf3fb 0%, #f7f9fc 100%);
}

.mtett-v1-shortcode .metrikk-card--cost {
    --card-accent: #946620;
    border-color: #e4d2ae;
    background: linear-gradient(180deg, #f7efe0 0%, #fcf9f2 100%);
}

.mtett-v1-shortcode .metrikk-card--time {
    --card-accent: #1d2d5a;
    border-color: #cad3e4;
    background: linear-gradient(180deg, #eef2f8 0%, #f7f9fc 100%);
}

.mtett-v1-shortcode .metrikk-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4d6486;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.mtett-v1-shortcode .metrikk-value {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.33rem;
    line-height: 0.95;
    letter-spacing: 0.01em;
}

.mtett-v1-shortcode .metrikk-value > span:first-child {
    font-size: clamp(1.85rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #11213f;
    font-variant-numeric: tabular-nums lining-nums;
    white-space: nowrap;
}

.mtett-v1-shortcode .metrikk-unit {
    color: var(--card-accent);
    font-size: clamp(0.86rem, 2vw, 1.04rem);
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

.mtett-v1-shortcode .comparison-grid {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.85rem;
}

.mtett-v1-shortcode .comparison-card {
    border: 1px solid #ced8e4;
    border-radius: 12px;
    background: #f8fafd;
    padding: 0.85rem;
}

.mtett-v1-shortcode .comparison-card h4 {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4b5f7d;
}

.mtett-v1-shortcode .comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.55rem;
    padding: 0.35rem 0;
    border-top: 1px dashed #ced8e4;
    color: #2d4668;
    font-size: 0.89rem;
}

.mtett-v1-shortcode .comparison-row:first-of-type {
    border-top: 0;
}

.mtett-v1-shortcode .comparison-row strong {
    font-size: 0.94rem;
    font-weight: 800;
    color: #1d2d5a;
}

.mtett-v1-shortcode .comparison-row--saved strong {
    color: var(--mtett-green-dark);
}

.mtett-v1-shortcode .comparison-row--mtett {
    background-color: #eef4fb;
    border-radius: 6px;
    border-top: none;
    margin: 0.25rem -0.5rem;
    padding: 0.45rem 0.5rem;
    font-weight: 700;
}

.mtett-v1-shortcode .comparison-row--mtett span {
    color: #1d2d5a;
    font-weight: 700;
}

.mtett-v1-shortcode .comparison-row--mtett strong {
    color: #1a56a0;
    font-size: 1rem;
}

.mtett-v1-shortcode .comparison-row--mtett + .comparison-row {
    border-top: 1px dashed #ced8e4;
}

.mtett-v1-shortcode .result-cta {
    margin-top: 1.25rem;
    text-align: center;
}

.mtett-v1-shortcode .result-cta .btn-mtett {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.mtett-v1-shortcode .result-cta p {
    margin: 0.6rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.mtett-v1-shortcode .hidden {
    display: none !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .mtett-v1-shortcode .calc-shell {
        padding: 1.4rem 0;
    }

    .mtett-v1-shortcode .custom-slider {
        height: 14px;
    }

    .mtett-v1-shortcode .custom-slider::-webkit-slider-runnable-track {
        height: 14px;
    }

    .mtett-v1-shortcode .custom-slider::-webkit-slider-thumb {
        width: 30px;
        height: 30px;
        margin-top: -8px;
    }

    .mtett-v1-shortcode .custom-slider::-moz-range-track {
        height: 14px;
    }

    .mtett-v1-shortcode .custom-slider::-moz-range-thumb {
        width: 30px;
        height: 30px;
    }

    .mtett-v1-shortcode .damage-grid,
    .mtett-v1-shortcode .benefit-list {
        grid-template-columns: 1fr;
    }

    .mtett-v1-shortcode .benefit-line {
        align-items: flex-start;
        text-align: left;
        padding: 0.7rem;
    }
}
