/* Canvas v3 tokens (shipboard-data docs/design/get-moorhold-canvas, design system v2), tuned so every
   text pair is at least 7:1 (WCAG AAA). On tinted surfaces text uses --text, never --muted. */
:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --sunken: #eef1ef;
  --text: #1a1f22;
  /* 7.08:1 on --bg, 7.61:1 on --surface. */
  --muted: #4c555c;
  --border: #d3d9d7;
  --border-strong: #8a9593;
  /* 7.32:1 on --bg, 7.87:1 with white text. */
  --accent: #125a63;
  --accent-hover: #0c454c;
  --accent-soft: #e2eeef;
  --ok-fg: #12481f;
  --ok-bg: #e5f1e8;
  --ok-border: #2e7d32;
  --warn-fg: #5c3b00;
  --warn-bg: #fcf1d8;
  --warn-border: #c48a00;
  --danger: #8c1d22;
  --danger-bg: #fbe9ea;
  --neutral-bg: #eef1ef;
  --neutral-border: #a9b3b1;
  --focus: #f0b400;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* Kept for the legal pages and older rules. */
  --fg: var(--text);
  --line: var(--border);
  --warn: #8a3b12;
}
* {
  box-sizing: border-box;
}
/* An attribute outranks element rules such as header nav a and form, so hidden stays hidden. */
[hidden] {
  display: none;
}
body {
  margin: 0;
  font:
    16px / 1.5 "IBM Plex Sans",
    system-ui,
    sans-serif;
  color: var(--text);
  background: var(--bg);
}
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--accent-hover);
}
code {
  font-family: var(--mono);
  font-size: 0.9em;
}
.muted {
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--line);
}
.secret {
  font-family: var(--mono);
  word-break: break-all;
  background: #fff;
  border: 1px dashed var(--warn);
  padding: 0.75rem;
}
#status {
  min-height: 1.5rem;
  color: var(--warn);
}
.meta {
  color: var(--muted);
  margin-top: -0.5rem;
}
footer {
  color: var(--muted);
  font-size: 0.9rem;
}
footer p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: space-between;
  align-items: center;
}
.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.field-error {
  margin: 0.25rem 0;
  color: var(--danger);
  font-weight: 600;
}
.create-key {
  max-width: 28rem;
}
.header-inner,
main,
footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem;
}
main[data-page="app"],
main[data-page="app"] ~ footer,
body:has(main[data-page="app"]) .header-inner {
  max-width: 72rem;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--text);
  text-decoration: none;
}
header nav a:hover,
header nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
header nav a[aria-current="page"] {
  font-weight: 600;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
}
.brand span {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 0.25rem;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0.5rem 0 0.25rem;
}
h1:focus {
  outline: none;
}
h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}
h3 {
  font-size: 1.05rem;
}
form {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}
label {
  font-weight: 500;
}
input,
select {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  padding: 0.5rem;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  max-width: 100%;
}
input[type="checkbox"] {
  min-height: 0;
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: -0.2rem;
  accent-color: var(--accent);
}
input[aria-invalid="true"] {
  border: 2px solid var(--danger);
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  justify-self: start;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: var(--accent-hover);
  color: #fff;
}
button.secondary {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--border-strong);
}
button.secondary:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
button.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--text);
}
button.quiet:hover {
  background: var(--sunken);
  color: var(--text);
}
button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}
button.danger:hover {
  background: #6e161a;
}
button.danger-outline {
  background: var(--surface);
  color: var(--danger);
  border-color: var(--danger);
}
button.danger-outline:hover {
  background: var(--danger-bg);
  color: var(--danger);
}
button.small {
  min-height: 36px;
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}
.next .hint,
.next .field-error {
  color: var(--text);
}
/* ---- the account overview (ALLOT-1530) ---- */
.step {
  margin: 0;
  font-size: 0.9rem;
}
.org {
  margin-bottom: 2rem;
}
.org-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.org-head p {
  margin: 0;
}
.org-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 1rem 0 0.25rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip--ok {
  color: var(--ok-fg);
  background: var(--ok-bg);
  border-color: var(--ok-border);
}
.chip--ok::before {
  content: "✓";
}
.chip--neutral {
  color: var(--text);
  background: var(--neutral-bg);
  border-color: var(--neutral-border);
}
.chip--warn {
  color: var(--warn-fg);
  background: var(--warn-bg);
  border-color: var(--warn-border);
}
.chip--danger {
  color: var(--danger);
  background: var(--danger-bg);
  border-color: var(--danger);
}
.next {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border-radius: 8px;
}
.next > div {
  flex: 1 1 28rem;
}
.next h2 {
  margin: 0 0 0.25rem;
}
.next p {
  margin: 0;
}
.next .create-key {
  flex: 1 1 20rem;
  margin: 0;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
  justify-content: space-between;
  align-items: baseline;
}
.section-head h2 {
  margin-bottom: 0.25rem;
}
.section-head p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}
.keys > .create-key,
.keys > button {
  margin: 0 0 1rem;
}
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.keys-table {
  margin: 0;
}
.keys-table th,
.keys-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}
.keys-table thead th {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg);
}
.keys-table tbody th {
  font-weight: 400;
}
.keys-table tr.has-confirm > * {
  border-bottom: 0;
}
.key-name {
  display: block;
  font-weight: 600;
}
.keys-table th code {
  color: var(--muted);
  font-size: 0.85rem;
}
.confirm {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--sunken);
}
.confirm--danger {
  border-color: var(--danger);
  background: var(--surface);
}
.confirm h3 {
  margin: 0 0 0.25rem;
}
.confirm h3:focus {
  outline: none;
}
.confirm p {
  margin: 0 0 0.75rem;
}
.key-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.key-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}
.key-card p {
  margin: 0;
  font-size: 0.9rem;
}
.key-card__head {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}
.key-card .confirm .actions {
  flex-direction: column;
  align-items: stretch;
}
.notice {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid;
  border-radius: 6px;
}
.notice p {
  margin: 0;
}
.notice__title {
  font-weight: 600;
}
.notice--ok {
  color: var(--text);
  background: var(--ok-bg);
  border-color: var(--ok-border);
}
.notice--ok .notice__title::before {
  content: "✓ ";
  color: var(--ok-fg);
}
.notice--warn {
  color: var(--text);
  background: var(--warn-bg);
  border-color: var(--warn-border);
}
.notice--warn .notice__title::before {
  content: "⚠ ";
}
.notice--info {
  color: var(--text);
  background: var(--accent-soft);
  border-color: #5d8c92;
}
.notice--info .notice__title::before {
  content: "ⓘ " / "";
}
.notice--danger {
  color: var(--text);
  background: var(--danger-bg);
  border-color: var(--danger);
}
.notice--danger .notice__title::before {
  content: "! " / "";
  color: var(--danger);
  font-weight: 700;
}
/* The accent link colour is 6.7:1 on the pink; the darker accent keeps links at AAA. */
.notice--danger a {
  color: var(--accent-hover);
}
.notice--plain p::before {
  content: "⚠ " / "";
}
/* ---- the get route (ALLOT-1530: SignIn, Pending, NotApproved, Suspended, StepIndicator) ---- */
#above-heading {
  margin-top: 0.5rem;
}
#above-heading:empty {
  display: none;
}
.back {
  margin: 0 0 0.75rem;
}
.back a,
.switch a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.lede {
  margin: 0.25rem 0 1rem;
  max-width: 36rem;
}
.steps {
  margin: 0 0 0.5rem;
}
.steps details {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}
.steps summary {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.steps summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.steps__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.steps__item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.steps__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
}
.steps__item--done .steps__mark {
  background: var(--ok-bg);
  border-color: var(--ok-border);
  color: var(--ok-fg);
}
.steps__item--current {
  font-weight: 600;
}
.steps__item--current .steps__mark {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.steps__item a {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  min-height: 24px;
  text-decoration: none;
}
.steps__item a .steps__name {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.steps__flag {
  font-weight: 600;
}
/* From 640 px: the full bar (ALLOT-1453 spec section 5). The one-line form and "See all steps" go,
   so a screen reader hears the step once, from the list; the script keeps the details open. */
@media (min-width: 640px) {
  .steps .step,
  .steps summary {
    display: none;
  }
  .steps details {
    margin: 0.25rem 0 1.25rem;
  }
  .steps__list {
    display: flex;
    gap: 0;
    margin: 0;
  }
  .steps__item {
    position: relative;
    flex: 1 1 0;
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
  }
  .steps__item--done,
  .steps__item--current {
    color: var(--text);
  }
  .steps__item::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
  }
  .steps__item:first-child::before {
    content: none;
  }
  .steps__item--done::before,
  .steps__item--current::before {
    background: var(--ok-border);
  }
  .steps__item a {
    flex-direction: column;
    gap: 0.35rem;
  }
  .steps__item .steps__mark {
    position: relative;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
  .steps__item--current .steps__mark {
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .steps__name {
    max-width: 8rem;
  }
}
.code-flow,
.first-org {
  max-width: 33rem;
}
.code-flow form,
.first-org form {
  margin: 0.75rem 0;
}
.code-for {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
  align-items: center;
  margin: 0 0 0.75rem;
}
button.link {
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
button.link:hover {
  background: none;
  color: var(--accent-hover);
}
button.quiet[aria-disabled="true"] {
  color: var(--muted);
  cursor: not-allowed;
}
.switch {
  margin: 1rem 0 0;
}
.choice {
  max-width: 33rem;
  margin: 1rem 0;
}
.choice h3 {
  margin: 0 0 0.25rem;
}
.choice p {
  margin: 0 0 0.75rem;
}
.wait .button {
  margin: 0.25rem 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
  margin-top: 2rem;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.panel h2 {
  margin-top: 0;
}
#account {
  margin-top: 2rem;
}
.people {
  padding-left: 1.25rem;
}
/* ---- the key, shown once (KeyShown) ---- */
.key-shown {
  max-width: 53rem;
  display: grid;
  gap: 1.25rem;
}
.key-shown .lede {
  margin: 0;
}
.secret-field {
  padding: 1rem 1.25rem;
  background: var(--sunken);
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
}
.secret-field h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.secret-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.secret-value {
  flex: 1 1 20rem;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  word-break: break-all;
}
.field-status {
  margin: 0.5rem 0 0;
  min-height: 1.5rem;
  font-size: 0.95rem;
}
.field-status--ok {
  color: var(--ok-fg);
}
.prompt-example {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
}
.prompt-example code {
  flex: 1 1 22rem;
  padding: 0.5rem 0.75rem;
  background: var(--sunken);
  border-radius: 4px;
  word-break: break-word;
}
.prompt-example span {
  flex: 0 1 12rem;
  font-size: 0.9rem;
}
.check {
  margin: 0;
}
.check label {
  font-weight: 400;
}
.code-flow .check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}
.code-flow .check input {
  margin-top: 0.15rem;
  flex: none;
}
/* ALLOT-1562: the keys list with no keys yet (v3 StatePanel, kind empty). */
.state-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.25rem;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
}
.state-empty svg {
  color: var(--muted);
}
.state-empty h3 {
  margin: 0;
  font-size: 1rem;
}
.state-empty p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
}

@media (max-width: 639px) {
  /* One row of links under the brand at 390 px, each still 44 px tall. */
  .header-inner {
    padding-block: 0.5rem 0;
    row-gap: 0;
  }
  header nav {
    flex-wrap: nowrap;
    gap: 0 0.85rem;
    font-size: 0.9rem;
  }
  header nav a {
    min-height: 44px;
    white-space: nowrap;
  }
  h1 {
    font-size: 1.6rem;
  }
  .next {
    padding: 1rem;
  }
  .secret-row .actions,
  .key-shown > .actions {
    width: 100%;
  }
}

/* Service-disruption notice (ALLOT-1345), filled by /static/status-banner.js only when
   status.allotmentology.tech reports this service as not operational or /healthz cannot be reached.
   In normal flow above the header. Fixed colours, both above WCAG AAA's 7:1: #ffffff on #7f1d1d
   (outage and "can't reach", about 10:1) and #1c1917 on #fde68a (degraded/maintenance, about 14:1).
   The title says the state in words, so colour is never the only signal. No animation. */
.service-notice-slot:focus {
  outline: none;
}
.service-notice {
  border-bottom: 2px solid currentColor;
  line-height: 1.5;
}
.service-notice--outage {
  background: #7f1d1d;
  color: #ffffff;
}
.service-notice--degraded,
.service-notice--maintenance {
  background: #fde68a;
  color: #1c1917;
}
.service-notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}
.service-notice__text {
  flex: 1;
  min-width: 0;
}
.service-notice p {
  margin: 0;
}
.service-notice__title {
  font-weight: 700;
}
.service-notice__body,
.service-notice__more {
  margin-top: 0.25rem;
}
.service-notice a {
  color: inherit;
  text-decoration: underline;
}
.service-notice a:focus-visible,
.service-notice__close:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}
.service-notice__close {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: inherit;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 4px;
}
.service-notice__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- People and deletion (1482 board 2.3), states (2.4) and the copy field (2.8) ---- */
.button.secondary {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--border-strong);
}
.button.secondary:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.people-panel {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.people-panel .section-head .muted {
  margin: 0.25rem 0 0;
}
.people-panel h3 {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}
.people-list,
.open-links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.person {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.person__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) auto;
  gap: 0.5rem 1rem;
  align-items: center;
}
.person > .confirm {
  margin-top: 0.75rem;
}
.person__who,
.person__role {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.person__role {
  align-items: flex-start;
}
.person__name {
  font-weight: 600;
}
.you {
  font-weight: 400;
  color: var(--muted);
}
.person__actions {
  justify-self: end;
}
.small-print {
  margin: 0;
  font-size: 0.9rem;
}
.open-links li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.invite-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.75rem;
}
.invite-form legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.role-choice {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.invite-form .role-choice input {
  margin-top: 0.2rem;
  flex: none;
}
.role-choice label {
  display: grid;
  gap: 0.1rem;
}
.invite-link {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  border-radius: 8px;
}
.invite-link h3,
.invite-link p {
  margin: 0;
}
.invite-link h3:focus,
.people-panel h2:focus {
  outline: none;
}
.copy-field__label {
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.copy-field__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.copy-value {
  flex: 1 1 20rem;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-size: 0.95rem;
  word-break: break-all;
}
.confirm--warn {
  border-color: var(--warn-border);
  background: var(--warn-bg);
  color: var(--warn-fg);
}
.deletion {
  display: grid;
  gap: 1rem;
}
.deletion .confirm ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}
.loading {
  color: var(--muted);
}
.load-failed {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}
@media (max-width: 639px) {
  .person__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .person__role {
    grid-row: 2;
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }
  .person__actions {
    grid-row: 1;
    grid-column: 2;
    align-self: start;
  }
  .copy-field__row .actions {
    width: 100%;
  }
}
