/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-shell[b-n0db5xqejx] {
    min-height: 100dvh;
    background: var(--paper);
}

#blazor-error-ui[b-n0db5xqejx] {
    background: var(--amber-soft);
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-weight: 600;
}

#blazor-error-ui .dismiss[b-n0db5xqejx] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.6rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-739djkm78g] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 100% -10%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 70%),
        var(--paper);
}

main[b-739djkm78g] {
    flex: 1;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

article[b-739djkm78g] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 18px 16px 24px;
}

.sidebar[b-739djkm78g] {
    position: relative;
    color: #fff;
    background:
        linear-gradient(170deg,
            color-mix(in oklab, var(--site-nav-start, #0079fa) 30%, #0b0d11) 0%,
            color-mix(in oklab, var(--site-nav-end, #b55ccc) 24%, #0b0d11) 100%);
    isolation: isolate;
}

/* Cernes du bois, en filigrane au bas de la sidebar */
.sidebar[b-739djkm78g]::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    z-index: -1;
    pointer-events: none;
    opacity: .09;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='white'%3E%3Ccircle cx='100' cy='100' r='96' stroke-width='3'/%3E%3Cellipse cx='101' cy='99' rx='84' ry='82'/%3E%3Cellipse cx='99' cy='101' rx='71' ry='70'/%3E%3Cellipse cx='101' cy='100' rx='58' ry='56'/%3E%3Cellipse cx='100' cy='101' rx='45' ry='44'/%3E%3Cellipse cx='100' cy='99' rx='32' ry='31'/%3E%3Cellipse cx='101' cy='100' rx='19' ry='18'/%3E%3Ccircle cx='100' cy='100' r='6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Barre du haut ---------- */

.top-row[b-739djkm78g] {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 3.75rem;
    flex: 0 0 3.75rem;
    padding: 0 16px;
    box-sizing: border-box;
    color: var(--site-topbar-fg, #1f2937);
    background: color-mix(in srgb, var(--site-topbar-bg, #f7f7f7) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid color-mix(in srgb, var(--site-topbar-fg, #1f2937) 10%, transparent);
}

.top-context[b-739djkm78g] {
    min-width: 0;
    display: flex;
    align-items: center;
}

.demo-banner[b-739djkm78g] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0.38rem 0.85rem 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--amber-ink);
    background: var(--amber-soft);
    border: 1px solid color-mix(in oklab, var(--amber) 28%, white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-banner-dot[b-739djkm78g] {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 60%, transparent);
    animation: pulse-b-739djkm78g 2.2s ease-out infinite;
}

@keyframes pulse-b-739djkm78g {
    0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 55%, transparent); }
    70%, 100% { box-shadow: 0 0 0 9px transparent; }
}

.top-actions[b-739djkm78g] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.top-actions[b-739djkm78g]  .top-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    font-size: 1.05rem;
    transition: background-color .15s ease, transform .3s var(--ease);
}

.top-actions[b-739djkm78g]  .top-icon-btn:hover {
    background: color-mix(in srgb, currentColor 9%, transparent);
}

.top-actions[b-739djkm78g]  .top-icon-btn:hover .bi {
    display: inline-block;
    transform: rotate(45deg);
    transition: transform .4s var(--ease);
}

.top-actions[b-739djkm78g]  .top-icon-btn.active {
    background: color-mix(in srgb, currentColor 12%, transparent);
}

.top-user[b-739djkm78g] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 6%, transparent);
    min-width: 0;
}

.top-avatar[b-739djkm78g] {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.top-avatar.is-guest[b-739djkm78g] {
    background: linear-gradient(135deg, var(--amber), #b4520a);
}

.top-user-text[b-739djkm78g] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.top-user-name[b-739djkm78g] {
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.top-user-role[b-739djkm78g] {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.6;
}

@media (max-width: 640.98px) {
    .top-row[b-739djkm78g] {
        height: auto;
        min-height: 3.25rem;
        flex: 0 0 auto;
        padding: 6px 10px;
    }

    .demo-banner-detail[b-739djkm78g],
    .top-user-text[b-739djkm78g],
    .top-leave span[b-739djkm78g] {
        display: none;
    }

    .top-user[b-739djkm78g] {
        padding: 2px;
    }

    article[b-739djkm78g] {
        padding: 12px 10px 18px;
    }
}

@media (min-width: 641px) {
    .page[b-739djkm78g] {
        flex-direction: row;
    }

    .sidebar[b-739djkm78g] {
        width: 248px;
        flex: 0 0 248px;
        height: 100dvh;
        position: sticky;
        top: 0;
        overflow: hidden;
    }

    .top-row[b-739djkm78g] {
        padding: 0 24px 0 28px;
    }

    article[b-739djkm78g] {
        padding: 22px 28px 28px;
    }
}

#blazor-error-ui[b-739djkm78g] {
    color-scheme: light only;
    background: var(--amber-soft);
    color: var(--ink);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-weight: 600;
}

#blazor-error-ui .dismiss[b-739djkm78g] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.6rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.brand-row[b-rg61plsfb0] {
    display: flex;
    align-items: center;
    height: 3.75rem;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.brand[b-rg61plsfb0] {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
    min-width: 0;
}

.brand-mark[b-rg61plsfb0] {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    color: #fff;
    transition: transform .6s var(--ease);
}

.brand:hover .brand-mark[b-rg61plsfb0] {
    transform: rotate(-90deg);
}

.brand-mark svg[b-rg61plsfb0] {
    width: 100%;
    height: 100%;
}

.brand-text[b-rg61plsfb0] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name[b-rg61plsfb0] {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.brand-sub[b-rg61plsfb0] {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.navbar-toggler[b-rg61plsfb0] {
    appearance: none;
    cursor: pointer;
    width: 2.75rem;
    height: 2.5rem;
    position: absolute;
    top: 0.62rem;
    right: 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    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.8%29' stroke-linecap='round' stroke-width='2' d='M6 9h18M6 15h18M6 21h12'/%3e%3c/svg%3e") no-repeat center/1.4rem rgba(255, 255, 255, 0.06);
}

.navbar-toggler:checked[b-rg61plsfb0] {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-scrollable[b-rg61plsfb0] {
    display: none;
    scrollbar-width: none;
}

.nav-scrollable[b-rg61plsfb0]::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.navbar-toggler:checked ~ .nav-scrollable[b-rg61plsfb0] {
    display: block;
}

.nav-shell[b-rg61plsfb0] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 10px 12px 14px;
}

.nav-main[b-rg61plsfb0] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-section[b-rg61plsfb0] {
    margin: 14px 10px 6px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .38);
}

.nav-section:first-child[b-rg61plsfb0] {
    margin-top: 6px;
}

.nav-shell[b-rg61plsfb0]  .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    height: 2.6rem;
    padding: 0 12px;
    border: none;
    border-radius: 10px;
    background: none;
    color: rgba(255, 255, 255, .72);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.nav-shell[b-rg61plsfb0]  .nav-link .bi {
    font-size: 1.05rem;
    width: 1.2rem;
    text-align: center;
    opacity: .85;
}

.nav-shell[b-rg61plsfb0]  .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.nav-shell[b-rg61plsfb0]  .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.nav-shell[b-rg61plsfb0]  .nav-link.active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: color-mix(in oklab, var(--site-nav-start, #0079fa) 55%, white);
}

.nav-shell[b-rg61plsfb0]  .nav-link.active .bi {
    opacity: 1;
}

.nav-shell[b-rg61plsfb0]  .nav-link-admin .bi:first-child {
    color: #f4b56a;
}

.nav-shell[b-rg61plsfb0]  .nav-ext {
    margin-left: auto;
    font-size: 0.72rem !important;
    opacity: .45 !important;
}

.nav-footer[b-rg61plsfb0] {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-shell[b-rg61plsfb0]  .nav-logout {
    cursor: pointer;
}

.nav-shell[b-rg61plsfb0]  .nav-logout:hover {
    color: #ffb4a8;
    background: rgba(255, 120, 100, .1);
}

@media (min-width: 641px) {
    .navbar-toggler[b-rg61plsfb0] {
        display: none;
    }

    .nav-scrollable[b-rg61plsfb0] {
        display: block;
        height: calc(100dvh - 3.75rem);
        overflow-y: auto;
        overflow-x: hidden;
    }
}
/* /Components/Layout/PageBuilderLayout.razor.rz.scp.css */
.pb-layout-root[b-1qbp44b34l] {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #111827;
}

#blazor-error-ui[b-1qbp44b34l] {
    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-1qbp44b34l] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mzcemie4t6],
.components-reconnect-repeated-attempt-visible[b-mzcemie4t6],
.components-reconnect-failed-visible[b-mzcemie4t6],
.components-pause-visible[b-mzcemie4t6],
.components-resume-failed-visible[b-mzcemie4t6],
.components-rejoining-animation[b-mzcemie4t6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-retrying[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-failed[b-mzcemie4t6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mzcemie4t6] {
    display: block;
}


#components-reconnect-modal[b-mzcemie4t6] {
    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-mzcemie4t6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mzcemie4t6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mzcemie4t6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mzcemie4t6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mzcemie4t6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mzcemie4t6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mzcemie4t6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mzcemie4t6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mzcemie4t6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mzcemie4t6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mzcemie4t6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mzcemie4t6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mzcemie4t6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mzcemie4t6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mzcemie4t6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mzcemie4t6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mzcemie4t6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mzcemie4t6 {
    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/LogSectionArt.razor.rz.scp.css */
.log-art[b-af1kff4319] {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    color: var(--log-ink, currentColor);
}

.log-bark[b-af1kff4319] {
    fill: var(--log-wood, transparent);
    stroke: currentColor;
    stroke-opacity: .55;
    stroke-width: 9;
}

.log-rings ellipse[b-af1kff4319] {
    fill: none;
    stroke: currentColor;
    stroke-opacity: .16;
    stroke-width: 1.4;
}

.log-pith[b-af1kff4319] {
    fill: currentColor;
    fill-opacity: .4;
}

.log-board rect[b-af1kff4319] {
    stroke: var(--log-board-stroke, #16181b);
    stroke-width: 1.6;
}

/* ---------- Animation d'entrée ---------- */

.is-animated .log-bark[b-af1kff4319] {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw-b-af1kff4319 1.4s var(--ease, ease) .1s forwards;
}

.is-animated .log-rings ellipse[b-af1kff4319] {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw-b-af1kff4319 1.2s var(--ease, ease) forwards;
    animation-delay: calc(.25s + var(--i) * 70ms);
}

.is-animated .log-board[b-af1kff4319] {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: boardIn-b-af1kff4319 .6s var(--ease, ease) forwards;
    animation-delay: calc(1s + var(--d));
}

.is-animated .log-saw[b-af1kff4319] {
    opacity: 0;
    animation: saw-b-af1kff4319 5.5s ease-in-out 2.2s infinite;
}

@keyframes draw-b-af1kff4319 {
    to { stroke-dashoffset: 0; }
}

@keyframes boardIn-b-af1kff4319 {
    from { opacity: 0; transform: scale(.82); }
    to { opacity: 1; transform: none; }
}

@keyframes saw-b-af1kff4319 {
    0% { transform: translateX(40px); opacity: 0; }
    10% { opacity: 1; }
    55% { transform: translateX(560px); opacity: 1; }
    62%, 100% { transform: translateX(600px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .is-animated .log-bark[b-af1kff4319],
    .is-animated .log-rings ellipse[b-af1kff4319] {
        stroke-dashoffset: 0;
        animation: none;
    }

    .is-animated .log-board[b-af1kff4319] {
        opacity: 1;
        animation: none;
    }

    .is-animated .log-saw[b-af1kff4319] {
        display: none;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home[b-l0gfn74exd] {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ---------- Hero ---------- */

.home-hero[b-l0gfn74exd] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
    align-items: center;
    gap: 32px;
    padding: 40px 44px;
    border-radius: 22px;
    overflow: hidden;
    color: #f3efe6;
    background:
        radial-gradient(520px 360px at 85% 50%, rgba(217, 122, 30, .2), transparent 70%),
        radial-gradient(500px 300px at 0% 100%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 70%),
        #14161a;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.home-hero[b-l0gfn74exd]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, transparent, black 60%);
}

.home-hero-text[b-l0gfn74exd] {
    animation: rise .5s var(--ease) both;
}

.home-hero .page-eyebrow[b-l0gfn74exd] {
    color: rgba(255, 255, 255, .6);
}

.home-hero .page-eyebrow[b-l0gfn74exd]::before {
    background: #ffb35c;
}

.home-hero h1[b-l0gfn74exd] {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.035em;
    margin: 4px 0 16px;
}

.home-hero h1 span[b-l0gfn74exd] {
    color: #ffb35c;
}

.home-hero p[b-l0gfn74exd] {
    max-width: 52ch;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 1rem;
    line-height: 1.55;
}

.home-hero-art[b-l0gfn74exd] {
    justify-self: center;
    width: min(320px, 100%);
    --log-ink: #efe6d6;
    --log-wood: rgba(239, 230, 214, .04);
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5));
}

.home-demo[b-l0gfn74exd] {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding: 14px 16px;
    max-width: 60ch;
    border-radius: 14px;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #ffe2bf;
    background: rgba(217, 122, 30, .14);
    border: 1px solid rgba(255, 179, 92, .3);
}

.home-demo .bi[b-l0gfn74exd] {
    color: #ffb35c;
    font-size: 1.1rem;
}

.home-demo strong[b-l0gfn74exd] {
    color: #fff;
}

.home-demo .mono[b-l0gfn74exd] {
    color: #ffb35c;
    font-weight: 700;
}

/* ---------- Modules ---------- */

.home-modules[b-l0gfn74exd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.home-module[b-l0gfn74exd] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 22px 18px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    animation: rise .5s var(--ease) both;
    animation-delay: calc(.15s + var(--delay));
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s ease;
}

.home-module[b-l0gfn74exd]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ffb35c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.home-module:hover[b-l0gfn74exd] {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.home-module:hover[b-l0gfn74exd]::after {
    transform: scaleX(1);
}

.home-module-index[b-l0gfn74exd] {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 0.72rem;
    color: var(--faint);
}

.home-module-icon[b-l0gfn74exd] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 1.25rem;
}

.home-module-title[b-l0gfn74exd] {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.home-module-text[b-l0gfn74exd] {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.home-module-go[b-l0gfn74exd] {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-ink);
}

.home-module-go .bi[b-l0gfn74exd] {
    transition: transform .2s var(--ease);
}

.home-module:hover .home-module-go .bi[b-l0gfn74exd] {
    transform: translateX(4px);
}

/* ---------- Journal (news) ---------- */

.home-news[b-l0gfn74exd] {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    animation: rise .5s var(--ease) .3s both;
}

.home-news-head[b-l0gfn74exd] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.home-news-head h2[b-l0gfn74exd] {
    margin: 0;
    font-size: 1.25rem;
}

.home-news-head .page-eyebrow[b-l0gfn74exd] {
    margin-bottom: 4px;
}

.home-news-head p[b-l0gfn74exd] {
    margin: 0;
    max-width: 48ch;
    color: var(--muted);
    font-size: 0.86rem;
}

.home-news-list[b-l0gfn74exd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.home-news-card[b-l0gfn74exd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
}

.home-news-card h3[b-l0gfn74exd] {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}

.home-news-card p[b-l0gfn74exd] {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.home-news-card.is-empty[b-l0gfn74exd] {
    border-style: dashed;
}

.home-news-date[b-l0gfn74exd] {
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 0.72rem;
    font-weight: 700;
}

/* ---------- Étapes ---------- */

.home-steps[b-l0gfn74exd] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-2);
    animation: rise .5s var(--ease) .4s both;
}

.home-step[b-l0gfn74exd] {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
}

.home-step + .home-step[b-l0gfn74exd] {
    border-left: 1px dashed var(--line-strong);
}

.home-step > .mono[b-l0gfn74exd] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-2);
    background: var(--surface);
}

.home-step strong[b-l0gfn74exd] {
    font-size: 0.9rem;
}

.home-step p[b-l0gfn74exd] {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.45;
}

@media (max-width: 860px) {
    .home-hero[b-l0gfn74exd] {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .home-hero-art[b-l0gfn74exd] {
        display: none;
    }

    .home-steps[b-l0gfn74exd] {
        grid-template-columns: 1fr;
    }

    .home-step + .home-step[b-l0gfn74exd] {
        border-left: none;
        border-top: 1px dashed var(--line-strong);
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login[b-m8gqn5bhao] {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 1fr);
    min-height: 100dvh;
}

/* ---------- Panneau visuel ---------- */

.login-visual[b-m8gqn5bhao] {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 36px 48px 44px;
    color: #f3efe6;
    background:
        radial-gradient(700px 520px at 70% 45%, rgba(217, 122, 30, .16), transparent 65%),
        radial-gradient(600px 400px at 10% 100%, rgba(0, 121, 250, .14), transparent 70%),
        #121417;
    isolation: isolate;
}

.login-visual-grain[b-m8gqn5bhao] {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 60% 45%, black 30%, transparent 75%);
}

.login-brand[b-m8gqn5bhao] {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: rise .5s var(--ease) both;
}

.login-brand-name[b-m8gqn5bhao] {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.login-brand-sep[b-m8gqn5bhao] {
    width: 22px;
    height: 1px;
    background: rgba(255, 255, 255, .35);
}

.login-brand-sub[b-m8gqn5bhao] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.login-art[b-m8gqn5bhao] {
    align-self: center;
    justify-self: center;
    width: min(460px, 78%);
    margin: 24px 0;
    --log-ink: #efe6d6;
    --log-wood: rgba(239, 230, 214, .04);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
}

.login-pitch h2[b-m8gqn5bhao] {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 22px;
    animation: rise .6s var(--ease) .15s both;
}

.login-pitch h2 em[b-m8gqn5bhao] {
    font-style: normal;
    color: #ffb35c;
}

.login-facts[b-m8gqn5bhao] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, .66);
    animation: rise .6s var(--ease) .3s both;
}

.login-facts li[b-m8gqn5bhao] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-facts .mono[b-m8gqn5bhao] {
    font-size: 0.72rem;
    color: #ffb35c;
}

/* ---------- Panneau formulaire ---------- */

.login-panel[b-m8gqn5bhao] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 40px 24px;
    background:
        radial-gradient(500px 300px at 100% 0%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 70%),
        var(--paper);
}

.login-card[b-m8gqn5bhao] {
    width: min(400px, 100%);
    animation: rise .55s var(--ease) .1s both;
}

.login-card-head h1[b-m8gqn5bhao] {
    font-size: 2.1rem;
    margin: 0 0 6px;
    letter-spacing: -0.03em;
}

.login-card-head p[b-m8gqn5bhao] {
    color: var(--muted);
    margin: 0 0 26px;
}

.login-form[b-m8gqn5bhao] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-input[b-m8gqn5bhao] {
    position: relative;
}

.login-input > .bi[b-m8gqn5bhao] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--faint);
    pointer-events: none;
}

.login-input .form-control[b-m8gqn5bhao] {
    height: 46px;
    padding-left: 40px;
    padding-right: 44px;
    border-radius: 12px;
    background: var(--surface);
}

.login-eye[b-m8gqn5bhao] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
}

.login-eye:hover[b-m8gqn5bhao] {
    background: var(--paper-2);
    color: var(--ink);
}

.login-remember[b-m8gqn5bhao] {
    font-size: 0.85rem;
    color: var(--ink-2);
}

.login-submit[b-m8gqn5bhao] {
    height: 48px;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-submit .bi[b-m8gqn5bhao] {
    transition: transform .2s var(--ease);
}

.login-submit:hover .bi[b-m8gqn5bhao] {
    transform: translateX(3px);
}

.login-or[b-m8gqn5bhao] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 16px;
    color: var(--faint);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.login-or[b-m8gqn5bhao]::before,
.login-or[b-m8gqn5bhao]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line-strong);
}

.login-guest[b-m8gqn5bhao] {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed color-mix(in oklab, var(--amber) 55%, white);
    background: color-mix(in oklab, var(--amber-soft) 60%, white);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, transform .15s var(--ease), box-shadow .15s ease;
}

.login-guest:hover[b-m8gqn5bhao] {
    border-style: solid;
    border-color: var(--amber);
    background: var(--amber-soft);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -14px rgba(154, 82, 12, .55);
}

.login-guest:focus-visible[b-m8gqn5bhao] {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--amber) 35%, transparent);
}

.login-guest-icon[b-m8gqn5bhao] {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: var(--amber);
    color: #fff;
    font-size: 1.15rem;
}

.login-guest-text[b-m8gqn5bhao] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.login-guest-text strong[b-m8gqn5bhao] {
    font-size: 0.92rem;
}

.login-guest-text span[b-m8gqn5bhao] {
    font-size: 0.76rem;
    color: var(--amber-ink);
}

.login-guest-chev[b-m8gqn5bhao] {
    margin-left: auto;
    color: var(--amber-ink);
    transition: transform .2s var(--ease);
}

.login-guest:hover .login-guest-chev[b-m8gqn5bhao] {
    transform: translateX(3px);
}

.login-foot[b-m8gqn5bhao] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--faint);
}

.login-foot a[b-m8gqn5bhao] {
    color: var(--muted);
}

@media (max-width: 900px) {
    .login[b-m8gqn5bhao] {
        grid-template-columns: 1fr;
    }

    .login-visual[b-m8gqn5bhao] {
        grid-template-rows: auto auto;
        grid-template-columns: 1fr 120px;
        align-items: center;
        gap: 12px 16px;
        padding: 22px 20px;
    }

    .login-brand[b-m8gqn5bhao] {
        grid-column: 1 / -1;
    }

    .login-art[b-m8gqn5bhao] {
        grid-column: 2;
        grid-row: 2;
        width: 120px;
        margin: 0;
    }

    .login-pitch h2[b-m8gqn5bhao] {
        font-size: 1.6rem;
        margin: 0;
    }

    .login-facts[b-m8gqn5bhao] {
        display: none;
    }

    .login-panel[b-m8gqn5bhao] {
        justify-content: flex-start;
        padding: 28px 16px;
    }
}
/* /Components/Pages/Produits.razor.rz.scp.css */
.produits-page[b-aoh25wrfuk] {
    max-width: 1100px;
    margin: 0 auto;
}

.produits-head-stats[b-aoh25wrfuk] {
    display: flex;
    gap: 10px;
}

.stat[b-aoh25wrfuk] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 92px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.stat-value[b-aoh25wrfuk] {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
}

.stat-label[b-aoh25wrfuk] {
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.produits-admin-note[b-aoh25wrfuk] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.86rem;
    color: var(--amber-ink);
    background: var(--amber-soft);
    border: 1px solid color-mix(in oklab, var(--amber) 28%, white);
}

.produits-loading[b-aoh25wrfuk] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 40px;
    justify-content: center;
    color: var(--muted);
}

.produits-card[b-aoh25wrfuk] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    animation: rise .45s var(--ease) .08s both;
}

.produits-toolbar[b-aoh25wrfuk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.produits-config[b-aoh25wrfuk] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.produits-config-label[b-aoh25wrfuk] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.produits-config .form-select[b-aoh25wrfuk] {
    min-width: 220px;
    font-weight: 600;
}

.produits-toolbar-right[b-aoh25wrfuk] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.config-inline-form[b-aoh25wrfuk] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--accent-soft);
    animation: rise .25s var(--ease) both;
}

.config-inline-form > .bi[b-aoh25wrfuk] {
    color: var(--accent-ink);
}

.config-inline-form input[b-aoh25wrfuk] {
    flex: 1 1 200px;
    min-width: 0;
    max-width: 360px;
}

.produits-grid[b-aoh25wrfuk] {
    padding: 14px 16px 6px;
}

.produits-hint[b-aoh25wrfuk] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 8px 16px 14px;
    font-size: 0.74rem;
    color: var(--faint);
}

.produits-hint kbd[b-aoh25wrfuk] {
    display: inline-block;
    min-width: 1.5em;
    margin-right: 2px;
    padding: 0.05em 0.4em;
    border-radius: 5px;
    border: 1px solid var(--line-strong);
    border-bottom-width: 2px;
    background: var(--surface);
    color: var(--ink-2);
    font-size: 0.7rem;
    text-align: center;
}

.produits-modal[b-aoh25wrfuk] {
    text-align: center;
}

.produits-modal-icon[b-aoh25wrfuk] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 1.3rem;
}

.produits-modal h5[b-aoh25wrfuk] {
    margin-bottom: 8px;
}

.produits-modal p[b-aoh25wrfuk] {
    color: var(--muted);
    margin-bottom: 22px;
}

.produits-modal-actions[b-aoh25wrfuk] {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .produits-head-stats[b-aoh25wrfuk] {
        width: 100%;
    }

    .stat[b-aoh25wrfuk] {
        flex: 1;
        align-items: flex-start;
    }

    .produits-config[b-aoh25wrfuk] {
        width: 100%;
    }

    .produits-config .form-select[b-aoh25wrfuk] {
        min-width: 0;
        flex: 1;
    }

    .produits-toolbar-right[b-aoh25wrfuk] {
        width: 100%;
        justify-content: flex-end;
    }

    .produits-grid[b-aoh25wrfuk] {
        padding: 10px;
    }

    .produits-hint[b-aoh25wrfuk] {
        display: none;
    }
}
/* /Components/RapidEditGrid.razor.rz.scp.css */
.rapid-edit-grid[b-i94wev04fz] {
    outline: none;
    overflow: auto;
    max-height: 100%;
}

.rapid-toolbar[b-i94wev04fz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
}

.rapid-empty[b-i94wev04fz] {
    padding: 1.5rem 1rem;
    color: var(--muted, #6c757d);
    text-align: center;
    border: 1px dashed var(--line-strong, #cfc9bc);
    border-radius: 10px;
}

.rapid-table[b-i94wev04fz] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.84rem;
    table-layout: fixed;
    border: 1px solid var(--line-strong, #cfc9bc);
    border-radius: 10px;
}

.rapid-table thead th:first-child[b-i94wev04fz] { border-top-left-radius: 9px; }
.rapid-table thead th:last-child[b-i94wev04fz] { border-top-right-radius: 9px; }
.rapid-table tbody tr:last-child > td:first-child[b-i94wev04fz] { border-bottom-left-radius: 9px; }
.rapid-table tbody tr:last-child > td:last-child[b-i94wev04fz] { border-bottom-right-radius: 9px; }

.rapid-table thead th[b-i94wev04fz] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--surface-2, #faf9f6);
    border-bottom: 1px solid var(--line-strong, #cfc9bc);
    padding: 0.42rem 0.4rem;
    text-align: center;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted, #6f6d67);
    white-space: nowrap;
    user-select: none;
}

.rapid-cell[b-i94wev04fz] {
    border-bottom: 1px solid rgba(22, 24, 27, .1);
    border-right: 1px solid rgba(22, 24, 27, .06);
    padding: 0.26rem 0.35rem;
    text-align: center;
    font-family: var(--font-mono, monospace);
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.rapid-table tbody tr:last-child .rapid-cell[b-i94wev04fz] {
    border-bottom: none;
}

.rapid-table tbody tr[b-i94wev04fz] {
    transition: filter .12s ease;
}

.rapid-table tbody tr:hover[b-i94wev04fz] {
    filter: brightness(.96);
}

.rapid-row-focus[b-i94wev04fz] {
    filter: brightness(.94) saturate(1.1);
}

.rapid-cell-readonly[b-i94wev04fz] {
    background: rgba(255, 255, 255, .55);
    color: var(--muted, #888);
    cursor: default;
}

.rapid-cell-dirty[b-i94wev04fz] {
    background: #fff3c4 !important;
    box-shadow: inset 0 -2px 0 var(--amber, #d97a1e);
}

.rapid-cell-focus[b-i94wev04fz] {
    outline: 2px solid var(--accent, #0d6efd);
    outline-offset: -2px;
    z-index: 1;
}

.rapid-cell-editing[b-i94wev04fz] {
    outline: 2px solid var(--accent-ink, #0a58ca);
    outline-offset: -2px;
    padding: 0;
    z-index: 2;
}

.rapid-input[b-i94wev04fz] {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    text-align: center;
    font-size: inherit;
    font-family: inherit;
    padding: 0.26rem 0.35rem;
    background: #fff;
    font-weight: 600;
    box-sizing: border-box;
}

.rapid-checkbox[b-i94wev04fz] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent, #0d6efd);
    cursor: pointer;
}

.rapid-display[b-i94wev04fz] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rapid-delete-btn[b-i94wev04fz] {
    padding: 0 0.35rem;
    font-size: 0.72rem;
    line-height: 1.4;
    opacity: .55;
    transition: opacity .12s ease;
}

tr:hover .rapid-delete-btn[b-i94wev04fz],
.rapid-delete-btn:focus-visible[b-i94wev04fz] {
    opacity: 1;
}

/* Sort header */
.rapid-col-sortable[b-i94wev04fz] {
    cursor: pointer;
}

.rapid-sort-header[b-i94wev04fz] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
}

.rapid-sort-header:hover[b-i94wev04fz] {
    color: var(--accent-ink, #0d6efd);
}

.rapid-sort-indicator[b-i94wev04fz] {
    font-size: 0.65rem;
    line-height: 1;
}

.rapid-sort-idle[b-i94wev04fz] {
    opacity: 0.35;
}

/* Mobile card list */
.rapid-mobile-list[b-i94wev04fz] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rapid-mobile-card[b-i94wev04fz] {
    border: 1px solid rgba(22, 24, 27, .12);
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    font-family: var(--font-mono, monospace);
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(var(--rapid-mobile-cols, 4), 1fr);
    gap: 0.15rem 0.4rem;
    align-items: center;
}

.rapid-mobile-card:active[b-i94wev04fz] {
    opacity: 0.7;
}

.rapid-mobile-field[b-i94wev04fz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.rapid-mobile-label[b-i94wev04fz] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #6c757d;
    line-height: 1;
}

.rapid-mobile-value[b-i94wev04fz] {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Mobile bool group – checkboxes aligned inline */
.rapid-mobile-bools[b-i94wev04fz] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.1rem 0;
}

.rapid-mobile-bool-item[b-i94wev04fz] {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
}

.rapid-checkbox-sm[b-i94wev04fz] {
    width: 15px;
    height: 15px;
    accent-color: var(--accent, #0d6efd);
    cursor: pointer;
}

/* Dialog overlay */
.rapid-dialog-overlay[b-i94wev04fz] {
    position: fixed;
    inset: 0;
    background: rgba(22, 24, 27, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.rapid-dialog[b-i94wev04fz] {
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding: 1.3rem;
    box-shadow: 0 -20px 50px -20px rgba(22, 24, 27, .4);
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    animation: rapid-dialog-slide-up-b-i94wev04fz 0.2s ease-out;
}

@keyframes rapid-dialog-slide-up-b-i94wev04fz {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.rapid-dialog-title[b-i94wev04fz] {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.rapid-dialog-fields[b-i94wev04fz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.rapid-dialog-field[b-i94wev04fz] {
    grid-column: 1 / -1;
}

.rapid-dialog-field-bool-group[b-i94wev04fz] {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rapid-dialog-field-bool-group .rapid-dialog-checkbox[b-i94wev04fz] {
    display: block;
    margin: 0 auto;
}

.rapid-dialog-field-bool-group .rapid-dialog-label[b-i94wev04fz] {
    width: 100%;
    text-align: center;
    margin-bottom: 0.35rem;
}

.rapid-dialog-label[b-i94wev04fz] {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--ink-2, #495057);
}

.rapid-dialog-checkbox[b-i94wev04fz] {
    width: 20px;
    height: 20px;
}

/* Numeric keypad – inline under active field */
.rapid-numpad-wrapper[b-i94wev04fz] {
    position: relative;
}

.rapid-numpad[b-i94wev04fz] {
    margin-top: 0.3rem;
    padding: 0.4rem;
    background: #f8f9fa;
    border: 1px solid var(--line-strong, #dee2e6);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rapid-numpad-keys[b-i94wev04fz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}

.rapid-numpad-key[b-i94wev04fz] {
    background: #fff;
    border: 1px solid var(--line-strong, #dee2e6);
    border-radius: 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.55rem 0;
    text-align: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.1s;
}

.rapid-numpad-key:active[b-i94wev04fz] {
    background: #e2e6ea;
}

.rapid-numpad-actions[b-i94wev04fz] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.rapid-numpad-key-action[b-i94wev04fz] {
    background: #e9ecef;
    font-size: 1rem;
}

.rapid-numpad-key-action:active[b-i94wev04fz] {
    background: #ced4da;
}

.rapid-numpad-key-clear[b-i94wev04fz] {
    color: #dc3545;
    font-weight: 700;
}

.rapid-numpad-key-confirm[b-i94wev04fz] {
    background: var(--accent, #0d6efd);
    color: #fff;
    border-color: var(--accent, #0d6efd);
    font-size: 1.15rem;
}

.rapid-numpad-key-confirm:active[b-i94wev04fz] {
    background: var(--accent-ink, #0a58ca);
}

.rapid-numpad-active-input[b-i94wev04fz] {
    border-color: var(--accent, #0d6efd) !important;
    box-shadow: var(--ring) !important;
    background: var(--accent-soft, #f0f6ff) !important;
}

/* When numpad is open, the parent field should span the full dialog width */
.rapid-dialog-field:has(.rapid-numpad)[b-i94wev04fz] {
    grid-column: 1 / -1;
}

.rapid-dialog-actions[b-i94wev04fz] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line, #dee2e6);
}
