/* /Components/BrewTimeline.razor.rz.scp.css */
.bt-row[b-7zc9k3n0ww] {
    flex-wrap: wrap;
    row-gap: 0.45rem; /* breathing room between wrapped timeline rows */
}

/* Phones: same wrapping behavior, just denser blocks so more of the brew fits per row. */
@media (max-width: 640.98px) {
    /* !important: padding/min-width arrive as inline styles from BlockStyle. */
    .bt-row .bt-step[b-7zc9k3n0ww] {
        padding: 0.1rem 0.4rem !important;
        min-width: 2.4rem !important;
        font-size: 0.9em;
    }

    /* Long pauses don't need proportionally long connectors on a phone. */
    .bt-row .bt-gap[b-7zc9k3n0ww] {
        max-width: 48px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-to26h3g88f] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-to26h3g88f] {
    flex: 1;
}

.sidebar[b-to26h3g88f] {
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-line);
}

.top-row[b-to26h3g88f] {
    background-color: var(--topbar-bg);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .top-row[b-to26h3g88f]  a, .top-row[b-to26h3g88f]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-to26h3g88f]  a:hover, .top-row[b-to26h3g88f]  .btn-link:hover {
        text-decoration: underline;
    }

.theme-toggle[b-to26h3g88f] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    background-color: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

    .theme-toggle:hover[b-to26h3g88f] {
        color: var(--accent);
        border-color: var(--accent);
        box-shadow: 0 0 0 0.2rem rgba(var(--accent-rgb), .12);
    }

@media (max-width: 640.98px) {
    /* Merge the toggle bar into the sidebar's brand bar: one 3.5rem header on phones
       instead of two stacked bars. The pills sit between the brand and the hamburger
       (.page is position:relative, so absolute is anchored to the layout). */
    .top-row[b-to26h3g88f] {
        position: absolute;
        top: 0;
        right: 3.75rem; /* clear of the hamburger */
        height: 3.5rem;
        padding: 0 !important;
        background: transparent;
        backdrop-filter: none;
        border-bottom: none;
        z-index: 2;
    }

    /* Compact pills: theme shows its emoji only, units its °C/°F text only. */
    .theme-toggle[b-to26h3g88f] {
        padding: 0.2rem 0.55rem;
    }

    .theme-toggle:not(.unit-toggle) span:last-child[b-to26h3g88f] {
        display: none;
    }

    .unit-toggle span:first-child[b-to26h3g88f] {
        display: none;
    }

    article[b-to26h3g88f] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (min-width: 641px) {
    .page[b-to26h3g88f] {
        flex-direction: row;
    }

    .sidebar[b-to26h3g88f] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-to26h3g88f] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-to26h3g88f], article[b-to26h3g88f] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-to26h3g88f] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    color: #1A1D21;
    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-to26h3g88f] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6nybg7ctae] {
    appearance: none;
    cursor: pointer;
    width: 2.75rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: none;
    background-color: var(--sidebar-muted);
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center / 1.75rem;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center / 1.75rem;
}

.navbar-toggler:checked[b-6nybg7ctae],
.navbar-toggler:hover[b-6nybg7ctae] {
    background-color: var(--sidebar-fg);
}

.top-row[b-6nybg7ctae] {
    min-height: 3.5rem;
    background-color: transparent;
    border-bottom: 1px solid var(--sidebar-line);
}

/* Center the brand horizontally within the navbar (a lone flex child
   otherwise left-aligns under Bootstrap's space-between). */
.top-row .container-fluid[b-6nybg7ctae] {
    justify-content: center;
}

.navbar-brand[b-6nybg7ctae] {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--sidebar-fg);
    margin-right: 0; /* don't bias the centered brand off-center */
}

    .navbar-brand:hover[b-6nybg7ctae], .navbar-brand:focus[b-6nybg7ctae] {
        color: var(--sidebar-fg);
    }

.brand-mark[b-6nybg7ctae] {
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.5rem;
    vertical-align: -0.35rem;
}

/* Nav icons: Bootstrap Icons webfont glyphs — they inherit the link's currentColor,
   so they recolor with every theme for free. */
.nav-link .bi[b-6nybg7ctae] {
    margin-right: 0.75rem;
    font-size: 1.05rem;
    line-height: 1;
    width: 1.25rem;
    text-align: center;
}

.nav-item[b-6nybg7ctae] {
    font-size: 0.9rem;
    padding-bottom: 0.35rem;
}

    .nav-item:first-of-type[b-6nybg7ctae] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-6nybg7ctae] {
        padding-bottom: 1rem;
    }

    .nav-item[b-6nybg7ctae]  .nav-link {
        color: var(--sidebar-muted);
        background: none;
        border: none;
        border-radius: 0.5rem;
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: 2.75rem;
        width: 100%;
        font-weight: 500;
        transition: background-color .12s ease, color .12s ease;
    }

.nav-item[b-6nybg7ctae]  a.active {
    background-color: var(--sidebar-active-bg);
    color: var(--sidebar-active-fg);
}

.nav-item[b-6nybg7ctae]  .nav-link:hover {
    background-color: var(--sidebar-hover);
    color: var(--sidebar-fg);
}

.nav-item[b-6nybg7ctae]  .nav-link.nav-user {
    color: var(--sidebar-muted);
    opacity: 0.75;
}

/* Divider between the general links and the personal (machine/history) section. */
.nav-divider[b-6nybg7ctae] {
    border: 0;
    border-top: 1px solid var(--sidebar-line);
    margin: 0.5rem 1rem;
    opacity: 1;
}

/* Account block (username + sign out). In the collapsed mobile menu it flows
   after the links; on desktop it's pinned to the bottom of the sidebar. */
.nav-account[b-6nybg7ctae] {
    margin-top: 1rem;
    border-top: 1px solid var(--sidebar-line);
    padding-top: 0.75rem;
}

@media (max-width: 640.98px) {
    /* The unit/theme pills from MainLayout overlay the right side of this bar on
       phones — keep the brand from running underneath them. */
    .navbar-brand[b-6nybg7ctae] {
        font-size: 0.95rem;
        max-width: calc(100vw - 13rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.nav-scrollable[b-6nybg7ctae] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-6nybg7ctae] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6nybg7ctae] {
        display: none;
    }

    .nav-scrollable[b-6nybg7ctae] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    /* Stretch the nav to the sidebar's full height so margin-top: auto can
       push the account block to the bottom. */
    .nav-scrollable > nav[b-6nybg7ctae] {
        min-height: 100%;
    }

    .nav-account[b-6nybg7ctae] {
        margin-top: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8onyvk7yyh],
.components-reconnect-repeated-attempt-visible[b-8onyvk7yyh],
.components-reconnect-failed-visible[b-8onyvk7yyh],
.components-pause-visible[b-8onyvk7yyh],
.components-resume-failed-visible[b-8onyvk7yyh],
.components-rejoining-animation[b-8onyvk7yyh] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-8onyvk7yyh],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-8onyvk7yyh],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-8onyvk7yyh],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-8onyvk7yyh],
#components-reconnect-modal.components-reconnect-retrying[b-8onyvk7yyh],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-8onyvk7yyh],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-8onyvk7yyh],
#components-reconnect-modal.components-reconnect-failed[b-8onyvk7yyh],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-8onyvk7yyh] {
    display: block;
}


#components-reconnect-modal[b-8onyvk7yyh] {
    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-8onyvk7yyh 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-8onyvk7yyh 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-8onyvk7yyh 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-8onyvk7yyh]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-8onyvk7yyh 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-8onyvk7yyh {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-8onyvk7yyh {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-8onyvk7yyh {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-8onyvk7yyh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-8onyvk7yyh] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-8onyvk7yyh] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-8onyvk7yyh] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-8onyvk7yyh] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-8onyvk7yyh] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-8onyvk7yyh] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-8onyvk7yyh 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-8onyvk7yyh] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-8onyvk7yyh {
    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;
    }
}
