@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

[type=button], [type=reset], [type=submit], button {
  -webkit-appearance: button;
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*# sourceMappingURL=normalize.min.css.map */
.row {
  display: flex;
  margin: -0.25rem;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  max-width: 100%;
  padding: 0.25rem;
  box-sizing: border-box;
  flex: 1;
}

.col-1 {
  flex-basis: 8.3333333333%;
}

.col-2 {
  flex-basis: 16.6666666667%;
}

.col-3 {
  flex-basis: 25%;
}

.col-4 {
  flex-basis: 33.3333333333%;
}

.col-5 {
  flex-basis: 41.6666666667%;
}

.col-6 {
  flex-basis: 50%;
}

.col-7 {
  flex-basis: 58.3333333333%;
}

.col-8 {
  flex-basis: 66.6666666667%;
}

.col-9 {
  flex-basis: 75%;
}

.col-10 {
  flex-basis: 83.3333333333%;
}

.col-11 {
  flex-basis: 91.6666666667%;
}

.col-12 {
  flex-basis: 100%;
}

@media screen and (max-width: 40em) {
  .daily-totals .col-3 {
    flex-basis: 50%;
  }

  .col-6 {
    flex-basis: 100%;
  }
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
  line-height: 1.5;
  padding-bottom: 5rem;
  background: #f7f8fc;
}

.container {
  width: 60rem;
  max-width: 95vw;
  margin: 0 auto;
}

header {
  background: #222;
  background: #191922;
  color: #fff;
}
header .container {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}
header nav {
  flex: 1;
  margin: 0;
}
header nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
}
header nav a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0.5rem;
  text-align: center;
}
header nav svg {
  display: none;
}
header nav li.selected a {
  background: #2f2f3f;
  color: #fff;
}
header h1 {
  margin: 1rem;
  margin-left: 0;
  flex: 0 0 auto;
}
header h1 svg {
  display: block;
  margin: 0;
  width: 2em;
}
@media screen and (max-width: 40em) {
  header {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 10;
  }
  header .container {
    height: auto;
  }
  header h1 {
    display: none;
  }
  header nav a {
    padding: 1rem 0.5rem;
  }
  header nav svg {
    margin: 0 auto;
    width: 3.6rem;
    height: 1.2rem;
    display: block;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, #000 100%);
  }
  header nav svg path, header nav svg rect {
    fill: #d2d8ee;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.2);
  }
  header nav span {
    color: #8e8eac;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: -0.25rem;
  }
}

main {
  margin: 2.5vw 0;
}
main h1 {
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 400;
}

table {
  width: 100%;
  font-size: 0.75rem;
  border-collapse: collapse;
}
table td, table th {
  text-align: left;
  padding: 0.75rem 0.25rem;
}
table tr:nth-child(even) td {
  background: white;
}

.calories {
  color: #ac4f00;
}

.protein {
  color: #00358c;
}

.fat {
  color: #007a8c;
}

.carbs {
  color: #008c57;
}

.macros span:after {
  content: "/";
  margin: 0 0.25rem;
  color: #191922;
}

.macros span:last-child:after {
  content: "";
  margin: 0;
}

.macros, .time {
  white-space: nowrap;
}

@keyframes slideupIn {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%);
  }
}
@keyframes slideupOut {
  0% {
    opacity: 1;
    transform: translateY(-50%);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}
.chatform {
  width: 100%;
  max-width: 95vw;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.chatform textarea {
  flex: 1;
  border-radius: 1rem 0 0 1rem;
  min-height: 6rem;
}
.chatform button {
  border-radius: 0 1rem 1rem 0;
}
.chatform .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 248, 252, 0.9);
  z-index: 2;
  visibility: hidden;
  display: flex;
  opacity: 0;
  transition: opacity 500ms, visibility 0s linear 500ms;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(0.2rem);
}
.chatform .overlay .loader-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}
.chatform .overlay .message {
  display: none;
  flex: 0;
  margin-left: 0.5rem;
  opacity: 0;
  transform: translateY(0);
  animation: slideupIn 0.5s ease-out forwards;
  animation-delay: 0.5s;
  overflow: show;
  white-space: nowrap;
  width: 15rem;
  position: relative;
}
.chatform .overlay .message .old {
  animation: slideupOut 0.5s ease-out forwards;
}
.chatform .overlay .message span {
  position: absolute;
  text-wrap: auto;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  max-width: 12rem;
  line-height: 1.2;
}
.chatform .overlay .loader {
  display: block;
}
.chatform .overlay span {
  color: #2f2f3f;
}
.chatform.waiting .overlay {
  transition: opacity 300ms;
  visibility: visible;
  opacity: 1;
  display: flex;
}

pre {
  width: 100%;
  min-height: 2em;
  background: #f1f1f1;
  overflow-x: scroll;
  background: white;
}

.badge {
  background: #fff;
  background: linear-gradient(0deg, #f7f8fc 50%, #fff 100%);
  border: 0.5px solid #191922;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -1em 1em rgba(0, 0, 0, 0.2), inset 0 -0.5em 2em rgba(0, 0, 0, 0.2);
  line-height: 1;
  --badge-color:#000;
  border-color: var(--badge-color);
  color: var(--badge-color);
  box-shadow: inset 0 -2em 2em color-mix(in srgb, var(--badge-color) 5%, transparent), inset 0 -1em 1em color-mix(in srgb, var(--badge-color) 5%, transparent), 0 0.25em 0.5em color-mix(in srgb, var(--badge-color) 10%, transparent);
}
@media screen and (max-width: 40em) {
  .badge {
    padding: 1rem;
  }
}
.badge:active {
  background: linear-gradient(0deg, color-mix(in srgb, var(--badge-color) 2%, transparent) 25%, color-mix(in srgb, var(--badge-color) 6%, transparent) 100%);
}
.badge .fillbar {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 100%;
  background: #191922;
  background: var(--badge-color);
  opacity: 0.2;
  z-index: 0;
  transition: top 1200ms;
}
.badge p {
  margin: 0;
}
.badge p.value {
  font-size: 3rem;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
}
@media screen and (max-width: 40em) {
  .badge p.value {
    font-size: 2.15rem;
  }
}
.badge p.label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
}
.badge p.compare {
  font-size: 1.333rem;
  font-weight: 600;
  color: #191922;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
  margin-bottom: -0.12em;
}

.daily-totals .col-3:nth-child(1) .badge {
  --badge-color:#DF6700;
}
.daily-totals .col-3:nth-child(2) .badge {
  --badge-color:#0048BF;
}
.daily-totals .col-3:nth-child(3) .badge {
  --badge-color:#00A7BF;
}
.daily-totals .col-3:nth-child(4) .badge {
  --badge-color:#00BF77;
}

/*
.daily-totals .col-3 {
	&:nth-child(1) .badge {
		border-color:$color1;
		color:$color1;
		box-shadow:inset 0 -2em 2em rgba($color1,0.05),
				inset 0 -1em 1em rgba($color1,0.05),
				0 0.25em 0.5em rgba($color1,0.1);
		.fillbar { background:$color1; }
	}
	&:nth-child(2) .badge {
		border-color:$color2;
		color:$color2;
		box-shadow:inset 0 -2em 2em rgba($color2,0.05),
				inset 0 -1em 1em rgba($color2,0.05),
				0 0.25em 0.5em rgba($color2,0.1);
		.fillbar { background:$color2; }
	}
	&:nth-child(3) .badge {
		border-color:$color3;
		color:$color3;
		box-shadow:inset 0 -2em 2em rgba($color3,0.05),
				inset 0 -1em 1em rgba($color3,0.05),
				0 0.25em 0.5em rgba($color3,0.1);
		.fillbar { background:$color3; }
	}
	&:nth-child(4) .badge {
		border-color:$color4;
		color:$color4;
		box-shadow:inset 0 -2em 2em rgba($color4,0.05),
				inset 0 -1em 1em rgba($color4,0.05),
				0 0.25em 0.5em rgba($color4,0.1);
		.fillbar { background:$color4; }
	}
}
*/
#quickadd {
  margin: 0.25rem 0;
  display: flex;
  flex-wrap: wrap;
}
#quickadd button {
  user-select: none;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  margin: 0.25rem 0;
  -webkit-tap-highlight-color: transparent;
  background: #c3c5ca;
  background: #fff;
  color: #191922;
  box-shadow: 0.05rem 0.1rem 0.1rem rgba(0, 0, 0, 0.1), 0.05rem 0.1rem 0.33rem rgba(0, 0, 0, 0.15);
}
#quickadd button:hover {
  background: #eaebf0;
}
#quickadd button.save {
  background: #191922;
  color: #fff;
  display: none;
}
#quickadd button.delete {
  display: none;
}
#quickadd button:not(.save):after {
  display: inline-block;
  height: 1em;
  content: "✕";
  padding-left: 0.5rem;
  max-width: 1.5rem;
  width: 0;
  overflow: hidden;
  box-sizing: border-box;
  transition: width 400ms;
  display: none;
}
#quickadd.editing button:not(.save):after {
  width: 1.5rem;
  display: inline-block;
}
#quickadd.editing button.save {
  display: unset;
}
#quickadd .invisible {
  box-shadow: none;
  background: transparent;
}
#quickadd .invisible svg * {
  stroke: #191922;
}

input,
select,
textarea {
  background: transparent;
  border: 0.5px solid #191922;
  border-radius: 0.25rem;
  padding: 0.666em 0.5em;
  box-sizing: border-box;
  width: 100%;
  height: 2.333rem;
  background: #fff;
  box-shadow: inset 0.05em 0.1em 0.1em rgba(25, 25, 34, 0.15);
}

select {
  padding: 0.25em 0.25em;
}

.multi-input {
  display: flex;
}

.form-row {
  display: flex;
  box-sizing: border-box;
  margin: 0rem -0.25rem;
}

.form-field {
  flex: 1 1 auto;
  margin: 0.5rem 0.25rem;
}
.form-field.shrink {
  flex: 0 1 auto;
}

.button-row {
  display: flex;
  margin: 1rem 0;
  align-items: center;
}
.button-row .message {
  margin-left: 0.5rem;
  line-height: 1;
}

.form-row button {
  margin: 0.5rem 0.25rem;
}

button, .button {
  background: #191922;
  text-decoration: none;
  border: 0;
  border-radius: 3em;
  padding: 0.666em 1.25em;
  color: #fff;
  cursor: pointer;
  transition: background 250ms;
}
button.right, .button.right {
  margin-right: 0;
  margin-left: auto;
}
button:hover, .button:hover {
  background: #555;
}
button:active, .button:active {
  background: #444;
}
button:disabled, .button:disabled {
  opacity: 0.25;
}
button.secondary, .button.secondary {
  background: transparent;
  color: #000;
}
button.secondary:hover, .button.secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}
button svg, .button svg {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0 -0.6rem;
  display: block;
}
button svg path, .button svg path {
  stroke: #fff;
}

label {
  display: block;
}
label .label {
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-size: 0.8em;
  line-height: 2;
  letter-spacing: 0.04em;
}

.error {
  color: #f02;
}

.success {
  color: #0a2;
}

#date-select {
  display: flex;
  align-items: center;
  border: 0.5px solid #191922;
  border-radius: 3rem;
  overflow: hidden;
  justify-content: space-between;
  box-shadow: inset 0.05em 0.1em 0.1em rgba(25, 25, 34, 0.15);
}
#date-select button {
  height: 2.333rem;
  background: transparent;
  color: #191922;
}
#date-select #date-prev {
  border-radius: 1em 0 0 1em;
  border-right: 0;
}
#date-select #date-next {
  border-left: 0;
  border-radius: 0 1em 1em 0;
}
#date-select #current-date {
  width: auto;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

footer {
  display: none;
  font-size: 0.8em;
}
footer p {
  color: #191922;
  opacity: 0.5;
}

@keyframes updown {
  0% {
    transform: translateY(-20%);
  }
  50% {
    transform: translateY(20%);
  }
  100% {
    transform: translateY(-20%);
  }
}
#chat {
  display: none;
  z-index: 2;
  width: 40rem;
}
#chat .chatform {
  position: fixed;
  bottom: 4.5em;
  border-radius: 1rem;
  box-shadow: 0 -1vw 2vw #f7f8fc;
  left: 50vw;
  width: 40rem;
  max-width: 95vw;
  transform: translateX(-50%);
  z-index: 3;
}
@media screen and (min-width: 40em) {
  #chat .chatform {
    bottom: 2em;
  }
}
#chat .thread {
  height: calc(100vh - 9.5rem);
  box-sizing: border-box;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-sizing: border-box;
  padding-bottom: 1rem;
  margin-top: -3vw;
  scroll-behavior: smooth;
}
@media screen and (min-width: 40em) {
  #chat .thread {
    height: calc(100vh - 5rem - 8rem);
  }
}
#chat .thread::-webkit-scrollbar {
  display: none;
}
#chat .message-row {
  display: flex;
  margin: 0.5rem 0;
}
#chat .message-me {
  justify-content: flex-end;
}
#chat .message-me .message {
  background: #005ffc;
  color: #fff;
  border-radius: 1rem 1rem 0 1rem;
}
#chat .message-ai {
  justify-content: flex-start;
}
#chat .message-ai .message {
  border-radius: 1rem 1rem 1rem 0;
}
#chat .message-typing {
  justify-content: flex-start;
}
#chat .message-typing .message {
  height: 0.5rem;
  padding: 1rem;
  display: flex;
  justify-content: center;
}
#chat .message-typing .message .circle {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1rem;
  background: rgba(25, 25, 34, 0.4);
  transform: translateY(-50%);
  margin: 0 0.125rem;
  animation-name: updown;
  animation-duration: 1.2s;
  animation-iteration-count: infinite;
}
#chat .message-typing .message .circle:nth-child(1) {
  animation-delay: 250ms;
}
#chat .message-typing .message .circle:nth-child(2) {
  animation-delay: 500ms;
}
#chat .message {
  display: inline-block;
  background: #eaebf0;
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
  margin: 0;
  max-width: 80%;
}
@media screen and (min-width: 40em) {
  #chat .message {
    padding: 0.5rem 1rem;
  }
}
#chat .message p, #chat .message ul, #chat .message ol {
  margin: 0.5rem 0;
}
#chat .message h1, #chat .message h2, #chat .message h3, #chat .message h4, #chat .message h5, #chat .message h6 {
  margin: 1rem 0 0.5rem;
}
#chat .message li {
  margin: 0.25rem 0;
}
#chat .message ul, #chat .message ol {
  padding-left: 1.5rem;
}

.dialog-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 248, 252, 0.8);
  z-index: 999;
  backdrop-filter: blur(0.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.dialog-container .dialog {
  position: relative;
  background: #fff;
  width: 40rem;
  max-width: 95vw;
  border-radius: 1rem;
  box-shadow: 0 0.2rem 0.2rem rgba(25, 25, 34, 0.2), 0 0.2rem 0.5rem rgba(25, 25, 34, 0.2);
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}
.dialog-container .dialog h2 {
  margin: 0 0 1rem;
}
.dialog-container .dialog .close {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  position: absolute;
  top: 2rem;
  right: 1.5rem;
}

.macro-adjust {
  display: flex;
  margin: 0 -0.25rem;
}
.macro-adjust .macro {
  margin: 0 0.25rem;
}

#settings {
  width: 40rem;
}

.sub-pages form {
  background: #fff;
  padding: 0.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  display: none;
}
@media screen and (min-width: 40rem) {
  .sub-pages form {
    padding: 1rem;
  }
}
.sub-pages form[data-section=profile] {
  display: block;
}
@media screen and (min-width: 40em) {
  .sub-pages form {
    padding: 1.5em 2em;
  }
}

nav.page-nav {
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
  background: #f1f2f8;
}
nav.page-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav.page-nav ul li {
  flex: 1;
}
nav.page-nav ul li a {
  color: inherit;
  display: block;
  text-decoration: none;
  padding: 0.5rem;
  text-align: center;
}
nav.page-nav ul li.selected a {
  background: #fff;
}

.goal-block {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #191922;
}
.goal-block:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.days-of-week .weekline {
  display: inline-flex;
  background: #f1f2f8;
  border-radius: 0.25rem;
  width: 100%;
  overflow: hidden;
  border: 1px solid #191922;
}
.days-of-week .weekline .day {
  user-select: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
  padding: calc(0.55rem - 1px) 0.5rem;
}
.days-of-week .weekline .day.selected {
  background: #191922;
  color: #fff;
}
.add-form-row {
  text-decoration: none;
  background: #f1f2f8;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  height: 2.5rem;
  margin: 1rem 0;
  border-radius: 3rem;
  color: #191922;
}

.loader {
  display: none;
  margin-left: 0.5rem;
  width: 16px;
  padding: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #191922;
  --_m:
  	conic-gradient(#0000 10%,#000),
  	linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1.5s infinite linear;
}

.waiting .loader {
  display: block;
}

@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}
.chart {
  display: block;
  width: 100%;
  height: 16rem;
}

canvas {
  width: 100%;
}

.reveal {
  display: grid;
  grid-template-rows: 1fr;
  box-sizing: border-box;
  transition: grid-template-rows 0.5s ease-in-out;
  overflow: hidden;
}

.reveal > * {
  overflow: hidden;
}

.nutrition-entry.pending {
  z-index: 9;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.nutrition-entry.pending h4, .nutrition-entry.pending .amount, .nutrition-entry.pending .unit, .nutrition-entry.pending .time span {
  display: inline-block;
  height: 1em;
  background: #d8dbe8;
  border-radius: 1rem;
  mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.3) 50%, #000 100%);
  animation: wiperight 4s infinite;
  mask-size: 10rem;
  animation-timing-function: linear;
  background-repeat: no-repeat;
}
.nutrition-entry.pending h4 {
  width: 8rem;
}
.nutrition-entry.pending .amount {
  width: 2rem;
}
.nutrition-entry.pending .unit {
  width: 1.5rem;
}
.nutrition-entry.pending .time span {
  width: 4.5rem;
}
.nutrition-entry.pending .icon {
  width: 2rem;
  height: 2rem;
  background: #e8eaf1;
  border-radius: 1rem;
}

@keyframes wiperight {
  from {
    mask-position: -10rem 0;
  }
  to {
    mask-position: 10rem 0;
  }
}
.reveal.exiting {
  grid-template-rows: 0fr;
}
.reveal.exiting .nutrition-entry {
  opacity: 0;
  transform: translateY(-100%);
}

@starting-style {
  .reveal {
    grid-template-rows: 0fr;
  }

  .nutrition-entry {
    opacity: 0;
    transform: translateY(-100%);
  }
}
#nutrition-log2 .nutrition-entry .inside {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 0.25rem;
  background: #fff;
  padding: 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.333rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 0px 0px;
  grid-template-areas: "icon title time" "icon details details";
  box-shadow: 0.05rem 0.1rem 0.1rem rgba(142, 142, 172, 0.15), 0.05rem 0.1rem 0.33rem rgba(142, 142, 172, 0.2);
}
#nutrition-log2 .nutrition-entry .inside .title {
  grid-area: title;
}
#nutrition-log2 .nutrition-entry .inside .icon {
  margin-right: 0.5rem;
  margin-left: -0.5rem;
  font-size: 2rem;
  grid-area: icon;
}
#nutrition-log2 .nutrition-entry .inside .time {
  grid-area: time;
  margin-left: 0.5rem;
}
#nutrition-log2 .nutrition-entry .inside .details {
  grid-area: details;
}
#nutrition-log2 .nutrition-entry .inside .amount {
  display: block;
}
#nutrition-log2 .nutrition-entry .inside .unit {
  font-size: 0.6rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
#nutrition-log2 .nutrition-entry .inside h4 {
  margin: 0;
}
#nutrition-log2 .nutrition-entry .inside h4 span {
  font-weight: 300;
}
#nutrition-log2 .nutrition-entry .inside .food-elements {
  margin-top: 0.5rem;
  display: flex;
  line-height: 1;
}
#nutrition-log2 .nutrition-entry .inside .food-elements .element {
  margin-right: 1rem;
}

#nutrition-log2 .nutrition-entry.selected .inside {
  background: #eceef8;
}

.multi-edit {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  padding: 1rem 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: saturate(120%) blur(6px);
  background: rgba(255, 255, 255, 0.85);
  z-index: 99;
}
.multi-edit .button-row {
  margin: 0;
  display: flex;
}
.multi-edit .button-row .button-container {
  margin-left: 0.5rem;
}
.multi-edit .button-row .button-container:first-child {
  flex: 1;
  margin-left: 0;
}

html[data-selection-mode="1"] .multi-edit {
  display: block;
}

.day-overview {
  background: #fff;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.333rem;
  box-shadow: 0.05rem 0.1rem 0.1rem rgba(142, 142, 172, 0.15), 0.05rem 0.1rem 0.33rem rgba(142, 142, 172, 0.2);
}
@media screen and (min-width: 40em) {
  .day-overview {
    padding: 1.5rem;
  }
}
.day-overview h3 {
  margin: 0;
  font-weight: 400;
  font-size: 1rem;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.calorie-breakdown {
  overflow: hidden;
  border-radius: 0.33rem;
  display: flex;
}
.calorie-breakdown > div {
  color: #fff;
  padding: 0.25rem 0.5rem;
  overflow-x: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}
.calorie-breakdown > div.protein {
  background: #0048BF;
}
.calorie-breakdown > div.fat {
  background: #00A7BF;
}
.calorie-breakdown > div.carbs {
  background: #00BF77;
  border-radius: 0 0.33rem 0.33rem 0;
}
.calorie-breakdown > div .title {
  font-size: 0.5em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}
.calorie-breakdown > div.total {
  color: #DF6700;
  flex: 1;
}

#data h1 {
  font-size: 1rem;
}

.week-overview {
  display: flex;
  margin: -0.25rem;
  flex-wrap: wrap;
}
.week-overview .data-point {
  flex: 1 0 40%;
  margin: 0.25rem;
  background: #fff;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.333rem;
  box-shadow: 0.05rem 0.1rem 0.1rem rgba(142, 142, 172, 0.15), 0.05rem 0.1rem 0.33rem rgba(142, 142, 172, 0.2);
  line-height: 1rem;
}
@media screen and (min-width: 40em) {
  .week-overview .data-point {
    flex: 1 0 23%;
  }
}
@media screen and (min-width: 40em) {
  .week-overview .data-point {
    padding: 1.5rem;
  }
}
.week-overview .data-point .title {
  display: block;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.75em;
  text-transform: uppercase;
}
.week-overview .data-point .value {
  font-size: 2rem;
  line-height: 1;
}

.holdme {
  -webkit-touch-callout: none;
  user-select: none;
}

/*# sourceMappingURL=main.css.map */
