/* /Components/Hue/AutomationPanel.razor.rz.scp.css */
.auto__muted[b-uojef4puoq] { color: var(--muted, #667085); }

.auto__cols[b-uojef4puoq] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}
@media (max-width: 820px) {
    .auto__cols[b-uojef4puoq] { grid-template-columns: 1fr; }
}

.auto__form[b-uojef4puoq] { display: flex; flex-direction: column; gap: 0.9rem; }

.auto__toggle[b-uojef4puoq],
.auto__inline[b-uojef4puoq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}
.auto__inline[b-uojef4puoq] { font-weight: 500; }

.auto__row[b-uojef4puoq] { display: flex; flex-direction: column; gap: 0.3rem; }
.auto__row > label[b-uojef4puoq] { font-size: 0.9rem; font-weight: 600; color: var(--muted, #667085); }
.auto__row .input[b-uojef4puoq] { max-width: 260px; }

.auto__row--split[b-uojef4puoq] { flex-direction: row; gap: 1rem; }
.auto__row--split > div[b-uojef4puoq] { display: flex; flex-direction: column; gap: 0.3rem; }

.auto__hint[b-uojef4puoq] { font-size: 0.8rem; color: var(--muted, #667085); }
.auto__sublabel[b-uojef4puoq] { font-size: 0.9rem; font-weight: 600; color: var(--muted, #667085); margin-top: 0.3rem; }

.auto__targets[b-uojef4puoq] {
    border: 1px solid var(--border, #e6e9ee);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    background: var(--bg, #f5f7fa);
}
.auto__targetlabel[b-uojef4puoq] {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted, #667085);
    margin-bottom: 0.4rem;
}
.auto__targetgroup[b-uojef4puoq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
    gap: 0.3rem 0.9rem;
}
.auto__check[b-uojef4puoq] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    cursor: pointer;
}
.auto__targetdetails[b-uojef4puoq] { margin-top: 0.7rem; }
.auto__targetdetails > summary[b-uojef4puoq] {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text, #101828);
    padding: 0.3rem 0;
}
.auto__targetdetails[open] > summary[b-uojef4puoq] { margin-bottom: 0.5rem; }

.auto__actions[b-uojef4puoq] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.3rem;
}
.auto__saved[b-uojef4puoq] { color: var(--accent, #2f81f7); font-weight: 600; font-size: 0.9rem; }

.auto__statushead[b-uojef4puoq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.auto__h2[b-uojef4puoq] { margin: 0; font-size: 1.15rem; }

.auto__dl[b-uojef4puoq] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem 0.9rem;
    margin: 0;
}
.auto__dl dt[b-uojef4puoq] { color: var(--muted, #667085); font-size: 0.9rem; }
.auto__dl dd[b-uojef4puoq] { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 640px) {
    /* Time/number pairs stack instead of being squeezed side by side. */
    .auto__row--split[b-uojef4puoq] { flex-direction: column; gap: 0.6rem; }
    .auto__row .input[b-uojef4puoq] { max-width: none; }
    .auto__actions[b-uojef4puoq] { flex-wrap: wrap; }
    .auto__actions .btn[b-uojef4puoq] { flex: 1 1 auto; }
}
/* /Components/Hue/HueControlCard.razor.rz.scp.css */
.control[b-1hqfc76zkj] {
    background: var(--card, #fff);
    border: 1px solid var(--border, #e6e9ee);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: border-color 0.15s;
}

.control--on[b-1hqfc76zkj] {
    border-color: color-mix(in srgb, var(--accent, #2f81f7) 45%, var(--border));
}

.control--group[b-1hqfc76zkj] {
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent, #2f81f7) 5%, var(--card)), var(--card));
}

.control__top[b-1hqfc76zkj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.control__name[b-1hqfc76zkj] {
    font-weight: 600;
    color: var(--text, #101828);
}

.control__dim[b-1hqfc76zkj] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.control__slider[b-1hqfc76zkj] {
    flex: 1;
    accent-color: var(--accent, #2f81f7);
}
.control__slider:disabled[b-1hqfc76zkj] { opacity: 0.5; }

.control__pct[b-1hqfc76zkj] {
    font-size: 0.8rem;
    color: var(--muted, #667085);
    min-width: 2.6rem;
    text-align: right;
}

.switch[b-1hqfc76zkj] {
    position: relative;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    border: 0;
    background: #cfd6df;
    cursor: pointer;
    transition: background 0.15s;
    flex: none;
}
.switch--on[b-1hqfc76zkj] { background: var(--accent, #2f81f7); }

.switch__knob[b-1hqfc76zkj] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.15s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.switch--on .switch__knob[b-1hqfc76zkj] { transform: translateX(18px); }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-oadqefyk4o] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-oadqefyk4o] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-m58t0dpqx4],
.components-reconnect-repeated-attempt-visible[b-m58t0dpqx4],
.components-reconnect-failed-visible[b-m58t0dpqx4],
.components-pause-visible[b-m58t0dpqx4],
.components-resume-failed-visible[b-m58t0dpqx4],
.components-rejoining-animation[b-m58t0dpqx4] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-m58t0dpqx4],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-m58t0dpqx4],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-m58t0dpqx4],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-m58t0dpqx4],
#components-reconnect-modal.components-reconnect-retrying[b-m58t0dpqx4],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-m58t0dpqx4],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-m58t0dpqx4],
#components-reconnect-modal.components-reconnect-failed[b-m58t0dpqx4],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-m58t0dpqx4] {
    display: block;
}


#components-reconnect-modal[b-m58t0dpqx4] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-m58t0dpqx4 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-m58t0dpqx4 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-m58t0dpqx4 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-m58t0dpqx4]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-m58t0dpqx4 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-m58t0dpqx4 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-m58t0dpqx4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-m58t0dpqx4 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-m58t0dpqx4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-m58t0dpqx4] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-m58t0dpqx4] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-m58t0dpqx4] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-m58t0dpqx4] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-m58t0dpqx4] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-m58t0dpqx4] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-m58t0dpqx4 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-m58t0dpqx4] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-m58t0dpqx4 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Hue.razor.rz.scp.css */
.hue[b-1imtlk9sce] {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.hue__header[b-1imtlk9sce] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.hue__title[b-1imtlk9sce] {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
    color: var(--text, #101828);
}

.hue__meta[b-1imtlk9sce] {
    margin: 0.25rem 0 0;
    color: var(--muted, #667085);
    font-size: 0.9rem;
}

.hue__h2[b-1imtlk9sce] {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.hue__actions[b-1imtlk9sce] { display: flex; gap: 0.5rem; }
.hue__muted[b-1imtlk9sce] { color: var(--muted, #667085); }

.hue__setup[b-1imtlk9sce] { max-width: 640px; }
.hue__setup .hue__muted[b-1imtlk9sce] { margin: 0; }

.hue__banner[b-1imtlk9sce] {
    margin-top: 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.9rem;
}
.hue__banner--error[b-1imtlk9sce] { background: #fdecec; color: #b42318; border: 1px solid #f6c9c4; }

.hue__grid[b-1imtlk9sce] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 1rem;
}

.hue__section[b-1imtlk9sce] { margin-bottom: 1.5rem; }

.hue__details[b-1imtlk9sce] {
    border: 1px solid var(--border, #e6e9ee);
    border-radius: 14px;
    background: var(--card, #fff);
    padding: 0.3rem 0.9rem;
}
.hue__details[open][b-1imtlk9sce] { padding-bottom: 1rem; }

.hue__summary[b-1imtlk9sce] {
    cursor: pointer;
    font-weight: 600;
    color: var(--text, #101828);
    padding: 0.7rem 0.2rem;
}
.hue__details[open] .hue__summary[b-1imtlk9sce] { margin-bottom: 0.7rem; }

.hue__automation[b-1imtlk9sce] { margin-top: 1rem; }
.hue__autointro[b-1imtlk9sce] { margin: 0 0 0.9rem; font-size: 0.9rem; }

@media (max-width: 640px) {
    .hue[b-1imtlk9sce] { padding: 1rem 0.85rem 2.5rem; }
    .hue__title[b-1imtlk9sce] { font-size: 1.5rem; }
    .hue__header[b-1imtlk9sce] { gap: 0.75rem; }
    /* Buttons go full width so they're comfortable to tap. */
    .hue__actions[b-1imtlk9sce] { width: 100%; }
    .hue__actions .btn[b-1imtlk9sce] { flex: 1 1 auto; }
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login[b-43kbz7k7w3] {
    max-width: 460px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}

.login__title[b-43kbz7k7w3] { font-size: 1.6rem; font-weight: 700; margin: 0 0 1rem; color: var(--text, #101828); }
.login__note[b-43kbz7k7w3] { color: var(--muted, #667085); font-size: 0.9rem; margin: 0 0 1rem; }

.login__row[b-43kbz7k7w3] { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.login__row > label[b-43kbz7k7w3] { font-size: 0.9rem; font-weight: 600; color: var(--muted, #667085); }

.login__error[b-43kbz7k7w3] {
    background: #fdecec;
    color: #b42318;
    border: 1px solid #f6c9c4;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.login__submit[b-43kbz7k7w3] { width: 100%; }

@media (max-width: 640px) {
    .login[b-43kbz7k7w3] { padding: 2rem 0.85rem; }
}
/* /Components/Pages/Logout.razor.rz.scp.css */
/* Mirrors Login.razor.css — scoped CSS does not cross component boundaries, and these two pages
   are the only ones using this narrow, centred layout. */
.login[b-pkutqmn2gt] {
    max-width: 460px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}

.login__title[b-pkutqmn2gt] { font-size: 1.6rem; font-weight: 700; margin: 0 0 1rem; color: var(--text, #101828); }
.login__note[b-pkutqmn2gt] { color: var(--muted, #667085); font-size: 0.9rem; margin: 0 0 1rem; }
.login__submit[b-pkutqmn2gt] { width: 100%; }

@media (max-width: 640px) {
    .login[b-pkutqmn2gt] { padding: 2rem 0.85rem; }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.set[b-7t74sq9lus] {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.set__header[b-7t74sq9lus] { margin-bottom: 1.2rem; }
.set__title[b-7t74sq9lus] { font-size: 1.9rem; font-weight: 700; margin: 0; color: var(--text, #101828); }
.set__sub[b-7t74sq9lus] { margin: 0.25rem 0 0; color: var(--muted, #667085); font-size: 0.95rem; }

.set__sections[b-7t74sq9lus] { display: flex; flex-direction: column; gap: 1rem; }

@media (max-width: 640px) {
    .set[b-7t74sq9lus] { padding: 1rem 0.85rem 2.5rem; }
    .set__title[b-7t74sq9lus] { font-size: 1.5rem; }
}
/* /Components/Pages/Solar.razor.rz.scp.css */
.solar[b-rw37zrrmxt] {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.solar__header[b-rw37zrrmxt] { margin-bottom: 1.2rem; }
.solar__title[b-rw37zrrmxt] { font-size: 1.9rem; font-weight: 700; margin: 0; color: var(--text, #101828); }
.solar__sub[b-rw37zrrmxt] { margin: 0.25rem 0 0; color: var(--muted, #667085); font-size: 0.95rem; }
.solar__muted[b-rw37zrrmxt] { color: var(--muted, #667085); }
.solar__h2[b-rw37zrrmxt] { margin: 0 0 0.7rem; font-size: 1.15rem; }

.solar__dash[b-rw37zrrmxt] { margin-bottom: 1rem; }
.solar__dashhead[b-rw37zrrmxt] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}
.solar__dashmeta[b-rw37zrrmxt] { margin: 0.15rem 0 0; color: var(--muted, #667085); font-size: 0.85rem; }

.solar__ranges[b-rw37zrrmxt] { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.solar__range[b-rw37zrrmxt] {
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border, #e6e9ee);
    background: var(--card, #fff);
    color: var(--muted, #667085);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.solar__range:hover[b-rw37zrrmxt] { border-color: color-mix(in srgb, #f59e0b 45%, var(--border, #e6e9ee)); }
.solar__range.is-active[b-rw37zrrmxt] {
    background: color-mix(in srgb, #f59e0b 14%, transparent);
    color: #b54708;
    border-color: color-mix(in srgb, #f59e0b 50%, transparent);
}

.solar__stats[b-rw37zrrmxt] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}
@media (max-width: 620px) {
    .solar__stats[b-rw37zrrmxt] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.solar__stat[b-rw37zrrmxt] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.7rem 0.8rem;
    background: var(--bg, #f5f7fa);
    border: 1px solid var(--border, #e6e9ee);
    border-radius: 10px;
}
.solar__statlabel[b-rw37zrrmxt] { font-size: 0.8rem; color: var(--muted, #667085); }
.solar__statvalue[b-rw37zrrmxt] { font-size: 1.35rem; font-weight: 700; color: var(--text, #101828); }

.solar__chart[b-rw37zrrmxt] { width: 100%; }
/* Cap at the chart's own viewBox width so it renders at most 1:1 (see .chart-wide in app.css). */
.solar__chart.chart-wide[b-rw37zrrmxt] { max-width: 900px; }

@media (max-width: 640px) {
    .solar[b-rw37zrrmxt] { padding: 1rem 0.85rem 2.5rem; }
    .solar__title[b-rw37zrrmxt] { font-size: 1.5rem; }
    .solar__statvalue[b-rw37zrrmxt] { font-size: 1.15rem; }
    .solar__ranges[b-rw37zrrmxt] { width: 100%; }
    .solar__range[b-rw37zrrmxt] { flex: 1 1 auto; }
}
/* /Components/Pages/WeatherDashboard.razor.rz.scp.css */
.dash[b-wa2kjojuq4] {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.dash__header[b-wa2kjojuq4] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.dash__title[b-wa2kjojuq4] {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
    color: var(--text, #101828);
}

.dash__meta[b-wa2kjojuq4] {
    margin: 0.25rem 0 0;
    color: var(--muted, #667085);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.dash__dot[b-wa2kjojuq4] { opacity: 0.5; }

.dash__ranges[b-wa2kjojuq4] {
    display: inline-flex;
    flex-wrap: wrap;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e6e9ee);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.dash__range[b-wa2kjojuq4] {
    border: 0;
    background: transparent;
    color: var(--muted, #667085);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.dash__range:hover[b-wa2kjojuq4] { color: var(--text, #101828); }

.dash__range.is-active[b-wa2kjojuq4] {
    background: var(--accent, #2f81f7);
    color: #fff;
}

.dash__grid[b-wa2kjojuq4] {
    display: grid;
    /* min() keeps the track from exceeding the viewport on narrow phones, where a bare
       minmax(320px, …) would push the whole page into horizontal scrolling. The 400px ceiling
       stops a lone column from stretching a card — and with it the chart's SVG text — across a
       half-width window; leftover space is shared by centring the tracks. */
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 400px));
    justify-content: center;
    gap: 1rem;
}

/* Buienradar tile. The gadget renders at a fixed 330x330, so the frame is capped there and
   centred; on cards narrower than that it scales down with the square aspect kept. */
.dash__radar[b-wa2kjojuq4] {
    width: 100%;
    max-width: 330px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    position: relative; /* anchors the centre marker below */
}

/* Outline-only marker on the map's centre. pointer-events:none keeps the map draggable through it;
   the global border-box reset makes the 10px include the 2px border. */
.dash__radarpin[b-wa2kjojuq4] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border: 2px solid #ffd400;
    background: transparent;
    pointer-events: none;
}

.dash__radarframe[b-wa2kjojuq4] {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

/* On a phone the card is narrower than the gadget, and its content is a fixed 330px that would be
   cut off (scrolling="no", so there is no scrollbar either). The tile is still wider than 330px,
   so let the frame bleed through the card padding at its native size, centred. */
@media (max-width: 640px) {
    .dash__radar[b-wa2kjojuq4] {
        width: 330px;
        max-width: none;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Full-screen chart overlay */
.dash__modal[b-wa2kjojuq4] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.dash__modalcard[b-wa2kjojuq4] {
    background: var(--card, #fff);
    border: 1px solid var(--border, #e6e9ee);
    border-radius: 16px;
    padding: 1.1rem 1.4rem 1.4rem;
    width: min(1120px, 96vw);
    max-height: 92vh;
    overflow: auto;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.35);
}

.dash__modalhead[b-wa2kjojuq4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.dash__modaltitle[b-wa2kjojuq4] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text, #101828);
}

.dash__modalcur[b-wa2kjojuq4] { color: var(--muted, #667085); font-weight: 600; font-size: 1.05rem; }
.dash__modalsub[b-wa2kjojuq4] { color: var(--muted, #667085); font-weight: 500; font-size: 0.9rem; }

/* Cap at the chart's own viewBox width so it renders at most 1:1 (see .chart-wide in app.css). */
.dash__modalchart.chart-wide[b-wa2kjojuq4] { max-width: 1000px; }

.dash__close[b-wa2kjojuq4] {
    border: 0;
    background: var(--bg, #f5f7fa);
    color: var(--muted, #667085);
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    flex: none;
}
.dash__close:hover[b-wa2kjojuq4] { color: var(--text, #101828); }

@media (max-width: 640px) {
    .dash[b-wa2kjojuq4] { padding: 1rem 0.85rem 2.5rem; }
    .dash__title[b-wa2kjojuq4] { font-size: 1.5rem; }
    .dash__header[b-wa2kjojuq4] { gap: 0.75rem; margin-bottom: 1rem; }

    /* The range picker gets its own full-width row and spreads its buttons evenly. */
    .dash__ranges[b-wa2kjojuq4] { display: flex; width: 100%; }
    .dash__range[b-wa2kjojuq4] { flex: 1 1 auto; padding: 0.45rem 0.5rem; }

    /* Near-fullscreen overlay: on a phone there's no room for a floating card. */
    .dash__modal[b-wa2kjojuq4] { padding: 0; }
    .dash__modalcard[b-wa2kjojuq4] {
        width: 100%;
        max-height: 100dvh;
        height: 100dvh;
        border: 0;
        border-radius: 0;
        padding: 0.9rem 0.9rem 1.2rem;
    }
    .dash__modalhead[b-wa2kjojuq4] { gap: 0.5rem; }
    .dash__modaltitle[b-wa2kjojuq4] { font-size: 1.05rem; }
    .dash__modalcur[b-wa2kjojuq4] { font-size: 0.95rem; }
}
/* /Components/Settings/GrowattSettingsCard.razor.rz.scp.css */
.solar__form[b-3wnj70e7eu] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 720px;
}

.solar__h2[b-3wnj70e7eu] { margin: 0; font-size: 1.15rem; }
.solar__intro[b-3wnj70e7eu] { margin: -0.4rem 0 0; color: var(--muted, #667085); font-size: 0.9rem; }
.solar__muted[b-3wnj70e7eu] { color: var(--muted, #667085); }

.solar__row[b-3wnj70e7eu] { display: flex; flex-direction: column; gap: 0.3rem; }
.solar__row > label[b-3wnj70e7eu] { font-size: 0.9rem; font-weight: 600; color: var(--muted, #667085); }
.solar__row .input[b-3wnj70e7eu] { max-width: 340px; }
.solar__hint[b-3wnj70e7eu] { font-size: 0.8rem; color: var(--muted, #667085); }
.solar__divider[b-3wnj70e7eu] { font-size: 0.85rem; color: var(--muted, #667085); font-weight: 600; margin: 0.2rem 0; }

.solar__toggle[b-3wnj70e7eu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text, #101828);
    cursor: pointer;
}
.solar__toggle input[b-3wnj70e7eu] { width: 1.05rem; height: 1.05rem; cursor: pointer; }

.solar__actions[b-3wnj70e7eu] { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.3rem; }
.solar__saved[b-3wnj70e7eu] { color: var(--accent, #2f81f7); font-weight: 600; font-size: 0.9rem; }

.solar__result[b-3wnj70e7eu] { border-top: 1px solid var(--border, #e6e9ee); padding-top: 0.9rem; }

.solar__banner[b-3wnj70e7eu] { padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.9rem; margin-bottom: 0.8rem; }
.solar__banner--ok[b-3wnj70e7eu] { background: color-mix(in srgb, #12b76a 14%, transparent); color: #027a48; border: 1px solid color-mix(in srgb, #12b76a 35%, transparent); }
.solar__banner--err[b-3wnj70e7eu] { background: #fdecec; color: #b42318; border: 1px solid #f6c9c4; }

.solar__dl[b-3wnj70e7eu] { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1rem; margin: 0; }
.solar__dl dt[b-3wnj70e7eu] { color: var(--muted, #667085); font-size: 0.9rem; }
.solar__dl dd[b-3wnj70e7eu] { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

.solar__raw[b-3wnj70e7eu] { margin-top: 1rem; }
.solar__raw > summary[b-3wnj70e7eu] { cursor: pointer; font-weight: 600; }
.solar__step[b-3wnj70e7eu] { margin-top: 0.7rem; }
.solar__stepname[b-3wnj70e7eu] { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; }
.solar__stepname code[b-3wnj70e7eu] { font-weight: 400; color: var(--muted, #667085); }
.solar__step pre[b-3wnj70e7eu] {
    margin: 0;
    padding: 0.6rem 0.7rem;
    background: var(--bg, #f5f7fa);
    border: 1px solid var(--border, #e6e9ee);
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.8rem;
    max-height: 260px;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 640px) {
    .solar__row .input[b-3wnj70e7eu] { max-width: none; }
    .solar__actions[b-3wnj70e7eu] { flex-wrap: wrap; }
    .solar__actions .btn[b-3wnj70e7eu] { flex: 1 1 auto; }
}
/* /Components/Settings/HueSettingsCard.razor.rz.scp.css */
.hue__pair[b-lo6z84ts51] { max-width: 720px; }

.hue__h2[b-lo6z84ts51] {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.hue__meta[b-lo6z84ts51] {
    margin: 0 0 0.8rem;
    color: var(--text, #101828);
    font-size: 0.95rem;
}

.hue__muted[b-lo6z84ts51] { color: var(--muted, #667085); }
.hue__hint[b-lo6z84ts51] { margin: 0.8rem 0 0; font-size: 0.85rem; color: var(--muted, #667085); }

.hue__actions[b-lo6z84ts51] { display: flex; gap: 0.5rem; }

.hue__steps[b-lo6z84ts51] {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    color: var(--text, #101828);
    line-height: 1.7;
}

.hue__pairrow[b-lo6z84ts51] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hue__pairrow .input[b-lo6z84ts51] { flex: 1 1 180px; }

.hue__found[b-lo6z84ts51] {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.chip[b-lo6z84ts51] {
    border: 1px solid var(--border, #e6e9ee);
    background: var(--bg, #f5f7fa);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.hue__banner[b-lo6z84ts51] {
    margin-top: 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.9rem;
}
.hue__banner--error[b-lo6z84ts51] { background: #fdecec; color: #b42318; border: 1px solid #f6c9c4; }
.hue__banner--info[b-lo6z84ts51] { background: #eaf2fe; color: #1a5fb4; border: 1px solid #cadffb; }

@media (max-width: 640px) {
    .hue__pairrow .input[b-lo6z84ts51] { flex: 1 1 100%; }
    .hue__actions[b-lo6z84ts51] { width: 100%; }
    .hue__actions .btn[b-lo6z84ts51] { flex: 1 1 auto; }
}
/* /Components/Settings/NotificationSettingsCard.razor.rz.scp.css */
.notif__form[b-31mp8c494m] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 720px;
}

.notif__h2[b-31mp8c494m] { margin: 0; font-size: 1.15rem; }
.notif__intro[b-31mp8c494m] { margin: -0.4rem 0 0; color: var(--muted, #667085); font-size: 0.9rem; }
.notif__muted[b-31mp8c494m] { color: var(--muted, #667085); }

.notif__row[b-31mp8c494m] { display: flex; flex-direction: column; gap: 0.3rem; }
.notif__row > label[b-31mp8c494m] { font-size: 0.9rem; font-weight: 600; color: var(--muted, #667085); }
.notif__row .input[b-31mp8c494m] { max-width: 340px; }
.notif__hint[b-31mp8c494m] { font-size: 0.8rem; color: var(--muted, #667085); }

.notif__toggle[b-31mp8c494m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text, #101828);
    cursor: pointer;
}
.notif__toggle input[b-31mp8c494m] { width: 1.05rem; height: 1.05rem; cursor: pointer; }

.notif__actions[b-31mp8c494m] { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.3rem; flex-wrap: wrap; }
.notif__saved[b-31mp8c494m] { color: var(--accent, #2f81f7); font-weight: 600; font-size: 0.9rem; }

.notif__section[b-31mp8c494m] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border-top: 1px solid var(--border, #e6e9ee);
    padding-top: 0.9rem;
}

/* Whether this particular browser is subscribed — the one thing that differs per device. */
.notif__device[b-31mp8c494m] { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 600; }
.notif__dot[b-31mp8c494m] { width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; }
.notif__dot--on[b-31mp8c494m] { background: #12b76a; }
.notif__dot--off[b-31mp8c494m] { background: var(--muted, #667085); opacity: 0.5; }

.notif__banner[b-31mp8c494m] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.9rem;
}
.notif__banner code[b-31mp8c494m] { font-size: 0.85em; }
.notif__banner--ok[b-31mp8c494m] { background: color-mix(in srgb, #12b76a 14%, transparent); color: #027a48; border: 1px solid color-mix(in srgb, #12b76a 35%, transparent); }
.notif__banner--err[b-31mp8c494m] { background: #fdecec; color: #b42318; border: 1px solid #f6c9c4; }
.notif__banner--warn[b-31mp8c494m] { background: color-mix(in srgb, #f79009 14%, transparent); color: #b54708; border: 1px solid color-mix(in srgb, #f79009 35%, transparent); }

.notif__dl[b-31mp8c494m] { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1rem; margin: 0; }
.notif__dl dt[b-31mp8c494m] { color: var(--muted, #667085); font-size: 0.9rem; }
.notif__dl dd[b-31mp8c494m] { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 640px) {
    .notif__row .input[b-31mp8c494m] { max-width: none; }
    .notif__actions .btn[b-31mp8c494m] { flex: 1 1 auto; }
}
/* /Components/Weather/MetricCard.razor.rz.scp.css */
.metric-card[b-hjaa3fxsx4] {
    background: var(--card, #fff);
    border: 1px solid var(--border, #e6e9ee);
    border-radius: 14px;
    padding: 1rem 1.1rem 0.9rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.metric-card__head[b-hjaa3fxsx4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metric-card__icon[b-hjaa3fxsx4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 8px;
    font-size: 1rem;
}

.metric-card__title[b-hjaa3fxsx4] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted, #667085);
    letter-spacing: 0.01em;
}

.metric-card__expand[b-hjaa3fxsx4] {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--muted, #667085);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
}
.metric-card__expand:hover[b-hjaa3fxsx4] {
    background: var(--bg, #f5f7fa);
    color: var(--text, #101828);
}

.metric-card__value[b-hjaa3fxsx4] {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text, #101828);
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.metric-card__sub[b-hjaa3fxsx4] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted, #667085);
}

.metric-card__chart[b-hjaa3fxsx4] {
    margin-top: 0.2rem;
}
