@font-face {
  font-family: Inter;
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #1d242b;
  --blue: #354df3;
  --paper: #faf9f2;
  --line: 2px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --mono: ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background-image: radial-gradient(#30363126 0.8px, transparent 1px);
  background-size: 9px 9px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ec6000;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button svg,
a svg {
  flex-shrink: 0;
}
.pixel,
.brand img,
footer img {
  image-rendering: pixelated;
}
.shell {
  width: min(1176px, calc(100% - 96px));
  margin-inline: auto;
}
header {
  background: #fffef9ed;
  border-bottom: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: clamp(35px, 6vw, 88px);
}
.brand {
  font-size: 34px;
  font-weight: 860;
  letter-spacing: -2.3px;
  display: flex;
  align-items: center;
  line-height: 1;
}
.brand img {
  width: 32px;
  height: 35px;
  margin-right: 10px;
}
.brand span,
h1 span,
.dialog-body h2 span {
  color: var(--blue);
}
nav {
  display: flex;
  gap: 9px;
  align-items: center;
}
nav a {
  font-size: 13px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1.5px solid transparent;
  border-radius: 5px;
  color: #52565a;
}
nav a[aria-current] {
  background: #e8eaff;
  border-color: var(--ink);
  box-shadow: 2px 2px var(--ink);
  color: #293bbb;
}
nav a:hover:not([aria-current]) {
  background: #f1f0e8;
  color: var(--ink);
}
.local-status,
.state {
  font: 700 11px var(--mono);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.local-status {
  margin-left: auto;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 7px 12px;
  background: #eff8db;
}
.local-status i,
.state i {
  width: 7px;
  height: 7px;
  background: #6caa55;
  border: 1px solid #284429;
  border-radius: 50%;
}
main {
  padding-top: 43px;
}
main:focus {
  outline: none;
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 12px;
}
.date,
.hero-label,
.step {
  font: 700 11px var(--mono);
  letter-spacing: 1.25px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.date {
  color: #555c63;
  margin-bottom: 10px;
}
.date svg {
  stroke: #475063;
}
h1 {
  font-size: clamp(38px, 4.05vw, 61px);
  letter-spacing: -0.068em;
  font-weight: 805;
  line-height: 1.04;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: var(--line);
  border-radius: 5px;
  background: #fffef9;
  box-shadow: 2px 2px var(--ink);
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover,
.serving:hover {
  transform: translate(-1px, -2px);
  box-shadow: 4px 5px var(--ink);
}
.btn:active,
.serving:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.plan-btn {
  margin-bottom: 3px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.63fr) minmax(0, 1fr);
  gap: 23px;
}
.card {
  border: var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: #fffef9;
  overflow: hidden;
}
.card-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.card-title h2 {
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 770;
  letter-spacing: -0.055em;
  line-height: 1.2;
}
.icon-box {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1.7px solid var(--ink);
  border-radius: 6px;
  flex-shrink: 0;
}
.lime {
  background: #e4fa90;
}
.lavender {
  background: #e0d7ff;
}
.gold {
  background: #ffd667;
}
.sky {
  background: #b6e4ff;
}
.card-desc,
.settings-copy,
.setting-row p,
.dialog-description,
.field-help {
  color: #586069;
  line-height: 1.5;
  font-size: 14px;
}
.hero {
  background: #344cf0;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  min-height: 322px;
}
.hero-scene {
  position: relative;
  flex: 1;
  min-height: 220px;
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 86% 30%, #3879ff 0, transparent 56%),
    linear-gradient(115deg, #344de5, #3b4df5 70%, #3464f6);
}
.hero-copy {
  padding: 27px 30px 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hero-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: white;
  border: 1px solid #ffffff73;
  background: #172d9b40;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 4px;
  gap: 7px;
}
.hero-label svg {
  width: 13px;
  height: 13px;
}
.intake {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
  line-height: 0.98;
  font-variant-numeric: tabular-nums;
}
.intake strong {
  font-size: clamp(72px, 6vw, 92px);
  font-weight: 790;
  letter-spacing: -0.085em;
}
.intake span {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.06em;
  color: #dce7ff;
}
.intake.compact strong {
  font-size: 57px;
}
.hero-copy p {
  font-size: 14px;
  color: #e0e6ff;
  margin-top: 10px;
}
.hero-copy p b {
  font-weight: 720;
  color: white;
}

.world-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #c0d8ff2b 1px, transparent 1px),
    linear-gradient(to bottom, #c0d8ff2b 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image:
    linear-gradient(90deg, transparent 0%, black 34%),
    linear-gradient(0deg, transparent 0%, black 29%);
  mask-composite: intersect;
}
.aura {
  position: absolute;
  width: 60%;
  height: 62%;
  left: 28%;
  top: 20%;
  background: #71ddff;
  opacity: 0.27;
  border-radius: 50%;
  filter: blur(25px);
  animation: breathe 5s ease-in-out infinite alternate;
}

.spark {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #ebff9d;
  clip-path: polygon(
    40% 0,
    60% 0,
    60% 28%,
    73% 28%,
    73% 40%,
    100% 40%,
    100% 60%,
    73% 60%,
    73% 73%,
    60% 73%,
    60% 100%,
    40% 100%,
    40% 73%,
    27% 73%,
    27% 60%,
    0 60%,
    0 40%,
    27% 40%,
    27% 27%,
    40% 27%
  );
  animation: twinkle 4s steps(2) infinite;
}
.s1 {
  left: 18%;
  top: 24%;
}
.s2 {
  right: 10%;
  top: 17%;
  width: 12px;
  height: 12px;
  animation-delay: -2s;
}
.s3 {
  right: 5%;
  bottom: 25%;
  background: #bcecff;
}
.s4 {
  left: 27%;
  bottom: 15%;
  width: 9px;
  height: 9px;
  background: #bcecff;
  animation-delay: -1s;
}

.progress-section {
  margin: 5px 30px 26px;
  position: relative;
  z-index: 1;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font: 600 12px var(--mono);
  color: #eef2ff;
}
.progress-label b {
  color: #eef99d;
  font-size: 14px;
}
.meter {
  height: 16px;
  background: #2636ab;
  border: 1.5px solid #171e65;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px #172ba6;
}
.meter:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 calc(5% - 2px),
    #8e9bff55 calc(5% - 2px) 5%
  );
}
.meter span {
  display: block;
  height: 100%;
  background: #e4fa90;
  transition: width 0.5s ease;
}

.quick,
.log-card,
.reminders,
.content-card {
  padding: 23px 24px;
}
.quick {
  display: flex;
  flex-direction: column;
}
.quick .card-desc {
  margin: 9px 0 17px;
  font-size: 13px;
}
.servings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  flex: 1;
}
.serving {
  border: 1.6px solid var(--ink);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 13px 10px 11px;
  position: relative;
  box-shadow: 2px 2px var(--ink);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.glass {
  background: #dff3ff;
}
.bottle {
  background: #e2f5e5;
}
.large {
  background: #eae2fb;
}
.custom {
  background: #ffe5d9;
}
.serving img {
  width: 38px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.tile-plus {
  position: absolute;
  top: 3px;
  right: 6px;
  font: 15px var(--mono);
  opacity: 0.73;
}
.tile-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tile-text b {
  font-size: 14px;
  letter-spacing: -0.04em;
}
.tile-text small {
  font: 600 11px var(--mono);
  color: #4d5862;
}
.row-heading,
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.count {
  font: 600 10px var(--mono);
  border: 1px solid #c8c8c1;
  background: #f3f3ec;
  border-radius: 4px;
  padding: 5px 8px;
  white-space: nowrap;
}
.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 15px 4px 8px;
}
.empty-pic {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  height: 56px;
}
.empty-pic img {
  width: 37px;
  height: 43px;
  image-rendering: pixelated;
  transform: rotate(-8deg);
}
.empty-pic i {
  width: 13px;
  height: 12px;
  background: #a8b8ce;
  clip-path: polygon(
    40% 0,
    58% 0,
    58% 40%,
    100% 40%,
    100% 60%,
    58% 60%,
    58% 100%,
    40% 100%,
    40% 60%,
    0 60%,
    0 40%,
    40% 40%
  );
}
.empty-pic i:first-child {
  width: 8px;
  transform: translateY(7px);
}
.empty-pic i:last-child {
  transform: translateY(-8px);
}
.empty > b {
  font-size: 16px;
  letter-spacing: -0.035em;
  margin-top: 3px;
}
.empty p {
  font-size: 13px;
  color: #656c72;
  margin-top: 6px;
}
.log-card .row-heading {
  padding-bottom: 16px;
  border-bottom: 1px dashed #c9cbd0;
}
.log-card,
.reminders {
  min-height: 226px;
}
.reminders {
  background-color: #fff1ac;
  position: relative;
  isolation: isolate;
}
.reminders:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 7px,
    #e6c2552f 7px 9px
  );
  mask-image: linear-gradient(305deg, black, transparent 50%);
  pointer-events: none;
}
.state {
  background: #fff9dd;
  border: 1px solid #928758;
  border-radius: 20px;
  font-size: 10px;
  padding: 4px 9px;
  gap: 6px;
}
.state i {
  background: #837e70;
  border: 0;
  width: 6px;
  height: 6px;
}
.state.on i {
  background: #358c41;
}
.reminder-copy {
  margin: 16px 0;
}
.reminder-copy h3 {
  font-size: 21px;
  letter-spacing: -0.05em;
}
.reminder-copy p {
  font-size: 13px;
  color: #555041;
  line-height: 1.5;
  max-width: 320px;
  margin-top: 5px;
}
.reminder-btn {
  padding: 9px 13px;
  background: #fffef4;
}
.rows {
  margin-top: 5px;
}
.entry {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed #d1d1c9;
}
.entry:last-child {
  border-bottom: 0;
}
.entry-art {
  height: 38px;
  width: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #7d858a;
  border-radius: 5px;
}
.entry-art img {
  height: 28px;
}
.entry-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.entry-name b,
.entry strong {
  font-size: 14px;
}
.entry-name small,
.entry strong small {
  font: 11px var(--mono);
  color: #59626a;
}
.entry strong {
  margin-left: auto;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #b5b7b1;
  background: #fffef8;
  border-radius: 5px;
}
.delete {
  border-color: transparent;
  background: transparent;
  color: #72777c;
}
.delete:hover {
  background: #ffe8df;
  color: #96351d;
}
.text-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  margin-top: 10px;
  color: #3541ba;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px dashed #b6b8ad;
  color: #686e6f;
}
footer span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: -0.4px;
}
footer img {
  width: 16px;
  filter: grayscale(1);
  opacity: 0.75;
}
footer small {
  font: 10px var(--mono);
}
.skip {
  position: absolute;
  z-index: 20;
  top: -80px;
  background: #fff;
  border: var(--line);
  padding: 10px;
}
.skip:focus {
  top: 5px;
}
.history-layout,
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.history-layout .card-desc {
  margin: 14px 0;
}
.chart {
  display: flex;
  gap: 5px;
  height: 162px;
  margin-top: 24px;
}
.bar-item {
  background: none;
  border: 0;
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  font: 11px var(--mono);
}
.bar-track {
  width: 100%;
  max-width: 34px;
  border: 1px solid #c1c6ce;
  background: #f0f3f4;
  flex: 1;
  display: flex;
  align-items: flex-end;
  border-radius: 3px;
  overflow: hidden;
}
.bar-track i {
  display: block;
  width: 100%;
  background: #6374ff;
}
.content-card input[type="date"] {
  padding: 6px;
  background: #fffefa;
  border: 1px solid #b6b6ac;
  border-radius: 4px;
  font: 11px var(--mono);
}
.setting-row {
  border-top: 1px dashed #c8cac5;
  margin-top: 20px;
  padding-top: 18px;
}
.setting-row b {
  font-size: 15px;
}
.setting-row p {
  margin-top: 4px;
  font-size: 13px;
}
.settings-copy {
  margin-top: 19px;
}
dialog {
  color: var(--ink);
  width: min(420px, calc(100% - 38px));
  padding: 0;
  background: #fffdf6;
  border: var(--line);
  border-radius: 14px;
  box-shadow:
    7px 7px var(--ink),
    0 25px 100px #18224840;
  max-height: 90dvh;
  overflow-y: auto;
}
dialog[open] {
  animation: arrive 0.22s ease-out;
}
dialog::backdrop {
  background: #1d294855;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.dialog-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  border: 1.5px solid var(--ink);
  background: #fffdf4;
}
.dialog-art {
  height: 126px;
  border-bottom: var(--line);
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(#263f6b19 1px, transparent 1px),
    linear-gradient(90deg, #263f6b19 1px, transparent 1px);
  background-size: 17px 17px;
}
.dialog-art.blue {
  background-color: var(--blue);
}
.dialog-art.lilac {
  background-color: #e6dcfc;
}
.dialog-art.yellow {
  background-color: #fff0a1;
}
.dialog-art > .pixel {
  width: 65px;
}

.dialog-art > svg {
  stroke-width: 1.65;
  filter: drop-shadow(2px 3px #f4c754);
  animation: bellSwing 3s infinite;
  transform-origin: center 18%;
}
.step {
  position: absolute;
  left: 15px;
  bottom: 12px;
  background: #fffefa;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.dialog-body {
  padding: 24px;
}
.dialog-body h2 {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.06em;
}
.dialog-description {
  margin: 6px 0 21px;
}
.field-label {
  font-weight: 700;
  font-size: 13px;
  display: block;
  margin-bottom: 7px;
}
.amount-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: var(--line);
  border-radius: 5px;
  background: #fff;
  padding: 6px 12px;
}
.amount-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 26px;
  font-weight: 700;
  outline-offset: 0;
}
.amount-input span {
  color: #667071;
  font: 14px var(--mono);
}
.chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.chips button {
  background: #fff;
  border: 1px solid #b0b4b1;
  border-radius: 5px;
  padding: 6px 8px;
  font: 11px var(--mono);
  flex: 1;
}
.chips button.chosen {
  background: #e1e6ff;
  border-color: #404cb5;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.primary {
  background: var(--blue);
  color: #fff;
  flex: 1;
}
.toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.toggle-line input {
  position: absolute;
  right: 0;
  opacity: 0;
}
.toggle {
  width: 40px;
  height: 24px;
  border: var(--line);
  border-radius: 20px;
  background: #dbddd8;
  padding: 2px;
}
.toggle:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.toggle-line input:checked + .toggle {
  background: #bde779;
}
.toggle-line input:checked + .toggle:before {
  transform: translateX(15px);
}
.toggle-line input:focus-visible + .toggle {
  outline: 3px solid #ec6000;
  outline-offset: 2px;
}
.field-group {
  margin-top: 18px;
}
.field-group select {
  width: 100%;
  padding: 10px;
  border: var(--line);
  border-radius: 5px;
  background: #fff;
}
.field-help {
  font-size: 12px;
  margin-top: 10px;
}
#toast {
  position: fixed;
  z-index: 5;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 18px);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #232b35ef;
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1.5px solid #141b25;
  border-radius: 7px;
  box-shadow: 3px 3px 0 #7f8a95;
  padding: 12px 14px;
  font-size: 13px;
  max-width: calc(100% - 36px);
  width: max-content;
}
#toast.shown {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast button {
  background: transparent;
  color: #edff9e;
  border: 0;
  font: 700 12px var(--mono);
  padding: 5px;
}
.toast-close {
  display: grid;
  place-items: center;
}
@keyframes breathe {
  to {
    opacity: 0.45;
    transform: scale(1.09);
  }
}
@keyframes shadowPulse {
  50% {
    transform: scaleX(0.86);
    opacity: 0.45;
  }
}
@keyframes twinkle {
  0%,
  75%,
  100% {
    opacity: 1;
  }
  80%,
  90% {
    opacity: 0.45;
  }
}
@keyframes bellSwing {
  0%,
  15%,
  100% {
    transform: rotate(0);
  }
  4% {
    transform: rotate(10deg);
  }
  10% {
    transform: rotate(-8deg);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@media (min-width: 1450px) {
  main {
    padding-top: 52px;
  }
  .hero {
    min-height: 334px;
  }
}
@media (max-width: 1050px) {
  .shell {
    width: calc(100% - 54px);
  }
  .layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 18px;
  }
  .quick,
  .log-card,
  .reminders,
  .content-card {
    padding: 20px;
  }
  .serving {
    gap: 4px;
    padding-left: 6px;
  }
  .serving img {
    width: 31px;
  }
  .tile-text b {
    font-size: 13px;
  }
  .hero-copy {
    padding: 24px 22px 0;
  }
  .progress-section {
    margin-inline: 22px;
  }
}
@media (max-width: 780px) {
  .shell {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 66px;
    gap: 20px;
  }
  nav {
    gap: 2px;
  }
  nav a {
    padding: 8px;
    font-size: 12px;
  }
  .layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 15px;
  }
  .brand {
    font-size: 29px;
  }
  .brand img {
    width: 26px;
    height: 29px;
    margin-right: 6px;
  }
  .quick,
  .log-card,
  .reminders,
  .content-card {
    padding: 16px;
  }
  .serving {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 5px 10px 7px;
  }
  .serving img {
    width: 27px;
    height: 30px;
  }
  .tile-text {
    gap: 2px;
  }
  .quick .card-desc {
    font-size: 12px;
    margin: 6px 0 10px;
  }
  .hero {
    min-height: 300px;
  }
  .hero-scene {
    min-height: 190px;
  }
  .hero-copy {
    padding: 19px 16px 0;
  }
  .hero-copy p {
    font-size: 12px;
  }

  .progress-section {
    margin: 5px 16px 21px;
  }
  .intake strong {
    font-size: 64px;
  }
  .intake span {
    font-size: 25px;
  }
  .history-layout,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .local-status {
    font-size: 10px;
    padding: 6px 9px;
  }
  main {
    padding-top: 30px;
  }
  .intro {
    margin-bottom: 20px;
  }
}
@media (max-width: 620px) {
  .shell {
    width: calc(100% - 32px);
  }
  .header-inner {
    height: auto;
    min-height: 100px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 0 9px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .local-status {
    grid-column: 2;
    grid-row: 1;
  }
  nav {
    grid-column: 1/-1;
    grid-row: 2;
    gap: 8px;
  }
  nav a {
    padding: 6px 10px;
    gap: 6px;
    font-size: 12px;
  }
  nav svg {
    width: 14px;
    height: 14px;
  }
  .intro {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 12px;
  }
  .date {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .plan-btn {
    padding: 7px 9px;
    font-size: 11px;
    gap: 5px;
    margin-bottom: 0;
  }
  h1 {
    font-size: clamp(33px, 7vw, 42px);
  }
  main {
    padding-top: 23px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .hero {
    min-height: 255px;
  }
  .hero-copy {
    padding: 21px 20px 0;
  }

  .hero-scene {
    min-height: 180px;
  }
  .intake {
    gap: 7px;
    margin-top: 15px;
  }
  .intake strong {
    font-size: 67px;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .progress-section {
    margin: 6px 20px 18px;
  }
  .quick,
  .reminders,
  .log-card,
  .content-card {
    padding: 18px;
  }
  .servings {
    gap: 9px;
  }
  .serving {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 9px;
  }
  .serving img {
    width: 32px;
    height: 34px;
  }
  .tile-text {
    gap: 3px;
  }
  .tile-text b {
    font-size: 14px;
  }
  .quick .card-desc {
    margin: 8px 0 12px;
  }
  .log-card,
  .reminders {
    min-height: auto;
  }
  .log-card .empty {
    padding: 15px 0 12px;
  }
  .card-title h2 {
    font-size: 22px;
  }
  .reminder-copy p {
    max-width: none;
  }
  footer {
    margin-top: 26px;
  }
}
@media (max-width: 380px) {
  .intake strong {
    font-size: 56px;
  }
  .plan-btn {
    margin-top: 0;
  }
  .intro {
    gap: 10px;
  }
  .local-status {
    font-size: 9px;
  }
  .history-layout .row-heading {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 780px) {
  .intake.long strong {
    font-size: clamp(39px, 11vw, 49px);
  }
  .intake.compact strong {
    font-size: 34px;
  }
  .intake:is(.long, .compact) span {
    font-size: 20px;
  }
}
