/* College explorer — tool-only styles. Prefixed `ex-` so nothing here can
   reach the rest of the site, and nothing in the site stylesheet reaches in. */

.ex-ask { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 14px; }
.ex-ask--filters { margin-top: 12px; }
@media (max-width: 820px) { .ex-ask { grid-template-columns: repeat(2, 1fr); } }
.ex-ask label { display: block; font-weight: 700; color: var(--ink); font-size: .78rem; margin-bottom: 5px; }
.ex-ask--filters label { color: var(--ink-500); font-weight: 600; }
.ex-ask input, .ex-ask select {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .94rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px;
}
.ex-ask--filters select { background: var(--surface-2); }
.ex-ask input:focus, .ex-ask select:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }

.ex-find {
  width: 100%; margin-top: 12px; padding: 11px 14px; font: inherit; font-size: .94rem;
  border: 1px solid var(--line-2); border-radius: 10px;
}
.ex-find:focus { outline: 2px solid var(--primary); outline-offset: 1px; }

.ex-count { margin: 22px 0 14px; font-size: .92rem; color: var(--ink-500); }
.ex-count b { color: var(--ink); font-weight: 800; }
.ex-reset {
  font: inherit; font-size: .86rem; font-weight: 700; background: none; border: 0;
  color: var(--primary); cursor: pointer; padding: 0; margin-left: 8px;
}

.ex-college {
  border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px;
  overflow: hidden; background: #fff;
}
.ex-college__head {
  display: flex; align-items: baseline; gap: 10px; padding: 13px 18px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.ex-college__head h3 { margin: 0; font-size: .98rem; font-weight: 800; }
.ex-college__head h3::before { display: none; }
.ex-college__head span { font-size: .8rem; color: var(--ink-400); font-weight: 600; margin-left: auto; }

.ex-b {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.ex-b:last-of-type { border-bottom: 0; }
.ex-b:hover { background: var(--surface-2); }
.ex-b__n { font-weight: 650; color: var(--ink); font-size: .92rem; flex: 1; min-width: 0; }
.ex-b__n i { font-style: normal; font-weight: 600; color: var(--ink-400); font-size: .8rem; }
.ex-b__r { font-variant-numeric: tabular-nums; font-size: .86rem; color: var(--ink-500); white-space: nowrap; }
.ex-b__t { font-size: .71rem; font-weight: 800; padding: 4px 9px; border-radius: 5px; white-space: nowrap; }
.ex-t-late { background: var(--primary-100); color: var(--primary); }
.ex-t-miss { background: var(--rose-100); color: var(--rose); }

.ex-det { padding: 2px 18px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.ex-rr { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 8px; }
.ex-rr div { text-align: center; }
.ex-rr span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-400); font-weight: 700; }
.ex-rr b { font-variant-numeric: tabular-nums; font-size: .92rem; color: var(--ink); }
.ex-rr .ex-on b { color: var(--primary); }
.ex-det p { margin: 0; font-size: .85rem; color: var(--ink-700); }

.ex-more {
  display: block; width: 100%; margin-top: 6px; padding: 13px; font: inherit;
  font-size: .9rem; font-weight: 700; background: #fff; border: 1px solid var(--line-2);
  border-radius: 10px; color: var(--ink); cursor: pointer;
}
.ex-more:hover { border-color: var(--primary); color: var(--primary); }
.ex-split {
  margin: 34px 0 12px; font-size: .82rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-400);
}
.ex-empty { padding: 36px 18px; text-align: center; color: var(--ink-400); }

@media (max-width: 560px) {
  .ex-b { flex-wrap: wrap; gap: 6px 12px; }
  .ex-b__n { flex-basis: 100%; }
}
