.jep-dashboard {
    --jep-accent: #2f6b4f;
    --jep-accent-dark: #24523d;
    --jep-text: #26332d;
    --jep-muted: #5f6e66;
    --jep-border: #dde5e0;
    --jep-soft: #f4f7f5;
    --jep-surface: #ffffff;
    --jep-heading: #1d2923;
    width: 100%;
    color: var(--jep-text);
    font: inherit;
    line-height: 1.5;
    text-transform: none;
}

.jep-dashboard *,
.jep-dashboard *::before,
.jep-dashboard *::after {
    box-sizing: border-box;
}

.jep-dashboard button,
.jep-dashboard input,
.jep-dashboard a,
.jep-dashboard h2,
.jep-dashboard h3,
.jep-dashboard p,
.jep-dashboard span,
.jep-dashboard strong {
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.jep-dashboard__header {
    display: flex;
    gap: 18px 28px;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 17px;
}

.jep-dashboard__title-group {
    display: flex;
    flex: 1 1 auto;
    gap: 9px;
    align-items: center;
    min-width: 0;
}

.jep-dashboard__header h2 {
    flex: 0 1 auto;
    margin: 0;
    color: var(--jep-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.18;
}

.jep-page-info {
    position: relative;
    z-index: 20;
    display: inline-flex;
    flex: 0 0 auto;
}

.jep-page-info__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1.5px solid var(--jep-accent);
    border-radius: 50%;
    outline: 0;
    background: #fff;
    color: var(--jep-accent-dark);
    font-size: 13px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    cursor: help;
}

.jep-page-info__button:hover,
.jep-page-info__button:focus-visible {
    background: #edf7f1;
    box-shadow: 0 0 0 3px rgb(47 107 79 / 13%);
}

.jep-page-info__popover {
    position: absolute;
    top: calc(100% + 11px);
    right: -8px;
    z-index: 30;
    display: grid;
    gap: 9px;
    visibility: hidden;
    width: min(470px, calc(100vw - 40px));
    max-height: min(560px, 75vh);
    padding: 17px 18px;
    overflow-y: auto;
    border: 1px solid #cbdad2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(31 49 40 / 16%);
    color: var(--jep-text);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    opacity: 0;
    text-align: left;
    transform: translateY(-4px);
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.jep-page-info__popover::before,
.jep-page-info__popover::after {
    position: absolute;
    right: 11px;
    width: 0;
    height: 0;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    content: "";
}

.jep-page-info__popover::before {
    top: -8px;
    border-bottom: 8px solid #cbdad2;
}

.jep-page-info__popover::after {
    top: -7px;
    border-bottom: 8px solid #fff;
}

.jep-page-info:hover .jep-page-info__popover,
.jep-page-info:focus-within .jep-page-info__popover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.jep-page-info__title {
    color: var(--jep-heading);
    font-size: 16px;
    line-height: 1.25;
}

.jep-page-info__intro,
.jep-page-info__detail,
.jep-page-info__note {
    display: block;
}

.jep-page-info__subtitle {
    margin-top: 2px;
    color: var(--jep-heading);
    font-size: 13px;
}

.jep-page-info__steps {
    display: grid;
    gap: 6px;
    counter-reset: jep-info-step;
}

.jep-page-info__steps > span {
    position: relative;
    display: block;
    padding-left: 25px;
    counter-increment: jep-info-step;
}

.jep-page-info__steps > span::before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e7f2eb;
    color: var(--jep-accent-dark);
    font-size: 10px;
    font-weight: 700;
    content: counter(jep-info-step);
}

.jep-page-info__detail {
    padding-top: 9px;
    border-top: 1px solid var(--jep-border);
}

.jep-page-info__detail strong,
.jep-page-info__note strong {
    color: var(--jep-heading);
}

.jep-page-info__note {
    padding: 9px 10px;
    border-radius: 7px;
    background: #f3f8f5;
}

.jep-dashboard__header p {
    flex: 0 1 auto;
    margin: 0;
    color: var(--jep-muted);
    font-size: 13px;
    line-height: 1.35;
    text-align: right;
}

.jep-dashboard__status,
.jep-dashboard__noscript {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--jep-border);
    border-radius: 10px;
    background: var(--jep-soft);
    color: var(--jep-muted);
}

.jep-dashboard__status--error,
.jep-dashboard__noscript {
    border-color: #e7c8c4;
    background: #fff7f6;
    color: #8a3028;
}

.jep-dashboard__overview {
    display: grid;
    grid-template-columns: minmax(330px, 1fr) minmax(500px, 1.35fr);
    gap: 18px;
    align-items: stretch;
}

.jep-current-card,
.jep-summary-card,
.jep-upcoming,
.jep-chart-card {
    border: 1px solid var(--jep-border);
    background: var(--jep-surface);
}

.jep-current-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 20px 22px;
    border-radius: 12px;
}

.jep-current-card__heading {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
}

.jep-current-card h3,
.jep-upcoming h3 {
    margin: 3px 0 0;
    color: var(--jep-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.jep-vat-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid #aebbb4;
    border-radius: 7px;
}

.jep-vat-toggle button {
    min-height: 34px;
    margin: 0;
    padding: 6px 13px;
    border: 0;
    border-right: 1px solid #aebbb4;
    border-radius: 0;
    background: var(--jep-surface);
    color: var(--jep-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.jep-vat-toggle button:last-child {
    border-right: 0;
}

.jep-vat-toggle button[aria-pressed="true"] {
    background: var(--jep-accent);
    color: #ffffff;
}

.jep-vat-toggle button:hover,
.jep-vat-toggle button:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 3px rgb(47 107 79 / 18%);
}

.jep-current-card__price {
    display: flex;
    gap: 11px;
    align-items: baseline;
    margin: 12px 0 2px;
}

.jep-current-card__price strong {
    color: var(--jep-accent);
    font-size: clamp(48px, 5.2vw, 60px);
    font-weight: 700;
    line-height: 0.98;
    font-variant-numeric: tabular-nums;
}

.jep-current-card__price span {
    color: var(--jep-heading);
    font-size: 18px;
    white-space: nowrap;
}

.jep-current-card__time {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
    align-items: baseline;
    margin: 6px 0 0;
    color: var(--jep-heading);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.jep-current-card__countdown {
    color: var(--jep-muted);
    font-size: 13px;
}

.jep-current-card__countdown::before {
    margin-right: 7px;
    content: "·";
}

.jep-current-card__next-change {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 7px;
    align-items: baseline;
    margin: 5px 0 0;
    color: var(--jep-muted);
    font-size: 12px;
}

.jep-current-card__next-change strong {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.jep-current-card__next-delta {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.jep-current-card__next-delta--down {
    color: var(--jep-accent);
}

.jep-current-card__next-delta--up {
    color: #c43c31;
}

.jep-current-card__next-delta--flat {
    color: var(--jep-muted);
}

.jep-current-card__comparison {
    display: flex;
    gap: 10px;
    align-items: baseline;
    min-height: 34px;
    margin: 14px 0 0;
    padding-top: 13px;
    padding-right: 112px;
    border-top: 1px solid var(--jep-border);
    color: var(--jep-heading);
    font-size: 14px;
}

.jep-price-illustration {
    position: absolute;
    right: 17px;
    bottom: 11px;
    width: 108px;
    height: 86px;
    pointer-events: none;
}

.jep-price-illustration__piggy {
    position: absolute;
    right: 1px;
    bottom: 0;
    width: 110px;
    height: 112px;
    bottom: -13px;
    background: url("images/energy-piggy.png") center / contain no-repeat;
}

.jep-price-illustration__piggy::before,
.jep-price-illustration__piggy::after {
    position: absolute;
    top: 30.5%;
    width: 3.6%;
    height: 5.2%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 27%, #eef8f2 0 14%, transparent 17%), var(--jep-accent-dark);
    content: "";
}

.jep-price-illustration__piggy::before {
    left: 29.8%;
}

.jep-price-illustration__piggy::after {
    left: 36.5%;
}

.jep-price-illustration__coin,
.jep-price-illustration__clock {
    position: absolute;
    display: none;
    border-radius: 50%;
}

.jep-price-illustration__coin {
    width: 23px;
    height: 23px;
    border: 2px solid currentColor;
    background: #e5f1ea;
    color: var(--jep-accent);
    box-shadow: 0 2px 4px rgb(31 49 40 / 12%);
}

.jep-price-illustration__coin::before {
    position: absolute;
    top: 4px;
    left: 7px;
    width: 7px;
    height: 11px;
    background: currentColor;
    clip-path: polygon(55% 0, 100% 0, 66% 40%, 100% 40%, 27% 100%, 45% 54%, 10% 54%);
    content: "";
}

.jep-price-illustration--cheap .jep-price-illustration__coin {
    top: 0;
    right: 25px;
    display: block;
    animation: jep-coin-drop 900ms cubic-bezier(.2, .75, .35, 1) both;
}

.jep-price-illustration--typical .jep-price-illustration__coin {
    right: 72px;
    bottom: 4px;
    display: block;
    border-color: #b58008;
    background: #fff6d7;
    color: #b58008;
}

.jep-price-illustration--expensive .jep-price-illustration__coin {
    right: 72px;
    bottom: 4px;
    display: block;
    border-color: #c9483a;
    background: #fff0ed;
    color: #c9483a;
}

.jep-price-illustration--expensive .jep-price-illustration__clock {
    top: 1px;
    right: 0;
    display: block;
    width: 25px;
    height: 25px;
    border: 2px solid #c9483a;
    background: #fff;
}

.jep-price-illustration__clock::before,
.jep-price-illustration__clock::after {
    position: absolute;
    left: 11px;
    border-radius: 2px;
    background: #c9483a;
    content: "";
}

.jep-price-illustration__clock::before {
    top: 4px;
    width: 2px;
    height: 8px;
}

.jep-price-illustration__clock::after {
    top: 11px;
    width: 7px;
    height: 2px;
    transform: rotate(35deg);
    transform-origin: 1px 1px;
}

@keyframes jep-coin-drop {
    from {
        opacity: 0;
        transform: translateY(-9px) rotate(-12deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

.jep-current-card__comparison::before {
    color: var(--jep-accent);
    font-size: 23px;
    line-height: 1;
}

.jep-current-card__comparison[data-direction="down"]::before {
    content: "↓";
}

.jep-current-card__comparison[data-direction="up"]::before {
    color: #c9483a;
    content: "↑";
}

.jep-current-card__comparison[data-direction="near"]::before {
    content: "•";
}

.jep-dashboard__primary,
.jep-dashboard__recommendations {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.jep-dashboard__primary {
    grid-template-rows: minmax(250px, 1fr) max-content;
}

.jep-dashboard__recommendations {
    grid-template-rows: max-content 1fr;
}

.jep-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.jep-summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 13px 9px;
    border-radius: 10px;
    text-align: center;
}

.jep-summary-card h3 {
    margin: 0 0 6px;
    color: var(--jep-heading);
    font-size: 14px;
    font-weight: 500;
}

.jep-summary-card strong {
    color: var(--jep-accent);
    font-size: clamp(29px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.jep-summary-card span {
    margin-top: 5px;
    color: var(--jep-heading);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.jep-summary-card--maximum strong {
    color: #c43c31;
}

.jep-dashboard .jep-price--cheap {
    color: var(--jep-accent);
}

.jep-dashboard .jep-price--typical {
    color: #a66f00;
}

.jep-dashboard .jep-price--expensive {
    color: #c43c31;
}

.jep-upcoming {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    min-height: 54px;
    padding: 4px 14px;
    border-radius: 10px;
}

.jep-upcoming h3 {
    margin: 0 17px 0 0;
    font-weight: 400;
    white-space: nowrap;
}

.jep-upcoming__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jep-upcoming__item {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 0 3px;
    align-items: baseline;
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
    border-right: 1px solid var(--jep-border);
    text-align: center;
}

.jep-upcoming__item:last-child {
    border-right: 0;
}

.jep-upcoming__item time {
    grid-column: 1 / 3;
    justify-self: center;
    color: var(--jep-heading);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.jep-upcoming__item strong {
    grid-column: 1;
    margin: 1px 0;
    color: var(--jep-accent);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.jep-upcoming__item span {
    grid-column: 2;
    color: var(--jep-muted);
    font-size: 10px;
}

.jep-upcoming__empty {
    grid-column: 1 / -1;
    margin: 5px 0;
    color: var(--jep-muted);
}

.jep-chart-card {
    margin-top: 18px;
    padding: 0 20px 18px;
    border-radius: 12px;
}

.jep-chart-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 58px;
    border-bottom: 1px solid var(--jep-border);
}

.jep-chart-toolbar__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    align-items: center;
    justify-content: flex-end;
    margin: 10px 8px 10px;
}

.jep-chart-interval-toggle {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid #b9c9c0;
    border-radius: 7px;
}

.jep-chart-interval-toggle button {
    min-width: 65px;
    margin: 0;
    padding: 6px 10px;
    border: 0;
    border-right: 1px solid #b9c9c0;
    border-radius: 0;
    background: #fff;
    color: var(--jep-heading);
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

.jep-chart-interval-toggle button:last-child {
    border-right: 0;
}

.jep-chart-interval-toggle button[aria-pressed="true"] {
    background: var(--jep-accent);
    color: #fff;
    font-weight: 700;
}

.jep-chart-interval-toggle button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--jep-accent-dark);
    outline-offset: -2px;
}

.jep-day-tabs {
    display: flex;
    gap: 28px;
    align-items: flex-end;
    min-height: 58px;
}

.jep-day-tabs button {
    align-self: stretch;
    min-height: 48px;
    margin: 0;
    padding: 14px 8px 10px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--jep-text);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}

.jep-day-tabs button[aria-selected="true"] {
    border-bottom-color: var(--jep-accent);
    color: var(--jep-accent);
    font-weight: 700;
}

.jep-day-tabs button:hover,
.jep-day-tabs button:focus-visible {
    color: var(--jep-accent-dark);
    outline: 2px solid transparent;
}

.jep-day-tabs button[data-jep-tomorrow-button] > span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.jep-day-tabs__status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a3aca7;
    cursor: help;
}

.jep-day-tabs__status-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.jep-day-tabs__status-dot[data-status="available"] {
    background: var(--jep-accent);
}

.jep-day-tabs__status-dot[data-status="waiting"] {
    background: #d8a11d;
}

.jep-day-tabs__status-dot[data-status="partial"] {
    background: #c9483a;
}

.jep-day-tabs__status-dot[data-status="stale"] {
    background: #7d8882;
}

.jep-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: flex-end;
    margin: 0;
    color: var(--jep-muted);
    font-size: 13px;
}

.jep-chart-legend > span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.jep-chart-legend__typical {
    position: relative;
}

.jep-chart-legend__info {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    cursor: help;
}

.jep-chart-legend__info:focus-visible {
    outline: 2px solid var(--jep-accent);
    outline-offset: 3px;
}

.jep-day-tabs__tooltip,
.jep-chart-legend__tooltip {
    position: absolute;
    z-index: 8;
    bottom: calc(100% + 9px);
    left: 50%;
    display: grid;
    gap: 4px;
    width: max-content;
    max-width: min(280px, calc(100vw - 32px));
    padding: 9px 11px;
    border: 1px solid var(--jep-border);
    border-radius: 7px;
    background: var(--jep-surface);
    box-shadow: 0 8px 20px rgb(31 49 40 / 14%);
    color: var(--jep-heading);
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(2px);
    pointer-events: none;
    transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
}

.jep-day-tabs__status-wrap:hover .jep-day-tabs__tooltip,
.jep-day-tabs button[data-jep-tomorrow-button]:focus-visible .jep-day-tabs__tooltip,
.jep-chart-legend__typical:hover .jep-chart-legend__tooltip,
.jep-chart-legend__typical:focus-within .jep-chart-legend__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.jep-chart-legend__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.jep-chart-legend__dot--cheap {
    background: var(--jep-accent);
}

.jep-chart-legend__dot--typical {
    background: #d8a11d;
}

.jep-chart-legend__dot--expensive {
    background: #c9483a;
}

.jep-best-window {
    min-width: 0;
    padding: 15px 17px;
    border: 1px solid var(--jep-border);
    border-radius: 9px;
    background: #fbfdfc;
}

.jep-dashboard__recommendations .jep-best-window {
    min-height: 260px;
}

.jep-best-window h4 {
    margin: 0;
    color: var(--jep-heading);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.jep-price-insights__heading {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.jep-best-window-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid #b9c9c0;
    border-radius: 6px;
}

.jep-best-window-toggle button {
    min-width: 45px;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    border-right: 1px solid #b9c9c0;
    border-radius: 0;
    background: #fff;
    color: var(--jep-heading);
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
}

.jep-best-window-toggle button:last-child {
    border-right: 0;
}

.jep-best-window-toggle button[aria-pressed="true"] {
    background: var(--jep-accent);
    color: #fff;
    font-weight: 700;
}

.jep-best-window-toggle button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--jep-accent-dark);
    outline-offset: -2px;
}

.jep-best-window__result {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    gap: 3px 9px;
    align-items: baseline;
    margin-top: 13px;
    padding: 10px;
    border: 1px solid var(--jep-border);
    border-radius: 8px;
    background: #fff;
}

.jep-best-window__result[role="button"],
.jep-top-intervals__item[role="button"] {
    cursor: pointer;
    transition: background-color 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.jep-best-window__result[role="button"] {
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.jep-best-window__result[role="button"]:hover,
.jep-top-intervals__item[role="button"]:hover {
    border-color: #b7c9bf;
    background: #f3f8f5;
}

.jep-best-window__result[role="button"]:focus-visible,
.jep-top-intervals__item[role="button"]:focus-visible {
    outline: 2px solid var(--jep-accent);
    outline-offset: 2px;
}

.jep-best-window__time {
    grid-column: 2;
    color: var(--jep-accent-dark);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    white-space: nowrap;
}

.jep-best-window__rank {
    display: inline-flex;
    grid-row: 1;
    align-self: baseline;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e5f1ea;
    color: var(--jep-accent-dark);
    font-size: 11px;
    font-weight: 700;
}

.jep-best-window__price {
    display: flex;
    grid-column: 4;
    gap: 4px 7px;
    align-items: baseline;
    justify-content: flex-end;
    justify-self: end;
    align-self: baseline;
    color: var(--jep-muted);
    font-size: 11px;
    white-space: nowrap;
}

.jep-best-window__price strong {
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.jep-best-window__comparison {
    grid-column: 2 / 5;
    margin: 0;
    color: var(--jep-muted);
    font-size: 11px;
    line-height: 1.35;
    text-align: right;
}

.jep-best-window__status {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    align-self: baseline;
    color: var(--jep-accent);
    font-size: 11px;
    line-height: 1.2;
}

.jep-best-window__result--past > :not(.jep-best-window__status) {
    opacity: 0.58;
}

.jep-best-window__result--past.jep-best-window__result--selected > * {
    opacity: 1;
}

.jep-best-window__result--past .jep-best-window__status {
    padding: 2px 7px;
    border: 1px solid #d8dedb;
    border-radius: 999px;
    background: #f7f8f7;
    color: #53645b;
    font-weight: 700;
}

.jep-best-window__result--current .jep-best-window__status {
    font-weight: 700;
}

.jep-best-window__comparison[data-direction="down"] {
    color: var(--jep-accent);
}

.jep-best-window__comparison[data-direction="up"] {
    color: #b03b30;
}

.jep-best-window__alternatives {
    margin-top: 15px;
    padding-top: 2px;
}

.jep-best-window__alternatives h5 {
    margin: 0 0 11px;
    color: var(--jep-heading);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.jep-top-intervals__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.jep-top-intervals__item {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    gap: 3px 9px;
    align-items: baseline;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--jep-border);
    border-radius: 8px;
    background: #fff;
    text-align: left;
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.jep-top-intervals__rank {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-self: baseline;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #e5f1ea;
    color: var(--jep-accent-dark);
    font-size: 11px;
    font-weight: 700;
}

.jep-top-intervals__item time {
    grid-column: 2;
    color: var(--jep-heading);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.jep-top-intervals__price {
    grid-column: 4;
    display: inline-flex;
    gap: 5px;
    align-items: baseline;
    justify-content: flex-end;
    justify-self: end;
    align-self: baseline;
    margin-top: 0;
    white-space: nowrap;
}

.jep-top-intervals__item strong {
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
}

.jep-top-intervals__unit {
    color: var(--jep-muted);
    font-size: 11px;
}

.jep-top-intervals__status {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    align-self: baseline;
    margin-top: 0;
    color: var(--jep-accent);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
}

.jep-top-intervals__comparison {
    grid-column: 2 / 5;
    margin: 0;
    color: var(--jep-muted);
    font-size: 11px;
    line-height: 1.35;
    text-align: right;
}

.jep-top-intervals__comparison[data-direction="down"] {
    color: var(--jep-accent);
}

.jep-top-intervals__comparison[data-direction="up"] {
    color: #b03b30;
}

.jep-top-intervals__item--past {
    opacity: 1;
}

.jep-top-intervals__item--past > :not(.jep-top-intervals__status) {
    opacity: 0.58;
}

.jep-top-intervals__item--past.jep-top-intervals__item--selected > * {
    opacity: 1;
}

.jep-top-intervals__item--past .jep-top-intervals__status {
    margin-bottom: 0;
    padding: 2px 7px;
    border: 1px solid #d8dedb;
    border-radius: 999px;
    background: #f7f8f7;
    color: #53645b;
    font-weight: 700;
}

.jep-top-intervals__item--current .jep-top-intervals__status {
    font-weight: 700;
}

.jep-best-window__result--selected,
.jep-top-intervals__item--selected {
    border-color: var(--jep-accent);
    background: #edf7f1;
    box-shadow: inset 0 0 0 1px rgb(47 107 79 / 24%);
}

.jep-price-insights__empty {
    margin: 12px 0 0;
    color: var(--jep-muted);
    font-size: 13px;
}

.jep-price-table {
    margin-top: 18px;
    border: 1px solid var(--jep-border);
    border-radius: 12px;
    background: var(--jep-surface);
}

.jep-price-table summary {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--jep-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.jep-price-table summary::-webkit-details-marker {
    display: none;
}

.jep-price-table summary::after {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-left: 2px;
    border-right: 2px solid var(--jep-accent);
    border-bottom: 2px solid var(--jep-accent);
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform 150ms ease;
}

.jep-price-table[open] summary::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.jep-price-table summary:focus-visible {
    outline: 2px solid var(--jep-accent);
    outline-offset: 3px;
}

.jep-price-table summary > span {
    margin-right: auto;
}

.jep-price-table summary small {
    color: var(--jep-muted);
    font-size: 12px;
    font-weight: 400;
}

.jep-price-table__scroll {
    overflow-x: auto;
    margin: 0 20px 18px;
    border: 1px solid var(--jep-border);
    border-radius: 8px;
    background: #f7faf8;
}

.jep-price-table table {
    table-layout: fixed;
    width: 100%;
    min-width: 430px;
    border: 0;
    border-collapse: separate;
    border-spacing: 4px 3px;
    background: transparent;
    font-size: 13px;
}

.jep-price-table th,
.jep-price-table td {
    height: 34px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
}

.jep-price-table th {
    border-color: #dfe7e2;
    background: #f2f6f4;
    color: var(--jep-muted);
    font-size: 12px;
    font-weight: 600;
}

.jep-price-table thead th:first-child {
    width: 84px;
}

.jep-price-table tbody th {
    position: relative;
    border-color: #e5ebe7;
    background: #fff;
    color: var(--jep-heading);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.jep-price-table__row--current th {
    border-color: #c5ddcf;
    background: #e3eee8;
    color: var(--jep-accent-dark);
    font-weight: 700;
}

.jep-price-table__row--current th::before {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -5px;
    width: 5px;
    border-radius: 3px 0 0 3px;
    background: var(--jep-accent);
    content: "";
}

.jep-price-table__row--current td {
    box-shadow: 0 0 0 1px rgb(47 107 79 / 10%);
}

.jep-price-table__cell {
    position: relative;
    color: var(--jep-heading);
    transition: filter 120ms ease, box-shadow 120ms ease;
}

.jep-price-table__cell:hover {
    z-index: 1;
    filter: saturate(1.12) brightness(0.98);
}

.jep-price-table__cell strong {
    color: inherit;
    font-size: 14px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.jep-price-table__cell--cheap {
    border-color: #c9e0d2;
    background: #dfeee5;
    color: var(--jep-accent-dark);
}

.jep-price-table__cell--typical {
    border-color: #efd99f;
    background: #f8ebc8;
    color: #805900;
}

.jep-price-table__cell--expensive {
    border-color: #ebbbb5;
    background: #f5d9d5;
    color: #a8362c;
}

.jep-price-table__cell--current {
    z-index: 2;
    border-color: var(--jep-accent-dark);
    outline: 1px solid var(--jep-accent-dark);
    outline-offset: 0;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 75%) !important;
}

.jep-price-table__current-badge {
    position: absolute;
    top: 50%;
    right: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--jep-accent-dark);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.25;
    transform: translateY(-50%);
    white-space: nowrap;
}

.jep-price-table__cell--empty {
    border-color: #e3e8e5;
    background: #f5f7f6;
    color: #9ba7a1;
}

.jep-price-table__empty {
    padding: 22px !important;
    color: var(--jep-muted);
    text-align: center !important;
}

.jep-calculator {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(330px, 1fr) minmax(390px, 1.25fr);
    gap: 18px 26px;
    align-items: center;
    margin-top: 18px;
    padding: 17px 20px;
    border: 1px solid var(--jep-border);
    border-radius: 12px;
    background: #fbfdfc;
}

.jep-calculator__heading h3 {
    margin: 0 0 3px;
    color: var(--jep-heading);
    font-size: 17px;
    line-height: 1.3;
}

.jep-calculator__heading p,
.jep-calculator__note {
    margin: 0;
    color: var(--jep-muted);
    font-size: 12px;
    line-height: 1.35;
}

.jep-calculator__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.jep-calculator__fields label {
    display: grid;
    grid-template-rows: 18px 40px;
    gap: 5px;
    align-self: stretch;
    min-width: 0;
    color: var(--jep-muted);
    font-size: 12px;
    line-height: 1.25;
}

.jep-calculator__fields label > span:first-child {
    display: flex;
    align-items: flex-end;
    height: 18px;
    line-height: 16px;
}

.jep-calculator__input {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 40px;
    min-width: 0;
    border: 1px solid #b9c9c0;
    border-radius: 7px;
    background: #fff;
}

.jep-calculator__input:focus-within {
    border-color: var(--jep-accent);
    box-shadow: 0 0 0 2px rgb(47 107 79 / 14%);
}

.jep-calculator__input input {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 6px 8px 6px 11px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--jep-heading);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.jep-calculator__input > span {
    flex: 0 0 auto;
    padding: 0 10px 0 5px;
    color: var(--jep-muted);
    font-size: 12px;
}

.jep-calculator__results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
    align-items: center;
}

.jep-calculator__result {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: space-between;
    min-width: 0;
}

.jep-calculator__result + .jep-calculator__result {
    padding-left: 20px;
    border-left: 1px solid var(--jep-border);
}

.jep-calculator__result > span {
    display: grid;
    color: var(--jep-muted);
    font-size: 12px;
    line-height: 1.25;
}

.jep-calculator__result time {
    margin-top: 2px;
    color: var(--jep-heading);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.jep-calculator__result strong {
    flex: 0 0 auto;
    color: var(--jep-heading);
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}

.jep-calculator__result--best strong {
    color: var(--jep-accent);
}

.jep-calculator__saving {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    color: var(--jep-muted);
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
}

.jep-calculator__saving[data-direction="down"] {
    color: var(--jep-accent);
    font-weight: 600;
}

.jep-calculator-options {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid var(--jep-border);
}

.jep-calculator-options h4 {
    margin: 0 0 10px;
    color: var(--jep-heading);
    font-size: 14px;
    line-height: 1.3;
}

.jep-calculator-options__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.jep-calculator-options__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 3px 9px;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid var(--jep-border);
    border-radius: 8px;
    background: #fff;
    color: var(--jep-heading);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.jep-calculator-options__item:hover {
    border-color: #b7c9bf;
    background: #f3f8f5;
}

.jep-calculator-options__item:focus-visible {
    outline: 2px solid var(--jep-accent);
    outline-offset: 2px;
}

.jep-calculator-options__item--selected {
    border-color: var(--jep-accent);
    background: #edf7f1;
    box-shadow: inset 0 0 0 1px rgb(47 107 79 / 24%);
}

.jep-calculator-options__rank {
    display: inline-flex;
    grid-row: 1 / 3;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e5f1ea;
    color: var(--jep-accent-dark);
    font-size: 11px;
    font-weight: 700;
}

.jep-calculator-options__schedule {
    display: grid;
    min-width: 0;
}

.jep-calculator-options__schedule small {
    color: var(--jep-muted);
    font-size: 10px;
    line-height: 1.2;
}

.jep-calculator-options__schedule time {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.jep-calculator-options__item > strong {
    color: var(--jep-accent);
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}

.jep-calculator-options__saving {
    grid-column: 2 / 4;
    color: var(--jep-accent);
    font-size: 10px;
    line-height: 1.2;
    text-align: right;
}

.jep-calculator__note {
    grid-column: 1 / -1;
    padding-top: 9px;
    border-top: 1px solid var(--jep-border);
}

.jep-chart {
    position: relative;
    width: 100%;
    min-height: 290px;
    margin-top: 12px;
}

.jep-chart svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.jep-chart__grid {
    stroke: #dbe3df;
    stroke-dasharray: 3 4;
    stroke-width: 1;
}

.jep-chart__tick {
    stroke: #9ba9a2;
    stroke-width: 1;
}

.jep-chart__axis-label,
.jep-chart__unit {
    fill: var(--jep-muted);
    font-family: inherit;
    font-size: 12px;
}

.jep-chart__bar {
    shape-rendering: crispEdges;
    transition: filter 120ms ease, opacity 160ms ease;
}

.jep-chart__bar:hover {
    filter: brightness(0.92);
}

.jep-chart__bar--selected {
    opacity: 1;
    stroke: var(--jep-heading);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.jep-chart__bar--past {
    opacity: 0.52;
}

.jep-chart__bar--past:hover {
    opacity: 0.8;
}

.jep-chart__bar--past.jep-chart__bar--selected {
    opacity: 1;
}

.jep-chart__bar--current {
    stroke: var(--jep-heading);
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke;
    paint-order: fill stroke;
}

.jep-chart__highlight-zone {
    fill: var(--jep-accent);
    fill-opacity: 0.07;
    stroke: var(--jep-accent);
    stroke-opacity: 0.38;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.jep-chart__bar--deemphasized {
    opacity: 0.2;
}

.jep-chart__bar--past.jep-chart__bar--deemphasized {
    opacity: 0.16;
}

.jep-chart__bar--highlighted {
    opacity: 1;
    stroke: var(--jep-accent-dark);
    stroke-width: 0.8;
    vector-effect: non-scaling-stroke;
}

.jep-chart__bar--highlighted-partial {
    opacity: 0.62;
}

.jep-chart__bar--deemphasized.jep-chart__bar--selected {
    opacity: 1;
}

.jep-chart__current-marker {
    pointer-events: none;
    stroke: var(--jep-heading);
    stroke-width: 1.6;
}

.jep-chart__current-pointer {
    fill: var(--jep-heading);
    pointer-events: none;
}

.jep-chart__current-label-bg {
    fill: var(--jep-heading);
    opacity: 0.92;
    pointer-events: none;
}

.jep-chart__current-label {
    fill: var(--jep-surface);
    font-size: 10px;
    font-weight: 700;
    pointer-events: none;
}

.jep-chart-tooltip {
    position: absolute;
    z-index: 5;
    display: grid;
    gap: 3px;
    min-width: 150px;
    max-width: min(220px, calc(100% - 12px));
    padding: 10px 12px;
    border: 1px solid var(--jep-border);
    border-radius: 8px;
    background: var(--jep-surface);
    box-shadow: 0 8px 24px rgb(24 44 35 / 18%);
    color: var(--jep-heading);
    font-size: 13px;
    line-height: 1.35;
    pointer-events: none;
}

.jep-chart-tooltip[hidden] {
    display: none;
}

.jep-chart-tooltip > strong {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.jep-chart-tooltip__price {
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jep-chart-tooltip__details {
    display: flex;
    gap: 7px;
    align-items: center;
    color: var(--jep-muted);
}

.jep-chart-tooltip__dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.jep-chart-tooltip__dot--cheap {
    background: var(--jep-accent);
}

.jep-chart-tooltip__dot--typical {
    background: #d8a11d;
}

.jep-chart-tooltip__dot--expensive {
    background: #c9483a;
}

.jep-chart__empty {
    min-height: 230px;
    margin: 0;
    padding: 75px 20px;
    color: var(--jep-muted);
    text-align: center;
}

.jep-notice {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-top: 4px;
    padding: 7px 12px;
    border: 1px solid #c7ddd1;
    border-radius: 8px;
    background: #f1f8f4;
}

.jep-notice > span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--jep-accent);
    border-radius: 50%;
    color: var(--jep-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.jep-notice p {
    margin: 0;
    color: var(--jep-heading);
    font-size: 12px;
}

.jep-dashboard__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 10px;
    padding: 0 7px;
    color: var(--jep-muted);
    font-size: 12px;
}

.jep-dashboard__footer a {
    color: var(--jep-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jep-dashboard__stale {
    flex-basis: 100%;
    color: #9a5b18;
}

.jep-dashboard .screen-reader-text {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 980px) {
    .jep-dashboard__overview {
        grid-template-columns: 1fr;
    }

    .jep-current-card {
        min-height: 240px;
    }

    .jep-dashboard__primary {
        grid-template-rows: minmax(240px, 1fr) max-content;
    }

    .jep-summary-card {
        min-height: 112px;
    }

    .jep-calculator {
        grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
    }

    .jep-calculator__heading,
    .jep-calculator__note {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .jep-dashboard__header {
        display: block;
        margin-bottom: 17px;
    }

    .jep-dashboard__header h2 {
        font-size: 25px;
    }

    .jep-dashboard__title-group {
        align-items: flex-start;
    }

    .jep-page-info {
        margin-top: 4px;
    }

    .jep-page-info__popover {
        right: -4px;
        width: min(430px, calc(100vw - 28px));
        padding: 15px;
    }

    .jep-dashboard__header p {
        margin-top: 4px;
        font-size: 13px;
        text-align: left;
    }

    .jep-current-card {
        min-height: 0;
        padding: 17px;
    }

    .jep-dashboard__primary {
        grid-template-rows: max-content max-content;
    }

    .jep-current-card__heading {
        display: block;
    }

    .jep-vat-toggle {
        width: 100%;
        margin-top: 14px;
    }

    .jep-vat-toggle button {
        flex: 1 1 50%;
        padding-right: 8px;
        padding-left: 8px;
    }

    .jep-current-card__price {
        margin-top: 14px;
    }

    .jep-current-card__price strong {
        font-size: 48px;
    }

    .jep-current-card__price span {
        font-size: 18px;
    }

    .jep-current-card__comparison {
        margin-top: 19px;
        padding-right: 0;
    }

    .jep-price-illustration {
        position: relative;
        right: auto;
        bottom: auto;
        align-self: flex-end;
        width: 94px;
        height: 74px;
        margin: 5px 0 -9px;
    }

    .jep-price-illustration__piggy {
        width: 62px;
        height: 66px;
    }

    .jep-current-card__next-change > span:first-child {
        flex-basis: 100%;
    }

    .jep-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .jep-summary-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        min-height: 0;
        padding: 15px 17px;
        text-align: left;
    }

    .jep-summary-card h3 {
        grid-row: 1 / 3;
        align-self: center;
        margin: 0;
    }

    .jep-summary-card strong,
    .jep-summary-card span {
        text-align: right;
    }

    .jep-summary-card strong {
        font-size: 30px;
    }

    .jep-summary-card span {
        margin-top: 2px;
    }

    .jep-upcoming {
        display: block;
        min-height: 0;
        padding: 10px 14px 11px;
    }

    .jep-upcoming h3 {
        margin: 0 0 5px;
        white-space: normal;
    }

    .jep-upcoming__item time {
        font-size: 12px;
    }

    .jep-upcoming__item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .jep-upcoming__item strong {
        font-size: 19px;
    }

    .jep-upcoming__item span {
        font-size: 10px;
    }

    .jep-upcoming__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 0;
    }

    .jep-upcoming__item:nth-child(2) {
        border-right: 0;
    }

    .jep-upcoming__item:nth-child(n + 3) {
        padding-top: 12px;
        border-top: 1px solid var(--jep-border);
    }

    .jep-chart-card {
        padding-right: 11px;
        padding-left: 11px;
    }

    .jep-best-window {
        padding: 14px;
    }

    .jep-best-window__result {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 3px 7px;
    }

    .jep-best-window__time {
        font-size: 13px;
    }

    .jep-best-window__status,
    .jep-best-window__comparison {
        grid-column: 2 / 4;
        grid-row: auto;
        justify-self: end;
    }

    .jep-top-intervals__grid {
        grid-template-columns: 1fr;
    }

    .jep-top-intervals__item {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 9px 10px;
    }

    .jep-top-intervals__rank {
        grid-row: 1;
    }

    .jep-top-intervals__price {
        grid-column: 3;
    }

    .jep-top-intervals__status,
    .jep-top-intervals__comparison {
        grid-column: 2 / 4;
        grid-row: auto;
        justify-self: end;
        text-align: right;
    }

    .jep-top-intervals__item time {
        font-size: 11px;
    }

    .jep-price-table summary {
        flex-wrap: wrap;
        gap: 3px 12px;
        padding: 14px;
    }

    .jep-price-table summary small {
        order: 3;
        flex-basis: 100%;
    }

    .jep-price-table__scroll {
        margin: 0 12px 12px;
    }

    .jep-price-table table {
        min-width: 0;
    }

    .jep-price-table thead th:first-child {
        width: 58px;
    }

    .jep-price-table th,
    .jep-price-table td {
        height: 31px;
        padding: 5px 3px;
        font-size: 11px;
    }

    .jep-price-table__cell strong {
        font-size: 11.5px;
    }

    .jep-price-table__current-badge {
        display: none;
    }

    .jep-calculator {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 16px 14px;
    }

    .jep-calculator__heading,
    .jep-calculator__note {
        grid-column: auto;
    }

    .jep-calculator__results {
        gap: 12px;
    }

    .jep-calculator-options__grid {
        grid-template-columns: 1fr;
    }

    .jep-calculator__result {
        display: grid;
        gap: 7px;
    }

    .jep-calculator__result + .jep-calculator__result {
        padding-left: 12px;
    }

    .jep-calculator__saving {
        margin-top: 0;
        text-align: left;
    }

    .jep-chart-legend {
        gap: 7px 14px;
        justify-content: flex-start;
    }

    .jep-chart-toolbar__options {
        flex-basis: 100%;
        justify-content: flex-start;
        margin: 0 1px 10px;
    }

    .jep-chart-interval-toggle {
        order: 1;
    }

    .jep-chart-legend {
        order: 2;
        flex-basis: 100%;
    }

    .jep-chart {
        overflow: visible;
        min-height: 245px;
        padding-bottom: 4px;
    }

    .jep-chart svg {
        width: 100%;
        max-width: 100%;
    }

    .jep-notice {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jep-dashboard *,
    .jep-dashboard *::before,
    .jep-dashboard *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
