:root {
  color-scheme: light;
  --paper: #f2efe7;
  --ink: #27372f;
  --muted: #637168;
  --line: #d7d9ce;
  --accent: #dbff79;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
}
main {
  max-width: 600px;
  margin: auto;
  padding: 36px 28px 28px;
  min-height: 100svh;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.control-header {
  justify-content: flex-end;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.17em;
  font-weight: 700;
}
.pill {
  font-size: 9px;
  letter-spacing: 0.07em;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 10px;
}
h1 {
  font-family: Georgia, serif;
  font-size: clamp(52px, 11vw, 80px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.02;
  margin: 18px 0 22px;
}
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 32px;
}
p {
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
}
button {
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 26px;
  cursor: pointer;
  min-height: 48px;
}
button:hover {
  background: #425a49;
}
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid #72932e;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
}
a {
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.light {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  margin-top: 26px;
}
.light > div {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 24px;
  border: 10px solid #e5e6dc;
  background: #fcfcf7;
  box-shadow:
    0 18px 38px #28382f12,
    inset 0 0 0 1px #d7d9ce;
  transform: rotate(-10deg);
  transition:
    background 0.35s,
    box-shadow 0.35s;
}
.is-on .light > div {
  background: #efffbe;
  box-shadow:
    0 0 60px #d8ef8d,
    inset 0 0 0 1px #e4efa8;
}
.light::after {
  content: "";
  position: absolute;
  width: 154px;
  height: 154px;
  border: 1px solid transparent;
  border-top-color: var(--ink);
  border-right-color: var(--line);
  border-radius: 50%;
  opacity: 0;
}
.is-working .light::after {
  opacity: 1;
  animation: orbit 1.8s linear infinite;
}
.is-working .light > div {
  animation: breathe 1.8s ease-in-out infinite;
}
.checkmark {
  opacity: 0;
  font-size: 38px;
  transform: rotate(10deg) scale(0.7);
}
.is-complete .checkmark {
  opacity: 1;
  transform: rotate(10deg) scale(1);
  transition:
    opacity 0.25s,
    transform 0.35s;
}
.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.secondary:hover {
  background: #e5e6dc;
}
.completion-note {
  font-size: 12px;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes breathe {
  50% {
    transform: rotate(-6deg) scale(1.04);
  }
}
.mono {
  font-family: monospace;
  font-size: 11px;
  min-height: 18px;
}
footer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 44px;
}
.admin {
  max-width: 1200px;
}
.admin h1 {
  font-size: 58px;
}
.admin header {
  flex-wrap: wrap;
}
.admin input {
  font: inherit;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  max-width: 100%;
  width: 340px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.table-scroll {
  overflow: auto;
  border-top: 1px solid var(--line);
  margin-bottom: 30px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  max-width: 340px;
  overflow-wrap: anywhere;
}
th {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
}
td button {
  padding: 8px 12px;
  font-size: 12px;
}
small {
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
