.tec-audit {
    --ink: #14211f;
    --muted: #5e6965;
    --line: #d8ded8;
    --paper: #fbfcf8;
    --panel: #ffffff;
    --green: #19745d;
    --amber: #b86613;
    --red: #b84036;
    --teal: #0f6f73;
    --gold: #d6a831;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    max-width: 1180px;
    margin: 0 auto;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tec-audit * {
    box-sizing: border-box;
}

.tec-audit .tec-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    align-items: center;
    gap: 32px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(15, 111, 115, .12), rgba(214, 168, 49, .08)), #f6f8f2;
    border-bottom: 1px solid var(--line);
}

.tec-audit .tec-kicker {
    margin: 0 0 10px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tec-audit h2 {
    margin: 0;
    max-width: 680px;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: 0;
}

.tec-audit h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
}

.tec-audit h4 {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0;
}

.tec-audit .tec-lede {
    max-width: 690px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.65;
}

.tec-audit .tec-warning {
    justify-self: end;
    width: 100%;
    max-width: 360px;
    background: #fff8e1;
    border: 1px solid #efd27a;
    border-radius: 8px;
    padding: 18px;
    font-size: 14px;
    line-height: 1.55;
}

.tec-audit .tec-warning strong {
    display: block;
    margin-bottom: 6px;
}

.tec-audit .tec-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.tec-audit .tec-stat {
    background: var(--panel);
    padding: 18px 20px;
}

.tec-audit .tec-stat span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.tec-audit .tec-stat b {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0;
}

.tec-audit .tec-stat small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.tec-audit .tec-section {
    padding: 28px 34px;
    border-bottom: 1px solid var(--line);
}

.tec-audit .tec-section p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.55;
}

.tec-audit .tec-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.tec-audit .tec-section-head h3 {
    margin-bottom: 6px;
}

.tec-audit .tec-section-head p {
    margin: 0;
}

.tec-audit .tec-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    background: #eef3ed;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 4px;
}

.tec-audit .tec-switch button {
    min-width: 86px;
    min-height: 34px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.tec-audit .tec-switch button.is-active {
    background: var(--teal);
    color: #fff;
}

.tec-audit .tec-ireland-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 18px;
}

.tec-audit .tec-ranking-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.tec-audit .tec-ranking-panel strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.3;
}

.tec-audit .tec-ranking-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.tec-audit .tec-ranking-state {
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    text-align: center;
}

.tec-audit .tec-ranking-list {
    display: grid;
    gap: 10px;
}

.tec-audit .tec-rank-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    background: #f7faf8;
    border: 1px solid #e8ede7;
    border-radius: 8px;
    padding: 13px 14px;
}

.tec-audit .tec-rank-row-missing {
    background: #fff;
}

.tec-audit .tec-rank-row-missing .tec-rank-position {
    background: #8a918d;
}

.tec-audit .tec-rank-row-missing .tec-rank-metrics span {
    color: var(--muted);
    font-weight: 700;
}

.tec-audit .tec-rank-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    font-weight: 900;
    line-height: 1;
}

.tec-audit .tec-rank-body strong {
    display: block;
    line-height: 1.25;
}

.tec-audit .tec-rank-body span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.tec-audit .tec-rank-body span + span {
    margin-top: 2px;
}

.tec-audit .tec-rank-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.tec-audit .tec-rank-metrics span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.tec-audit .tec-rank-empty {
    padding: 16px;
    background: #f7faf8;
    border: 1px solid #e8ede7;
    border-radius: 8px;
    color: var(--muted);
    line-height: 1.5;
}

.tec-audit .tec-ranking-note {
    margin: 12px 0 0;
    padding: 13px 14px;
    background: #fff8e1;
    border: 1px solid #efd27a;
    border-radius: 8px;
    color: #4f4421;
    line-height: 1.55;
}

.tec-audit .tec-ranking-state span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.tec-audit .tec-ranking-state b {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.tec-audit .tec-summary-item {
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
}

.tec-audit .tec-summary-item span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.tec-audit .tec-summary-item b {
    display: block;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.tec-audit .tec-summary-highlight {
    background: #fff8e1;
    border-color: #efd27a;
}

.tec-audit .tec-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(20, 33, 31, .04);
}

.tec-audit table {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
    font-size: 14px;
}

.tec-audit th {
    vertical-align: top;
    text-align: left;
    background: #eef3ed;
    color: #26312e;
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    line-height: 1.3;
    white-space: nowrap;
}

.tec-audit td {
    vertical-align: top;
    padding: 17px 16px;
    border-bottom: 1px solid #edf0eb;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.tec-audit td + td,
.tec-audit th + th {
    border-left: 1px solid #edf0eb;
}

.tec-audit tbody tr:nth-child(even) td {
    background: #fbfcf8;
}

.tec-audit td span {
    display: block;
    color: var(--muted);
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45;
}

.tec-audit td strong {
    line-height: 1.3;
}

.tec-audit a {
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

.tec-audit a:hover {
    text-decoration: underline;
}

.tec-audit .tec-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 108px;
    width: 108px;
    min-width: 108px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.tec-audit .tec-badge-complete {
    background: var(--green);
}

.tec-audit .tec-badge-partial {
    background: var(--amber);
}

.tec-audit .tec-badge-incomplete {
    background: var(--red);
}

.tec-audit .tec-formula {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tec-audit .tec-guide {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 16px;
    margin-top: 16px;
}

.tec-audit .tec-guide-card {
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.tec-audit .tec-status-list {
    display: grid;
    gap: 10px;
}

.tec-audit .tec-status-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #e8ede7;
    border-radius: 8px;
    padding: 12px;
    min-height: 64px;
}

.tec-audit .tec-status-item p {
    align-self: center;
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.55;
}

.tec-audit .tec-term-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.tec-audit .tec-term {
    background: #fff;
    border: 1px solid #e8ede7;
    border-radius: 8px;
    padding: 12px;
}

.tec-audit .tec-term dt {
    margin: 0 0 4px;
    font-weight: 800;
    line-height: 1.25;
}

.tec-audit .tec-term dd {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.tec-audit .tec-rule {
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    line-height: 1.5;
}

.tec-audit .tec-source-table {
    min-width: 920px;
    table-layout: fixed;
}

.tec-audit .tec-recon-table {
    min-width: 980px;
}

.tec-audit .tec-country-cell {
    width: 22%;
    min-width: 150px;
}

.tec-audit .tec-rank-cell {
    width: 108px;
    min-width: 108px;
    color: var(--muted);
    font-weight: 800;
    white-space: nowrap;
}

.tec-audit .tec-country-cell strong {
    display: block;
}

.tec-audit .tec-country-cell span {
    display: block;
    max-width: 100%;
    margin-top: 7px;
    padding-left: 0;
    border-left: 0;
    line-height: 1.45;
}

.tec-audit .tec-status-cell {
    width: 136px;
    min-width: 136px;
    text-align: center;
    vertical-align: top;
}

.tec-audit .tec-status-cell .tec-badge {
    margin: 1px auto 0;
}

.tec-audit .tec-source-cell {
    width: 26%;
}

.tec-audit .tec-price-cell {
    width: 18%;
    min-width: 150px;
}

.tec-audit .tec-date-cell {
    width: 22%;
}

.tec-audit .tec-price-chip {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0 0 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7faf8;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.tec-audit .tec-price-cell strong,
.tec-audit .tec-date-cell strong {
    display: block;
    line-height: 1.35;
}

.tec-audit .tec-price-cell small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.tec-audit .tec-long-cell {
    width: 18%;
}

.tec-audit .tec-fuel-line {
    padding: 0 0 10px;
    line-height: 1.62;
}

.tec-audit .tec-fuel-line + .tec-fuel-line {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf0eb;
}

.tec-audit .tec-fuel-line:last-child {
    padding-bottom: 0;
}

.tec-audit .tec-fuel-line b {
    display: inline-block;
    min-width: 0;
    margin-right: 4px;
    color: var(--teal);
}

.tec-audit .tec-number-cell,
.tec-audit .tec-nowrap {
    white-space: nowrap;
}

.tec-audit .tec-number-cell {
    font-variant-numeric: tabular-nums;
}

.tec-audit .tec-foot {
    padding: 20px 34px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    background: #f4f6f2;
}

@media (max-width: 860px) {
    .tec-audit .tec-hero,
    .tec-audit .tec-formula,
    .tec-audit .tec-guide {
        grid-template-columns: 1fr;
    }

    .tec-audit .tec-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tec-audit .tec-ireland-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tec-audit .tec-warning {
        justify-self: stretch;
        max-width: none;
    }

    .tec-audit .tec-ranking-panel {
        grid-template-columns: 1fr;
    }

    .tec-audit .tec-section-head {
        display: grid;
    }
}

@media (max-width: 560px) {
    .tec-audit .tec-hero,
    .tec-audit .tec-section,
    .tec-audit .tec-foot {
        padding-left: 18px;
        padding-right: 18px;
    }

    .tec-audit .tec-stats {
        grid-template-columns: 1fr;
    }

    .tec-audit .tec-ireland-summary {
        grid-template-columns: 1fr;
    }

    .tec-audit .tec-summary-item b {
        font-size: 20px;
    }

    .tec-audit .tec-status-item,
    .tec-audit .tec-term-list {
        grid-template-columns: 1fr;
    }

    .tec-audit .tec-switch {
        width: 100%;
    }

    .tec-audit .tec-switch button {
        flex: 1 1 0;
    }

    .tec-audit .tec-rank-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .tec-audit .tec-rank-metrics {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 58px;
    }

    .tec-audit th,
    .tec-audit td {
        padding: 14px 13px;
    }

    .tec-audit h2 {
        font-size: 30px;
        line-height: 1.15;
    }
}
