:root {
  --bg: #101713;
  --panel: #1a2921;
  --line: #34473a;
  --accent: #c1eda0;
}
body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
h1 {
  font-size: clamp(29px, 6vw, 38px);
  letter-spacing: -1.7px;
  margin-top: 7px;
}
header {
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--line);
}
.hero {
  background: linear-gradient(120deg, #233e2d, #18261d);
  padding: 22px;
}
.hero h2 {
  font-size: 27px;
  line-height: 1.15;
}
.hero p,
.sheetin p,
.sheetin li {
  font-size: 14px;
  line-height: 1.55;
  margin: 10px 0;
}
.hero .swap {
  margin-top: 9px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}
.actions > * {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
input:not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  background: #121d17;
  color: #edf7ed;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  padding: 10px;
  margin: 6px 0;
  min-height: 44px;
}
textarea {
  min-height: 110px;
}
.sheetin button:not(.primary),
summary {
  min-height: 44px;
}
summary {
  cursor: pointer;
  padding: 12px 0;
  color: var(--accent);
}
.check {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}
.swap {
  min-height: 44px;
}
.recipe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 44px;
  gap: 6px;
}
.sheetin form > .primary {
  margin-top: 14px;
}
.mealtext,
.hero,
.option,
.weekcard,
.sheetin {
  overflow-wrap: anywhere;
}
.nav button {
  font-size: 11px;
}
.sheetin {
  overscroll-behavior: contain;
}
.update {
  position: fixed;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: #152419;
  padding: 12px;
  border-radius: 12px;
}
.notice {
  margin: 10px 0;
}
body:has(.sheet) {
  overflow: hidden;
}
.days {
  gap: 3px;
}
.day {
  min-width: 32px;
}
.meal {
  gap: 8px;
}
small {
  font-size: 13px;
}
