/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.admin-shell[b-ly9ypeo80s] {
    background: var(--admin-page, #eef2f6);
    display: flex;
    min-height: 100vh;
}

/* ---------- Sidebar ---------- */

.admin-sidebar[b-ly9ypeo80s] {
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 168, 212, .38), transparent 22rem),
        linear-gradient(180deg, var(--admin-navy, #0f1d4a) 0%, var(--admin-navy-deep, #0a1430) 100%);
    display: flex;
    flex: 0 0 16.5rem;
    flex-direction: column;
    max-height: 100vh;
    overflow-y: auto;
    position: sticky;
    top: 0;
    width: 16.5rem;
}

.admin-scrim[b-ly9ypeo80s] {
    display: none;
}

/* ---------- Main column ---------- */

.admin-main[b-ly9ypeo80s] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar[b-ly9ypeo80s] {
    align-items: center;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--admin-line, #dde4ec);
    display: flex;
    gap: 1rem;
    min-height: 3.75rem;
    padding: .6rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 30;
}

.admin-nav-toggle[b-ly9ypeo80s] {
    align-items: center;
    background: transparent;
    border: 1px solid var(--admin-line, #dde4ec);
    border-radius: .5rem;
    color: var(--admin-navy, #0f1d4a);
    cursor: pointer;
    display: none;
    font-size: 1.05rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.6rem;
}

.admin-nav-toggle:hover[b-ly9ypeo80s],
.admin-nav-toggle:focus-visible[b-ly9ypeo80s] {
    background: var(--admin-surface, #f5f9fa);
    border-color: var(--admin-cyan, #00a8d4);
}

.admin-site-link[b-ly9ypeo80s] {
    align-items: center;
    color: var(--admin-cyan-dark, #00819f);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 600;
    gap: .4rem;
    margin-right: auto;
    text-decoration: none;
}

.admin-site-link:hover[b-ly9ypeo80s],
.admin-site-link:focus-visible[b-ly9ypeo80s] {
    color: var(--admin-navy, #0f1d4a);
    text-decoration: underline;
}

.admin-site-link .fa[b-ly9ypeo80s] {
    font-size: .75rem;
}

.admin-account[b-ly9ypeo80s] {
    align-items: center;
    color: var(--admin-muted, #5e6b82);
    display: inline-flex;
    font-size: .85rem;
    gap: .55rem;
    max-width: 20rem;
    min-width: 0;
}

.admin-avatar[b-ly9ypeo80s] {
    align-items: center;
    background: linear-gradient(135deg, var(--admin-cyan, #00a8d4), var(--admin-aqua, #36b6c1));
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .82rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.admin-account-email[b-ly9ypeo80s] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-signout-form[b-ly9ypeo80s] {
    margin: 0;
}

.admin-signout-button[b-ly9ypeo80s] {
    align-items: center;
    background: transparent;
    border: 1px solid var(--admin-line, #dde4ec);
    border-radius: .5rem;
    color: var(--admin-navy, #0f1d4a);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    gap: .4rem;
    padding: .45rem .8rem;
    white-space: nowrap;
}

.admin-signout-button:hover[b-ly9ypeo80s],
.admin-signout-button:focus-visible[b-ly9ypeo80s] {
    background: #fdecea;
    border-color: #e2b3ad;
    color: var(--admin-danger, #c0392b);
}

.admin-content[b-ly9ypeo80s] {
    margin: 0 auto;
    max-width: 84rem;
    padding: 1.75rem;
    width: 100%;
}

/* ---------- Drawer behaviour ---------- */

@media (max-width: 1023px) {
    .admin-shell[b-ly9ypeo80s] {
        display: block;
    }

    .admin-nav-toggle[b-ly9ypeo80s] {
        display: inline-flex;
    }

    .admin-sidebar[b-ly9ypeo80s] {
        bottom: 0;
        box-shadow: 1rem 0 3rem rgba(4, 12, 32, .35);
        left: 0;
        max-height: none;
        position: fixed;
        top: 0;
        transform: translateX(-100%);
        transition: transform .24s ease;
        visibility: hidden;
        width: min(18rem, 84vw);
        z-index: 60;
    }

    .admin-shell.is-nav-open .admin-sidebar[b-ly9ypeo80s] {
        transform: translateX(0);
        visibility: visible;
    }

    .admin-scrim[b-ly9ypeo80s] {
        background: rgba(6, 16, 38, .55);
        display: block;
        inset: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        transition: opacity .24s ease;
        z-index: 50;
    }

    .admin-shell.is-nav-open .admin-scrim[b-ly9ypeo80s] {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-content[b-ly9ypeo80s] {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .admin-topbar[b-ly9ypeo80s] {
        gap: .6rem;
        padding: .6rem .9rem;
    }

    .admin-label[b-ly9ypeo80s],
    .admin-account-email[b-ly9ypeo80s] {
        display: none;
    }

    .admin-content[b-ly9ypeo80s] {
        padding: 1rem .9rem 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-sidebar[b-ly9ypeo80s],
    .admin-scrim[b-ly9ypeo80s] {
        transition: none;
    }
}
/* /Components/Layout/AdminNavMenu.razor.rz.scp.css */
.admin-nav[b-22ixwbie4g] {
    color: #fff;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .2rem;
    padding: 1.1rem .85rem 1.5rem;
}

.admin-nav-head[b-22ixwbie4g] {
    align-items: flex-start;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.admin-brand[b-22ixwbie4g] {
    align-items: center;
    color: #fff;
    display: flex;
    gap: .7rem;
    min-width: 0;
    padding: .35rem .4rem;
    text-decoration: none;
}

.admin-brand img[b-22ixwbie4g] {
    background: #fff;
    border-radius: .4rem;
    flex: 0 0 auto;
    height: 2.4rem;
    object-fit: contain;
    padding: .25rem;
    width: 4rem;
}

.admin-brand strong[b-22ixwbie4g] {
    display: block;
    font-size: .98rem;
    letter-spacing: .04em;
    line-height: 1.2;
}

.admin-brand small[b-22ixwbie4g] {
    color: rgba(255, 255, 255, .6);
    display: block;
    font-size: .64rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-nav-close[b-22ixwbie4g] {
    background: rgba(255, 255, 255, .1);
    border: 0;
    border-radius: .45rem;
    color: #fff;
    cursor: pointer;
    display: none;
    flex: 0 0 auto;
    font-size: 1rem;
    height: 2.1rem;
    width: 2.1rem;
}

.admin-nav-close:hover[b-22ixwbie4g],
.admin-nav-close:focus-visible[b-22ixwbie4g] {
    background: rgba(255, 255, 255, .22);
}

.admin-nav-section[b-22ixwbie4g] {
    color: rgba(255, 255, 255, .45);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .16em;
    margin: 1.1rem 0 .35rem;
    padding-left: .85rem;
    text-transform: uppercase;
}

.admin-nav-section:first-of-type[b-22ixwbie4g] {
    margin-top: 0;
}

/* NavLink renders its own <a>, so these rules need ::deep to cross the
   component boundary. */
.admin-nav[b-22ixwbie4g]  .admin-nav-link {
    align-items: center;
    border-radius: .5rem;
    color: rgba(255, 255, 255, .8);
    display: flex;
    font-size: .92rem;
    font-weight: 500;
    gap: .75rem;
    padding: .65rem .85rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.admin-nav[b-22ixwbie4g]  .admin-nav-link .fa {
    color: rgba(255, 255, 255, .55);
    font-size: .95rem;
    width: 1.2rem;
    text-align: center;
    transition: color .15s ease;
}

.admin-nav[b-22ixwbie4g]  .admin-nav-link:hover,
.admin-nav[b-22ixwbie4g]  .admin-nav-link:focus-visible {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.admin-nav[b-22ixwbie4g]  .admin-nav-link:hover .fa,
.admin-nav[b-22ixwbie4g]  .admin-nav-link:focus-visible .fa {
    color: var(--admin-mint, #86d1ca);
}

.admin-nav[b-22ixwbie4g]  .admin-nav-link.active {
    background: linear-gradient(135deg, var(--admin-cyan, #00a8d4), var(--admin-aqua, #36b6c1));
    box-shadow: 0 .4rem 1.1rem rgba(0, 168, 212, .35);
    color: #fff;
    font-weight: 700;
}

.admin-nav[b-22ixwbie4g]  .admin-nav-link.active .fa {
    color: #fff;
}

.admin-nav-foot[b-22ixwbie4g] {
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .42);
    font-size: .68rem;
    line-height: 1.6;
    margin: auto 0 0;
    padding: 1rem .85rem 0;
}

@media (max-width: 1023px) {
    .admin-nav-close[b-22ixwbie4g] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-iiw2k01nln] {
    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-iiw2k01nln] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Admin/BusinessDocuments.razor.rz.scp.css */
.document-page[b-vyn9m8faub] {
    --ink: var(--admin-ink, #12203f);
    --muted: var(--admin-muted, #5e6b82);
    --line: var(--admin-line, #dde4ec);
    --paper: var(--admin-paper, #fff);
    --navy: var(--admin-navy, #0f1d4a);
    --cyan: var(--admin-cyan, #00a8d4);
    --cyan-dark: var(--admin-cyan-dark, #00819f);
    --mint: var(--admin-mint, #86d1ca);
    color: var(--ink);
    padding-bottom: 3rem;
}

/* ---------- Header ---------- */

.document-header[b-vyn9m8faub] {
    align-items: flex-end;
    background:
        radial-gradient(circle at 92% 8%, rgba(134, 209, 202, .35), transparent 26rem),
        linear-gradient(120deg, var(--navy) 0%, #16336b 55%, var(--cyan-dark) 100%);
    border-radius: var(--admin-radius, .9rem);
    color: #fff;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

.document-header[b-vyn9m8faub]::after {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    content: "";
    height: 20rem;
    position: absolute;
    right: -6rem;
    top: -11rem;
    width: 20rem;
}

.document-header > div:first-child[b-vyn9m8faub] {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.document-header h1[b-vyn9m8faub] {
    color: #fff;
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    font-weight: 700;
    letter-spacing: .03em;
    margin: .2rem 0 .4rem;
}

.document-header p:last-child[b-vyn9m8faub] {
    color: rgba(255, 255, 255, .8);
    font-size: .92rem;
    margin: 0;
}

.eyebrow[b-vyn9m8faub] {
    color: var(--mint);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin: 0;
}

.create-actions[b-vyn9m8faub] {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    position: relative;
    z-index: 1;
}

.create-actions .btn-dark[b-vyn9m8faub] {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}

.create-actions .btn-dark:hover[b-vyn9m8faub],
.create-actions .btn-dark:focus-visible[b-vyn9m8faub] {
    background: var(--mint);
    border-color: var(--mint);
    color: var(--navy);
}

.create-actions .btn-outline-dark[b-vyn9m8faub] {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.create-actions .btn-outline-dark:hover[b-vyn9m8faub],
.create-actions .btn-outline-dark:focus-visible[b-vyn9m8faub] {
    background: rgba(255, 255, 255, .16);
    border-color: #fff;
    color: #fff;
}

.alert[b-vyn9m8faub] {
    margin-bottom: 1.25rem;
}

/* ---------- Workspace ---------- */

.document-workspace[b-vyn9m8faub] {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr);
}

.document-list[b-vyn9m8faub],
.document-editor[b-vyn9m8faub] {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--admin-radius, .9rem);
    box-shadow: var(--admin-shadow, 0 .5rem 1.75rem rgba(15, 29, 74, .08));
}

.document-list[b-vyn9m8faub] {
    max-height: calc(100vh - 7rem);
    overflow: auto;
    position: sticky;
    top: 5rem;
}

.list-heading[b-vyn9m8faub] {
    align-items: center;
    background: var(--admin-surface, #f5f9fa);
    border-bottom: 1px solid var(--line);
    border-radius: var(--admin-radius, .9rem) var(--admin-radius, .9rem) 0 0;
    color: var(--navy);
    display: flex;
    font-size: .8rem;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: .06em;
    padding: .9rem 1rem;
}

.count[b-vyn9m8faub] {
    background: var(--cyan);
    border-radius: 99rem;
    color: #fff;
    font-size: .72rem;
    min-width: 1.6rem;
    padding: .15rem .5rem;
    text-align: center;
}

.document-list-item[b-vyn9m8faub] {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    padding: .9rem 1rem;
    position: relative;
    text-align: left;
    transition: background .16s ease;
    width: 100%;
}

.document-list-item:hover[b-vyn9m8faub],
.document-list-item:focus-visible[b-vyn9m8faub] {
    background: var(--admin-surface, #f5f9fa);
}

.document-list-item.active[b-vyn9m8faub] {
    background: #e9f7fb;
    box-shadow: inset 3px 0 var(--cyan);
}

.document-list-item strong[b-vyn9m8faub] {
    color: var(--navy);
    font-size: .95rem;
    margin: .35rem 0 .2rem;
}

.document-list-item > span:not(.document-kind)[b-vyn9m8faub],
.document-list-item time[b-vyn9m8faub] {
    color: var(--muted);
    font-size: .76rem;
}

.document-list-item time[b-vyn9m8faub] {
    margin-top: .4rem;
}

.document-kind[b-vyn9m8faub] {
    align-self: flex-start;
    background: #e2f4f8;
    border-radius: .25rem;
    color: var(--cyan-dark);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    padding: .18rem .45rem;
}

.document-kind.prominent[b-vyn9m8faub] {
    background: var(--navy);
    color: #fff;
    display: inline-block;
    margin-bottom: .4rem;
}

/* ---------- Editor ---------- */

.document-editor[b-vyn9m8faub] {
    min-height: 32rem;
    min-width: 0;
    overflow: hidden;
}

.editor-empty[b-vyn9m8faub] {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 32rem;
    padding: 3rem;
    text-align: center;
}

.editor-empty .fa-file-pen[b-vyn9m8faub] {
    color: var(--mint);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.editor-empty h2[b-vyn9m8faub] {
    color: var(--navy);
    font-size: 1.25rem;
}

.editor-empty p[b-vyn9m8faub] {
    font-size: .9rem;
    margin: 0;
    max-width: 26rem;
}

.editor-toolbar[b-vyn9m8faub] {
    align-items: center;
    background: var(--admin-surface, #f5f9fa);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
}

.editor-toolbar h2[b-vyn9m8faub] {
    color: var(--navy);
    font-size: 1.2rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.toolbar-actions[b-vyn9m8faub] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.toolbar-actions .btn-group .btn[b-vyn9m8faub] {
    border-radius: 0;
    font-size: .82rem;
    padding: .5rem .85rem;
}

.toolbar-actions .btn-group .btn:first-child[b-vyn9m8faub] {
    border-bottom-left-radius: .5rem;
    border-top-left-radius: .5rem;
}

.toolbar-actions .btn-group .btn:last-child[b-vyn9m8faub] {
    border-bottom-right-radius: .5rem;
    border-top-right-radius: .5rem;
}

fieldset[b-vyn9m8faub] {
    border: 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 1.5rem;
}

legend[b-vyn9m8faub],
.generated-files h3[b-vyn9m8faub] {
    color: var(--navy);
    float: none;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    margin: 0 0 1rem;
    padding: 0 0 .5rem;
    position: relative;
    text-transform: uppercase;
    width: auto;
}

legend[b-vyn9m8faub]::after,
.generated-files h3[b-vyn9m8faub]::after {
    background: var(--cyan);
    border-radius: 2px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 2rem;
}

.form-grid[b-vyn9m8faub] {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field[b-vyn9m8faub] {
    min-width: 0;
}

.field.wide[b-vyn9m8faub] {
    grid-column: 1 / -1;
}

.field label[b-vyn9m8faub] {
    color: #47536a;
    display: block;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.legend-row[b-vyn9m8faub] {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.legend-row legend[b-vyn9m8faub],
.legend-row h3[b-vyn9m8faub] {
    margin: 0;
}

/* ---------- Line items ---------- */

.table-responsive[b-vyn9m8faub] {
    border: 1px solid var(--line);
    border-radius: var(--admin-radius-sm, .5rem);
}

.line-items[b-vyn9m8faub] {
    margin: 0;
    min-width: 48rem;
}

.line-items thead[b-vyn9m8faub] {
    background: var(--admin-surface, #f5f9fa);
}

.line-items th[b-vyn9m8faub] {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .6rem .75rem;
    text-transform: uppercase;
}

.line-items td[b-vyn9m8faub] {
    border-color: var(--line);
    padding: .55rem .75rem;
    vertical-align: middle;
}

.line-items tbody tr:last-child td[b-vyn9m8faub] {
    border-bottom-width: 0;
}

/* InputText/InputNumber render their own <input>, so these need ::deep. */
.line-items[b-vyn9m8faub]  .form-control {
    font-size: .9rem;
}

.description-column[b-vyn9m8faub] {
    min-width: 16rem;
}

.amount-column[b-vyn9m8faub] {
    min-width: 8rem;
}

.line-items[b-vyn9m8faub]  .numeric {
    min-width: 7rem;
    text-align: right;
}

.line-items[b-vyn9m8faub]  .unit {
    min-width: 4.5rem;
}

.amount[b-vyn9m8faub] {
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.totals[b-vyn9m8faub] {
    display: grid;
    font-variant-numeric: tabular-nums;
    gap: .5rem 1.5rem;
    grid-template-columns: auto minmax(8rem, 12rem);
    justify-content: end;
    margin-top: 1.25rem;
    text-align: right;
}

.totals span[b-vyn9m8faub] {
    color: var(--muted);
    font-size: .85rem;
}

.totals strong[b-vyn9m8faub] {
    color: var(--ink);
}

.grand-total[b-vyn9m8faub] {
    border-top: 2px solid var(--cyan);
    color: var(--navy) !important;
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: .3rem;
    padding-top: .6rem;
}

/* ---------- Generated files ---------- */

.generated-files[b-vyn9m8faub] {
    padding: 1.5rem;
}

.generated-files .legend-row > span[b-vyn9m8faub] {
    color: var(--muted);
    font-size: .75rem;
}

.file-grid[b-vyn9m8faub] {
    display: grid;
    gap: .6rem;
}

.generated-file[b-vyn9m8faub] {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--admin-radius-sm, .5rem);
    color: var(--ink);
    display: grid;
    gap: .75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: .7rem .75rem;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}

.generated-file:hover[b-vyn9m8faub],
.generated-file:focus-visible[b-vyn9m8faub] {
    background: #f2fbfd;
    border-color: var(--cyan);
}

.generated-file strong[b-vyn9m8faub],
.generated-file small[b-vyn9m8faub] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.generated-file strong[b-vyn9m8faub] {
    font-size: .9rem;
}

.generated-file small[b-vyn9m8faub] {
    color: var(--muted);
    margin-top: .15rem;
}

.generated-file .fa-download[b-vyn9m8faub] {
    color: var(--cyan-dark);
}

.file-format[b-vyn9m8faub] {
    background: var(--navy);
    border-radius: .3rem;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    min-width: 3.2rem;
    padding: .35rem .45rem;
    text-align: center;
}

.empty-state[b-vyn9m8faub] {
    color: var(--muted);
    font-size: .88rem;
    margin: 0;
    padding: 1.25rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .document-header[b-vyn9m8faub] {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }

    .document-workspace[b-vyn9m8faub] {
        grid-template-columns: 1fr;
    }

    .document-list[b-vyn9m8faub] {
        max-height: 18rem;
        position: static;
    }
}

@media (max-width: 700px) {
    .document-header[b-vyn9m8faub],
    .editor-toolbar[b-vyn9m8faub],
    fieldset[b-vyn9m8faub],
    .generated-files[b-vyn9m8faub] {
        padding: 1.1rem;
    }

    .form-grid[b-vyn9m8faub] {
        grid-template-columns: 1fr;
    }

    .field.wide[b-vyn9m8faub] {
        grid-column: auto;
    }

    .editor-toolbar[b-vyn9m8faub],
    .legend-row[b-vyn9m8faub] {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
    }

    .toolbar-actions[b-vyn9m8faub] {
        width: 100%;
    }

    .toolbar-actions > .btn[b-vyn9m8faub],
    .toolbar-actions .btn-group[b-vyn9m8faub] {
        flex: 1;
    }

    .totals[b-vyn9m8faub] {
        grid-template-columns: 1fr auto;
    }
}
/* /Components/Pages/Admin/Dashboard.razor.rz.scp.css */
.admin-dashboard[b-2zknxsgcy1] {
    color: var(--admin-ink, #12203f);
    margin: 0 auto;
    max-width: 76rem;
}

.eyebrow[b-2zknxsgcy1] {
    color: var(--admin-cyan-dark, #00819f);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: .3rem;
}

h1[b-2zknxsgcy1] {
    color: var(--admin-navy, #0f1d4a);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: .5rem;
}

.lead[b-2zknxsgcy1] {
    color: var(--admin-muted, #5e6b82);
    font-size: .98rem;
}

.dashboard-grid[b-2zknxsgcy1] {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.dashboard-card[b-2zknxsgcy1] {
    align-items: center;
    background: var(--admin-paper, #fff);
    border: 1px solid var(--admin-line, #dde4ec);
    border-radius: var(--admin-radius, .9rem);
    box-shadow: var(--admin-shadow, 0 .5rem 1.75rem rgba(15, 29, 74, .08));
    color: var(--admin-ink, #12203f);
    display: flex;
    gap: 1rem;
    min-height: 7.5rem;
    padding: 1.35rem;
    position: relative;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.dashboard-card[b-2zknxsgcy1]::before {
    background: linear-gradient(180deg, var(--admin-cyan, #00a8d4), var(--admin-aqua, #36b6c1));
    border-radius: var(--admin-radius, .9rem) 0 0 var(--admin-radius, .9rem);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 4px;
}

.dashboard-card:hover[b-2zknxsgcy1],
.dashboard-card:focus-visible[b-2zknxsgcy1] {
    border-color: var(--admin-cyan, #00a8d4);
    box-shadow: var(--admin-shadow-lg, 0 1rem 2.75rem rgba(15, 29, 74, .16));
    transform: translateY(-2px);
}

.dashboard-card > span[b-2zknxsgcy1] {
    align-items: center;
    background: #e6f6fa;
    border-radius: .7rem;
    color: var(--admin-cyan-dark, #00819f);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.35rem;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.dashboard-card strong[b-2zknxsgcy1],
.dashboard-card small[b-2zknxsgcy1] {
    display: block;
}

.dashboard-card strong[b-2zknxsgcy1] {
    color: var(--admin-navy, #0f1d4a);
    font-size: 1.02rem;
}

.dashboard-card small[b-2zknxsgcy1] {
    color: var(--admin-muted, #5e6b82);
    margin-top: .3rem;
}

.dashboard-card.featured[b-2zknxsgcy1] {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 168, 212, .45), transparent 18rem),
        linear-gradient(135deg, var(--admin-navy, #0f1d4a), #16336b);
    border-color: transparent;
    color: #fff;
}

.dashboard-card.featured[b-2zknxsgcy1]::before {
    background: var(--admin-mint, #86d1ca);
}

.dashboard-card.featured > span[b-2zknxsgcy1] {
    background: rgba(255, 255, 255, .14);
    color: var(--admin-mint, #86d1ca);
}

.dashboard-card.featured strong[b-2zknxsgcy1] {
    color: #fff;
}

.dashboard-card.featured small[b-2zknxsgcy1] {
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 900px) {
    .dashboard-grid[b-2zknxsgcy1] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/AnyTalkRebrandReveal.razor.rz.scp.css */
.at_rebrand_reveal[b-3f9ts117fq] {
    --at-midnight: #02080c;
    --at-surface: #0d1820;
    --at-border: #263943;
    --at-brand-mint: #31e1d0;
    --at-brand-bright: #75fff1;
    --at-brand-blue: #31a8ff;
    --at-text-primary: #f7fafc;
    --at-text-secondary: #9aa8b2;
    width: min(100%, 540px);
    margin-inline: auto;
    font-family: Inter, "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
}

.at_rebrand_stage[b-3f9ts117fq] {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(117, 255, 241, 0.22);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 44%, rgba(49, 225, 208, 0.14), transparent 42%),
        linear-gradient(145deg, rgba(21, 35, 45, 0.96), rgba(2, 8, 12, 0.99));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 28px 90px rgba(0, 0, 0, 0.52),
        0 0 42px rgba(49, 225, 208, 0.1);
}

.at_rebrand_grid[b-3f9ts117fq] {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(117, 255, 241, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(117, 255, 241, 0.055) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 76%);
    mask-image: radial-gradient(circle, #000 20%, transparent 76%);
}

.at_rebrand_orbit[b-3f9ts117fq] {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(49, 225, 208, 0.2);
    border-radius: 50%;
}

.at_rebrand_orbit[b-3f9ts117fq]::before,
.at_rebrand_orbit[b-3f9ts117fq]::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--at-brand-bright);
    box-shadow: 0 0 14px var(--at-brand-mint);
}

.at_rebrand_orbit[b-3f9ts117fq]::before { top: 7%; left: 20%; }
.at_rebrand_orbit[b-3f9ts117fq]::after { right: 4%; bottom: 28%; }
.at_rebrand_orbit_outer[b-3f9ts117fq] { width: 82%; aspect-ratio: 1; border-style: dashed; }
.at_rebrand_orbit_inner[b-3f9ts117fq] { width: 64%; aspect-ratio: 1; opacity: 0.7; transform: rotate(24deg); }

.at_rebrand_logo[b-3f9ts117fq] {
    position: absolute;
    inset: 11% 13% 14%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: 50% 48%;
}

.at_rebrand_logo img[b-3f9ts117fq] {
    display: block;
    width: min(82%, 350px);
    height: auto;
}

.at_rebrand_logo_legacy[b-3f9ts117fq] { opacity: 0; }
.at_rebrand_logo_new[b-3f9ts117fq] { opacity: 1; }

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
    .at_rebrand_stage:not(.is-morphing):not(.is-settled) .at_rebrand_logo_legacy[b-3f9ts117fq] { opacity: 1; }
    .at_rebrand_stage:not(.is-morphing):not(.is-settled) .at_rebrand_logo_new[b-3f9ts117fq] { opacity: 0; }
}

.at_rebrand_logo_new img[b-3f9ts117fq] {
    filter: drop-shadow(0 0 22px rgba(49, 225, 208, 0.18));
}

.at_rebrand_wordmark[b-3f9ts117fq] {
    margin-top: -0.2rem;
    color: var(--at-text-primary);
    font-size: clamp(2rem, 6vw, 3.1rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
}

.at_rebrand_scanline[b-3f9ts117fq] {
    position: absolute;
    inset-inline: 7%;
    top: 0;
    height: 2px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, var(--at-brand-bright), transparent);
    box-shadow: 0 0 24px 5px rgba(49, 225, 208, 0.38);
}

.at_rebrand_particles[b-3f9ts117fq] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.at_rebrand_particles span[b-3f9ts117fq] {
    --angle: calc(var(--particle) * 25.714deg);
    position: absolute;
    top: 48%;
    left: 50%;
    width: 4px;
    height: 4px;
    opacity: 0;
    border-radius: 1px;
    background: var(--at-brand-bright);
    box-shadow: 0 0 8px var(--at-brand-mint);
    transform: rotate(var(--angle)) translateX(50px) scale(0.2);
}

.at_rebrand_status[b-3f9ts117fq] {
    position: absolute;
    right: 6%;
    bottom: 5%;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 1.5rem;
    color: var(--at-brand-bright);
    font-size: clamp(0.62rem, 1.5vw, 0.78rem);
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.at_rebrand_status i[b-3f9ts117fq] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #42df91;
    box-shadow: 0 0 10px rgba(66, 223, 145, 0.75);
}

.at_rebrand_replay[b-3f9ts117fq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    margin-top: 1rem;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(49, 225, 208, 0.3);
    border-radius: 999px;
    color: var(--at-text-secondary);
    background: rgba(13, 24, 32, 0.8);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.at_rebrand_replay:hover[b-3f9ts117fq] {
    color: var(--at-brand-bright);
    border-color: var(--at-brand-mint);
    background: rgba(21, 35, 45, 0.96);
}

.at_rebrand_replay:focus-visible[b-3f9ts117fq] {
    outline: 3px solid rgba(49, 225, 208, 0.32);
    outline-offset: 3px;
}

.at_rebrand_stage.is-morphing .at_rebrand_logo_legacy[b-3f9ts117fq] {
    animation: at-legacy-morph-b-3f9ts117fq 2.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.at_rebrand_stage.is-morphing .at_rebrand_logo_new[b-3f9ts117fq] {
    animation: at-new-morph-b-3f9ts117fq 2.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.at_rebrand_stage.is-morphing .at_rebrand_scanline[b-3f9ts117fq] {
    animation: at-scanline-b-3f9ts117fq 2.5s ease-in-out both;
}

.at_rebrand_stage.is-morphing .at_rebrand_orbit_outer[b-3f9ts117fq] { animation: at-orbit-b-3f9ts117fq 8s linear infinite; }
.at_rebrand_stage.is-morphing .at_rebrand_orbit_inner[b-3f9ts117fq] { animation: at-orbit-reverse-b-3f9ts117fq 6s linear infinite; }

.at_rebrand_stage.is-morphing .at_rebrand_particles span[b-3f9ts117fq] {
    animation: at-particle-b-3f9ts117fq 1.05s ease-out both;
    animation-delay: calc(0.92s + (var(--particle) * 32ms));
}

.at_rebrand_stage.is-morphing .at_rebrand_status i[b-3f9ts117fq] {
    animation: at-status-pulse-b-3f9ts117fq 1.35s ease-in-out infinite;
}

.at_rebrand_stage.is-settled .at_rebrand_logo_legacy[b-3f9ts117fq] { opacity: 0; }
.at_rebrand_stage.is-settled .at_rebrand_logo_new[b-3f9ts117fq] { opacity: 1; transform: none; }

.at_rebrand_reveal_compact[b-3f9ts117fq] {
    width: min(100%, 620px);
    margin-block: 1.5rem 2.5rem;
}

.at_rebrand_reveal_compact .at_rebrand_stage[b-3f9ts117fq] {
    aspect-ratio: 16 / 10;
}

.at_rebrand_reveal_compact .at_rebrand_logo[b-3f9ts117fq] {
    inset: 7% 22% 10%;
}

.at_rebrand_reveal_compact .at_rebrand_logo img[b-3f9ts117fq] {
    width: min(64%, 260px);
}

.at_rebrand_reveal_compact .at_rebrand_wordmark[b-3f9ts117fq] {
    font-size: clamp(1.7rem, 5vw, 2.6rem);
}

@keyframes at-legacy-morph-b-3f9ts117fq {
    0%, 18% { opacity: 1; filter: none; transform: scale(1) rotate(0); clip-path: inset(0); }
    30% { opacity: 1; filter: saturate(0.8) contrast(1.08); transform: scale(0.98) rotate(-1.5deg); }
    45% { opacity: 0.72; filter: blur(1px) saturate(0.35); transform: scale(0.9) rotate(-5deg); clip-path: inset(14% 6% 13% 5% round 24%); }
    58%, 100% { opacity: 0; filter: blur(10px); transform: scale(0.72) rotate(-10deg); clip-path: inset(48% 5% 48% 5% round 50%); }
}

@keyframes at-new-morph-b-3f9ts117fq {
    0%, 36% { opacity: 0; filter: blur(12px); transform: scale(0.68) rotate(7deg); clip-path: circle(5% at 50% 49%); }
    55% { opacity: 0.68; filter: blur(2px); transform: scale(0.92) rotate(1deg); clip-path: circle(43% at 50% 49%); }
    72%, 100% { opacity: 1; filter: none; transform: scale(1) rotate(0); clip-path: circle(75% at 50% 49%); }
}

@keyframes at-scanline-b-3f9ts117fq {
    0%, 12% { opacity: 0; transform: translateY(-20px); }
    24%, 64% { opacity: 0.9; }
    70%, 100% { opacity: 0; transform: translateY(510px); }
}

@keyframes at-particle-b-3f9ts117fq {
    0% { opacity: 0; transform: rotate(var(--angle)) translateX(38px) scale(0.2); }
    28% { opacity: 1; }
    100% { opacity: 0; transform: rotate(var(--angle)) translateX(240px) scale(1); }
}

@keyframes at-orbit-b-3f9ts117fq { to { transform: rotate(360deg); } }
@keyframes at-orbit-reverse-b-3f9ts117fq { from { transform: rotate(24deg); } to { transform: rotate(-336deg); } }
@keyframes at-status-pulse-b-3f9ts117fq { 50% { opacity: 0.42; box-shadow: 0 0 18px rgba(66, 223, 145, 0.95); } }

@media (max-width: 560px) {
    .at_rebrand_stage[b-3f9ts117fq] { border-radius: 24px; }
    .at_rebrand_logo[b-3f9ts117fq] { inset: 10% 10% 14%; }
    .at_rebrand_logo img[b-3f9ts117fq] { width: min(76%, 270px); }
    .at_rebrand_status[b-3f9ts117fq] { right: 5%; bottom: 4%; max-width: 72%; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
    .at_rebrand_reveal *[b-3f9ts117fq],
    .at_rebrand_reveal *[b-3f9ts117fq]::before,
    .at_rebrand_reveal *[b-3f9ts117fq]::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .at_rebrand_logo_legacy[b-3f9ts117fq],
    .at_rebrand_scanline[b-3f9ts117fq],
    .at_rebrand_particles[b-3f9ts117fq] { display: none; }
    .at_rebrand_logo_new[b-3f9ts117fq] { opacity: 1; transform: none; clip-path: none; filter: none; }
    .at_rebrand_replay[b-3f9ts117fq] { display: none; }
}
