/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-h0bk3sctg6] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header[b-h0bk3sctg6] {
    border-bottom: 1px solid var(--border);
}

/* A narrow column reads more like a blog than a full-width page. */
.content[b-h0bk3sctg6] {
    flex: 1;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 20px 96px;
}

    .content.wide[b-h0bk3sctg6] {
        max-width: 1100px;
    }

.site-footer[b-h0bk3sctg6] {
    padding: 24px 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .content[b-h0bk3sctg6] {
        padding-top: 32px;
        padding-bottom: 64px;
    }

    .content[b-h0bk3sctg6]  h1 {
        font-size: 1.75rem;
    }
}

#blazor-error-ui[b-h0bk3sctg6] {
    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-h0bk3sctg6] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Only a logged in admin sees this strip above the site nav. */
.admin-bar[b-y9osiz8gfd] {
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
    font-size: 0.875rem;
}

.admin-nav[b-y9osiz8gfd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    max-width: 680px;
    margin: 0 auto;
    padding: 8px 20px;
}

.admin-label[b-y9osiz8gfd] {
    color: var(--heading);
    font-weight: 600;
}

.logout[b-y9osiz8gfd] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    color: var(--muted);
}

/* Same width as the content column so the header lines up with the text. */
.site-nav[b-y9osiz8gfd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
}

.brand[b-y9osiz8gfd] {
    color: var(--heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.links[b-y9osiz8gfd] {
    display: flex;
    gap: 20px;
}

    .links[b-y9osiz8gfd]  a,
    .admin-nav[b-y9osiz8gfd]  a {
        color: var(--muted);
        font-weight: 500;
        text-decoration: none;
        text-underline-offset: 6px;
        transition: color 0.2s;
    }

    .links[b-y9osiz8gfd]  a:hover,
    .admin-nav[b-y9osiz8gfd]  a:hover {
        color: var(--heading);
    }

    /* The current page is underlined in the brand colour. */
    .links[b-y9osiz8gfd]  a.active,
    .admin-nav[b-y9osiz8gfd]  a.active {
        color: var(--heading);
        text-decoration: underline;
        text-decoration-color: var(--brand);
        text-decoration-thickness: 2px;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-eucz2o471y],
.components-reconnect-repeated-attempt-visible[b-eucz2o471y],
.components-reconnect-failed-visible[b-eucz2o471y],
.components-pause-visible[b-eucz2o471y],
.components-resume-failed-visible[b-eucz2o471y],
.components-rejoining-animation[b-eucz2o471y] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-eucz2o471y],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-eucz2o471y],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-eucz2o471y],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-eucz2o471y],
#components-reconnect-modal.components-reconnect-retrying[b-eucz2o471y],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-eucz2o471y],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-eucz2o471y],
#components-reconnect-modal.components-reconnect-failed[b-eucz2o471y],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-eucz2o471y] {
    display: block;
}


#components-reconnect-modal[b-eucz2o471y] {
    background-color: var(--bg);
    color: var(--text);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    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-eucz2o471y 0.5s both;
    &[open] {
        animation: components-reconnect-modal-slideUp-b-eucz2o471y 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-eucz2o471y 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-eucz2o471y]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-eucz2o471y 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-eucz2o471y {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-eucz2o471y {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-eucz2o471y {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-eucz2o471y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-eucz2o471y] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-eucz2o471y] {
    border: 0;
    background-color: var(--brand);
    color: var(--bg);
    padding: 8px 20px;
    border-radius: 20px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-eucz2o471y] {
        opacity: 0.85;
    }

.components-rejoining-animation[b-eucz2o471y] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-eucz2o471y] {
        position: absolute;
        border: 3px solid var(--brand);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-eucz2o471y 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-eucz2o471y] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-eucz2o471y {
    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/Admin/DailyChart.razor.rz.scp.css */
.chart[b-2vpofigdkm] {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 200px auto;
    column-gap: 10px;
}

.y-axis[b-2vpofigdkm] {
    position: relative;
    min-width: 2ch;
}

    .y-axis span[b-2vpofigdkm] {
        position: absolute;
        right: 0;
        transform: translateY(50%);
        color: var(--muted);
        font-size: 0.75rem;
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

.plot[b-2vpofigdkm] {
    position: relative;
}

/* Hairline, solid, one step off the surface. The zero line is a step stronger. */
.gridline[b-2vpofigdkm] {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

    .gridline.baseline[b-2vpofigdkm] {
        background: color-mix(in srgb, var(--muted) 50%, transparent);
    }

.columns[b-2vpofigdkm] {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 2px;
}

/* The whole column is the hover target, not just the painted bar. */
.column[b-2vpofigdkm] {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    outline: none;
}

.bar[b-2vpofigdkm] {
    width: 100%;
    max-width: 24px;
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: var(--brand);
    transition: opacity 0.15s;
}

/* Hovering one column fades the rest, so the hovered one stands out. */
.columns:hover .bar[b-2vpofigdkm] {
    opacity: 0.4;
}

.column:hover .bar[b-2vpofigdkm],
.column:focus-visible .bar[b-2vpofigdkm] {
    opacity: 1;
}

.column:focus-visible[b-2vpofigdkm] {
    border-radius: 4px;
    background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.tip[b-2vpofigdkm] {
    display: none;
    position: absolute;
    top: -8px;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -100%);
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.12);
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.4;
    white-space: nowrap;
    pointer-events: none;
}

    /* A short stroke of the series colour keys the value. */
    .tip strong[b-2vpofigdkm] {
        color: var(--heading);
        font-size: 0.9375rem;
    }

    .tip strong[b-2vpofigdkm]::before {
        content: "";
        display: inline-block;
        width: 10px;
        height: 2px;
        margin-right: 6px;
        vertical-align: middle;
        background: var(--brand);
    }

    .tip span[b-2vpofigdkm] {
        display: block;
    }

.column:hover .tip[b-2vpofigdkm],
.column:focus-visible .tip[b-2vpofigdkm] {
    display: block;
}

/* Keep tooltips near the edges inside the chart. */
.tip-start .tip[b-2vpofigdkm] {
    left: 0;
    transform: translateY(-100%);
}

.tip-end .tip[b-2vpofigdkm] {
    left: auto;
    right: 0;
    transform: translateY(-100%);
}

.x-axis[b-2vpofigdkm] {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    color: var(--muted);
    font-size: 0.75rem;
}
/* /Components/Pages/Admin/Index.razor.rz.scp.css */
/* Date range: one segmented control above everything it scopes. */
.range[b-de40vhnqsv] {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 24px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-soft);
}

    .range button[b-de40vhnqsv] {
        padding: 4px 14px;
        border: none;
        border-radius: 7px;
        background: none;
        color: var(--muted);
        font: inherit;
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
    }

    .range button:hover[b-de40vhnqsv] {
        color: var(--heading);
    }

    .range button.active[b-de40vhnqsv] {
        background: var(--bg);
        color: var(--heading);
        box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
    }

/* While reloading, keep the old numbers on screen, just faded. */
.dashboard[b-de40vhnqsv] {
    transition: opacity 0.2s;
}

    .dashboard.loading[b-de40vhnqsv] {
        opacity: 0.6;
    }

.stats[b-de40vhnqsv] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.stat[b-de40vhnqsv],
.card[b-de40vhnqsv] {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-soft);
}

.stat[b-de40vhnqsv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 20px;
}

.stat-label[b-de40vhnqsv] {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-value[b-de40vhnqsv] {
    color: var(--heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.delta[b-de40vhnqsv] {
    color: var(--muted);
    font-size: 0.8125rem;
}

    .delta .up[b-de40vhnqsv] {
        color: var(--success);
        font-weight: 600;
    }

    .delta .down[b-de40vhnqsv] {
        color: var(--danger);
        font-weight: 600;
    }

.card[b-de40vhnqsv] {
    margin-bottom: 16px;
    padding: 20px 24px;
}

    .card h2[b-de40vhnqsv] {
        margin: 0 0 20px;
        font-size: 1rem;
    }

.table-view[b-de40vhnqsv] {
    margin-top: 16px;
    font-size: 0.875rem;
}

    .table-view summary[b-de40vhnqsv] {
        color: var(--muted);
        cursor: pointer;
    }

    .table-view td[b-de40vhnqsv] {
        font-variant-numeric: tabular-nums;
    }

.empty[b-de40vhnqsv] {
    margin: 0;
    color: var(--muted);
}

/* Top pages: a ranked list where each row carries a thin bar for its unique visitors. */
.pages-head[b-de40vhnqsv],
.pages li[b-de40vhnqsv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px 64px;
    column-gap: 12px;
}

.pages-head[b-de40vhnqsv] {
    padding-bottom: 8px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
}

    .pages-head span + span[b-de40vhnqsv] {
        text-align: right;
    }

.pages[b-de40vhnqsv] {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pages li[b-de40vhnqsv] {
        margin: 0;
        padding: 8px 0 10px;
        border-top: 1px solid var(--border);
        font-size: 0.875rem;
    }

.path[b-de40vhnqsv] {
    overflow: hidden;
    color: var(--heading);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.count[b-de40vhnqsv] {
    color: var(--heading);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

    .count.muted[b-de40vhnqsv] {
        color: var(--muted);
        font-weight: 400;
    }

.page-bar[b-de40vhnqsv] {
    grid-column: 1 / -1;
    height: 6px;
    margin-top: 6px;
    border-radius: 0 3px 3px 0;
    background: var(--brand);
}

@media (max-width: 600px) {
    .stats[b-de40vhnqsv] {
        grid-template-columns: 1fr;
    }

    .card[b-de40vhnqsv] {
        padding: 16px;
    }
}
/* /Components/Pages/Admin/PostEditor.razor.rz.scp.css */
.editor[b-oesiiospu2] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875rem;
    resize: vertical;
}

/* About the textarea's height, so toggling doesn't make the page jump. */
.preview[b-oesiiospu2] {
    min-height: 600px;
}
/* /Components/Pages/Post.razor.rz.scp.css */
.post-header[b-k393fc3m3i] {
    margin-bottom: 32px;
}

    .post-header .back[b-k393fc3m3i] {
        display: block;
        width: fit-content;
        margin-bottom: 16px;
        font-size: 0.875rem;
        text-decoration: none;
    }

    .post-header time[b-k393fc3m3i],
    .post-header .updated[b-k393fc3m3i] {
        color: var(--muted);
        font-size: 0.875rem;
    }

    .post-header h1[b-k393fc3m3i] {
        margin: 4px 0 0;
    }
/* /Components/Shared/PostList.razor.rz.scp.css */
.post-list[b-91126ogcyn] {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .post-list li[b-91126ogcyn] {
        margin: 0;
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
    }

    .post-list li:last-child[b-91126ogcyn] {
        border-bottom: none;
    }

    .post-list time[b-91126ogcyn] {
        display: block;
        color: var(--muted);
        font-size: 0.875rem;
    }

    .post-list a[b-91126ogcyn] {
        color: var(--heading);
        font-size: 1.25rem;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s;
    }

    .post-list a:hover[b-91126ogcyn] {
        color: var(--brand);
    }

    .post-list p[b-91126ogcyn] {
        margin: 4px 0 0;
    }
