/* Rights monthly editions and student feedback. Motion stays within this module. */
.rs-page {
  --rs-green: #175e4b;
  --rs-paper: #faf8f1;
  --rs-ink: #182c25;
  color: var(--rs-ink);
  min-width: 0;
}
.rs-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 23px;
}
.rs-page-heading h2 {
  font-size: clamp(27px, 3vw, 34px);
  letter-spacing: -1.5px;
  margin: 8px 0 12px;
}
.rs-page-heading h2 > span {
  color: #d0b94f;
}
.rs-page-heading p {
  color: #64736b;
  font-size: 14px;
  margin: 0;
}

.rs-tabs {
  display: flex;
  border-bottom: 1px solid #ccd4ca;
  gap: 32px;
  margin-bottom: 24px;
}
.rs-tabs button {
  appearance: none;
  background: none;
  border: 0;
  padding: 12px 0 16px;
  font: inherit;
  font-size: 17px;
  color: #758078;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}
.rs-tabs button.is-active {
  color: var(--rs-green);
  border-bottom-color: var(--rs-green);
  font-weight: 700;
}
.rs-tabs small {
  font: 11px monospace;
  margin-right: 9px;
}
.rs-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}
.rs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.rs-filters > label {
  flex: 1 1 150px;
  max-width: 260px;
}
.rs-filters input,
.rs-filters select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  background: #fff;
  border: 1px solid #d2d7cf;
  border-radius: 0;
  padding: 8px 10px;
  color: inherit;
  font: inherit;
  font-size: 13px;
}
.rs-filters > select {
  width: auto;
  flex: 0 1 130px;
}
.rs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.rs-page .t-button,
.rs-dialog .t-button {
  white-space: normal;
  text-align: center;
  justify-content: center;
  min-height: 40px;
}
.rs-prose {
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.rs-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.rs-section-heading h3 {
  font-size: 21px;
  margin: 8px 0 0;
}
.rs-section-heading h4 {
  margin: 0;
}
.rs-feedback-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.rs-feedback-card {
  padding: 24px;
  border: 1px solid #d9ded5;
  background: #fffef9;
  min-width: 0;
  animation: rs-arrive 0.35s both;
}
.rs-feedback-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #7c887c;
  font-size: 11px;
}
.rs-tag {
  display: inline-block;
  background: #f4e8a9;
  padding: 4px 8px;
  font-size: 11px;
  color: #68602c;
}
.rs-tag.is-closed {
  background: #e3eee4;
  color: #315a3b;
}
.rs-feedback-card h3 {
  font-size: 19px;
  line-height: 1.6;
  margin: 15px 0 12px;
  overflow-wrap: anywhere;
}
.rs-card-summary {
  line-height: 1.85;
  color: #637065;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.rs-latest {
  display: flex;
  gap: 8px;
  border-left: 2px solid #c7d6c4;
  background: #f4f7ef;
  padding: 10px 12px;
  margin: 20px 0;
}
.rs-latest > span {
  color: #769073;
}
.rs-latest p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  overflow-wrap: anywhere;
}
.rs-feedback-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #83907f;
}
.rs-text-button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  padding: 5px 0;
  color: #255d45;
  font: inherit;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
  text-align: left;
}
.rs-text-button:hover {
  border-bottom-color: currentColor;
}
.rs-empty {
  border: 1px dashed #c7d1c2;
  padding: 48px 26px;
  text-align: center;
  background: #f8f9f3;
  grid-column: 1/-1;
}
.rs-empty h3 {
  font-size: 23px;
  margin: 16px 0;
}
.rs-empty p {
  font-size: 13px;
  color: #74806f;
  line-height: 1.9;
  max-width: 480px;
  margin: 0 auto 20px;
}
.rs-empty-month {
  display: inline-block;
  border: 1px solid #6b8c72;
  padding: 15px 20px;
  color: #52765a;
  font-size: 25px;
}
.rs-muted {
  font-size: 12px;
  color: #7b8779;
  line-height: 1.8;
}
.rs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 24px 0;
  font-size: 12px;
}
.rs-page-foot {
  border-top: 1px solid #d9dfd3;
  padding: 20px 0 5px;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #88917e;
  font: 10px monospace;
}
.rs-home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 24px 28px;
  border-left: 5px solid #2e694e;
  background: #f8faf3;
}
.rs-home-copy {
  flex: 1 1 260px;
  min-width: 0;
}
.rs-home h3 {
  margin: 8px 0;
  font-size: 22px;
}
.rs-home p {
  margin: 0;
  font-size: 13px;
  color: #667565;
  overflow-wrap: anywhere;
}
.rs-home small {
  display: block;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 10px;
  color: #7d8a78;
}
html:has(.rs-dialog[open]),
body:has(.rs-dialog[open]) {
  overflow: hidden;
}
html:has(.rs-dialog[open]) {
  scrollbar-gutter: stable;
}
.rs-dialog {
  color: #24392c;
  border: 1px solid #bcc8b8;
  padding: 0;
  width: min(800px, calc(100vw - 40px));
  max-width: none;
  height: min(900px, 90dvh);
  max-height: 90dvh;
  background: #fbfbf6;
  overflow: hidden;
}
.rs-dialog[open] {
  display: flex;
  flex-direction: column;
}
.rs-dialog::backdrop {
  background: #10291e87;
  backdrop-filter: blur(3px);
}
.rs-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: 20px 26px;
  border-bottom: 1px solid #dbe0d4;
  gap: 14px;
  background: #f7f8f0;
}
.rs-dialog > header > div {
  min-width: 0;
}
.rs-dialog > header h3 {
  margin: 7px 0 0;
  font-size: 22px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.rs-dialog > header > .t-button {
  flex: none;
}
.rs-editor-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.rs-dialog .rs-scroll {
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 24px 26px;
}
.rs-dialog footer {
  border-top: 1px solid #d6ddcf;
  padding: 16px 26px;
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #f4f7ed;
}
.rs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.rs-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  color: #53694f;
}
.rs-field input,
.rs-field textarea,
.rs-field select {
  width: 100%;
  max-width: 100%;
  border: 1px solid #ced7c6;
  background: white;
  color: #24392c;
  padding: 11px 12px;
  border-radius: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  min-width: 0;
  box-sizing: border-box;
}
.rs-field textarea {
  resize: vertical;
  min-height: 95px;
}
.rs-field input:focus,
.rs-field textarea:focus,
.rs-field select:focus {
  outline: 2px solid #abc9aa;
  outline-offset: 1px;
}
.rs-wide {
  grid-column: 1/-1;
}
.rs-upload-section,
.rs-link-picker,
.rs-materials,
.rs-related,
.rs-timeline,
.rs-progress-form {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #dbe2d2;
}
.rs-upload {
  position: relative;
  display: block;
  border: 1px dashed #a8bca2;
  background: #f4f7ed;
  padding: 17px 18px;
  margin-bottom: 10px;
  cursor: pointer;
}
.rs-upload:hover {
  background: #eaf1e2;
}
.rs-upload:focus-within {
  outline: 2px solid #567951;
}
.rs-upload b {
  font-size: 13px;
  color: #3f6240;
}
.rs-upload small {
  font-size: 11px;
  color: #839276;
  display: block;
  margin-top: 7px;
  line-height: 1.7;
}
.rs-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.rs-cover-upload {
  background: #faf8ec;
  border-color: #c8c09b;
}
.rs-files {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.rs-file {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dde2d4;
  background: white;
  padding: 11px 12px;
  min-width: 0;
}
.rs-file > div {
  flex: 1;
  min-width: 0;
}
.rs-file strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.rs-file small {
  font-size: 10px;
  color: #83917b;
  display: block;
  margin-top: 4px;
}
.rs-file-icon {
  width: 36px;
  height: 40px;
  background: #edf1e7;
  display: grid;
  place-items: center;
  font: 9px monospace;
  color: #54754d;
  flex: none;
}
.rs-file .t-button {
  padding: 6px 9px;
  font-size: 11px;
  min-height: 32px;
  flex: none;
}
.rs-file .rs-text-button {
  flex: none;
}
.rs-pending > div,
.rs-picked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #dce2d1;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.rs-pending small {
  display: block;
  color: #85937c;
  margin-top: 5px;
}
.rs-picker {
  padding: 16px;
  background: #eff4e7;
  margin-top: 12px;
}
.rs-picker > .rs-actions {
  margin-top: 10px;
}
.rs-picker-row {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 12px;
  background: white;
  border: 1px solid #d5dfcb;
  cursor: pointer;
}
.rs-picker-row > input {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}
.rs-picker-row b {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.rs-picker-row small {
  font-size: 10px;
  color: #7d8c72;
  margin-top: 6px;
  display: block;
}
.rs-error {
  padding: 14px;
  background: #fff0e8;
  border-left: 3px solid #b45e3d;
  color: #8e422b;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.rs-error .t-button {
  margin-left: 10px;
}
.rs-notice {
  background: #fbefc6;
  padding: 14px;
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.8;
}
.rs-notice .t-button {
  margin: 8px 8px 0 0;
}
.rs-save-note {
  font-size: 11px;
  color: #7c8a71;
}
.rs-discard {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.rs-timeline article {
  position: relative;
  border-left: 1px solid #b9cfad;
  margin-left: 7px;
  padding: 0 0 22px 22px;
}
.rs-timeline-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #759d64;
  border: 2px solid #fafbf3;
  top: 1px;
  left: -5px;
}
.rs-timeline small {
  font-size: 10px;
  color: #87977b;
}
.rs-timeline article h4 {
  font-size: 13px;
  margin: 8px 0;
}
.rs-timeline article p {
  margin: 0;
  font-size: 13px;
}
.rs-progress-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.rs-progress-form .rs-field {
  margin-bottom: 16px;
}
.rs-related article {
  padding: 16px;
  border: 1px solid #dce5d2;
  margin-top: 12px;
}
.rs-related article h4 {
  margin: 10px 0;
  font-size: 14px;
}
.rs-related article p {
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.rs-history {
  margin-top: 24px;
  font-size: 11px;
  color: #849077;
}
.rs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes rs-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .rs-page-heading {
    gap: 12px;
    padding-top: 8px;
  }
  .rs-page-heading h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .rs-page-heading p {
    font-size: 11px;
    line-height: 1.8;
  }

  .rs-tabs {
    gap: 28px;
    margin-bottom: 18px;
  }
  .rs-tabs button {
    font-size: 15px;
  }
  .rs-toolbar > .rs-actions {
    width: 100%;
    justify-content: space-between;
  }
  .rs-filters {
    flex-basis: 100%;
  }
  .rs-filters > label {
    flex: 1 1 115px;
    max-width: none;
  }
  .rs-filters input,
  .rs-filters select {
    font-size: 12px;
  }

  .rs-feedback-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .rs-feedback-card {
    padding: 19px;
  }
  .rs-section-heading h3 {
    font-size: 19px;
  }
  .rs-page-foot {
    font-size: 8px;
  }
  .rs-home {
    padding: 20px;
  }
  .rs-home > .t-button {
    width: 100%;
  }
  .rs-dialog {
    width: calc(100vw - 24px);
    max-height: 94dvh;
    height: 94dvh;
  }
  .rs-dialog > header {
    padding: 14px 16px;
  }
  .rs-dialog > header h3 {
    font-size: 19px;
  }
  .rs-dialog .rs-scroll {
    padding: 18px 16px;
  }
  .rs-dialog footer {
    padding: 13px 16px;
    gap: 10px;
  }
  .rs-dialog footer > .rs-actions {
    width: 100%;
  }
  .rs-dialog footer .t-button {
    flex: 1;
    font-size: 12px;
    padding: 8px 10px;
  }
  .rs-form-grid {
    gap: 14px;
  }
  .rs-field input,
  .rs-field textarea,
  .rs-field select {
    padding: 10px 8px;
    font-size: 14px;
  }
  .rs-upload {
    padding: 13px;
  }
  .rs-upload small {
    font-size: 10px;
  }
  .rs-file {
    flex-wrap: wrap;
  }
  .rs-file > div {
    flex-basis: calc(100% - 50px);
  }
  .rs-empty {
    padding: 32px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rs-page *,
  .rs-dialog * {
    animation: none !important;
    transition: none !important;
  }
}

.rs-heading-note {
  color: #76846d;
  font-size: 11px;
  line-height: 1.9;
  text-align: right;
  flex: none;
}
.rs-heading-note small {
  font: 8px monospace;
  letter-spacing: 1px;
}
@media (max-width: 600px) {
  .rs-heading-note {
    display: none;
  }
}
