@charset "UTF-8";
:root {
  --br-surface: #ffffff;
  --br-surface-2: #f7faff;
  --br-border: #e6ecf5;
  --br-text: #1f2533;
  --br-blue: #4c8dff;
  --br-green: #1fc77a;
  --br-orange: #ff8a3d;
  --br-red: #ea445a;
  --br-accent: linear-gradient(90deg, var(--br-blue) 0%, var(--br-green) 100%);
  --br-radius: 16px;
}

.sr-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  justify-content: center;
  border-bottom: 1px solid #e5e7eb;
}

.school-results-summary__footer .share-link-btn {
  display: inline-flex;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 6px;
  isolation: isolate;
  width: auto;
  min-width: 0;
  height: var(--summary-action-height);
  min-height: var(--summary-action-height);
  padding: 0 10px 0 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #25a8ff 0%, #6468ff 54%, #8f4dff 100%);
  box-shadow: 0 6px 14px rgba(83, 83, 232, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: var(--summary-action-font-size);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.12s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.school-results-summary__footer .share-link-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.school-results-summary__footer .share-link-btn:hover {
  box-shadow: 0 8px 18px rgba(83, 83, 232, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.school-results-summary__footer .share-link-btn:active {
  transform: translateY(0) scale(0.97);
}
.school-results-summary__footer .share-link-btn:focus-visible {
  outline: 3px solid rgba(106, 91, 255, 0.4);
  outline-offset: 2px;
}
.school-results-summary__footer .share-link-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.school-results-summary__footer .share-link-btn .share-link-btn__txt {
  position: static;
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 !important;
  overflow: visible;
  clip: auto;
  border: 0;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  flex: 0 0 auto;
  white-space: nowrap;
}
.school-results-summary__footer .share-link-btn .share-link-btn__ico-check {
  display: none;
}
.school-results-summary__footer .share-link-btn.is-copied {
  min-width: calc(var(--share-column-space) - 4px);
  padding-right: 12px;
  padding-left: 9px;
  background: linear-gradient(135deg, #20c77d, #0fa263);
  box-shadow: 0 6px 14px rgba(17, 168, 102, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.school-results-summary__footer .share-link-btn.is-copied .share-link-btn__ico-share {
  display: none;
}
.school-results-summary__footer .share-link-btn.is-copied .share-link-btn__ico-check {
  display: block;
}

@media (max-width: 1024px) {
  .school-results-summary__footer .share-link-btn {
    gap: 5px;
    width: auto !important;
    min-width: 0 !important;
    height: var(--summary-action-height) !important;
    min-height: var(--summary-action-height) !important;
    padding: 0 9px 0 7px !important;
    border: 0;
    background: linear-gradient(135deg, #25a8ff 0%, #6468ff 54%, #8f4dff 100%);
    box-shadow: 0 3px 8px rgba(83, 83, 232, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: var(--summary-action-font-size) !important;
    font-weight: 800;
    line-height: 1;
  }
  .school-results-summary__footer .share-link-btn::before {
    display: block;
  }
  .school-results-summary__footer .share-link-btn:hover {
    background: linear-gradient(135deg, #25a8ff 0%, #6468ff 54%, #8f4dff 100%);
    box-shadow: 0 5px 12px rgba(83, 83, 232, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    filter: brightness(1.04);
  }
  .school-results-summary__footer .share-link-btn svg {
    width: 14px !important;
    height: 14px !important;
    flex-basis: 14px !important;
  }
  .school-results-summary__footer .share-link-btn .share-link-btn__txt {
    display: inline !important;
  }
  .school-results-summary__footer .share-link-btn.is-copied {
    min-width: calc(var(--share-column-space) - 4px);
    padding-right: 11px !important;
    padding-left: 8px !important;
    background: linear-gradient(135deg, #20c77d, #0fa263);
    box-shadow: 0 3px 8px rgba(17, 168, 102, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    color: #fff;
  }
}
@media (max-width: 900px) {
  body.rating .school-results-summary,
body.rating .sr-tabs,
body.rating .rating__rate-table-wrapper {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.rating .school-results-summary {
    padding: 16px clamp(12px, 3vw, 18px) 16px;
  }

  body.rating .school-results-summary__filter-form .content__form-school-rating-item {
    flex: 1 1 100% !important;
  }

  body.rating .school-results-summary__filter-form .content__form-school-rating-item > span:not(.school-search-input-wrap) {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  body.rating .school-results-summary__filter-form .point__select {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 14px !important;
    line-height: 22px !important;
  }

  body.rating .school-results-summary__copy {
    font-size: 15px;
    line-height: 1.52;
  }

  body.rating .school-results-summary__copy--lead {
    margin-top: 12px;
  }

  body.rating .school-results-summary__metric-label {
    font-size: 13px;
    letter-spacing: 0.03em;
  }

  body.rating .school-results-summary__metric-value {
    font-size: 26px;
  }

  body.rating .sr-tabs__nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    overflow-x: auto;
    padding-top: 3px;
    padding-bottom: 3px;
    -webkit-overflow-scrolling: touch;
  }

  body.rating .sr-tab-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 14px;
    font-size: 16px !important;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.rating .school-diploma {
    width: min(100%, 625px) !important;
    height: auto !important;
    aspect-ratio: 625/443;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14) !important;
  }

  body.rating .rating__rate-table-wrapper {
    overflow-x: auto !important;
    overflow-y: visible;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  body.rating .course-results-table,
body.rating .school__results-table,
body.rating .my__school__results-table {
    min-width: 640px;
  }
}
@media (max-width: 640px) {
  body.rating .school-results-summary__metrics {
    gap: 7px;
  }

  body.rating .school-results-summary__metric {
    padding: 10px 9px 8px;
  }

  body.rating .school-results-summary__metric-label {
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  body.rating .school-results-summary__metric-value {
    font-size: 22px;
  }

  body.rating .school-results-summary__metric-trend {
    font-size: 10.5px !important;
  }
}
.sr-tab-btn {
  border: 2px solid #e5e7eb;
  background: #f3f4f6;
  color: #005980 !important;
  padding: 0.5rem 0.95rem;
  border-radius: 0.5rem 0.5rem 0 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.2s;
  display: inline-block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  text-decoration: none !important;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.sr-tab-btn:link, .sr-tab-btn:visited {
  color: #005980 !important;
  text-decoration: none !important;
}
.sr-tab-btn:hover {
  background: #e5e7eb;
  color: #005980 !important;
  text-decoration: none !important;
}
.sr-tab-btn:focus, .sr-tab-btn:active {
  color: #005980 !important;
  text-decoration: none !important;
  outline: none;
}
.sr-tab-btn.active {
  background: #3da8ff;
  border-color: #0f8ef5;
  color: #fff !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none !important;
}

.sr-tab-pane {
  -webkit-animation: srFade 0.15s ease-out;
          animation: srFade 0.15s ease-out;
}

@-webkit-keyframes srFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes srFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.not__participated__competitions__wrapper {
  width: 100%;
  padding: 25px 16px;
  min-height: auto;
  border-radius: 15px;
}
.not__participated__competitions__wrapper span {
  font-size: 1.2em;
  font-weight: 400;
}
.not__participated__competitions__wrapper ul {
  list-style-type: initial;
  margin-left: 2em;
  margin-bottom: 1.2em;
}
.not__participated__competitions__wrapper p, .not__participated__competitions__wrapper li {
  font-size: 16px;
  font-weight: 600;
}

.new_teacher_wrapper {
  display: flex;
  position: absolute;
  margin-left: -300px;
  margin-top: -2px;
  z-index: 9999;
}
@media screen and (max-width: 900px) {
  .new_teacher_wrapper {
    margin-left: -324px;
  }
}
.new_teacher_wrapper input[type=text] {
  min-width: 300px;
  height: 30px;
  padding: 0 5px;
  border: 2px solid #000;
  border-radius: 0;
}
.new_teacher_wrapper input[type=button] {
  height: 30px;
  border: 1px solid #000;
  border-left: none;
  border-radius: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.td {
  text-decoration: none;
}
.td a {
  text-decoration: none;
}

.content {
  min-height: inherit;
}

.rating__banner {
  margin: 0 auto;
  background-image: url(https://cdn.brainring.co.uk/public/images/banner-blue.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 489px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}
.rating__banner span {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -7px;
}
.rating__banner h2 {
  color: #fff;
  font-family: Pribambas, sans-serif;
  font-size: 37px;
  line-height: 24px;
  text-transform: uppercase;
}
.rating__banner p {
  color: #fff;
  line-height: 15.3px;
  margin-top: 3px;
}

.content__form-school-rating {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 640px;
  width: 100%;
  min-height: auto;
  margin: 0 auto 28px;
  padding: 31px 25px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.content__form-school-rating label {
  display: grid;
  /* Same label column on every row; left-aligned text avoids empty wedge before short labels */
  grid-template-columns: clamp(8.5rem, 20%, 15rem) 1fr;
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
  align-items: center;
  margin-bottom: 10px;
}
.content__form-school-rating label.justify-center {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  grid-template-columns: none;
}
.content__form-school-rating label.justify-center > span:not(.school-search-input-wrap) {
  text-align: center !important;
  white-space: nowrap;
}
.content__form-school-rating label select {
  font-size: 16px;
  min-width: 0;
  width: 100%;
}
.content__form-school-rating label > .select {
  width: 100%;
  min-width: 0;
}
.content__form-school-rating label > span:not(.school-search-input-wrap) {
  line-height: 1.35;
  margin-right: 0;
  min-width: 0;
  text-align: left;
  justify-self: stretch;
}
.content__form-school-rating input[type=text] {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 35px;
  box-sizing: border-box;
}
.content__form-school-rating input[type=checkbox] {
  min-width: 0;
  height: auto;
}
.content__form-school-rating input[type=radio] {
  min-width: 0;
  height: auto;
}

/* Text filter: clear button vertically centered on the input (not the whole label column on mobile) */
.school-search-input-wrap {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
}

.content__form-school-rating label .school-search-input-wrap input[type=text],
.school-search-input-wrap input[type=text] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-right: 40px;
}

.school-search-input-wrap .input-close-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 8px;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  margin: auto 0 !important;
  transform: none;
  padding: 0 !important;
  line-height: 0 !important;
  box-sizing: border-box !important;
}

.rating__filter-search {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  /* School rating: form + protractor aside — space between. International: form only — center block. */
}
.rating__filter-search:has(.rating__filter-search__add-info) {
  justify-content: space-between;
}

.rating__filter-search__add-info {
  margin-right: 25px;
  margin-left: 10px;
}
.rating__filter-search__add-info p:first-child {
  line-height: 22px;
}
.rating__filter-search__add-info p:last-child {
  font-size: 13px !important;
  line-height: 16px;
  margin-top: 10px;
}
.rating__filter-search__add-info p:last-child span {
  color: #008ebb;
}
.rating__filter-search__add-info p:last-child .bolder-p {
  font-weight: 500;
}

.result-decimal {
  font-size: 75%;
  margin-bottom: -3px;
}

.rating__rate-table {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr repeat(3, 60px);
  grid-template-rows: -webkit-max-content repeat(auto-fit, 72px);
  grid-template-rows: max-content repeat(auto-fit, 72px);
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}
.rating__rate-table a {
  bottom: 0;
  right: 0;
  text-decoration: none;
}
.rating__rate-table .th {
  font-size: initial;
  text-align: center;
}
.rating__rate-table .th:nth-child(2) {
  text-align: left;
}
.rating__rate-table .th:nth-child(3), .rating__rate-table .th:nth-child(4), .rating__rate-table .th:nth-child(5) {
  font-size: 15px;
}
.rating__rate-table .tr {
  display: contents;
}
.rating__rate-table .td {
  color: #034561;
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
@media screen and (max-width: 900px) {
  .rating__rate-table .td {
    min-height: 48px;
  }
}
.rating__rate-table .td.number {
  color: #fff;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  align-items: center;
}
.rating__rate-table .td.school {
  background-color: #fff;
  justify-content: left;
  align-items: center;
  position: relative;
  padding: 0 5px;
  text-decoration: none;
}
.rating__rate-table .td.school .school-name {
  width: 100%;
  font-size: 0.9rem;
  line-height: 0.95rem;
  font-weight: 500 !important;
  color: #034561;
  margin: 2px 0;
}
.rating__rate-table .td.school .school-address {
  width: 100%;
  font-size: 0.7rem;
  line-height: 0.85rem;
  margin-bottom: 2px;
  color: #555;
  font-weight: 400;
}
.rating__rate-table .td.school:hover {
  text-decoration: underline;
}
.rating__rate-table .td.school:focus {
  background: #fff;
}
.rating__rate-table .td.school:active {
  background: #fff;
}
.rating__rate-table .td.diploma, .rating__rate-table .td.percentage, .rating__rate-table .td.participants {
  padding-top: 2px;
  font-size: 1.1rem;
  font-weight: 400;
}
.rating__rate-table .row-1 {
  --row-number-bg: #62a82DE5;
  --row-border: #62a82d;
  --row-hover: #ccffaf;
}
.rating__rate-table .row-2 {
  --row-number-bg: #33c5F3E5;
  --row-border: #33c5f3;
  --row-hover: #96e6ff;
}
.rating__rate-table .row-3 {
  --row-number-bg: #feaA3AE5;
  --row-border: #feaa3a;
  --row-hover: #ffdfb4;
}
.rating__rate-table .td.number {
  background-color: var(--row-number-bg);
}
.rating__rate-table .td.school, .rating__rate-table .td.diploma, .rating__rate-table .td.percentage, .rating__rate-table .td.participants {
  border: 1px solid var(--row-border);
}
.rating__rate-table .td.school:hover {
  background: var(--row-hover);
}

.rotate {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  white-space: nowrap;
  width: 12px;
  margin: auto;
}

.international__results-table {
  width: 100%;
  display: grid;
  grid-template-columns: 45px 1fr 1fr 35px 70px 40px 40px;
  grid-template-rows: auto repeat(auto-fit, 72px);
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}
.international__results-table .th {
  font-size: initial;
  text-align: center;
}
.international__results-table .th:nth-child(2) {
  text-align: left;
  justify-content: flex-start;
}
.international__results-table .tr {
  display: contents;
}
.international__results-table .td {
  color: #034561;
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
@media screen and (max-width: 900px) {
  .international__results-table .td {
    min-height: 48px;
  }
}
.international__results-table .td.number {
  color: #fff;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  align-items: center;
}
.international__results-table .td.school {
  background-color: #fff;
  justify-content: left;
  align-items: center;
  position: relative;
  padding: 0 5px;
  text-decoration: none;
}
.international__results-table .td.school .school-name {
  width: 100%;
  font-size: 0.9rem;
  line-height: 0.95rem;
  font-weight: 500 !important;
  color: #034561;
  margin: 2px 0;
}
.international__results-table .td.school .school-address {
  width: 100%;
  font-size: 0.7rem;
  line-height: 0.85rem;
  margin-bottom: 2px;
  color: #555;
  font-weight: 400;
}
.international__results-table .td.school:hover {
  text-decoration: underline;
}
.international__results-table .td.school:focus {
  background: #fff;
}
.international__results-table .td.school:active {
  background: #fff;
}
.international__results-table .td.learner {
  background-color: #fff;
  justify-content: left;
  position: relative;
  text-decoration: none;
}
.international__results-table .td.learner .learner-name {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.25em;
  padding: 2px 5px 2px;
  color: #034561;
}
.international__results-table .td.learner:hover {
  text-decoration: underline;
}
.international__results-table .td.learner:focus {
  background: #fff;
}
.international__results-table .td.learner:active {
  background: #fff;
}
.international__results-table .td.level {
  font-size: 1rem;
  font-weight: 400;
}
.international__results-table .td.score {
  padding-top: 2px;
  font-size: 1.1rem;
  font-weight: 400;
}
.international__results-table .td.result {
  padding-top: 2px;
  font-size: 1.1rem;
  font-weight: 400;
}
.international__results-table .td.degree {
  display: flex;
  font-size: 1.1rem;
  font-family: Tahoma, Verdana, sans-serif;
  justify-content: center;
  align-items: center;
}
.international__results-table .td.degree span {
  padding: 3px 0 0 !important;
}
.international__results-table .td.degree img {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.international__results-table .td.certificate {
  padding: 0;
  display: flex;
  background-color: #fff;
  justify-content: center;
  position: relative;
}
.international__results-table .td.certificate .certificate-name {
  color: #034561;
}
.international__results-table .td.certificate a {
  position: unset;
}
.international__results-table .row-1 {
  --row-number-bg: #62a82DE5;
  --row-border: #62a82d;
  --row-hover: #ccffaf;
}
.international__results-table .row-2 {
  --row-number-bg: #33c5F3E5;
  --row-border: #33c5f3;
  --row-hover: #96e6ff;
}
.international__results-table .row-3 {
  --row-number-bg: #feaA3AE5;
  --row-border: #feaa3a;
  --row-hover: #ffdfb4;
}
.international__results-table .td.number {
  background-color: var(--row-number-bg);
}
.international__results-table .td.school, .international__results-table .td.learner, .international__results-table .td.level, .international__results-table .td.score, .international__results-table .td.result, .international__results-table .td.degree, .international__results-table .td.certificate {
  border: 1px solid var(--row-border);
}
.international__results-table .td.school:hover, .international__results-table .td.learner:hover {
  background: var(--row-hover);
}
.international__results-table .td.certificate:hover {
  background: var(--row-hover);
}

.school__results-table {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr 75px 60px 60px 70px 60px 70px;
  grid-template-rows: -webkit-max-content repeat(auto-fit, 72px);
  grid-template-rows: max-content repeat(auto-fit, 72px);
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}
.school__results-table.small {
  grid-template-columns: 50px 1fr 65px repeat(5, 75px);
}
.school__results-table a {
  bottom: 0;
  right: 0;
  text-decoration: none;
}
.school__results-table .th {
  font-size: initial;
  text-align: center;
}
.school__results-table .th:nth-child(2) {
  text-align: left;
}
.school__results-table .tr {
  display: contents;
}
.school__results-table .td {
  color: #034561;
  text-align: center;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.school__results-table .td.number {
  color: #fff;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding-top: 0;
  align-items: center;
}
.school__results-table .td.learner {
  background-color: #fff;
  justify-content: left;
  position: relative;
  text-align: left;
  text-decoration: none;
}
.school__results-table .td.learner .learner-name {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.25em;
  padding: 2px 5px 2px;
  color: #034561;
}
.school__results-table .td.learner:hover {
  text-decoration: underline;
}
.school__results-table .td.learner:focus {
  background: #fff;
}
.school__results-table .td.learner:active {
  background: #fff;
}
.school__results-table .td.year {
  padding-top: 1px;
  font-size: 0.85rem;
  font-weight: 400;
}
.school__results-table .td.year.small {
  font-size: 0.85rem;
}
.school__results-table .td.level {
  padding-top: 1px;
  font-size: 0.9rem;
  font-weight: 400;
}
.school__results-table .td.score {
  font-size: 1.1rem;
  font-weight: 400;
}
.school__results-table .td.result {
  font-size: 1.1rem;
  font-weight: 400;
}
.school__results-table .td.degree {
  display: flex;
  font-size: 1rem;
  font-family: Tahoma, Verdana, sans-serif;
  justify-content: center;
  align-items: center;
}
.school__results-table .td.degree span {
  padding: 3px 0 0 !important;
}
.school__results-table .td.degree img {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.school__results-table .td.certificate {
  padding-top: 1px;
  display: flex;
  background-color: #fff;
  justify-content: center;
  position: relative;
  color: #ccc;
  text-decoration: none;
}
.school__results-table .td.certificate .certificate-name {
  color: #034561;
}
.school__results-table .td.certificate a {
  position: unset;
}
.school__results-table .row-1 {
  --row-number-bg: #62a82DE5;
  --row-border: #62a82d;
  --row-hover: #ccffaf;
}
.school__results-table .row-2 {
  --row-number-bg: #33c5F3E5;
  --row-border: #33c5f3;
  --row-hover: #96e6ff;
}
.school__results-table .row-3 {
  --row-number-bg: #feaA3AE5;
  --row-border: #feaa3a;
  --row-hover: #ffdfb4;
}
.school__results-table .td.number {
  background-color: var(--row-number-bg);
}
.school__results-table .td.learner, .school__results-table .td.year, .school__results-table .td.level, .school__results-table .td.score, .school__results-table .td.result, .school__results-table .td.degree, .school__results-table .td.certificate {
  border: 1px solid var(--row-border);
}
.school__results-table .td.learner:hover {
  background: var(--row-hover);
}
.school__results-table .td.certificate:hover {
  background: var(--row-hover);
}

.tr--individual-separator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 12px 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8a9bae;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-top: 2px dashed #d4dde6;
}
.tr--individual-separator__icon {
  display: flex;
  align-items: center;
  color: #8a9bae;
}

.tr--individual .td:not(.number) {
  background-color: #f5f7fa !important;
  color: #8a9bae !important;
}
.tr--individual .td.learner .learner-name {
  color: #8a9bae !important;
}
.tr--individual .td.score, .tr--individual .td.result {
  color: #8a9bae !important;
}
.tr--individual .td.learner:hover,
.tr--individual .td.certificate:hover {
  background-color: #edf0f4 !important;
}

.my__school__results-table {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr 70px 60px 55px 65px 40px 55px 80px;
  grid-template-rows: -webkit-max-content repeat(auto-fit, 72px);
  grid-template-rows: max-content repeat(auto-fit, 72px);
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}
.my__school__results-table.small {
  grid-template-columns: 50px 1fr 50px repeat(2, 65px) 70px 40px 70px 100px;
}
.my__school__results-table a {
  bottom: 0;
  right: 0;
}
.my__school__results-table .select {
  width: 100%;
  min-height: auto;
  margin-top: -2px;
}
.my__school__results-table .select select {
  border: 0;
  border-radius: 0;
  min-height: auto;
  line-height: 21px;
  height: 28px;
  font-size: 0.9rem;
  padding: 3px 24px 3px 3px;
}
.my__school__results-table .select::after {
  right: 10px;
}
.my__school__results-table .th {
  font-size: initial;
  text-align: center;
}
.my__school__results-table .th:nth-child(2) {
  text-align: left;
}
.my__school__results-table .tr {
  display: contents;
}
.my__school__results-table .td {
  color: #034561;
  text-align: center;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.my__school__results-table .td.number {
  color: #fff;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding-top: 0;
  align-items: center;
}
.my__school__results-table .td.learner {
  background-color: #fff;
  justify-content: left;
  position: relative;
  text-align: left;
  text-decoration: none;
}
.my__school__results-table .td.learner .learner-name {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.25em;
  padding: 2px 5px 2px;
  color: #034561;
}
.my__school__results-table .td.learner:hover {
  text-decoration: underline;
}
.my__school__results-table .td.learner:focus {
  background: #fff;
}
.my__school__results-table .td.learner:active {
  background: #fff;
}
.my__school__results-table .td.year {
  padding-top: 1px;
  font-size: 0.85rem;
  font-weight: 400;
}
.my__school__results-table .td.year.small {
  font-size: 0.85rem;
}
.my__school__results-table .td.level {
  padding-top: 1px;
  font-size: 0.9rem;
  font-weight: 400;
}
.my__school__results-table .td.score {
  padding-top: 2px;
  font-size: 1.1rem;
  font-weight: 400;
}
.my__school__results-table .td.result {
  padding-top: 2px;
  font-size: 1.1rem;
  font-weight: 400;
}
.my__school__results-table .td.degree {
  display: flex;
  font-family: Tahoma, Verdana, sans-serif;
  justify-content: center;
  align-items: center;
}
.my__school__results-table .td.degree span {
  padding: 3px 0 0 !important;
}
.my__school__results-table .td.degree img {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.my__school__results-table .td.certificate {
  padding-top: 2px;
  display: flex;
  background-color: #fff;
  justify-content: center;
  position: relative;
}
.my__school__results-table .td.certificate .certificate-name {
  color: #034561;
}
.my__school__results-table .td.certificate a {
  position: unset;
}
.my__school__results-table .td.teacher {
  padding-top: 2px;
  border: 1px solid #ccc;
}
.my__school__results-table .row-1 {
  --row-number-bg: #62a82DE5;
  --row-border: #62a82d;
  --row-hover: #ccffaf;
}
.my__school__results-table .row-2 {
  --row-number-bg: #33c5F3E5;
  --row-border: #33c5f3;
  --row-hover: #96e6ff;
}
.my__school__results-table .row-3 {
  --row-number-bg: #feaA3AE5;
  --row-border: #feaa3a;
  --row-hover: #ffdfb4;
}
.my__school__results-table .td.number {
  background-color: var(--row-number-bg);
}
.my__school__results-table .td.learner, .my__school__results-table .td.year, .my__school__results-table .td.level, .my__school__results-table .td.score, .my__school__results-table .td.result, .my__school__results-table .td.degree, .my__school__results-table .td.certificate {
  border: 1px solid var(--row-border);
}
.my__school__results-table .td.learner:hover {
  background: var(--row-hover);
}
.my__school__results-table .td.certificate:hover {
  background: var(--row-hover);
}

.school__teacher__organisers-table {
  width: 500px;
  display: grid;
  grid-template-columns: 53px 345px repeat(2, 206px);
  grid-template-rows: -webkit-max-content repeat(auto-fit, 72px);
  grid-template-rows: max-content repeat(auto-fit, 72px);
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}
.school__teacher__organisers-table a {
  display: flex;
  align-items: center;
}
.school__teacher__organisers-table .th {
  font-size: initial;
  text-align: center;
}
.school__teacher__organisers-table .th:nth-child(2) {
  text-align: left;
}
.school__teacher__organisers-table .td {
  min-height: 38px;
  padding-top: 1px;
  color: #034561;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
.school__teacher__organisers-table .td.number {
  color: #fff;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 36px;
  padding-top: 2px;
  align-items: normal;
  background-color: #33c5F3E5;
}
.school__teacher__organisers-table .td.teacher {
  background-color: #fff;
  justify-content: left;
  position: relative;
  border: 1px solid #33c5f3;
}
.school__teacher__organisers-table .td.teacher .teacher-name {
  font-size: 0.95rem;
  padding: 0 3px 0;
  color: #034561;
  font-weight: 600;
}
.school__teacher__organisers-table .td.teacher:hover {
  background: #96e6ff;
}
.school__teacher__organisers-table .td.teacher:focus {
  background: #fff;
}
.school__teacher__organisers-table .td.teacher:active {
  background: #fff;
}
.school__teacher__organisers-table .td.certificate {
  display: flex;
  background-color: #fff;
  justify-content: center;
  position: relative;
  padding-top: 2px;
  border: 1px solid #33c5f3;
}
.school__teacher__organisers-table .td.certificate a {
  color: #034561;
  position: unset;
}
.school__teacher__organisers-table .td.certificate:hover {
  background: #96e6ff;
}
.school__teacher__organisers-table .td.acknowledgment {
  display: flex;
  background-color: #fff;
  justify-content: center;
  position: relative;
  padding-top: 2px;
  border: 1px solid #33c5f3;
}
.school__teacher__organisers-table .td.acknowledgment a {
  color: #034561;
  position: unset;
}
.school__teacher__organisers-table .td.acknowledgment:hover {
  background: #96e6ff;
}

.school__teachers__with__excellent__student__results-table {
  width: 500px;
  display: grid;
  grid-template-columns: 53px 345px 333px 80px;
  grid-template-rows: -webkit-max-content repeat(auto-fit, 72px);
  grid-template-rows: max-content repeat(auto-fit, 72px);
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}
.school__teachers__with__excellent__student__results-table a {
  display: flex;
  align-items: center;
}
.school__teachers__with__excellent__student__results-table .th {
  font-size: initial;
  text-align: center;
  font-weight: 600;
}
.school__teachers__with__excellent__student__results-table .td {
  min-height: 38px;
  padding-top: 0;
  color: #034561;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
.school__teachers__with__excellent__student__results-table .td.number {
  color: #fff;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding-bottom: 2px;
  align-items: center;
  background-color: #62a82DE5;
}
.school__teachers__with__excellent__student__results-table .td.teacher {
  background-color: #fff;
  justify-content: left;
  position: relative;
  border: 1px solid #62a82d;
}
.school__teachers__with__excellent__student__results-table .td.teacher .teacher-name {
  font-size: 0.95rem;
  padding-left: 5px;
  color: #034561;
  font-weight: 600;
}
.school__teachers__with__excellent__student__results-table .td.teacher:hover {
  background: #ccffaf;
}
.school__teachers__with__excellent__student__results-table .td.teacher:focus {
  background: #fff;
}
.school__teachers__with__excellent__student__results-table .td.teacher:active {
  background: #fff;
}
.school__teachers__with__excellent__student__results-table .td.subject {
  display: flex;
  background-color: #fff;
  justify-content: center;
  position: relative;
  padding-top: 0px;
  border: 1px solid #62a82d;
}
.school__teachers__with__excellent__student__results-table .td.subject a {
  color: #034561;
  position: unset;
}
.school__teachers__with__excellent__student__results-table .td.subject:hover {
  background: #ccffaf;
}
.school__teachers__with__excellent__student__results-table .td.certificate {
  display: flex;
  background-color: #fff;
  justify-content: center;
  position: relative;
  padding-top: 2px;
  border: 1px solid #62a82d;
}
.school__teachers__with__excellent__student__results-table .td.certificate a {
  color: #034561;
  position: unset;
}
.school__teachers__with__excellent__student__results-table .td.certificate:hover {
  background: #ccffaf;
}
.school__teachers__with__excellent__student__results-table .br-cell.br-group--base {
  background-color: #ffffff;
}
.school__teachers__with__excellent__student__results-table .br-cell.br-group--alt {
  background-color: #f7fff7;
}

.bg-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.bg-clouds__cloud-1 {
  position: absolute;
  left: 0;
  top: 20px;
}

.bg-clouds__cloud-2 {
  position: absolute;
  right: 25px;
  top: 20px;
}

.rating {
  background: linear-gradient(0.36deg, #c7fff9 -5.11%, #82d0fd 20.67%, #59b4ff 99.68%);
}

.add-bg__pencils::after {
  position: absolute;
  content: url(https://cdn.brainring.co.uk/public/images/bg_element__pencils.svg);
  right: -130px;
  bottom: 200px;
  z-index: -1;
}

.add-bg__protractor {
  position: relative;
}
.add-bg__protractor::after {
  position: absolute;
  content: url(https://cdn.brainring.co.uk/public/images/bg_element__protractor.svg);
  right: -100px;
  bottom: 50px;
}

.bg-children-goblet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}
.bg-children-goblet .bg-children__boy {
  position: absolute;
  left: 300px;
  bottom: 35px;
}
.bg-children-goblet .bg-children__girl {
  position: absolute;
  left: 60px;
  bottom: 35px;
}
.bg-children-goblet .bg-children__goblet {
  position: absolute;
  right: 70px;
  bottom: 35px;
  z-index: 0;
}
.bg-children-goblet .bg-children__earth {
  position: absolute;
  right: 155px;
  bottom: 15px;
  z-index: -1;
}
.bg-children-goblet .bg-children__kite {
  position: absolute;
  left: 155px;
  bottom: calc(100vh - 520px);
  z-index: -1;
}

.rating__rate-table-wrapper {
  overflow: visible;
  position: relative;
}

.level-filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 0.75rem;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  text-align: center;
}

.level-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#level-filter-wrapper.level-filter-wrapper--only-my-students {
  background-color: #fff8e6 !important;
  border-left: 4px solid #f59e0b;
  padding-left: 12px;
}

.my-students-toggle {
  margin-top: 0;
  display: inline-flex;
  background: #e5e7eb;
  border-radius: 9999px;
  padding: 2px;
  gap: 0;
}

.my-students-toggle__option {
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  text-decoration: none;
  color: #6b7280;
  transition: background-color 0.2s, color 0.2s;
}

.my-students-toggle__option:hover {
  color: #374151;
}

.my-students-toggle__option--active {
  background: #fff;
  color: #ea580c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#level-filter-wrapper.level-filter-wrapper--only-my-students .my-students-toggle__option--active {
  background: #ea580c;
  color: #fff;
}

.bulk-dl {
  position: relative;
  margin: 16px 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 50%, #f1f8e9 100%);
  border: 1px solid #c8e6c9;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}
.bulk-dl__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bulk-dl__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #62A82D, #80cd45);
  box-shadow: 0 2px 6px rgba(98, 168, 45, 0.3);
  flex-shrink: 0;
}
.bulk-dl__label {
  font-weight: 600;
  font-size: 15px;
  color: #4b8022;
  white-space: nowrap;
}
.bulk-dl__select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid #b1e18d;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23407a1a'/%3E%3C/svg%3E") no-repeat right 10px center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  max-width: 260px;
}
.bulk-dl__select:hover {
  border-color: #7acb3d;
}
.bulk-dl__select:focus {
  outline: none;
  border-color: #62A82D;
  box-shadow: 0 0 0 3px rgba(98, 168, 45, 0.18);
}
.bulk-dl__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #62A82D, #4f8824);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  box-shadow: 0 2px 8px rgba(98, 168, 45, 0.25);
  white-space: nowrap;
}
.bulk-dl__btn .spinner {
  width: 18px;
  height: 18px;
  border-width: 3px;
  border-top-color: #fff;
  flex-shrink: 0;
}
.bulk-dl__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.bulk-dl__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(98, 168, 45, 0.35);
}
.bulk-dl__btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(98, 168, 45, 0.2);
}
.bulk-dl__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.bulk-dl__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #569428;
  line-height: 1.4;
  text-align: center;
}
.bulk-dl__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px auto 0;
  max-width: 400px;
}
.bulk-dl__progress.hidden {
  display: none;
}
.bulk-dl__progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(98, 168, 45, 0.15);
  overflow: hidden;
}
.bulk-dl__progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #62A82D, #7acb3d);
  transition: width 0.4s ease;
}
.bulk-dl__progress-text {
  font-size: 12px;
  font-weight: 600;
  color: #4f8824;
  white-space: nowrap;
  min-width: 32px;
}
@media (max-width: 600px) {
  .bulk-dl {
    padding: 14px 16px;
  }
  .bulk-dl__row {
    gap: 8px;
  }
  .bulk-dl__select {
    max-width: 100%;
    width: 100%;
  }
  .bulk-dl__btn {
    width: 100%;
    justify-content: center;
  }
}

.bg-girl-on-books {
  width: 251px;
}

.bg-children__pencils {
  position: absolute;
  right: 20px;
  bottom: 600px;
}

.school-diploma {
  width: 625px;
  height: 443px;
  position: relative;
  overflow: hidden;
  -webkit-animation: placeholder ease-in-out 2s infinite;
          animation: placeholder ease-in-out 2s infinite;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  /* only the diploma image, not the spinner img */
}
@media screen and (max-width: 900px) {
  .school-diploma {
    width: 580px !important;
    height: 403px !important;
    box-shadow: none !important;
  }
}
.school-diploma > img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}
.school-diploma .loading-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.school-diploma.loaded {
  -webkit-animation: none;
          animation: none;
}
@media screen and (max-width: 900px) {
  .school-diploma.loaded {
    width: 580px !important;
    height: 403px !important;
  }
}
.school-diploma.loaded > img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  -webkit-animation: fadeIn linear 0.3s;
          animation: fadeIn linear 0.3s;
}

.chartBox-100 {
  width: 100%;
  height: 420px;
  margin-bottom: 1rem;
  border-radius: 20px;
  border: 3px solid orange;
  background-color: #fff;
}

.chartBox-50 {
  width: 50%;
  height: 410px;
  margin-bottom: 1.45rem;
  border-radius: 20px;
  border: 3px solid orange;
  background-color: #fff;
}
@media screen and (max-width: 900px) {
  .chartBox-50 {
    width: 100%;
  }
}

@-webkit-keyframes placeholder {
  0% {
    background-color: #ccc;
  }
  50% {
    background-color: #eee;
  }
  100% {
    background-color: #ccc;
  }
}

@keyframes placeholder {
  0% {
    background-color: #ccc;
  }
  50% {
    background-color: #eee;
  }
  100% {
    background-color: #ccc;
  }
}
@media screen and (min-width: 901px) and (max-width: 1170px) {
  .content {
    overflow-x: scroll;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .rating__rate-table {
    grid-template-columns: 45px 1fr repeat(3, 50px);
  }
  .rating__rate-table .td.school .school-name {
    font-size: 0.85rem;
    line-height: 0.9rem;
  }
  .rating__rate-table .td.school .school-address {
    font-size: 0.65rem;
    line-height: 0.75rem;
  }

  .school__results-table {
    grid-template-columns: 45px 1fr 65px 50px 50px 60px 50px 60px;
  }
  .school__results-table.small {
    grid-template-columns: 40px 1fr repeat(3, 55px) 75px repeat(2, 60px);
  }
  .school__results-table.small .td.result {
    font-size: 0.95rem !important;
  }
  .school__results-table .td.learner .learner-name {
    font-size: 0.8rem;
    line-height: 0.85rem;
  }

  .my__school__results-table {
    grid-template-columns: 45px 1fr 50px 50px 45px 55px 35px 60px 70px;
  }
  .my__school__results-table.small {
    grid-template-columns: 45px 1fr 50px repeat(2, 55px) 60px 35px 60px 70px;
  }
}
.school-rating-view-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.school-rating-view-controls > div {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  min-width: 0;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .school-rating-view-controls > div {
    gap: 0.5rem;
  }
}
@media screen and (min-width: 901px) {
  .school-rating-view-controls > div {
    flex-wrap: nowrap;
    justify-content: center;
  }
}
@media screen and (min-width: 901px) {
  .school-rating-view-controls {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
}
.school-rating-view-controls .view-toggle-group {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  justify-content: center;
}
.school-rating-view-controls .contest-type-toggle-group {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  justify-content: center;
}
@media screen and (min-width: 901px) {
  .school-rating-view-controls .contest-type-toggle-group {
    margin-left: 0;
  }
}
.school-rating-view-controls .view-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border: 2px solid #0f8ef5;
  border-radius: 0.5rem;
  color: #0f8ef5;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.school-rating-view-controls .view-toggle-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.school-rating-view-controls .view-toggle-btn:hover {
  background: #e6f4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.school-rating-view-controls .view-toggle-btn.active {
  background: #3da8ff;
  border-color: #0f8ef5;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  cursor: default;
}
.school-rating-view-controls .view-toggle-btn.active:hover {
  background: #3da8ff;
}
.school-rating-view-controls .contest-type-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: #fff;
  border: 2px solid #0f8ef5;
  border-radius: 0.5rem;
  color: #0f8ef5;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}
.school-rating-view-controls .contest-type-toggle-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.school-rating-view-controls .contest-type-toggle-btn .tooltiptext {
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10000;
}
.school-rating-view-controls .contest-type-toggle-btn:hover {
  background: #e6f4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.school-rating-view-controls .contest-type-toggle-btn:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.school-rating-view-controls .contest-type-toggle-btn.active {
  background: #3da8ff;
  border-color: #0f8ef5;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  cursor: default;
}
.school-rating-view-controls .contest-type-toggle-btn.active:hover {
  background: #3da8ff;
}
.school-rating-view-controls .contest-type-filter-text-mobile {
  display: none;
  width: 100%;
  text-align: center;
  padding: 0.5rem 1rem;
  background: #e6f4ff;
  border-radius: 0.5rem;
  border: 1px solid #0f8ef5;
  order: 10;
  pointer-events: none;
  position: relative;
  z-index: 0;
}
.school-rating-view-controls .contest-type-filter-text-mobile__text {
  color: #034561;
  font-size: 1.25rem;
  font-weight: 600;
}
@media screen and (min-width: 1050px) {
  .school-rating-view-controls .contest-type-filter-text-mobile {
    display: none !important;
  }
}

.school-rating-view {
  position: relative;
}

.school-rating-map-container {
  width: 100%;
  height: 700px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  background: #f5f5f5;
  position: relative;
  margin-top: 1.75rem;
}
@media screen and (max-width: 900px) {
  .school-rating-map-container {
    height: 600px;
  }
}

.map-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.map-loading p {
  margin-top: 1rem;
  color: #034561;
  font-weight: 600;
}

.map-loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0f8ef5;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
  margin: 0 auto;
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.school-marker {
  background: transparent !important;
  border: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
.school-marker[style*="z-index: 1000"], .school-marker[style*="z-index: 500"] {
  z-index: inherit !important;
}

.leaflet-marker-icon.school-marker {
  z-index: auto !important;
  pointer-events: auto !important;
  display: block !important;
  visibility: visible !important;
}

@media screen and (max-width: 900px) {
  .school-popup-wrapper .leaflet-popup-content-wrapper {
    max-width: calc(100vw - 40px) !important;
    position: relative !important;
  }
  .school-popup-wrapper .leaflet-popup-content {
    margin: 0 !important;
    padding: 0 !important;
  }
  .school-popup-wrapper .leaflet-popup-close-button {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #333 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    z-index: 1000 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .leaflet-marker-icon.school-marker {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .leaflet-popup {
    position: absolute !important;
  }

  .leaflet-popup-pane {
    position: absolute !important;
  }
}
.school-marker-pin {
  position: relative;
  width: 40px;
  height: 50px;
  background: #33c5f3;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.school-marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
}
.school-marker-pin .school-marker-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  color: #034561;
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
}
.school-marker-pin:hover {
  transform: rotate(-45deg) scale(1.15);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.school-marker-pin--gold {
  border: 2px solid #FFA500;
  box-shadow: none;
  filter: none;
}
.school-marker-pin--gold::after {
  width: 30px;
  height: 30px;
}
.school-marker-pin--gold .school-marker-number {
  font-size: 14px;
  color: #FFA500;
  font-weight: 800;
  text-shadow: none;
}
.school-marker-pin--gold:hover {
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}
.school-marker-pin--silver {
  background: #62a82d !important;
  border: 2px solid #4a7d1f;
  box-shadow: none;
  filter: none;
}
.school-marker-pin--silver::after {
  width: 30px;
  height: 30px;
  background: #fff;
}
.school-marker-pin--silver .school-marker-number {
  font-size: 14px;
  color: #4a7d1f;
  font-weight: 800;
  text-shadow: none;
}
.school-marker-pin--silver:hover {
  box-shadow: 0 4px 12px rgba(98, 168, 45, 0.6);
  filter: drop-shadow(0 0 6px rgba(98, 168, 45, 0.7));
}
.school-marker-pin--bronze {
  background: #feaa3a !important;
  border: 2px solid #d98a1f;
  box-shadow: none;
}
.school-marker-pin--bronze::after {
  width: 30px;
  height: 30px;
  background: #fff;
}
.school-marker-pin--bronze .school-marker-number {
  font-size: 14px;
  color: #d98a1f;
  font-weight: 800;
}
.school-marker-pin--bronze:hover {
  box-shadow: 0 4px 12px rgba(254, 170, 58, 0.6);
  filter: drop-shadow(0 0 6px rgba(254, 170, 58, 0.7));
}

.school-popup-wrapper .leaflet-popup-content-wrapper {
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 0;
}
.school-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 0;
}

.school-popup {
  padding: 1.25rem;
  min-width: 280px;
  font-family: inherit;
}
.school-popup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.school-popup-position-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.school-popup-position {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}
.school-popup-award-icon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  -o-object-fit: contain;
     object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.school-popup-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #034561;
  line-height: 1.3;
}
.school-popup-address {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.school-popup-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.625rem;
  background: #f8f9fa;
  border-radius: 0.375rem;
  border: 1px solid #e9ecef;
}
.school-popup-stat {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  background: #fff;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}
.school-popup-stat:hover {
  background: #f8f9fa;
}
.school-popup-stat .stat-label {
  font-size: 0.7rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  white-space: nowrap;
}
.school-popup-stat .stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: #034561;
  white-space: nowrap;
}
.school-popup-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.75rem 1rem;
  background: #3da8ff;
  color: #fff !important;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.school-popup-link:hover {
  background: #2d98ef;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(61, 168, 255, 0.3);
  text-decoration: none !important;
}
.school-popup-link.is-loading {
  pointer-events: none;
  opacity: 0.8;
  background: #2d98ef;
}
.school-popup-link-spinner {
  width: 18px;
  height: 18px;
  -webkit-animation: popup-spin 0.8s linear infinite;
          animation: popup-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@-webkit-keyframes popup-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes popup-spin {
  to {
    transform: rotate(360deg);
  }
}

#school-rating-map .leaflet-container {
  font-family: inherit;
}
#school-rating-map .leaflet-tile {
  filter: grayscale(100%) brightness(95%) contrast(90%);
}
#school-rating-map .leaflet-control-attribution {
  display: none !important;
}
#school-rating-map .leaflet-popup-tip {
  background: #fff;
}
#school-rating-map .marker-cluster {
  background-color: rgba(61, 168, 255, 0.6) !important;
  cursor: pointer !important;
}
#school-rating-map .marker-cluster div {
  background-color: #3da8ff !important;
  color: #fff;
  font-weight: 700;
  cursor: pointer !important;
}
#school-rating-map .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  border-radius: 12px !important;
  overflow: hidden;
}
#school-rating-map .leaflet-control-zoom a {
  width: 48px !important;
  height: 48px !important;
  line-height: 48px !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #0f8ef5 !important;
  background: #fff !important;
  border: 2px solid #0f8ef5 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}
#school-rating-map .leaflet-control-zoom a:hover {
  background: #0f8ef5 !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: scale(1.05);
}
#school-rating-map .leaflet-control-zoom a:active {
  transform: scale(0.95);
}
#school-rating-map .leaflet-control-zoom a.leaflet-control-zoom-in {
  border-bottom: 1px solid #0f8ef5 !important;
  border-radius: 12px 12px 0 0 !important;
}
#school-rating-map .leaflet-control-zoom a.leaflet-control-zoom-out {
  border-top: none !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-radius: 0 0 12px 12px !important;
}
#school-rating-map .leaflet-top.leaflet-left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
}
#school-rating-map .leaflet-top.leaflet-left .leaflet-control-zoom {
  margin: 10px 0 0 10px !important;
  order: 1;
  flex-shrink: 0;
}
#school-rating-map .leaflet-top.leaflet-left .map-search-control {
  margin: 10px 0 0 0 !important;
  order: 2;
  flex: 1;
  min-width: 0;
}

.map-reset-button {
  margin: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-reset-button .map-search-toggle-btn,
.map-reset-button .map-reset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px !important;
  background: #fff;
  border: 2px solid #0f8ef5;
  border-radius: 50%;
  color: #0f8ef5;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  padding: 0;
}
.map-reset-button .map-search-toggle-btn svg,
.map-reset-button .map-reset-btn svg {
  width: 20px;
  height: 20px;
}
.map-reset-button .map-search-toggle-btn:hover,
.map-reset-button .map-reset-btn:hover {
  background: #0f8ef5;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(15, 142, 245, 0.3);
}
.map-reset-button .map-search-toggle-btn:active,
.map-reset-button .map-reset-btn:active {
  transform: scale(0.95);
}
.map-reset-button .map-reset-btn {
  display: none;
}
.map-reset-button .map-search-toggle-btn.active {
  background: #0f8ef5;
  color: #fff;
}
.map-reset-button .map-search-toggle-btn.filtered {
  background: #ff9800;
  border-color: #ff9800;
  color: #fff;
}
.map-reset-button .map-search-toggle-btn.filtered:hover {
  background: #f57c00;
  border-color: #f57c00;
}

.map-search-control {
  margin: 10px 0 0 0;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  display: flex;
  align-items: center;
  min-width: 350px;
  max-width: 500px;
  width: 450px;
  z-index: 1000 !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.map-search-control .map-search-input {
  width: 100%;
  height: 44px;
  padding: 10px 44px 10px 40px;
  border: 2px solid #0f8ef5;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #034561;
  background: #fff;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.map-search-control .map-search-input::-moz-placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.map-search-control .map-search-input:-ms-input-placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.map-search-control .map-search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.map-search-control .map-search-input:focus {
  border-color: #3da8ff;
  box-shadow: 0 0 0 3px rgba(15, 142, 245, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #fff;
}
.map-search-control .map-search-input::-webkit-search-cancel-button {
  display: none;
}
.map-search-control .map-search-input::-ms-clear {
  display: none;
}
.map-search-control .map-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #6b7280;
  pointer-events: none;
  z-index: 1;
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.map-search-control .map-search-icon svg {
  width: 100%;
  height: 100%;
}
.map-search-control:focus-within .map-search-icon {
  color: #3da8ff;
}
.map-search-control .map-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  background: #f3f4f6;
  border: none;
  color: #6b7280;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 2;
  flex-shrink: 0;
}
.map-search-control .map-search-clear:hover {
  background: #e5e7eb;
  color: #034561;
  transform: translateY(-50%) scale(1.1);
}
.map-search-control .map-search-clear:active {
  transform: translateY(-50%) scale(0.95);
}
.map-search-control .map-search-clear svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}
@media screen and (max-width: 900px) {
  .map-search-control {
    margin: 8px 0 0 0;
    min-width: 0;
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
  }
  .map-search-control .map-search-input {
    height: 48px;
    padding: 12px 48px 12px 44px;
    font-size: 1rem;
    border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
  }
  .map-search-control .map-search-icon {
    left: 14px;
    width: 20px;
    height: 20px;
  }
  .map-search-control .map-search-clear {
    right: 10px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
  .map-search-control .map-search-clear svg {
    width: 16px;
    height: 16px;
  }
}
@media screen and (max-width: 480px) {
  .map-search-control {
    margin: 6px 0 0 0;
    min-width: 0;
    max-width: 400px;
    width: 100%;
  }
  .map-search-control .map-search-input {
    height: 44px;
    padding: 10px 44px 10px 40px;
    font-size: 0.95rem;
  }
  .map-search-control .map-search-icon {
    left: 12px;
    width: 18px;
    height: 18px;
  }
  .map-search-control .map-search-clear {
    right: 8px;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }
  .map-search-control .map-search-clear svg {
    width: 14px;
    height: 14px;
  }
}

.map-legend-wrapper {
  position: relative;
}

.map-legend-toggle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px !important;
  background: #fff;
  border: 2px solid #0f8ef5;
  border-radius: 50%;
  color: #0f8ef5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 0;
}
.map-legend-toggle svg {
  width: 20px;
  height: 20px;
}
.map-legend-toggle:hover {
  background: #0f8ef5;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(15, 142, 245, 0.3);
}
.map-legend-toggle:active {
  transform: scale(0.95);
}

.map-legend {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}
.map-legend .map-legend-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.map-legend .map-legend-title {
  font-weight: 700;
  color: #034561;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}
.map-legend .map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.map-legend .map-legend-marker {
  position: relative;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.map-legend .map-legend-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 90%;
  height: 70%;
  background: #fff;
  border-radius: 50%;
}
.map-legend .map-legend-marker span {
  position: relative;
  z-index: 1;
  transform: rotate(45deg);
  font-weight: 700;
}
.map-legend .map-legend-label {
  color: #034561;
  font-weight: 500;
  white-space: nowrap;
}

@media screen and (max-width: 900px) {
  .school-rating-view-controls .view-toggle-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  .school-rating-view-controls .view-toggle-btn svg {
    width: 32px;
    height: 32px;
  }

  .contest-type-toggle-group .contest-type-toggle-btn {
    width: 62px;
  }
  .contest-type-toggle-group .contest-type-toggle-btn svg {
    width: 38px;
    height: 38px;
  }

  .school-popup {
    min-width: 250px;
    padding: 0.75rem;
  }
  .school-popup-header {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .school-popup-position {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .school-popup-award-icon {
    width: 24px;
    height: 24px;
    top: -16px;
  }
  .school-popup-title {
    font-size: 0.85rem;
    line-height: 1.2;
  }
  .school-popup-address {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  .school-popup-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem;
  }
  .school-popup-stats .school-popup-stat {
    padding: 0.2rem 0.3rem;
    gap: 0.25rem;
  }
  .school-popup-stats .school-popup-stat .stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.2px;
  }
  .school-popup-stats .school-popup-stat .stat-value {
    font-size: 0.85rem;
  }
  .school-popup-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .sr-tab-btn {
    font-size: 1.2rem;
    padding: 1rem 0.75rem;
  }

  .td.number {
    font-size: 0.9rem !important;
  }
  .td.learner .learner-name {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-size: 0.9rem !important;
  }

  .rating__filter-search__add-info {
    width: 100%;
    text-align: center;
    margin: 0 !important;
    font-size: 18px !important;
  }

  .rating__filter__note {
    display: none !important;
  }

  .content__form-school-rating {
    max-width: 100%;
    margin: 0 auto 15px;
    padding: 20px 16px;
  }
  .content__form-school-rating label {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .content__form-school-rating label > span:not(.school-search-input-wrap) {
    margin-right: 0 !important;
    margin-bottom: 6px;
    min-width: unset !important;
    text-align: left !important;
  }
  .content__form-school-rating label .select {
    width: 100%;
  }
  .content__form-school-rating label .select select {
    min-width: 100% !important;
    width: 100%;
  }
  .content__form-school-rating label input[type=text] {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .content__form-school-rating label .school-search-input-wrap {
    max-width: 100% !important;
    width: 100%;
  }
  .content__form-school-rating label .school-search-input-wrap input[type=text] {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-right: 52px;
  }
  .content__form-school-rating label .school-search-input-wrap .input-close-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    right: 10px;
  }

  .rating__rate-table-wrapper {
    margin-top: 20px;
  }
  .rating__rate-table-wrapper h3 strong {
    font-size: 0.75em;
    line-height: 1.2em;
  }

  .rating__filter-search {
    flex-wrap: wrap;
  }

  .news-content__difficulty-levels__card {
    padding: 10px 40px 15px !important;
  }

  .content {
    overflow-x: auto;
  }

  .school__teachers__with__excellent__student__results-table {
    font-size: 0.8em;
  }

  .not__participated__competitions__wrapper li {
    font-size: 1.3rem;
  }

  .search-form-hint {
    padding: 12px 16px;
    font-size: 1.05rem;
  }
}
.search-form-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 14px 0 6px;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #005980;
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
  border-radius: 8px;
  border: 1px solid rgba(0, 89, 128, 0.1);
  -webkit-animation: srFade 0.5s ease-out;
          animation: srFade 0.5s ease-out;
}
.search-form-hint svg {
  flex-shrink: 0;
  opacity: 0.6;
  width: 20px;
  height: 20px;
}

.results-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 2px;
  gap: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.scroll-chevron {
  color: #62a82d;
  display: block;
}
.scroll-chevron--1 {
  opacity: 0.3;
  -webkit-animation: scroll-chevron-fade 1.6s ease-in-out infinite;
          animation: scroll-chevron-fade 1.6s ease-in-out infinite;
}
.scroll-chevron--2 {
  margin-top: -4px;
  opacity: 0.7;
  -webkit-animation: scroll-chevron-fade 1.6s ease-in-out 0.3s infinite;
          animation: scroll-chevron-fade 1.6s ease-in-out 0.3s infinite;
}

@-webkit-keyframes scroll-chevron-fade {
  0%, 100% {
    opacity: 0.2;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

@keyframes scroll-chevron-fade {
  0%, 100% {
    opacity: 0.2;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}
@-webkit-keyframes results-arrow-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(6px);
  }
}
@keyframes results-arrow-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(6px);
  }
}
.results-counter-arrow {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 4px;
}
.results-counter-arrow.hidden {
  display: none;
}
.results-counter-arrow svg {
  color: #62a82d;
  -webkit-animation: results-arrow-bounce 1.4s ease-in-out infinite;
          animation: results-arrow-bounce 1.4s ease-in-out infinite;
}

.school-results-summary {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 940px;
  margin: 16px auto;
  padding: 20px 22px 18px;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 62, 108, 0.08);
  color: #17365e;
}
.school-results-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #62a82d, #98c74c 40%, #3da8ff 78%, #0f8ef5);
}
.school-results-summary__heading {
  margin: 2px 0 14px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #17365e;
}
.school-results-summary__filter-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  max-width: none;
  width: 100%;
  margin: 2px 0 14px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.school-results-summary__filter-form .content__form-school-rating-item {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}
.school-results-summary__filter-form .content__form-school-rating-item > span:not(.school-search-input-wrap) {
  flex: 0 0 auto;
  margin: 0;
  min-width: 0 !important;
  color: #17365e;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-align: left !important;
}
.school-results-summary__filter-form .select {
  flex: 1 1 auto;
  min-width: 220px;
  max-width: 560px;
}
.school-results-summary__filter-form .point__select {
  display: block;
  min-width: 0 !important;
  width: 100%;
  height: 34px;
  padding: 4px 42px 4px 20px !important;
  border-color: #cfd8e6;
  border-radius: 999px;
  background-color: #fff;
  color: #17365e;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}
.school-results-summary__filter-form > .flex {
  flex: 1 1 260px;
  margin-left: auto;
}
.school-results-summary__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.school-results-summary__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}
.school-results-summary__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  margin: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 10px 22px rgba(56, 116, 31, 0.16);
}
.school-results-summary__actions svg {
  flex: 0 0 auto;
}
.school-results-summary__tracking {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: auto minmax(0, -webkit-max-content) minmax(12px, 1fr) auto;
  grid-template-columns: auto minmax(0, max-content) minmax(12px, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(151, 203, 244, 0.96);
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, rgba(15, 142, 245, 0.12), rgba(15, 142, 245, 0) 38%), linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.95));
  box-shadow: 0 12px 26px rgba(28, 86, 142, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.school-results-summary__tracking-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 50px;
  max-height: 46px;
  -o-object-fit: contain;
     object-fit: contain;
  justify-self: end;
  filter: drop-shadow(0 6px 10px rgba(28, 86, 142, 0.14));
}
.school-results-summary__tracking-icon {
  display: none;
}
.school-results-summary__tracking-number-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 !important;
}
.school-results-summary__tracking-copy {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(150, 180, 212, 0.86);
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff, #edf6ff);
  color: #205d95;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(28, 86, 142, 0.1);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.school-results-summary__tracking-copy svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.school-results-summary__tracking-copy:hover, .school-results-summary__tracking-copy:focus {
  color: #0f8ef5;
  border-color: rgba(15, 142, 245, 0.54);
  box-shadow: 0 10px 22px rgba(15, 142, 245, 0.18);
  transform: translateY(-1px);
  outline: none;
}
.school-results-summary__tracking-copy.is-copied {
  min-width: 104px;
  width: auto;
  padding: 0 8px;
  color: #287a13;
  border-color: rgba(98, 168, 45, 0.66);
  background: linear-gradient(180deg, #fbfff5, #e9f8db);
  box-shadow: 0 8px 18px rgba(98, 168, 45, 0.18);
}
.school-results-summary__tracking-copy-check {
  display: none;
}
.school-results-summary__tracking-copy.is-copied .school-results-summary__tracking-copy-icon {
  display: none;
}
.school-results-summary__tracking-copy.is-copied .school-results-summary__tracking-copy-check {
  display: block;
}
.school-results-summary__tracking-copy-text {
  display: none;
  min-width: 38px;
  padding: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-align: left;
  white-space: nowrap;
}
.school-results-summary__tracking-copy.is-copied .school-results-summary__tracking-copy-text {
  display: inline-block;
}
.school-results-summary__tracking-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 0 !important;
}
.school-results-summary__tracking-label {
  color: #5b6c87;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2 !important;
  padding: 0 !important;
}
.school-results-summary__tracking-number {
  color: #17365e;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.school-results-summary__tracking-link {
  box-sizing: border-box;
  display: inline-flex;
  grid-column: 4;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #f3f9ee);
  border: 1px solid rgba(98, 168, 45, 0.46);
  color: #3f7f1b;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 22px rgba(76, 148, 31, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.school-results-summary__tracking-link:hover, .school-results-summary__tracking-link:focus {
  color: #2f6811;
  text-decoration: none;
  background: linear-gradient(135deg, #fafff5, #e8f7dc);
  box-shadow: 0 12px 26px rgba(76, 148, 31, 0.18);
  transform: translateY(-1px);
}
.school-results-summary__metric {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  isolation: isolate;
  overflow: visible;
  padding: 12px 12px 6px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.92)), linear-gradient(135deg, rgba(61, 168, 255, 0.1), rgba(255, 255, 255, 0));
  border: 1px solid rgba(204, 219, 238, 0.86);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(34, 84, 137, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.school-results-summary__metric::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 13px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 48%), linear-gradient(330deg, rgba(15, 142, 245, 0.08), rgba(15, 142, 245, 0) 58%);
  pointer-events: none;
}
.school-results-summary__metric:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 242, 0.94)), linear-gradient(135deg, rgba(98, 168, 45, 0.11), rgba(255, 255, 255, 0));
  border-color: rgba(202, 225, 184, 0.92);
}
.school-results-summary__metric:nth-child(2)::before {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 48%), linear-gradient(330deg, rgba(98, 168, 45, 0.1), rgba(98, 168, 45, 0) 58%);
}
.school-results-summary__metric:nth-child(3) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.94)), linear-gradient(135deg, rgba(255, 146, 0, 0.12), rgba(255, 255, 255, 0));
  border-color: rgba(242, 219, 190, 0.94);
}
.school-results-summary__metric:nth-child(3)::before {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 48%), linear-gradient(330deg, rgba(255, 146, 0, 0.11), rgba(255, 146, 0, 0) 58%);
}
.school-results-summary__metric:hover {
  z-index: 5;
  transform: translateY(-3px);
  border-color: rgba(169, 197, 229, 0.96);
  box-shadow: 0 18px 38px rgba(34, 84, 137, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.school-results-summary__metric-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(68, 84, 111, 0.9);
}
.school-results-summary__metric-data {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
}
.school-results-summary__metric-value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #17365e;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.school-results-summary__metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0 !important;
  font-size: 11.5px !important;
  font-weight: 800;
  line-height: 1 !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.school-results-summary__metric-trend-value {
  font-size: inherit !important;
  line-height: inherit !important;
  padding: 0 !important;
}
.school-results-summary__metric-trend.tooltip {
  cursor: help;
}
.school-results-summary__metric-trend.tooltip .tooltiptext {
  bottom: calc(100% + 14px);
}
.school-results-summary__metric-trend.tooltip:hover .tooltiptext, .school-results-summary__metric-trend.tooltip:focus .tooltiptext {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%);
}
.school-results-summary__metric-trend.is-up {
  color: #087a3b;
}
.school-results-summary__metric-trend.is-down {
  color: #b82e2a;
}
.school-results-summary__metric-trend.is-same {
  color: #65748e;
}
.school-results-summary__metric-trend-arrow {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}
.school-results-summary__details {
  margin-top: 8px;
}
.school-results-summary__details > summary::-webkit-details-marker {
  display: none;
}
.school-results-summary__details[open] .school-results-summary__details-chevron {
  transform: rotate(180deg);
}
.school-results-summary__details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #d7e6f5;
  background: #f3f9ff;
  color: #005980;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  list-style: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.school-results-summary__details-toggle:hover {
  background: #e7f3fe;
  border-color: #bcd9f2;
}
.school-results-summary__details-toggle:focus-visible {
  outline: 2px solid #3da8ff;
  outline-offset: 2px;
}
.school-results-summary__details-toggle span {
  display: inline;
  padding: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit;
}
.school-results-summary__details-chevron {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}
.school-results-summary__copy {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #dde7f2;
  color: #44546f;
  font-size: 14px;
  line-height: 1.55;
  -webkit-animation: srFade 0.18s ease-out;
          animation: srFade 0.18s ease-out;
}
.school-results-summary__copy p {
  margin: 0 0 8px;
  font-size: inherit;
  line-height: inherit;
}
.school-results-summary__copy p:last-child {
  margin-bottom: 0;
}
.school-results-summary__copy--lead {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
  -webkit-animation: none;
          animation: none;
}
.school-results-summary__footer {
  --share-column-space: 138px;
  --share-column-gap: 10px;
  --summary-action-font-size: 13.5px;
  --summary-action-height: 30px;
  display: grid;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: var(--summary-action-height);
  margin-top: 4px;
}
.school-results-summary__footer .school-results-summary__details {
  display: block;
  width: 100%;
  margin-top: 0;
}
.school-results-summary__footer .school-results-summary__details-toggle {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: calc(100% - var(--share-column-space) - var(--share-column-gap));
  min-height: var(--summary-action-height);
  font-size: var(--summary-action-font-size) !important;
}
.school-results-summary__footer .school-results-summary__details > .school-results-summary__copy {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
}
@media (max-width: 900px) {
  .school-results-summary {
    margin: 14px auto;
    padding: 18px 16px 16px;
    border-radius: 14px;
  }
  .school-results-summary__metric-value {
    font-size: 23px;
  }
  .school-results-summary__metric-label {
    font-size: 12px;
    letter-spacing: 0.045em;
  }
  .school-results-summary__metric-trend {
    font-size: 11px !important;
  }
  .school-results-summary__metric-trend-arrow {
    width: 11px;
    height: 11px;
  }
  .school-results-summary__tracking {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(54px, 64px) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }
  .school-results-summary__tracking-link {
    grid-column: 1/-1;
    width: 100%;
  }
  .school-results-summary__details-toggle {
    font-size: 15px;
  }
  .school-results-summary__footer {
    --share-column-space: 132px;
    --share-column-gap: 8px;
    --summary-action-font-size: 12px;
    --summary-action-height: 28px;
    width: min(100%, 100vw);
    max-width: 100vw;
  }
  .school-results-summary__footer .school-results-summary__details,
.school-results-summary__footer .school-results-summary__details-toggle,
.school-results-summary__footer .school-results-summary__details > .school-results-summary__copy {
    min-width: 0;
  }
  .school-results-summary__filter-form .content__form-school-rating-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .school-results-summary__filter-form .content__form-school-rating-item > span:not(.school-search-input-wrap) {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .school-results-summary__filter-form .select {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }
}
@media (max-width: 640px) {
  .school-results-summary {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 16px 12px 14px;
  }
  .school-results-summary__heading {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .school-results-summary__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .school-results-summary__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }
  .school-results-summary__actions .btn {
    min-height: 42px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
  .school-results-summary__tracking {
    display: grid;
    width: 100%;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 10px;
  }
  .school-results-summary__tracking-logo {
    justify-self: end;
    max-width: 52px;
    max-height: 48px;
  }
  .school-results-summary__tracking-number-row {
    align-items: center;
  }
  .school-results-summary__tracking-label {
    font-size: 12.5px;
  }
  .school-results-summary__tracking-number {
    font-size: 16px;
  }
  .school-results-summary__tracking-link {
    grid-column: 1/-1;
    width: 100%;
    min-height: 38px;
  }
  .school-results-summary__metric {
    gap: 2px;
    padding: 12px 12px 6px;
    border-radius: 10px;
  }
  .school-results-summary__metric::before {
    border-radius: 9px;
  }
  .school-results-summary__metric-label {
    font-size: 11.5px;
    letter-spacing: 0.04em;
  }
  .school-results-summary__metric-value {
    font-size: 17px;
  }
  .school-results-summary__metric-trend {
    font-size: 11px !important;
  }
  .school-results-summary__metric-trend-arrow {
    width: 11px;
    height: 11px;
  }
  .school-results-summary__details-toggle {
    justify-content: flex-start;
    box-sizing: border-box;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 14px;
  }
  .school-results-summary__footer {
    --share-column-space: 132px;
    --share-column-gap: 8px;
    --summary-action-font-size: 12px;
    --summary-action-height: 28px;
    row-gap: 8px;
    width: min(100%, 100vw);
    max-width: 100vw;
  }
  .school-results-summary__footer .school-results-summary__details-toggle {
    width: auto;
    min-height: var(--summary-action-height);
    padding: 6px 10px;
    font-size: var(--summary-action-font-size) !important;
  }
  .school-results-summary__footer .school-results-summary__details > .school-results-summary__copy {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
  }
  .school-results-summary__filter-form {
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }
  .school-results-summary__filter-form .content__form-school-rating-item {
    flex: 1 1 auto;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .school-results-summary__filter-form .content__form-school-rating-item > span:not(.school-search-input-wrap) {
    flex: 0 0 auto !important;
    font-size: 15px;
    white-space: nowrap !important;
  }
  .school-results-summary__filter-form .select {
    flex: 1 1 auto !important;
    max-width: none;
    min-width: 0 !important;
    width: auto !important;
  }
  .school-results-summary__filter-form .point__select {
    min-width: 0 !important;
    padding: 4px 42px 4px 20px !important;
  }
}

body.rating .school-results-summary__footer {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: var(--summary-action-height) !important;
}

body.rating .school-results-summary__footer .school-results-summary__details {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
}

body.rating .school-results-summary__footer .school-results-summary__details-toggle {
  box-sizing: border-box !important;
  width: -webkit-max-content !important;
  width: -moz-max-content !important;
  width: max-content !important;
  max-width: calc(100% - var(--share-column-space) - var(--share-column-gap)) !important;
  min-height: var(--summary-action-height) !important;
  font-size: var(--summary-action-font-size) !important;
}

body.rating .school-results-summary__footer .school-results-summary__details > .school-results-summary__copy {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.rating .school-results-summary__footer .share-link-btn {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
  width: auto !important;
  max-width: var(--share-column-space) !important;
  height: var(--summary-action-height) !important;
  min-height: var(--summary-action-height) !important;
  margin: 0 !important;
  font-size: var(--summary-action-font-size) !important;
}
