@charset "UTF-8";
:root {
  --mc-sky: #f5f7f8;
  --mc-ink: #172b27;
  --mc-stone: #ffffff;
  --mc-stone-dark: #edf3f0;
  --mc-dirt: #e7efeb;
  --mc-grass: #23734e;
  --mc-grass-deep: #195b3d;
  --mc-sand: #52645d;
  --mc-emerald: #18724d;
  --mc-redstone: #b53636;
  --mc-gold: #916400;
  --font-pixel: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --mc-page-pad: 1rem;
  --mc-panel-pad: 1.25rem;
  --mc-touch: 2.75rem;
}
@media (min-width: 768px) {
  :root {
    --mc-page-pad: 2rem;
    --mc-panel-pad: 1.5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: #172b27;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  background: #f5f7f8;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: #18724d;
}
a:hover {
  color: #916400;
}

h1, h2, h3, p {
  margin-top: 0;
}

a {
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid #23734e;
  outline-offset: 3px;
}

::selection {
  background: #c8ead7;
  color: #172b27;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.mc-panel {
  background: #ffffff;
  border: 1px solid #d8e2dd;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(23, 43, 39, 0.025);
  padding: var(--mc-panel-pad);
  max-width: 100%;
}

.mc-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #172b27;
  text-shadow: none;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mc-subtitle {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  color: #52645d;
  opacity: 0.9;
}

.mc-label {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #52645d;
}

.mc-input {
  width: 100%;
  max-width: 100%;
  appearance: none;
  border: 1px solid #d8e2dd;
  border-radius: 8px;
  background: #fff;
  color: #172b27;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  min-height: var(--mc-touch);
  box-shadow: none;
}
.mc-input:focus {
  outline: 2px solid #18724d;
  outline-offset: 2px;
}

.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  min-height: var(--mc-touch);
  background: #23734e;
  color: #f4ffe8;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.mc-btn:hover {
  filter: brightness(1.08);
  transform: none;
  color: #fff;
}
.mc-btn:active {
  transform: none;
  box-shadow: none;
}

select.mc-input {
  cursor: pointer;
  appearance: auto;
}

.mc-btn-secondary {
  background: #fff;
  border-color: #d8e2dd;
  color: #172b27;
}
.mc-btn-secondary:hover {
  background: #edf3f0;
  color: #172b27;
}

.mc-btn-block {
  width: 100%;
}

.mc-alert {
  border: 1px solid #d8e2dd;
  border-radius: 8px;
  background: #fff0ef;
  color: #9b2929;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  box-shadow: none;
  overflow-wrap: anywhere;
}

.mc-alert-ok {
  background: #edf8f0;
  color: #195b3d;
}

.mc-alert-warn {
  background: #fff8e8;
  color: #805600;
}

.mc-chip {
  display: inline-block;
  border: 1px solid #d8e2dd;
  border-radius: 6px;
  background: #e7efeb;
  color: #52645d;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
}

.mc-grass-bar {
  height: 3px;
  background: #23734e;
}

.mc-form-help {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  opacity: 0.8;
}

.mc-form-error {
  margin: 0.35rem 0 0;
  color: #9b2929;
  font-size: 1.05rem;
}

.mc-label-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--mc-touch);
  cursor: pointer;
}
.mc-label-check input {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  accent-color: #23734e;
}

.mc-task-form {
  max-width: 40rem;
}
.mc-task-form select.mc-input {
  cursor: pointer;
}
.mc-task-form textarea.mc-input {
  min-height: 8rem;
  resize: vertical;
}

.mc-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.mc-link-row > .mc-btn,
.mc-link-row > form {
  flex: 1 1 100%;
}
@media (min-width: 480px) {
  .mc-link-row > .mc-btn,
  .mc-link-row > form {
    flex: 0 1 auto;
    min-width: 10rem;
  }
}
.mc-link-row > form .mc-btn {
  width: 100%;
}

.mc-page, .mc-page-center {
  min-height: calc(100vh - 76px);
  min-height: calc(100dvh - 76px);
  padding: var(--mc-page-pad);
  padding-bottom: max(var(--mc-page-pad), env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  max-width: 100%;
}

.mc-page-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-page-inner {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .mc-page-inner {
    gap: 1.5rem;
  }
}

.mc-auth-card {
  width: 100%;
  max-width: 28rem;
}

.mc-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mc-stack-lg {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mc-text-center {
  text-align: center;
}

.mc-user-line {
  overflow-wrap: anywhere;
}

.mc-map-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  min-height: calc(100vh - 76px);
  min-height: calc(100dvh - 76px);
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  padding: var(--mc-page-pad);
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  gap: 0.75rem;
}

.mc-map-chrome {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}
@media (min-width: 768px) {
  .mc-map-chrome {
    padding: 1rem 1.25rem;
  }
}

.mc-map-chrome-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.mc-map-chrome-copy .mc-title {
  margin: 0;
  font-size: clamp(0.55rem, 2.6vw, 0.85rem);
}

.mc-map-chrome-links {
  flex: 1 1 auto;
}
.mc-map-chrome-links > .mc-btn {
  flex: 1 1 calc(50% - 0.4rem);
}
@media (min-width: 480px) {
  .mc-map-chrome-links > .mc-btn {
    flex: 0 1 auto;
  }
}

.mc-map-frame-wrap {
  flex: 1 1 auto;
  position: relative;
  min-height: 12rem;
  overflow: hidden;
  border: 1px solid #d8e2dd;
  border-radius: 8px;
  background: #111;
  box-shadow: 4px 4px 0 #111;
}

.mc-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mc-changelog-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.62);
  overscroll-behavior: contain;
}
@media (min-width: 768px) {
  .mc-changelog-modal {
    align-items: center;
  }
}
.mc-changelog-modal > .mc-panel {
  width: min(32rem, 100%);
  margin: 0;
}

.mc-health-panel.mc-stack {
  gap: 0.65rem;
}

.mc-health-grid {
  display: grid;
  grid-auto-flow: dense;
  align-items: start;
  grid-auto-rows: min-content;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .mc-health-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.7rem;
  }
}
@media (min-width: 1024px) {
  .mc-health-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.mc-health-toolbar,
.mc-health-admin .mc-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-bottom: 0;
}

.mc-panel.mc-health-card {
  padding: 0.7rem 0.8rem;
}
@media (min-width: 768px) {
  .mc-panel.mc-health-card {
    padding: 0.75rem 0.85rem;
  }
}

.mc-health-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  height: auto;
  align-self: start;
  padding: 0.7rem 0.8rem;
}
@media (min-width: 768px) {
  .mc-health-card {
    grid-column: span 3;
    padding: 0.75rem 0.85rem;
  }
  .mc-health-card--sm {
    grid-column: span 3;
  }
  .mc-health-card--md {
    grid-column: span 3;
  }
  .mc-health-card--lg {
    grid-column: span 6;
  }
  .mc-health-card--full {
    grid-column: span 6;
  }
}
@media (min-width: 1024px) {
  .mc-health-card {
    grid-column: span 4;
  }
  .mc-health-card--sm {
    grid-column: span 3;
  }
  .mc-health-card--md {
    grid-column: span 6;
  }
  .mc-health-card--lg {
    grid-column: span 6;
  }
  .mc-health-card--full {
    grid-column: span 12;
  }
}
.mc-health-card header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}
.mc-health-card h3 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.mc-health-status {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  padding: 0.25rem 0.4rem;
  border: 1px solid #d8e2dd;
}
.mc-health-status--up {
  background: #195b3d;
  color: #f4ffe8;
}
.mc-health-status--degraded {
  background: #fff2cc;
  color: #805600;
}
.mc-health-status--down {
  background: #b53636;
  color: #fff;
}
.mc-health-status--unknown {
  background: #ffffff;
  color: #52645d;
}
.mc-health-status--skipped {
  background: #ffffff;
  color: #52645d;
}

.mc-probe-table th[scope=row] {
  font-weight: normal;
}
.mc-probe-table code {
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.mc-probe-desc {
  display: block;
  font-size: 0.9rem;
  color: #52645d;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.mc-health-card--down {
  outline: 1px solid #b53636;
}

.mc-health-card--degraded {
  outline: 1px solid #916400;
}

.mc-health-msg {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.mc-health-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 0.7rem;
  margin: 0;
  align-content: start;
}
@media (min-width: 768px) {
  .mc-health-meta {
    grid-template-columns: repeat(auto-fill, minmax(8.25rem, 1fr));
  }
}
.mc-health-meta > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.mc-health-meta__wide {
  grid-column: 1/-1;
}
@media (min-width: 768px) {
  .mc-health-meta__wide {
    grid-column: span 2;
  }
}
.mc-health-meta dt,
.mc-health-meta dd {
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
  line-height: 1.2;
}
.mc-health-meta dt {
  font-size: 0.85rem;
  opacity: 0.75;
}
.mc-health-meta dd {
  font-size: 1.15rem;
}

.mc-debug {
  padding: 0.65rem 0.85rem;
}
.mc-debug .mc-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  text-shadow: none;
}
@media (min-width: 768px) {
  .mc-debug .mc-health-meta {
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  }
}

.mc-health-replicas {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mc-health-replica {
  border: 1px solid #d8e2dd;
  padding: 0.3rem 0.45rem;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.mc-health-badge {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #52645d;
}

.mc-heatmap {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  max-width: 100%;
  overflow: hidden;
}

.mc-heatmap-cell {
  width: 12px;
  height: 12px;
  background: rgb(90 156 62/var(--u, 0.2));
  border: 1px solid #d8e2dd;
}

.mc-spark {
  width: 100%;
  height: 48px;
  color: #18724d;
}

.mc-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.mc-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mc-input {
  min-height: var(--mc-touch, 2.75rem);
  font-size: 1rem;
  font-family: "Inter", system-ui, sans-serif;
  color: #172b27;
  background: #fff;
  border: 1px solid #d8e2dd;
  padding: 0.35rem 0.6rem;
  min-width: 0;
  flex: 1 1 10rem;
}

.mc-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.mc-table th, .mc-table td {
  border: 1px solid #d8e2dd;
  padding: 0.45rem 0.5rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.mc-table th[data-sort] {
  cursor: pointer;
  user-select: none;
}
.mc-table th[data-sort][data-dir=asc]::after {
  content: " ▲";
}
.mc-table th[data-sort][data-dir=desc]::after {
  content: " ▼";
}
.mc-table th {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #52645d;
}
.mc-table pre {
  margin: 0;
  max-width: 18rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.mc-health-age,
.mc-health-version {
  font-size: 1rem;
  opacity: 0.8;
  min-width: 0;
}

.mc-health-version {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(100%, 28rem);
}

.mc-health-admin,
.mc-health-panel {
  max-width: 100%;
  overflow-x: hidden;
}

.mc-ping-list {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.35);
}
.mc-ping-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.4rem 0.65rem;
  align-items: baseline;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.18rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
  overflow-wrap: anywhere;
}
.mc-ping-list li.is-ko {
  color: #b53636;
}

.mc-chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .mc-chart-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mc-chart-wrap {
  width: 100%;
  max-width: 100%;
  height: 16rem;
  overflow: hidden;
  position: relative;
}
.mc-chart-wrap--donut {
  height: 13rem;
  max-width: 16rem;
  margin-inline: auto;
}
.mc-chart-wrap canvas,
.mc-chart-wrap .mc-chart {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.mc-duration {
  font-variant-numeric: tabular-nums;
}

.mc-container-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.35rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid rgba(17, 17, 17, 0.35);
}
.mc-container-list li {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
  font-size: 1rem;
  line-height: 1.25;
}
.mc-container-list li strong {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-container-list li span {
  color: #52645d;
  overflow-wrap: anywhere;
}

.mc-avail-num {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.1rem, 5vw, 1.8rem);
  color: #52645d;
  margin: 0.25rem 0;
  overflow-wrap: anywhere;
}

.mc-avail-kicker {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mc-avail-bar {
  height: 0.55rem;
  border: 1px solid #d8e2dd;
  background: #fff;
}
.mc-avail-bar span {
  display: block;
  height: 100%;
  max-width: 100%;
  background: #23734e;
}

.mc-play--up {
  outline: 1px solid #23734e;
}

.mc-play--degraded {
  outline: 1px solid #916400;
}

.mc-play--down {
  outline: 1px solid #b53636;
}

.mc-play--unknown {
  outline: 1px solid #52645d;
}

.mc-worker-status--ok {
  outline: 1px solid #23734e;
}
.mc-worker-status--warn {
  outline: 1px solid #916400;
}
.mc-worker-status--down {
  outline: 1px solid #b53636;
}

.mc-worker-replica--quiet {
  opacity: 0.78;
}

.mc-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .mc-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.mc-form-grid__wide {
  min-width: 0;
}
@media (min-width: 768px) {
  .mc-form-grid__wide {
    grid-column: 1/-1;
  }
}

.mc-play-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.mc-mc-phase {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  padding: 0.25rem 0.4rem;
  border: 1px solid #d8e2dd;
  white-space: nowrap;
}
.mc-mc-phase--online {
  background: #195b3d;
  color: #f4ffe8;
}
.mc-mc-phase--lagging {
  background: #fff2cc;
  color: #805600;
}
.mc-mc-phase--starting, .mc-mc-phase--loading {
  background: #2a4a6e;
  color: #d6e8ff;
}
.mc-mc-phase--restarting {
  background: #fff2cc;
  color: #805600;
}
.mc-mc-phase--crashed, .mc-mc-phase--stuck {
  background: #b53636;
  color: #fff;
}
.mc-mc-phase--stopped, .mc-mc-phase--unreachable {
  background: #ffffff;
  color: #52645d;
}

.mc-home-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .mc-home-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.mc-pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
  font-size: 1rem;
}

.mc-incident {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-wrap: anywhere;
}

.mc-debug dd,
.mc-health-replica {
  overflow-wrap: anywhere;
}

.mc-ops {
  max-width: 52rem;
}

.mc-ops-lede {
  margin: 0;
  max-width: 36rem;
}

.mc-ops-nav {
  align-items: center;
}
.mc-ops-nav > .mc-btn {
  flex: 0 0 auto;
  min-width: 0;
}
.mc-ops-nav .mc-health-badge {
  margin-left: auto;
  flex: 0 0 auto;
}

.mc-ops-heading {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: #916400;
  line-height: 1.45;
}

.mc-ops-hint {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.82;
}

.mc-ops-log {
  margin: 0;
  font-size: 1.1rem;
}

.mc-ops-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mc-ops .mc-input {
  flex: 0 0 auto;
  height: var(--mc-touch);
  max-height: var(--mc-touch);
  box-sizing: border-box;
}

.mc-ops-world {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}
@media (min-width: 480px) {
  .mc-ops-world {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .mc-ops-world {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mc-ops-tool {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0;
  padding: 0.75rem;
  border: 2px solid #d8e2dd;
  background: #f5f8f6;
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.28);
}
.mc-ops-tool .mc-btn {
  width: auto;
  align-self: start;
}

.mc-ops-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mc-ops-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0;
}
@media (min-width: 480px) {
  .mc-ops-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.45rem 0.65rem;
  }
}

.mc-ops-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
@media (min-width: 480px) {
  .mc-ops-field {
    flex: 0 1 auto;
  }
}

@media (min-width: 480px) {
  .mc-ops-field--wide {
    flex: 0 0 16rem;
    width: 16rem;
    max-width: 100%;
  }
}

@media (min-width: 480px) {
  .mc-ops-field--say {
    flex: 0 1 22rem;
    width: 22rem;
    max-width: 100%;
  }
}

.mc-ops-label {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: #52645d;
  line-height: 1.4;
}

.mc-ops-nick {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 480px) {
  .mc-ops-nick {
    width: 12rem;
    max-width: 12rem;
    flex: 0 0 12rem;
  }
}

.mc-ops-select {
  width: 100%;
}
@media (min-width: 480px) {
  .mc-ops-select {
    width: 11rem;
    max-width: 11rem;
    flex: 0 0 11rem;
  }
}

.mc-ops-say,
.mc-ops-reason {
  width: 100%;
}

.mc-ops-row > .mc-btn {
  width: 100%;
  flex: 0 0 auto;
}
@media (min-width: 480px) {
  .mc-ops-row > .mc-btn {
    width: auto;
  }
}

.mc-ops-danger {
  border-color: #5a241c;
}

.mc-btn-danger {
  background: linear-gradient(180deg, #c45a4a 0%, #b53636 100%);
  color: #fff6f0;
}

.mc-assist-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .mc-assist-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mc-code {
  font-family: ui-monospace, monospace;
  font-size: max(0.85rem, 16px);
  min-height: 8rem;
  resize: vertical;
}

.mc-help-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  overflow-wrap: anywhere;
}
.mc-help-list li {
  margin: 0.45rem 0;
}

.mc-details {
  border: 3px solid #d8e2dd;
  background: #edf3f0;
  padding: 0.25rem 0.75rem 0.75rem;
}

.mc-details summary {
  min-height: var(--mc-touch);
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #52645d;
  list-style: none;
}

.mc-details summary::-webkit-details-marker {
  display: none;
}

.mc-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.mc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}
.mc-table th,
.mc-table td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 2px solid #d8e2dd;
  vertical-align: top;
}
.mc-table form .mc-btn {
  width: 100%;
  min-width: var(--mc-touch);
}

.mc-skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 3000;
  background: #172b27;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
.mc-skip-link:focus {
  top: 1rem;
}

.mc-site-header {
  background: #fff;
  border-bottom: 1px solid #d8e2dd;
}

.mc-site-header-inner {
  max-width: 80rem;
  margin: auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.mc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #172b27;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
}

.mc-brand-mark {
  background: #23734e;
  color: #fff;
  border-radius: 8px;
  padding: 0.7rem 0.5rem;
  font: 0.65rem/1.3 "Press Start 2P", monospace;
}

.mc-site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  width: 100%;
  font-size: 0.875rem;
}
.mc-site-nav > a, .mc-site-nav summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--mc-touch);
  padding: 0.5rem 0.7rem;
  border-radius: 7px;
  color: #52645d;
  text-decoration: none;
  cursor: pointer;
}
.mc-site-nav > a:hover, .mc-site-nav summary:hover, .mc-site-nav [aria-current=page], .mc-site-nav summary.is-current {
  background: #edf3f0;
  color: #195b3d;
}
.mc-site-nav [aria-current=page] {
  font-weight: 650;
}
.mc-site-nav .mc-nav-admin {
  color: #23734e;
  border: 1px solid #d8e2dd;
}
@media (min-width: 1024px) {
  .mc-site-nav {
    width: auto;
  }
}

.mc-nav-menu {
  position: relative;
}
.mc-nav-menu summary::after {
  content: "⌄";
  margin-left: 0.35rem;
}
.mc-nav-menu summary::-webkit-details-marker {
  display: none;
}
.mc-nav-menu[open] > summary {
  background: #edf3f0;
}

.mc-nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 1200;
  min-width: 11rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #d8e2dd;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(23, 43, 39, 0.1215686275);
}
.mc-nav-dropdown a, .mc-nav-dropdown button {
  display: block;
  width: 100%;
  padding: 0.7rem;
  min-height: var(--mc-touch);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #172b27;
  text-align: left;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.mc-nav-dropdown a:hover, .mc-nav-dropdown button:hover {
  background: #edf3f0;
}

.mc-site-footer {
  padding: 1.5rem 1rem;
  max-width: 76rem;
  margin: auto;
  border-top: 1px solid #d8e2dd;
  font-size: 0.8125rem;
  color: #52645d;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.mc-page-heading {
  padding: 0.75rem 0;
}
.mc-page-heading h1 {
  margin: 0.5rem 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 650;
}
.mc-page-heading p {
  margin-bottom: 0;
  color: #52645d;
  max-width: 44rem;
}

.mc-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #23734e;
}

.mc-journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.mc-journey-grid > * {
  min-width: 0;
}
.mc-journey-grid h2 {
  font-size: 1.25rem;
  margin: 0.5rem 0 0;
  font-weight: 650;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .mc-journey-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.mc-join .mc-play {
  background: #f1f8f3;
  border: 1px solid #c8e1d0;
  box-shadow: none;
  outline: none;
  padding: 1rem;
  border-radius: 8px;
}
.mc-join .mc-play .mc-title {
  font-size: 1.1rem;
  margin: 0.6rem 0;
}
.mc-join .mc-play .mc-subtitle {
  margin-bottom: 0;
  font-size: 0.875rem;
}
.mc-join .mc-play.mc-play--down {
  background: #fff1ef;
  border-color: #edc8c8;
}
.mc-join .mc-play.mc-play--degraded, .mc-join .mc-play.mc-play--unknown {
  background: #fff9eb;
  border-color: #e7d9b5;
}

.mc-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.mc-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  column-gap: 0.75rem;
  font-size: 0.875rem;
}
.mc-steps li::before {
  content: counter(step);
  grid-row: span 2;
  background: #edf3f0;
  border-radius: 50%;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #23734e;
  font-weight: 600;
}
.mc-steps span {
  color: #52645d;
}

.mc-inline-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mc-inline-action .mc-input {
  flex: 1 1 12rem;
  width: auto;
  font-family: ui-monospace, monospace;
}
.mc-inline-action .mc-btn {
  flex: 1 1 auto;
}

.mc-destination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #d8e2dd;
  border-radius: 9px;
  text-decoration: none;
  color: #172b27;
}
.mc-destination strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}
.mc-destination small {
  display: block;
  color: #52645d;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  line-height: 1.5;
}
.mc-destination:hover {
  border-color: #23734e;
  background: #f5faf7;
  color: #195b3d;
}
.mc-destination-featured {
  background: #f1f7f3;
  justify-content: flex-start;
}
.mc-destination-icon {
  font-size: 1.5rem;
  color: #23734e;
}

.mc-update-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.mc-update-row h2 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
.mc-update-row p {
  margin: 0;
  color: #52645d;
  font-size: 0.9375rem;
}
@media (min-width: 768px) {
  .mc-update-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.mc-account-form {
  max-width: 30rem;
  align-items: flex-start;
}
.mc-account-form > div {
  width: 100%;
}

.mc-disclosure {
  border-top: 1px solid #d8e2dd;
  padding-top: 1rem;
  font-size: 0.875rem;
}
.mc-disclosure summary {
  cursor: pointer;
  min-height: var(--mc-touch);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.mc-disclosure summary::before {
  content: "+";
  color: #23734e;
}
.mc-disclosure[open] summary::before {
  content: "−";
}
.mc-disclosure p {
  color: #52645d;
}

.mc-text-link {
  color: #23734e;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.mc-unread-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  background: #23734e;
  border-radius: 50%;
  margin-left: 0.25rem;
}

.mc-section-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #d8e2dd;
}
.mc-section-nav a {
  padding: 0.65rem 0.85rem;
  border-radius: 7px;
  color: #52645d;
  font-size: 0.875rem;
  text-decoration: none;
  min-height: var(--mc-touch);
}
.mc-section-nav a:hover, .mc-section-nav a[aria-current=page], .mc-section-nav summary.is-current {
  background: #edf3f0;
  color: #195b3d;
}
.mc-section-nav a[aria-current=page] {
  font-weight: 650;
}

.mc-admin-intro {
  max-width: 46rem;
  color: #52645d;
  margin-bottom: 1.5rem;
}

.mc-admin-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mc-admin-card-title h2 {
  font-size: 1.1rem;
  margin: 0;
}

.mc-admin-home .mc-home-cards > article {
  min-width: 0;
}
