:root {
  --ink: #152e38;
  --muted: #66767c;
  --line: #dce3e2;
  --paper: #f5f5ef;
  --green: #1d5145;
  --accent: #cd7448;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.5 "Segoe UI",Arial,sans-serif;
}

a {
  color: inherit;
}

button, input, select {
  font: inherit;
}

.page {
  max-width: 1540px;
  margin: auto;
  padding: 0 48px;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid #cfd9d5;
}

.brand {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.6px;
}

.brand span {
  color: var(--green);
  margin-right: 12px;
}

.edition {
  font-size: 12px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  padding: 44px 0 36px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  font-size: 10px;
  color: var(--muted);
}

.hero .eyebrow {
  color: var(--green);
  font-size: 11px;
}

.hero h1 {
  font: normal 56px/1.08 Georgia,serif;
  letter-spacing: -1.8px;
  margin: 15px 0 18px;
  max-width: 700px;
}

.hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.hero-right {
  padding: 7px 0 4px 30px;
  border-left: 1px solid #cfd9d5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-right .number {
  font: normal 76px/1 Georgia,serif;
  color: var(--green);
  letter-spacing: -3px;
}

.number-label {
  font-size: 14px;
  margin: 9px 0 20px;
}

.format-counts {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

.format-counts b {
  color: var(--ink);
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 24px;
  font-size: 13px;
}

.stats b {
  font-size: 20px;
  margin-right: 7px;
  color: var(--green);
}

.toolbar {
  position: sticky;
  top: 0;
  background: rgba(245,245,239,.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 4;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search {
  position: relative;
  flex: 1;
}

.search svg {
  position: absolute;
  left: 15px;
  top: 14px;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

input {
  width: 100%;
  height: 46px;
  background: #fff;
  border: 1px solid #ccd7d2;
  padding: 0 14px 0 43px;
  border-radius: 7px;
  color: var(--ink);
}

input:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

select {
  height: 46px;
  border: 1px solid #ccd7d2;
  border-radius: 7px;
  background: white;
  padding: 0 34px 0 12px;
  color: var(--ink);
  max-width: 210px;
}

.print {
  height: 46px;
  padding: 0 15px;
  border: 1px solid #ccd7d2;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.body-grid {
  display: grid;
  grid-template-columns: 260px minmax(0,1fr);
  gap: 32px;
  margin: 26px 0 60px;
}

.sidebar {
  position: sticky;
  top: 91px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding-right: 12px;
  scrollbar-width: thin;
}

.sidebar-label {
  margin: 0 10px 12px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.nav-item {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.4;
  color: #4e6368;
}

.nav-item:hover {
  background: #e4eae2;
  color: var(--green);
}

.nav-item b {
  font-size: 10px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  background: #e4eae2;
  padding: 1px 5px;
  border-radius: 4px;
}

.result-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 16px;
  padding: 0 2px;
}

.result-line b {
  color: var(--green);
}

.faculty-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 22px;
  overflow: hidden;
  box-shadow: 0 3px 8px #173f3210;
  scroll-margin-top: 95px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 23px 24px 21px;
}

.faculty-index {
  font-family: Georgia,serif;
  font-size: 22px;
  color: var(--accent);
  min-width: 29px;
}

.card-head h2 {
  font: normal 23px/1.25 Georgia,serif;
  margin: 5px 0 0;
  letter-spacing: -.3px;
}

.card-count {
  margin-left: auto;
  white-space: nowrap;
  padding-left: 12px;
  font-size: 12px;
  color: var(--muted);
}

.card-count b {
  font-size: 18px;
  color: var(--green);
  margin-right: 3px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 650;
  letter-spacing: 1px;
  color: var(--muted);
  background: #f7f8f5;
  padding: 11px 24px;
}

th:first-child {
  width: 66%;
}

th:nth-child(2) {
  width: 21%;
  padding-left: 10px;
}

th:last-child {
  width: 13%;
}

td {
  border-top: 1px solid #e8ece7;
  padding: 15px 24px;
  vertical-align: middle;
}

tr:hover td {
  background: #fafbf8;
}

.document {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.file-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 42px;
  border: 1px solid;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .2px;
}

.pdf {
  background: #fcf0eb;
  border-color: #edcabb;
  color: #a54e2d;
}

.excel {
  background: #eaf3ec;
  border-color: #bdd5c2;
  color: #36724b;
}

.doc-info {
  min-width: 0;
}

.doc-name {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.doc-meta {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 400;
}

.doc-meta span {
  padding: 0 5px;
  color: #9ca9ab;
}

.period {
  color: var(--muted);
  font-size: 12px;
  padding-left: 10px;
  padding-right: 10px;
}

.open {
  text-align: right;
  padding-left: 0;
  padding-right: 24px;
}

.open a {
  font-size: 11px;
  color: var(--green);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.open a:hover {
  text-decoration: underline;
}

.open span {
  font-size: 15px;
  margin-left: 3px;
}

.empty {
  padding: 60px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}

.empty h2 {
  font: normal 28px Georgia,serif;
}

.empty p {
  color: var(--muted);
}

.reset {
  border: 0;
  background: var(--green);
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #cfd9d5;
  padding: 23px 0 30px;
  color: var(--muted);
  font-size: 11px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none!important;
}

@media(min-width:1600px) {
  .hero h1 {
    font-size: 64px;
  }

}

@media(max-width:1050px) {
  .page {
    padding: 0 24px;
  }

  .body-grid {
    grid-template-columns: 205px minmax(0,1fr);
    gap: 20px;
  }

  .card-head {
    padding: 20px 18px;
  }

  .card-head h2 {
    font-size: 21px;
  }

  td, th {
    padding-left: 18px;
    padding-right: 18px;
  }

  .open {
    padding-right: 18px;
  }

  .hero {
    grid-template-columns: 1fr 240px;
    gap: 25px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-right .number {
    font-size: 67px;
  }

  .nav-item {
    font-size: 11px;
  }

  th:first-child {
    width: 64%;
  }

}

@media(max-width:760px) {
  .page {
    padding: 0 17px;
  }

  .masthead {
    padding: 19px 0;
  }

  .brand {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .brand span {
    margin-right: 7px;
  }

  .edition {
    font-size: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -1.2px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-right {
    border-left: 0;
    border-top: 1px solid #cfd9d5;
    padding: 20px 0 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: center;
  }

  .hero-right .number {
    font-size: 55px;
    grid-row: span 2;
  }

  .number-label {
    margin: 0;
  }

  .format-counts {
    font-size: 12px;
  }

  .stats {
    gap: 18px;
    font-size: 11px;
  }

  .stats b {
    font-size: 18px;
  }

  .toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
  }

  .search {
    flex-basis: 100%;
  }

  select {
    flex: 1;
    max-width: none;
    font-size: 12px;
    height: 39px;
  }

  .print {
    font-size: 12px;
    height: 39px;
  }

  .body-grid {
    display: block;
    margin-top: 18px;
  }

  .sidebar {
    display: none;
  }

  .result-line {
    font-size: 11px;
  }

  .card-head {
    gap: 10px;
    padding: 18px 14px;
  }

  .card-head h2 {
    font-size: 21px;
  }

  .faculty-index {
    font-size: 18px;
    min-width: 21px;
  }

  .card-count {
    font-size: 10px;
    padding-left: 5px;
  }

  .card-count b {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 8px;
  }

  .faculty-card {
    border-radius: 8px;
    scroll-margin-top: 150px;
  }

  th {
    padding: 9px 14px;
    font-size: 9px;
  }

  th:first-child {
    width: 72%;
  }

  th:nth-child(2) {
    width: 28%;
  }

  th:last-child, .open {
    display: none;
  }

  td {
    padding: 13px 14px;
  }

  .period {
    font-size: 10px;
    padding: 10px;
  }

  .doc-name {
    font-size: 12px;
  }

  .doc-meta {
    font-size: 10px;
  }

  .file-icon {
    width: 28px;
    height: 35px;
    font-size: 8px;
  }

  .document {
    gap: 10px;
  }

  .footer {
    gap: 20px;
    font-size: 10px;
  }

}

@media print {
  body {
    background: #fff;
    font-size: 10pt;
  }

  .page {
    max-width: none;
    padding: 0;
  }

  .sidebar, .toolbar, .open, .footer, .edition {
    display: none;
  }

  .hero {
    padding: 20px 0;
    grid-template-columns: 1fr 180px;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero p {
    font-size: 11px;
  }

  .hero-right .number {
    font-size: 45px;
  }

  .stats {
    margin-top: 10px;
  }

  .body-grid {
    display: block;
  }

  .faculty-card {
    box-shadow: none;
    margin-bottom: 16px;
    break-inside: auto;
  }

  .card-head {
    break-after: avoid;
    padding: 14px;
  }

  .card-head h2 {
    font-size: 19px;
  }

  .file-row {
    break-inside: avoid;
  }

  td, th {
    padding: 9px 14px;
  }

  a {
    text-decoration: none;
  }

  .doc-name {
    font-size: 10px;
  }

  .doc-meta, .period {
    font-size: 9px;
  }

  .file-icon {
    width: 27px;
    height: 31px;
  }

  .masthead {
    padding: 10px 0;
  }

  thead {
    display: table-header-group;
  }

}
