@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body {
    background: #f4f7fb;
    color: #172033;
    font-family: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    margin: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html.dark body {
    background: #111827;
    color: #e5e7eb;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.site-header input[type="text"] {
    color: #0f172a !important;
}

.site-header {
    background: #263244;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.support-banner {
    align-items: center;
    background: #fde68a;
    border-bottom: 1px solid #f59e0b;
    color: #713f12;
    display: flex;
    gap: 0.45rem;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 1rem;
    text-align: center;
    text-decoration: none;
}

.support-banner strong {
    color: #713f12;
    font-weight: 850;
}

.support-banner span {
    color: #92400e;
    font-weight: 700;
}

.support-banner:hover {
    background: #fcd34d;
    color: #713f12;
}

.site-announcement-banner {
    align-items: center;
    background: #fed7aa;
    border-bottom: 1px solid #fb923c;
    color: #7c2d12;
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 1rem;
    text-align: center;
}

.site-announcement-banner strong {
    color: #7c2d12;
    font-weight: 850;
}

.site-announcement-banner button {
    background: rgba(124, 45, 18, 0.12);
    border: 1px solid rgba(124, 45, 18, 0.28);
    border-radius: 999px;
    color: #7c2d12;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.35rem 0.75rem;
    white-space: nowrap;
}

.site-announcement-banner button:hover {
    background: rgba(124, 45, 18, 0.2);
}

.site-header__bar {
    align-items: center;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    margin: 0 auto;
    max-width: 1180px;
    min-height: 76px;
    padding: 0 1.5rem;
    position: relative;
}

.site-brand {
    align-items: center;
    color: #f8fafc;
    display: inline-flex;
    gap: 0.8rem;
    text-decoration: none;
}

.site-brand:hover {
    color: #ffffff;
}

.site-brand__logo {
    height: 42px;
    width: 42px;
}

.site-brand__copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.site-brand__text {
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.site-brand__tagline {
    color: #bfdbfe;
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.site-brand__domain {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    color: #bfdbfe;
    font-size: 0.86rem;
    font-weight: 700;
    padding-left: 0.8rem;
    white-space: nowrap;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 0.2rem;
    justify-content: center;
    min-width: 0;
}

.site-nav a {
    border-radius: 8px;
    color: #dbeafe;
    font-weight: 650;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.site-account {
    align-items: center;
    display: flex;
    gap: 0.55rem;
}

.site-region-picker,
.site-preference-picker {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    flex: 0 1 auto;
    gap: 0.45rem;
    min-height: 38px;
    min-width: max-content;
    padding: 0.2rem 0.55rem;
}

.site-region-picker span,
.site-preference-picker span {
    color: #1d4ed8;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-region-picker select,
.site-preference-picker select {
    appearance: none;
    background-color: rgba(37, 99, 235, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 14px;
    border: 0;
    border-radius: 6px;
    color: inherit;
    cursor: pointer;
    field-sizing: content;
    font-weight: 750;
    max-width: min(560px, 64vw);
    min-width: 12ch;
    outline: 0;
    padding: 0.34rem 1.7rem 0.34rem 0.58rem;
    text-overflow: ellipsis;
    width: auto;
}

.site-preference-picker--readonly {
    cursor: default;
}

.site-preference-value {
    background-color: rgba(37, 99, 235, 0.08);
    border-radius: 6px;
    color: inherit;
    display: inline-flex;
    font-weight: 750;
    max-width: min(560px, 64vw);
    min-height: 2rem;
    min-width: 12ch;
    overflow: hidden;
    padding: 0.34rem 0.58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-region-picker option,
.site-preference-picker option,
.site-preference-picker optgroup {
    background: #ffffff;
    color: #172033;
}

.site-preference-picker optgroup {
    font-weight: 800;
}

.site-region-picker option.site-region-option--expected,
.site-preference-picker option.site-region-option--expected {
    background: #dbeafe;
    color: #0f3b79;
    font-weight: 800;
}

.site-preferences {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 100%;
    overflow-x: visible;
    padding: 0 2rem 0.75rem;
}

.region-setup {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0.75rem auto 0.85rem;
    max-width: 1180px;
    padding: 0.85rem 1.5rem;
}

.region-setup strong,
.region-setup span,
.region-setup small {
    display: block;
}

.region-setup strong {
    color: #f8fafc;
    font-size: 0.96rem;
}

.region-setup span,
.region-setup small {
    color: #dbeafe;
    font-size: 0.88rem;
}

.region-setup small {
    margin-top: 0.25rem;
}

.region-setup__controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.region-setup input,
.region-setup select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #172033;
    font: inherit;
    font-weight: 700;
    min-height: 38px;
    padding: 0.45rem 0.65rem;
}

.region-setup input {
    width: 9.5rem;
}

.region-setup select {
    max-width: 13rem;
}

.region-setup button {
    background: #2563eb;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    white-space: nowrap;
}

.region-setup button:hover {
    background: #1d4ed8;
}

.region-setup button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.region-setup__dismiss {
    background: rgba(255, 255, 255, 0.12) !important;
}

.region-setup__dismiss:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.detected-region-prompt {
    align-items: center;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    color: #172033;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin: 0.75rem auto 0.85rem;
    max-width: 1180px;
    padding: 0.65rem 1rem;
}

.detected-region-prompt span {
    font-size: 0.95rem;
}

.detected-region-prompt button {
    background: #2563eb;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
}

.detected-region-prompt__dismiss {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #1d4ed8 !important;
}

.site-preference-picker {
    background: rgba(255, 255, 255, 0.06);
}

.site-preference-picker--product select,
.site-preference-picker--tariff select {
    max-width: min(520px, 55vw);
    min-width: 14ch;
}

.site-preference-picker--range select {
    min-width: 16ch;
}

.site-preference-picker--direction select {
    min-width: 8ch;
}

.theme-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    height: 39px;
    justify-content: center;
    padding: 0;
    width: 39px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}

.theme-toggle__icon {
    display: inline-block;
    height: 18px;
    position: relative;
    width: 18px;
}

.theme-toggle__icon--sun {
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 -10px 0 -7px #60a5fa, 0 10px 0 -7px #60a5fa, 10px 0 0 -7px #60a5fa, -10px 0 0 -7px #60a5fa, 7px 7px 0 -7px #60a5fa, -7px -7px 0 -7px #60a5fa, 7px -7px 0 -7px #60a5fa, -7px 7px 0 -7px #60a5fa;
}

.theme-toggle__icon--moon {
    border-radius: 50%;
    box-shadow: inset 6px 0 0 1px #dbeafe;
}

.site-account-menu {
    position: relative;
}

.site-account-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 850;
    gap: 0.65rem;
    min-height: 39px;
    padding: 0.45rem 0.95rem;
}

.site-account-button:hover,
.site-account-button:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    outline: 0;
}

.site-account-button__chevron {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: inline-block;
    height: 8px;
    margin-top: -4px;
    transform: rotate(45deg);
    width: 8px;
}

.site-account-menu__panel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 0.2rem;
    min-width: 13rem;
    padding: 0.45rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 50;
    box-sizing: border-box;
}

.site-account-menu__backdrop {
    background: transparent;
    border: 0;
    cursor: default;
    inset: 0;
    padding: 0;
    position: fixed;
    z-index: 40;
}

.site-account-menu__panel a {
    border-radius: 6px;
    color: #172033;
    font-weight: 800;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}

.site-account-menu__panel a:hover,
.site-account-menu__panel a:focus-visible {
    background: #eaf2ff;
    color: #1d4ed8;
    outline: 0;
}

.site-account-menu__signout {
    margin: 0;
}

.site-account-menu__signout button {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #172033;
    cursor: pointer;
    display: block;
    font: inherit;
    font-weight: 800;
    padding: 0.65rem 0.75rem;
    text-align: left;
    white-space: nowrap;
    width: 100%;
}

.site-account-menu__signout button:hover,
.site-account-menu__signout button:focus-visible {
    background: #eaf2ff;
    color: #1d4ed8;
    outline: 0;
}

.site-account-menu__panel .site-account-subscription {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    display: grid;
    gap: 0.15rem;
    margin-bottom: 0.2rem;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    white-space: normal;
}

.site-account-menu__panel .site-account-subscription:hover,
.site-account-menu__panel .site-account-subscription:focus-visible {
    outline: 0;
}

.site-account-menu__panel .site-account-subscription span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-account-menu__panel .site-account-subscription strong {
    color: #172033;
    font-size: 0.95rem;
}

.site-account-menu__panel .site-account-subscription--premium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

.site-account-menu__panel .site-account-subscription--premium:hover,
.site-account-menu__panel .site-account-subscription--premium:focus-visible {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
}

.site-account-menu__panel .site-account-subscription--premium span {
    color: #92400e;
}

.site-account-menu__panel .site-account-subscription--premium strong {
    color: #713f12;
}

.site-account-menu__panel .site-account-subscription--free {
    background: #f8fafc;
}

.site-account-menu__panel .site-account-subscription--free:hover,
.site-account-menu__panel .site-account-subscription--free:focus-visible {
    background: #eaf2ff;
}

.site-mobile-menu {
    display: none;
    justify-self: end;
    position: relative;
    width: auto;
}

.site-mobile-menu-button {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    height: 39px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.site-mobile-menu-button:hover,
.site-mobile-menu-button:focus-visible {
    background: #eaf2ff;
    outline: 0;
}

.site-mobile-menu-button span {
    background: #2563eb;
    border-radius: 999px;
    display: block;
    height: 3px;
    width: 20px;
}

.site-mobile-menu-panel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 0.2rem;
    min-width: 11rem;
    padding: 0.35rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 60;
}

.site-mobile-menu-panel a {
    border-radius: 6px;
    color: #172033;
    font-weight: 750;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

.site-mobile-menu-panel a:hover,
.site-mobile-menu-panel a.active {
    background: #eaf2ff;
    color: #1d4ed8;
}

.energy-page {
    margin: 0 auto;
    max-width: 1180px;
    padding: 1rem 1.5rem 3rem;
}

.energy-hero {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, min(760px, 50%));
    box-sizing: border-box;
    max-width: calc(100vw - 3rem);
    min-width: 0;
    overflow: hidden;
    padding: 1.75rem;
    width: 100%;
}

.energy-hero > div:first-child {
    min-width: 0;
    padding-inline-end: 1rem;
}

.hero-status-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    justify-self: end;
    max-width: 760px;
    min-width: 0;
    width: 100%;
}

.hero-status-group .hero-status {
    flex: 1 1 240px;
    min-width: 0;
}

.hero-status-group .hero-status strong {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    width: 100%;
}

.metric-grid + .energy-hero {
    margin-top: 1rem;
}

.dashboard-context-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.dashboard-context-grid .metric-card:first-child {
    grid-column: span 3;
}

.dashboard-context-grid .metric-card:last-child {
    grid-column: span 1;
}

.dashboard-context-grid--export .metric-card:first-child {
    grid-column: 1 / -1;
}

.dashboard-context-grid + .energy-hero {
    margin-top: 1rem;
}

.tariff-type-panel {
    align-items: start;
    background: #eef6ff;
    border: 1px solid #c7d8f5;
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.75fr);
    margin-top: 1rem;
    padding: 1rem;
}

.tariff-type-panel span {
    color: #2563eb;
    display: block;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.tariff-type-panel strong {
    color: #172033;
    display: block;
    font-size: 1.3rem;
    margin-top: 0.15rem;
}

.tariff-type-panel p {
    color: #475569;
    margin: 0.45rem 0 0;
}

.tariff-type-panel dl {
    display: grid;
    gap: 0.55rem;
    margin: 0;
}

.tariff-type-panel dl div {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 8px;
    padding: 0.65rem;
}

.tariff-type-panel dt {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.tariff-type-panel dd {
    color: #172033;
    font-weight: 800;
    margin: 0.15rem 0 0;
    overflow-wrap: anywhere;
}

.tariff-type-panel--multi-period-daily {
    border-left-color: #14b8a6;
}

.tariff-type-panel--fixed-period {
    border-left-color: #f59e0b;
}

.tariff-type-panel--unknown {
    border-left-color: #94a3b8;
}

.eyebrow {
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
}

.energy-hero h1,
.page-heading h1 {
    color: #111827;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.dashboard-heading__electricity {
    color: #b45309;
}

.dashboard-heading__gas {
    color: #2563eb;
}

.dashboard-heading__direction--import {
    color: #b91c1c;
}

.dashboard-heading__direction--export {
    color: #15803d;
}

.dashboard-heading {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
}

.hero-copy,
.page-heading p,
.panel-header p {
    color: #596579;
    font-size: 1rem;
    margin: 0.7rem 0 0;
    max-width: 62ch;
}

.hero-status {
    background: #eaf2ff;
    border: 1px solid #cfe0fb;
    border-radius: 8px;
    color: #172033;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
}

.hero-status .price-chip {
    align-self: stretch;
    min-width: 0;
    white-space: nowrap;
}

.hero-status span,
.metric-card span {
    color: #718096;
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: uppercase;
}

.hero-status span {
    color: #1d4ed8;
}

.hero-status strong {
    font-size: 2.45rem;
    line-height: 1;
    margin-top: 0.45rem;
}

.hero-status small {
    color: #475569;
    font-size: 1.1rem;
    font-weight: 650;
    margin-top: 0.55rem;
}

.metric-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.metric-card,
.content-panel {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
}

.metric-card strong {
    color: #111827;
    font-size: 1.7rem;
    line-height: 1.1;
}

.metric-card small {
    color: #64748b;
}

.content-panel {
    margin-top: 1rem;
    padding: 1.25rem;
}

.content-panel h2 {
    color: #111827;
    font-size: 1.2rem;
    margin: 0;
}

.rate-period-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-top: 1rem;
}

.rate-period-card {
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    color: #111827;
    display: grid;
    gap: 0.45rem;
    padding: 0.8rem;
}

.rate-period-card > div {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.rate-period-card span,
.rate-period-card small {
    font-weight: 800;
}

.rate-period-card span {
    color: rgba(15, 23, 42, 0.74);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.rate-period-card em {
    background: #2563eb;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    padding: 0.25rem 0.45rem;
    text-transform: uppercase;
}

.rate-period-card strong {
    color: #020617;
    font-size: 2rem;
    line-height: 1;
}

.rate-period-card small {
    color: rgba(15, 23, 42, 0.76);
}

.panel-header,
.page-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.text-link {
    color: #2563eb;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.text-link:hover {
    text-decoration: underline;
}

.panel-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.chart-toggle {
    background: #eaf2ff;
    border: 1px solid #c7d8f5;
    border-radius: 8px;
    display: inline-flex;
    padding: 0.18rem;
}

.chart-toggle__button {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #1d4ed8;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1;
    padding: 0.5rem 0.7rem;
}

.chart-toggle__button--active {
    background: #2563eb;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.24);
    color: #ffffff;
}

.chart-toggle__button:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.chart-toggle__button:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.45;
}

.chart-average-selector {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: inline-flex;
    gap: 0.45rem;
    padding: 0.28rem 0.45rem 0.28rem 0.6rem;
}

.chart-average-selector span {
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.chart-average-selector select {
    appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 0.55rem center;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 6px;
    color: #172033;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    min-height: 2rem;
    min-width: 7.4rem;
    outline: 0;
    padding: 0.25rem 1.8rem 0.25rem 0.6rem;
}

.chart-average-selector option {
    background: #ffffff;
    color: #172033;
}

.tariff-chart {
    margin-top: 1rem;
}

.tariff-chart svg {
    display: block;
    height: 360px;
    overflow: hidden;
    width: 100%;
}

.tariff-chart__plot {
    fill: #f8fafc;
    stroke: #dbe3ef;
}

.tariff-chart__grid-line {
    stroke: #dbe3ef;
    stroke-width: 1;
}

.tariff-chart__tick-line,
.tariff-chart__zero-line {
    stroke: #94a3b8;
    stroke-width: 1;
}

.tariff-chart__zero-line {
    stroke-width: 1.5;
}

.tariff-chart__axis-label {
    fill: #475569;
    font-size: 12px;
    font-weight: 750;
}

.tariff-chart__axis-label--x {
    font-size: 11px;
}

.tariff-chart__bar {
    cursor: pointer;
    stroke: rgba(15, 23, 42, 0.18);
    stroke-width: 1;
}

.tariff-chart__bar-hit {
    cursor: pointer;
    fill: transparent;
    pointer-events: all;
}

.tariff-chart__bar:focus {
    filter: brightness(1.05);
    outline: none;
    stroke: #2563eb;
    stroke-width: 3;
}

.tariff-chart__bar--current {
    stroke: #2563eb;
    stroke-width: 3;
}

.tariff-chart__bar.price-band-negative { fill: #7fc7df; }
.tariff-chart__bar.price-band-under-3 { fill: #2ecc2e; }
.tariff-chart__bar.price-band-under-5 { fill: #00e676; }
.tariff-chart__bar.price-band-under-7 { fill: #a8ff1a; }
.tariff-chart__bar.price-band-under-10 { fill: #f6e3c6; }
.tariff-chart__bar.price-band-over-10 { fill: #efe58a; }
.tariff-chart__bar.price-band-over-15 { fill: #ffff00; }
.tariff-chart__bar.price-band-over-20 { fill: #ffc000; }
.tariff-chart__bar.price-band-over-25 { fill: #ff9900; }
.tariff-chart__bar.price-band-over-30 { fill: #f65da8; }
.tariff-chart__bar.price-band-over-40 { fill: #ff0800; }

.tariff-chart__peak-bracket {
    fill: none;
    stroke: #f59e0b;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.tariff-chart__peak-label {
    fill: #b45309;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.tariff-chart__cheap-bracket {
    fill: none;
    stroke: #14b8a6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.tariff-chart__cheap-label {
    fill: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.tariff-chart__average-line {
    fill: none;
    stroke-linejoin: round;
    stroke-width: 3;
}

.tariff-chart__average-line--peak {
    stroke: #a855f7;
    stroke-dasharray: 7 5;
}

.tariff-chart__average-line--all {
    stroke: #0f766e;
    stroke-dasharray: 10 4;
}

.tariff-chart__now-line {
    stroke: #2563eb;
    stroke-dasharray: 5 5;
    stroke-width: 2.5;
}

.tariff-chart__day-line {
    stroke: #64748b;
    stroke-dasharray: 3 6;
    stroke-width: 2;
}

.tariff-chart__now-pill {
    fill: #2563eb;
}

.tariff-chart__day-pill {
    fill: #475569;
}

.tariff-chart__now-text {
    fill: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.tariff-chart__day-text {
    fill: #ffffff;
    font-size: 10px;
    font-weight: 900;
}

.tariff-chart__legend {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-top: 0.65rem;
}

.tariff-chart__legend span {
    align-items: center;
    color: #475569;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 750;
    gap: 0.35rem;
}

.tariff-chart__legend-swatch {
    background: #2563eb;
    border-radius: 3px;
    display: inline-block;
    height: 12px;
    width: 12px;
}

.tariff-chart__legend-line {
    border-radius: 999px;
    display: inline-block;
    height: 3px;
    width: 24px;
}

.tariff-chart__legend-line--peak-window {
    background: #f59e0b;
}

.tariff-chart__legend-line--cheap-window {
    background: #14b8a6;
}

.tariff-chart__legend-line--peak {
    background: repeating-linear-gradient(90deg, #a855f7 0 8px, transparent 8px 13px);
}

.tariff-chart__legend-line--all {
    background: repeating-linear-gradient(90deg, #0f766e 0 10px, transparent 10px 14px);
}

.tariff-chart-tooltip {
    filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.22));
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
}

.tariff-chart-tooltip-layer {
    pointer-events: none;
}

.tariff-chart__bar-group:hover .tariff-chart__bar,
.tariff-chart__bar-group:focus-within .tariff-chart__bar {
    filter: brightness(1.05);
    stroke: #2563eb;
    stroke-width: 3;
}

.tariff-chart-tooltip__card {
    fill: #ffffff;
    stroke: #cbd5e1;
    stroke-width: 1;
}

.tariff-chart-tooltip__label {
    fill: #475569;
    font-size: 12px;
    font-weight: 850;
}

.tariff-chart-tooltip__price-pill {
    stroke: rgba(15, 23, 42, 0.18);
    stroke-width: 1;
}

.tariff-chart-tooltip__price {
    fill: #020617;
    font-size: 18px;
    font-weight: 850;
}

.tariff-chart-tooltip__comparison {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.tariff-chart-tooltip__average {
    fill: #64748b;
    font-size: 11px;
    font-weight: 750;
}

.tariff-chart-tooltip__comparison.price-slot-card__average--above {
    fill: #dc2626;
}

.tariff-chart-tooltip__comparison.price-slot-card__average--about {
    fill: #a16207;
}

.tariff-chart-tooltip__comparison.price-slot-card__average--below {
    fill: #15803d;
}

.tariff-chart-tooltip__comparison.price-slot-card__average--unknown {
    fill: #64748b;
}

.two-column {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.slot-list,
.action-list {
    margin-top: 1rem;
}

.slot-row {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.slot-row:first-child {
    border-top: 0;
}

.slot-row span,
.action-list li {
    color: #475569;
}

.slot-row strong {
    color: #0f766e;
}

.cheap-period-rank {
    align-items: center;
    background: #14b8a6;
    border-radius: 999px;
    color: #ffffff !important;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 900;
    height: 1.35rem;
    justify-content: center;
    margin-right: 0.4rem;
    min-width: 1.35rem;
    padding: 0 0.35rem;
}

.average-list-panel {
    margin-top: 1rem;
}

.average-prices-panel {
    padding-bottom: 1rem;
}

.average-tile-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(6, minmax(130px, 1fr));
    margin-top: 1rem;
}

.average-tile {
    --average-accent: #94a3b8;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-top: 5px solid var(--average-accent);
    border-radius: 8px;
    display: grid;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.85rem;
}

.average-tile.price-band-negative { --average-accent: #7fc7df; }
.average-tile.price-band-under-3 { --average-accent: #2ecc2e; }
.average-tile.price-band-under-5 { --average-accent: #00e676; }
.average-tile.price-band-under-7 { --average-accent: #a8ff1a; }
.average-tile.price-band-under-10 { --average-accent: #f6e3c6; }
.average-tile.price-band-over-10 { --average-accent: #efe58a; }
.average-tile.price-band-over-15 { --average-accent: #ffff00; }
.average-tile.price-band-over-20 { --average-accent: #ffc000; }
.average-tile.price-band-over-25 { --average-accent: #ff9900; }
.average-tile.price-band-over-30 { --average-accent: #f65da8; }
.average-tile.price-band-over-40 { --average-accent: #ff0800; }

.average-tile[class*="price-band-"] {
    background: #f8fafc;
}

.average-tile__heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.average-tile__heading span {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.average-tile__heading strong {
    align-items: center;
    align-self: flex-start;
    background: var(--average-accent);
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    color: #020617;
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 850;
    line-height: 1;
    min-height: 2.1rem;
    padding: 0.38rem 0.55rem;
}

.average-tile dl {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.average-tile dl div {
    align-items: baseline;
    display: flex;
    gap: 0.45rem;
    justify-content: space-between;
    min-width: 0;
}

.average-tile dt {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.average-tile dd {
    color: #111827;
    font-size: 0.88rem;
    font-weight: 850;
    margin: 0;
    text-align: right;
}

.average-tile__value[class*="price-band-"] {
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 7px;
    color: #020617;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    min-height: 1.45rem;
    min-width: 3.5rem;
    padding: 0.24rem 0.45rem;
}

.price-slots-panel {
    display: grid;
    gap: 1rem;
}

.slot-grid-actions .chart-average-selector select {
    min-width: 4.2rem;
}

.price-slot-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(var(--slot-grid-columns, 4), minmax(0, 1fr));
}

.price-slot-card {
    --slot-accent: #94a3b8;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-top: 5px solid var(--slot-accent);
    border-radius: 8px;
    display: grid;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.8rem;
    position: relative;
}

.price-slot-card.price-band-negative { --slot-accent: #7fc7df; }
.price-slot-card.price-band-under-3 { --slot-accent: #2ecc2e; }
.price-slot-card.price-band-under-5 { --slot-accent: #00e676; }
.price-slot-card.price-band-under-7 { --slot-accent: #a8ff1a; }
.price-slot-card.price-band-under-10 { --slot-accent: #f6e3c6; }
.price-slot-card.price-band-over-10 { --slot-accent: #efe58a; }
.price-slot-card.price-band-over-15 { --slot-accent: #ffff00; }
.price-slot-card.price-band-over-20 { --slot-accent: #ffc000; }
.price-slot-card.price-band-over-25 { --slot-accent: #ff9900; }
.price-slot-card.price-band-over-30 { --slot-accent: #f65da8; }
.price-slot-card.price-band-over-40 { --slot-accent: #ff0800; }

.compact-price-slot.price-band-negative { --slot-accent: #7fc7df; }
.compact-price-slot.price-band-under-3 { --slot-accent: #2ecc2e; }
.compact-price-slot.price-band-under-5 { --slot-accent: #00e676; }
.compact-price-slot.price-band-under-7 { --slot-accent: #a8ff1a; }
.compact-price-slot.price-band-under-10 { --slot-accent: #f6e3c6; }
.compact-price-slot.price-band-over-10 { --slot-accent: #efe58a; }
.compact-price-slot.price-band-over-15 { --slot-accent: #ffff00; }
.compact-price-slot.price-band-over-20 { --slot-accent: #ffc000; }
.compact-price-slot.price-band-over-25 { --slot-accent: #ff9900; }
.compact-price-slot.price-band-over-30 { --slot-accent: #f65da8; }
.compact-price-slot.price-band-over-40 { --slot-accent: #ff0800; }

.price-slot-card[class*="price-band-"] {
    background: #f8fafc;
}

.price-slot-card--current {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.price-slot-card__topline {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    justify-content: space-between;
    min-width: 0;
}

.price-slot-card__date,
.price-slot-card__band,
.price-slot-card__now {
    color: #475569;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-slot-card__badges {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.4rem;
    justify-content: flex-end;
    min-width: 0;
}

.price-slot-card__band {
    color: #2563eb;
}

.price-slot-card__now {
    background: #2563eb;
    border-radius: 999px;
    color: #ffffff;
    line-height: 1;
    padding: 0.35rem 0.5rem;
}

.price-slot-card strong {
    align-items: center;
    align-self: flex-start;
    background: var(--slot-accent);
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    color: #020617;
    display: inline-flex;
    font-size: clamp(1rem, 2vw, 1.45rem);
    font-weight: 850;
    line-height: 1;
    min-height: 2.15rem;
    min-width: 0;
    padding: 0.38rem 0.55rem;
}

.price-slot-card__time {
    color: #172033;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.2;
}

.price-slot-card__details {
    align-items: center;
    border-top: 1px solid #dbe3ef;
    display: flex;
    gap: 0.6rem;
    justify-content: space-between;
    min-width: 0;
    padding-top: 0.6rem;
}

.price-slot-card__details span {
    color: #111827;
    font-size: 0.82rem;
    font-weight: 850;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-slot-card__slot-type {
    text-align: left;
}

.price-slot-card__details .price-slot-card__slot-type--peak {
    color: #c2410c;
}

.price-slot-card__details .price-slot-card__slot-type--off-peak {
    color: #047857;
}

.price-slot-card__details .price-slot-card__slot-type--unknown {
    color: #64748b;
}

.price-slot-card__details .price-slot-card__average--above {
    color: #dc2626;
}

.price-slot-card__details .price-slot-card__average--about {
    color: #a16207;
}

.price-slot-card__details .price-slot-card__average--below {
    color: #15803d;
}

.price-slot-card__details .price-slot-card__average--unknown {
    color: #64748b;
}

.slot-grid-pager {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.slot-grid-pager span {
    color: #475569;
    font-size: 0.88rem;
    font-weight: 750;
}

.slot-grid-pager button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.compact-price-view {
    background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    padding: 0.9rem 1rem 1rem;
}

.compact-price-view h3 {
    color: #172033;
    font-size: 1rem;
    font-weight: 850;
    margin: 0 0 0.7rem;
}

.compact-price-view__header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.compact-price-view__header h3 {
    margin: 0;
}

.compact-price-view__header .chart-average-selector {
    flex: 0 1 auto;
}

.compact-price-slot {
    --slot-accent: #94a3b8;
    align-items: center;
    background: var(--slot-accent);
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    break-inside: avoid;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin: 0 0 0.32rem;
    min-height: 1.7rem;
    overflow: hidden;
}

.compact-price-list--left-right {
    display: grid;
    gap: 0.32rem 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(9.1rem, 1fr));
}

.compact-price-list--left-right .compact-price-slot {
    margin: 0;
}

.compact-price-list--top-bottom {
    column-gap: 0.75rem;
    column-width: 9.1rem;
}

.compact-price-slot span {
    align-items: center;
    align-self: stretch;
    background: rgba(15, 23, 42, 0.24);
    color: #ffffff;
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 850;
    justify-content: flex-start;
    line-height: 1;
    padding-left: 0.35rem;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.28);
    white-space: nowrap;
}

.compact-price-slot strong {
    color: #020617;
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 850;
    justify-content: center;
    line-height: 1;
    min-width: 0;
    padding: 0.38rem 0.55rem;
}

.compact-price-slot--current {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.average-row__values {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
}

.average-row__values small {
    color: #64748b;
}

.price-chip {
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    color: #020617 !important;
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    line-height: 1;
    min-width: 68px;
    padding: 0.42rem 0.55rem;
}

.price-band-negative { background: #7fc7df; }
.price-band-under-3 { background: #2ecc2e; }
.price-band-under-5 { background: #00e676; }
.price-band-under-7 { background: #a8ff1a; }
.price-band-under-10 { background: #f6e3c6; }
.price-band-over-10 { background: #efe58a; }
.price-band-over-15 { background: #ffff00; }
.price-band-over-20 { background: #ffc000; }
.price-band-over-25 { background: #ff9900; }
.price-band-over-30 { background: #f65da8; }
.price-band-over-40 { background: #ff0800; }

/* Export prices use the same bands, but higher earnings are better for the customer. */
.price-band-export.price-band-negative { background: #d84a58; }
.price-band-export.price-band-under-3 { background: #e86852; }
.price-band-export.price-band-under-5 { background: #ee8a3b; }
.price-band-export.price-band-under-7 { background: #f2b33f; }
.price-band-export.price-band-under-10 { background: #f3d34a; }
.price-band-export.price-band-over-10 { background: #d7e35c; }
.price-band-export.price-band-over-15 { background: #a8d957; }
.price-band-export.price-band-over-20 { background: #61c76b; }
.price-band-export.price-band-over-25 { background: #2dbb85; }
.price-band-export.price-band-over-30 { background: #1ba6a5; }
.price-band-export.price-band-over-40 { background: #4a9ed8; }

.tariff-chart__bar.price-band-export.price-band-negative { fill: #d84a58; }
.tariff-chart__bar.price-band-export.price-band-under-3 { fill: #e86852; }
.tariff-chart__bar.price-band-export.price-band-under-5 { fill: #ee8a3b; }
.tariff-chart__bar.price-band-export.price-band-under-7 { fill: #f2b33f; }
.tariff-chart__bar.price-band-export.price-band-under-10 { fill: #f3d34a; }
.tariff-chart__bar.price-band-export.price-band-over-10 { fill: #d7e35c; }
.tariff-chart__bar.price-band-export.price-band-over-15 { fill: #a8d957; }
.tariff-chart__bar.price-band-export.price-band-over-20 { fill: #61c76b; }
.tariff-chart__bar.price-band-export.price-band-over-25 { fill: #2dbb85; }
.tariff-chart__bar.price-band-export.price-band-over-30 { fill: #1ba6a5; }
.tariff-chart__bar.price-band-export.price-band-over-40 { fill: #4a9ed8; }

.average-tile.price-band-export.price-band-negative { --average-accent: #d84a58; }
.average-tile.price-band-export.price-band-under-3 { --average-accent: #e86852; }
.average-tile.price-band-export.price-band-under-5 { --average-accent: #ee8a3b; }
.average-tile.price-band-export.price-band-under-7 { --average-accent: #f2b33f; }
.average-tile.price-band-export.price-band-under-10 { --average-accent: #f3d34a; }
.average-tile.price-band-export.price-band-over-10 { --average-accent: #d7e35c; }
.average-tile.price-band-export.price-band-over-15 { --average-accent: #a8d957; }
.average-tile.price-band-export.price-band-over-20 { --average-accent: #61c76b; }
.average-tile.price-band-export.price-band-over-25 { --average-accent: #2dbb85; }
.average-tile.price-band-export.price-band-over-30 { --average-accent: #1ba6a5; }
.average-tile.price-band-export.price-band-over-40 { --average-accent: #4a9ed8; }

.price-slot-card.price-band-export.price-band-negative,
.compact-price-slot.price-band-export.price-band-negative { --slot-accent: #d84a58; }
.price-slot-card.price-band-export.price-band-under-3,
.compact-price-slot.price-band-export.price-band-under-3 { --slot-accent: #e86852; }
.price-slot-card.price-band-export.price-band-under-5,
.compact-price-slot.price-band-export.price-band-under-5 { --slot-accent: #ee8a3b; }
.price-slot-card.price-band-export.price-band-under-7,
.compact-price-slot.price-band-export.price-band-under-7 { --slot-accent: #f2b33f; }
.price-slot-card.price-band-export.price-band-under-10,
.compact-price-slot.price-band-export.price-band-under-10 { --slot-accent: #f3d34a; }
.price-slot-card.price-band-export.price-band-over-10,
.compact-price-slot.price-band-export.price-band-over-10 { --slot-accent: #d7e35c; }
.price-slot-card.price-band-export.price-band-over-15,
.compact-price-slot.price-band-export.price-band-over-15 { --slot-accent: #a8d957; }
.price-slot-card.price-band-export.price-band-over-20,
.compact-price-slot.price-band-export.price-band-over-20 { --slot-accent: #61c76b; }
.price-slot-card.price-band-export.price-band-over-25,
.compact-price-slot.price-band-export.price-band-over-25 { --slot-accent: #2dbb85; }
.price-slot-card.price-band-export.price-band-over-30,
.compact-price-slot.price-band-export.price-band-over-30 { --slot-accent: #1ba6a5; }
.price-slot-card.price-band-export.price-band-over-40,
.compact-price-slot.price-band-export.price-band-over-40 { --slot-accent: #4a9ed8; }

.action-list {
    color: #475569;
    padding-left: 1.1rem;
}

.action-list li + li {
    margin-top: 0.55rem;
}

.filter-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.filter-strip span {
    background: #eaf2ff;
    border: 1px solid #cfe0fb;
    border-radius: 8px;
    color: #23456f;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.45rem 0.65rem;
}

.admin-page-heading {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
}

.admin-status-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-status-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.45rem 0.65rem;
}

.admin-status-pill--ok {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.admin-status-pill--warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.dashboard-filter-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}

.dashboard-filter {
    display: grid;
    gap: 0.35rem;
}

.dashboard-filter span {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-filter select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #0f172a;
    min-height: 42px;
    padding: 0.5rem 0.7rem;
    width: 100%;
}

.worker-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.worker-metric-grid .metric-card {
    background: #f8fbff;
    border-color: #d6e3f5;
}

.admin-tabs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1rem;
}

.admin-tabs--secondary {
    background: #e7eefb;
    border: 1px solid #cbd9ed;
    border-radius: 10px;
    gap: 0.45rem;
    margin-top: -0.2rem;
    padding: 0.45rem;
}

.admin-tabs--secondary .admin-tab {
    background: #dbe7f8;
    border-color: #b9cbe5;
    font-size: 0.84rem;
    padding: 0.58rem 0.82rem;
}

.admin-tabs--secondary .admin-tab:hover,
.admin-tabs--secondary .admin-tab--active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.deployment-panel {
    margin-top: 1rem;
}

.deployment-status-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.deployment-status-grid div {
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
}

.deployment-status-grid span,
.deployment-form label {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.deployment-status-grid strong {
    color: #172033;
    overflow-wrap: anywhere;
}

.deployment-form {
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
    padding-top: 1.25rem;
}

.deployment-form small {
    color: #64748b;
}

.deployment-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (max-width: 700px) {
    .deployment-status-grid {
        grid-template-columns: 1fr;
    }
}

html.dark .deployment-status-grid div,
html.dark .deployment-form {
    border-color: #374151;
}

html.dark .deployment-status-grid strong {
    color: #f8fafc;
}

html.dark .deployment-form small {
    color: #a9b7cc;
}

.admin-tab {
    background: #eef4ff;
    border: 1px solid #cbd9ed;
    border-radius: 8px;
    color: #1d4ed8;
    font-size: 0.9rem;
    font-weight: 850;
    padding: 0.72rem 0.95rem;
    text-decoration: none;
}

.admin-tab:hover,
.admin-tab--active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.secondary-action {
    background: #2563eb;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 750;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    white-space: nowrap;
}

.secondary-action:hover {
    background: #1d4ed8;
}

.worker-alert {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    color: #9f1239;
    font-weight: 650;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
}

.worker-note,
.worker-empty {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e3a8a;
    font-weight: 650;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
}

.settings-list {
    display: grid;
    gap: 0;
    margin-top: 1rem;
}

.settings-row {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 0;
}

.settings-row--stacked {
    align-items: stretch;
    display: grid;
    gap: 0.85rem;
}

.settings-row:first-child {
    border-top: 0;
}

.settings-row > div:first-child {
    display: grid;
    gap: 0.25rem;
}

.settings-row strong {
    color: #111827;
}

.settings-row small {
    color: #64748b;
}

.settings-select {
    appearance: none;
    background: #eef4ff;
    background-image:
        linear-gradient(45deg, transparent 50%, #2563eb 50%),
        linear-gradient(135deg, #2563eb 50%, transparent 50%);
    background-position:
        calc(100% - 1.05rem) 50%,
        calc(100% - 0.75rem) 50%;
    background-repeat: no-repeat;
    background-size: 0.34rem 0.34rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #0f172a;
    font: inherit;
    font-weight: 850;
    min-height: 2.55rem;
    min-width: 13rem;
    padding: 0.5rem 2.3rem 0.5rem 0.85rem;
}

.segmented-control {
    align-items: center;
    background: #eef4ff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: inline-flex;
    padding: 0.18rem;
}

.segmented-control__button {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 2.25rem;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
}

.segmented-control__button--active {
    background: #2563eb;
    color: #ffffff;
}

.settings-number-control {
    align-items: center;
    background: #eef4ff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1e3a8a;
    display: inline-flex;
    font-weight: 850;
    gap: 0.35rem;
    min-height: 2.55rem;
    padding: 0.18rem 0.7rem;
}

.settings-number-control input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a;
    font: inherit;
    font-weight: 850;
    max-width: 5.5rem;
    padding: 0.35rem 0.5rem;
}

.settings-number-control em {
    font-style: normal;
    white-space: nowrap;
}

.settings-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.settings-number-control--labelled {
    align-items: stretch;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 0.65rem 0.75rem;
}

.settings-number-control--labelled span {
    align-self: center;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 850;
    min-width: 0;
}

.section-note {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 650;
    margin: 0.15rem 0 0.85rem;
}

.worker-control-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    margin-top: 1rem;
}

.worker-action {
    background: #f8fbff;
    border: 1px solid #cfe0fb;
    border-radius: 8px;
    color: #172033;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 132px;
    padding: 0.9rem;
    text-align: left;
}

.worker-action:hover:not(:disabled) {
    border-color: #2563eb;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.worker-action:disabled {
    cursor: wait;
    opacity: 0.72;
}

.worker-action span {
    align-items: center;
    background: #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.worker-action strong {
    color: #111827;
    font-size: 0.98rem;
    line-height: 1.2;
}

.worker-action small {
    color: #64748b;
    line-height: 1.35;
}

.worker-status-list {
    display: grid;
    gap: 0;
    margin-top: 1rem;
}

.worker-status-list div {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.worker-status-list div:first-child {
    border-top: 0;
}

.worker-status-list span {
    color: #64748b;
    font-weight: 700;
}

.worker-status-list strong {
    color: #172033;
    text-align: right;
}

.worker-settings-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.settings-search-row {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    max-width: 44rem;
}

.settings-search-row label {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.worker-setting-row {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(14rem, 1fr) minmax(12rem, 18rem) auto;
    padding: 0.85rem;
}

.worker-setting-row span {
    color: #172033;
    display: block;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.worker-setting-row small {
    color: #64748b;
    line-height: 1.4;
}

.worker-setting-input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #172033;
    font: inherit;
    padding: 0.65rem 0.75rem;
    width: 100%;
}

.worker-setting-input--multiline {
    min-height: 5.25rem;
    resize: vertical;
}

.admin-search-row {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 1rem;
}

.admin-account-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.admin-account-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: block;
    overflow: hidden;
}

.admin-account-card__summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    min-height: 3.2rem;
    padding: 0.65rem 0.9rem;
}

.admin-account-card__summary::-webkit-details-marker {
    display: none;
}

.admin-account-card__summary strong {
    color: #172033;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.admin-account-card__summary-meta {
    color: #64748b;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.admin-account-card__summary-icon {
    color: #2563eb;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    margin-left: auto;
}

.admin-account-card[open] .admin-account-card__summary-icon {
    transform: rotate(45deg);
}

.admin-account-card__expanded {
    align-items: start;
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1rem;
}

@media (max-width: 700px) {
    .admin-account-card__expanded {
        grid-template-columns: 1fr;
    }
}

.admin-account-card__main {
    min-width: 0;
}

.admin-account-card h3 {
    color: #172033;
    font-size: 1.05rem;
    margin: 0.7rem 0 0;
    overflow-wrap: anywhere;
}

.admin-account-card__actions {
    align-items: end;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-subscription-editor {
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    display: grid;
    gap: 0.55rem;
    min-width: min(100%, 17rem);
    padding: 0.75rem;
}

.admin-account-access-editor {
    background: #eef4ff;
    border: 1px solid #cbd9ed;
    border-radius: 8px;
    display: grid;
    gap: 0.55rem;
    min-width: min(100%, 17rem);
    padding: 0.75rem;
}

.admin-account-access-editor label {
    display: grid;
    gap: 0.25rem;
}

.admin-account-access-editor label span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-account-access-editor select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #172033;
    font: inherit;
    font-weight: 750;
    min-height: 2.3rem;
    padding: 0.45rem 0.6rem;
}

.admin-checkbox-label {
    align-items: center;
    display: flex !important;
    gap: 0.5rem !important;
}

.admin-checkbox-label input {
    accent-color: #2563eb;
}

.admin-subscription-editor label {
    display: grid;
    gap: 0.25rem;
}

.admin-subscription-editor label span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-subscription-editor select,
.admin-subscription-editor input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #172033;
    font: inherit;
    font-weight: 750;
    min-height: 2.3rem;
    padding: 0.45rem 0.6rem;
}

.admin-subscription-editor__quick {
    display: grid;
    gap: 0.4rem;
    grid-template-columns: repeat(3, 1fr);
}

.admin-subscription-editor__quick .secondary-action {
    justify-content: center;
    margin-top: 0;
    padding-inline: 0.4rem;
}

.premium-action {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
    justify-content: center;
}

.premium-action:hover,
.premium-action:focus-visible {
    background: #fbbf24;
    border-color: #fbbf24;
    color: #111827;
}

.admin-account-details {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-account-details div {
    min-width: 0;
}

.admin-account-details dd {
    overflow-wrap: anywhere;
}

.region-editor-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
    overflow-x: auto;
}

.region-editor-row {
    align-items: center;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 72px minmax(180px, 1.1fr) minmax(220px, 1.4fr) minmax(140px, 0.8fr) minmax(150px, 0.9fr) 92px minmax(150px, auto);
    min-width: 1050px;
}

.region-editor-row--header {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0 0.25rem;
    text-transform: uppercase;
}

.region-editor-actions {
    display: flex;
    gap: 0.4rem;
}

.danger-action {
    border-color: #fecdd3;
    color: #be123c;
}

.email-manager-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    margin-top: 1rem;
}

.email-template-list {
    display: grid;
    gap: 0.55rem;
}

.email-template-list-item {
    background: #f8fbff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    color: #172033;
    cursor: pointer;
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    text-align: left;
}

.email-template-list-item:hover,
.email-template-list-item--active {
    background: #eef4ff;
    border-color: #2563eb;
}

.email-template-list-item strong {
    color: #172033;
}

.email-template-culture {
    background: #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 850;
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
}

.email-template-list-item small {
    color: #64748b;
    line-height: 1.35;
}

.email-template-editor {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.email-template-editor-heading {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.email-template-editor-heading span,
.email-template-field span,
.email-token-panel > span {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.email-template-editor-heading h3 {
    color: #172033;
    margin: 0.15rem 0 0;
}

.email-template-field {
    display: grid;
    gap: 0.35rem;
}

.email-template-actions {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: space-between;
    padding: 0.7rem;
}

.email-template-actions small {
    color: #64748b;
    font-weight: 650;
}

.worker-setting-input--template {
    min-height: 12rem;
    resize: vertical;
}

.email-token-panel {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    display: grid;
    gap: 0.55rem;
    padding: 0.8rem;
}

.email-token-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.email-token {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #1e3a8a;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.35rem 0.55rem;
}

.worker-job-list {
    display: grid;
    gap: 0;
    margin-top: 1rem;
}

.version-history-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.version-history-entry {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.version-history-entry span {
    color: #0f766e;
    display: block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.version-history-entry strong {
    color: #172033;
    display: block;
    font-size: 1.25rem;
    line-height: 1.2;
}

.version-history-entry small {
    color: #64748b;
}

.version-history-entry ul {
    color: #334155;
    margin: 0;
    padding-left: 1.15rem;
}

.version-history-entry li + li {
    margin-top: 0.35rem;
}

.worker-job-row {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    padding: 0.9rem 0;
}

.worker-job-row:first-child {
    border-top: 0;
}

.worker-job-row > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.worker-job-row strong,
.worker-job-row span {
    color: #172033;
}

.worker-job-row small {
    color: #64748b;
    overflow-wrap: anywhere;
}

.visitor-stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.visitor-stats-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.visitor-stats-card h3 {
    color: #172033;
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.visitor-stats-list {
    display: grid;
    gap: 0;
}

.visitor-stats-row {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.75rem 0;
}

.visitor-stats-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.visitor-stats-row:last-child {
    padding-bottom: 0;
}

.visitor-stats-row > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.visitor-stats-row > div:last-child {
    text-align: right;
}

.visitor-stats-row strong,
.visitor-stats-row span {
    color: #172033;
}

.visitor-stats-row small {
    color: #64748b;
    overflow-wrap: anywhere;
}

.worker-status-pill {
    align-self: flex-start;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.25rem 0.55rem;
}

.worker-status-pill--queued {
    background: #e0f2fe;
    color: #075985;
}

.worker-status-pill--running {
    background: #dcfce7;
    color: #166534;
}

.worker-status-pill--succeeded {
    background: #ccfbf1;
    color: #0f766e;
}

.worker-status-pill--failed {
    background: #ffe4e6;
    color: #be123c;
}

.worker-status-pill--cancelled {
    background: #e5e7eb;
    color: #374151;
}

.legal-page {
    margin: 0 auto;
    max-width: 900px;
    padding: 2rem 1.5rem 3rem;
}

.legal-document {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    color: #344055;
    line-height: 1.65;
    padding: 2rem;
}

.legal-document h1 {
    color: #111827;
    font-size: 2.15rem;
    line-height: 1.1;
    margin: 0;
}

.legal-document h2 {
    color: #111827;
    font-size: 1.15rem;
    margin: 1.7rem 0 0.45rem;
}

.legal-document p {
    margin: 0.75rem 0 0;
}

.job-notification-settings {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.job-notification-settings__heading h3 {
    color: #172033;
    margin: 0;
}

.job-notification-settings__heading p {
    color: #64748b;
    margin: 0.25rem 0 0;
}

.job-notification-row {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(15rem, 1fr) 6rem 6rem auto;
    padding: 0.85rem;
}

.job-notification-row--header {
    background: transparent;
    border: 0;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 850;
    padding-bottom: 0;
    text-transform: uppercase;
}

.job-notification-row strong,
.job-notification-row small {
    display: block;
}

.job-notification-row strong {
    color: #172033;
}

.job-notification-row small {
    color: #64748b;
    line-height: 1.4;
}

.job-notification-toggle {
    align-items: center;
    color: #334155;
    cursor: pointer;
    display: flex;
    font-weight: 750;
    gap: 0.45rem;
}

.job-notification-toggle input {
    accent-color: #2563eb;
    height: 1.1rem;
    width: 1.1rem;
}

.legal-contact {
    font-style: normal;
    margin: 0.75rem 0 0;
}

.legal-document ul {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.legal-document li + li {
    margin-top: 0.45rem;
}

.legal-document a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.legal-document a:hover {
    text-decoration: underline;
}

.holding-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 180px);
    padding: 3rem 1.5rem;
}

.holding-card {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    color: #344055;
    max-width: 720px;
    padding: 2.25rem;
    text-align: center;
    width: 100%;
}

.holding-card__logo {
    height: 72px;
    margin: 0 auto 1rem;
    width: 72px;
}

.holding-card h1 {
    color: #111827;
    font-size: 2.35rem;
    line-height: 1.1;
    margin: 0;
}

.holding-card__message {
    color: #344055;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 1rem auto 0;
    max-width: 560px;
}

.holding-card__domain {
    color: #2563eb;
    font-weight: 800;
    margin: 1.1rem 0 0;
}

.holding-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    justify-content: center;
    margin-top: 1.6rem;
}

.holding-card__links a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.holding-card__links a:hover {
    text-decoration: underline;
}

.error-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 250px);
    padding: 3rem 1.5rem;
}

.error-card {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-top: 5px solid #f59e0b;
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    color: #344055;
    max-width: 700px;
    padding: 2.5rem;
    text-align: center;
    width: 100%;
}

.error-card__logo {
    height: 64px;
    margin: 0 auto 0.85rem;
    width: 64px;
}

.error-card__status {
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #c2410c;
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 900;
    height: 2.5rem;
    justify-content: center;
    margin: 0.5rem 0 1rem;
    width: 2.5rem;
}

.error-card h1 {
    color: #111827;
    font-size: clamp(2rem, 5vw, 2.65rem);
    line-height: 1.1;
    margin: 0;
}

.error-card__message {
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 1rem auto 0;
    max-width: 570px;
}

.error-card__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.6rem;
}

.error-card__actions .primary-link-button,
.error-card__actions .secondary-link-button {
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.error-card__contact {
    color: #475569;
    margin: 1.4rem 0 0;
}

.error-card__contact a {
    color: #2563eb;
    font-weight: 800;
}

.error-card__reference {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    gap: 0.45rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.8rem 1rem;
}

.error-card__reference code {
    color: #334155;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.support-referral {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    display: grid;
    gap: 0.45rem;
    margin-top: 1.25rem;
    padding: 1rem;
}

.support-testing-notice {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    color: #1e3a8a;
    margin-top: 1rem;
    padding: 1rem;
}

.support-testing-notice strong {
    display: block;
}

.support-referral span {
    color: #9a3412;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.support-referral a {
    overflow-wrap: anywhere;
}

.legal-updated {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 650;
}

.account-page {
    margin: 0 auto;
    max-width: 620px;
    padding: 2rem 1.5rem 3rem;
}

.account-page--wide {
    max-width: 960px;
}

.account-card {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    padding: 2rem;
}

.account-card h1 {
    color: #111827;
    font-size: 2rem;
    line-height: 1.1;
    margin: 0;
}

.account-card h2 {
    color: #111827;
    font-size: 1.55rem;
    line-height: 1.2;
    margin: 0;
}

.account-card + .account-card {
    margin-top: 1.25rem;
}

.account-card__header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.account-edit-button {
    min-height: 2.25rem;
    padding: 0.45rem 0.8rem;
}

.account-copy,
.account-alt {
    color: #596579;
    margin: 0.75rem 0 0;
}

.account-inline-link {
    color: #2563eb;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.account-inline-link:hover {
    color: #1d4ed8;
}

.account-alt a {
    color: #2563eb;
    font-weight: 750;
    text-decoration: none;
}

.octopus-api-help {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e3a5f;
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
}

.octopus-api-help strong {
    color: #1d4ed8;
}

.octopus-api-help p {
    margin: 0;
}

.octopus-api-help a {
    color: #1d4ed8;
    font-weight: 800;
}

.account-alt a:hover {
    text-decoration: underline;
}

.account-form {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.autofill-decoy {
    border: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
}

.account-form.compact {
    margin-top: 1.5rem;
}

.account-form--resend {
    margin-top: 0.9rem;
}

.account-edit-form {
    margin-top: 1.5rem;
}

.account-form label {
    color: #334155;
    font-size: 0.9rem;
    font-weight: 750;
}

.account-form input,
.account-form textarea {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #111827;
    font: inherit;
    padding: 0.72rem 0.85rem;
}

.account-form textarea {
    min-height: 12rem;
    resize: vertical;
}

.account-form input:focus,
.account-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
    outline: none;
}

.account-form button {
    background: #263244;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
}

.account-form button:hover {
    background: #172033;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.account-actions .secondary-action {
    margin-top: 0;
}

.account-form .account-actions {
    margin-top: 0.5rem;
}

.account-form .secondary-action {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.account-form .secondary-action:hover {
    background: #eaf2ff;
    color: #1d4ed8;
}

.account-cancel-button {
    background: transparent;
    border: 0;
    color: #475569;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0.45rem 0.2rem;
}

.account-cancel-button:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.account-message {
    border-radius: 8px;
    font-weight: 700;
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
}

.account-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.account-message.success {
    background: #dcfce7;
    color: #166534;
}

.account-message.warning {
    background: #fef3c7;
    color: #92400e;
}

.subscription-account-section {
    position: relative;
}

.subscription-status-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    padding: 0.45rem 0.75rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.subscription-status-badge--premium {
    background: #fde68a;
    color: #713f12;
}

.subscription-status-badge--free {
    background: #e2e8f0;
    color: #334155;
}

.subscription-plan-card {
    align-items: center;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: 1rem;
}

.subscription-plan-card div {
    display: grid;
    gap: 0.25rem;
}

.subscription-plan-card strong {
    color: #713f12;
    font-size: 1.1rem;
}

.subscription-plan-card span {
    color: #92400e;
}

.subscription-benefit-list {
    color: #7c2d12;
    font-weight: 750;
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
}

.subscription-benefit-list li + li {
    margin-top: 0.25rem;
}

.subscription-plan-card button {
    background: #f59e0b;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #111827;
    cursor: pointer;
    flex: 0 0 auto;
    font: inherit;
    font-weight: 900;
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem;
}

.subscription-plan-card button:hover:not(:disabled),
.subscription-plan-card button:focus-visible:not(:disabled) {
    background: #fbbf24;
    border-color: #fbbf24;
    outline: 0;
}

.subscription-plan-card button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.octopus-account-section .account-copy {
    max-width: 720px;
}

.octopus-connect-form {
    border-top: 1px solid #dbe3ef;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
}

.optional-label {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 650;
}

.field-help {
    color: #64748b;
    font-size: 0.86rem;
    margin: -0.25rem 0 0.35rem;
}

.account-form .account-checkbox {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    gap: 0.7rem;
    line-height: 1.45;
    margin-top: 0.4rem;
}

.account-form .account-checkbox input {
    flex: 0 0 auto;
    height: 1.1rem;
    margin-top: 0.15rem;
    padding: 0;
    width: 1.1rem;
}

.account-checkbox--consent {
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    padding: 0.85rem;
}

.account-checkbox a {
    color: #2563eb;
}

.account-form button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.octopus-empty-state {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #475569;
    display: grid;
    gap: 0.25rem;
    margin-top: 1.5rem;
    padding: 1.1rem;
}

.octopus-empty-state strong {
    color: #172033;
}

.octopus-connection-list {
    border-top: 1px solid #dbe3ef;
    margin-top: 1.5rem;
}

.octopus-connection-row {
    padding: 1.25rem 0;
}

.octopus-connection-row + .octopus-connection-row {
    border-top: 1px solid #dbe3ef;
}

.octopus-connection-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.octopus-connection-heading h3,
.usage-connection-item h3 {
    color: #172033;
    font-size: 1.15rem;
    margin: 0;
}

.octopus-connection-heading span,
.usage-connection-item span,
.connection-verified {
    color: #64748b;
}

.octopus-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.connection-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 850;
    padding: 0.3rem 0.55rem;
}

.connection-pill--primary {
    background: #dbeafe;
    color: #1d4ed8 !important;
}

.connection-pill--connected {
    background: #dcfce7;
    color: #166534 !important;
}

.connection-pill--disconnected {
    background: #e2e8f0;
    color: #475569 !important;
}

.octopus-connection-metrics,
.usage-connection-item dl {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 1rem 0 0;
}

.octopus-connection-metrics div,
.usage-connection-item dl div {
    min-width: 0;
}

.octopus-connection-metrics dt,
.usage-connection-item dt {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.octopus-connection-metrics dd,
.usage-connection-item dd {
    color: #172033;
    font-size: 1.25rem;
    font-weight: 850;
    margin: 0.2rem 0 0;
}

.usage-chart-panel {
    display: grid;
    gap: 1rem;
}

.usage-panel-header {
    align-items: start;
    gap: 1rem;
}

.usage-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.usage-export-action {
    align-items: center;
    min-height: 2.55rem;
}

.usage-controls label {
    align-items: center;
    background: #eef4ff;
    border: 1px solid #c8d6ec;
    border-radius: 8px;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.4rem 0.55rem;
}

.usage-average-group-control {
    align-items: center;
    background: #eef4ff;
    border: 1px solid #c8d6ec;
    border-radius: 8px;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.4rem 0.55rem;
}

.usage-average-group-control span {
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.usage-average-group-control select {
    appearance: none;
    background: #fff;
    border: 0;
    border-radius: 6px;
    color: #172033;
    font-weight: 850;
    min-width: 8rem;
    padding: 0.4rem 2rem 0.4rem 0.6rem;
}

.usage-toggle-control {
    align-items: center;
    background: #eef4ff;
    border: 1px solid #c8d6ec;
    border-radius: 8px;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.25rem 0.35rem 0.25rem 0.55rem;
}

.usage-toggle-control > span {
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.usage-toggle {
    align-items: center;
    background: #dbeafe;
    border: 1px solid #bfd3f2;
    border-radius: 7px;
    display: inline-flex;
    padding: 0.14rem;
}

.usage-toggle__option {
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: #1e3a8a;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1;
    min-height: 2rem;
    padding: 0.4rem 0.65rem;
    white-space: nowrap;
}

.usage-toggle__option--active {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    color: #ffffff;
}

.usage-toggle__option:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.usage-toggle__option:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.45;
}

.usage-controls span {
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.usage-controls select {
    appearance: none;
    background: #fff;
    border: 0;
    border-radius: 6px;
    color: #172033;
    font-weight: 850;
    min-width: 9rem;
    padding: 0.4rem 2rem 0.4rem 0.6rem;
}

.usage-chart {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.usage-chart svg {
    height: 360px;
    overflow: hidden;
    width: 100%;
}

.usage-chart__plot {
    fill: #f8fafc;
    stroke: #dbe3ef;
}

.usage-chart__grid-line {
    stroke: #dbe3ef;
    stroke-width: 1;
}

.usage-chart__axis-label {
    fill: #475569;
    font-size: 12px;
    font-weight: 750;
}

.usage-chart__axis-label--x {
    font-size: 11px;
}

.usage-chart__bar {
    cursor: pointer;
    stroke: rgba(15, 23, 42, 0.18);
    stroke-width: 1;
}

.usage-chart__bar-hit {
    cursor: pointer;
    fill: transparent;
    pointer-events: all;
}

.usage-chart__bar-group:hover .usage-chart__bar,
.usage-chart__bar-group:focus-within .usage-chart__bar {
    filter: brightness(1.05);
    stroke: #2563eb;
    stroke-width: 3;
}

.usage-chart-tooltip {
    filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.22));
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
}

.usage-chart-tooltip-layer {
    pointer-events: none;
}

.usage-chart-tooltip__card {
    fill: #ffffff;
    stroke: #cbd5e1;
    stroke-width: 1;
}

.usage-chart-tooltip__title {
    fill: #475569;
    font-size: 12px;
    font-weight: 850;
}

.usage-chart-tooltip__label {
    fill: #64748b;
    font-size: 11px;
    font-weight: 750;
}

.usage-chart-tooltip__value {
    fill: #172033;
    font-size: 12px;
    font-weight: 850;
}

.usage-chart-tooltip__swatch--import,
.usage-chart-tooltip__swatch--import-off-peak {
    fill: #fca5a5;
}

.usage-chart-tooltip__swatch--import {
    stroke: #ef4444;
    stroke-width: 2;
}

.usage-chart-tooltip__swatch--import-peak {
    fill: #ef4444;
}

.usage-chart-tooltip__swatch--export,
.usage-chart-tooltip__swatch--export-off-peak {
    fill: #86efac;
}

.usage-chart-tooltip__swatch--export-peak {
    fill: #22c55e;
}

.usage-chart-tooltip__swatch--gas {
    fill: #93c5fd;
}

.usage-chart-tooltip__swatch--standing {
    fill: #a855f7;
}

.usage-chart__bar--import,
.usage-chart__bar--import-off-peak {
    fill: #fca5a5;
}

.usage-chart__bar--import-peak {
    fill: #ef4444;
}

.usage-chart__bar--export {
    fill: #86efac;
}

.usage-chart__bar--gas {
    fill: #93c5fd;
}

.usage-chart__bar--standing {
    fill: #a855f7;
}

.usage-average-chart__bar--import-off-peak,
.usage-average-chart__swatch--import-off-peak {
    fill: #fca5a5;
    background: #fca5a5;
}

.usage-average-chart__bar--import-peak,
.usage-average-chart__swatch--import-peak {
    fill: #ef4444;
    background: #ef4444;
}

.usage-average-chart__bar--export-off-peak,
.usage-average-chart__swatch--export-off-peak {
    fill: #86efac;
    background: #86efac;
}

.usage-average-chart__bar--export-peak,
.usage-average-chart__swatch--export-peak {
    fill: #22c55e;
    background: #22c55e;
}

.usage-average-chart__bar--gas {
    fill: #93c5fd;
}

.usage-chart__legend {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.usage-chart__legend span {
    align-items: center;
    color: #475569;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 0.35rem;
}

.usage-chart__legend-swatch {
    border-radius: 4px;
    display: inline-block;
    height: 0.72rem;
    width: 0.72rem;
}

.usage-chart__legend-swatch--import,
.usage-chart__legend-swatch--import-off-peak {
    background: #fca5a5;
}

.usage-chart__legend-swatch--import-peak {
    background: #ef4444;
}

.usage-chart__legend-swatch--export {
    background: #86efac;
}

.usage-chart__legend-swatch--gas {
    background: #93c5fd;
}

.usage-chart__legend-swatch--standing {
    background: #a855f7;
}

.usage-summary-grid,
.usage-meter-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.usage-statistics-panel {
    display: grid;
    gap: 0.9rem;
}

.usage-statistics-updated {
    color: #64748b;
    font-weight: 750;
    white-space: nowrap;
}

.usage-statistics-group {
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    overflow: hidden;
}

.usage-statistics-group summary {
    color: #1d4ed8;
    cursor: pointer;
    font-weight: 900;
    list-style-position: inside;
    padding: 0.8rem 1rem;
}

.usage-statistics-table-wrap {
    overflow-x: auto;
}

.usage-statistics-table {
    border-collapse: collapse;
    min-width: 680px;
    width: 100%;
}

.usage-statistics-table th,
.usage-statistics-table td {
    border-top: 1px solid #dbe3ef;
    padding: 0.65rem 1rem;
    text-align: left;
}

.usage-statistics-table th {
    color: #475569;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.usage-statistics-table td {
    color: #172033;
    font-weight: 700;
}

.usage-statistics-series {
    display: block;
}

.usage-statistics-segment {
    color: #64748b;
    display: block;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.usage-total-card,
.usage-meter-card {
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
}

.usage-total-card {
    border-top: 5px solid #64748b;
}

.usage-total-card--import {
    border-top-color: #2563eb;
}

.usage-total-card--export {
    border-top-color: #10b981;
}

.usage-total-card--gas {
    border-top-color: #f97316;
}

.usage-total-card--standing {
    border-top-color: #a855f7;
}

.usage-total-card span,
.usage-meter-card span {
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.usage-total-card strong,
.usage-meter-card strong {
    color: #172033;
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1;
}

.usage-total-card small,
.usage-meter-card small {
    color: #64748b;
    font-weight: 650;
}

.usage-slot-list {
    display: grid;
    gap: 0.55rem;
}

.usage-slot-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
}

.usage-slot-row span {
    display: grid;
    gap: 0.2rem;
}

.usage-slot-row__values {
    justify-items: end;
    text-align: right;
}

.usage-slot-row strong {
    color: #172033;
}

.usage-slot-row small {
    color: #64748b;
    font-weight: 650;
}

.connection-verified {
    font-size: 0.84rem;
    margin: 0.9rem 0 0;
}

.octopus-connection-actions {
    margin-top: 0.85rem;
}

.disconnect-choice {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #7c2d12;
    margin-top: 1rem;
    padding: 1rem;
}

.disconnect-choice p {
    margin: 0.35rem 0 0;
}

.disconnect-choice .account-actions {
    margin-top: 0.8rem;
}

.disconnect-choice .danger-action {
    background: #be123c;
    border: 1px solid #be123c;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
}

.primary-link-button,
.secondary-link-button {
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    margin-top: 0.8rem;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
}

.primary-link-button {
    background: #2563eb;
    color: #ffffff;
}

.secondary-link-button {
    border: 1px solid #cbd5e1;
    color: #1d4ed8;
    margin-top: 0;
}

.usage-connection-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 1.25rem;
}

.usage-connection-item {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
}

.usage-connection-item > .connection-pill {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.usage-connection-item dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-details {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
}

.account-details div {
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 0.25rem;
    padding-top: 0.75rem;
}

.account-details dt {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.account-details dd {
    color: #111827;
    margin: 0;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid #dbe3ef;
    color: #475569;
}

.site-footer__inner {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr auto;
    margin: 0 auto;
    max-width: 1180px;
    padding: 1.25rem 1.5rem;
}

.site-footer__brand {
    align-items: center;
    color: #111827;
    display: inline-flex;
    font-weight: 800;
    gap: 0.65rem;
}

.site-footer__logo {
    height: 34px;
    width: 34px;
}

.site-footer__links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.site-footer__links a {
    color: #2563eb;
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
}

.site-footer__links a:hover {
    text-decoration: underline;
}

.site-footer__meta {
    align-items: flex-end;
    color: #64748b;
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
    gap: 0.2rem;
    text-align: right;
}

html.dark .site-footer {
    background: #0f172a;
    border-top-color: #1f2937;
    color: #cbd5e1;
}

html.dark .site-footer__brand {
    color: #f8fafc;
}

html.dark .site-footer__links a {
    color: #93c5fd;
}

html.dark .site-footer__meta {
    color: #94a3b8;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #dbe3ef;
    color: #172033;
}

.site-brand,
.site-brand:hover {
    color: #111827;
}

.site-brand__domain {
    border-left-color: #cbd5e1;
    color: #2563eb;
}

.site-brand__tagline {
    color: #2563eb;
}

.site-nav a {
    color: #334155;
}

.site-nav a:hover,
.site-nav a.active {
    background: #eaf2ff;
    color: #1d4ed8;
}

.theme-toggle {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.site-region-picker,
.site-preference-picker {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #172033;
}

.region-setup {
    background: #eef5ff;
    border-top-color: #dbeafe;
    color: #172033;
}

.region-setup strong {
    color: #172033;
}

.region-setup span,
.region-setup small {
    color: #475569;
}

.region-setup__dismiss {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

.region-setup__dismiss:hover {
    background: #eaf2ff !important;
    color: #1d4ed8 !important;
}

.theme-toggle:hover {
    background: #eaf2ff;
}

.site-header .site-account-button {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #172033;
}

.site-header .site-account-button:hover,
.site-header .site-account-button:focus-visible {
    background: #eaf2ff;
    color: #1d4ed8;
}

html.dark .site-header {
    background: #263244;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

html.dark .support-banner {
    background: #facc15;
    border-bottom-color: #a16207;
    color: #422006;
}

html.dark .support-banner strong,
html.dark .support-banner span {
    color: #422006;
}

html.dark .support-banner:hover {
    background: #fbbf24;
}

html.dark .site-announcement-banner {
    background: #fb923c;
    border-bottom-color: #c2410c;
    color: #431407;
}

html.dark .site-announcement-banner strong {
    color: #431407;
}

html.dark .site-announcement-banner button {
    background: rgba(67, 20, 7, 0.16);
    border-color: rgba(67, 20, 7, 0.34);
    color: #431407;
}

html.dark .site-announcement-banner button:hover {
    background: rgba(67, 20, 7, 0.24);
}

html.dark .site-brand,
html.dark .site-brand:hover {
    color: #f8fafc;
}

html.dark .site-brand__domain {
    border-left-color: rgba(255, 255, 255, 0.18);
    color: #bfdbfe;
}

html.dark .site-brand__tagline {
    color: #bfdbfe;
}

html.dark .site-nav a {
    color: #dbeafe;
}

html.dark .site-nav a:hover,
html.dark .site-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

html.dark .hero-status {
    background: #172033;
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

html.dark .hero-status span {
    color: #bfdbfe;
}

html.dark .hero-status small {
    color: #cbd5e1;
}

html.dark .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

html.dark .site-region-picker,
html.dark .site-preference-picker {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

html.dark .region-setup {
    background: rgba(147, 197, 253, 0.08);
    border-top-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

html.dark .region-setup strong {
    color: #f8fafc;
}

html.dark .region-setup span,
html.dark .region-setup small {
    color: #dbeafe;
}

html.dark .region-setup input,
html.dark .region-setup select {
    background: #111827;
    border-color: #374151;
    color: #f8fafc;
    color-scheme: dark;
}

html.dark .region-setup__dismiss {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #dbeafe !important;
}

html.dark .region-setup__dismiss:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

html.dark .detected-region-prompt {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(147, 197, 253, 0.35);
    color: #dbeafe;
}

html.dark .detected-region-prompt strong {
    color: #ffffff;
}

html.dark .detected-region-prompt__dismiss {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #bfdbfe !important;
}

html.dark .site-region-picker span,
html.dark .site-preference-picker span {
    color: #93c5fd;
}

html.dark .site-region-picker select,
html.dark .site-preference-picker select {
    background-color: rgba(147, 197, 253, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2393c5fd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    color: #f8fafc;
    color-scheme: dark;
}

html.dark .site-preference-value {
    background-color: rgba(147, 197, 253, 0.12);
    color: #f8fafc;
}

html.dark .site-region-picker option,
html.dark .site-preference-picker option,
html.dark .site-preference-picker optgroup {
    background: #111827;
    color: #f8fafc;
}

html.dark .site-preference-picker optgroup {
    color: #93c5fd;
}

html.dark .site-region-picker option:checked,
html.dark .site-preference-picker option:checked {
    background: #2563eb;
    color: #ffffff;
}

html.dark .site-region-picker option.site-region-option--expected,
html.dark .site-preference-picker option.site-region-option--expected {
    background: #1e3a5f;
    color: #bfdbfe;
    font-weight: 800;
}

html.dark .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}

html.dark .site-mobile-menu-button {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

html.dark .site-mobile-menu-button:hover,
html.dark .site-mobile-menu-button:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

html.dark .site-mobile-menu-button span {
    background: #93c5fd;
}

html.dark .site-mobile-menu-panel {
    background: #111827;
    border-color: #374151;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

html.dark .site-mobile-menu-panel a {
    color: #f8fafc;
}

html.dark .site-mobile-menu-panel a:hover,
html.dark .site-mobile-menu-panel a.active {
    background: #1f2937;
    color: #ffffff;
}

html.dark .site-header .site-account-button {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

html.dark .site-header .site-account-button:hover,
html.dark .site-header .site-account-button:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

html.dark .site-account-menu__panel {
    background: #111827;
    border-color: #374151;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

html.dark .site-account-menu__panel a {
    color: #f8fafc;
}

html.dark .site-account-menu__panel a:hover,
html.dark .site-account-menu__panel a:focus-visible {
    background: #1f2937;
    color: #93c5fd;
}

html.dark .site-account-menu__signout button {
    color: #f8fafc;
}

html.dark .site-account-menu__signout button:hover,
html.dark .site-account-menu__signout button:focus-visible {
    background: #1f2937;
    color: #ffffff;
}

html.dark .site-account-menu__panel .site-account-subscription--free {
    background: #1f2937;
    border-color: #374151;
}

html.dark .site-account-menu__panel .site-account-subscription--free:hover,
html.dark .site-account-menu__panel .site-account-subscription--free:focus-visible {
    background: #263244;
}

html.dark .site-account-menu__panel .site-account-subscription--free span {
    color: #93a4bd;
}

html.dark .site-account-menu__panel .site-account-subscription--free strong {
    color: #f8fafc;
}

html.dark .site-account-menu__panel .site-account-subscription--premium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
}

html.dark .site-account-menu__panel .site-account-subscription--premium:hover,
html.dark .site-account-menu__panel .site-account-subscription--premium:focus-visible {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
}

html.dark .site-account-menu__panel .site-account-subscription--premium span {
    color: #92400e;
}

html.dark .site-account-menu__panel .site-account-subscription--premium strong {
    color: #713f12;
}

html.dark .energy-hero,
html.dark .metric-card,
html.dark .content-panel,
html.dark .legal-document,
html.dark .holding-card,
html.dark .error-card,
html.dark .account-card {
    background: #1f2937;
    border-color: #374151;
}

html.dark .worker-metric-grid .metric-card {
    background: #263244;
    border-color: #435167;
}

html.dark .support-referral {
    background: rgba(250, 204, 21, 0.12);
    border-color: rgba(250, 204, 21, 0.35);
}

html.dark .support-testing-notice {
    background: rgba(37, 99, 235, 0.16);
    border-color: rgba(96, 165, 250, 0.45);
    border-left-color: #60a5fa;
    color: #dbeafe;
}

html.dark .support-referral span {
    color: #fde68a;
}

html.dark .energy-hero h1,
html.dark .page-heading h1,
html.dark .content-panel h2,
html.dark .metric-card strong,
html.dark .legal-document h1,
html.dark .legal-document h2,
html.dark .holding-card h1,
html.dark .error-card h1,
html.dark .account-card h1,
html.dark .account-card h2,
html.dark .account-details dd {
    color: #f8fafc;
}

html.dark .dashboard-heading__electricity {
    color: #facc15;
}

html.dark .dashboard-heading__gas {
    color: #93c5fd;
}

html.dark .dashboard-heading__direction--import {
    color: #fca5a5;
}

html.dark .dashboard-heading__direction--export {
    color: #86efac;
}

html.dark .tariff-type-panel {
    background: #111827;
    border-color: #334155;
}

html.dark .tariff-type-panel span {
    color: #93c5fd;
}

html.dark .tariff-type-panel strong,
html.dark .tariff-type-panel dd {
    color: #f8fafc;
}

html.dark .tariff-type-panel p {
    color: #cbd5e1;
}

html.dark .tariff-type-panel dl div {
    background: #0f172a;
    border-color: #334155;
}

html.dark .tariff-type-panel dt {
    color: #93a4bd;
}

html.dark .rate-period-card {
    border-color: rgba(248, 250, 252, 0.2);
}

html.dark .rate-period-card span,
html.dark .rate-period-card small {
    color: rgba(15, 23, 42, 0.84);
}

html.dark .rate-period-card strong {
    color: #020617;
}

html.dark .hero-copy,
html.dark .page-heading p,
html.dark .panel-header p,
html.dark .metric-card small,
html.dark .slot-row span,
html.dark .action-list,
html.dark .action-list li,
html.dark .legal-document,
html.dark .holding-card,
html.dark .holding-card__message,
html.dark .error-card,
html.dark .error-card__message,
html.dark .error-card__contact,
html.dark .account-copy,
html.dark .account-alt {
    color: #cbd5e1;
}

html.dark .account-inline-link {
    color: #93c5fd;
}

html.dark .account-inline-link:hover {
    color: #bfdbfe;
}

html.dark .metric-card span,
html.dark .legal-updated,
html.dark .holding-card__domain,
html.dark .account-details dt {
    color: #93a4bd;
}

html.dark .error-card__status {
    background: rgba(249, 115, 22, 0.14);
    border-color: rgba(251, 146, 60, 0.4);
    color: #fdba74;
}

html.dark .error-card__contact a {
    color: #93c5fd;
}

html.dark .error-card__reference {
    background: #111827;
    border-color: #374151;
    color: #93a4bd;
}

html.dark .error-card__reference code {
    color: #e2e8f0;
}

html.dark .octopus-api-help {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(147, 197, 253, 0.35);
    color: #dbeafe;
}

html.dark .octopus-api-help strong,
html.dark .octopus-api-help a {
    color: #93c5fd;
}

html.dark .slot-row,
html.dark .account-details div {
    border-color: #374151;
}

html.dark .average-row__values small {
    color: #cbd5e1;
}

html.dark .average-tile {
    background: #111827;
    border-color: #334155;
}

html.dark .average-tile__heading span,
html.dark .average-tile dt {
    color: #93c5fd;
}

html.dark .average-tile dd {
    color: #f8fafc;
}

html.dark .average-tile__value[class*="price-band-"] {
    border-color: rgba(248, 250, 252, 0.16);
    color: #020617;
}

html.dark .price-slot-card {
    background: #111827;
    border-color: #334155;
}

html.dark .price-slot-card--current {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

html.dark .price-slot-card__date {
    color: #93c5fd;
}

html.dark .price-slot-card__band {
    color: #bfdbfe;
}

html.dark .price-slot-card__time,
html.dark .price-slot-card__details span {
    color: #f8fafc;
}

html.dark .price-slot-card__details .price-slot-card__slot-type--peak {
    color: #fdba74;
}

html.dark .price-slot-card__details .price-slot-card__slot-type--off-peak {
    color: #5eead4;
}

html.dark .price-slot-card__details .price-slot-card__slot-type--unknown {
    color: #cbd5e1;
}

html.dark .price-slot-card__details .price-slot-card__average--above {
    color: #fca5a5;
}

html.dark .price-slot-card__details .price-slot-card__average--about {
    color: #fde68a;
}

html.dark .price-slot-card__details .price-slot-card__average--below {
    color: #86efac;
}

html.dark .price-slot-card__details .price-slot-card__average--unknown {
    color: #cbd5e1;
}

html.dark .price-slot-card__details {
    border-color: #334155;
}

html.dark .slot-grid-pager span {
    color: #cbd5e1;
}

html.dark .compact-price-view {
    background: linear-gradient(135deg, #2a1725 0%, #4a1f28 100%);
    border-color: #4b5563;
}

html.dark .compact-price-view h3,
html.dark .compact-price-slot span {
    color: #f8fafc;
}

html.dark .compact-price-slot strong {
    border-left-color: rgba(248, 250, 252, 0.18);
}

html.dark .compact-price-slot--current {
    outline-color: #93c5fd;
}

html.dark .chart-toggle {
    background: rgba(147, 197, 253, 0.12);
    border-color: #334155;
}

html.dark .chart-toggle__button {
    color: #bfdbfe;
}

html.dark .chart-toggle__button--active {
    background: #3b82f6;
    color: #ffffff;
}

html.dark .chart-average-selector {
    background: rgba(147, 197, 253, 0.12);
    border-color: #334155;
}

html.dark .chart-average-selector span {
    color: #93c5fd;
}

html.dark .chart-average-selector select {
    background-color: #0f172a;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2393c5fd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    color: #f8fafc;
    color-scheme: dark;
}

html.dark .chart-average-selector option {
    background: #0f172a;
    color: #f8fafc;
}

html.dark .tariff-chart__plot {
    fill: #101827;
    stroke: #334155;
}

html.dark .tariff-chart__grid-line {
    stroke: #263449;
}

html.dark .tariff-chart__tick-line,
html.dark .tariff-chart__zero-line {
    stroke: #475569;
}

html.dark .tariff-chart__axis-label,
html.dark .tariff-chart__legend span {
    fill: #dbeafe;
    color: #dbeafe;
}

html.dark .tariff-chart__bar {
    stroke: rgba(248, 250, 252, 0.18);
}

html.dark .tariff-chart__bar--current {
    stroke: #93c5fd;
}

html.dark .tariff-chart__bar:focus,
html.dark .tariff-chart__bar-group:hover .tariff-chart__bar,
html.dark .tariff-chart__bar-group:focus-within .tariff-chart__bar {
    stroke: #bfdbfe;
}

html.dark .tariff-chart__peak-label {
    fill: #fdba74;
}

html.dark .tariff-chart__cheap-label {
    fill: #5eead4;
}

html.dark .tariff-chart__now-line {
    stroke: #93c5fd;
}

html.dark .tariff-chart__day-line {
    stroke: #94a3b8;
}

html.dark .tariff-chart__now-pill {
    fill: #2563eb;
}

html.dark .tariff-chart__day-pill {
    fill: #334155;
}

html.dark .tariff-chart-tooltip {
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

html.dark .tariff-chart-tooltip__card {
    fill: #0f172a;
    stroke: #475569;
}

html.dark .tariff-chart-tooltip__label,
html.dark .tariff-chart-tooltip__average {
    fill: #cbd5e1;
}

html.dark .tariff-chart-tooltip__price-pill {
    stroke: rgba(248, 250, 252, 0.18);
}

html.dark .tariff-chart-tooltip__comparison.price-slot-card__average--above {
    fill: #fca5a5;
}

html.dark .tariff-chart-tooltip__comparison.price-slot-card__average--about {
    fill: #fde68a;
}

html.dark .tariff-chart-tooltip__comparison.price-slot-card__average--below {
    fill: #86efac;
}

html.dark .tariff-chart-tooltip__comparison.price-slot-card__average--unknown {
    fill: #cbd5e1;
}

html.dark .filter-strip span {
    background: #172554;
    border-color: #1d4ed8;
    color: #dbeafe;
}

html.dark .admin-status-pill {
    background: #111827;
    border-color: #334155;
    color: #cbd5e1;
}

html.dark .admin-status-pill--ok {
    background: rgba(20, 83, 45, 0.45);
    border-color: #22c55e;
    color: #bbf7d0;
}

html.dark .admin-status-pill--warning {
    background: rgba(124, 45, 18, 0.45);
    border-color: #fb923c;
    color: #fed7aa;
}

html.dark .dashboard-filter span {
    color: #93a4bd;
}

html.dark .dashboard-filter select {
    background: #111827;
    border-color: #374151;
    color: #f8fafc;
}

html.dark .secondary-action {
    background: #2563eb;
}

html.dark .secondary-action:hover {
    background: #1d4ed8;
}

html.dark .worker-alert {
    background: #3f1d2a;
    border-color: #9f1239;
    color: #fecdd3;
}

html.dark .admin-tab {
    background: #101827;
    border-color: #334155;
    color: #93c5fd;
}

html.dark .admin-tab:hover,
html.dark .admin-tab--active {
    background: #2563eb;
    border-color: #60a5fa;
    color: #ffffff;
}

html.dark .admin-tabs--secondary {
    background: #162235;
    border-color: #334155;
}

html.dark .admin-tabs--secondary .admin-tab {
    background: #24344b;
    border-color: #40536d;
    color: #bfdbfe;
}

html.dark .admin-tabs--secondary .admin-tab:hover,
html.dark .admin-tabs--secondary .admin-tab--active {
    background: #2563eb;
    border-color: #60a5fa;
    color: #ffffff;
}

html.dark .worker-note,
html.dark .worker-empty {
    background: #172554;
    border-color: #1d4ed8;
    color: #dbeafe;
}

html.dark .settings-row {
    border-color: #374151;
}

html.dark .settings-row strong {
    color: #f8fafc;
}

html.dark .settings-row small {
    color: #cbd5e1;
}

html.dark .settings-select {
    background-color: #111827;
    background-image:
        linear-gradient(45deg, transparent 50%, #93c5fd 50%),
        linear-gradient(135deg, #93c5fd 50%, transparent 50%);
    border-color: #374151;
    color: #f8fafc;
}

html.dark .segmented-control {
    background: #111827;
    border-color: #374151;
}

html.dark .segmented-control__button {
    color: #dbeafe;
}

html.dark .segmented-control__button--active {
    background: #3b82f6;
    color: #ffffff;
}

html.dark .settings-number-control {
    background: #111827;
    border-color: #374151;
    color: #bfdbfe;
}

html.dark .settings-number-control input {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

html.dark .settings-number-control--labelled span,
html.dark .section-note {
    color: #cbd5e1;
}

html.dark .worker-action {
    background: #111827;
    border-color: #374151;
    color: #f8fafc;
}

html.dark .worker-action:hover:not(:disabled) {
    border-color: #60a5fa;
    box-shadow: 0 10px 24px rgba(96, 165, 250, 0.12);
}

html.dark .worker-action span {
    background: #1e3a8a;
    color: #bfdbfe;
}

html.dark .worker-action strong,
html.dark .worker-job-row strong,
html.dark .worker-job-row span {
    color: #f8fafc;
}

html.dark .worker-action small,
html.dark .worker-job-row small {
    color: #cbd5e1;
}

html.dark .worker-status-list div {
    border-color: #374151;
}

html.dark .worker-status-list span {
    color: #93a4bd;
}

html.dark .worker-status-list strong {
    color: #f8fafc;
}

html.dark .worker-setting-row {
    background: #111827;
    border-color: #374151;
}

html.dark .job-notification-settings__heading h3,
html.dark .job-notification-row strong {
    color: #f8fafc;
}

html.dark .job-notification-settings__heading p,
html.dark .job-notification-row small,
html.dark .job-notification-row--header {
    color: #a9b7cc;
}

html.dark .job-notification-row {
    background: #111827;
    border-color: #374151;
}

html.dark .job-notification-row--header {
    background: transparent;
    border-color: transparent;
}

html.dark .job-notification-toggle {
    color: #dbeafe;
}

html.dark .admin-account-card {
    background: #111827;
    border-color: #374151;
}

html.dark .admin-account-card__summary strong {
    color: #f8fafc;
}

html.dark .admin-account-card__summary-meta {
    color: #a9b7cc;
}

html.dark .admin-account-card__expanded {
    border-color: #374151;
}

html.dark .admin-account-card h3 {
    color: #f8fafc;
}

html.dark .admin-subscription-editor {
    background: #111827;
    border-color: #374151;
}

html.dark .admin-account-access-editor {
    background: #111827;
    border-color: #374151;
}

html.dark .admin-account-access-editor label span {
    color: #93c5fd;
}

html.dark .admin-account-access-editor select {
    background: #1f2937;
    border-color: #4b5563;
    color: #f8fafc;
}

html.dark .admin-subscription-editor label span {
    color: #93c5fd;
}

html.dark .admin-subscription-editor select,
html.dark .admin-subscription-editor input {
    background: #1f2937;
    border-color: #4b5563;
    color: #f8fafc;
}

html.dark .worker-setting-row span {
    color: #f8fafc;
}

html.dark .worker-setting-row small {
    color: #cbd5e1;
}

html.dark .settings-search-row label {
    color: #93c5fd;
}

html.dark .version-history-entry {
    background: #111827;
    border-color: #374151;
}

html.dark .version-history-entry span {
    color: #7dd3fc;
}

html.dark .version-history-entry strong {
    color: #f8fafc;
}

html.dark .version-history-entry small,
html.dark .version-history-entry ul {
    color: #cbd5e1;
}

html.dark .worker-setting-input {
    background: #0f172a;
    border-color: #374151;
    color: #f8fafc;
}

html.dark .region-editor-row--header {
    color: #93a4bd;
}

html.dark .danger-action {
    border-color: #881337;
    color: #fecdd3;
}

html.dark .email-template-list-item,
html.dark .email-template-editor {
    background: #111827;
    border-color: #374151;
    color: #f8fafc;
}

html.dark .email-template-list-item:hover,
html.dark .email-template-list-item--active {
    background: #172554;
    border-color: #60a5fa;
}

html.dark .email-template-list-item strong,
html.dark .email-template-editor-heading h3 {
    color: #f8fafc;
}

html.dark .email-template-culture {
    background: rgba(96, 165, 250, 0.16);
    color: #bfdbfe;
}

html.dark .email-template-list-item small {
    color: #cbd5e1;
}

html.dark .email-template-editor-heading span,
html.dark .email-template-field span,
html.dark .email-token-panel > span {
    color: #93c5fd;
}

html.dark .email-template-actions {
    background: #101827;
    border-color: #334155;
}

html.dark .email-template-actions small {
    color: #cbd5e1;
}

html.dark .email-token-panel {
    background: #172554;
    border-color: #1d4ed8;
}

html.dark .email-token {
    background: #0f172a;
    border-color: #334155;
    color: #dbeafe;
}

html.dark .worker-job-row {
    border-color: #374151;
}

html.dark .visitor-stats-card,
html.dark .visitor-stats-row {
    border-color: #374151;
}

html.dark .visitor-stats-card h3,
html.dark .visitor-stats-row strong,
html.dark .visitor-stats-row span {
    color: #f8fafc;
}

html.dark .visitor-stats-row small {
    color: #cbd5e1;
}

html.dark .worker-status-pill--queued {
    background: #0c4a6e;
    color: #e0f2fe;
}

html.dark .worker-status-pill--running {
    background: #14532d;
    color: #dcfce7;
}

html.dark .worker-status-pill--succeeded {
    background: #134e4a;
    color: #ccfbf1;
}

html.dark .worker-status-pill--failed {
    background: #881337;
    color: #ffe4e6;
}

html.dark .worker-status-pill--cancelled {
    background: #374151;
    color: #e5e7eb;
}

html.dark .account-form label {
    color: #dbeafe;
}

html.dark .octopus-connect-form,
html.dark .octopus-connection-list,
html.dark .octopus-connection-row + .octopus-connection-row {
    border-color: #374151;
}

html.dark .account-checkbox--consent,
html.dark .octopus-empty-state {
    background: #111827;
    border-color: #4b5563;
}

html.dark .octopus-empty-state,
html.dark .field-help,
html.dark .optional-label,
html.dark .octopus-connection-heading span,
html.dark .usage-connection-item span,
html.dark .connection-verified,
html.dark .octopus-connection-metrics dt,
html.dark .usage-connection-item dt {
    color: #cbd5e1;
}

html.dark .octopus-empty-state strong,
html.dark .octopus-connection-heading h3,
html.dark .usage-connection-item h3,
html.dark .octopus-connection-metrics dd,
html.dark .usage-connection-item dd {
    color: #f8fafc;
}

html.dark .disconnect-choice {
    background: #431407;
    border-color: #9a3412;
    color: #ffedd5;
}

html.dark .usage-connection-item {
    border-color: #374151;
}

html.dark .usage-chart__plot,
html.dark .usage-total-card,
html.dark .usage-meter-card,
html.dark .usage-slot-row,
html.dark .usage-statistics-group {
    background: #111827;
    border-color: #374151;
}

html.dark .usage-statistics-updated,
html.dark .usage-statistics-table th,
html.dark .usage-statistics-segment {
    color: #cbd5e1;
}

html.dark .usage-statistics-group summary {
    color: #93c5fd;
}

html.dark .usage-statistics-table th,
html.dark .usage-statistics-table td {
    border-color: #374151;
}

html.dark .usage-statistics-table td {
    color: #f8fafc;
}

html.dark .usage-chart__plot {
    fill: #111827;
    stroke: #374151;
}

html.dark .usage-chart__grid-line {
    stroke: #253244;
}

html.dark .usage-chart__axis-label,
html.dark .usage-chart__legend span,
html.dark .usage-total-card small,
html.dark .usage-meter-card small,
html.dark .usage-slot-row small {
    color: #cbd5e1;
    fill: #cbd5e1;
}

html.dark .usage-chart-tooltip__card {
    fill: #111827;
    stroke: #374151;
}

html.dark .usage-chart-tooltip__title,
html.dark .usage-chart-tooltip__value {
    fill: #f8fafc;
}

html.dark .usage-chart-tooltip__label {
    fill: #cbd5e1;
}

html.dark .usage-total-card span,
html.dark .usage-meter-card span {
    color: #93c5fd;
}

html.dark .usage-total-card strong,
html.dark .usage-meter-card strong,
html.dark .usage-slot-row strong {
    color: #f8fafc;
}

html.dark .usage-controls label {
    background: #1d293b;
    border-color: #374151;
}

html.dark .usage-average-group-control {
    background: #1d293b;
    border-color: #374151;
}

html.dark .usage-average-group-control span {
    color: #93c5fd;
}

html.dark .usage-average-group-control select {
    background: #0f172a;
    color: #f8fafc;
}

html.dark .usage-toggle-control {
    background: #1d293b;
    border-color: #374151;
}

html.dark .usage-toggle-control > span {
    color: #93c5fd;
}

html.dark .usage-toggle {
    background: #111827;
    border-color: #334155;
}

html.dark .usage-toggle__option {
    color: #dbeafe;
}

html.dark .usage-toggle__option--active {
    background: #3b82f6;
    color: #ffffff;
}

html.dark .usage-controls span {
    color: #93c5fd;
}

html.dark .usage-controls select {
    background: #0f172a;
    color: #f8fafc;
}

html.dark .secondary-link-button {
    border-color: #4b5563;
    color: #93c5fd;
}

html.dark .account-form input,
html.dark .account-form textarea {
    background: #111827;
    border-color: #4b5563;
    color: #f8fafc;
}

html.dark .account-form button {
    background: #2563eb;
}

html.dark .account-form button:hover {
    background: #1d4ed8;
}

html.dark .account-form .secondary-action {
    background: #111827;
    border-color: #4b5563;
    color: #dbeafe;
}

html.dark .account-form .secondary-action:hover {
    background: #1f2937;
    color: #ffffff;
}

html.dark .account-message.warning {
    background: #422006;
    color: #fde68a;
}

html.dark .subscription-status-badge--free {
    background: #334155;
    color: #dbeafe;
}

html.dark .subscription-plan-card {
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.65), rgba(113, 63, 18, 0.38));
    border-color: rgba(245, 158, 11, 0.65);
}

html.dark .subscription-plan-card strong {
    color: #fde68a;
}

html.dark .subscription-plan-card span {
    color: #fed7aa;
}

html.dark .subscription-benefit-list {
    color: #ffedd5;
}

html.dark .account-cancel-button {
    color: #cbd5e1;
}

html.dark .account-cancel-button:hover {
    color: #ffffff;
}

@media (max-width: 1120px) {
    .site-brand__domain {
        display: none;
    }

    .average-tile-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

    .site-nav {
        display: none;
    }

    .site-mobile-menu {
        display: block;
        justify-self: end;
    }

    .site-header__bar {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
}

@media (max-width: 1100px) {
    .energy-hero {
        grid-template-columns: 1fr;
    }

    .energy-hero > div:first-child {
        padding-inline-end: 0;
    }

    .hero-status-group {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .site-header__bar {
        grid-template-columns: auto 1fr auto;
    }

    .site-account {
        justify-content: flex-end;
    }

    .site-preferences {
        justify-content: flex-start;
        overflow-x: visible;
        padding-inline: 1.25rem;
    }

    .region-setup {
        grid-template-columns: 1fr;
        padding-inline: 1.25rem;
    }

    .region-setup__controls {
        justify-content: flex-start;
    }

    .energy-hero,
    .dashboard-context-grid,
    .tariff-type-panel,
    .page-heading,
    .two-column {
        grid-template-columns: 1fr;
    }

    .dashboard-context-grid .metric-card:first-child,
    .dashboard-context-grid .metric-card:last-child {
        grid-column: auto;
    }

    .average-tile-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .price-slot-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .slot-grid-size-control,
    .slot-layout-control,
    .price-grid-layout-control {
        display: none;
    }

    .page-heading {
        display: grid;
    }

    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-control-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-job-row {
        grid-template-columns: 1fr;
    }

    .visitor-stats-grid {
        grid-template-columns: 1fr;
    }

    .worker-setting-row {
        grid-template-columns: 1fr;
    }

    .job-notification-row {
        grid-template-columns: 1fr 1fr;
    }

    .job-notification-row > div:first-child,
    .job-notification-row > button {
        grid-column: 1 / -1;
    }

    .job-notification-row--header {
        display: none;
    }

    .admin-search-row,
    .email-manager-layout,
    .admin-account-card {
        grid-template-columns: 1fr;
    }

    .admin-account-card__actions {
        align-items: stretch;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .site-footer__links {
        justify-content: flex-start;
    }

    .site-footer__meta {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .error-page {
        min-height: calc(100vh - 210px);
        padding: 1rem;
    }

    .error-card {
        padding: 1.5rem 1.25rem;
    }

    .error-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .error-card__actions .primary-link-button,
    .error-card__actions .secondary-link-button {
        width: 100%;
    }

    .account-page {
        padding: 1rem;
    }

    .account-card {
        padding: 1.25rem;
    }

    .octopus-connection-heading {
        display: grid;
    }

    .octopus-statuses {
        justify-content: flex-start;
    }

    .octopus-connection-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .usage-connection-grid {
        grid-template-columns: 1fr;
    }

    .site-header__bar {
        gap: 0.7rem;
        grid-template-columns: 1fr auto;
        padding: 0.75rem 1rem;
    }

    .site-mobile-menu {
        grid-column: 2;
        grid-row: 1;
    }

    .site-account {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .site-account-menu {
        margin-left: auto;
    }

    .site-account-menu__panel {
        left: auto;
        min-width: 0;
        padding: 0.35rem;
        position: absolute;
        right: 0.75rem;
        top: calc(100% + 0.5rem);
        width: min(17rem, calc(100vw - 1.5rem));
        max-height: calc(100dvh - 6rem);
        overflow-y: auto;
    }

    .site-account-menu__panel a {
        font-size: 0.95rem;
        padding: 0.5rem 0.6rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .site-preferences {
        align-items: stretch;
        flex-direction: column;
        padding: 0 1rem 0.75rem;
    }

    .region-setup {
        padding: 0.85rem 1rem;
    }

    .region-setup__controls,
    .region-setup input,
    .region-setup select,
    .region-setup button {
        width: 100%;
    }

    .site-preference-picker,
    .site-preference-picker select {
        max-width: none;
        min-width: 0;
        width: 100%;
    }

    .site-brand__text {
        font-size: 1.1rem;
    }

    .site-brand__tagline {
        font-size: 0.7rem;
    }

    .site-brand__domain {
        display: none;
    }

    .site-announcement-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 0.45rem;
    }

    .site-announcement-banner button {
        align-self: center;
    }

    .energy-page {
        padding: 1rem 1rem 2rem;
    }

    .legal-page {
        padding: 1rem 1rem 2rem;
    }

    .legal-document {
        padding: 1.25rem;
    }

    .energy-hero {
        padding: 1.2rem;
    }

    .energy-hero h1,
    .page-heading h1 {
        font-size: 1.8rem;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .average-tile-grid {
        grid-template-columns: 1fr;
    }

    .price-slot-grid {
        grid-template-columns: 1fr;
    }

    .slot-grid-pager {
        justify-content: flex-start;
    }

    .worker-control-grid {
        grid-template-columns: 1fr;
    }
}

/* Export comparison colours reflect earnings: above average is positive. */
.price-slot-card__details .price-slot-card__average--above.price-slot-card__average--export {
    color: #15803d;
}

.price-slot-card__details .price-slot-card__average--below.price-slot-card__average--export {
    color: #dc2626;
}

.tariff-chart-tooltip__comparison.price-slot-card__average--above.price-slot-card__average--export {
    fill: #15803d;
}

.tariff-chart-tooltip__comparison.price-slot-card__average--below.price-slot-card__average--export {
    fill: #dc2626;
}

html.dark .price-slot-card__details .price-slot-card__average--above.price-slot-card__average--export {
    color: #86efac;
}

html.dark .price-slot-card__details .price-slot-card__average--below.price-slot-card__average--export {
    color: #fca5a5;
}

html.dark .tariff-chart-tooltip__comparison.price-slot-card__average--above.price-slot-card__average--export {
    fill: #86efac;
}

html.dark .tariff-chart-tooltip__comparison.price-slot-card__average--below.price-slot-card__average--export {
    fill: #fca5a5;
}

.deployment-description-input {
    min-height: 5.5rem;
    resize: vertical;
}

.deployment-schedule-action {
    align-items: center;
    background: #16a34a;
    border: 1px solid #16a34a;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    white-space: nowrap;
}

.deployment-schedule-action:hover,
.deployment-schedule-action:focus-visible {
    background: #15803d;
    border-color: #15803d;
    color: #ffffff;
}

.deployment-cancel-action:not(:disabled) {
    background: #dc2626;
    border: 1px solid #dc2626;
    color: #ffffff;
}

.deployment-cancel-action:not(:disabled):hover,
.deployment-cancel-action:not(:disabled):focus-visible {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #ffffff;
}

.deployment-cancel-action:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.version-history-entry__description {
    color: #334155;
    font-size: 1rem;
    font-weight: 700;
    margin: 0.75rem 0 0;
}

.site-footer__version {
    color: inherit;
    text-decoration: none;
}

.site-footer__version:hover,
.site-footer__version:focus-visible {
    text-decoration: underline;
}

html.dark .deployment-schedule-action {
    background: #22c55e;
    border-color: #22c55e;
    color: #052e16;
}

html.dark .deployment-schedule-action:hover,
html.dark .deployment-schedule-action:focus-visible {
    background: #4ade80;
    border-color: #4ade80;
    color: #052e16;
}

html.dark .deployment-cancel-action:not(:disabled) {
    background: #ef4444;
    border-color: #ef4444;
    color: #450a0a;
}

html.dark .deployment-cancel-action:not(:disabled):hover,
html.dark .deployment-cancel-action:not(:disabled):focus-visible {
    background: #f87171;
    border-color: #f87171;
    color: #450a0a;
}

html.dark .version-history-entry__description {
    color: #e2e8f0;
}

/* Usage series use the same semantic palette as the dashboard. */
.chart-toggle__button.usage-series-toggle--import {
    color: #b91c1c;
}

.chart-toggle__button.usage-series-toggle--export {
    color: #15803d;
}

.chart-toggle__button.usage-series-toggle--gas {
    color: #1d4ed8;
}

.chart-toggle__button.usage-series-toggle--import.chart-toggle__button--active,
.chart-toggle__button.usage-series-toggle--export.chart-toggle__button--active,
.chart-toggle__button.usage-series-toggle--gas.chart-toggle__button--active {
    color: #111827;
}

.chart-toggle__button.usage-series-toggle--import.chart-toggle__button--active {
    background: #fca5a5;
}

.chart-toggle__button.usage-series-toggle--export.chart-toggle__button--active {
    background: #86efac;
}

.chart-toggle__button.usage-series-toggle--gas.chart-toggle__button--active {
    background: #93c5fd;
}

html.dark .chart-toggle__button.usage-series-toggle--import {
    color: #fca5a5;
}

html.dark .chart-toggle__button.usage-series-toggle--export {
    color: #86efac;
}

html.dark .chart-toggle__button.usage-series-toggle--gas {
    color: #93c5fd;
}

html.dark .chart-toggle__button.usage-series-toggle--import.chart-toggle__button--active,
html.dark .chart-toggle__button.usage-series-toggle--export.chart-toggle__button--active,
html.dark .chart-toggle__button.usage-series-toggle--gas.chart-toggle__button--active {
    color: #111827;
}
