/* Native MyBYD comparison: full-width scan first, details on demand. */
body.mu-tariffs #main #ev-tariffs .ev-tariff-workspace{grid-template-columns:minmax(0,1fr)!important;gap:2rem!important}
body.mu-tariffs #main #ev-tariffs #ev-tariff-form>.ev-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.mu-tariffs #main #ev-tariffs .ev-results{position:static!important;width:100%;max-width:100%;min-width:0}
#ev-comparison-summary{min-width:0;scroll-margin-top:6rem}
#ev-tariffs .ev-table-scroll{overflow:auto;max-width:100%;border:1px solid #494949;border-radius:16px;overscroll-behavior-x:contain}
#ev-tariffs .ev-table-scroll:focus-visible,#ev-tariffs .ev-table-name:focus-visible{outline:3px solid #d4ec57;outline-offset:3px}
#ev-tariffs .ev-compare-table{border-collapse:separate;border-spacing:0;width:100%;min-width:950px;margin:0;background:#191919;color:#f4f4f4;text-align:left}
#ev-tariffs .ev-compare-table caption{text-align:left;padding:1rem 1.1rem;color:#ccc;font-size:.9rem}
#ev-tariffs .ev-compare-table :is(th,td){padding:1rem .8rem;border:0;border-top:1px solid #3c3c3c;vertical-align:top;line-height:1.5;font-size:.95rem;color:#f4f4f4;background:transparent}
#ev-tariffs .ev-compare-table thead th{font-weight:700;background:#242424;color:white;font-size:.8rem;letter-spacing:0;text-transform:none}
#ev-tariffs .ev-compare-table tbody th{width:25%;min-width:200px;font-weight:600}
#ev-tariffs .ev-compare-table td{font-variant-numeric:tabular-nums;white-space:nowrap}
#ev-tariffs .ev-compare-table td:nth-child(2){font-size:1.12rem;font-weight:800;color:#d4ec57}
#ev-tariffs .ev-compare-table small{display:block;font-size:.75rem;line-height:1.5;white-space:normal;font-weight:400;color:#c6c6c6;margin-top:.35rem;max-width:230px}
#ev-tariffs .ev-lowest-row{background:#d4ec5709}
#ev-tariffs .ev-table-name{display:inline!important;width:auto!important;padding:0!important;border:0!important;background:none!important;color:#d4ec57!important;text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:4px;text-align:left;font:inherit!important;line-height:1.5!important;cursor:pointer;min-height:44px}
#ev-tariffs .ev-all-offers{margin:1.5rem 0;border:1px solid #494949;border-radius:16px;padding:0 1rem}
#ev-tariffs .ev-all-offers>summary{color:#f4f4f4!important;min-height:52px}
#ev-tariffs .ev-all-offers>summary:after{content:'+';font-size:1.4rem;color:#d4ec57}
#ev-tariffs .ev-all-offers[open]>summary:after{content:'−'}
body.mu-tariffs #main #ev-tariffs :is(#ev-result-cards,#ev-kept-cards){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:1.1rem;align-items:start}
body.mu-tariffs #main #ev-tariffs .ev-rate-card{min-width:0;border:1px solid #424242!important;border-radius:16px!important;padding:1.15rem!important;margin:0 0 1rem!important;background:#1e1e1e!important;scroll-margin-top:6rem}
#ev-tariffs .ev-table-hint{font-size:.9rem!important}
@media(max-width:850px){body.mu-tariffs #main #ev-tariffs #ev-tariff-form>.ev-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.mu-tariffs #main #ev-tariffs #ev-tariff-form>.ev-fields{grid-template-columns:minmax(0,1fr)!important}#ev-tariffs .ev-compare-table tbody th{position:sticky;left:0;z-index:1;background:#202020;min-width:128px;max-width:128px;width:128px;box-shadow:3px 0 6px #0003}#ev-tariffs .ev-compare-table :is(th,td){padding:.85rem .65rem}#ev-tariffs .ev-compare-table small{max-width:128px}#ev-tariffs .ev-compare-table{min-width:840px}#ev-tariffs .ev-all-offers{padding:0 .7rem}#ev-tariffs .ev-results{padding:1rem!important}}

@media(max-width:600px){#ev-tariffs .ev-compare-table thead th:first-child{position:sticky;left:0;z-index:2;background:#242424}}

/* Simple everyday view: costs first, technical settings only on request. */
body.mu-tariffs #main #ev-tariffs .ev-tariff-hero{display:block!important;max-width:900px;padding-bottom:1rem!important}
#ev-tariffs .tf-energy-art,#ev-tariffs .tf-start,#ev-tariffs .tf-step{display:none!important}
body.mu-tariffs #main #ev-tariffs #ev-tariff-form>.ev-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ev-tariffs #ev-example-settings{font-size:.85rem!important;color:#bdbdbd!important}
#ev-tariffs .ev-compare-table{min-width:0!important;table-layout:fixed}
#ev-tariffs .ev-compare-table tbody th{width:50%;min-width:0;max-width:none}
#ev-tariffs .ev-compare-table thead th:first-child{width:50%}
#ev-tariffs .ev-compare-table td{width:25%}
#ev-tariffs .ev-mobile-month{display:none!important}
#ev-tariffs .ev-saved-comparisons{margin-top:1.25rem;border-top:1px solid #414141}
@media(max-width:600px){body.mu-tariffs #main #ev-tariffs #ev-tariff-form>.ev-fields{grid-template-columns:minmax(0,1fr)!important}#ev-tariffs .ev-compare-table :is(th,td){padding:.8rem .6rem}#ev-tariffs .ev-compare-table tbody th{position:static!important;width:50%;min-width:0;max-width:none;box-shadow:none}#ev-tariffs .ev-compare-table thead th:first-child{position:static!important}#ev-tariffs .ev-compare-table tr>:nth-child(3){display:none}#ev-tariffs .ev-compare-table small{max-width:none}#ev-tariffs .ev-mobile-month{display:block!important}#ev-tariffs .ev-compare-table td:nth-child(2){font-size:1rem}}

#ev-tariffs .ev-loss-settings{grid-column:1/-1;border-top:1px solid #414141}#ev-tariffs .ev-loss-settings summary{font-size:.9rem!important}
