.rb-page {
  --rb-ink: #192d32;
  --rb-muted: #4d6064;
  --rb-wine: #862840;
  --rb-green: #215748;
  --rb-rule: #d7e0df;
  --rb-focus: #17668a;
  max-width: 65rem;
  margin: 0 auto;
  color: var(--rb-ink);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.rb-page *, .rb-page *::before, .rb-page *::after { box-sizing: border-box; }
.rb-page [hidden] { display: none !important; }
.rb-heading { border-bottom: 1px solid var(--rb-rule); padding: 0 0 1.5rem; }
.rb-heading::before { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--rb-wine); margin-bottom: .9rem; }
.rb-page h1 { margin: 0; color: var(--rb-ink); font: 600 2.5rem/1.13 var(--serif, Georgia, serif); letter-spacing: 0; }
.rb-heading p { margin: .65rem 0 0; max-width: 65ch; color: var(--rb-muted); }
.rb-page a { color: var(--rb-green); text-underline-offset: .19em; }
.rb-page .rb-login { display: inline-flex; align-items: center; min-height: 44px; gap: .55rem; font-size: .9375rem; font-weight: 650; text-decoration: underline; }
.rb-layout { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr); gap: 3rem; align-items: start; margin-top: 2rem; }
.rb-rail, .rb-content, .rb-grid > * { min-width: 0; }
.rb-rail { padding-right: 1.25rem; border-right: 1px solid var(--rb-rule); }
.rb-rail nav { display: grid; align-items: start; gap: .2rem; }
.rb-rail nav p { font-weight: 700; font-size: .875rem; margin: 0 0 .5rem; }
.rb-rail nav a { display: flex; gap: .7rem; align-items: baseline; padding: .65rem .55rem; border-left: 2px solid transparent; line-height: 1.35; font-size: .9375rem; color: var(--rb-muted); text-decoration: none; }
.rb-rail nav a span { color: var(--rb-wine); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.rb-rail nav a:hover, .rb-rail nav a[aria-current] { background: #f1f5f3; border-left-color: var(--rb-green); color: var(--rb-ink); }
.rb-requirements { margin: 1.15rem 0 .65rem; border-block: 1px solid var(--rb-rule); }
.rb-requirements summary { color: var(--rb-green); font-weight: 650; padding: .65rem 0; min-height: 44px; cursor: pointer; }
.rb-requirements p, .rb-admission { color: var(--rb-muted); font-size: .875rem; line-height: 1.55; margin: .5rem 0 .9rem; }
.rb-admission strong { color: var(--rb-ink); }
.rb-form, .rb-page fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.rb-form section { padding: 1.65rem 0 1.85rem; border-bottom: 1px solid var(--rb-rule); scroll-margin-top: 1.5rem; }
.rb-form section:first-of-type { padding-top: 0; }
.rb-page h2 { display: flex; align-items: baseline; gap: .65rem; margin: 0 0 1.2rem; font: 650 1.4rem/1.3 var(--sans, system-ui, sans-serif); color: var(--rb-ink); }
.rb-page h2 span { color: var(--rb-wine); font: 700 .875rem/1.4 var(--sans, system-ui, sans-serif); font-variant-numeric: tabular-nums; }
.rb-form h3 { margin: 1.5rem 0 .75rem; font: 650 1.05rem/1.4 var(--sans, system-ui, sans-serif); }
.rb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.15rem; }
.rb-wide { grid-column: 1 / -1; }
.rb-form .rb-grid > p { margin: 0; }
.rb-form label, .rb-form legend { display: block; margin: 0 0 .38rem; color: var(--rb-ink); font: 600 .9375rem/1.45 var(--sans, system-ui, sans-serif); }
.rb-form b[aria-hidden] { color: var(--rb-wine); }
.rb-required, .rb-form small { color: var(--rb-muted); font-size: .875rem; line-height: 1.45; }
.rb-required { margin: -.75rem 0 1rem; }
.rb-form small { display: block; margin-top: .35rem; }
.rb-form :is(input:not([type=hidden]):not([type=checkbox]), select, textarea) {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 46px; margin: 0;
  padding: .65rem .8rem; border: 1px solid #849897; border-radius: 5px;
  color: var(--rb-ink); background-color: #fff; box-shadow: none; font: 400 1rem/1.4 var(--sans, system-ui, sans-serif);
}
.rb-form select { padding-right: 2rem; }
.rb-form textarea { resize: vertical; min-height: 6.5rem; }
.rb-page :is(input, select, textarea, button, a, summary, section):focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-secret { position: relative; }
.rb-secret:has(.rb-eye:not([hidden])) input { padding-right: 3rem !important; }
.rb-page .rb-eye { position: absolute; inset: 1px 1px 1px auto; width: 44px; min-height: 44px; border: 0; border-radius: 4px; background: transparent; color: var(--rb-green); font-size: 1rem; cursor: pointer; }
.rb-eye:hover { background: #eff5f1; }
.rb-form .rb-choices { display: flex; flex-wrap: wrap; gap: .55rem; }
.rb-form .rb-choices label { display: inline-flex; align-items: center; gap: .55rem; margin: 0; padding: .55rem .85rem; min-height: 44px; border: 1px solid #849897; border-radius: 5px; font-weight: 500; cursor: pointer; }
.rb-choices label:has(:checked) { color: #174435; border-color: var(--rb-green); background: #eaf3ed; }
.rb-form input[type=checkbox] { appearance: auto; width: 1.15rem; height: 1.15rem; margin: 0; flex-shrink: 0; accent-color: var(--rb-green); }
.rb-submit { padding: 1.4rem 0 .5rem; }
.rb-submit .rb-consent { display: flex; align-items: flex-start; gap: .65rem; font-weight: 400; cursor: pointer; }
.rb-consent input { margin-top: .18rem !important; }
.rb-privacy { margin-left: 1.8rem; font-size: .875rem; text-decoration: underline; }
.rb-send { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.rb-page .rb-send button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; padding: .75rem 1.15rem; border: 0; border-radius: 5px; background: var(--rb-green); color: white; font-size: 1rem; font-weight: 650; line-height: 1.4; cursor: pointer; }
.rb-page .rb-send button:hover { background: #173f33; }
.rb-send small { margin: 0; max-width: 32ch; }
.rb-notice, .rb-error { border-left: 4px solid var(--rb-green); background: #eff6f1; padding: 1rem; margin: 1.25rem 0; }
.rb-error { border-color: var(--rb-wine); background: #fcf2f3; }
@media (min-width: 861px) and (min-height: 620px) { .rb-rail:not(:has(details[open])) { position: sticky; top: 1.5rem; } }
@media (max-width: 860px) {
  .rb-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin-top: 1rem; }
  .rb-rail { padding: 0; border: 0; }
  .rb-rail nav { display: none; }
  .rb-requirements { margin: 0; border-top: 0; }
  .rb-admission { margin: .65rem 0 0; }
}
@media (max-width: 600px) {
  .rb-page h1 { font-size: 1.9rem; }
  .rb-page h2 { font-size: 1.2rem; }
  .rb-heading { padding-bottom: .7rem; }
  .rb-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .rb-form section { padding-block: 1.4rem; }
  .rb-send { display: grid; gap: .6rem; }
  .rb-send small { max-width: none; }
  .rb-choices label { flex: 1 0 auto; }
}
