/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-d0i0dpwsa9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-d0i0dpwsa9] {
    flex: 1;
}

/* Sidebar: neutral warm-graphite (de-emphasises the brown, lets the gold
   logo + active accent carry the brand). Active nav uses the gold left-border. */
.sidebar[b-d0i0dpwsa9] {
    background-image: linear-gradient(180deg, #33302b 0%, #1c1a16 100%);
}

/* Header: white (so the black-script + 4-colour-emblem logo reads correctly),
   with the corporate gold→bronze gradient as a bottom accent. */
.top-row[b-d0i0dpwsa9] {
    background-color: #ffffff;
    border-style: solid;
    border-width: 0 0 3px 0;
    border-image: linear-gradient(90deg, #d6b27e 0%, #c18a4b 35%, #836a2e 70%, #5a4221 100%) 1;
    justify-content: space-between;
    height: 4.25rem;
    display: flex;
    align-items: center;
}

    .top-row[b-d0i0dpwsa9]  .brand-logo { display: inline-flex; align-items: center; padding: 0; margin: 0; }
    .top-row[b-d0i0dpwsa9]  .brand-logo img { height: 2.6rem; width: auto; display: block; }

    .top-row[b-d0i0dpwsa9]  a, .top-row[b-d0i0dpwsa9]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-d0i0dpwsa9]  .brand-logo { margin-left: 0; }

    .top-row[b-d0i0dpwsa9]  a:hover, .top-row[b-d0i0dpwsa9]  .btn-link:hover {
        text-decoration: underline;
    }

@media (max-width: 640.98px) {
    .top-row[b-d0i0dpwsa9]  a, .top-row[b-d0i0dpwsa9]  .btn-link {
        margin-left: 0;
    }
    .top-row[b-d0i0dpwsa9]  .brand-logo img { height: 2.1rem; }
}

@media (min-width: 641px) {
    .page[b-d0i0dpwsa9] {
        flex-direction: row;
    }

    .sidebar[b-d0i0dpwsa9] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-d0i0dpwsa9] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-d0i0dpwsa9], article[b-d0i0dpwsa9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-d0i0dpwsa9] {
    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-d0i0dpwsa9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-7kqrkpz8gp] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-7kqrkpz8gp] {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Brand strip aligns with the header height; sits over the bronze sidebar. */
.top-row[b-7kqrkpz8gp] {
    min-height: 4.25rem;
    background-color: rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand[b-7kqrkpz8gp] {
    font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
}

    .navbar-brand:hover[b-7kqrkpz8gp] { color: var(--brand-gold-light); }

.nav-item[b-7kqrkpz8gp] {
    font-size: 0.95rem;
    padding-bottom: 0.4rem;
}

    .nav-item:first-of-type[b-7kqrkpz8gp] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-7kqrkpz8gp] {
        padding-bottom: 1rem;
    }

    .nav-item[b-7kqrkpz8gp]  .nav-link {
        color: rgba(255, 255, 255, 0.82);
        background: none;
        border: none;
        border-left: 3px solid transparent;
        border-radius: 0 4px 4px 0;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        padding-left: 0.6rem;
    }

.nav-item[b-7kqrkpz8gp]  a.active {
    background-color: rgba(255, 255, 255, 0.12);
    border-left-color: var(--brand-gold-light);
    color: #ffffff;
}

.nav-item[b-7kqrkpz8gp]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-scrollable[b-7kqrkpz8gp] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-7kqrkpz8gp] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-7kqrkpz8gp] {
        display: none;
    }

    .nav-scrollable[b-7kqrkpz8gp] {
        display: block;
        height: calc(100vh - 4.25rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-5rif2ouwac],
.components-reconnect-repeated-attempt-visible[b-5rif2ouwac],
.components-reconnect-failed-visible[b-5rif2ouwac],
.components-pause-visible[b-5rif2ouwac],
.components-resume-failed-visible[b-5rif2ouwac],
.components-rejoining-animation[b-5rif2ouwac] {
    display: none;
}

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


#components-reconnect-modal[b-5rif2ouwac] {
    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-5rif2ouwac 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-5rif2ouwac 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-5rif2ouwac 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-5rif2ouwac] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-5rif2ouwac] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-5rif2ouwac] {
        background-color: #6b9ed2;
    }

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

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

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

@keyframes components-rejoining-animation-b-5rif2ouwac {
    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/Dashboard.razor.rz.scp.css */
/* Per-domain "hero" cards. */
.domain-hero[b-ycy830zwal] { display: block; text-decoration: none; color: inherit; }
.domain-hero:hover[b-ycy830zwal] { text-decoration: none; }
.domain-hero:hover .panel[b-ycy830zwal] { border-color: var(--brand-gold-light); box-shadow: 0 3px 12px rgba(90,66,33,.12); }
.domain-hero .panel > header h2[b-ycy830zwal] { font-size: 1rem; }

.hero-stats[b-ycy830zwal] { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem .85rem; }
.hero-stats > div[b-ycy830zwal] { line-height: 1.1; }
.hs-num[b-ycy830zwal] { display: block; font-size: 1.35rem; font-weight: 700; color: var(--brand-brown); }
.hs-lbl[b-ycy830zwal] { font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; color: #7c7263; }
/* /Components/Pages/Settings.razor.rz.scp.css */
/* Settings — branded, card-sectioned layout on the Concentric palette (vars from app.css).
   Warm neutrals below (#fdfaf3 / #fbf6ec / #f6f0e6 / #ece5d8 …) are tints of --brand-champagne /
   --brand-gold-light on white; kept as literals because CSS has no lighten(). */

.settings-head[b-e2s41460xr] { margin-bottom: 1rem; }
.settings-head h1[b-e2s41460xr] { margin-bottom: .15rem; }

.settings-notice[b-e2s41460xr] {
    display: flex; gap: .8rem; align-items: flex-start;
    background: linear-gradient(180deg, #fdfaf3, #fbf6ec);
    border: 1px solid #ecd9b6; border-left: 4px solid var(--brand-gold);
    border-radius: .55rem; padding: .85rem 1.05rem; margin-bottom: 1.15rem;
    font-size: .9rem; color: #5f5034;
}
.settings-notice .ico[b-e2s41460xr] { color: var(--brand-gold); font-size: 1.3rem; line-height: 1; flex: none; }

.settings-errors[b-e2s41460xr] {
    background: #fdecea; border: 1px solid #f3c4bd; border-left: 4px solid #c0392b;
    border-radius: .55rem; padding: .8rem 1.05rem; margin-bottom: 1.15rem; color: #7a2018; font-size: .9rem;
}
.settings-errors ul[b-e2s41460xr] { margin: .4rem 0 0; padding-left: 1.15rem; }

/* Restarting status banner (top, aria-live). */
.settings-restarting-top[b-e2s41460xr] {
    display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--brand-brown-dark);
    background: linear-gradient(180deg, #fdfaf3, #faf4e8); border: 1px solid #ecd9b6;
    border-left: 4px solid var(--brand-gold); border-radius: .55rem; padding: .8rem 1.05rem; margin-bottom: 1.15rem;
}

/* Sticky section jump-nav (pills), tucked under the global header. */
.settings-nav[b-e2s41460xr] {
    position: sticky; top: 4.25rem; z-index: 2;
    display: flex; gap: .35rem; flex-wrap: wrap; align-items: center;
    background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
    padding: .55rem 0; margin-bottom: 1.1rem; border-bottom: 1px solid #ece5d8;
}
.settings-nav a[b-e2s41460xr] {
    font-size: .82rem; font-weight: 600; color: var(--brand-brown); text-decoration: none;
    padding: .25rem .75rem; border-radius: 999px; border: 1px solid transparent; transition: background .12s, border-color .12s;
}
.settings-nav a:hover[b-e2s41460xr] { background: #f5edde; border-color: #e6d6b8; text-decoration: none; }
.settings-nav a:focus-visible[b-e2s41460xr] { outline: none; box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem var(--brand-gold); }
.settings-nav a.active[b-e2s41460xr] { background: var(--brand-brown); border-color: var(--brand-brown); color: #fff; }

/* Section cards. */
.settings-card[b-e2s41460xr] {
    background: #fff; border: 1px solid #ece5d8; border-radius: .7rem;
    box-shadow: 0 1px 3px rgba(90,66,33,.06); margin-bottom: 1.2rem; overflow: hidden;
    scroll-margin-top: 7rem;
}
.settings-card > header[b-e2s41460xr] {
    padding: .8rem 1.2rem; background: linear-gradient(180deg, #fbf9f5, #f6f0e6);
    border-bottom: 1px solid #efe7d8; border-left: 3px solid var(--brand-gold);
}
.settings-card > header h2[b-e2s41460xr] { color: var(--brand-brown); font-size: 1rem; margin: 0; }
.settings-card > header p[b-e2s41460xr] { margin: .15rem 0 0; font-size: .82rem; color: #7c7263; }
.settings-card .body[b-e2s41460xr] { padding: 1.2rem; }

/* Read-only (externally-managed) fields. */
.settings-managed[b-e2s41460xr] { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: #7c7263; background: #f0e9da; border: 1px solid #e2d6bd; border-radius: 999px;
    padding: .12rem .5rem; vertical-align: middle; margin-left: .45rem; }
.settings-ro[b-e2s41460xr] { background: #f7f3ea; border: 1px solid #ece5d8; border-radius: .375rem;
    padding: .45rem .75rem; color: #5f5034; font-size: .9rem; word-break: break-all; min-height: 2.45rem; }

/* Field label + hint (AA-contrast on white). */
.field-label[b-e2s41460xr] { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .03em;
    text-transform: uppercase; color: var(--brand-brown-dark); margin-bottom: .25rem; }
.field-hint[b-e2s41460xr] { font-size: .76rem; color: #6b6258; margin-top: .2rem; }

/* Branded controls — reinstate the global gold focus ring explicitly so it can't regress. */
.settings-form .form-control:focus[b-e2s41460xr], .settings-form .form-select:focus[b-e2s41460xr] {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem var(--brand-gold);
}
.settings-form .form-check-input:checked[b-e2s41460xr] { background-color: var(--brand-brown); border-color: var(--brand-brown); }
.settings-form .form-switch .form-check-input[b-e2s41460xr] { width: 2.4em; height: 1.25em; cursor: pointer; }
.settings-form .form-switch .form-check-label[b-e2s41460xr] { cursor: pointer; }
.settings-form .input-group-text[b-e2s41460xr] { background: #f6f0e6; color: var(--brand-brown-dark); border-color: var(--bs-border-color); font-size: .85rem; }

/* Sticky action bar. */
.settings-actionbar[b-e2s41460xr] {
    position: sticky; bottom: 0; z-index: 3; margin-top: 1.3rem;
    background: rgba(255,255,255,.97); backdrop-filter: blur(6px);
    border-top: 1px solid #e6ddcd; padding: .85rem 0;
}
.settings-actionbar .inner[b-e2s41460xr] { display: flex; align-items: center; gap: .6rem; max-width: 1040px; }
.settings-actionbar code[b-e2s41460xr] { background: #f6f0e6; color: var(--brand-brown-dark); border-radius: .25rem; padding: .1em .4em; }
.settings-restarting[b-e2s41460xr] { color: var(--brand-brown); font-weight: 600; display: inline-flex; align-items: center; gap: .55rem; }
