@font-face {
  font-family: Readex;
  src: url("./readex-pro-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Readex, sans-serif;
  color: #193a30;
  background: #f5f7f3;
  font-synthesis: none;
  --muted: #46634f;
  --line: #d8e2d8;
  --primary: #174e3b;
  --surface: #fff;
  --focus: #986413;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button:not(:disabled),
a,
summary {
  transition: background-color 0.16s, color 0.16s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
::selection {
  background: #dae9cf;
  color: #173f33;
}
input {
  caret-color: var(--primary);
}
textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  resize: vertical;
  font: inherit;
  color: inherit;
  background: white;
  padding: 10px 12px;
  border: 1px solid #9eb49f;
  border-radius: 8px;
  caret-color: var(--primary);
}
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.settings-layout {
  max-width: 900px;
}
.settings-status {
  margin-bottom: 28px;
}
.settings-status h2 {
  margin-bottom: 6px;
}
.settings-status p {
  margin: 6px 0;
}
.settings-status details {
  margin: 12px 0;
}
.settings-layout .editor {
  width: 100%;
}
.settings-layout h2 {
  font-size: 18px;
}
.settings-layout section > .muted {
  max-width: 70ch;
}
.settings-layout .field-pair {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-layout section > label,
.settings-layout fieldset > label,
.settings-layout section > .field-pair,
.settings-layout fieldset > .field-pair {
  margin-top: 20px;
}
@media (max-width: 650px) {
  .settings-layout .field-pair {
    grid-template-columns: 1fr;
  }
}
.settings-layout .check-result {
  max-width: 70ch;
  margin: 12px 0;
}
.settings-layout button {
  max-width: 100%;
}
.network-prefix {
  margin: 24px 0;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
}
.network-prefix legend {
  font-size: 13px;
  font-weight: 550;
}
.network-prefix .text-button {
  margin-top: 12px;
}
.settings-layout .toggle-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 20px;
}
.settings-layout .toggle-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  accent-color: var(--primary);
}
.settings-layout input[type="password"] {
  font-family: inherit;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--primary);
  text-underline-offset: 3px;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 4;
  padding: 10px;
  background: white;
}
.skip:focus {
  top: 12px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 650;
  text-wrap: balance;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
h3 {
  line-height: 1.3;
}
.muted,
.help,
.optional {
  color: var(--muted);
}
.help {
  font-size: 12px;
  display: block;
  line-height: 1.6;
}
.optional {
  font-size: 12px;
  font-weight: 400;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
}
label .help {
  font-weight: 400;
}
input:not([type="file"]):not([type="color"]),
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #a4b9aa;
  border-radius: 8px;
  background: #fff;
  color: #193a30;
  min-height: 44px;
}
input:hover,
select:hover {
  border-color: #66816f;
}
button.primary,
button.secondary,
a.secondary {
  min-height: 42px;
  padding: 10px 17px;
  border: 0;
  border-radius: 8px;
  font-weight: 550;
}
.primary {
  color: white;
  background: var(--primary);
}
.primary:not(:disabled):hover {
  background: #0e3a2b;
}
.secondary {
  color: #234735;
  background: #e6eee4;
}
.secondary:not(:disabled):hover {
  background: #dbe7d8;
}
.text-button {
  border: 0;
  padding: 8px 0;
  background: none;
  color: var(--primary);
  font-weight: 550;
  text-align: left;
}
.text-button:hover {
  text-decoration: underline;
}
.wordmark {
  font-size: 23px;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.025em;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}
.wordmark span {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 5px;
}
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.auth-story {
  background: #123e30;
  color: #fff;
  padding: 52px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 72px;
}
.auth-story .wordmark {
  color: #fff;
}
.auth-story h1 {
  font-size: 42px;
  max-width: 440px;
  font-weight: 550;
}
.auth-story p {
  max-width: 440px;
  color: #c1d7c7;
  font-size: 16px;
  margin-top: 24px;
}
.auth-story .auth-foot {
  font-size: 12px;
}
.login {
  align-self: center;
  width: min(100%, 400px);
  margin: 60px auto;
  padding: 0 24px;
  display: grid;
  gap: 22px;
}
.login h2 {
  font-size: 27px;
}
.login > .muted {
  margin-top: -14px;
}
.login .primary {
  width: 100%;
}
#password-fields {
  display: grid;
  gap: 22px;
}
.error {
  color: #923d25;
  background: #fff0e8;
  padding: 12px;
  border-radius: 8px;
}
.workspace {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: #eaf0e6;
  padding: 32px 22px;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-right: 1px solid var(--line);
}
.provider-label {
  margin-top: 12px;
}
.provider-label select {
  background: #f8faf6;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.nav-link {
  display: block;
  text-align: left;
  padding: 12px 11px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #4c6555;
  font-weight: 500;
  font-size: 13px;
}
.nav-link:hover {
  background: #dde8d8;
}
.nav-link.selected {
  background: #d6e5ce;
  color: #173f2f;
  font-weight: 600;
}
.sidebar-foot {
  margin-top: auto;
  font-size: 12px;
  overflow-wrap: anywhere;
  display: grid;
  gap: 7px;
  color: var(--muted);
}
.sidebar-foot button {
  font-size: 12px;
}
main {
  padding: 42px clamp(24px, 3vw, 52px) 64px;
  min-width: 0;
  max-width: 1530px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}
.page-head .muted {
  margin-top: 9px;
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.feedback {
  padding: 13px 16px;
  background: #e1efdd;
  color: #264d32;
  border-radius: 8px;
  margin: 0 0 22px;
  max-width: 950px;
}
.feedback.bad {
  background: #fff0e3;
  color: #85441f;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 330px;
  gap: 48px;
  align-items: start;
  max-width: 1110px;
}
.editor {
  min-width: 0;
}
.editor > label,
.editor > .field-pair {
  margin-top: 24px;
}
.section-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.status {
  font-size: 12px;
  white-space: nowrap;
  color: #526c55;
  background: #e5eddf;
  padding: 5px 8px;
  border-radius: 5px;
}
.field-pair {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
}
.package {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  min-width: 0;
}
.package code {
  font-family: inherit;
  color: #294938;
  word-break: break-word;
  font-size: 12px;
}
.package small {
  font-size: 12px;
}
.form-section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 30px;
}
.form-section > p {
  font-size: 12px;
  margin-top: 9px;
}
.asset-row {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}
.asset-row > div:last-child {
  min-width: 0;
  flex: 1;
}
.asset-thumb {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #e7eee2;
  display: grid;
  place-items: center;
  padding: 10px;
}
.asset-thumb img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
}
.icon-thumb {
  width: 70px;
  height: 70px;
  margin-right: 30px;
  padding: 0;
  background: transparent;
}
.icon-thumb img {
  max-height: 70px;
  max-width: 70px;
  border-radius: 15px;
}
.upload-label {
  font-size: 12px;
  gap: 5px;
  cursor: pointer;
}
.upload-label input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: 12px;
  color: var(--muted);
}
input::file-selector-button {
  font: inherit;
  border: 0;
  background: #e6eee4;
  color: #234735;
  border-radius: 6px;
  padding: 7px 10px;
  margin-right: 8px;
  cursor: pointer;
}
.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 20px;
  margin-top: 22px;
}
.color-field > span {
  font-size: 12px;
}
.color-inputs {
  display: flex;
  align-items: center;
  gap: 7px;
}
input[type="color"] {
  padding: 2px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  flex-shrink: 0;
}
.color-inputs input[type="text"] {
  min-width: 0;
  padding: 7px 9px;
  min-height: 36px;
  font-size: 12px;
  width: 100%;
  max-width: 120px;
  font-variant-numeric: tabular-nums;
}
details {
  margin-top: 26px;
}
summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 550;
  padding: 8px 0;
}
details > .help {
  margin-top: 8px;
}
.editor-note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
  max-width: 60ch;
}
.preview-area {
  position: sticky;
  top: 30px;
}
.preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.preview-label h2 {
  font-size: 13px;
}
.preview-label span {
  font-size: 12px;
  color: var(--muted);
}
.preview-area > .help {
  margin-top: 16px;
  font-size: 12px;
}
.phone-preview {
  --brand-primary: #123e30;
  --brand-deep: #103a2b;
  --brand-accent: #ff8b0a;
  --brand-ink: #173f33;
  --brand-background: #f5f7f1;
  --brand-muted: #53695b;
  --brand-tonal: #e9f0e3;
  --on-accent: #30200c;
  border-radius: 27px;
  overflow: hidden;
  background: var(--surface-homeCanvas, var(--brand-background));
  color: var(--brand-ink);
  box-shadow: 0 12px 26px rgb(0 0 0 / 0.1);
}
.preview-hero {
  padding: 26px 23px 63px;
  border-radius: 0 0 32px 32px;
  background: var(--brand-deep);
  color: var(--palette-onDeep, #fff);
}
.preview-hero img {
  height: 40px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 20px;
}
.preview-hero p {
  font-size: 12px;
  color: var(--surface-heroMuted, #fff);
  margin-bottom: 7px;
}
.preview-hero h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.preview-contract {
  margin-top: 20px;
  border-radius: 20px;
  padding: 9px 12px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  font-size: 12px;
}
.preview-support {
  position: relative;
  margin: -40px 15px 0;
  border-radius: 17px;
  background: var(--palette-surface, white);
  padding: 22px 19px 0;
  box-shadow: 0 5px 12px rgb(0 0 0 / 0.06);
}
.preview-status {
  font-size: 12px;
  color: var(--surface-success, #2d683f);
  font-weight: 550;
}
.preview-support h3 {
  font-size: 20px;
  margin-top: 14px;
  letter-spacing: -0.02em;
}
.preview-support p {
  font-size: 12px;
  color: var(--brand-muted);
  margin-top: 9px;
}
.preview-cta {
  display: flex;
  justify-content: space-between;
  background: var(--brand-accent);
  color: var(--surface-onAccent, var(--on-accent));
  padding: 13px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0 15px;
}
.preview-row {
  border-top: 1px solid var(--surface-line, #e2e8de);
  margin: 0 -19px;
  padding: 14px 19px;
  font-size: 12px;
  font-weight: 550;
}
.preview-bill {
  background: var(--surface-billingSurface, var(--brand-tonal));
  margin: 13px 15px 24px;
  padding: 14px;
  border-radius: 12px;
  font-size: 12px;
  display: grid;
  gap: 3px;
}
.preview-tabs {
  display: flex;
  justify-content: space-around;
  background: var(--palette-surface, white);
  padding: 15px 8px;
  font-size: 12px;
  color: var(--brand-muted);
}
.preview-bill > span {
  color: var(--surface-billingDetail, var(--brand-muted));
}
.color-section-title {
  grid-column: 1 / -1;
  font-size: 14px;
  margin-top: 10px;
}
.preview-tabs span:first-child {
  color: var(--brand-primary);
  font-weight: 650;
}
.palette-toolbar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: end;
  margin: 20px 0;
}
.preview-message {
  margin: 0 15px 18px 42px;
  padding: 12px;
  border-radius: 12px 12px 3px 12px;
  background: var(--palette-primaryFill, var(--brand-primary));
  color: var(--palette-onPrimary, white);
  font-size: 12px;
}
.preview-message small {
  display: block;
  margin-top: 8px;
  color: var(--surface-onPrimaryMuted, var(--palette-onPrimary, white));
}
.palette-toolbar label {
  flex: 1;
  min-width: 190px;
}
.palette-contrast {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
}
.palette-contrast ul {
  padding-left: 20px;
}
.palette-contrast ul:empty {
  display: none;
}
.contrast-warning {
  color: #814116;
}
.wide-logo {
  max-width: 200px !important;
  height: 44px !important;
}
.build-guide {
  max-width: 700px;
}
.build-guide ol {
  padding-left: 20px;
  margin-top: 24px;
}
.build-guide li {
  padding-left: 8px;
  margin-bottom: 28px;
}
.build-guide li p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.publication {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.publication:first-child {
  border-top: 1px solid var(--line);
}
.publication h3 {
  font-size: 16px;
}
.publication p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.publication .digest {
  font-family: monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.publication a {
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.empty {
  padding: 35px 0;
  max-width: 620px;
}
.empty p {
  color: var(--muted);
  margin-top: 10px;
}
.loading {
  display: grid;
  gap: 18px;
  max-width: 600px;
}
.loading div {
  background: #e4ebdf;
  border-radius: 8px;
  height: 80px;
}
.loading div:first-child {
  height: 24px;
  width: 70%;
}
dialog {
  border: 0;
  border-radius: 16px;
  padding: 28px;
  max-width: 490px;
  width: calc(100% - 32px);
  color: #193a30;
  box-shadow: 0 14px 45px rgb(0 0 0 / 0.18);
}
dialog::backdrop {
  background: #142e2470;
}
dialog h2 {
  font-size: 23px;
  margin-bottom: 15px;
}
dialog p {
  color: var(--muted);
  font-size: 13px;
}
#confirm-detail {
  margin-top: 17px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#confirm-detail p {
  margin-top: 8px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}
@media (min-width: 1450px) {
  .editor-layout {
    gap: 64px;
    grid-template-columns: minmax(350px, 1fr) 350px;
  }
  .phone-preview {
    margin: 0 10px;
  }
}
@media (max-width: 1150px) {
  .workspace {
    grid-template-columns: 205px 1fr;
  }
  .sidebar {
    padding: 28px 17px;
  }
  .editor-layout {
    grid-template-columns: minmax(260px, 1fr) 285px;
    gap: 25px;
  }
  .page-head {
    flex-wrap: wrap;
  }
  .preview-hero h3 {
    font-size: 21px;
  }
  .preview-support h3 {
    font-size: 18px;
  }
}
@media (max-width: 920px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: relative;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 190px;
    padding: 22px 24px;
    gap: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .provider-label {
    margin: 0;
  }
  .sidebar nav {
    display: flex;
    grid-column: 1/-1;
    flex-wrap: wrap;
    gap: 4px;
  }
  .sidebar-foot {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-foot button {
    padding: 0;
  }
  .editor-layout {
    grid-template-columns: minmax(260px, 1fr) 300px;
    gap: 28px;
  }
  main {
    padding-top: 28px;
  }
  .auth-story {
    padding: 42px 34px;
  }
  .auth-story h1 {
    font-size: 34px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 24px;
  }
  .auth {
    display: block;
  }
  .auth-story {
    padding: 28px;
    gap: 30px;
  }
  .auth-story h1 {
    font-size: 27px;
    max-width: 360px;
  }
  .auth-story p {
    font-size: 13px;
    margin-top: 15px;
  }
  .auth-foot {
    display: none;
  }
  .login {
    margin: 36px auto;
  }
  .sidebar {
    padding: 20px;
    grid-template-columns: 1fr 150px;
  }
  .wordmark {
    font-size: 20px;
  }
  .nav-link {
    font-size: 12px;
    padding: 10px 9px;
  }
  .page-head {
    gap: 20px;
    margin-bottom: 26px;
  }
  .actions {
    width: 100%;
    gap: 8px;
  }
  .actions button {
    flex: 1;
    font-size: 12px;
    padding: 10px;
  }
  .editor-layout {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }
  .editor {
    width: 100%;
  }
  .preview-area {
    position: static;
    width: min(100%, 330px);
    align-self: center;
  }
  .field-pair {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .publication {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .color-grid {
    gap: 15px 12px;
  }
  main {
    padding: 26px 20px 48px;
  }
  .dialog-actions button {
    flex: 1;
  }
  .sidebar-foot {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.metrics-filter {
  max-width: 900px;
  margin: 28px 0;
}
.node-register {
  max-width: 900px;
  margin: 30px 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.node-register h2 {
  margin-bottom: 24px;
}
.node-register > label {
  margin: 24px 0;
}
.node-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.node-toolbar {
  margin: 20px 0;
  flex-wrap: wrap;
}
a.secondary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.node-list {
  list-style: none;
  padding: 0;
}
.access-list {
  list-style: none;
  padding: 0;
}
.access-row h3,
.access-list li {
  overflow-wrap: anywhere;
}
.access-row h3 {
  font-size: 17px;
}
.access-panel .field-pair,
.access-panel fieldset {
  margin-top: 24px;
}
.access-panel fieldset .toggle-field {
  margin: 8px 0;
}
.access-panel > .help,
.access-panel .form-section > .help {
  margin: 16px 0 24px;
}
.access-editor {
  max-width: 700px;
  margin-top: 24px;
}
.node-row {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.node-row p {
  margin: 8px 0;
}
.node-origin {
  overflow-wrap: anywhere;
}
.node-status {
  font-weight: 600;
}
.node-share {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  max-width: 600px;
  margin: 24px 0;
}
.node-share label {
  flex: 1;
  min-width: 180px;
  margin: 0;
}
.node-invitation {
  max-width: 900px;
  padding: 24px;
  border: 1px solid var(--field-line);
}
.node-invitation p {
  margin: 12px 0;
}
.node-invitation textarea {
  overflow-wrap: anywhere;
  resize: vertical;
}
@media (max-width: 650px) {
  .node-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .node-invitation {
    padding: 20px;
  }
}
.metrics-filter .field-pair {
  margin: 20px 0;
}
.metric-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.preparation-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
#preparation > .section-heading .help {
  max-width: 70ch;
}
.preparation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.preparation-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
}
.preparation-heading h2 {
  margin: 0;
  font-size: 17px;
}
.preparation-state {
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}
.preparation-row p {
  margin: 6px 0 0;
  max-width: 70ch;
}
.preparation-row .text-button {
  min-height: 44px;
  margin-top: -8px;
}
@media (max-width: 650px) {
  .preparation-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .preparation-row .text-button {
    justify-self: start;
    margin-top: 0;
  }
}
.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.metric-row h2 {
  font-size: 17px;
  margin: 0 0 6px;
}
.metric-row p {
  margin: 6px 0;
}
.metric-reference {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.metric-detail {
  max-width: 900px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.metric-detail dl {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
  gap: 12px 24px;
  padding: 20px 0;
}
.metric-detail dt {
  font-weight: 550;
}
.metric-detail dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.metric-detail section,
.metric-detail details {
  margin: 28px 0;
}
.metric-detail h3 {
  margin: 28px 0 10px;
}
.metric-detail h4 {
  font-size: 15px;
  margin-bottom: 8px;
}
@media (max-width: 920px) {
  .metric-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .metric-row button {
    justify-self: start;
  }
}
@media (max-width: 650px) {
  .metrics-filter .field-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .metric-detail dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .metric-detail dd {
    margin-bottom: 12px;
  }
}

.support-investigation section {
  margin-top: 28px;
}
.support-investigation h4 {
  font-size: 14px;
  margin: 20px 0 8px;
}
.support-investigation ol {
  padding-inline-start: 24px;
}
.support-investigation li {
  margin-block: 12px;
  overflow-wrap: anywhere;
}
.outcome-form {
  max-width: 640px;
  margin-top: 24px;
}
.outcome-form label {
  display: block;
  margin-block: 18px;
}
.outcome-form select {
  width: 100%;
  margin-top: 8px;
}

/* Central credentials are a temporary check within the operational editor. */
#authentication-settings > p {
  margin-top: 12px;
}
#central-auth-fields {
  margin-top: 24px;
}
#central-auth-fields legend {
  font-weight: 600;
  padding: 0;
  margin-bottom: 8px;
}
#central-auth-fields > button {
  margin-top: 16px;
}
#chat-links .editor > button,
#chat-links .actions {
  margin-top: 20px;
}
