:root {
  color-scheme: light dark;
  --bg: light-dark(#f4f1eb, #161f21);
  --paper: light-dark(#fdfcf8, #222d2b);
  --ink: light-dark(#29382f, #ecede5);
  --muted: light-dark(#677269, #b3bcb4);
  --rule: light-dark(#e1e4db, #405049);
  --soft: light-dark(#e9ede5, #304039);
  --met: light-dark(#58765f, #a4c5aa);
  --miss: light-dark(#987b4e, #ceb78e);
  --idle: light-dark(#d0d6cf, #67776e);
  --partial: light-dark(#718a8b, #a8c6c7);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 14px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
#app {
  max-width: 1180px;
  margin: auto;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.6px;
}
h1 {
  font-size: 37px;
  line-height: 1.13;
  margin: 13px 0 16px;
}
h2 {
  font-size: 27px;
  margin: 0 0 10px;
}
h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 8px;
}
p {
  margin: 0;
}
.hero {
  padding: 28px 34px 32px;
  color: #f5f2e7;
  background:
    radial-gradient(ellipse at 95% 60%, #cfb78538, transparent 52%),
    radial-gradient(ellipse at 20% 0%, #8b9e9250, transparent 58%),
    linear-gradient(145deg, #293f3e, #1c3235);
}
.hero p {
  max-width: 660px;
  color: #dce3d5;
}
.brand {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #f5f2e7;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.content {
  padding: 25px 28px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  min-height: 44px;
  border: 0;
  border-radius: 23px;
  background: var(--soft);
  color: var(--ink);
  padding: 9px 17px;
}
button.primary,
button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.text {
  padding: 7px 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
input:not([type="checkbox"]) {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}
input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--met);
  flex-shrink: 0;
}
.field {
  display: grid;
  gap: 7px;
  margin: 17px 0;
  max-width: 440px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0;
}
.check span {
  display: block;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.panel {
  background: var(--paper);
  padding: 23px;
  border-radius: 16px;
  margin: 18px 0;
}
.panel.watch {
  background: light-dark(#e8dfcd, #413a2d);
  color: light-dark(#51432c, #e8dabf);
}
.panel.watch .muted {
  color: inherit;
}
.teamhead,
.person {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.teamhead {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 19px 10px;
}
.person {
  padding: 20px;
  background: var(--paper);
  border-radius: 16px;
  margin-bottom: 12px;
  min-width: 0;
}
.person.review {
  box-shadow: inset 3px 0 var(--miss);
}
.person .name {
  padding: 0;
  background: none;
  text-align: left;
  font-weight: 500;
  font-size: 15px;
  border-radius: 0;
}
.reason {
  font-size: 12px;
  margin-top: 12px;
}
.metric {
  font:
    400 23px/1.2 Georgia,
    serif;
  margin: 8px 0;
}
.metric small {
  font:
    400 11px -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--muted);
}
.pillarlabel {
  display: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 9px;
}
.strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 13px 0 9px;
}
.day {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.mark {
  height: 26px;
  border-radius: 4px;
  display: grid;
  place-content: center;
  background: var(--idle);
  color: var(--ink);
  margin-bottom: 5px;
}
.mark.met {
  background: var(--met);
  color: light-dark(#fffdf6, #14251a);
}
.mark.miss {
  background: var(--miss);
  color: light-dark(#fffdf6, #211c13);
}
.mark.partial {
  background: var(--partial);
  color: light-dark(#fffdf6, #14251a);
}
.mark.future,
.mark.withheld {
  background: var(--soft);
  color: var(--muted);
}
.mark.rest {
  background: var(--soft);
}
.track {
  height: 7px;
  background: var(--soft);
  border-radius: 4px;
  position: relative;
  margin: 10px 0;
}
.track i {
  height: 100%;
  display: block;
  border-radius: 4px;
  background: var(--partial);
}
.track:after {
  content: "";
  position: absolute;
  left: 66.6667%;
  width: 1px;
  height: 13px;
  top: -3px;
  background: var(--ink);
}
.pair {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  gap: 8px;
  margin-top: 9px;
}
.detailgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.evidence {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
}
.evidence:last-child {
  border: 0;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--met);
  margin-right: 5px;
}
.dot.miss {
  background: var(--miss);
}
.dot.partial {
  background: var(--partial);
}
.dot.unknown {
  background: var(--idle);
}
.listrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
#notice:not(:empty) {
  background: var(--soft);
  padding: 13px 16px;
  margin-bottom: 17px;
  border-radius: 10px;
}
#notice.error {
  color: light-dark(#815a32, #f1d1ab);
}
footer {
  border-top: 1px solid var(--rule);
  padding: 20px 28px;
  font-size: 11px;
  color: var(--muted);
}
#preview-controls {
  padding: 15px 0 23px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
}
a {
  color: inherit;
}
.nutritiondetail {
  grid-column: 1/-1;
}
.nutrition-table {
  display: grid;
  grid-template-columns: 40px repeat(4, minmax(0, 1fr));
  gap: 10px;
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}
.nutrition-table small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.nutrition-table.head {
  font-size: 11px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .teamhead {
    display: none;
  }
  .person {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .identity {
    grid-column: 1/-1;
  }
  .pillarlabel {
    display: block;
  }
}
@media (max-width: 560px) {
  .content {
    padding: 22px 16px;
  }
  .hero {
    padding: 26px 22px;
  }
  h1 {
    font-size: 31px;
  }
  .person {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .detailgrid {
    grid-template-columns: 1fr;
  }
  .nutrition-table {
    gap: 5px;
    font-size: 11px;
  }
  .panel {
    padding: 19px 15px;
  }
  .topline {
    align-items: flex-start;
  }
  .listrow {
    align-items: flex-start;
  }
}

.mark.logged {
  background: var(--partial);
  color: light-dark(#fffdf6, #14251a);
}
