/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-gzgcle26y9] {
    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-gzgcle26y9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-pw3ds480as],
.components-reconnect-repeated-attempt-visible[b-pw3ds480as],
.components-reconnect-failed-visible[b-pw3ds480as],
.components-pause-visible[b-pw3ds480as],
.components-resume-failed-visible[b-pw3ds480as],
.components-rejoining-animation[b-pw3ds480as] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-pw3ds480as {
    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/ArchiveStorage.razor.rz.scp.css */
.storage-page[b-p6awfs0pfa] {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.storage-page button[b-p6awfs0pfa] {
    margin-top: .5rem;
    padding: .65rem 1rem;
    border: 1px solid #175d4f;
    border-radius: .5rem;
    background: #175d4f;
    color: white;
    font: inherit;
    cursor: pointer;
}

.storage-page article[b-p6awfs0pfa] {
    padding: .75rem 0;
    border-top: 1px solid #d5e3de;
}

.storage-page p[b-p6awfs0pfa] {
    overflow-wrap: anywhere;
}

.storage-page[b-p6awfs0pfa]  input[type="checkbox"] {
    width: auto;
    margin-right: .5rem;
}
/* /Components/Pages/DocumentTemplates.razor.rz.scp.css */
.template-shell[b-igixx63kp1] { min-width: 0; }
.template-workspace[b-igixx63kp1] { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.template-editor-card[b-igixx63kp1], .template-preview-card[b-igixx63kp1] { min-width: 0; }
.template-access[b-igixx63kp1], .assistant-steps[b-igixx63kp1] { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.assistant-steps button[b-igixx63kp1] { min-height: 44px; flex: 1 1 5rem; }
.assistant-steps [aria-current="step"][b-igixx63kp1] { background: #176c58; color: white; }
.template-region-list[b-igixx63kp1] { display: flex; flex-wrap: wrap; margin-bottom: 1rem; }
.template-texts[b-igixx63kp1] { display: grid; gap: 1rem; }
.template-texts textarea[b-igixx63kp1] { min-height: 5rem; }
.template-preview-card[b-igixx63kp1]  .invoice-preview-frame { min-height: 0; }
.layout-dialog[b-igixx63kp1] { position: fixed; inset: 0; z-index: 1000; background: #edf1f4; display: flex; flex-direction: column; min-width: 0; padding: .5rem; overscroll-behavior: none; }
.layout-toolbar[b-igixx63kp1] { display: flex; flex-wrap: wrap; gap: .5rem; flex-shrink: 0; }
.layout-toolbar button[b-igixx63kp1] { min-height: 44px; }
.layout-document-scroll[b-igixx63kp1] { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.layout-document-scroll.enlarged[b-igixx63kp1]  .pdf-page-preview-page { width: 794px; max-width: none !important; }
.layout-document-scroll[b-igixx63kp1]  .pdf-page-preview { align-items: center; }
.layout-document-scroll[b-igixx63kp1]  .pdf-page-preview-page { position: relative; width: min(100%, calc((100dvh - 150px) * 210 / 297)); }
.layout-dialog[b-igixx63kp1]  .template-layout-preview { width: 100%; }
.layout-dialog[b-igixx63kp1]  .template-layout-overlay { position: absolute; inset: 0; pointer-events: none; }
.layout-dialog[b-igixx63kp1]  .template-layout-overlay.grid { background-image: linear-gradient(to right, #176c5820 1px, transparent 1px), linear-gradient(to bottom, #176c5820 1px, transparent 1px); background-size: calc(100% * 2 / 210) calc(100% * 2 / 297); }
.layout-dialog[b-igixx63kp1]  .layout-element { position: absolute; border: 1px dashed #176c5880; box-sizing: border-box; cursor: move; pointer-events: auto; touch-action: none; user-select: none; }
.layout-dialog[b-igixx63kp1]  .layout-element.selected { border: 2px solid #176c58; z-index: 2; }
.layout-dialog[b-igixx63kp1]  .layout-move { display: none; position: absolute; right: -50px; top: calc(50% - 22px); width: 44px; height: 44px; padding: 0; border: 1px solid #176c58; border-radius: 50%; background: white; color: #176c58; font-size: 24px; cursor: move; touch-action: none; }
.layout-dialog[b-igixx63kp1]  .selected .layout-move { display: block; }
.layout-dialog[b-igixx63kp1]  .layout-element.invalid { border-color: #b3261e; background: #b3261e18; }
.layout-dialog[b-igixx63kp1]  .layout-element-label { position: absolute; top: 0; left: 0; background: #ffffffdd; color: #176c58; font-size: 11px; line-height: 1.3; padding: 1px 3px; white-space: nowrap; pointer-events: none; }
.layout-dialog[b-igixx63kp1]  .invalid .layout-element-label { color: #b3261e; }
.layout-dialog[b-igixx63kp1]  .layout-corner { display: none; position: absolute; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, #176c58 0 6px, white 7px 9px, transparent 10px); }
.layout-dialog[b-igixx63kp1]  .selected .layout-corner { display: block; }
.layout-dialog[b-igixx63kp1]  .layout-corner.nw { left: -22px; top: -22px; cursor: nwse-resize; }
.layout-dialog[b-igixx63kp1]  .layout-corner.ne { right: -22px; top: -22px; cursor: nesw-resize; }
.layout-dialog[b-igixx63kp1]  .layout-corner.se { right: -22px; bottom: -22px; cursor: nwse-resize; }
.layout-dialog[b-igixx63kp1]  .layout-corner.sw { left: -22px; bottom: -22px; cursor: nesw-resize; }
.layout-dialog[b-igixx63kp1]  .layout-guide { position: absolute; background: #dc7c13; pointer-events: none; }
.layout-dialog[b-igixx63kp1]  .layout-guide.vertical { top: 0; bottom: 0; width: 1px; }
.layout-dialog[b-igixx63kp1]  .layout-guide.horizontal { left: 0; right: 0; height: 1px; }
.layout-toolbar label[b-igixx63kp1] { margin: 0; font-size: .85rem; }
.layout-toolbar select[b-igixx63kp1] { min-height: 44px; width: auto; }
@media (orientation: landscape) and (max-height: 600px) {
    .layout-document-scroll[b-igixx63kp1]  .pdf-page-preview-page { width: min(100%, 794px); }
}
@media (max-width: 800px) {
    .template-workspace[b-igixx63kp1] { grid-template-columns: minmax(0, 1fr); }
    .template-access[b-igixx63kp1] { position: sticky; top: var(--template-access-top, 0px); z-index: 1; background: white; padding: .5rem 0; }
    .template-shell .form-grid[b-igixx63kp1] { grid-template-columns: minmax(0, 1fr); }
}

.template-appearance[b-igixx63kp1], .template-appearance fieldset[b-igixx63kp1] { display: grid; gap: .7rem; min-width: 0; }
.template-appearance fieldset[b-igixx63kp1] { border: 1px solid #dce4e1; padding: .8rem; }
/* /Components/Pages/InvoiceDrafts.razor.rz.scp.css */
@media (max-width: 700px) {
    .weekday-replacement-backdrop[b-harq6iblri] {
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        left: 0;
        right: auto;
        bottom: auto;
        box-sizing: border-box;
    }

    .weekday-replacement-dialog[b-harq6iblri] {
        min-width: 0;
        max-width: 100%;
        max-height: calc(100dvh - 2rem);
        box-sizing: border-box;
        overflow: auto;
    }
}
/* /Components/Shared/DocumentChainView.razor.rz.scp.css */
.document-chain[b-y86k2tkyln] {
    margin-top: 1.5rem;
    padding: 1.4rem;
    border: 1px solid #dde7e4;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 6px 20px #173c3410;
}
.document-chain h2[b-y86k2tkyln] { margin: 0 0 .7rem; }
.document-chain p[b-y86k2tkyln] { margin: .45rem 0; }
.document-chain a[b-y86k2tkyln] { color: #195e53; text-underline-offset: .15em; }
.chain-relations[b-y86k2tkyln] { display: grid; gap: .65rem; margin: 1.1rem 0; }
.chain-relation[b-y86k2tkyln] { padding: .8rem 1rem; background: #f3f7f5; border-left: 3px solid #267264; border-radius: .45rem; }
.chain-hint[b-y86k2tkyln] { color: #596a65; font-size: .9rem; }
.chain-relation summary[b-y86k2tkyln] { cursor: pointer; font-weight: 600; font-size: .9rem; }
.chain-documents[b-y86k2tkyln] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); gap: .8rem; margin: 1rem 0; }
.chain-document[b-y86k2tkyln] { padding: 1rem; border: 1px solid #dfe7e4; border-radius: .65rem; }
.chain-document h3[b-y86k2tkyln] { margin: 0 0 .6rem; font-size: 1rem; }
.chain-document ul[b-y86k2tkyln] { padding-left: 1.2rem; margin-bottom: 0; }
.chain-document li[b-y86k2tkyln] { padding: .25rem 0; line-height: 1.55; }
.document-chain[b-y86k2tkyln]  [data-testid="document-quantities"] { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #dde7e4; }
.chain-quantity-source[b-y86k2tkyln] { margin-top: 1.2rem; padding: 1rem; border-radius: .65rem; background: #f3f7f5; }
.chain-quantity-source h3[b-y86k2tkyln] { margin: 0; font-size: 1rem; }
/* /Components/Shared/DocumentTemplateGraphicsEditor.razor.rz.scp.css */
.template-graphics-editor[b-lval8rgvfd], .template-graphic[b-lval8rgvfd], .template-image-resource[b-lval8rgvfd] { min-width: 0; }
.template-graphic[b-lval8rgvfd], .template-image-resource[b-lval8rgvfd] { display: grid; gap: .6rem; padding: .8rem 0; border-top: 1px solid #d7dedb; }
input[type=file][b-lval8rgvfd] { max-width: 100%; }
/* /Components/Shared/DocumentTemplateTableEditor.razor.rz.scp.css */
.table-editor[b-p05z1k7nsn] { display: grid; gap: .8rem; min-width: 0; }
fieldset[b-p05z1k7nsn] { display: grid; gap: .5rem; min-width: 0; border: 1px solid #dce4e1; padding: .8rem; }
fieldset[aria-invalid="true"][b-p05z1k7nsn] { border-color: #b3261e; }
label[b-p05z1k7nsn] { min-width: 0; }
input:not([type="checkbox"])[b-p05z1k7nsn], select[b-p05z1k7nsn] { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; }
.checkbox-label[b-p05z1k7nsn] { min-height: 44px; display: flex; align-items: center; gap: .6rem; }
.table-actions[b-p05z1k7nsn] { display: flex; flex-wrap: wrap; gap: .5rem; }
button[b-p05z1k7nsn] { min-height: 44px; }
[role="alert"][b-p05z1k7nsn] { color: #b3261e; }
/* /Components/Shared/TemplateTextEditor.razor.rz.scp.css */
.template-text-editor[b-0ygj00az6g] { min-width: 0; border: 1px solid #c6d4d8; border-radius: .5rem; padding: .75rem; }
h3[b-0ygj00az6g] { margin: 0 0 .5rem; font-size: 1rem; }
summary[b-0ygj00az6g] { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.text-format-toolbar[b-0ygj00az6g], .text-insertion-toolbar[b-0ygj00az6g] { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; align-items: end; }
label[b-0ygj00az6g] { flex: 1 1 8rem; min-width: 0; display: flex; flex-direction: column; }
select[b-0ygj00az6g], input[b-0ygj00az6g] { max-width: 100%; min-height: 44px; }
button[b-0ygj00az6g] { min-height: 44px; padding: .5rem .75rem; }
button[aria-pressed="true"][b-0ygj00az6g] { background: #176c58; color: #fff; }
.text-checkbox[b-0ygj00az6g] { flex-direction: row; align-items: center; gap: .5rem; }
.text-edit-surface[b-0ygj00az6g] { border: 1px solid #78969e; border-radius: .25rem; background: #fff; min-height: 5rem; padding: .6rem; overflow-wrap: anywhere; }
.text-edit-surface:focus[b-0ygj00az6g] { outline: 2px solid #176c58; outline-offset: 2px; }
.text-edit-surface[aria-invalid="true"][b-0ygj00az6g] { border-color: #b3261e; }
.text-edit-surface[b-0ygj00az6g]  p { min-height: 1em; }
.text-edit-surface[b-0ygj00az6g]  .template-field { background: #edf5f2; border-radius: .2rem; padding: 0 .15em; }
.text-field-error[b-0ygj00az6g] { color: #b3261e; margin: .4rem 0 0; }

.compact-text-editor[b-0ygj00az6g] { position: relative; padding: 0; border: 0; border-radius: 0; }
.compact-text-editor .text-edit-surface[b-0ygj00az6g] { box-sizing: border-box; height: 1.5rem; min-height: 0; padding: 2px 1.6rem 2px 3px; overflow: auto; border: 1px solid transparent; background: transparent; line-height: 1.2; }
.compact-text-editor .text-edit-surface:focus[b-0ygj00az6g] { border-color: #176c58; outline: 1px solid #176c58; outline-offset: 0; background: white; }
.compact-text-editor details[b-0ygj00az6g] { position: absolute; top: 0; right: 0; z-index: 2; }
.compact-text-editor details[open][b-0ygj00az6g] { z-index: 5; }
.compact-text-editor summary[b-0ygj00az6g] { box-sizing: border-box; justify-content: center; width: 1.4rem; height: 1.5rem; min-height: 0; padding: 0; overflow: hidden; font-size: 0; color: #48645b; }
.compact-text-editor summary[b-0ygj00az6g]::after { content: "⋯"; font-size: 1rem; }
.compact-text-editor .text-format-toolbar[b-0ygj00az6g] { position: fixed; z-index: 1050; width: min(32rem, 75vw); max-height: calc(100vh - 1rem); overflow: auto; box-sizing: border-box; margin: 0; padding: .75rem; border: 1px solid #bccdc6; border-radius: .4rem; background: white; box-shadow: 0 .4rem 1rem #173c3233; }
.compact-text-editor .text-format-toolbar label[b-0ygj00az6g] { margin: 0; font-size: .75rem; }
.compact-text-editor .text-format-toolbar :is(input, select, button)[b-0ygj00az6g] { box-sizing: border-box; min-height: 2rem; height: 2rem; }
.compact-text-editor[b-0ygj00az6g]  .document-flow-options { flex: 1 1 100%; }
.compact-text-editor[b-0ygj00az6g]  .document-flow-options label { display: flex; align-items: center; gap: .35rem; margin: .25rem 0; font-size: .75rem; }
/* /Components/Shared/WeekdaySelection.razor.rz.scp.css */
.weekday-picker[b-anx4dzbl6u] { min-width: 0; margin: 0; padding: 0; border: 0; }
legend[b-anx4dzbl6u] { padding: 0; margin-bottom: .25rem; font-size: .78rem; font-weight: 700; }
.weekday-trigger[b-anx4dzbl6u] { width: 100%; text-align: left; }
.weekday-trigger[b-anx4dzbl6u]::after { content: " ▾"; float: right; }
.weekday-panel[b-anx4dzbl6u] { margin-top: .35rem; padding: .65rem; border: 1px solid #aebdb7; border-radius: .35rem; background: #fff; }
.weekday-panel p[b-anx4dzbl6u] { margin: 0 0 .5rem; font-size: .8rem; }
.weekday-quickchoices[b-anx4dzbl6u] { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .4rem; }
.weekday-quickchoices button[b-anx4dzbl6u] { min-height: 2.75rem; }
.weekday-days[b-anx4dzbl6u] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .35rem; }
.weekday-days label[b-anx4dzbl6u] { display: flex; align-items: center; gap: .4rem; min-height: 2.75rem; margin: 0; cursor: pointer; }
.weekday-days input[b-anx4dzbl6u] { flex: 0 0 1rem; width: 1rem; height: 1rem; min-height: 1rem; margin: 0; padding: 0; accent-color: var(--erp-color-primary); }
.weekday-actions[b-anx4dzbl6u] { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; margin-top: .5rem; }
.weekday-actions button[b-anx4dzbl6u] { min-height: 2.75rem; }
