/*
 * Copyright (C) 2013 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/* Legacy variables. Discontinue to use these: */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Convert font-size from px to rem with px fallback
 * @param $size - the value in pixel you want to convert
 * e.g. p {@include fontSize(12px);}
 * courtesy of https://github.com/stubbornella/oocss/blob/master/oocss/src/components/utils/_fontSize.scss
 */
/*
 * Copyright (C) 2017 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/* Legacy variables. Discontinue to use these: */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2012 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Convert font-size from px to rem with px fallback
 * @param $size - the value in pixel you want to convert
 * e.g. p {@include fontSize(12px);}
 * courtesy of https://github.com/stubbornella/oocss/blob/master/oocss/src/components/utils/_fontSize.scss
 */
/*
 * Copyright (C) 2026 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
:root {
  --phase1-shell-bg: #002060;
  --phase1-shell-surface: #002d7a;
  --phase1-shell-surface-strong: #003a9e;
  --phase1-shell-border: rgba(255, 255, 255, 0.14);
  --phase1-shell-text: #eaf1ff;
  --phase1-shell-text-muted: rgba(234, 241, 255, 0.72);
  --phase1-accent: #F5A623;
  --phase1-accent-strong: #e08e00;
  --phase1-accent-soft: rgba(245, 166, 35, 0.18);
  --phase1-canvas: #f5f3ee;
  --phase1-surface: rgba(255, 255, 255, 0.94);
  --phase1-surface-strong: #ffffff;
  --phase1-surface-muted: #edeae4;
  --phase1-border: rgba(0, 48, 135, 0.1);
  --phase1-text: #1a2b3c;
  --phase1-text-muted: #5a6a7a;
  --phase1-shadow-soft: 0 16px 40px rgba(0, 20, 70, 0.12);
  --phase1-shadow-raised: 0 20px 48px rgba(0, 20, 70, 0.18);
  --phase1-shadow-floating: 0 24px 56px rgba(0, 20, 70, 0.26);
  --phase1-radius-sm: 0.875rem;
  --phase1-radius-md: 1.25rem;
  --phase1-radius-lg: 1.75rem;
  --phase1-transition-fast: 140ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --phase1-transition-base: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --phase1-transition-slow: 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
  background: radial-gradient(circle at top right, rgba(245, 166, 35, 0.07), transparent 28rem), linear-gradient(180deg, #faf9f6 0%, #f5f3ee 100%);
  color: #1a2b3c;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.all_courses_page {
  padding: 0 0 2.5rem;
}

.all_courses_hero {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0 0 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #d4d9e4;
  color: #1a2b3c;
}

.all_courses_hero__copy {
  max-width: 52rem;
}
.all_courses_hero__copy h1 {
  margin: 0 0 0.4rem;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #003087;
  border-left: 4px solid #F5A623;
  padding-left: 0.75rem;
}

.all_courses_eyebrow,
.all_courses_results_header__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7B0020;
}

.all_courses_hero .all_courses_eyebrow {
  color: #7B0020;
}

.all_courses_results_header__eyebrow {
  color: #5a6478;
}

.all_courses_hero__summary {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5a6478;
  padding-left: 0.75rem;
  margin-left: 4px;
}

.all_courses_filters_card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 233, 0.9)), #ffffff;
  border: 1px solid rgba(0, 48, 135, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 20, 70, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.all_courses_search {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 16rem;
}

.all_courses_search__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2b3c;
}

.all_courses_search__submit {
  align-self: flex-end;
  min-height: 2.6rem;
  padding: 0 1.5rem;
  font-weight: 600;
  border-radius: 0.375rem;
  background: #003087;
  color: #fff;
}

.all_courses_search__input {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid rgba(20, 33, 49, 0.14);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.all_courses_search__input:focus {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.82), 0 0 0 4px rgba(245, 166, 35, 0.38);
  outline: none;
}

.all_courses_toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: 1 1 20rem;
}

.all_courses_toggle {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(20, 33, 49, 0.1);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.all_courses_toggle:hover {
  transform: translateY(-0.125rem);
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.all_courses_toggle .ic-Label {
  margin-bottom: 0;
  color: #1a2b3c;
  font-weight: 600;
}

.all_courses_form__submit {
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, #003087 0%, #001d5e 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 8px rgba(0, 30, 135, 0.1);
}
.all_courses_form__submit:hover {
  background: linear-gradient(135deg, #F5A623 0%, #e08e00 100%);
  color: #003087;
}
.all_courses_form__submit:focus-visible {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.82), 0 0 0 4px rgba(245, 166, 35, 0.38);
  outline: none;
}

.all_courses_layout {
  display: grid;
  grid-template-columns: minmax(18rem, 23rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.catalog_tree_panel {
  background: #ffffff;
  border: 1px solid rgba(0, 48, 135, 0.15);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 30, 80, 0.04);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 1.25rem;
  max-height: calc(100vh - 2.5rem);
  overflow: hidden;
}

.catalog_tree {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 1.25rem;
  color: #1a2b3c;
}

.catalog_tree_header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.catalog_tree_selected_label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.catalog_tree_selected_title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5a6a7a;
}

.catalog_tree_selected_value {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog_tree_summary {
  flex: 0 0 auto;
  align-self: center;
  padding: 0.45rem 0.75rem;
  border-radius: 0.375rem;
  background: rgba(0, 48, 135, 0.08);
  color: #003087;
  font-size: 0.82rem;
  font-weight: 700;
}

.catalog_tree_actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.catalog_tree_search {
  min-width: 0;
  flex-grow: 1;
}

.catalog_tree_search_input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 2.45rem;
  padding: 0.55rem 0.85rem !important;
  box-shadow: inset 0 1px 2px rgba(0, 30, 80, 0.02) !important;
  border: 1px solid rgba(0, 48, 135, 0.15) !important;
  border-radius: 0.375rem !important;
  background: #ffffff !important;
  color: #1a2b3c !important;
  transition: all 200ms ease;
}
.catalog_tree_search_input::placeholder {
  color: #5a6a7a;
}
.catalog_tree_search_input:focus {
  border-color: #F5A623 !important;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2) !important;
  outline: none !important;
}

.catalog_tree_intro,
.catalog_tree_error,
.catalog_tree_empty {
  margin: 0 0 1rem;
  color: #5a6a7a;
  line-height: 1.45;
  font-size: 0.87rem;
}

.catalog_tree_reset,
.catalog_tree_collapse {
  min-width: 6.25rem;
  min-height: 2.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(0, 48, 135, 0.15);
  border-radius: 0.375rem;
  background: #ffffff;
  color: #003087;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 30, 80, 0.04);
  transition: all 150ms ease;
}
.catalog_tree_reset:hover,
.catalog_tree_collapse:hover {
  background: rgba(0, 48, 135, 0.05);
  border-color: rgba(0, 48, 135, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 30, 80, 0.06);
}
.catalog_tree_reset:disabled,
.catalog_tree_collapse:disabled {
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.catalog_tree_scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 0.2rem;
}
.catalog_tree_scroll::-webkit-scrollbar {
  width: 0.55rem;
}
.catalog_tree_scroll::-webkit-scrollbar-thumb {
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.18);
}

.catalog_tree_list,
.catalog_tree_children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog_tree_node + .catalog_tree_node {
  margin-top: 0.2rem;
}

.catalog_tree_children {
  position: relative;
  padding-top: 0.1rem;
}

.catalog_tree_row {
  --catalog-tree-indent: calc(var(--catalog-tree-depth, 0) * 0.7rem);
  display: flex;
  align-items: stretch;
  min-width: 0;
  margin-left: var(--catalog-tree-indent);
  border-radius: 0.5rem;
  border: 1px solid transparent;
  background: transparent;
  transition: all 150ms ease;
}
.catalog_tree_row:hover {
  background: rgba(0, 48, 135, 0.04);
  border-color: rgba(0, 48, 135, 0.08);
  transform: translateX(0.125rem);
}
.catalog_tree_row[data-expanded=true] .catalog_tree_toggle {
  color: #003087;
}

.catalog_tree_row.is-selected {
  background: rgba(245, 166, 35, 0.1);
  border-color: rgba(245, 166, 35, 0.3);
  box-shadow: inset 3px 0 0 #F5A623;
}

.catalog_tree_toggle,
.catalog_tree_toggle_spacer {
  width: 1.75rem;
  min-width: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5a6a7a;
}

.catalog_tree_toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 150ms ease;
}
.catalog_tree_toggle:hover, .catalog_tree_toggle:focus-visible {
  color: #003087;
  background: rgba(0, 48, 135, 0.08);
}

.catalog_tree_select {
  border: 0;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.38rem 0.55rem 0.38rem 0.05rem;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.catalog_tree_select:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82), inset 0 0 0 4px rgba(245, 166, 35, 0.38);
  outline: none;
  border-radius: 0.375rem;
}

.catalog_tree_name_wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.03rem;
}

.catalog_tree_name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.9rem;
}

.catalog_tree_meta {
  font-size: 0.68rem;
  color: #5a6a7a;
}

.catalog_tree_count {
  min-width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: rgba(0, 48, 135, 0.1);
  color: #003087;
  font-size: 0.72rem;
  font-weight: 700;
}

#catalog_content {
  min-width: 0;
}

.all_courses_results_header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 233, 0.9)), #ffffff;
  border: 1px solid rgba(0, 48, 135, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 20, 70, 0.12);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1rem;
}

.all_courses_results_header__eyebrow {
  color: #5a6a7a;
}

.all_courses_results_header__title {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.1;
}

.all_courses_results_header__count {
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 0.375rem;
  background: rgba(245, 166, 35, 0.18);
  color: #003087;
  font-weight: 700;
  white-space: nowrap;
}

#course_summaries {
  margin: 0;
}

.all_courses_results_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}

.course_summary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 233, 0.9)), #ffffff;
  border: 1px solid rgba(0, 48, 135, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 20, 70, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 18.5rem;
  overflow: hidden;
  margin: 0;
  position: relative;
  border: 1px solid rgba(0, 48, 135, 0.1) !important;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.course_text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  padding: 1.2rem 1.2rem 1.15rem;
  color: #1a2b3c;
  background: radial-gradient(circle at top right, rgba(245, 166, 35, 0.08), transparent 40%), linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 250, 0.96));
}
.course_text::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.42rem;
  background: var(--course-accent, #F5A623);
  border-radius: 0.5rem 0.5rem 0 0;
}
.course_text:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 30, 80, 0.06);
  border-color: rgba(0, 48, 135, 0.2);
}

.course_summary__eyebrow {
  margin-bottom: 0.9rem;
  color: #5a6a7a;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.course_summary h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
}
.course_summary h3 a,
.course_summary h3 a:hover {
  color: #1a2b3c;
  text-decoration: none;
}

.course_summary__description {
  margin: 0.9rem 0 1rem;
  padding: 0 !important;
  color: #5a6a7a;
  line-height: 1.6;
  flex: 1 1 auto;
  overflow: hidden;
}

.course_summary__action {
  margin: 0;
  padding-top: 0.75rem;
}

.course_enrollment_link {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 4px;
  background: #003087;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: none;
  transition: background 150ms;
}
.course_enrollment_link:hover {
  background: #7B0020;
  color: #fff;
  text-decoration: none;
}
.course_enrollment_link:focus-visible {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
}

.not_found {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 233, 0.9)), #ffffff;
  border: 1px solid rgba(0, 48, 135, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 20, 70, 0.12);
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}
.not_found__heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a2b3c;
}

.all_courses_pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.all_courses_pagination__link {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 233, 0.9)), #ffffff;
  border: 1px solid rgba(0, 48, 135, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 20, 70, 0.12);
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  color: #1a2b3c;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 140ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 140ms cubic-bezier(0.2, 0.8, 0.2, 1), color 140ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.all_courses_pagination__link:hover, .all_courses_pagination__link:focus-visible {
  transform: translateY(-0.15rem);
  box-shadow: 0 16px 40px rgba(0, 20, 70, 0.12);
}

.all-courses-dialog .modal-dialog {
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 20, 70, 0.26);
}
.all-courses-dialog .modal-header,
.all-courses-dialog .modal-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 233, 0.95)), #fff;
}

.all-courses-dialog__header {
  width: 100%;
}

.all-courses-dialog__eyebrow {
  display: block;
  margin-top: 0.35rem;
  color: #5a6a7a;
  font-size: 0.82rem;
}

.all-courses-dialog__loading {
  padding: 1.5rem 0 0.75rem;
}

.all-courses-dialog__iframe {
  border-radius: 0 0 1.75rem 1.75rem;
}

@media (max-width: 1100px) {
  .all_courses_layout {
    grid-template-columns: 1fr;
  }

  .catalog_tree_panel {
    position: static;
    max-height: none;
  }

  .catalog_tree_actions {
    grid-template-columns: 1fr;
  }

  .catalog_tree_reset,
.catalog_tree_collapse {
    width: 100%;
  }
}
@media (max-width: 760px) {
  .all_courses_page {
    padding-top: 0.75rem;
  }

  .all_courses_hero {
    padding: 1.5rem;
  }

  .all_courses_hero__copy h1 {
    font-size: 2.2rem;
  }

  .all_courses_filters_card,
.all_courses_results_header {
    padding: 1rem;
  }

  .all_courses_results_header,
.all_courses_pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .all_courses_pagination__link {
    text-align: center;
  }
}