/* Institute Profile. The sentence, search list, dropdowns and play controls come from dashboard.css. */
.ip-pick { text-align: center; }
.ip-page-title { font-size: 2.1rem; }
.ip-page-sub { margin: 0 auto 14px; max-width: 40rem; }
.ip-pickrow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 16px; font-size: 1.125rem; font-weight: 300; color: #374151; }
.ip-pick .picker-list { text-align: left; }
.ip-picker .picker-input { width: min(26rem, 78vw); text-overflow: ellipsis; }

.ip-section { margin-top: 44px; }
/* every title on this page, the page heading included, is this purple */
.ip-page-title, .ip-section .hero-title, .ip-scope-title, .ip-ecdf-head h5 { color: #292244; }

/* Hierarchy: an accordion, STEM / Non-STEM > group > discipline > sub-discipline */
.hr-row, .hr-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; column-gap: 16px; }
.hr-row { width: 100%; padding: 7px 8px; text-align: left; background: transparent; border: 0; border-bottom: 1px solid #efead0; cursor: default; font-size: 13px; color: #374151; }
.hr-row.can { cursor: pointer; }
.hr-row.can:hover { background: #fdf0f2; }
.hr-row.lvl0 { background: #f3eed2; color: var(--dark-purple); }
.hr-row .hr-name { font-weight: 700; display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: calc(var(--lvl, 0) * 18px); }
.hr-row .hr-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-caret { width: 7px; height: 7px; border-right: 2px solid #9ca3af; border-bottom: 2px solid #9ca3af; transform: rotate(-45deg); transition: transform .15s; flex-shrink: 0; }
.hr-row.open .hr-caret { transform: rotate(45deg); }
.hr-caret.none { visibility: hidden; }
.hr-cell { display: flex; align-items: center; gap: 6px; min-width: 0; }
/* the same split as the bar chart: women (orange) then men (teal), out of 100% */
.hr-bar { flex: 1; min-width: 60px; display: flex; height: 14px; border-radius: 4px; overflow: hidden; background: #59a5a5; }
.hr-bar i { display: block; height: 100%; background: #fea538; }
.hr-pct { flex-shrink: 0; width: 2.7rem; text-align: right; font-weight: 700; color: var(--dark-purple); }
.hr-n { flex-shrink: 0; min-width: 6.8rem; font-size: 10px; color: #9ca3af; white-space: nowrap; }
.hr-kids { display: none; }
.hr-kids.open { display: block; }
.hr-head { padding: 0 8px 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; }
@media (max-width: 640px) {
    .hr-row, .hr-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 8px; }
    .hr-pct { width: 2.6rem; }
    .hr-n { display: none; }
}

/* Where does it stand: three plots per row, on the page background */
.ip-scope { margin-bottom: 26px; }
.ip-scope-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px 2px; }
.ip-ecdf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .ip-ecdf-grid { grid-template-columns: minmax(0, 1fr); } }
.ip-ecdf-head { min-height: 54px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; margin-bottom: 8px; }
.ip-ecdf-head h5 { font-size: 15px; font-weight: 700; }
.ip-hint { font-size: 11px; color: #9ca3af; margin-bottom: 2px; }
.ip-ecdf-body { position: relative; height: 270px; }
.ip-ecdf-note { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; text-align: center; padding: 0 18px; font-size: 12.5px; font-style: italic; color: #9ca3af; pointer-events: none; }
.ip-ecdf-note.on { display: flex; }

/* the multi-select discipline button can say a long name */
#ipDdTr .dd-text { max-width: 24rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ip-foot { margin-top: 10px; }
