:root {
  color-scheme: light;
  --ink: #2d2523;
  --muted: #6f625e;
  --paper: #fbf7f0;
  --paper-deep: #f1e7d8;
  --brick: #8f3425;
  --plum: #4c2c2e;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

#nc-root { min-height: 100vh; }
.cms-loading, .cms-message {
  width: min(680px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 12vh 0;
}
.cms-kicker {
  color: var(--brick);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.cms-loading h1, .cms-message h1 {
  max-width: 16ch;
  margin: 1rem 0;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
}
.cms-loading p, .cms-message p { max-width: 60ch; line-height: 1.65; }
.cms-command { margin-top: 2rem; padding: 1rem; background: var(--paper-deep); }
.cms-message code { color: var(--plum); font-weight: 700; }
.publication-status {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  max-width: min(28rem, calc(100% - 2rem));
  padding: .75rem 1rem;
  border: 1px solid #d6c7b6;
  border-radius: .5rem;
  background: #fffdf9;
  box-shadow: 0 8px 24px #2d252322;
  color: var(--ink);
  font-size: .9rem;
}
.publication-status[data-state="failed"] { border-color: #a83d2d; }
.publication-status[data-state="live"] { border-color: #47765b; }
