@font-face {
  font-family: Rubik;
  src: url("/assets/rubik-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Rubik;
  src: url("/assets/rubik-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199, U+20AC, U+2212;
}

:root {
  color-scheme: light;
  font-family: Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #000;
  --ink: #000;
  --muted: #485773;
  --line: #d8e5f5;
  --surface: #fff;
  --blue: #1458b8;
  --blue-hover: #0e4799;
  --mint: #37beb0;
  --green: #125638;
  --red: #9b2828;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; min-height: 100vh; background: #f0f6ff url("/assets/sirius-background.svg") center top / cover no-repeat; font-size: 1rem; line-height: 1.5; }
h1, h2, p, dl, dd, figure { margin: 0; }
h1 { font-size: clamp(1.7rem, 5vw, 2.12rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 650; }
h2 { font-size: 1.125rem; line-height: 1.3; }
input, button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #247cdb; outline-offset: 3px; }
.topbar { background: #000; color: white; }
.topbar-inner { max-width: 1280px; margin: auto; padding: .45rem 1.5rem; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { width: 112px; height: auto; display: block; }
.topbar-link { font-size: .875rem; text-decoration: none; }
.topbar-link:hover { text-decoration: underline; }
.topbar-link:focus-visible { outline-color: white; }
.topbar-actions { display: flex; gap: .4rem 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.participant-topbar .topbar-inner { flex-wrap: nowrap; }
.participant-topbar .wordmark, .topbar-brand { flex: 0 0 auto; }
.topbar-brand:focus-visible { outline-color: white; border-radius: 4px; }
.participant-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; min-width: 0; }
.participant-nav .topbar-link {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  padding: .3rem .8rem; border: 1px solid #7b8794; border-radius: 8px; text-align: center; line-height: 1.18;
}
.participant-nav .topbar-link:hover { border-color: var(--mint); background: #183132; text-decoration: none; }
.participant-nav .topbar-link[aria-current="page"] { color: #142b2b; background: #a2e3db; border-color: #a2e3db; font-weight: 600; }
.participant-nav .topbar-link:active { color: #142b2b; background: #71c9bd; border-color: #71c9bd; }
.participant { max-width: 580px; padding: 0 1rem; margin: clamp(1.5rem, 5vh, 3.25rem) auto 2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.activation { padding: clamp(1.2rem, 5vw, 2rem); box-shadow: 0 5px 30px #17386412; }
.activation h1 { font-size: clamp(2rem, 7vw, 2.65rem); }
.guide { margin: 1.15rem 0; padding: .85rem .95rem; border-inline-start: 3px solid var(--mint); border-radius: 8px; background: #e7f8f6; }
.guide h2 { font-size: 1rem; }
.guide p { margin-top: .4rem; font-size: .92rem; line-height: 1.55; }
.guide-example { margin-top: .55rem; }
summary { cursor: pointer; color: var(--blue-hover); font-size: .875rem; font-weight: 500; }
.diagnostic-example { margin-top: .6rem; overflow: hidden; border: 1px solid #bacbe5; border-radius: 8px; background: white; color: #1d2940; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .875rem; }
.diagnostic-tab { padding: .44rem .65rem; color: var(--muted); background: #f4f7fb; border-bottom: 1px solid #e4ebf5; }
.diagnostic-panel { padding: .5rem .5rem .6rem; }
.diagnostic-panel > strong { display: block; margin: 0 .25rem .24rem; }
.diagnostic-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .2rem .6rem; padding: .3rem .42rem; }
.diagnostic-row.target { border: 2px solid var(--blue); border-radius: 6px; background: #edf8f6; }
.example-id { overflow-wrap: anywhere; font-family: ui-monospace, monospace; font-size: .8125rem; }
.field { margin-bottom: .9rem; }
.field label { display: block; margin-bottom: .35rem; font-size: .9rem; font-weight: 550; }
input { width: 100%; min-height: 46px; padding: .6rem .75rem; border: 1px solid #98adcc; border-radius: 8px; color: var(--ink); background: var(--surface); }
input::placeholder { color: #586a86; }
input[aria-invalid="true"] { border-color: var(--red); }
button { border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 550; line-height: 1.25; }
button:disabled { cursor: default; opacity: .65; }
.primary, .secondary { min-height: 44px; padding: .65rem .95rem; }
.primary { color: white; background: var(--blue); border-radius: 30px; }
.primary:hover:not(:disabled) { background: var(--blue-hover); }
#activation-form .primary { width: 100%; }
.secondary { color: var(--ink); border-color: #afc1d9; background: white; }
.secondary:hover:not(:disabled) { border-color: #6680a0; background: #edf5ff; }
.small { min-height: 38px; padding: .34rem .61rem; font-size: .875rem; }
.demo-note { color: var(--muted); font-size: .8125rem; margin-top: .7rem; }

.feedback:empty { display: none; }
.feedback { margin-top: .9rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 8px; font-size: .9375rem; background: var(--surface); }
.feedback[data-tone="success"] { background: #e7f8f6; border-color: #a5dcd1; color: var(--green); }
.feedback[data-tone="error"] { background: #fff2f2; border-color: #eac3c3; color: var(--red); }
.feedback p + p { margin-top: .25rem; }
.feedback-intro { color: var(--muted); margin: .75rem 0 1.2rem; max-width: 52ch; }
.feedback-form :is(select, textarea) {
  width: 100%; color: var(--ink); background-color: var(--surface); border: 1px solid #98adcc;
  border-radius: 8px; padding: .65rem .75rem; font: inherit;
}
.feedback-form select { min-height: 46px; }
.feedback-form textarea { display: block; min-height: 8rem; resize: vertical; }
.feedback-form .primary { width: 100%; }
.feedback-inbox { display: grid; gap: .65rem; list-style: none; margin: 1rem 0 0; padding: 0; max-width: 60rem; }
.feedback-inbox .card { padding: .8rem 1rem; }
.feedback-entry-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .65rem; }
.feedback-entry-heading time { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.feedback-inbox p { margin-top: .35rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.submission-form input[type="file"] { min-height: 46px; padding: .45rem .55rem; }
.submission-form input[type="file"]::file-selector-button {
  margin-inline-end: .5rem; padding: .35rem .55rem; color: var(--blue-hover);
  background: #edf5ff; border: 1px solid #b4cce6; border-radius: 6px; cursor: pointer; font: inherit;
}
.file-hint { color: var(--muted); font-size: .85rem; margin-top: .28rem; }
.submission-form progress { width: 100%; height: .6rem; margin-top: .65rem; accent-color: var(--blue); }
.submission-downloads { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.submission-downloads a { overflow-wrap: anywhere; }
.submission-downloads time { display: block; margin-top: .2rem; font-size: .78rem; }
.submission-history { margin-top: .65rem; }
.history-notice { margin: 0 0 .8rem; color: var(--muted); font-size: .875rem; }

.admin { max-width: 1280px; margin: clamp(1.5rem, 6vh, 3.25rem) auto 2rem; padding: 0 1.5rem; }
.metrics { margin: 1.25rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.metrics .card { padding: .72rem .95rem; }
.metrics dt { font-size: .875rem; color: var(--muted); }
.metrics dd { margin-top: .2rem; font-size: 1.48rem; font-weight: 640; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.registry { overflow: hidden; }
.registry-heading { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .9rem 1rem; }
.team-registry { margin-bottom: 1rem; }
.registry-tools { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.registry-note { margin: 0 1rem .85rem; color: var(--muted); font-size: .875rem; }
.sort-field { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .875rem; }
.sort-field select { font: inherit; min-height: 39px; color: var(--ink); background: var(--surface); border: 1px solid #98adcc; border-radius: 8px; padding: .35rem .55rem; }
.report-link { display: inline-flex; align-items: center; text-decoration: none; border: 1px solid #afc1d9; border-radius: 8px; }
.team-requests small { display: block; color: var(--muted); max-width: 21rem; line-height: 1.3; }
.team-flash, .team-flash41, .team-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.search-field { width: min(100%, 16rem); }
.search-field input { min-height: 39px; font-size: .875rem; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .72rem .9rem; border-top: 1px solid var(--line); vertical-align: middle; }
th { font-size: .875rem; color: var(--muted); font-weight: 550; background: #eaf2ff; }
td { font-size: .875rem; }
td time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.device-id { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.participant-cell { min-width: 9rem; }
.team-name { font-weight: 550; overflow-wrap: anywhere; }
.application-number { display: block; margin-top: .2rem; color: var(--muted); overflow-wrap: anywhere; }
.access-state { color: var(--green); font-weight: 550; }
.access-state[data-status="disabled"] { color: var(--red); }
.balance { white-space: nowrap; font-variant-numeric: tabular-nums; }
.balance.unavailable { color: var(--muted); }
.row-actions { display: flex; gap: .4rem; }
.empty { border-top: 1px solid var(--line); padding: 1rem; color: var(--muted); }

dialog { width: min(100% - 2rem, 30rem); max-height: min(84vh, 44rem); border: 1px solid var(--line); border-radius: 14px; padding: 0; color: var(--ink); box-shadow: 0 18px 70px #10294b44; }
dialog::backdrop { background: #11204370; }
dialog.history { width: min(100% - 2rem, 42rem); }
.dialog-inner { padding: 1.15rem; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .65rem; }
.dialog-heading p, #confirm-description, #history-status { margin-top: .4rem; color: var(--muted); font-size: .875rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.history-list { display: grid; gap: .6rem; padding: 0; margin: .75rem 0 0; list-style: none; }
.history-list > li { padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 8px; }
.request-meta { display: flex; flex-wrap: wrap; gap: .2rem .7rem; color: var(--muted); font-size: .85rem; }
.request-result { font-weight: 550; }
.request-model { margin-top: .28rem; color: var(--blue-hover); font-size: .875rem; font-weight: 550; overflow-wrap: anywhere; }
.review-intro, .review-block { padding: 1rem 1.15rem; margin-bottom: 1rem; }
.review-intro > p, .review-block > p { margin-top: .6rem; }
.review-criteria { display: grid; gap: .45rem; margin-top: .8rem; }
.review-criteria div { display: grid; grid-template-columns: minmax(10rem, .75fr) minmax(0, 2fr); gap: .65rem; border-top: 1px solid var(--line); padding-top: .45rem; }
.review-criteria dt { font-weight: 550; }
.review-meta { color: var(--muted); font-size: .9rem; }
.review-heading { margin-bottom: 1rem; }
.review-heading p { margin-top: .35rem; }
.review-index { display: flex; flex-wrap: wrap; gap: .45rem .85rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.review-level { font-weight: 550; color: var(--blue-hover); }
.review-checkpoints { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; margin: .85rem 0; }
.review-checkpoints .card { padding: .65rem .85rem; }
.review-checkpoints dd { margin-top: .15rem; font-size: 1.2rem; font-weight: 650; }
.score-page .topbar-inner { min-height: 50px; padding-block: 0; max-width: 1440px; }
.score-page .wordmark { width: 92px; }
.scoreboard { max-width: 1440px; padding-inline: clamp(.65rem, 2vw, 1.5rem); margin: .65rem auto .85rem; }
.score-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .2rem 1rem; margin-bottom: .6rem; }
.score-heading h1 { font-size: clamp(1.6rem, 3vw, 2rem); }
.score-heading .review-meta { font-size: .775rem; }
#score-summary { font-variant-numeric: tabular-nums; }
.score-panel { box-shadow: 0 6px 24px #1738640d; }
.score-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .85rem; padding: .48rem .65rem; }
.score-tools .sort-field { min-width: 0; font-size: .77rem; }
.score-tools select { min-height: 32px; min-width: 0; padding: .2rem .4rem; border-radius: 6px; text-overflow: ellipsis; }
.score-team-field select { width: clamp(10rem, 19vw, 15.5rem); }
.score-tools .score-sort-field { display: none; }
.score-scale { margin-inline-start: auto; }
.score-scale summary { font-size: .77rem; }
.score-scale[open] { flex-basis: 100%; }
.score-scale p { max-width: 70ch; margin-top: .25rem; color: var(--muted); font-size: .8rem; }
.scoreboard .score-table { display: table; table-layout: fixed; text-align: center; font-variant-numeric: tabular-nums; }
.scoreboard .score-table thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.scoreboard .score-table tbody { display: table-row-group; }
.scoreboard .score-table tr { display: table-row; }
.scoreboard .score-table :is(th, td) { display: table-cell; padding: .24rem .22rem; border-top: 1px solid var(--line); line-height: 1.2; }
.scoreboard .score-table :where([data-score-row]) td { padding-block: .12rem; }
.score-team-width { width: 19%; }
.score-interaction-width, .score-engagement-width { width: 9.5%; }
.score-breadth-width { width: 5.5%; }
.score-learning-width { width: 7%; }
.score-stability-width { width: 8%; }
.score-number-width { width: 5.625%; }
.score-status-width { width: 10%; }
.score-action-width { width: 9%; }
.score-table th { position: sticky; top: 0; z-index: 1; font-size: clamp(.64rem, 1.03vw, .79rem); }
.score-table th button { background: transparent; color: inherit; font-weight: 600; padding: .15rem 0; min-height: 25px; }
.scoreboard .score-table :is(th, td):first-child { text-align: left; padding-inline: .65rem .28rem; }
.score-table tbody tr:nth-child(4n+3) { background: #f7faff; }
.score-table th[aria-sort] { color: var(--blue-hover); }
.score-table th[aria-sort="ascending"] button::after { content: " ↑"; }
.score-table th[aria-sort="descending"] button::after { content: " ↓"; }
.score-table td strong { font-weight: 650; }
.score-table [data-score-tip] { cursor: help; }
.score-table [data-score-tip]:focus-visible { outline-offset: -3px; }
.score-tooltip {
  position: fixed; z-index: 4; pointer-events: none; max-width: min(18rem, calc(100vw - 1rem));
  padding: .45rem .6rem; border: 1px solid #344967; border-radius: 7px;
  background: #18304a; color: #fff; box-shadow: 0 5px 16px #10294b33; font-size: .78rem; line-height: 1.34;
}
.score-update-notice {
  position: fixed; z-index: 5; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom));
  width: min(22rem, calc(100vw - 1.5rem)); margin: 0; padding: .7rem .85rem;
  border: 1px solid #a5dcd1; border-radius: 8px; box-shadow: 0 8px 24px #10294b22;
  background: #e7f8f6; color: #164c46; font-size: .86rem; line-height: 1.38;
}
.score-past, .score-maximum, .score-table [data-baseline] { color: var(--muted); font-size: .72rem; font-weight: 400; }
.score-table [data-axis] { color: var(--ink); white-space: nowrap; }
.score-table [data-total] { color: #164c46; background: #e8f7f5; white-space: nowrap; }
.score-table [data-total] strong { font-size: 1rem; }
.score-name small { display: block; color: var(--muted); font-size: .65rem; line-height: 1.1; }
.score-plain-button { display: block; background: transparent; color: var(--blue-hover); text-align: left; font-size: .8rem; font-weight: 650; padding: 0; overflow-wrap: anywhere; }
.score-plain-button:hover { text-decoration: underline; }
.score-table .score-model-button { margin: 0 auto; font-size: .65rem; line-height: 1.2; }
.score-status { display: inline-block; border-radius: .35rem; padding: .16rem .28rem; color: #42526c; background: #e9eef7; font-size: .69rem; font-weight: 500; }
.score-status-short { display: none; }
[data-readiness="ready"] .score-status { color: var(--green); background: #dff3e8; }
[data-readiness="check"] .score-status { color: #674a12; background: #fff1d6; }
.score-action button { min-height: 24px; padding: .13rem .48rem; font-size: .75rem; border-radius: 6px; }
.score-action button[aria-expanded="true"] { color: var(--blue-hover); background: #eaf2ff; }
.scoreboard .score-table .score-detail td { background: #f0f6ff; padding: .85rem 1.05rem; text-align: left; line-height: 1.5; }
.score-detail-copy { max-width: min(66rem, calc(100vw - 5rem)); }
.score-detail-copy p { margin: .4rem 0; }
.score-detail-copy .score-project { margin: 0; font-weight: 550; }
.score-slot-feedback { margin: .55rem 0 .7rem; padding: .45rem .65rem; border-inline-start: 3px solid var(--mint); border-radius: 6px; background: #e8f7f5; }
.score-slot-feedback p { margin: 0; }
.score-slot-feedback strong + p { margin-top: .15rem; }
.score-detail-copy ul { margin: .55rem 0; padding-inline-start: 1.4rem; }
.score-detail-copy li + li { margin-top: .25rem; }
.score-guidance { display: grid; gap: .6rem; margin: .7rem 0; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.score-guidance dt { color: var(--blue-hover); font-weight: 650; }
.score-guidance dd { margin-top: .1rem; }
.score-multitool { padding: .55rem .7rem; border-inline-start: 3px solid var(--mint); border-radius: 6px; background: #e8f7f5; }
.score-directions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: .5rem; list-style: none; margin: .4rem 0 0; padding: 0; }
.score-directions > li { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: .55rem .7rem; }
.score-detail-copy .score-directions > li + li { margin-top: 0; }
.score-detail-copy .score-directions p { margin: .3rem 0 0; }
.review-up { color: var(--green); font-weight: 600; }
.review-down { color: var(--red); font-weight: 600; }
.review-ready { color: var(--green); font-weight: 650; }
.review-next { padding-top: .5rem; border-top: 1px solid var(--line); }
.review-block details { margin-top: .7rem; }
.review-block details dl { margin-top: .35rem; }
.review-criteria dd .review-score { display: inline-block; min-width: 3.2rem; font-weight: 600; margin-right: .25rem; }
@media (max-width: 640px) { .review-criteria div { grid-template-columns: 1fr; gap: .1rem; } }
.request-prompt { margin: .4rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.request-log ul { margin: .4rem 0 .1rem; padding-inline-start: 1.2rem; color: var(--muted); font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 1000px) {
  .admin, .topbar-inner { padding-inline: 1rem; }
  .metrics .card { padding: .65rem .55rem; }
  .metrics dt { overflow-wrap: anywhere; }
  .metrics dd { font-size: 1.28rem; }
  .registry-heading { flex-wrap: wrap; }
  .search-field { width: 100%; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--line); padding: .7rem 1rem; gap: .32rem .6rem; align-items: start; }
  td { display: block; padding: 0; border: 0; }
  td:nth-child(1), td:nth-child(2), td:nth-child(3), td:nth-child(6) { grid-column: 1 / -1; }
  td:nth-child(2), td:nth-child(3) { color: var(--muted); }
  .row-actions { margin-top: .2rem; flex-wrap: wrap; }
}

@media (max-width: 350px) {
  .topbar-inner { flex-wrap: wrap; gap: .25rem; }
  .metrics { grid-template-columns: 1fr; gap: .4rem; }
  .metrics .card { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
}

@media (min-width: 901px) and (max-height: 800px) {
  .score-page .topbar-inner { min-height: 46px; }
  .scoreboard { margin-top: .5rem; }
  .score-heading { margin-bottom: .48rem; }
  .score-heading h1 { font-size: 1.8rem; }
  .score-heading .review-meta { line-height: 1.3; }
  .score-tools { padding-block: .34rem; }
  .score-plain-button { line-height: 1.12; border: 0; }
}

@media (max-width: 900px) {
  .scoreboard .score-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .7rem; }
  .score-tools .sort-field { display: grid; gap: .15rem; }
  .score-tools select { width: 100%; min-height: 37px; }
  .score-tools .score-team-field, .score-tools .score-scale { grid-column: 1 / -1; }
  .score-tools .score-scale { margin-inline-start: 0; }
  .scoreboard .score-table, .scoreboard .score-table tbody { display: block; }
  .scoreboard .score-table thead {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%);
  }
  .scoreboard .score-table thead button { visibility: hidden; }
  .scoreboard .score-table [data-score-row] {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
    padding: .44rem .45rem .32rem; gap: .2rem 0; border-top: 1px solid var(--line);
  }
  .scoreboard .score-table :where([data-score-row]) td {
    grid-column: auto; display: block; padding: .08rem; border: 0; min-width: 0; font-size: .76rem;
  }
  .scoreboard .score-table .score-name:first-child { grid-column: 1 / 5; grid-row: 1; padding-inline: .18rem .25rem; }
  .score-plain-button { min-height: 28px; font-size: .84rem; }
  .scoreboard .score-table [data-total] { grid-column: 5; grid-row: 1; padding: .35rem 0; border-radius: 6px; }
  .score-table [data-axis] { grid-row: 2; }
  .score-table [data-label]::before {
    content: attr(data-label); display: block; margin-bottom: .12rem;
    color: var(--muted); font-size: .63rem; font-weight: 400; white-space: nowrap;
  }
  .score-table [data-baseline], .score-table [data-delta], .score-table [data-requests] { grid-row: 3; }
  .score-status-full { display: none; }
  .score-status-short { display: inline; }
  .score-status { padding-inline: .11rem; font-size: .64rem; }
  .score-action button { min-height: 36px; padding-inline: .22rem; }
  .scoreboard .score-table .score-detail, .scoreboard .score-table .score-detail td { display: block; }
  .scoreboard .score-table .score-detail { border: 0; padding: 0; }
  .score-detail-copy { max-width: none; overflow-wrap: anywhere; }
}

@media (max-width: 640px) {
  .participant-page {
    min-width: 0;
    min-height: 100svh;
    background: #d7eaf4;
  }
  .participant-page .topbar {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .participant-page .topbar-inner {
    min-height: 56px;
    padding-block: 0;
    padding-left: max(1.15rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.15rem, env(safe-area-inset-right, 0px));
  }
  .participant-page .wordmark { width: 100px; }
  .participant-page .participant {
    max-width: none;
    margin: 8px 0 0;
    padding: 0;
  }
  .participant-page .activation {
    min-height: calc(100svh - 64px - env(safe-area-inset-top, 0px));
    padding-top: 1.1rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(1.15rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.15rem, env(safe-area-inset-right, 0px));
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: none;
  }
  .participant-page .activation h1 { font-size: clamp(2rem, 8vw, 2.4rem); }
  .participant-page .guide { margin: .85rem 0 1rem; padding: .7rem .75rem .1rem; }
  .participant-page .guide p { font-size: .875rem; line-height: 1.45; }
  .participant-page .guide-example { margin-top: .1rem; }
  .participant-page .guide-example summary { min-height: 44px; padding-block: .65rem; }
  .participant-page .diagnostic-example { margin: 0 0 .65rem; }
  .participant-page .field { margin-bottom: .75rem; }
  .participant-page input { min-height: 50px; font-size: 1rem; border-radius: 10px; }
  .participant-page #activation-form .primary { min-height: 52px; }
}

@media (max-width: 400px) {
  .participant-topbar .topbar-inner { gap: .55rem; }
  .participant-topbar .wordmark { width: 88px; }
  .participant-nav .topbar-link { font-size: .75rem; padding-inline: .42rem; }
}

@media (max-width: 350px) {
  .participant-topbar .topbar-inner { padding-inline: max(.75rem, env(safe-area-inset-left)) max(.75rem, env(safe-area-inset-right)); }
  .participant-topbar .wordmark { width: 76px; }
}

@media (max-width: 470px) {
  .participant-topbar .topbar-inner { flex-wrap: wrap; gap: .25rem .5rem; padding-block: .3rem; }
  .participant-nav { flex: 1 0 100%; }
}

.login-form { margin-top: 1.2rem; }
.login-form .primary { width: 100%; }
