/* Temporary Johns Hopkins palette. Change these tokens when final branding is approved.
 * Source: https://brand.jhu.edu/visual-identity/colors/
 * Keep this layer separate from catalog structure and course data.
 */
.ncm-public {
    --ncm-brand-primary: #002d72;
    --ncm-brand-accent: #68ace5;
    --ncm-brand-focus: #0077d8;
    --ncm-brand-neutral: #f0f0f0;
    --ncm-ink: var(--ncm-brand-primary);
    --ncm-accent: var(--ncm-brand-primary);
    --ncm-paper: var(--ncm-brand-neutral);
    --ncm-muted: #4d4d4d;
    --ncm-line: #d5dce5;
}
.ncm-public.ncm-explorer {
    --ncm-ex-ink: var(--ncm-brand-primary);
    --ncm-ex-grey: var(--ncm-brand-neutral);
    --ncm-ex-blue: var(--ncm-brand-accent);
    --ncm-ex-line: #d5dce5;
}

.ncm-public.ncm-explorer .ncm-ex-course-toggle {
    background: var(--ncm-brand-neutral) !important;
    color: var(--ncm-brand-primary) !important;
}
.ncm-public.ncm-explorer .ncm-ex-course-toggle[aria-expanded=true] {
    background: var(--ncm-brand-accent) !important;
}
.ncm-public.ncm-explorer .ncm-ex-sidebar,
.ncm-public.ncm-explorer .ncm-ex-empty { background: var(--ncm-brand-neutral); }
.ncm-public.ncm-explorer .ncm-ex-heading p { color: var(--ncm-muted); }
.ncm-public.ncm-explorer .ncm-ex-clear { color: var(--ncm-brand-primary) !important; }
.ncm-public.ncm-explorer .ncm-ex-filter-group input[type=checkbox] { accent-color: var(--ncm-brand-primary); }
.ncm-public.ncm-explorer .ncm-ex-learn {
    border-color: var(--ncm-brand-primary);
    color: var(--ncm-brand-primary);
}
.ncm-public.ncm-explorer .ncm-ex-learn:hover,
.ncm-public.ncm-explorer .ncm-ex-filter-toggle:hover,
.ncm-public.ncm-explorer .ncm-ex-submit:hover {
    background: var(--ncm-brand-primary);
    border-color: var(--ncm-brand-primary);
    color: #fff;
}
.ncm-public .ncm-button:hover { background: var(--ncm-brand-primary); }
.ncm-public :is(button,a,input,select,summary):focus-visible {
    outline: 3px solid var(--ncm-brand-focus);
    outline-offset: 3px;
}
