@import '_content/Agile.Authentication.UI/Agile.Authentication.UI.tbp56ibmps.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* App Layout */
.app-layout[b-7mytpdhwua] {
    display: flex;
    min-height: 100vh;
}

/* Main Content */
.main-content[b-7mytpdhwua] {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
}

/* Blazor Error UI */
#blazor-error-ui[b-7mytpdhwua] {
    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-7mytpdhwua] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Chat.razor.rz.scp.css */
.chat-page-container[b-y3yzzm3w16] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: white;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* Help toggle button in header */
.btn-help-toggle[b-y3yzzm3w16] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--agile-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.btn-help-toggle:hover[b-y3yzzm3w16] {
    background: rgba(255, 255, 255, 0.15);
}

.btn-help-toggle.active[b-y3yzzm3w16] {
    color: rgba(255, 255, 255, 0.7);
}

/* Overview card - positioned absolutely so it doesn't affect chat bar centering */
.overview-card[b-y3yzzm3w16] {
    position: absolute;
    top: calc(52px + 1rem);
    left: 1rem;
    right: 1rem;
    max-height: 30vh;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    border-left: 4px solid var(--agile-yellow);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    z-index: 5;
}

.overview-close[b-y3yzzm3w16] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.overview-close:hover[b-y3yzzm3w16] {
    color: #dc3545;
    background: rgba(0, 0, 0, 0.05);
}

/* Center the input vertically when no messages */
.chat-input-container.centered[b-y3yzzm3w16] {
    margin-top: auto;
    margin-bottom: auto;
}

.overview-text[b-y3yzzm3w16] {
    line-height: 1.7;
    color: #495057;
}

.overview-text h4[b-y3yzzm3w16] {
    color: var(--agile-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-text ul[b-y3yzzm3w16] {
    padding-left: 1.5rem;
}

.overview-text li[b-y3yzzm3w16] {
    margin-bottom: 0.5rem;
}

.overview-text strong[b-y3yzzm3w16] {
    color: var(--agile-teal);
}


/* Sidebar expand button (stays in Chat header) */
.sidebar-expand-btn[b-y3yzzm3w16] {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sidebar-expand-btn:hover[b-y3yzzm3w16] {
    background: rgba(255, 255, 255, 0.15);
}


/* Chat header - matches sidebar header height */
.chat-header[b-y3yzzm3w16] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--agile-teal);
    color: white;
    padding: 0.75rem 1rem;
    min-height: 52px;
    box-sizing: border-box;
}

.chat-header h5[b-y3yzzm3w16] {
    margin: 0;
    flex: 1;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.05rem;
}


/* Scrollable area containing messages and sticky input */
.chat-scroll-area[b-y3yzzm3w16] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Messages area */
.chat-messages[b-y3yzzm3w16] {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    align-items: start;
    align-content: start;
    padding: 1rem;
}

.message-content[b-y3yzzm3w16] {
    padding: 0.5rem 1rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: fit-content;
}

.user-message[b-y3yzzm3w16] {
    grid-column: 3 / 6;
    justify-self: end;
    max-width: 100%;
    margin-right: 0.5rem;
}

.ai-message[b-y3yzzm3w16] {
    grid-column: 1 / 6;
    justify-self: start;
    max-width: 100%;
    margin-left: 0.5rem;
}

.user-message .message-content[b-y3yzzm3w16] {
    background-color: white;
    border: 1px solid #dee2e6;
    border-right: 4px solid var(--agile-yellow);
    color: var(--agile-teal-dark);
    border-radius: 8px;
}

.ai-message .message-content[b-y3yzzm3w16] {
    background-color: white;
    border: 1px solid #dee2e6;
    border-left: 4px solid var(--agile-blue);
    color: #333;
    border-radius: 8px;
}

.message-text[b-y3yzzm3w16] {
    line-height: 1.6;
}

.message-timestamp[b-y3yzzm3w16] {
    display: block;
    margin-top: 0.25rem;
    opacity: 0.6;
    font-size: 0.75rem;
}


/* Bottom prompt area */
.chat-input-container[b-y3yzzm3w16] {
    position: sticky;
    bottom: 0;
    padding: 0.75rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
}

.input-row[b-y3yzzm3w16] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

    .input-group[b-y3yzzm3w16] {
        flex: 1;
        border: 1px solid #dee2e6;
        border-radius: 12px;
        padding: 1.25rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        background-color: white;
        display: grid;
        grid-template-rows: auto auto;
        gap: 0.75rem;
    }

        .input-group:focus-within[b-y3yzzm3w16] {
            border-color: var(--agile-teal);
            box-shadow: 0 0 0 3px rgba(23, 130, 140, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .input-group textarea[b-y3yzzm3w16] {
            width: 100%;
            border: none;
            outline: none;
            background-color: transparent;
            padding: 0.5rem;
            font-family: inherit;
            font-size: 1rem;
            resize: none;
            min-height: 40px;
            max-height: 200px;
            overflow-y: auto;
        }

        .input-group textarea:disabled[b-y3yzzm3w16] {
            opacity: 0.6;
            cursor: not-allowed;
        }

    .input-actions[b-y3yzzm3w16] {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .left-actions[b-y3yzzm3w16] {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

        .btn-add[b-y3yzzm3w16] {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            border: 1px solid #dee2e6;
            background-color: white;
            color: #6c757d;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.25rem;
            transition: all 0.2s ease;
        }

        .btn-add:hover:not(:disabled)[b-y3yzzm3w16] {
            background-color: #e8f4f5;
            color: var(--agile-teal);
            border-color: var(--agile-teal);
        }

        .btn-add:disabled[b-y3yzzm3w16] {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-send[b-y3yzzm3w16] {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            border: none;
            background-color: var(--agile-teal);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .btn-send:hover:not(:disabled)[b-y3yzzm3w16] {
            background-color: var(--agile-teal-dark);
        }

        .btn-send:disabled[b-y3yzzm3w16] {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-send.btn-stop[b-y3yzzm3w16] {
            background-color: #dc3545;
        }

        .btn-send.btn-stop:hover[b-y3yzzm3w16] {
            background-color: #bb2d3b;
        }

/* Settings popover */
.settings-wrapper[b-y3yzzm3w16] {
    position: relative;
    color: white;
}

.btn-add.active[b-y3yzzm3w16] {
    background-color: var(--agile-teal);
    color: white;
    border-color: var(--agile-teal);
}

.settings-popover[b-y3yzzm3w16] {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    min-width: 220px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-field[b-y3yzzm3w16] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .settings-field label[b-y3yzzm3w16] {
        font-size: 0.8rem;
        font-weight: 600;
        color: #495057;
    }

    .settings-field input[b-y3yzzm3w16],
    .settings-field select[b-y3yzzm3w16] {
        padding: 6px 10px;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        font-size: 0.85rem;
        font-family: inherit;
        outline: none;
        transition: border-color 0.2s ease;
    }

        .settings-field input:focus[b-y3yzzm3w16],
        .settings-field select:focus[b-y3yzzm3w16] {
            border-color: var(--agile-teal);
        }


/* District search toggle button */
.btn-district-search-toggle[b-y3yzzm3w16] {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: white;
    color: #6c757d;
    cursor: pointer;
    padding: 0 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    height: 2.5rem;
    flex-shrink: 0;
}

.btn-district-search-toggle:hover:not(:disabled)[b-y3yzzm3w16] {
    border-color: var(--agile-teal);
    color: var(--agile-teal);
}

.btn-district-search-toggle.active[b-y3yzzm3w16] {
    border-color: var(--agile-teal);
    color: var(--agile-teal);
    background: rgba(23, 130, 140, 0.08);
}

.btn-district-search-toggle:disabled[b-y3yzzm3w16] {
    opacity: 0.5;
    cursor: not-allowed;
}

.district-search-label[b-y3yzzm3w16] {
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 500;
    margin-left: 0.3rem;
}

/* Typing indicator */
.typing-indicator[b-y3yzzm3w16] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
}

.typing-dots[b-y3yzzm3w16] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.typing-status[b-y3yzzm3w16] {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/DistrictSearch.razor.rz.scp.css */
/* Search Page Styling */
.card-title[b-mneq7006ry] {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    color: #2C8A94;
}

.form-label[b-mneq7006ry] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.form-control[b-mneq7006ry] {
    font-family: 'Open Sans', sans-serif;
}


.alert[b-mneq7006ry] {
    font-family: 'Open Sans', sans-serif;
}

/* Sortable table columns */
.sortable[b-mneq7006ry] {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.sortable:hover[b-mneq7006ry] {
    background-color: #f0f0f0;
}

.sortable:not(.sorted):hover[b-mneq7006ry]::after {
    content: " ↑↓";
    opacity: 0.5;
    font-size: 1.2em;
    font-weight: bold;
}

.sort-icon[b-mneq7006ry] {
    font-size: 1.2em;
    font-weight: bold;
}

/* Filter Separator */
.filter-separator[b-mneq7006ry] {
    margin: 0.5rem 0 1.5rem 0;
    border: 0;
    border-top: 2px solid #495057;
}

/* Additional Filters Label */
.additional-filters-label[b-mneq7006ry] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #17828B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Responsive Actions column - show on right for desktop, left for mobile */
.actions-desktop[b-mneq7006ry] {
    display: table-cell;
}

.actions-mobile[b-mneq7006ry] {
    display: none;
}

@media (max-width: 820px) {
    .actions-desktop[b-mneq7006ry] {
        display: none;
    }

    .actions-mobile[b-mneq7006ry] {
        display: table-cell;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.search-container[b-c75dnvy0pi] {
    display: grid;
    grid-template-areas:
        "left-sidebar main-content"
        "bottom-sidebar main-content";
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
}

.main-content[b-c75dnvy0pi] {
    grid-area: main-content;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.left-sidebar[b-c75dnvy0pi] {
    grid-area: left-sidebar;
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

.bottom-sidebar[b-c75dnvy0pi] {
    grid-area: bottom-sidebar;
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

/* Search Section */
.search-section[b-c75dnvy0pi] {
    max-width: 50%;
    margin: 0 auto;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.search-form-container[b-c75dnvy0pi] {
    text-align: center;
}

/* Search Input */
.search-input-group .search-input[b-c75dnvy0pi] {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
    width: 100%;
    margin: 0 auto;
    resize: none;
    overflow-y: auto;
}

    .search-input-group .search-input[b-c75dnvy0pi]::placeholder {
        text-align: center;
    }

.search-input-group .search-input:focus[b-c75dnvy0pi] {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 2px 8px rgba(26,115,232,0.25);
}

/* Search Parameters */
.search-params[b-c75dnvy0pi] {
    margin: 1rem 0;
}

.search-params .d-flex[b-c75dnvy0pi] {
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.search-method-group .btn-check:checked + .btn-outline-primary[b-c75dnvy0pi] {
    background-color: #1a73e8;
    border-color: #1a73e8;
    color: white;
    box-shadow: none;
}

.search-method-group .btn-outline-primary[b-c75dnvy0pi] {
    font-size: 0.85rem;
    padding: 0.375rem 0.875rem;
    transition: all 0.2s ease-in-out;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    min-width: 60px;
}

.search-method-group .btn-outline-primary:hover:not(:disabled)[b-c75dnvy0pi] {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.search-method-group .btn-outline-primary:focus[b-c75dnvy0pi] {
    box-shadow: 0 0 0 0.2rem rgba(26,115,232,0.25);
}

.quality-dropdown .btn-outline-secondary[b-c75dnvy0pi] {
    border-radius: 20px;
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
    min-width: 110px;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    transition: all 0.2s ease-in-out;
}

.quality-dropdown .btn-outline-secondary:hover[b-c75dnvy0pi] {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}


.quality-dropdown .btn-outline-secondary:focus[b-c75dnvy0pi] {
    box-shadow: 0 0 0 0.2rem rgba(26,115,232,0.25);
}

.quality-dropdown .dropdown-menu[b-c75dnvy0pi] {
    border-radius: 1rem;
}

.results-input-group[b-c75dnvy0pi] {
    width: 140px;
}

.results-input-group .input-group-text[b-c75dnvy0pi] {
    font-size: 0.85rem;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057
}

.results-input-group .form-control[b-c75dnvy0pi] {
    font-size: 0.85rem;
    border-color: #dee2e6;
    padding: 0.375rem 0.75rem;
}

/* Filter Row */
.filter-row[b-c75dnvy0pi] {
    margin: 1.5rem 0;
}

.filter-dropdown[b-c75dnvy0pi] {
    position: relative;
}

.filter-btn[b-c75dnvy0pi] {
    border-radius: 20px;
    font-size: 0.9rem;
    padding: 0.375rem 0.75rem;
    min-width: 120px;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    transition: all 0.2s ease-in-out;
}

.filter-btn:hover[b-c75dnvy0pi] {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.filter-btn:focus[b-c75dnvy0pi] {
    box-shadow: 0 0 0 0.2rem rgba(26,115,232,0.25);
}

.filter-popout[b-c75dnvy0pi] {
    width: 280px;
    padding: 0;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    max-height: 300px;
}

.filter-options[b-c75dnvy0pi] {
    max-height: 200px;
    overflow-y: auto;
}

.filter-options .form-check[b-c75dnvy0pi] {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.filter-options .form-check-label[b-c75dnvy0pi] {
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
}

.filter-options .form-check-input[b-c75dnvy0pi] {
    margin-top: 0.25rem;
}

.filter-options .form-check-input:checked[b-c75dnvy0pi] {
    background-color: #1a73e8;
    border-color: #1a73e8;
}

/* Monitor Search Checkbox */
.monitor-check[b-c75dnvy0pi] {
    white-space: nowrap;
}

.monitor-check .form-check-label[b-c75dnvy0pi] {
    font-size: 0.9rem;
    color: #495057;
}

/* Search Button */
.btn-search[b-c75dnvy0pi] {
    background-color: #F5BB2A;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    min-width: 140px;
}

    .btn-search:hover:not(:disabled)[b-c75dnvy0pi] {
        background-color: #fedb3c;
        color: white;
        box-shadow: 0 2px 4px rgba(26,115,232,0.25);
    }

.btn-search:focus[b-c75dnvy0pi] {
    box-shadow: 0 0 0 0.2rem rgba(26,115,232,0.25);
}

.btn-search:disabled[b-c75dnvy0pi] {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

/* Results Section */
.results-section[b-c75dnvy0pi] {
    max-width: 90%;
    margin: 0 auto;
}

.results-tabs[b-c75dnvy0pi] {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0;
}

.results-tabs .nav-link[b-c75dnvy0pi] {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    background: none;
}

.results-tabs .nav-link:hover[b-c75dnvy0pi] {
    border-bottom-color: #dee2e6;
    background: none;
    color: #495057;
}

.results-tabs .nav-link.active[b-c75dnvy0pi] {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
    background: none;
}

.results-content[b-c75dnvy0pi] {
    padding: 2rem 0;
    min-height: 300px;
}

.tab-pane[b-c75dnvy0pi] {
    display: none;
}

.tab-pane.active.show[b-c75dnvy0pi] {
    display: block;
}

/* Results Placeholder States */
.results-placeholder[b-c75dnvy0pi] {
    text-align: center;
}

.empty-state h5[b-c75dnvy0pi] {
    color: #495057;
    margin-bottom: 1rem;
}

.empty-state p[b-c75dnvy0pi] {
    margin-bottom: 0.5rem;
}

.search-report[b-c75dnvy0pi] {
    text-align: left;
}

.search-report h5[b-c75dnvy0pi] {
    color: #1a73e8;
    margin-bottom: 1rem;
}

/* Stats Cards */
.stats-content[b-c75dnvy0pi] {
    text-align: left;
}

.stat-card[b-c75dnvy0pi] {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.stat-card h6[b-c75dnvy0pi] {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number[b-c75dnvy0pi] {
    font-size: 2rem;
    font-weight: 600;
    color: #1a73e8;
}

/* Sources Content */
.sources-content[b-c75dnvy0pi] {
    text-align: left;
}

.sources-content h5[b-c75dnvy0pi] {
    color: #1a73e8;
    margin-bottom: 1rem;
}

/* Source Result Cards */
.source-result-card[b-c75dnvy0pi] {
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease-in-out;
}

.source-result-card:hover[b-c75dnvy0pi] {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/*p {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.00rem;
    line-height: 1.7;
    color: #222;
    letter-spacing: 0.01em;
    margin-bottom: 0;
}*/

.source-summary[b-c75dnvy0pi] {
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 1rem;
}

.source-meta .badge[b-c75dnvy0pi] {
    font-size: 0.75rem;
}

.best-quote-preview[b-c75dnvy0pi] {
    background-color: #f8f9fa;
    border-left: 3px solid #1a73e8;
    padding: 0.75rem;
    border-radius: 0 4px 4px 0;
}

/* Embedding Details */
.embedding-detail[b-c75dnvy0pi] {
    background-color: #fafafa;
    border-left: 3px solid #dee2e6;
}

.embedding-detail .card-body[b-c75dnvy0pi] {
    padding: 1rem;
}

.key-quotes .blockquote[b-c75dnvy0pi] {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.original-text[b-c75dnvy0pi] {
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.6;
    white-space: pre-wrap;
}

.full-text-section .btn-link[b-c75dnvy0pi] {
    color: #1a73e8;
    font-weight: 500;
}

.full-text-section .btn-link:hover[b-c75dnvy0pi] {
    color: #1557b0;
}

/* Sidebar Styling */
.sidebar-section[b-c75dnvy0pi] {
    margin-bottom: 2rem;
}

.sidebar-title[b-c75dnvy0pi] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.saved-searches-placeholder[b-c75dnvy0pi],
.search-history-placeholder[b-c75dnvy0pi] {
    text-align: center;
    padding: 1rem 0;
}

.saved-searches-placeholder p[b-c75dnvy0pi],
.search-history-placeholder p[b-c75dnvy0pi] {
    margin: 0;
    font-style: italic;
}

/* Badge styling for filter counts */
.badge.bg-primary[b-c75dnvy0pi] {
    background-color: #1a73e8 !important;
    font-size: 0.7rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-container[b-c75dnvy0pi] {
        grid-template-areas:
            "main-content"
            "left-sidebar"
            "bottom-sidebar";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .search-params .d-flex[b-c75dnvy0pi] {
        flex-direction: column;
        gap: 0.75rem !important;
        align-items: stretch !important;
    }

    .filter-row .d-flex[b-c75dnvy0pi] {
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: stretch !important;
    }

    .filter-btn[b-c75dnvy0pi] {
        min-width: auto;
        width: 100%;
    }

    .monitor-check[b-c75dnvy0pi] {
        text-align: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .main-content[b-c75dnvy0pi] {
        padding: 1rem;
    }

    .search-input-group .search-input[b-c75dnvy0pi] {
        font-size: 1rem;
        padding: 0.625rem 1rem;
    }

    .btn-search[b-c75dnvy0pi] {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }

    .results-tabs .nav-link[b-c75dnvy0pi] {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
/* /Components/Pages/LimitExceeded.razor.rz.scp.css */
.district-header[b-52laejp9r9] {
    min-height: 160px;
}

.limit-exceeded-card[b-52laejp9r9] {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.limit-icon[b-52laejp9r9] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.limit-exceeded-card .btn[b-52laejp9r9] {
    min-width: 150px;
}

/* /Components/Pages/OpportunitiesLanding.razor.rz.scp.css */
/* Landing Header */
.landing-header[b-mo7rkhbvc7] {
    background: var(--agile-teal);
    color: white;
    padding: 2rem 0;
}

.landing-title[b-mo7rkhbvc7] {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.landing-subtitle[b-mo7rkhbvc7] {
    font-size: 1.1rem;
    color: var(--agile-yellow);
    margin-bottom: 0;
}

/* Topics Grid */
.topics-grid[b-mo7rkhbvc7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.topic-card-body-link[b-mo7rkhbvc7] {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

    .topic-card-body-link:hover[b-mo7rkhbvc7] {
        text-decoration: none;
        color: inherit;
    }

/* Topic Card */
.topic-card[b-mo7rkhbvc7] {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
}

    .topic-card:hover[b-mo7rkhbvc7] {
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

.topic-card-header[b-mo7rkhbvc7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.topic-card-title[b-mo7rkhbvc7] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--agile-teal-dark);
    margin: 0;
    line-height: 1.3;
}

.topic-card-description[b-mo7rkhbvc7] {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.topic-card-stats[b-mo7rkhbvc7] {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.stat-separator[b-mo7rkhbvc7] {
    color: #ccc;
}

.topic-card-actions[b-mo7rkhbvc7] {
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .landing-title[b-mo7rkhbvc7] {
        font-size: 1.4rem;
    }

    .landing-header[b-mo7rkhbvc7] {
        padding: 1.5rem 0;
    }

    .topics-grid[b-mo7rkhbvc7] {
        grid-template-columns: 1fr;
    }

    .landing-header .d-flex[b-mo7rkhbvc7] {
        flex-direction: column;
        gap: 1rem;
    }
}
/* /Components/Pages/OpportunitiesTopicView.razor.rz.scp.css */
/* Dashboard Header */
.dashboard-header[b-etjpw9awxb] {
    background: var(--agile-teal);
    color: white;
    padding: 2rem 0;
}

.dashboard-title[b-etjpw9awxb] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dashboard-subtitle[b-etjpw9awxb] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    color: var(--agile-yellow);
    margin-bottom: 0;
}

/* Table Scroll Wrapper */
.table-scroll-wrapper[b-etjpw9awxb] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 210px);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Research Opportunities Table */
.crosstab-table[b-etjpw9awxb] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

    .crosstab-table thead[b-etjpw9awxb] {
        background: #f8f9fa;
    }

    .crosstab-table th[b-etjpw9awxb] {
        position: sticky;
        top: 0;
        z-index: 3;
        background: #f8f9fa;
        padding: 1rem;
        font-size: 0.875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #333;
        border-bottom: 2px solid #dee2e6;
        vertical-align: top;
    }

    .crosstab-table td[b-etjpw9awxb] {
        padding: 1.25rem 1rem;
        border-bottom: 1px solid #dee2e6;
        vertical-align: top;
    }

    .crosstab-table tbody tr:nth-child(even)[b-etjpw9awxb] {
        background: #fafbfc;
    }

    .crosstab-table tbody tr:hover[b-etjpw9awxb] {
        background: inherit;
    }

/* Institution Column */
.crosstab-table th.institution-header[b-etjpw9awxb] {
    position: sticky;
    left: 0;
    top: 0;
    background: #f8f9fa;
    z-index: 5;
    min-width: 240px;
    border-right: 2px solid #dee2e6;
}

.institution-cell[b-etjpw9awxb] {
    position: sticky;
    left: 0;
    background: white;
    z-index: 3;
    min-width: 240px;
    border-right: 2px solid #dee2e6;
}

.crosstab-table tbody tr:nth-child(even) .institution-cell[b-etjpw9awxb] {
    background: #fafbfc;
}

.crosstab-table tbody tr:hover .institution-cell[b-etjpw9awxb] {
    background: inherit;
}

.inst-name[b-etjpw9awxb] {
    font-weight: 700;
    color: var(--agile-teal-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.inst-address[b-etjpw9awxb] {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.15rem;
}

.inst-county[b-etjpw9awxb] {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.inst-actions[b-etjpw9awxb] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.view-profile-link[b-etjpw9awxb] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--agile-teal);
    color: white;
    text-decoration: none;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    transition: background 0.2s;
}

    .view-profile-link:hover[b-etjpw9awxb] {
        background: var(--agile-teal-dark);
        color: white;
        text-decoration: none;
    }

.chat-inst-link[b-etjpw9awxb] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e8f4f5;
    color: var(--agile-teal);
    text-decoration: none;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

    .chat-inst-link:hover[b-etjpw9awxb] {
        background: var(--agile-teal);
        color: white;
        text-decoration: none;
    }

/* Aspect Column Headers */
.aspect-header[b-etjpw9awxb] {
    min-width: 320px;
    border-right: 1px solid #dee2e6;
}

/* Opportunity Cells */
.opportunity-cell[b-etjpw9awxb] {
    position: relative;
    min-width: 320px;
    border-right: 1px solid #dee2e6;
    transition: background 0.15s;
    cursor: pointer;
}

    .opportunity-cell:hover[b-etjpw9awxb] {
        background: #f0f4f5;
    }

.cell-content[b-etjpw9awxb] {
    border-left: 4px solid var(--agile-yellow);
    padding-left: 0.75rem;
    transition: border-color 0.2s;
}

    .cell-content.downvoted[b-etjpw9awxb] {
        border-left-color: #ccc;
    }

    .cell-content.upvoted[b-etjpw9awxb] {
        border-left-color: #2e7d32;
    }

.cell-title[b-etjpw9awxb] {
    font-weight: 700;
    color: var(--agile-teal);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.cell-summary[b-etjpw9awxb] {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.view-opportunity-label[b-etjpw9awxb] {
    color: var(--agile-teal);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

    .view-opportunity-label[b-etjpw9awxb]::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .view-opportunity-label:hover[b-etjpw9awxb] {
        text-decoration: underline;
        color: var(--agile-teal-dark);
    }

.cell-no-data[b-etjpw9awxb] {
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
    padding: 1rem 0;
}

/* Cell Actions Row */
.cell-actions[b-etjpw9awxb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* Feedback Buttons */
.feedback-buttons[b-etjpw9awxb] {
    display: flex;
    gap: 0.4rem;
    position: relative;
    z-index: 2;
}

.feedback-btn[b-etjpw9awxb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s, background 0.2s;
}

    .feedback-btn:hover[b-etjpw9awxb] {
        border-color: var(--agile-teal);
        background: #f0f8f8;
    }

    .feedback-btn.active[b-etjpw9awxb] {
        border-color: var(--agile-teal);
        background: #e0f2f2;
    }

/* Responsive */
@media (max-width: 767.98px) {
    .dashboard-title[b-etjpw9awxb] {
        font-size: 1.4rem;
    }

    .dashboard-header[b-etjpw9awxb] {
        padding: 1.5rem 0;
    }
}
/* /Components/Shared/AppSidebar.razor.rz.scp.css */
/* Sidebar */
.sidebar[b-3nsi3m59vq] {
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.25s ease, min-width 0.25s ease;
    position: sticky;
    top: 0;
    height: 100vh;
}

    .sidebar.open[b-3nsi3m59vq] {
        width: 320px;
        min-width: 320px;
    }

    .sidebar.collapsed[b-3nsi3m59vq] {
        width: 56px;
        min-width: 56px;
    }

/* Sidebar Header */
.sidebar-header[b-3nsi3m59vq] {
    background: var(--agile-teal);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar.open .sidebar-header[b-3nsi3m59vq] {
    justify-content: space-between;
}

    .sidebar-header h4[b-3nsi3m59vq] {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
    }

.sidebar-hamburger[b-3nsi3m59vq] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.2s;
}

    .sidebar-hamburger:hover[b-3nsi3m59vq] {
        background: rgba(255,255,255,0.15);
    }

/* Sidebar Nav */
.sidebar-nav[b-3nsi3m59vq] {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* App Nav Items */
.sidebar-app-item[b-3nsi3m59vq] {
    display: flex;
    align-items: center;
    padding: 0;
    color: #495057;
    border-left: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}

    .sidebar-app-item:hover[b-3nsi3m59vq] {
        background: #e9ecef;
        color: #495057;
    }

    .sidebar-app-item.active[b-3nsi3m59vq] {
        border-left-color: var(--agile-teal);
        background: rgba(23, 130, 140, 0.08);
        color: var(--agile-teal);
    }

.sidebar-app-link[b-3nsi3m59vq] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

    .sidebar-app-link:hover[b-3nsi3m59vq] {
        text-decoration: none;
        color: inherit;
    }

.sidebar-app-icon[b-3nsi3m59vq] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-app-label[b-3nsi3m59vq] {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.sidebar-dropdown-toggle[b-3nsi3m59vq] {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s ease, color 0.15s;
}

.sidebar-app-item:hover .sidebar-dropdown-toggle[b-3nsi3m59vq] {
    opacity: 1;
    animation: caret-flash-b-3nsi3m59vq 0.4s ease;
}

.sidebar-dropdown-toggle.expanded[b-3nsi3m59vq] {
    opacity: 1;
}

@keyframes caret-flash-b-3nsi3m59vq {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}

    .sidebar-dropdown-toggle:hover[b-3nsi3m59vq] {
        color: var(--agile-teal);
    }

[b-3nsi3m59vq] .chevron-collapsed {
    transform: rotate(-90deg);
}

[b-3nsi3m59vq] .icon {
    transition: transform 0.2s ease;
}

.sidebar.collapsed .sidebar-app-item[b-3nsi3m59vq] {
    justify-content: center;
}

.sidebar.collapsed .sidebar-app-link[b-3nsi3m59vq] {
    justify-content: center;
    padding: 0.75rem 0.5rem;
    gap: 0;
}

/* Subsection under Opportunities */
.sidebar-subsection[b-3nsi3m59vq] {
    padding: 0.5rem 0.75rem 0.75rem 2.75rem;
    border-bottom: 1px solid #dee2e6;
}

.sidebar-sub-item[b-3nsi3m59vq] {
    margin-bottom: 0.5rem;
}

.sidebar-sub-header[b-3nsi3m59vq] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 0.25rem;
}

.sidebar-sub-link[b-3nsi3m59vq] {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--agile-teal);
    text-decoration: none;
    transition: color 0.15s;
}

    .sidebar-sub-link:hover[b-3nsi3m59vq] {
        color: var(--agile-teal-dark);
        text-decoration: none;
    }

.sidebar-topic-title[b-3nsi3m59vq] {
    font-weight: 600;
    color: var(--agile-teal-dark);
    font-size: 0.85rem;
    line-height: 1.4;
}

.sidebar-topic-link[b-3nsi3m59vq] {
    text-decoration: none;
    display: block;
    padding: 0.2rem 0;
    margin-bottom: 0.15rem;
    transition: color 0.15s;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .sidebar-topic-link:hover[b-3nsi3m59vq] {
        color: var(--agile-teal);
        text-decoration: none;
    }

    .sidebar-topic-link.active[b-3nsi3m59vq] {
        color: var(--agile-teal);
        border-left: 2px solid var(--agile-yellow);
        padding-left: 0.5rem;
    }

.sidebar-empty[b-3nsi3m59vq] {
    font-size: 0.825rem;
    color: #aaa;
    font-style: italic;
}

.sidebar-new-chat-btn[b-3nsi3m59vq] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-style: italic;
    color: var(--agile-teal-dark);
    text-decoration: none;
    padding: 0.35rem 0;
    margin-bottom: 0.4rem;
}

.sidebar-new-chat-btn:hover[b-3nsi3m59vq] {
    color: var(--agile-teal);
}

/* Settings pushed to bottom */
.sidebar-app-bottom[b-3nsi3m59vq] {
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}
/* /Components/Shared/ChatSidebar.razor.rz.scp.css */
/* Sidebar controls */
.sidebar-collapse-btn[b-g5iw2tw9v3] {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sidebar-collapse-btn:hover[b-g5iw2tw9v3] {
    background: rgba(255, 255, 255, 0.15);
}

/* Chat history sidebar items */
.new-chat-btn[b-g5iw2tw9v3] {
    font-style: italic;
}

.chat-list-item[b-g5iw2tw9v3] {
    display: flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-left: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}

.chat-list-item:hover[b-g5iw2tw9v3] {
    background: rgba(245, 187, 42, 0.12);
    border-left-color: var(--agile-yellow);
}

.chat-list-item.active[b-g5iw2tw9v3] {
    background: rgba(245, 187, 42, 0.18);
    border-left-color: var(--agile-yellow);
}

.chat-list-link[b-g5iw2tw9v3] {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.4;
}

.chat-list-item.active .chat-list-link[b-g5iw2tw9v3] {
    font-weight: 600;
    color: var(--agile-teal);
}

.chat-menu-wrapper[b-g5iw2tw9v3] {
    position: relative;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.chat-list-item:hover .chat-menu-wrapper[b-g5iw2tw9v3] {
    opacity: 1;
}

.chat-menu-trigger[b-g5iw2tw9v3] {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    padding: 0.15rem 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.chat-menu-trigger:hover[b-g5iw2tw9v3] {
    background: rgba(0, 0, 0, 0.08);
    color: #333;
}

.chat-menu-popover[b-g5iw2tw9v3] {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    min-width: 120px;
    padding: 0.25rem 0;
}

.chat-menu-item[b-g5iw2tw9v3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.75rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: #495057;
    transition: background 0.15s;
}

.chat-menu-item:hover[b-g5iw2tw9v3] {
    background: #f0f0f0;
}

.chat-menu-delete:hover[b-g5iw2tw9v3] {
    color: #dc3545;
}

.chat-rename-input[b-g5iw2tw9v3] {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--agile-teal);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-size: 0.85rem;
    outline: none;
}
/* /Components/Shared/DistrictProfileContent.razor.rz.scp.css */
/* District Profile Header */
.district-header[b-netuj46feo] {
    background: var(--agile-teal);
    color: white;
    padding: 2rem 0;
    margin: 0;
    margin-top: -1.1rem;
    margin-bottom: 2rem;
}

/* Back button - inline with expand/collapse buttons, match their styling */
.back-button-inline[b-netuj46feo] {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    text-decoration: none;
    margin: 0;
    vertical-align: middle;
}

.back-button-inline:hover[b-netuj46feo] {
    color: white;
    text-decoration: none;
}

.back-button-inline i[b-netuj46feo] {
    margin-right: 0.5rem;
}

.district-title[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.district-type[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.district-type .parent-link[b-netuj46feo] {
    color: var(--agile-yellow) !important;
    text-decoration: underline;
}

.district-type .parent-link:hover[b-netuj46feo] {
    color: var(--agile-yellow-hover) !important;
}

.district-subtitle[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    color: var(--agile-yellow) !important;
}

.district-subtitle a[b-netuj46feo] {
    color: var(--agile-yellow) !important;
    text-decoration: underline;
}

.district-subtitle a:hover[b-netuj46feo] {
    color: var(--agile-yellow-hover) !important;
}

/* Page Heading */
.page-heading[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Quick Stats Cards */
.quick-stats .stat-card[b-netuj46feo] {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--agile-yellow);
}

.quick-stats .stat-card:hover[b-netuj46feo] {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.stat-value[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--agile-teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Demographics Circles */
.demo-circles[b-netuj46feo] {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    min-height: 120px;
    align-items: center;
}

.demo-circles-compact[b-netuj46feo] {
    gap: 0.5rem;
}

.demo-circle[b-netuj46feo] {
    flex: 1;
    min-width: 80px;
    max-width: 100px;
    text-align: center;
}

/* Contact info - separate row */
.contact-info[b-netuj46feo] {
    margin-top: 0.5rem;
}

/* Header controls row */
.header-controls[b-netuj46feo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.section-controls[b-netuj46feo] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

/* Small screens - responsive layout */
@media (max-width: 768px) {
    .contact-info[b-netuj46feo] {
        text-align: center;
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }

    .header-controls[b-netuj46feo] {
        justify-content: center;
        margin-top: 1rem;
    }

    .section-controls[b-netuj46feo] {
        justify-content: center;
    }

    .section-controls button[b-netuj46feo],
    .back-button-inline[b-netuj46feo] {
        padding: 0.375rem 0.75rem;
    }

    .demo-circles[b-netuj46feo] {
        gap: 1rem;
        justify-content: center;
    }

    .demo-circle[b-netuj46feo] {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: 70px;
        max-width: 90px;
    }

    .demo-circles-compact .demo-circle[b-netuj46feo] {
        flex: 0 0 calc(33.333% - 0.5rem);
        min-width: 60px;
        max-width: 80px;
    }

    .demo-circles .circle-chart[b-netuj46feo] {
        width: 70px;
        height: 70px;
    }

    .demo-circles .circle-text[b-netuj46feo] {
        font-size: 0.85rem;
    }

    .demo-label[b-netuj46feo] {
        font-size: 0.75rem;
    }

    .programs-container .circle-chart[b-netuj46feo] {
        width: 70px;
        height: 70px;
    }

    .programs-container .circle-text[b-netuj46feo] {
        font-size: 0.85rem;
    }

    .stat-value[b-netuj46feo] {
        font-size: 1.5rem;
    }

    .stat-label[b-netuj46feo] {
        font-size: 0.75rem;
    }

    .quick-stats .stat-card[b-netuj46feo] {
        padding: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .section-controls button[b-netuj46feo],
    .back-button-inline[b-netuj46feo] {
        padding: 0.25rem 0.5rem;
    }

    /* Two circles per row on very small screens */
    .demo-circle[b-netuj46feo] {
        flex: 0 0 calc(50% - 1rem);
    }

    .demo-circles-compact .demo-circle[b-netuj46feo] {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

.circle-chart[b-netuj46feo] {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 0.5rem;
}

.circle-chart svg[b-netuj46feo] {
    display: block;
    width: 100%;
    height: 100%;
}

.circle-bg[b-netuj46feo] {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 10;
}

.circle-progress[b-netuj46feo] {
    fill: none;
    stroke-width: 10;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1s ease-in-out;
}

.circle-text[b-netuj46feo] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #1A1A1A;
}

.demo-label[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.2;
    font-weight: 600;
}

/* Federal Programs */
.programs-container[b-netuj46feo] {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem 0;
    align-items: center;
}

.program-item[b-netuj46feo] {
    display: flex;
    align-items: center;
    gap: 0;
}

.program-legend[b-netuj46feo] {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.legend-line[b-netuj46feo] {
    width: 25px;
    height: 2px;
    background-color: #000;
}

.legend-text[b-netuj46feo] {
    margin-left: 10px;
}

.program-name[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.3;
}

.program-count[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    color: #1A1A1A;
    line-height: 1.3;
}

/* Personnel Cards */
.personnel-card[b-netuj46feo] {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--agile-yellow);
}

.personnel-name[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.personnel-title[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.personnel-email a[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: var(--agile-teal);
}

/* Strategic Priorities */
.priority-card[b-netuj46feo] {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--agile-yellow);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.priority-name[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    color: var(--agile-teal);
    margin-bottom: 0.5rem;
}

.priority-description[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.priority-goals[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.priority-goals li[b-netuj46feo] {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Proficiency Bars */
#student-proficiency .form-label[b-netuj46feo] {
    font-weight: 700;
}

.proficiency-container[b-netuj46feo] {
    position: relative;
    padding-top: 30px;
    padding-bottom: 25px;
}

.proficiency-bar[b-netuj46feo] {
    background: linear-gradient(90deg, #1278a8 0%, var(--agile-blue) 100%) !important;
}

/* District Percentage Marker */
.district-percentage[b-netuj46feo] {
    position: absolute;
    top: 0;
    transform: translateX(calc(-50% - 1.5px));
    z-index: 5;
}

.district-label[b-netuj46feo] {
    font-size: 1rem;
    color: #000000;
    white-space: nowrap;
    text-align: center;
    font-weight: 400;
    margin-bottom: 2px;
}

.district-line[b-netuj46feo] {
    width: 3px;
    height: 20px;
    background-color: var(--agile-blue);
    margin: 0 auto;
}

/* State Average Marker */
.state-marker[b-netuj46feo] {
    position: absolute;
    top: 30px;
    transform: translateX(-50%);
    z-index: 10;
}

.state-line[b-netuj46feo] {
    width: 3px;
    height: 30px;
    background-color: var(--agile-gold);
    margin: 0 auto;
}

.state-label[b-netuj46feo] {
    font-size: 1rem;
    color: #000000;
    white-space: nowrap;
    text-align: center;
    margin-top: 2px;
    font-weight: 400;
}

/* Card Headers */
.card-header h5[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chevron[b-netuj46feo] {
    color: var(--agile-teal);
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.card-header[b-netuj46feo] {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.card-header:hover[b-netuj46feo] {
    background-color: #f0f7f8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header:hover .chevron[b-netuj46feo] {
    color: var(--agile-teal-dark);
    transform: scale(1.2);
}

/* Source Documents List */
.source-documents-list[b-netuj46feo] {
    list-style: none;
    padding-left: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.source-documents-list li[b-netuj46feo] {
    margin-bottom: 0.5rem;
}

.source-documents-list a[b-netuj46feo] {
    color: var(--agile-teal);
    text-decoration: none;
}

.source-documents-list a:hover[b-netuj46feo] {
    text-decoration: underline;
}

/* Loading State */
.loading[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* Fiscal Information */
.fiscal-amount[b-netuj46feo] {
    color: var(--agile-blue);
    font-weight: 600;
}

.fiscal-section-header[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    color: #000;
    padding-top: 0.75rem;
}

.fiscal-indent[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    padding-left: 2rem;
}

/* Fiscal table header */
.fiscal-header-source[b-netuj46feo] {
    background-color: var(--agile-gold);
    width: 75%;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    padding: 0.75rem;
    border-bottom: none;
}

.fiscal-header-amount[b-netuj46feo] {
    background-color: var(--agile-blue);
    width: 25%;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    padding: 0.75rem;
    border-bottom: none;
}

/* Fiscal table striping */
#fiscal-table tbody tr:nth-child(odd)[b-netuj46feo] {
    background-color: #f8f9fa;
}

#fiscal-table tbody tr:nth-child(even)[b-netuj46feo] {
    background-color: white;
}

/* Business Opportunities */
.opportunity-card[b-netuj46feo] {
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--agile-yellow);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.opportunity-card-header[b-netuj46feo] {
    cursor: pointer;
    padding: 1.5rem;
    transition: background-color 0.2s ease;
}

.opportunity-card-header:hover[b-netuj46feo] {
    background-color: #f0f7f8;
}

.opportunity-title[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    color: var(--agile-teal);
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opportunity-chevron[b-netuj46feo] {
    color: var(--agile-teal);
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.2s ease;
    margin-left: 1rem;
}

.opportunity-card-header:hover .opportunity-chevron[b-netuj46feo] {
    transform: scale(1.2);
}

.opportunity-card-body[b-netuj46feo] {
    padding: 0;
}

.opportunity-section[b-netuj46feo] {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e9ecef;
}

.section-label[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    color: #1A1A1A;
}

.section-content[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    color: #495057;
    line-height: 1.6;
}

/* Colored backgrounds for each section */
.needs-section[b-netuj46feo] {
    background-color: #E3F2FD;
}

.initiatives-section[b-netuj46feo] {
    background-color: #E8F5E9;
}

.opportunities-section[b-netuj46feo] {
    background-color: #FFF9E6;
}

.budget-section[b-netuj46feo] {
    background-color: #F5F5F5;
}

/* Markdown content styling */
.markdown-content[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
}

.markdown-content h1[b-netuj46feo], .markdown-content h2[b-netuj46feo], .markdown-content h3[b-netuj46feo],
.markdown-content h4[b-netuj46feo], .markdown-content h5[b-netuj46feo], .markdown-content h6[b-netuj46feo] {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #1A1A1A;
}

.markdown-content h1[b-netuj46feo] {
    font-size: 1.75rem;
}

.markdown-content h2[b-netuj46feo] {
    font-size: 1.5rem;
}

.markdown-content h3[b-netuj46feo] {
    font-size: 1.25rem;
}

.markdown-content h4[b-netuj46feo] {
    font-size: 1.1rem;
}

.markdown-content p[b-netuj46feo] {
    margin-bottom: 1rem;
}

.markdown-content strong[b-netuj46feo] {
    font-weight: 700;
    color: var(--agile-teal);
}

.markdown-content ul[b-netuj46feo], .markdown-content ol[b-netuj46feo] {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.markdown-content li[b-netuj46feo] {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.markdown-content a[b-netuj46feo] {
    color: var(--agile-teal);
    text-decoration: underline;
}

.markdown-content a:hover[b-netuj46feo] {
    color: var(--agile-teal-dark);
}

.markdown-content code[b-netuj46feo] {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.markdown-content pre[b-netuj46feo] {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

.markdown-content blockquote[b-netuj46feo] {
    border-left: 4px solid var(--agile-yellow);
    padding-left: 1rem;
    margin: 1rem 0;
    color: #666;
    font-style: italic;
}

.markdown-content table[b-netuj46feo] {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.markdown-content th[b-netuj46feo] {
    background-color: var(--agile-yellow);
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
}

.markdown-content td[b-netuj46feo] {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.markdown-content tr:nth-child(even)[b-netuj46feo] {
    background-color: #f8f9fa;
}

/* Source URLs styling */
.source-urls-list[b-netuj46feo] {
    list-style: none;
    padding-left: 0;
}

.source-urls-list li[b-netuj46feo] {
    margin-bottom: 0.5rem;
}

.source-urls-list a[b-netuj46feo] {
    color: var(--agile-teal);
    text-decoration: none;
    word-break: break-all;
}

.source-urls-list a:hover[b-netuj46feo] {
    text-decoration: underline;
}

/* AI Disclaimer */
.ai-disclaimer[b-netuj46feo] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
}
/* /Components/Shared/DistrictSearchPanel.razor.rz.scp.css */
.institution-badge[b-i6oul5kmbj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: #e8f4f5;
    border: 1px solid var(--agile-teal);
    border-radius: 16px;
    font-size: 0.78rem;
    color: var(--agile-teal);
    width: fit-content;
}

.institution-badge-name[b-i6oul5kmbj] {
    font-weight: 600;
}

.institution-badge-loc[b-i6oul5kmbj] {
    color: #6c757d;
}

.institution-badge-clear[b-i6oul5kmbj] {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.15rem;
    margin-left: 0.2rem;
}

.institution-badge-clear:hover[b-i6oul5kmbj] {
    color: #dc3545;
}

.panel-name-search[b-i6oul5kmbj] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.panel-name-search:focus[b-i6oul5kmbj] {
    border-color: var(--agile-teal);
}

.btn-advanced-filters-toggle[b-i6oul5kmbj] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    font-size: 0.78rem;
    font-family: inherit;
    font-weight: 500;
    padding: 0.2rem 0;
    transition: color 0.2s;
}

.btn-advanced-filters-toggle:hover[b-i6oul5kmbj] {
    color: var(--agile-teal);
}

.btn-advanced-filters-toggle[b-i6oul5kmbj]  .icon.rotated {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.panel-results[b-i6oul5kmbj] {
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.district-suggestion-item[b-i6oul5kmbj] {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.district-suggestion-item:hover[b-i6oul5kmbj] {
    background-color: #f8f9fa;
}

.district-suggestion-name[b-i6oul5kmbj] {
    font-size: 0.825rem;
    font-weight: 500;
    color: #333;
}

.district-suggestion-loc[b-i6oul5kmbj] {
    font-size: 0.7rem;
    color: #6c757d;
}

.advanced-search-panel[b-i6oul5kmbj] {
    position: absolute;
    right: calc(100% + 12px);
    bottom: 0.5rem;
    width: 320px;
    max-height: 80vh;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.advanced-search-divider[b-i6oul5kmbj] {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 0.25rem 0;
}

.advanced-search-header[b-i6oul5kmbj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #dee2e6;
}

.advanced-search-close[b-i6oul5kmbj] {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
}

.advanced-search-close:hover[b-i6oul5kmbj] {
    color: #dc3545;
}

.advanced-search-fields[b-i6oul5kmbj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.advanced-search-field[b-i6oul5kmbj] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.advanced-search-field label[b-i6oul5kmbj] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
}

.advanced-search-field input[b-i6oul5kmbj],
.advanced-search-field select[b-i6oul5kmbj] {
    padding: 5px 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.82rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.advanced-search-field input:focus[b-i6oul5kmbj],
.advanced-search-field select:focus[b-i6oul5kmbj] {
    border-color: var(--agile-teal);
}

.advanced-search-field select:disabled[b-i6oul5kmbj] {
    opacity: 0.5;
    cursor: not-allowed;
}

.advanced-loading[b-i6oul5kmbj] {
    font-size: 0.78rem;
    color: #6c757d;
    font-style: italic;
}

.btn-apply-advanced[b-i6oul5kmbj] {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    background: var(--agile-teal);
    color: white;
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s ease;
    align-self: flex-end;
}

.btn-apply-advanced:hover[b-i6oul5kmbj] {
    background: var(--agile-teal-dark);
}

@media (max-width: 1600px) {
    .advanced-search-panel[b-i6oul5kmbj] {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        bottom: auto;
        width: min(320px, calc(100vw - 2rem));
        max-height: 80vh;
        z-index: 100;
    }
}
/* /Components/Shared/OpportunityDetail.razor.rz.scp.css */
/* Detail Header */
.detail-header[b-38291qhb3s] {
    background: var(--agile-teal);
    color: white;
    padding: 2rem 0;
}

.header-profile-btn[b-38291qhb3s] {
    margin-top: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.2s;
}

    .header-profile-btn:hover[b-38291qhb3s] {
        background: rgba(255, 255, 255, 0.3);
        color: white;
    }

.detail-title[b-38291qhb3s] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-subtitle[b-38291qhb3s] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    color: var(--agile-yellow);
}

.detail-meta[b-38291qhb3s] {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.header-link[b-38291qhb3s] {
    color: var(--agile-yellow) !important;
    text-decoration: underline;
}

    .header-link:hover[b-38291qhb3s] {
        color: var(--agile-yellow-hover) !important;
    }

/* Aspect Context */
.aspect-context[b-38291qhb3s] {
    background: #f8f9fa;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--agile-teal);
}

.aspect-badge[b-38291qhb3s] {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .aspect-badge.aspect[b-38291qhb3s] {
        background: var(--agile-teal);
        color: white;
    }

    .aspect-badge.constraint[b-38291qhb3s] {
        background: var(--agile-gold);
        color: #333;
    }

.aspect-name[b-38291qhb3s] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--agile-teal-dark);
}

.aspect-description[b-38291qhb3s] {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

/* Discovery Card */
.discovery-card[b-38291qhb3s] {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--agile-yellow);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: border-color 0.2s;
}

    .discovery-card.downvoted[b-38291qhb3s] {
        border-left-color: #ccc;
    }

    .discovery-card.upvoted[b-38291qhb3s] {
        border-left-color: #2e7d32;
    }

.discovery-title[b-38291qhb3s] {
    font-weight: 700;
    color: var(--agile-teal);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.discovery-summary[b-38291qhb3s] {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.discovery-report[b-38291qhb3s] {
    line-height: 1.7;
    color: #333;
}

/* Markdown content styling */
.markdown-content[b-38291qhb3s]  h1,
.markdown-content[b-38291qhb3s]  h2,
.markdown-content[b-38291qhb3s]  h3,
.markdown-content[b-38291qhb3s]  h4 {
    color: var(--agile-teal-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.markdown-content[b-38291qhb3s]  h1 { font-size: 1.5rem; }
.markdown-content[b-38291qhb3s]  h2 { font-size: 1.3rem; }
.markdown-content[b-38291qhb3s]  h3 { font-size: 1.15rem; }
.markdown-content[b-38291qhb3s]  h4 { font-size: 1.05rem; }

.markdown-content[b-38291qhb3s]  p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.markdown-content[b-38291qhb3s]  ul,
.markdown-content[b-38291qhb3s]  ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

    .markdown-content[b-38291qhb3s]  ul li,
    .markdown-content[b-38291qhb3s]  ol li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

.markdown-content[b-38291qhb3s]  strong {
    color: var(--agile-teal-dark);
}

.markdown-content[b-38291qhb3s]  blockquote {
    border-left: 4px solid var(--agile-yellow);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    background: #f8f9fa;
    color: #555;
}

.markdown-content[b-38291qhb3s]  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

    .markdown-content[b-38291qhb3s]  table th,
    .markdown-content[b-38291qhb3s]  table td {
        padding: 0.5rem 0.75rem;
        border: 1px solid #dee2e6;
    }

    .markdown-content[b-38291qhb3s]  table th {
        background: #f8f9fa;
        font-weight: 700;
    }

/* Citations Section */
.citations-section[b-38291qhb3s] {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.citations-header[b-38291qhb3s] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--agile-teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Detail Navigation Row */
.detail-nav[b-38291qhb3s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-nav-left[b-38291qhb3s] {
    display: flex;
    align-items: center;
}

/* Feedback Buttons */
.feedback-buttons[b-38291qhb3s] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feedback-label[b-38291qhb3s] {
    font-size: 0.9rem;
    color: #666;
    margin-right: 0.25rem;
}

.feedback-btn[b-38291qhb3s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s, background 0.2s;
}

    .feedback-btn:hover[b-38291qhb3s] {
        border-color: var(--agile-teal);
        background: #f0f8f8;
    }

    .feedback-btn.active[b-38291qhb3s] {
        border-color: var(--agile-teal);
        background: #e0f2f2;
    }

/* Responsive */
@media (max-width: 767.98px) {
    .detail-title[b-38291qhb3s] {
        font-size: 1.4rem;
    }

    .detail-header[b-38291qhb3s] {
        padding: 1.5rem 0;
    }

    .discovery-card[b-38291qhb3s] {
        padding: 1.25rem;
    }

    .discovery-title[b-38291qhb3s] {
        font-size: 1.25rem;
    }
}
/* /Components/Shared/SecondarySidebar.razor.rz.scp.css */
/* Secondary Sidebar */
.secondary-sidebar[b-qqcvn19hyd] {
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    position: sticky;
    top: 0;
    transition: width 0.25s ease, min-width 0.25s ease, border-right-width 0.25s ease;
}

    .secondary-sidebar.open[b-qqcvn19hyd] {
        width: 260px;
        min-width: 260px;
    }

    .secondary-sidebar.collapsed[b-qqcvn19hyd] {
        width: 0;
        min-width: 0;
        border-right-width: 0;
    }

.secondary-sidebar-inner[b-qqcvn19hyd] {
    width: 260px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.secondary-sidebar-header[b-qqcvn19hyd] {
    background: var(--agile-teal);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    box-sizing: border-box;
}

.secondary-sidebar-title[b-qqcvn19hyd] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nav Items */
.secondary-sidebar-nav[b-qqcvn19hyd] {
    flex: 1;
    padding: 0.5rem 0;
}

[b-qqcvn19hyd] .secondary-nav-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    color: #495057;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.4;
}

    [b-qqcvn19hyd] .secondary-nav-item:hover {
        background: #e9ecef;
        text-decoration: none;
        color: #495057;
    }

    [b-qqcvn19hyd] .secondary-nav-item.active {
        border-left-color: var(--agile-teal);
        background: rgba(23, 130, 140, 0.08);
        color: var(--agile-teal);
        font-weight: 600;
    }

    [b-qqcvn19hyd] .secondary-nav-item svg {
        flex-shrink: 0;
        margin-top: 2px;
    }

[b-qqcvn19hyd] .secondary-nav-label {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Section Header */
[b-qqcvn19hyd] .secondary-nav-section {
    margin-top: 0.5rem;
    border-top: 1px solid #dee2e6;
    padding-top: 0.5rem;
}

[b-qqcvn19hyd] .secondary-nav-section-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    padding: 0.25rem 1rem 0.25rem;
}

/* Indented Items */
[b-qqcvn19hyd] .secondary-nav-indent {
    padding-left: 1.25rem;
}

[b-qqcvn19hyd] .secondary-nav-empty {
    font-size: 0.8rem;
    color: #aaa;
    font-style: italic;
    padding: 0.4rem 1.25rem;
}

/* Add Button */
[b-qqcvn19hyd] .secondary-nav-add {
    margin-top: 0.25rem;
    color: var(--agile-teal);
    font-weight: 600;
}

    [b-qqcvn19hyd] .secondary-nav-add:hover {
        color: var(--agile-teal-dark);
    }

/* Footer */
.secondary-sidebar-footer[b-qqcvn19hyd] {
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

[b-qqcvn19hyd] .secondary-nav-back {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.15s;
}

    [b-qqcvn19hyd] .secondary-nav-back:hover {
        color: var(--agile-teal);
        text-decoration: none;
    }
