body{font:16px/1.6 system-ui,sans-serif;color:#203449;margin:0}header,main,body>h1,body>ul{padding:1rem 2rem}header{background:#eaf1f8}nav{margin-top:.5rem}a{color:#174f89}img{max-width:100%;height:auto}.table-scroll{overflow:auto}table{border-collapse:collapse;max-width:100%}td,th{padding:.5rem;border-bottom:1px solid #cdd6e0;text-align:left}input,button{font:inherit;padding:.4rem}th input{width:9rem}th button{cursor:pointer}.thumb{max-width:100%}.thumbcaption{font-size:.9rem}.gallery{display:flex;flex-wrap:wrap;gap:1rem;list-style:none}.gallerybox{max-width:100%}

/* Shared footer for all pages */
.site-footer {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem 1rem;
  font-size: 0.875rem;
  text-align: right;
  color: #001a33;
}

.site-footer p {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-size: inherit;
  text-align: right;
}

/* Merged page-specific styles: chapters and conventions */

/* Chapters */
/* Chapters-only colors inspired by the landing page. */
body.chapters-page {
  background: #e7eef8;
  color: #193552;
}

.chapters-page main {
  background-color: #e7eef8;
}

.chapters-page h1,
.chapters-page h2 {
  color: #194784;
}

.chapters-page a {
  color: #194784;
}

.chapters-page #chapters {
  background: #ffffff;
}

.chapters-page #chapters thead th {
  background: #d5e2f3;
  color: #193552;
}

.chapters-page #chapters tbody tr {
  background: #ffffff;
}

.chapters-page #chapters tbody tr:nth-child(even) {
  background: #f1f6fc;
}

.chapters-page #chapters tbody td {
  background-color: transparent;
}

.chapters-page #chapters tbody tr:hover {
  background: #dfeafa;
}

.chapters-page #chapters thead button {
  color: #194784;
}

.chapters-page input {
  background-color: #ffffff;
  color: #193552;
  border: 1px solid #7894b8;
}

.chapters-page #export-chapters {
  background: #194784;
  color: #ffffff;
  border: 1px solid #194784;
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
}

.chapters-page #export-chapters:hover {
  background: #123663;
}

/* Conventions */
/* Scoped to conventions; Chapters styling is unchanged. */
#conventions { background:#fff; width:100%; border-collapse:collapse; }
#conventions thead th { background:#d5e2f3; color:#193552; }
#conventions tbody tr { background:#fff; }
#conventions tbody tr:nth-child(even) { background:#f1f6fc; }
#conventions tbody tr:hover { background:#dfeafa; }
#conventions tbody td { background-color:transparent; }
#conventions th, #conventions td { padding:0.5rem; }
#conventions thead button { color:#194784; cursor:pointer; }
#conventions-tools { margin:1rem 0; color:#193552; }
#conventions-tools input, #conventions thead input { background:#fff; color:#193552; border:1px solid #7894b8; padding:0.35rem; }
#conventions thead input { width:100%; min-width:5rem; box-sizing:border-box; }
#export-conventions { background:#194784; color:#fff; border:1px solid #194784; border-radius:5px; padding:6px 12px; cursor:pointer; }
#export-conventions:hover { background:#123663; }
#conventions [hidden] { display:none !important; }
#conventions .convention-note-cell { position:relative; }
#conventions .convention-note { background:#194784; color:#fff; border:0; border-radius:50%; width:1.5rem; height:1.5rem; font-weight:bold; cursor:help; }
#conventions .convention-note:focus-visible { outline:3px solid #7894b8; outline-offset:2px; }
#conventions .convention-tooltip { display:none; position:absolute; top:100%; left:0; z-index:20; width:16rem; max-width:70vw; background:#001a33; color:#fff; padding:0.65rem; border-radius:4px; font-size:0.875rem; font-weight:normal; text-align:left; box-shadow:0 2px 6px #0004; }
#conventions .convention-note-cell:not(.note-dismissed):hover .convention-tooltip,
#conventions .convention-note-cell:not(.note-dismissed):focus-within .convention-tooltip { display:block; }
#conventions .convention-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  vertical-align: middle;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: bold;
  font-style: normal;
  line-height: 1;
}

/* Alumnae achievement table controls */
#alumnae-awards {
  width: 100%;
  background: #fff;
}
#alumnae-awards thead th {
  background: #d5e2f3;
  color: #193552;
}
#alumnae-awards tbody tr:nth-child(even) { background: #f1f6fc; }
#alumnae-awards tbody tr:hover { background: #dfeafa; }
#alumnae-awards [hidden] { display: none !important; }
#alumnae-awards thead button { color: #194784; cursor: pointer; }
#alumnae-awards thead input {
  width: 100%;
  min-width: 5rem;
  box-sizing: border-box;
}
#awards-tools { margin: 1rem 0; color: #193552; }
#awards-tools input,
#alumnae-awards thead input {
  background: #fff;
  color: #193552;
  border: 1px solid #7894b8;
}
#export-awards {
  background: #194784;
  color: #fff;
  border: 1px solid #194784;
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
}
#export-awards:hover { background: #123663; }

/* Loyalty award table controls */
#loyalty-table { width: 100%; background: #fff; }
#loyalty-table thead th {
  background: #d5e2f3;
  color: #193552;
}
#loyalty-table tbody tr:nth-child(even) { background: #f1f6fc; }
#loyalty-table tbody tr:hover { background: #dfeafa; }
#loyalty-table [hidden] { display: none !important; }
#loyalty-table thead button { color: #194784; cursor: pointer; }
#loyalty-table thead input {
  width: 100%;
  min-width: 5rem;
  box-sizing: border-box;
}
#loyalty-tools { margin: 1rem 0; color: #193552; }
#loyalty-tools input,
#loyalty-table thead input {
  background: #fff;
  color: #193552;
  border: 1px solid #7894b8;
}
#export-loyalty {
  background: #194784;
  color: #fff;
  border: 1px solid #194784;
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
}
#export-loyalty:hover { background: #123663; }

/* Loyalty images with captions to the right */
.loyalty-media {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
  margin: 1rem 0;
}
.loyalty-media > a.image {
  display: block;
  flex: 0 0 auto;
}
.loyalty-media > a.image img {
  display: block;
}
.loyalty-media > .thumbcaption {
  flex: 1;
  min-width: 0;
  margin: 0;
}
