
/* ==========================================================
   RESEARCH TOOLS NAVBAR
   ========================================================== */


/*
   Original Shiny tabs remain in DOM so their
   navigation behavior remains intact.
   They are only visually hidden.
*/

.ssp-original-research-tool {
    display: none !important;
}


/*
   Slightly compact navbar
*/

.navbar-nav > li > a {
    white-space: nowrap;
    padding-left: 11px !important;
    padding-right: 11px !important;
    font-size: 13px;
}


/*
   Research Tools dropdown
*/

.ssp-research-tools-dropdown > a {
    white-space: nowrap;
}


.ssp-research-tools-dropdown .dropdown-menu {
    min-width: 220px;
}


.ssp-research-tools-dropdown .dropdown-menu > li > a {
    padding: 9px 18px;
    font-size: 13px;
}


/*
   Medium laptop
*/

@media (max-width: 1250px) {

    .navbar-nav > li > a {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 12.5px;
    }

}


/*
   Mobile Bootstrap navbar
*/

@media (max-width: 767px) {

    .navbar-nav > li > a {
        padding-left: 18px !important;
        padding-right: 18px !important;
        font-size: 14px;
    }

    .ssp-research-tools-dropdown .dropdown-menu {
        min-width: 100%;
    }

}



/* === CITATION CENTER === */

.ssp-citation-dialog {
    width: min(760px, calc(100% - 30px));
}

.ssp-citation-identity {
    background: #f7f5fb;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
    line-height: 1.65;
}

.ssp-citation-block {
    border: 1px solid #ebe7f0;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}

.ssp-citation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 10px 14px;
    background: #faf9fc;
    border-bottom: 1px solid #ebe7f0;
}

.ssp-citation-text {
    padding: 14px 16px;
    line-height: 1.65;
    word-break: break-word;
}

.ssp-citation-mono {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    white-space: pre-wrap;
    font-size: 12px;
}

.ssp-citation-note {
    margin-top: 16px;
    padding: 13px 15px;

    background: #f7f5fb;
    border-radius: 10px;

    font-size: 13px;
    line-height: 1.6;
}

.ssp-citation-copy {
    min-width: 60px;
}

@media (max-width: 767px) {

    .ssp-citation-dialog {
        width: auto;
        margin: 12px;
    }

    .ssp-citation-header {
        align-items: flex-start;
    }
}

