/* MooreDiet — family kitchen vibe.
   Warm earthy palette (sage + cream + terracotta) with a light/dark
   toggle. Mobile-first; bottom tab bar; comfortable touch targets;
   Quicksand for headings to soften the "scaffolding" feel.
*/

* { box-sizing: border-box; }

/* ---------- Theme tokens ---------- */
/* Light is the default; data-theme="dark" on <body> swaps the palette.
   We avoid prefers-color-scheme as the only signal — Sam's family will
   want to flip the toggle directly. localStorage wins.
*/
:root,
body[data-theme="light"] {
  --bg:        #fbf6ec;   /* warm cream */
  --bg-2:      #f3ecdb;   /* slightly cooler cream for stripes */
  --panel:     #ffffff;
  --panel-2:   #f7f1e3;   /* tinted panel for subtle stripes */
  --fg:        #2d2520;   /* warm near-black */
  --fg-soft:   #5a4a3d;
  --muted:     #8a7868;
  --border:    #e6dccb;
  --border-strong: #d4c8b3;

  --accent:        #5a8a5e;   /* sage green — brand */
  --accent-soft:   #b9d4bb;
  --accent-strong: #437048;
  --warm:          #d6864c;   /* terracotta — secondary accent */
  --warm-soft:     #f3d7bd;

  --good:  #5a8a5e;
  --warn:  #d6a040;
  --bad:   #c44a4a;

  --shadow-sm: 0 1px 2px rgba(45, 37, 32, 0.06);
  --shadow:    0 4px 14px rgba(45, 37, 32, 0.08);
  --shadow-lg: 0 12px 28px rgba(45, 37, 32, 0.12);

  --radius:    14px;
  --radius-sm: 8px;
}

body[data-theme="dark"] {
  --bg:        #1d1916;
  --bg-2:      #2a241f;
  --panel:     #261f1a;
  --panel-2:   #2c241e;
  --fg:        #f3ead9;
  --fg-soft:   #d4c8b3;
  --muted:     #a89c8a;
  --border:    #3a3026;
  --border-strong: #4d4032;

  --accent:        #8bbf90;
  --accent-soft:   #4a6e4d;
  --accent-strong: #a8d4ac;
  --warm:          #e89e6a;
  --warm-soft:     #6e4830;

  --good:  #8bbf90;
  --warn:  #f0c870;
  --bad:   #e88080;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow:    0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.5);
}

/* ---------- Base ---------- */
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in oklab, var(--accent) 8%, transparent) 0%, transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  /* room for bottom nav */
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .brand-mark {
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
h1 { font-size: 1.6rem; }
h2 { font-size: 1.15rem; margin: 0 0 0.6rem; color: var(--accent-strong); }
.muted { color: var(--muted); font-size: 0.88rem; }

a { color: var(--accent-strong); }
a:hover { color: var(--accent); }

/* ---------- Top header ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand-mark .leaf {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark .accent { color: var(--warm); }

.top-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-soft);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.icon-btn:hover { background: var(--panel-2); color: var(--fg); border-color: var(--border-strong); }
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.2rem 0.7rem 0.2rem 0.25rem;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  white-space: nowrap;
  max-width: 50vw;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 34px;
}
.user-pill .user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  background: var(--panel);
}
.user-pill:has(.user-avatar) {
  padding-left: 0.25rem;
}

/* ---------- Layout ---------- */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

section.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
section.card.feature {
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--accent) 6%, var(--panel)) 0%, var(--panel) 80%);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow);
}

/* ---------- Sign-in landing ---------- */
.signin-view {
  text-align: center;
  padding: 2.5rem 1rem 4rem;
  max-width: 440px;
  margin: 0 auto;
}
.signin-view .leaf-big {
  width: 64px;
  height: 64px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.signin-view h1 {
  margin: 0.25rem 0 0.4rem;
  color: var(--accent-strong);
  font-size: 1.9rem;
}
.signin-view .signin-tagline {
  color: var(--muted);
  margin: 0 0 1.6rem;
  font-size: 1rem;
}

/* ---------- Today / pie ---------- */
.today-meta {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.pie-wrap {
  position: relative;
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  margin: 0.5rem auto 0.75rem;
}
.pie-wrap canvas { display: block; width: 100% !important; height: 100% !important; }
.pie-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  text-align: center;
}
.pie-kcal {
  font-family: "Quicksand", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-strong);
  line-height: 1;
}
.pie-kcal-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.2rem;
}
.pie-target {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.pie-target.over { color: var(--bad); }
.pie-target.near { color: var(--warn); }

.pie-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin: 0.4rem 0 0.8rem;
  font-size: 0.78rem;
  color: var(--fg-soft);
}
.pie-legend .swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 0.35rem;
  vertical-align: -1px;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.macro-cell {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  position: relative;
}
.macro-cell .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.macro-cell .value {
  font-family: "Quicksand", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  margin-top: 0.15rem;
  color: var(--fg);
}
.macro-cell .target {
  font-size: 0.74rem;
  color: var(--muted);
}
.macro-cell .bar {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  margin-top: 0.45rem;
  overflow: hidden;
}
.macro-cell .bar-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.4s ease;
  border-radius: 3px;
}
.macro-cell .bar-fill.over { background: var(--bad); }
.macro-cell .bar-fill.near { background: var(--warn); }

.unresolved {
  margin-top: 0.85rem;
  padding: 0.65rem 0.8rem;
  background: color-mix(in oklab, var(--bad) 10%, transparent);
  border-left: 3px solid var(--bad);
  border-radius: 6px;
  font-size: 0.85rem;
}
.unresolved strong { color: var(--bad); }

/* ---------- Forms (targets, biometrics) ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
  margin-top: 0.4rem;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-size: 1rem;
  font-family: inherit;
  min-height: 42px;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.3rem;
}

button.primary,
button.ghost,
button.warm {
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: transform 0.06s ease, filter 0.18s ease;
  min-height: 42px;
}
button.primary { background: var(--accent); color: #fff; }
button.primary:hover { filter: brightness(1.06); }
button.primary:active { transform: translateY(1px); }
button.ghost {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--accent);
}
button.ghost:hover { background: color-mix(in oklab, var(--accent) 10%, transparent); }
button.warm { background: var(--warm); color: #fff; }
button.warm:hover { filter: brightness(1.06); }

.status-pill {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Height pair (ft / in) */
.height-pair { gap: 0.3rem; }
.height-inputs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.height-inputs input { width: 4.5rem; text-align: right; }
.height-inputs .unit { color: var(--muted); font-size: 0.85rem; }
.height-hint {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--muted);
}

/* Suggested targets box */
.suggested-box {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding: 0.85rem;
  background: color-mix(in oklab, var(--accent) 8%, var(--panel));
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.suggested-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 0.5rem;
  margin: 0.55rem 0 0.75rem;
}
.sug-row {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
}
.sug-row .sug-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.sug-row .sug-value {
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-strong);
}
.suggested-box button.apply-btn {
  background: var(--good);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.suggested-box button.apply-btn:hover { filter: brightness(1.06); }

/* ---------- Meal log ---------- */
.meallog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.meallog-header h2 { margin: 0; }
.meallog-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.meallog-controls label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.meallog-controls select {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
  min-height: 36px;
}
.meallog-list { display: flex; flex-direction: column; gap: 0.45rem; }
.meallog-empty { text-align: center; padding: 1.5rem 1rem; font-style: italic; }

.meal-row {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.meal-row.editing { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.meal-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  user-select: none;
  min-height: 52px;
}
.meal-summary:hover { background: color-mix(in oklab, var(--fg) 5%, transparent); }
.meal-time {
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--muted);
  font-size: 0.85rem;
  min-width: 4.7em;
}
.meal-title {
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg);
}
.meal-kcal {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  color: var(--accent-strong);
  font-size: 0.95rem;
  white-space: nowrap;
}
.meal-detail {
  border-top: 1px solid var(--border);
  padding: 0.7rem 0.85rem 0.9rem;
  background: var(--panel);
}
.meal-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.meal-items-table th,
.meal-items-table td {
  padding: 0.35rem 0.45rem;
  text-align: left;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}
.meal-items-table th {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.meal-items-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.meal-items-table input {
  width: 100%;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.45rem;
  font-size: 0.86rem;
  min-height: 34px;
  font-family: inherit;
}
.meal-items-table input.num { text-align: right; }
.meal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
  align-items: center;
}
.meal-actions button {
  background: var(--panel-2);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  min-height: 36px;
}
.meal-actions button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
}
.meal-actions button.danger {
  color: var(--bad);
  border-color: color-mix(in oklab, var(--bad) 35%, var(--border));
}
.meal-actions button.danger:hover { background: color-mix(in oklab, var(--bad) 12%, transparent); }
.meal-actions .add-item {
  color: var(--good);
  border-color: color-mix(in oklab, var(--good) 35%, var(--border));
}
.row-status { margin-left: auto; font-size: 0.8rem; color: var(--muted); }
.meal-meta-edit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.meal-meta-edit label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 500;
}
.meal-meta-edit input,
.meal-meta-edit textarea {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  font-size: 0.86rem;
  font-family: inherit;
  min-height: 36px;
}
.row-remove {
  background: transparent;
  border: none;
  color: var(--bad);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 0.3rem;
}
.row-remove:hover { transform: scale(1.15); }

.day-divider {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.6rem 0.2rem 0.2rem;
  font-weight: 600;
}

/* ---------- Chat ---------- */
.chat-card { display: flex; flex-direction: column; }
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.chat-header h2 { margin: 0; }
.chat-clear {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  min-height: 32px;
}
.chat-clear:hover { color: var(--fg); border-color: var(--fg-soft); }
.chat-log {
  min-height: 120px;
  max-height: 50vh;
  overflow-y: auto;
  padding: 0.5rem 0.25rem;
  margin-bottom: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.chat-empty {
  color: var(--muted);
  font-style: italic;
  padding: 1.2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}
.bubble {
  padding: 0.65rem 0.95rem;
  border-radius: 18px;
  max-width: 88%;
  line-height: 1.45;
  word-wrap: break-word;
  font-size: 0.95rem;
}
.bubble.user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.bubble.bot {
  background: var(--panel-2);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}
.bubble .tools-badge {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.chat-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.mic-btn {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
}
.mic-btn.listening { background: var(--bad); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 74, 74, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(196, 74, 74, 0); }
}
#chatInput {
  flex: 1;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  min-height: 46px;
}
#chatInput:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.chat-form button[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  min-height: 46px;
}
.chat-form button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-hint {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in oklab, var(--panel) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.bottom-nav a svg {
  width: 22px;
  height: 22px;
}
.bottom-nav a.active {
  color: var(--accent-strong);
}
.bottom-nav a.active svg {
  stroke: var(--accent);
}
.bottom-nav a:not(.active):hover { color: var(--fg-soft); }

/* ---------- Footer ---------- */
.app-footer {
  margin-top: 1rem;
  padding: 1rem 1rem 0.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.app-footer .leaf-tiny {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  color: var(--accent);
  margin: 0 0.25rem;
}

/* ---------- Page transitions / niceties ---------- */
@media (prefers-reduced-motion: no-preference) {
  section.card { animation: rise 0.32s ease both; }
  section.card:nth-child(2) { animation-delay: 0.04s; }
  section.card:nth-child(3) { animation-delay: 0.08s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Compact tweaks for small screens ---------- */
@media (max-width: 480px) {
  main { padding: 0.85rem 0.75rem 1.5rem; }
  section.card { padding: 0.95rem; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.05rem; }
}

/* ---------- Wider-screen polish ---------- */
@media (min-width: 720px) {
  .bottom-nav {
    border-radius: 999px;
    left: auto;
    right: auto;
    bottom: 18px;
    width: min(420px, 90vw);
    margin: 0 auto;
    height: 60px;
    padding-bottom: 0;
  }
  body { padding-bottom: 100px; }
}
