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

.top-bar[b-5bmvj5pw0e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3rem;
    padding: 0 1rem;
    background-color: #1a1a2e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand[b-5bmvj5pw0e] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.brand:hover[b-5bmvj5pw0e] {
    color: #ccc;
}

.top-links[b-5bmvj5pw0e] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-links a[b-5bmvj5pw0e] {
    color: #ccc;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.top-links a:hover[b-5bmvj5pw0e] {
    color: #fff;
}

.content[b-5bmvj5pw0e] {
    flex: 1;
    padding: 1rem;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-9d03x4f16a] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-9d03x4f16a] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-9d03x4f16a] {
    font-size: 1.1rem;
}

.bi[b-9d03x4f16a] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-9d03x4f16a] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-9d03x4f16a] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-9d03x4f16a] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-9d03x4f16a] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-9d03x4f16a]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-9d03x4f16a]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-9d03x4f16a]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

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

    .collapse[b-9d03x4f16a] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-9d03x4f16a] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.demo-shell[b-p5c2f1pbr0] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

.mode-tabs[b-p5c2f1pbr0] {
    display: inline-flex;
    border: 1px solid #cdd9e5;
    border-radius: 999px;
    overflow: hidden;
    align-self: flex-start;
    background: #fff;
}

.mode-tab[b-p5c2f1pbr0] {
    border: none;
    background: #f4f8fc;
    color: #1f3347;
    font-weight: 600;
    padding: 0.4rem 0.95rem;
    cursor: pointer;
}

.mode-tab.active[b-p5c2f1pbr0] {
    background: #1f3347;
    color: #fff;
}

.demo-subtitle[b-p5c2f1pbr0] {
    margin: 0;
    color: #475b6e;
}

.simple-mode[b-p5c2f1pbr0],
.comparison-mode[b-p5c2f1pbr0] {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.intake[b-p5c2f1pbr0] {
    position: relative;
    border: 2px dashed #8ea4b8;
    border-radius: 10px;
    min-height: 112px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f7fbff 0%, #ecf4ff 100%);
}

.intake.compact[b-p5c2f1pbr0] {
    min-height: 74px;
}

.intake.tiny[b-p5c2f1pbr0] {
    min-height: 56px;
}

.file-input-overlay[b-p5c2f1pbr0] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.intake :deep(input[type="file"])[b-p5c2f1pbr0] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.intake-content[b-p5c2f1pbr0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
    color: #243447;
    padding: 0.35rem 0.5rem;
}

.load-icon[b-p5c2f1pbr0] {
    position: relative;
    width: 1.4rem;
    height: 1.1rem;
    display: inline-block;
    border: 2px solid #2c5f96;
    border-top: 0;
    border-radius: 0 0 0.3rem 0.3rem;
    margin-bottom: 0.1rem;
}

.load-icon[b-p5c2f1pbr0]::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -0.55rem;
    width: 0.12rem;
    height: 0.75rem;
    background: #2c5f96;
    transform: translateX(-50%);
}

.load-icon[b-p5c2f1pbr0]::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -0.2rem;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 0.12rem solid #2c5f96;
    border-bottom: 0.12rem solid #2c5f96;
    transform: translateX(-50%) rotate(45deg);
}

.intake-content.small[b-p5c2f1pbr0] {
    font-size: 0.72rem;
}

.upload-cell .intake-content[b-p5c2f1pbr0],
.upload-cell .intake-content strong[b-p5c2f1pbr0],
.upload-cell .intake-content span[b-p5c2f1pbr0] {
    color: #243447;
}

.actions[b-p5c2f1pbr0] {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.actions.vertical[b-p5c2f1pbr0] {
    flex-direction: column;
}

.comparison-grid[b-p5c2f1pbr0] {
    display: flex;
    flex-direction: column;
    border: 1px solid #d3dce6;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.comparison-header[b-p5c2f1pbr0],
.comparison-row[b-p5c2f1pbr0] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.12fr;
}

.comparison-header[b-p5c2f1pbr0] {
    background: #1d3043;
    color: #fff;
}

.header-cell[b-p5c2f1pbr0] {
    padding: 0.55rem;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.header-cell:last-child[b-p5c2f1pbr0] {
    border-right: none;
}

.header-title[b-p5c2f1pbr0] {
    font-weight: 700;
    font-size: 0.84rem;
    margin-bottom: 0.35rem;
}

.upload-cell .intake[b-p5c2f1pbr0] {
    background: linear-gradient(145deg, #f5fbff 0%, #e8f2ff 100%);
    border-color: #7e99b4;
}

.comparison-row[b-p5c2f1pbr0] {
    border-top: 1px solid #d3dce6;
}

.comparison-cell[b-p5c2f1pbr0] {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e8eef5;
    background: #fff;
}

.comparison-cell:last-child[b-p5c2f1pbr0] {
    border-right: none;
}

.comparison-cell > header[b-p5c2f1pbr0] {
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.4rem 0.68rem;
    border-bottom: 1px solid #e8eef5;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.comparison-cell img[b-p5c2f1pbr0] {
    display: block;
    width: 100%;
    height: auto;
    padding: 0.4rem;
    box-sizing: border-box;
}

.svg-container[b-p5c2f1pbr0] {
    padding: 0.4rem;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    width: 100%;
}

.svg-container :deep(svg)[b-p5c2f1pbr0] {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

.placeholder[b-p5c2f1pbr0] {
    min-height: 180px;
    display: grid;
    place-items: center;
    color: #8ea4b8;
    font-style: italic;
    padding: 0.5rem;
    text-align: center;
}

.match-badge[b-p5c2f1pbr0] {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.match-badge.good[b-p5c2f1pbr0] {
    background: #d4edda;
    color: #155724;
}

.match-badge.fair[b-p5c2f1pbr0] {
    background: #fff3cd;
    color: #856404;
}

.match-badge.poor[b-p5c2f1pbr0] {
    background: #f8d7da;
    color: #721c24;
}

.issues-cell[b-p5c2f1pbr0] {
    min-width: 330px;
}

.issues-panel[b-p5c2f1pbr0] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.5rem;
    flex: 1;
    min-height: 0;
}

.assessment-card[b-p5c2f1pbr0] {
    border: 1px solid #d6dee8;
    border-radius: 6px;
    padding: 0.2rem 0.3rem;
    background: #fafcff;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.assessment-title[b-p5c2f1pbr0] {
    flex: 0 0 auto;
    font-size: 0.7rem;
    line-height: 1;
}

.assessment-metrics-inline[b-p5c2f1pbr0] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.assessment-metric-row[b-p5c2f1pbr0] {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    border-radius: 4px;
    padding: 0.12rem 0.35rem;
    line-height: 1.1;
    border: 1px solid transparent;
}

.severity-ok[b-p5c2f1pbr0] {
    background: transparent;
    color: #52606d;
}

.severity-bad[b-p5c2f1pbr0] {
    background: #fff1db;
    color: #b54708;
    border-color: #f7d9a9;
}

.severity-disastrous[b-p5c2f1pbr0] {
    background: #fde8e4;
    color: #b42318;
    border-color: #f7c2b9;
}

.issues-table[b-p5c2f1pbr0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.76rem;
}

.issues-table-container[b-p5c2f1pbr0] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    border: 1px solid #e0e7ef;
    border-radius: 6px;
}

.issues-table th[b-p5c2f1pbr0],
.issues-table td[b-p5c2f1pbr0] {
    border: 1px solid #e0e7ef;
    padding: 0.25rem 0.35rem;
    vertical-align: top;
}

.issues-table thead th[b-p5c2f1pbr0] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f7fafc;
}

.issues-table tfoot td[b-p5c2f1pbr0] {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 1;
}

.empty-issues[b-p5c2f1pbr0] {
    text-align: center;
    color: #64748b;
}

.issue-state[b-p5c2f1pbr0] {
    min-width: 2rem;
    border-radius: 999px;
    border: 1px solid #b8c3d0;
    background: #fff;
    font-weight: 700;
}

.issue-state.state-unknown[b-p5c2f1pbr0] {
    color: #374151;
}

.issue-state.state-confirmed[b-p5c2f1pbr0] {
    color: #0a7a2f;
    border-color: #0a7a2f;
    background: #e9f8ef;
}

.issue-state.state-denied[b-p5c2f1pbr0] {
    color: #b42318;
    border-color: #b42318;
    background: #fdecec;
}

.issue-description[b-p5c2f1pbr0] {
    font-weight: 500;
    cursor: pointer;
}

.issue-description:hover[b-p5c2f1pbr0] {
    text-decoration: underline dotted;
}

.issue-edit-input[b-p5c2f1pbr0] {
    width: 100%;
    font-weight: 500;
    font-size: inherit;
    font-family: inherit;
    border: 1px solid #94a3b8;
    border-radius: 3px;
    padding: 1px 4px;
    outline: none;
    box-sizing: border-box;
}

.issue-edit-input:focus[b-p5c2f1pbr0] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.25);
}

.issue-guid[b-p5c2f1pbr0] {
    font-size: 0.66rem;
    color: #64748b;
}

.claim-chip[b-p5c2f1pbr0] {
    display: inline-block;
    margin-top: 0.15rem;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    font-size: 0.66rem;
    color: #7c2d12;
    background: #ffedd5;
}

.claimed-fix[b-p5c2f1pbr0] {
    background: #fffaf0;
}

.issue-entry-input[b-p5c2f1pbr0] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.25rem 0.35rem;
    font-size: 0.76rem;
    background: #fff;
}

.issue-notes[b-p5c2f1pbr0] {
    width: 100%;
    min-height: 3.8rem;
    max-height: 3.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.35rem;
    font-size: 0.76rem;
    resize: none;
}

.page-strip[b-p5c2f1pbr0] {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.page-card[b-p5c2f1pbr0] {
    flex: 0 0 auto;
    border: 1px solid #d3dce6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.page-card > header[b-p5c2f1pbr0] {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e8eef5;
}

.page-canvas[b-p5c2f1pbr0] {
    padding: 0.5rem;
    box-sizing: content-box;
    overflow: hidden;
    background: #fff;
}

.page-canvas :deep(svg)[b-p5c2f1pbr0] {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
}

.rendering-status[b-p5c2f1pbr0] {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.45rem 0.65rem;
    border: 1px solid #c9d6e4;
    border-radius: 8px;
    background: #f2f8ff;
    color: #1f3347;
    font-weight: 500;
}

.diff-legend[b-p5c2f1pbr0] {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid #c0c8d0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    font-size: 0.7rem;
    line-height: 1.2;
}

.legend-item[b-p5c2f1pbr0] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #243447;
    white-space: nowrap;
}

.legend-swatch[b-p5c2f1pbr0] {
    width: 0.65rem;
    height: 0.65rem;
    border: 1px solid #9fb0c2;
    border-radius: 2px;
    flex: 0 0 auto;
}

.legend-swatch.same[b-p5c2f1pbr0] {
    background: #fff;
}

.legend-swatch.missing-svg[b-p5c2f1pbr0] {
    background: #ff0000;
    border-color: #c62828;
}

.legend-swatch.extra-svg[b-p5c2f1pbr0] {
    background: #00ffff;
    border-color: #008b8b;
}

.legend-swatch.recolor[b-p5c2f1pbr0] {
    background: #a0a0a0;
    border-color: #6b7280;
}

@media (max-width: 1200px) {
    .comparison-header[b-p5c2f1pbr0],
    .comparison-row[b-p5c2f1pbr0] {
        grid-template-columns: 1fr;
    }

    .header-cell[b-p5c2f1pbr0],
    .comparison-cell[b-p5c2f1pbr0] {
        border-right: none;
    }
}
