.ro-app {
  background: #f3f1ed;
  color: #090a0b;
  padding-bottom: 64px;
}
.ro-app .page-intro {
  background: #75001d;
  color: #fff;
}
.ro-app .page-intro h1 {
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.1;
  max-width: 100%;
}
.ro-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 48px;
  padding-top: 40px;
}
.ro-guide {
  align-self: start;
  position: sticky;
  top: 24px;
}
.ro-guide img {
  width: 120px;
}
.ro-guide h2 {
  margin: 24px 0;
  font-size: 2rem;
}
.ro-guide li {
  margin: 12px 0;
}
.ro-app h2 {
  font-size: 1.6rem;
}
.ro-app h3 {
  font-size: 1.35rem;
}
.ro-panel {
  background: #fff;
  border: 1px solid #c9cdd1;
  border-top: 3px solid #75001d;
  padding: 24px;
  margin: 0 0 24px;
  min-width: 0;
  border-radius: 4px;
}
.ro-app fieldset {
  padding-top: 16px;
}
.ro-app legend {
  font-family: Oswald, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  background: #fff;
  padding: 8px 12px;
  color: #75001d;
}
.ro-app label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 0;
}
.ro-app input,
.ro-app select {
  background: #fff;
  border: 1px solid #777;
  border-radius: 4px;
  padding: 12px;
  font: inherit;
  color: #090a0b;
  width: 100%;
  min-height: 48px;
  min-width: 0;
}
.ro-app :focus-visible {
  outline: 3px solid #8f0a2a;
  outline-offset: 3px;
}
.ro-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.ro-sports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ro-sports label {
  position: relative;
}
.ro-sports input {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 20px;
  min-height: 20px;
  height: 20px;
}
.ro-sports span {
  border: 2px solid #c9cdd1;
  border-radius: 4px;
  min-height: 112px;
  padding: 20px 14px 16px 44px;
  display: grid;
  gap: 8px;
}
.ro-sports strong {
  font-family: Oswald, sans-serif;
  font-size: 1.55rem;
}
.ro-sports small {
  font-weight: 400;
}
.ro-sports input:checked + span {
  border-color: #75001d;
  background: #f3f1ed;
  box-shadow: inset 0 -4px #75001d;
}
.ro-sports input:focus-visible + span {
  outline: 3px solid #8f0a2a;
  outline-offset: 3px;
}
.ro-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.ro-app .ro-check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
}
.ro-check input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  accent-color: #75001d;
  margin-top: 2px;
}
.ro-notice {
  background: #f3f1ed;
  padding: 20px;
  white-space: pre-wrap;
  margin: 16px 0;
}
.ro-link {
  background: none;
  border: 0;
  color: #75001d;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
  padding: 8px;
}
.ro-app .button {
  min-height: 48px;
  cursor: pointer;
}
.ro-app button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ro-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ro-app [hidden] {
  display: none !important;
}
.ro-roster {
  padding-top: 32px;
}
.ro-login {
  max-width: 480px;
  margin: 0 auto 32px;
}
.ro-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ro-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.ro-stat {
  background: #fff;
  padding: 18px;
  border-left: 3px solid #75001d;
}
.ro-stat strong {
  font-family: Oswald, sans-serif;
  font-size: 2rem;
  display: block;
}
.ro-stat span {
  font-size: 0.85rem;
}
.ro-sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 3px 10px #090a0b12;
}
.ro-app summary {
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
}
.ro-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
}
.ro-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.ro-card {
  background: #fff;
  padding: 24px;
  border: 1px solid #c9cdd1;
  border-radius: 4px;
}
.ro-card h2 {
  margin: 0;
}
.ro-card dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  font-size: 0.9rem;
}
.ro-card dt {
  color: #52565c;
}
.ro-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.ro-tag {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 4px 8px;
  background: #f3f1ed;
  color: #5b0016;
  margin: 4px 6px 4px 0;
}
.ro-app dialog {
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  border: 0;
  border-top: 5px solid #75001d;
  border-radius: 4px;
  padding: 24px;
  color: #090a0b;
}
.ro-app dialog::backdrop {
  background: #090a0baa;
}
.ro-app dialog h3 {
  margin-top: 24px;
}
.ro-app a {
  overflow-wrap: anywhere;
}
.ro-app [role="status"]:not(:empty) {
  padding: 16px 0;
  font-weight: 500;
}
.ro-app .ro-error {
  color: #75001d;
}
.ro-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ro-report-grid dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.ro-report-grid dd {
  margin: 0;
  font-weight: 600;
}
.ro-detail-record {
  border-top: 1px solid #c9cdd1;
  padding: 12px 0;
}
.ro-report-grid section {
  min-width: 0;
}
.ro-app .fine {
  font-size: 0.875rem;
}
@media (max-width: 800px) {
  .ro-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ro-guide {
    position: static;
    display: none;
  }
  .ro-cards {
    grid-template-columns: 1fr;
  }
  .ro-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ro-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ro-sticky {
    position: static;
  }
}
@media (max-width: 480px) {
  .ro-fields,
  .ro-filters,
  .ro-checks,
  .ro-report-grid {
    grid-template-columns: 1fr;
  }
  .ro-panel,
  .ro-card {
    padding: 20px 16px;
  }
  .ro-sports {
    gap: 8px;
  }
  .ro-sports span {
    padding-left: 34px;
    padding-right: 8px;
  }
  .ro-sports input {
    left: 10px;
  }
  .ro-sports strong {
    font-size: 1.3rem;
  }
  .ro-app .page-intro {
    padding: 40px 0;
  }
  .ro-card dl {
    grid-template-columns: 80px 1fr;
  }
  .ro-app .button {
    width: 100%;
    justify-content: center;
  }
  .ro-toolbar {
    align-items: stretch;
  }
  .ro-app dialog {
    padding: 20px 16px;
  }
}
.ro-app .button.secondary {
  background: #fff;
  color: #75001d;
  border: 2px solid #75001d;
}
.ro-app input,
.ro-app select {
  font-size: 16px;
}
.ro-app select {
  appearance: none;
  min-height: 48px;
  line-height: 1.5;
  padding-right: 24px;
}
/* Clip transient WebKit modal overflow without narrowing form controls. */
html:has(.ro-app),
body:has(.ro-app) {
  overflow-x: clip;
}
.ro-app dialog {
  overflow-x: hidden;
  overflow-wrap: anywhere;
}
