:root {
  --ink: #17233b;
  --muted: #5f687a;
  --paper: #fff8ef;
  --line: #d9dfea;
  --green: #183a8f;
  --lime: #f4c95d;
  --orange: #ff914d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    15px/1.55 system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
}
button:hover {
  border-color: var(--green);
  background: #edf2ff;
}
button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
button.subtle {
  background: transparent;
}
button.small {
  padding: 6px 11px;
  font-size: 13px;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
input,
select {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 10px 12px;
  color: var(--ink);
  max-width: 100%;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 19px;
  height: 19px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font:
    500 clamp(32px, 4vw, 46px)/1.15 Georgia,
    serif;
  letter-spacing: -1px;
}
h2 {
  font:
    500 25px/1.3 Georgia,
    serif;
}
h3 {
  font-size: 16px;
}
p {
  margin: 8px 0;
  color: var(--muted);
}
small,
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.demo {
  background: #f2ebdd;
  border-bottom: 1px solid #e4d9c8;
  padding: 9px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  flex-wrap: wrap;
}
.demo button {
  padding: 3px 10px;
  font-size: 12px;
}
.shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 50px);
}
aside {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  line-height: 1.25;
}
.logo {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--lime);
  width: 45px;
  height: 45px;
  border-radius: 13px;
  font-size: 28px;
  flex-shrink: 0;
}
.brand small {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1px;
}
.nav {
  display: grid;
  gap: 8px;
}
.nav button {
  text-align: left;
  background: transparent;
  border-color: transparent;
  padding: 13px;
}
.nav button.active {
  background: #e7eeff;
  color: var(--green);
}
.aside-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
}
main {
  padding: 40px clamp(20px, 4vw, 66px);
  max-width: 1450px;
  width: 100%;
  margin: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #ffe0c8;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.hero {
  background: var(--green);
  border-radius: 20px;
  padding: 30px;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 24px 0;
}
.hero p {
  color: #e5ecff;
  max-width: 540px;
}
.hero .eyebrow {
  color: var(--lime);
}
.hero h2 {
  font-size: 30px;
}
.pill {
  display: inline-flex;
  align-items: center;
  background: #e7eeff;
  color: #183a8f;
  border-radius: 30px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 650;
}
.pill.warn {
  background: #fff0d3;
  color: #835823;
}
.pill.dark {
  background: #ffffff20;
  color: #ffdb9d;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 23px;
  margin-bottom: 20px;
}
.month {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dates {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.slot {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.12s;
}
.slot:has(input:checked) {
  background: #edf2ff;
  border-color: #183a8f;
}
.date-box {
  width: 50px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
  text-align: center;
  flex-shrink: 0;
}
.date-box strong {
  font-size: 25px;
  display: block;
  line-height: 1.1;
}
.date-box span {
  font-size: 10px;
  letter-spacing: 1px;
}
.slot-info {
  flex: 1;
}
.slot input {
  margin-left: auto;
}
.note {
  background: #f2f4f9;
  border-radius: 10px;
  padding: 13px;
  font-size: 13px;
  color: #505d73;
}
.notice {
  background: #fff4dd;
  border: 1px solid #eddbab;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13px;
}
.footer-save {
  flex-wrap: wrap;
  position: sticky;
  bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 5px 22px #17233b10;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.fields {
  display: grid;
  gap: 18px;
}
.fields label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.type {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: block;
  cursor: pointer;
}
.type:has(input:checked) {
  background: #edf2ff;
  border-color: #183a8f;
}
.type strong {
  display: block;
  margin: 10px 0 5px;
}
.type small {
  font-weight: 400;
  display: block;
}
.game {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.game-icon {
  background: #ffe3cb;
  border-radius: 9px;
  width: 40px;
  height: 45px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.game strong {
  flex: 1;
}
.game select {
  padding: 6px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
td,
th {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.stat {
  font:
    35px Georgia,
    serif;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 22px 0;
}
.stats .card {
  margin: 0;
}
.empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
.auth {
  max-width: 950px;
  margin: 55px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.auth-story {
  background: var(--green);
  color: white;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
}
.auth-story p {
  color: #e5ecff;
}
.auth-story h1 {
  font-size: 49px;
  margin-top: 60px;
}
.auth-form {
  padding: 40px;
}
.auth-form h2 {
  margin: 22px 0 8px;
}
.auth-form input {
  width: 100%;
}
.auth-form button.primary {
  width: 100%;
  margin-top: 22px;
}
.tabs {
  display: flex;
  gap: 8px;
}
.tabs .active {
  background: var(--green);
  color: white;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #183a8f;
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 6px 30px #0002;
  z-index: 10;
  max-width: 90vw;
}
.help {
  max-width: 780px;
  margin: auto;
}
.help li {
  margin: 15px 0;
}
.warning-text {
  color: #9a563b;
}
.auth-mark {
  font-size: 65px;
  letter-spacing: 12px;
  color: var(--lime);
}
@media (max-width: 1050px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .shell {
    grid-template-columns: 190px 1fr;
  }
  aside {
    padding: 25px 14px;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  aside {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .nav {
    display: flex;
    overflow: auto;
  }
  .nav button {
    white-space: nowrap;
    font-size: 13px;
    padding: 9px;
  }
  .aside-bottom {
    display: none;
  }
  main {
    padding: 24px 16px;
  }
  header {
    margin-bottom: 20px;
  }
  .types {
    grid-template-columns: 1fr;
  }
  .auth {
    margin: 18px;
    display: block;
  }
  .auth-story {
    min-height: 0;
    padding: 28px;
  }
  .auth-story h1 {
    font-size: 35px;
    margin-top: 24px;
  }
  .auth-mark {
    display: none;
  }
  .auth-form {
    padding: 25px;
  }
  .hero {
    padding: 24px;
  }
  .stats {
    gap: 8px;
  }
  .stats .card {
    padding: 15px;
  }
  .demo {
    padding: 9px 15px;
  }
  .footer-save {
    bottom: 5px;
  }
  .slot {
    gap: 10px;
    padding: 12px;
  }
  .row input {
    min-width: 0;
  }
  .card {
    padding: 18px;
  }
}
textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  width: 100%;
  resize: vertical;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 22px 0;
}
legend {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.application {
  display: block;
  max-width: 850px;
}
.application .auth-form {
  padding: 35px clamp(20px, 5vw, 55px);
}
.application .auth-form input[type="checkbox"] {
  width: 19px;
}
.application-fields {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.application-fields > label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.choices {
  display: grid;
  gap: 10px;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  font-size: 14px;
  font-weight: 400;
}
.choice:has(input:checked) {
  background: #edf2ff;
  border-color: #183a8f;
}
.choice input {
  flex-shrink: 0;
  margin-top: 2px;
}
.activity-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.required {
  color: #9a563b;
}
.other-answer {
  margin-top: 12px;
  width: 100%;
}
.application-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.application-fields .note {
  font-weight: 400;
}
.application h1 {
  font-size: 36px;
}
.auth-form .choice input {
  width: 19px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .activity-choices {
    grid-template-columns: 1fr;
  }
  .application .auth-form {
    padding: 24px 18px;
  }
}

.brand-image {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 13px;
  background: white;
  flex-shrink: 0;
  border: 1px solid #e6e5df;
}
.shell > aside > .brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.shell > aside .brand-image {
  width: 142px;
  height: 142px;
}
.auth-story .brand {
  gap: 18px;
}
.auth-story .brand-image {
  width: 100px;
  height: 100px;
}
.registration-layout {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: calc(100vh - 50px);
}
.registration-aside {
  background: var(--green);
  border: 0;
  padding: 40px 28px;
  color: white;
  display: block;
}
.registration-side-inner {
  position: sticky;
  top: 30px;
}
.registration-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: 21px;
}
.brand-image-large {
  width: 180px;
  height: 180px;
  border-radius: 18px;
}
.registration-aside h2 {
  font-size: 32px;
  line-height: 1.25;
}
.registration-aside p,
.registration-aside small {
  color: #e5ecff;
}
.registration-steps {
  display: grid;
  gap: 20px;
  margin: 35px 0 50px;
  font-size: 13px;
}
.registration-steps > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.registration-steps span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  color: var(--lime);
  font-size: 11px;
}
.registration-main {
  padding: 38px clamp(22px, 4vw, 58px);
  margin: 0;
  max-width: none;
}
.registration-main h1 {
  font-size: clamp(32px, 3.5vw, 44px);
}
.registration-welcome {
  margin: 26px 0;
  background: #fff0e1;
  color: var(--ink);
  border: 1px solid #f0d6bc;
  padding: 24px;
}
.registration-welcome p {
  color: #34435d;
  max-width: none;
  font-size: 14px;
  margin: 0 0 12px;
}
.registration-welcome p:last-child {
  margin-bottom: 0;
}
.registration-card {
  padding: 26px;
  margin-bottom: 22px;
}
.registration-card > .application-fields:first-of-type {
  margin-top: 12px;
}
.registration-card:first-of-type > .application-fields,
.account-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.registration-card input,
.registration-card select {
  width: 100%;
  min-width: 0;
}
.registration-card input[type="checkbox"] {
  width: 19px;
}
.registration-card fieldset:last-child {
  margin-bottom: 0;
}
.registration-card legend {
  font:
    500 22px/1.3 Georgia,
    serif;
}
.registration-card .choice {
  padding: 14px;
  border-radius: 12px;
}
.registration-card .choice:hover {
  border-color: #183a8f;
}
.registration-main .footer-save {
  bottom: 14px;
}
.registration-main h2 {
  font-size: 26px;
}
.registration-card .application-fields > label:has(.required) {
  position: relative;
}
.registration-card .application-fields > label > .required {
  display: contents;
}
.registration-card .application-fields > label {
  align-content: start;
}
@media (max-width: 1000px) {
  .registration-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .registration-aside {
    padding: 30px 20px;
  }
  .registration-card:first-of-type > .application-fields,
  .account-fields {
    grid-template-columns: 1fr;
  }
  .registration-brand {
    font-size: 18px;
  }
  .brand-image-large {
    width: 150px;
    height: 150px;
  }
  .registration-main {
    padding: 28px 22px;
  }
  .registration-card {
    padding: 20px;
  }
}
@media (max-width: 700px) {
  .shell > aside > .brand {
    flex-direction: row;
    align-items: center;
  }
  .shell > aside .brand-image {
    width: 76px;
    height: 76px;
  }
  .registration-layout {
    display: block;
  }
  .registration-aside {
    padding: 22px;
  }
  .registration-side-inner {
    position: static;
  }
  .registration-brand {
    flex-direction: row;
    align-items: center;
  }
  .brand-image-large {
    width: 95px;
    height: 95px;
  }
  .registration-aside .eyebrow,
  .registration-aside h2,
  .registration-aside p,
  .registration-steps,
  .registration-side-inner > small {
    display: none;
  }
  .registration-main {
    padding: 25px 16px;
  }
  .registration-main header {
    gap: 8px;
    flex-wrap: wrap;
  }
  .registration-main header .eyebrow {
    font-size: 10px;
  }
  .registration-card {
    padding: 20px 17px;
  }
  .registration-welcome {
    padding: 20px;
  }
  .registration-main .footer-save {
    bottom: 6px;
  }
}

button.primary {
  background: #ff914d;
  color: #17233b;
  border-color: #c45a1d;
}
button.primary:hover {
  background: #ffa76f;
  border-color: #a74713;
}
button.primary:active {
  background: #f5833b;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #183a8f;
  outline-offset: 3px;
}
.tabs .active {
  background: #183a8f;
  color: #ffffff;
}
.hero .eyebrow {
  color: #f4c95d;
}
.registration-welcome {
  border-left: 4px solid #ff914d;
}
.slot:has(input:checked),
.choice:has(input:checked) {
  box-shadow: inset 3px 0 #183a8f;
}
.nav button.active {
  box-shadow: inset 3px 0 #183a8f;
}
.registration-steps span {
  background: #ffffff12;
}
.game-picker {
  display: block;
  min-width: 0;
}
.game-picker > label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.game-search {
  width: 100%;
  background: white;
}
.game-results {
  border: 1px solid #c6d0e4;
  border-radius: 12px;
  background: white;
  padding: 6px;
  margin-top: 6px;
  max-height: 260px;
  overflow: auto;
}
.game-results:empty {
  display: none;
}
.game-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  border: 0;
  background: white;
  padding: 12px;
}
.game-result:hover,
.game-result:focus {
  background: #edf2ff;
}
.game-result span:last-child {
  color: #183a8f;
  font-size: 12px;
}
.selected-games .game {
  flex-wrap: wrap;
}
.selected-games .game strong {
  min-width: 120px;
}
.selected-games .game select {
  width: auto;
}
.selected-games .game:first-child {
  margin-top: 15px;
}
.game-picker .catalogue-note {
  font-size: 12px;
  margin: 8px 0;
}
.game-status {
  font-size: 12px;
  color: #5f687a;
}
.game-picker .empty {
  padding: 16px;
  font-size: 13px;
  background: #f6f7fa;
  border-radius: 10px;
  margin-top: 12px;
}
.rating-control {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
}
.rating-control select {
  color: var(--ink);
}

.assignments {
  overflow: visible;
}
.assignment-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.15fr) minmax(100px, 1fr) minmax(180px, 1.2fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.assignment-heading {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.group-picker {
  position: relative;
  min-width: 0;
}
.group-picker > input {
  width: 100%;
  padding-right: 14px;
}
.group-picker > input::placeholder {
  color: #6a7282;
  opacity: 1;
}
.group-options {
  position: absolute;
  z-index: 8;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 230px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #a9b8d3;
  border-radius: 10px;
  padding: 7px;
  box-shadow: 0 8px 25px #17233b22;
}
.group-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 7px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.group-option:hover {
  background: #edf2ff;
}
.group-option input {
  flex-shrink: 0;
}
.status-page {
  max-width: 780px;
  margin: 45px auto;
  padding: 20px;
}
.status-page h1 {
  font-size: 34px;
}
.danger {
  color: #9a2945;
  border-color: #d9a4af;
}
.danger:hover {
  background: #fff0f3;
}
.application-review {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 10px;
  margin: 20px 0;
  font-size: 13px;
}
.application-review dt {
  font-weight: 650;
}
.application-review dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-reason {
  display: block;
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 1000px) {
  .assignment-row {
    grid-template-columns: 1fr 1fr;
  }
  .assignment-heading {
    display: none;
  }
}
@media (max-width: 550px) {
  .assignment-row {
    grid-template-columns: 1fr;
  }
  .group-options {
    max-height: 200px;
  }
  .application-review {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .application-review dd {
    margin-bottom: 10px;
  }
}
.registration-layout {
  padding: 24px 18px;
  gap: 0;
}
.registration-aside {
  border-radius: 24px;
}
.registration-main {
  padding-top: 14px;
}
@media (max-width: 700px) {
  .registration-layout {
    padding: 16px 12px;
  }
  .registration-aside {
    border-radius: 20px;
  }
  .registration-main {
    padding: 25px 4px;
  }
}

.feed-list {
  display: grid;
  gap: 24px;
  margin-top: 26px;
  max-width: 900px;
}
.feed-card {
  padding: 0;
  overflow: hidden;
  margin: 0;
}
.feed-banner {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  aspect-ratio: 16/7;
  background: #edf2ff;
}
.feed-body {
  padding: 25px;
}
.feed-body h2 {
  font-size: 30px;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.feed-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink);
  margin-top: 16px;
}
.feed-editor {
  margin-top: 25px;
  max-width: 900px;
}
.feed-preview {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  background: #f2f4f9;
  margin-top: 15px;
}
.feed-empty {
  padding: 55px 25px;
  text-align: center;
}
.feed-empty h2 {
  font-size: 30px;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #9a2945;
  outline-color: #9a2945;
}
@media (max-width: 600px) {
  .feed-body {
    padding: 20px;
  }
  .feed-body h2 {
    font-size: 25px;
  }
}

.assignment-row {
  grid-template-columns: 1fr 1fr 1fr;
}
.auth-status {
  margin-top: 15px;
}
/* Account navigation and accessible post-submit errors */
.account-menu {
  position: relative;
}
.account-toggle {
  cursor: pointer;
  border: 2px solid transparent;
  min-width: 44px;
  min-height: 44px;
}
.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  width: 225px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px #14265324;
}
.account-dropdown button {
  display: block;
  text-align: left;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px;
  border-radius: 8px;
}
.account-dropdown button:hover,
.account-dropdown button:focus-visible {
  background: #fff1df;
}
.account-dropdown[hidden] {
  display: none;
}
[aria-invalid="true"] {
  border: 2px solid #b42318 !important;
  outline: 1px solid #b42318 !important;
}
.field-error {
  display: block;
  color: #a11910;
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0 12px;
}
.error-summary {
  border: 2px solid #b42318;
  background: #fff1ef;
  color: #80150e;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 20px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2459ba;
  outline-offset: 3px;
}
.public-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}
.public-links button {
  font-size: 13px;
}
.status-page header {
  display: flex;
  justify-content: space-between;
}
.table-wrap td {
  overflow-wrap: anywhere;
}
.management-report td,
.management-report th {
  white-space: normal;
}
.management-report code {
  overflow-wrap: anywhere;
}
.management-report-controls {
  align-items: flex-end;
}
.management-report-controls label {
  display: grid;
  gap: 6px;
  max-width: 100%;
}
.role-editor {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.role-editor select {
  width: auto;
  min-width: 110px;
}
.role-editor label {
  font-size: 13px;
  font-weight: 600;
}

button.avatar.account-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.registration-card .account-fields {
  grid-template-columns: minmax(0, 1fr);
}
.role-editor {
  flex-wrap: wrap;
}
.role-editor .danger {
  color: #b42318;
  border-color: #b42318;
}

.match-member-filters {
  align-items: center;
  flex-wrap: wrap;
}
.match-member-search {
  position: relative;
  min-width: 240px;
  flex: 1;
  max-width: 380px;
}
.match-member-search label,
.match-member-search small {
  display: block;
  font-size: 12px;
}
.match-member-search input {
  width: 100%;
  margin: 5px 0;
}
.match-member-results:not(:empty) {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px #17233b20;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
}
.match-member-results button {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 4px;
}
.match-member-results small {
  color: var(--muted);
}

.auth-community {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 0;
  border: 0;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.instagram-link:hover {
  background: #ffffff18;
}
.instagram-link:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.instagram-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.instagram-copy {
  display: grid;
  gap: 4px;
}
.instagram-copy small {
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  opacity: 0.85;
}
.instagram-link:hover {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.shell > main {
  margin: 0 auto;
  align-self: start;
  min-width: 0;
}
.shell > main > .page-header .page-kicker {
  margin: 0;
}
.shell > main > .page-header > h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

/* The application-status avatar sits at the left edge. */
.status-account-bar .account-dropdown {
  left: 0;
  right: auto;
  max-width: calc(100vw - 40px);
}

/* Release 20261027: local catalogue, application introductions and password controls. */
.password-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  position: relative;
  align-items: center;
  width: 100%;
  margin-top: 7px;
}
.password-control > input {
  grid-column: 1/-1;
  grid-row: 1;
  width: 100%;
  padding-right: 52px;
  margin-top: 0;
}
.password-toggle {
  grid-column: 2;
  grid-row: 1;
  border: 0;
  background: transparent;
  padding: 10px;
  min-height: 44px;
  color: var(--navy);
  box-shadow: none;
}
.password-toggle:hover {
  background: rgba(27, 58, 133, 0.07);
}
.password-toggle:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -3px;
}
.password-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}
.password-toggle .eye-slash {
  display: none;
}
.password-toggle[aria-pressed="true"] .eye-slash {
  display: block;
}
.password-control .field-error {
  grid-column: 1/-1;
}
.bio-card {
  margin-top: 20px;
}
.bio-card > label {
  font-weight: 700;
}
.bio-card textarea {
  display: block;
  width: 100%;
  margin: 9px 0;
}
.member-application-note {
  margin-top: 12px;
  font-size: 13px;
}
.member-application-note summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
}
.member-application-note p,
.application-review dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.catalogue-fields {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(130px, 1fr);
  gap: 16px;
}
.catalogue-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 100px auto;
  gap: 14px;
  align-items: end;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.catalogue-row input {
  width: 100%;
}
.catalogue-row label {
  min-width: 0;
}
.catalogue-row .row {
  padding-bottom: 3px;
}
@media (max-width: 720px) {
  .catalogue-row,
  .catalogue-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalogue-row .row {
    justify-content: flex-start;
  }
}
