@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url(/fonts/dm-sans-400.woff2) format('woff2'),
    url(/fonts/dm-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url(/fonts/dm-sans-500.woff2) format('woff2'),
    url(/fonts/dm-sans-500.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    url(/fonts/dm-sans-600.woff2) format('woff2'),
    url(/fonts/dm-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url(/fonts/dm-sans-700.woff2) format('woff2'),
    url(/fonts/dm-sans-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url(/fonts/manrope-400.woff2) format('woff2'),
    url(/fonts/manrope-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url(/fonts/manrope-500.woff2) format('woff2'),
    url(/fonts/manrope-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    url(/fonts/manrope-600.woff2) format('woff2'),
    url(/fonts/manrope-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url(/fonts/manrope-700.woff2) format('woff2'),
    url(/fonts/manrope-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src:
    url(/fonts/manrope-800.woff2) format('woff2'),
    url(/fonts/manrope-800.ttf) format('truetype');
}
:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --paper: #fffefb;
  --text: #283b31;
  --muted: #6a7166;
  --green: #3b5b3f;
  --green-soft: #e8eddf;
  --line: #dddfd4;
  --peach: #f5e6d6;
  --orange: #a95832;
  --red: #9e3f30;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b56a3e;
  outline-offset: 3px;
}
a {
  color: var(--green);
}
button {
  color: inherit;
}
button svg {
  width: 20px;
}
button {
  transition:
    background 0.16s ease,
    transform 0.16s ease;
}
button:hover:not(:disabled) {
  filter: brightness(0.97);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3,
.brand {
  font-family: Manrope, 'DM Sans', sans-serif;
}
h1 {
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.13;
  letter-spacing: -1.5px;
  margin-bottom: 13px;
  font-weight: 800;
}
h2 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 8px;
}
p {
  margin-bottom: 14px;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
.skip {
  position: absolute;
  left: 15px;
  top: -70px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.top {
  max-width: 1240px;
  margin: auto;
  height: 94px;
  padding: 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand-icon {
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff9ee;
  width: 36px;
  height: 36px;
  font-size: 30px;
  border-radius: 50%;
  font-family: serif;
  transform: rotate(-25deg);
}
.beta {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--green-soft);
  border-radius: 5px;
  padding: 4px 7px;
  margin-left: 7px;
  font-weight: 500;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  min-height: 42px;
}
.top .text-button {
  text-decoration: none;
  font-size: 13px;
}
.app-shell {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  margin: auto;
  padding: 0 42px;
  gap: 45px;
}
aside {
  padding-top: 39px;
  border-right: 1px solid var(--line);
  padding-right: 26px;
}
.nav-title {
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
nav button {
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 11px;
  padding: 12px 13px;
  min-height: 46px;
  font-weight: 500;
  font-size: 14px;
}
nav button.active {
  background: var(--green);
  color: #fff;
}
.nav-symbol {
  font-size: 18px;
  width: 22px;
  text-align: center;
  font-family: Arial, sans-serif;
}
.local-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 42px;
  padding: 16px 0;
}
.local-note small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.local-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 6px;
  flex-shrink: 0;
}
main {
  padding: 40px 0 50px;
  min-width: 0;
}
main:focus {
  outline: none;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}
.lead {
  font-size: 15px;
  color: var(--muted);
  max-width: 570px;
  margin-bottom: 26px;
}
.demo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: var(--green-soft);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 12px;
  margin-bottom: 28px;
}
.demo-bar .text-button {
  font-size: 12px;
  white-space: nowrap;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 28px 0 17px;
}
.section-head h2 {
  margin: 0;
  font-size: 19px;
}
.muted,
.help {
  color: var(--muted);
}
.help {
  font-size: 12px;
  line-height: 1.6;
}
.primary,
.secondary,
.danger,
.chip {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  min-height: 44px;
  background: var(--paper);
}
.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.danger {
  color: var(--red);
  background: transparent;
}
.secondary {
  background: transparent;
  color: var(--green);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.actions .primary {
  flex-grow: 1;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 17px;
}
.meal-art {
  display: grid;
  place-items: center;
  min-height: 140px;
  background: var(--peach);
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 65px;
}
.meal-card:nth-child(2) .meal-art {
  background: #e8ebd9;
}
.meal-card:nth-child(3) .meal-art {
  background: #f0e3d9;
}
.meal-card h3 {
  font-size: 18px;
}
.meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 13px;
}
.pill {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 6px;
  font-size: 11px;
  padding: 4px 8px;
  margin-bottom: 12px;
}
.pill.wait {
  background: #f5e9d9;
  color: #83532e;
}
.meal-card .primary {
  width: 100%;
  margin-top: 6px;
}
.empty {
  padding: 38px 26px;
  border: 1px dashed #c8cdbf;
  border-radius: 18px;
  text-align: center;
}
.empty h3 {
  margin-bottom: 9px;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.person-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.person-line:last-child {
  border: 0;
}
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  font-size: 15px;
  font-weight: 600;
}
.person-line .person-info {
  flex: 1;
  min-width: 0;
}
.person-line p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
}
.person-line button {
  padding: 7px 10px;
  min-height: 40px;
}
.selection {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.chip {
  padding: 8px 13px;
  background: transparent;
  min-height: 40px;
}
.chip[aria-pressed='true'] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 18px;
}
.food-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 620px;
  overflow: auto;
  padding-right: 3px;
}
.food-item {
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  padding: 12px;
  border-radius: 11px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  font-size: 13px;
}
.food-item.selected {
  border-color: var(--line);
  background: var(--paper);
}
.food-item small {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.food-item.selected small {
  color: var(--green);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 16px 0 7px;
}
input[type='text'],
input:not([type]),
input[type='search'],
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
}
textarea {
  resize: vertical;
  min-height: 85px;
}
.option-set {
  display: grid;
  gap: 7px;
}
.option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 11px 12px;
  font-size: 13px;
  min-height: 45px;
}
.option[aria-pressed='true'] {
  background: var(--green-soft);
  border-color: var(--green);
}
.radio {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #aeb7a5;
}
.option[aria-pressed='true'] .radio {
  border: 5px solid var(--green);
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}
.checks label,
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
  min-height: 40px;
  margin: 0;
}
.checks input,
.check-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.note {
  background: var(--green-soft);
  border-radius: 12px;
  padding: 15px 17px;
  font-size: 13px;
}
.note.warm {
  background: var(--peach);
}
.note p:last-child {
  margin: 0;
}
.detail-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 20px 0;
}
.detail-hero .meal-art {
  width: 100px;
  min-height: 105px;
  font-size: 50px;
  flex-shrink: 0;
  margin: 0;
}
.detail-hero h2 {
  margin: 0 0 9px;
}
.detail-hero p {
  margin: 0;
}
.back {
  margin: 0 0 12px;
}
.meal-person {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.meal-person .avatar {
  width: 33px;
  height: 33px;
  font-size: 12px;
}
.meal-person p {
  font-size: 13px;
  margin: 5px 0 10px;
  color: var(--muted);
}
.meal-person .food-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  flex-wrap: wrap;
  margin: 4px 0;
}
.food-state .text-button {
  font-size: 11px;
  min-height: 32px;
}
.warning {
  color: var(--red);
  font-size: 12px;
}
.shopping-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.shopping-row input {
  accent-color: var(--green);
  width: 20px;
  height: 20px;
  margin: 0;
}
.shopping-row label {
  margin: 0;
  flex: 1;
  font-size: 14px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 400;
}
.shopping-row:has(input:checked) label {
  text-decoration: line-through;
  color: var(--muted);
}
.plan-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.plan-row > span {
  font-size: 31px;
}
.plan-row > div {
  flex: 1;
}
.plan-row h3 {
  font-size: 14px;
  margin: 0 0 4px;
}
.plan-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.plan-row button {
  padding: 8px;
  min-height: 40px;
}
.paper {
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  max-width: 560px;
}
.paper h2 {
  font-size: 28px;
  margin: 12px 0 24px;
}
.paper p {
  font-size: 14px;
}
.paper .card-food {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.paper .card-food p {
  font-size: 12px;
  margin: 5px 0 0;
  color: var(--muted);
}
.paper .card-food:last-child {
  border-bottom: 0;
}
.history-entry {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.history-entry p {
  margin: 5px 0 0;
  color: var(--muted);
}
.history-entry small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 7px;
}
.over-content {
  max-width: 640px;
}
.over-content h2 {
  margin-top: 28px;
}
.over-content p,
.over-content li {
  font-size: 14px;
}
.over-content li {
  margin-bottom: 8px;
}
.small-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 24px 0 12px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #fff;
  border-radius: 12px;
  padding: 13px 20px;
  box-shadow: 0 8px 30px #1d332127;
  font-size: 13px;
  max-width: calc(100% - 30px);
  z-index: 50;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  width: min(440px, calc(100% - 28px));
  padding: 27px;
  background: var(--bg);
  color: var(--text);
}
dialog::backdrop {
  background: #283b3155;
  backdrop-filter: blur(3px);
}
.footer-info {
  color: var(--muted);
  font-size: 11px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.saved-indicator {
  color: var(--green);
  font-size: 11px;
  min-height: 18px;
  margin-top: 8px;
}
.intro-split {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.intro-split p {
  max-width: 510px;
}
.hero-stamp {
  background: var(--peach);
  color: var(--orange);
  border-radius: 50%;
  width: 85px;
  height: 85px;
  display: grid;
  place-items: center;
  font-size: 37px;
  transform: rotate(8deg);
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 1000px) {
  .top {
    padding: 0 25px;
  }
  .app-shell {
    padding: 0 25px;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 25px;
  }
  aside {
    padding-right: 16px;
  }
  .editor-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  }
}
@media (max-width: 740px) {
  .top {
    height: 75px;
    padding: 0 19px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-icon {
    width: 31px;
    height: 31px;
  }
  .beta {
    font-size: 9px;
    margin-left: 0;
  }
  .top .text-button {
    font-size: 11px;
  }
  .app-shell {
    display: block;
    padding: 0 19px;
  }
  aside {
    border: 0;
    padding: 16px 0 0;
  }
  .nav-title,
  .local-note {
    display: none;
  }
  nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  nav button {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 10px;
    padding: 8px 3px;
    border-radius: 10px;
    min-height: 58px;
  }
  .nav-symbol {
    font-size: 19px;
  }
  main {
    padding: 28px 0 35px;
  }
  h1 {
    font-size: 31px;
  }
  .hero-stamp {
    display: none;
  }
  .lead {
    font-size: 14px;
  }
  .demo-bar {
    padding: 11px 12px;
    font-size: 11px;
    gap: 8px;
    margin-bottom: 24px;
  }
  .demo-bar .text-button {
    font-size: 11px;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .food-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 210px;
    background: var(--green-soft);
    border-radius: 13px;
    padding: 8px;
  }
  .food-item {
    display: block;
    min-height: 58px;
    font-size: 12px;
  }
  .food-item small {
    display: block;
    margin-top: 3px;
  }
  .card {
    padding: 19px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .meal-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .meal-card .meal-art {
    grid-row: 1/7;
    font-size: 39px;
    min-height: 100px;
    margin: 0;
  }
  .meal-card h3 {
    font-size: 17px;
  }
  .meal-card .meta {
    margin-bottom: 7px;
  }
  .meal-card .pill {
    justify-self: start;
    margin-bottom: 7px;
  }
  .meal-card p.help {
    margin-bottom: 8px;
  }
  .meal-card .primary {
    grid-column: 2;
  }
  .checks {
    grid-template-columns: 1fr 1fr;
  }
  .paper {
    padding: 23px;
  }
  .section-head {
    margin-top: 25px;
  }
  .section-head h2 {
    font-size: 19px;
  }
  .detail-hero {
    gap: 16px;
  }
  .detail-hero .meal-art {
    width: 77px;
    min-height: 90px;
  }
  .detail-hero h2 {
    font-size: 22px;
  }
  .actions > * {
    flex: 1;
  }
  .toast {
    bottom: 18px;
    width: max-content;
  }
  .intro-split {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 360px) {
  .brand {
    white-space: nowrap;
    font-size: 21px;
  }
  .brand .beta {
    display: none;
  }
  .section-head {
    flex-wrap: wrap;
    gap: 7px;
  }
  .top .text-button {
    font-size: 10px;
  }
  .top {
    gap: 12px;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  body > #print-card {
    display: block !important;
    padding: 20px;
    color: #111;
    background: #fff;
  }
  .paper {
    border: 0;
    max-width: none;
  }
  button,
  .no-print {
    display: none !important;
  }
}

.cloud-panel {
  margin-bottom: 30px;
}
.code-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.code-row input {
  min-width: 0;
  flex: 1;
}
.code-row button {
  flex-shrink: 0;
}
.cloud-panel details {
  margin-top: 22px;
  font-size: 13px;
}
.cloud-panel summary {
  cursor: pointer;
  color: var(--green);
}
/* Voedselcatalogus */
.catalogue-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(190px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin: 24px 0 12px;
}
.catalogue-toolbar label {
  margin-top: 0;
}
.catalogue-toolbar button {
  min-height: 45px;
  white-space: nowrap;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.product-card .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.6;
  min-height: 32px;
}
.product-card h2 {
  font-size: 23px;
  margin: 0;
  overflow-wrap: anywhere;
}
.product-card > p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.product-card .help {
  margin-top: auto;
}
.product-card button {
  width: 100%;
  margin-top: 4px;
}
.catalogue-pages {
  justify-content: center;
  margin-top: 28px;
  align-items: center;
}
.catalogue-pages span {
  font-size: 13px;
}
.variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line, #deded4);
}
.variant-row:first-child {
  border-top: 0;
}
.variant-row h3 {
  margin: 0 0 5px;
  font-size: 19px;
}
.variant-row p {
  margin: 0;
}
.variant-row .actions {
  margin: 0;
  justify-content: flex-end;
}
.suggestion-note {
  margin-bottom: 22px;
}
.food-item > span small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  margin-top: 4px;
}
#pref-variant {
  margin-bottom: 18px;
}
#catalogue-results > p {
  margin-top: 24px;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
@media (max-width: 1100px) {
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalogue-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .catalogue-toolbar > button {
    justify-self: start;
  }
  .variant-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .variant-row .actions {
    justify-content: flex-start;
  }
}
@media (max-width: 650px) {
  .catalogue-grid,
  .catalogue-toolbar {
    grid-template-columns: 1fr;
  }
  .product-card .eyebrow {
    min-height: 0;
  }
  .catalogue-pages {
    gap: 10px;
  }
  .catalogue-pages button {
    padding-left: 16px;
    padding-right: 16px;
  }
  .variant-row .actions {
    flex-wrap: wrap;
  }
  .catalogue-toolbar {
    gap: 12px;
  }
  .product-card h2 {
    font-size: 23px;
  }
}
/* Kalender en vaste dagen */
.week-navigation {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin: 24px 0;
}
.week-navigation > .actions {
  margin: 0;
  flex-wrap: nowrap;
}
.week-navigation label {
  margin: 0 0 8px;
}
.week-navigation input {
  max-width: 240px;
}
.week-heading {
  flex-wrap: wrap;
  gap: 12px;
}
.week-heading h2 {
  font-size: 23px;
}
.week-heading .actions {
  margin: 0;
}
.week-days {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}
.week-day {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border: 1px solid #e0e1d8;
  border-radius: 18px;
  background: #fff;
}
.week-day.is-today {
  border-color: #849976;
  box-shadow: inset 4px 0 #849976;
}
.day-date {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-transform: capitalize;
}
.day-date strong {
  font-size: 14px;
}
.day-date span {
  font-size: 14px;
  color: #6c7066;
}
.day-date small {
  font-size: 11px;
  color: #40563d;
}
.day-meal h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 5px 0;
}
.day-meal p {
  margin: 4px 0;
}
.day-meal > small {
  font-size: 12px;
  color: #6c7066;
}
.day-theme {
  display: inline-block;
  color: #805837;
  background: #f4eadf;
  border-radius: 6px;
  font-size: 11px;
  padding: 4px 8px;
}
.day-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  max-width: 180px;
}
.day-actions button {
  white-space: normal;
  font-size: 12px;
}
.day-actions .secondary {
  padding: 9px 13px;
}
.rules-panel,
.date-choices,
.note-form {
  margin: 24px 0;
  scroll-margin-top: 22px;
}
.rules-panel .help {
  max-width: 650px;
}
.rule-row {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid #dedfd5;
  border-radius: 12px;
  min-width: 0;
}
.rule-row legend {
  padding: 0 6px;
  font-size: 14px;
  font-weight: 600;
}
.rule-row details {
  margin: 12px 0 0;
  font-size: 12px;
}
.rule-row summary {
  cursor: pointer;
  color: #666c60;
}
.rule-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.recipe-option {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 18px 4px;
  background: transparent;
  border: 0;
  border-top: 1px solid #e4e5dc;
  border-radius: 0;
  color: inherit;
}
.recipe-option > span:first-child {
  font-size: 24px;
}
.recipe-option > span:nth-child(2) {
  flex: 1;
}
.recipe-option strong {
  display: block;
  font-size: 15px;
}
.recipe-option small {
  display: block;
  font-size: 12px;
  color: #6c7066;
  margin-top: 5px;
  line-height: 1.6;
}
.recipe-option:hover {
  background: #f5f6ef;
}
.undated {
  margin-top: 36px;
}
.rules-panel input[type='date'] {
  min-width: 0;
}
.week-navigation .secondary {
  min-width: 42px;
}
.day-meal {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .week-day {
    grid-template-columns: 85px minmax(0, 1fr);
  }
  .day-actions {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
    align-items: center;
  }
}
@media (max-width: 650px) {
  .week-navigation {
    flex-wrap: wrap;
    gap: 16px;
  }
  .week-navigation > div:last-child {
    width: 100%;
  }
  .week-navigation input {
    max-width: none;
  }
  .week-heading h2 {
    font-size: 20px;
  }
  .week-day {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 12px;
  }
  .day-date {
    flex-direction: row;
    align-items: baseline;
    gap: 9px;
  }
  .day-actions {
    grid-column: 1;
  }
  .day-meal h3 {
    font-size: 18px;
  }
  .rule-dates {
    grid-template-columns: 1fr;
  }
  .week-heading .actions {
    flex-wrap: wrap;
  }
  .rule-row {
    padding: 12px;
  }
  .rules-panel {
    padding: 20px;
  }
  .date-choices .section-head {
    flex-wrap: wrap;
  }
  .recipe-option strong {
    font-size: 14px;
  }
}
input[type='date'] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d8dacf;
  border-radius: 10px;
  background: #fff;
  color: #29372a;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}
input[type='date']:focus {
  outline: 2px solid #9c6b49;
  outline-offset: 2px;
}
/* Eigen maaltijden */
input[type='number'] {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d8dacf;
  border-radius: 10px;
  background: #fff;
  color: #29372a;
  font-family: inherit;
  font-size: 15px;
}
input[type='number']:focus {
  outline: 2px solid #9c6b49;
  outline-offset: 2px;
}
.meal-builder {
  margin-top: 24px;
}
.meal-builder > h2 {
  font-size: 22px;
  margin-top: 30px;
}
.meal-builder h2 small {
  font-size: 13px;
  font-weight: 400;
  color: #6c7066;
}
#recipe-time {
  max-width: 180px;
}
.ingredient-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 110px 100px auto;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #e1e3d9;
}
.ingredient-row label {
  font-size: 12px;
  margin: 0 0 6px;
}
.ingredient-name strong {
  display: block;
  font-size: 14px;
  line-height: 1.65;
}
.ingredient-name small {
  display: block;
  font-size: 11px;
  color: #6c7066;
  margin-top: 5px;
}
.ingredient-picker {
  background: #f4f5ee;
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
}
.ingredient-picker h3 {
  font-size: 17px;
}
.ingredient-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 12px;
}
.ingredient-results .food-item {
  border: 1px solid #dedfd5;
  border-radius: 8px;
  background: #fff;
}
.ingredient-picker-product {
  margin-top: 18px;
}
.ingredient-picker-product > .secondary {
  margin-top: 14px;
}
.ingredient-row > .text-button {
  font-size: 12px;
}
.meal-builder > .checks {
  margin: 16px 0;
}
.meal-builder input,
.meal-builder textarea,
.ingredient-picker input {
  min-width: 0;
}
.product-card .actions {
  gap: 8px;
}
.product-card .actions .text-button {
  width: auto;
}
.product-card .actions button {
  font-size: 12px;
}
@media (max-width: 800px) {
  .ingredient-row {
    grid-template-columns: 1fr 1fr;
  }
  .ingredient-name {
    grid-column: 1/-1;
  }
  .ingredient-row > .text-button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .ingredient-results {
    grid-template-columns: 1fr;
  }
  .ingredient-picker {
    padding: 16px;
  }
  .ingredient-row {
    gap: 10px;
  }
}
/* Voorkeurenronde */
.round-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.round-launch p {
  margin: 5px 0 0;
  font-size: 13px;
}
.round-launch button {
  flex-shrink: 0;
}
.round-setup,
.round-panel,
.round-finished {
  max-width: 650px;
  scroll-margin-top: 24px;
}
.round-filter {
  margin: 18px 0;
}
.round-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.round-navigation p {
  margin: 0;
}
.round-navigation > div {
  display: flex;
  gap: 20px;
}
.round-panel > .help {
  margin: 10px 0 20px;
}
.preference-form-name {
  font-size: 18px;
  margin: 12px 0 20px;
}
.round-skip {
  width: 100%;
  margin-top: 12px;
}
.person-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.person-actions .secondary {
  font-size: 12px;
}
@media (max-width: 740px) {
  .round-launch {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .round-launch button {
    width: 100%;
  }
  .person-line {
    flex-wrap: wrap;
  }
  .person-actions {
    width: 100%;
    justify-content: flex-start;
    padding-left: 52px;
  }
  .person-actions .secondary {
    width: 100%;
  }
  .round-navigation {
    align-items: baseline;
  }
  .round-panel .preference-form {
    padding: 19px;
  }
}
/* Uiterlijk en hulp */
:root {
  --primary-bg: #3b5b3f;
  --on-primary: #fff;
  --field: #fffefb;
  --surface-soft: #f4f5ee;
  --today: #849976;
  --ink-soft: #6c7066;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #181f1b;
  --paper: #222c25;
  --text: #eef1e9;
  --muted: #b7c2b2;
  --green: #b5d3a7;
  --green-soft: #303f30;
  --line: #475344;
  --peach: #403329;
  --orange: #e6b48c;
  --red: #ffb6a7;
  --primary-bg: #b5d3a7;
  --on-primary: #1a281b;
  --field: #263229;
  --surface-soft: #29362c;
  --today: #a6c793;
  --ink-soft: #b7c2b2;
}
body {
  background: var(--bg);
  color: var(--text);
}
.primary,
nav button.active,
.chip[aria-pressed='true'] {
  background: var(--primary-bg);
  border-color: var(--primary-bg);
  color: var(--on-primary);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
}
.theme-toggle[aria-pressed='true'] {
  background: var(--green-soft);
  border-color: var(--green);
}
.theme-toggle > span:first-child {
  font-size: 19px;
}
.week-day,
.ingredient-results .food-item,
input[type='date'],
input[type='number'] {
  background: var(--field);
  color: var(--text);
  border-color: var(--line);
}
.week-day.is-today {
  border-color: var(--today);
  box-shadow: inset 4px 0 var(--today);
}
.day-date span,
.day-meal > small,
.recipe-option small,
.ingredient-name small,
.meal-builder h2 small {
  color: var(--ink-soft);
}
.day-date small {
  color: var(--green);
}
.day-theme {
  color: var(--orange);
  background: var(--peach);
}
.ingredient-picker,
.recipe-option:hover {
  background: var(--surface-soft);
}
.recipe-option,
.rule-row,
.variant-row,
.ingredient-row,
.ingredient-results .food-item,
.paper {
  border-color: var(--line);
}
.rules-panel summary,
.rule-row summary {
  color: var(--muted);
}
.empty {
  border-color: var(--line);
}
.paper {
  background: var(--paper);
}
.demo-start {
  margin-bottom: 30px;
  background: var(--surface-soft);
}
.demo-start > p {
  font-size: 14px;
  color: var(--muted);
  max-width: 600px;
}
.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 8px;
}
.demo-steps > button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px;
  background: var(--paper);
  text-align: left;
  color: var(--text);
}
.demo-steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  margin-bottom: 12px;
}
.demo-steps strong {
  display: block;
  font-size: 14px;
}
.demo-steps small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
  line-height: 1.6;
}
.appearance-panel {
  max-width: 700px;
}
.appearance-panel h2 {
  font-size: 19px;
}
.appearance-panel .help {
  margin: 12px 0 0;
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 700px;
  margin-top: 24px;
}
.faq-item {
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 19px 22px;
  font-size: 14px;
  font-weight: 600;
}
.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}
.faq-item p {
  padding: 19px 22px 0;
  font-size: 14px;
  line-height: 1.8;
}
.faq-item button {
  margin: 0 22px 20px;
}
.faq-item[open] {
  border-color: var(--green);
}
@media (max-width: 740px) {
  .top {
    height: auto;
    min-height: 75px;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .top-actions {
    gap: 16px;
  }
  .top-actions .text-button {
    font-size: 11px;
  }
  .top-actions > [data-view='over'] {
    display: none;
  }
  .theme-toggle {
    font-size: 11px;
  }
  .demo-steps {
    grid-template-columns: 1fr;
  }
  .demo-steps > button {
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 14px;
  }
  .demo-steps span {
    grid-row: 1/3;
    margin: 0;
  }
  .demo-steps strong {
    font-size: 13px;
  }
  .demo-steps small {
    grid-column: 2;
    margin-top: 3px;
  }
  .faq-item summary {
    padding: 17px;
    font-size: 13px;
  }
  .faq-item p {
    padding: 17px 17px 0;
    font-size: 13px;
  }
  .faq-item button {
    margin-left: 17px;
  }
  .demo-start h2 {
    font-size: 23px;
  }
}
@media print {
  :root,
  :root[data-theme='dark'] {
    color-scheme: light;
    --bg: #fff;
    --paper: #fff;
    --text: #111;
    --muted: #444;
    --line: #bbb;
  }
  .paper {
    color: #111;
    background: white;
  }
  .paper .card-food p {
    color: #444;
  }
}
.account-signin {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}
.cloud-panel input[type='password'] {
  width: 100%;
  display: block;
  background: var(--field);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
}
.cloud-panel > .secondary {
  margin-top: 14px;
}
.cloud-panel details > button {
  margin-top: 15px;
}
.cloud-panel .selection {
  margin-top: 12px;
}
.person-info p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.lunch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 25px 0;
}
.lunch-card h2 {
  font-size: 20px;
}
.lunch-card button {
  margin-top: 16px;
}
#lunch-all {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
@media (max-width: 740px) {
  .lunch-list {
    grid-template-columns: 1fr;
  }
  .cloud-panel .actions {
    flex-direction: column;
  }
}
/* Rustiger hoofdnavigatie en vragenstart */
.nav-group {
  margin: 0 0 22px;
}
.nav-group h2 {
  font:
    600 10px/1.6 'DM Sans',
    sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px 10px;
}
.nav-group button {
  width: 100%;
  margin: 3px 0;
}
.nav-title {
  display: none;
}
.account-tools {
  margin: 22px 0 32px;
}
.account-tools h2 {
  font-size: 18px;
}
.account-tools .actions {
  margin-top: 12px;
}
.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.question-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.question-card h2 {
  font-size: 22px;
}
.question-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.question-card > .primary,
.question-card > .secondary {
  margin-top: auto;
}
.question-card small {
  color: var(--muted);
  margin-top: 12px;
}
.hub-symbol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 25px;
  margin-bottom: 20px;
}
.hub-followup {
  margin-top: 22px;
}
.hub-followup h2 {
  font-size: 20px;
}
.hub-followup p {
  font-size: 14px;
  color: var(--muted);
}
.lactose-guide {
  max-width: 700px;
}
.guide-answer {
  margin: 25px 0;
}
.guide-answer h2 {
  font-size: 22px;
}
.guide-answer p {
  font-size: 14px;
}
.fruit-picture {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
  padding: 14px 16px;
  margin: 18px 0 24px;
}
.fruit-picture summary {
  cursor: pointer;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.picture-pilot {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.fruit-picture figure {
  margin: 18px 0 0;
}
.fruit-picture img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  margin: auto;
}
.fruit-picture figcaption {
  max-width: 420px;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.dietary-tags {
  font-size: 12px;
  color: var(--text);
  line-height: 1.7;
  background: var(--green-soft);
  padding: 10px 12px;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.person-info .dietary-tags {
  color: var(--text);
  margin-top: 10px;
}
.dietary-notice {
  padding: 18px;
  border: 1px solid var(--line);
  margin: 20px 0;
  border-radius: 12px;
}
.dietary-notice p {
  font-size: 13px;
  margin: 9px 0 0;
}
.dietary-notice .help {
  font-size: 12px;
}
.ingredient-review {
  align-items: flex-start;
  margin: 20px 0 12px;
  font-size: 13px;
  line-height: 1.7;
}
.ingredient-review input {
  margin-top: 5px;
  flex-shrink: 0;
}
.dietary-editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  min-width: 0;
  margin: 24px 0;
}
.dietary-editor legend {
  font-size: 14px;
  font-weight: 600;
  padding: 0 5px;
}
.allergen-add {
  display: flex;
  gap: 10px;
  align-items: center;
}
.allergen-add select {
  min-width: 0;
  flex: 1;
}
.dietary-selection {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.dietary-selection .chip {
  font-size: 12px;
}
.dietary-editor a {
  font-size: 12px;
}
.dietary-editor select {
  font-size: 13px;
}
#edit-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: 90dvh;
  overflow-y: auto;
}
#person-form > .actions {
  position: sticky;
  bottom: -27px;
  background: var(--bg);
  padding: 16px 0 6px;
  border-top: 1px solid var(--line);
  z-index: 1;
}
.account-tools .actions .primary {
  flex-grow: 0;
}
@media (max-width: 740px) {
  nav {
    display: block;
  }
  .nav-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 10px;
  }
  .nav-group h2 {
    grid-column: 1/-1;
    text-align: left;
    font-size: 9px;
    margin: 0;
  }
  .nav-group button {
    margin: 0;
    width: 100%;
    font-size: 10px;
  }
  .nav-group:last-child {
    grid-template-columns: 1fr;
  }
  .nav-group:last-child button {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 40px;
    font-size: 12px;
    padding: 8px 10px;
  }
  .question-grid {
    grid-template-columns: 1fr;
  }
  .question-card {
    padding: 22px;
  }
  .question-card h2 {
    font-size: 22px;
  }
  .hub-symbol {
    margin-bottom: 15px;
  }
  .allergen-add {
    flex-wrap: wrap;
  }
  .allergen-add select {
    flex-basis: 100%;
  }
  .dietary-editor {
    padding: 12px;
  }
  .dietary-editor legend {
    font-size: 13px;
  }
  .top-actions {
    gap: 14px;
  }
  .top {
    min-height: 75px;
  }
  .picture-pilot {
    display: block;
    margin: 5px 0 0 16px;
  }
  #person-form > .actions {
    bottom: -27px;
  }
  .question-card > button {
    width: 100%;
  }
  .dietary-notice {
    margin: 18px 0;
  }
  .fruit-picture img {
    max-width: 280px;
  }
}
/* Beeld bekijken: rustige, herkenbare bediening zonder standaard uitklapmarker. */
.fruit-picture {
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  margin: 18px 0 24px;
}
.fruit-picture summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  list-style: none;
  font-weight: 500;
}
.fruit-picture summary::-webkit-details-marker {
  display: none;
}
.fruit-picture summary::marker {
  content: '';
}
.picture-trigger-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green);
  flex-shrink: 0;
}
.picture-trigger-icon svg {
  width: 23px;
  height: 23px;
}
.picture-trigger-label {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
.picture-trigger-label small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.picture-trigger-action {
  font-size: 11px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 8px;
  padding: 8px 11px;
  white-space: nowrap;
}
.picture-chevron {
  font-size: 20px;
  transition: transform 0.15s ease;
}
.picture-opened {
  display: none;
}
.fruit-picture[open] .picture-opened {
  display: inline;
}
.fruit-picture[open] .picture-closed {
  display: none;
}
.fruit-picture[open] .picture-chevron {
  transform: rotate(180deg);
}
.fruit-picture[open] summary {
  border-bottom: 1px solid var(--line);
}
.fruit-picture figure {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 20px;
}
.fruit-picture img {
  width: 190px;
  max-width: 45%;
  flex-shrink: 0;
  margin: 0;
}
.fruit-picture figcaption {
  margin: 0;
  max-width: 350px;
  font-size: 12px;
  line-height: 1.75;
}
.picture-caption-label {
  display: block;
  color: var(--orange);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
}
.fruit-picture figcaption strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  margin-bottom: 9px;
  line-height: 1.35;
}
.preference-form .fruit-picture figure {
  flex-direction: column;
  gap: 15px;
}
.preference-form .fruit-picture img {
  width: 190px;
  max-width: 100%;
}
.preference-form .picture-trigger-action {
  display: none;
}
@media (max-width: 650px) {
  .fruit-picture summary {
    padding: 13px;
    gap: 10px;
  }
  .picture-trigger-action {
    display: none;
  }
  .fruit-picture figure {
    flex-direction: column;
    align-items: center;
    padding: 17px;
    gap: 16px;
  }
  .fruit-picture img {
    width: 190px;
    max-width: 100%;
  }
  .fruit-picture figcaption {
    max-width: 300px;
  }
  .picture-trigger-label {
    font-size: 13px;
  }
  .picture-trigger-label small {
    font-size: 11px;
  }
}

.email-login {
  max-width: 520px;
  margin: 24px 0;
}
.email-login form {
  display: grid;
  gap: 12px;
}
.email-login label {
  margin: 0;
}
.email-login input {
  width: 100%;
}
.email-login input[autocomplete='one-time-code'] {
  font-size: 26px;
  letter-spacing: 0.24em;
  max-width: 300px;
  font-variant-numeric: tabular-nums;
}
.email-login .primary {
  justify-self: start;
}
.email-login .actions {
  margin-top: 12px;
}
.email-link {
  margin: 20px 0;
}
.email-unavailable {
  margin: 16px 0;
}
.account-signin {
  display: inline-block;
  margin: 12px 0;
}

.email-login input {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text);
  padding: 12px 14px;
  min-height: 46px;
}
.email-login .help {
  margin-top: 12px;
}

.backup-import,
.family-members {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 18px 0;
}
.backup-import form,
.member-row {
  display: grid;
  gap: 10px;
}
.member-row {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.member-row input,
.member-row select,
.backup-import input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--paper);
  color: var(--text);
  width: 100%;
}
.member-row label {
  margin: 0;
}
.member-row small {
  color: var(--muted);
}

.variant-explanation {
  max-width: 52ch;
  margin: 6px 0 12px;
  font-size: 13px;
  line-height: 1.65;
}
.variant-row h3 {
  margin-bottom: 4px;
}

/* Compact setup and explicit personal/parent entry scopes. */
.round-setup {
  max-width: 680px;
  padding: 24px;
}
.round-setup h2 {
  margin: 0 0 6px;
}
.round-setup > .help {
  margin: 0 0 18px;
}
.round-category-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.round-category-fields label {
  margin-top: 0;
}
.round-setup .round-filter {
  margin: 18px 0 12px;
}
.round-setup .round-count {
  margin: 0;
  color: var(--muted);
}
.round-setup .actions {
  margin-top: 16px;
}
.round-help {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 12px;
}
.round-help summary {
  cursor: pointer;
  color: var(--muted);
}
.identity-scope {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 0 20px;
  max-width: 680px;
  background: var(--green-soft);
}
.identity-mode {
  display: flex;
  gap: 8px;
}
.identity-scope label {
  margin-top: 12px;
}
.identity-scope .help {
  margin: 8px 0 0;
}
.identity-scope details {
  margin-top: 8px;
  font-size: 12px;
}
.identity-scope > select {
  max-width: 360px;
}
.merge-review {
  margin: 15px 0;
}
.merge-review p {
  font-size: 13px;
}
.merge-review details {
  font-size: 13px;
}
.round-setup .actions .primary {
  flex: 1;
}
.round-setup .actions .text-button {
  flex: 0 1 auto;
}
.round-setup h2 {
  font-size: 23px;
}
@media (max-width: 480px) {
  .round-category-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .round-setup {
    padding: 18px;
  }
  .identity-mode .chip {
    font-size: 12px;
    padding: 10px 12px;
  }
  .round-setup .actions {
    flex-wrap: wrap;
  }
  .round-setup .actions .primary {
    flex-basis: 100%;
  }
}

.round-category-fields.one-field {
  grid-template-columns: 1fr;
}
/* Privacy stays readable and reachable without an account. */
.app-legal {
  max-width: 1240px;
  margin: auto;
  padding: 20px 42px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 12px;
}
.app-legal a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}
.storage-notice {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 17px 18px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--green-soft);
  font-size: 12px;
}
.storage-notice > div {
  flex: 1;
  min-width: 0;
}
.storage-notice strong {
  font-size: 14px;
}
.storage-notice p {
  margin: 5px 0 8px;
  line-height: 1.6;
}
.storage-notice .secondary {
  flex-shrink: 0;
  font-size: 12px;
  min-height: 40px;
  padding: 8px 14px;
}
.privacy-page {
  max-width: 760px;
}
.privacy-page > .card {
  margin-bottom: 16px;
}
.privacy-page .card {
  padding: 24px;
}
.privacy-page p,
.privacy-page li {
  font-size: 14px;
  line-height: 1.75;
}
.privacy-page ul {
  padding-left: 21px;
  margin: 8px 0 12px;
}
.privacy-page li + li {
  margin-top: 8px;
}
.privacy-page h2 {
  font-size: 22px;
}
.privacy-page h3 {
  font-size: 17px;
  margin-top: 24px;
}
.privacy-detail > summary {
  font-family: Manrope, 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.privacy-detail[open] > summary {
  margin-bottom: 18px;
}
.privacy-page details details {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 18px;
}
.privacy-page details details > summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.privacy-page details details[open] > summary {
  margin-bottom: 12px;
}
.privacy-contact .help {
  margin: 16px 0 0;
  font-size: 12px;
}
.privacy-contact a {
  overflow-wrap: anywhere;
}
.storage-list {
  font-size: 12px;
}
.storage-list dt {
  font-weight: 600;
  overflow-wrap: anywhere;
  margin-top: 15px;
}
.storage-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 650px) {
  .app-legal {
    padding: 16px 20px 24px;
    gap: 6px 18px;
  }
  .storage-notice {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
  }
  .storage-notice .secondary {
    align-self: flex-start;
  }
  .privacy-page .card {
    padding: 20px;
  }
  .privacy-detail > summary {
    font-size: 16px;
  }
  .privacy-page p,
  .privacy-page li {
    font-size: 14px;
  }
}
.attendance-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: 8px 0 12px;
}
.attendance-summary strong {
  color: var(--text);
}
.attendance-settings,
.attendance-date {
  margin-bottom: 24px;
  scroll-margin-top: 20px;
}
.attendance-settings > .help {
  max-width: 600px;
}
.attendance-week {
  margin: 20px 0;
}
.attendance-weekday {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.attendance-weekday > .check-label {
  margin: 0;
  font-size: 14px;
}
.attendance-period {
  padding: 13px 0 4px 30px;
}
.attendance-period .help {
  margin-bottom: 12px;
}
.attendance-date > .check-label {
  margin: 12px 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.attendance-date .check-label small {
  margin-left: auto;
  color: var(--muted);
}
.attendance-date .note {
  margin-top: 18px;
}
.attendance-settings .section-head,
.attendance-date .section-head {
  gap: 18px;
  align-items: flex-start;
}
.week-day .day-actions {
  min-width: 130px;
}
.week-day .day-actions .text-button {
  font-size: 12px;
}
.attendance-date .actions {
  flex-wrap: wrap;
}
@media (max-width: 650px) {
  .attendance-period {
    padding-left: 0;
  }
  .attendance-date .check-label {
    flex-wrap: wrap;
  }
  .attendance-date .check-label small {
    flex-basis: 100%;
    margin-left: 30px;
  }
  .attendance-settings .section-head h2,
  .attendance-date .section-head h2 {
    font-size: 21px;
  }
  .attendance-settings,
  .attendance-date {
    padding: 20px;
  }
  .week-heading > .actions {
    flex-wrap: wrap;
  }
}
.week-heading {
  flex-wrap: wrap;
  align-items: flex-start;
}
.week-heading > .actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Eetkompas: calm, one-question flow using the existing theme tokens. */
.kompas {
  max-width: 800px;
  margin: 0 auto;
}
.kompas-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}
.kompas-badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 6px 12px;
}
.kompas .card {
  margin: 22px 0;
}
.kompas h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}
.kompas-welcome h2 {
  font-size: 26px;
}
.kompas-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.kompas-features span {
  font-size: 13px;
  padding: 7px 12px;
  background: var(--green-soft);
  border-radius: 30px;
}
.kompas-storage {
  margin: 24px 0;
}
.kompas-storage p {
  font-size: 14px;
  margin-bottom: 10px;
}
.kompas-progress {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.kompas-question {
  padding: clamp(22px, 4vw, 40px);
}
.kompas-question h1 {
  margin: 0 0 22px;
  outline: none;
}
.kompas-options {
  display: grid;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 20px 0 24px;
  min-width: 0;
}
.kompas-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0;
  cursor: pointer;
  line-height: 1.45;
  min-height: 54px;
}
.kompas-option:has(input:checked) {
  border-color: var(--green);
  background: var(--green-soft);
}
.kompas-option input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--green);
}
.kompas-option:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.kompas-quiet-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.kompas-confirm {
  margin-top: 20px;
}
.kompas-session {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.kompas-session h3 {
  margin-bottom: 8px;
}
.kompas-session p {
  margin-bottom: 4px;
}
.kompas-session .actions {
  margin: 0;
}
.kompas-summary dl {
  margin: 0;
}
.kompas-summary dl > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.kompas-summary dl > div:last-child {
  border: 0;
}
.kompas-summary dt {
  font-weight: 600;
  margin-bottom: 8px;
}
.kompas-summary dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.kompas-topics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.kompas-delete {
  margin: 25px 0;
}
.kompas-delete summary {
  cursor: pointer;
}
.kompas-delete p {
  margin: 12px 0;
}
.kompas [hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .kompas-question .actions {
    display: grid;
  }
  .kompas-quiet-actions {
    flex-wrap: wrap;
  }
  .kompas-session .actions {
    width: 100%;
  }
  .kompas-topics {
    display: grid;
  }
  .kompas-session .actions button {
    flex: 1;
  }
  .kompas-features {
    gap: 6px;
  }
}

.agreement-choice {
  min-width: 0;
}
.agreement-choice legend {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  padding: 0 8px;
  font-size: 20px;
}
.agreement-choice select {
  max-width: 100%;
}
.agreement-source {
  margin-top: 16px;
  font-size: 14px;
}
.agreement-source summary {
  cursor: pointer;
}
.agreement-source p {
  margin: 12px 0;
}
.meal-agreements {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--green-soft);
}
.agreement-person {
  margin: 16px 0;
}
.agreement-person ul {
  margin: 8px 0;
  padding-left: 22px;
}
.agreement-person li {
  margin: 7px 0;
  overflow-wrap: anywhere;
}
.plan-agreements {
  margin: 12px 0;
  max-width: 620px;
  font-size: 14px;
}
.plan-agreements summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
.plan-agreements .agreement-person {
  margin: 12px 0;
}
.plan-agreements .warning {
  margin-top: 12px;
}

.passport-fields {
  display: grid;
  gap: 4px;
  margin: 22px 0;
}
.passport-fields label {
  font-weight: 600;
}
.passport-fields select {
  margin-bottom: 14px;
}
.passport-original {
  margin: 20px 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.passport-original summary {
  cursor: pointer;
  font-weight: 600;
}
.passport-original p {
  margin: 12px 0;
}
.passport-summary {
  font-size: 14px;
  margin: 10px 0 18px;
}
.passport-summary p {
  margin: 6px 0;
}
.passport-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.plan-passports {
  margin: 10px 0;
  font-size: 14px;
}
.plan-passports summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
.passport-history {
  margin: 14px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.passport-history p {
  margin: 6px 0;
}
/* One everyday question; optional support stays with the selected profile. */
.preference-mode {
  margin: 12px 0 22px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.preference-mode summary {
  cursor: pointer;
  font-weight: 600;
}
.preference-mode select {
  max-width: 540px;
}
.taste-choices {
  border: 0;
  padding: 0;
  margin: 24px 0 12px;
}
.taste-choices legend {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}
.taste-choices > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.taste-choice {
  display: block;
  position: relative;
  margin: 0;
  cursor: pointer;
}
.taste-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.taste-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.taste-choice input:checked + span {
  background: var(--primary-bg);
  color: var(--on-primary);
  border-color: var(--primary-bg);
}
.taste-choice input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.passport-extra {
  margin: 20px 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.passport-extra summary {
  cursor: pointer;
  font-weight: 600;
}
.passport-existing {
  font-size: 13px;
  margin: 14px 0;
}
.preference-form > .primary {
  margin-top: 20px;
}
[hidden] {
  display: none !important;
}
/* Everyday tasks first; extra controls remain reachable without a wall of buttons. */
.quiet-help,
.recipe-extra,
.lunch-note,
.profile-options,
.meal-preferences {
  margin: 16px 0;
}
.quiet-help > summary,
.recipe-extra > summary,
.lunch-note > summary,
.profile-options > summary,
.meal-preferences > summary,
.account-settings > summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 40px;
  line-height: 1.5;
  padding: 8px 0;
}
.quiet-help {
  font-size: 13px;
  color: var(--muted);
}
.quiet-help[open] {
  color: var(--text);
}
.cloud-panel > details {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.cloud-panel > details > summary {
  cursor: pointer;
  min-height: 36px;
  line-height: 1.5;
}
.account-settings > .cloud-panel {
  border: 0;
  box-shadow: none;
  padding: 16px 0 0;
}
.account-tools,
.account-settings {
  margin-top: 20px;
}
.account-danger {
  margin-top: 20px;
}
.account-danger > summary {
  color: var(--red);
  cursor: pointer;
}
.profile-options {
  margin: 8px 0 0;
  font-size: 13px;
}
.profile-options .actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.day-more {
  width: 100%;
  font-size: 12px;
}
.day-more > summary {
  cursor: pointer;
  min-height: 36px;
  line-height: 1.5;
  padding: 8px 0;
}
.day-more[open] {
  padding-bottom: 8px;
}
.day-more button {
  display: block;
  min-height: 40px;
  text-align: left;
}
.meal-preferences > summary {
  background: var(--green-soft);
  border-radius: 10px;
  padding: 12px;
}
.meal-preferences[open] > summary {
  margin-bottom: 12px;
}
.recipe-extra {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.lunch-note > summary {
  font-size: 13px;
}
.extra-food-help {
  margin-top: 22px;
}
.extra-food-help > summary {
  cursor: pointer;
  font-weight: 600;
}
.extra-food-help[open] > summary {
  margin-bottom: 18px;
}
#edit-dialog details {
  margin: 14px 0;
}
#edit-dialog details > summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 40px;
  padding: 8px 0;
}
#edit-dialog details[open] > summary {
  margin-bottom: 8px;
}
.storage-alert {
  margin-bottom: 20px;
}
.variant-more {
  font-size: 12px;
}
.variant-more > summary {
  cursor: pointer;
  min-height: 36px;
  padding: 8px;
}
.variant-more button {
  display: block;
  min-height: 40px;
}

/* Phone layout: content first, one reachable menu, generous tap targets. */
.mobile-menu-toggle,
.compact-label {
  display: none;
}
.prefs-picker {
  min-width: 0;
}
.prefs-picker > summary {
  cursor: pointer;
  font-weight: 600;
  padding: 10px 0;
  min-height: 44px;
}
.demo-start > summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: list-item;
  padding: 10px 0;
}
.demo-start[open] > summary {
  margin-bottom: 12px;
}
.demo-options {
  flex-shrink: 0;
}
.demo-options > summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--green);
}
.demo-options > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.round-context {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.round-context strong {
  color: var(--text);
}
@media (max-width: 740px) {
  html {
    scroll-padding-top: 64px;
    scroll-padding-bottom: 110px;
  }
  body {
    overflow-wrap: break-word;
  }
  .top {
    min-height: 64px;
    height: auto;
    padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
    gap: 8px;
    flex-wrap: nowrap;
  }
  .brand {
    font-size: 22px;
    white-space: nowrap;
    gap: 8px;
  }
  .brand .beta,
  .top #account-nav {
    display: none;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .top-actions {
    gap: 8px;
  }
  .theme-toggle {
    min-width: 44px;
    min-height: 44px;
    font-size: 13px;
  }
  .app-shell {
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  }
  #app-sidebar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg);
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu-toggle {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: var(--green-soft);
    color: var(--text);
    padding: 10px 12px;
    font-size: 14px;
    text-align: left;
  }
  .mobile-menu-toggle strong {
    margin-left: auto;
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .mobile-menu-toggle > span:last-child {
    font-size: 18px;
  }
  .mobile-menu-toggle[aria-expanded='true'] > span:last-child {
    transform: rotate(180deg);
  }
  #app-sidebar nav {
    display: none;
  }
  #app-sidebar[data-nav-open='true'] nav {
    display: block;
    max-height: calc(100dvh - 72px);
    overflow: auto;
    padding: 12px 0 6px;
    overscroll-behavior: contain;
  }
  .nav-group {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }
  .nav-group h2 {
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 6px 0;
  }
  .nav-group button,
  .nav-group:last-child button {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    min-height: 48px;
    padding: 10px;
    font-size: 13px;
    text-align: left;
  }
  .nav-group:last-child {
    grid-template-columns: 1fr;
  }
  .nav-symbol {
    flex-shrink: 0;
    font-size: 19px;
    width: 21px;
  }
  main {
    padding: 18px 0 28px;
  }
  h1 {
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 22px;
  }
  .eyebrow {
    margin-bottom: 8px;
  }
  .lead {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .card {
    padding: 16px;
    border-radius: 14px;
  }
  .help {
    font-size: 13px;
  }
  .actions {
    gap: 8px;
    margin-top: 14px;
  }
  .primary,
  .secondary,
  .danger,
  .chip,
  .text-button,
  summary {
    min-height: 44px;
  }
  .primary,
  .secondary,
  .danger {
    font-size: 14px;
    padding: 10px 13px;
  }
  .text-button {
    font-size: 13px;
  }
  .chip {
    font-size: 14px;
  }
  .check-label,
  .checks label {
    min-height: 44px;
    font-size: 14px;
  }
  .check-label input,
  .checks input {
    width: 20px;
    height: 20px;
  }
  label {
    font-size: 14px;
    margin-top: 14px;
  }
  input:not([type='checkbox']):not([type='radio']),
  select,
  textarea,
  .dietary-editor select {
    font-size: 16px;
    min-width: 0;
    max-width: 100%;
  }
  input[type='date'],
  input[type='number'] {
    min-width: 0;
    font-size: 16px;
    min-height: 46px;
  }
  summary {
    cursor: pointer;
    line-height: 1.45;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
  }
  .cloud-panel summary,
  .profile-options > summary,
  .day-more > summary,
  .variant-more > summary,
  #edit-dialog details > summary {
    min-height: 44px;
  }
  .app-legal {
    padding: 12px max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
    gap: 4px 18px;
  }
  .app-legal a {
    min-height: 44px;
  }
  .toast {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .storage-alert {
    margin-bottom: 16px;
  }
  .demo-bar {
    align-items: center;
    flex-wrap: wrap;
    padding: 8px 12px;
    margin-bottom: 14px;
    gap: 4px 12px;
    font-size: 12px;
  }
  .demo-options {
    margin-left: auto;
  }
  .demo-options > summary {
    font-size: 12px;
  }
  .demo-options > span {
    flex-wrap: wrap;
  }
  .demo-start {
    padding: 6px 14px;
    margin-bottom: 16px;
  }
  .demo-start > summary {
    font-size: 14px;
  }
  .demo-steps > button {
    min-height: 64px;
  }
  .storage-notice {
    padding: 12px;
    gap: 8px;
    margin-bottom: 16px;
  }
  .storage-notice .secondary {
    min-height: 44px;
  }
  .selection {
    gap: 6px;
    margin-bottom: 14px;
  }
  .identity-scope {
    padding: 12px;
    margin-bottom: 14px;
  }
  .identity-mode .chip {
    font-size: 13px;
    min-height: 44px;
  }
  .identity-scope .help {
    font-size: 13px;
  }
  .preference-mode {
    margin: 4px 0 14px;
    padding: 0;
  }
  .preference-mode > summary {
    font-size: 14px;
  }
  .week-navigation {
    flex-wrap: nowrap;
    gap: 10px;
    align-items: end;
    margin: 16px 0;
  }
  .week-navigation > .actions {
    flex: 0 0 auto;
    gap: 5px;
  }
  .week-navigation > .actions button {
    min-width: 44px;
    padding: 9px;
  }
  .week-navigation > div:last-child {
    width: auto;
    flex: 1;
    min-width: 0;
  }
  .week-navigation label {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .week-navigation input {
    padding: 9px 6px;
    max-width: 100%;
  }
  .wide-label {
    display: none;
  }
  .compact-label {
    display: inline;
  }
  .week-heading {
    margin: 16px 0 12px;
    gap: 12px;
  }
  .week-heading h2 {
    font-size: 20px;
  }
  .week-heading > .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .week-heading > .actions button {
    font-size: 13px;
    min-height: 44px;
    padding: 9px;
  }
  .week-days {
    gap: 10px;
    margin: 14px 0;
  }
  .week-day {
    padding: 14px;
    gap: 8px;
    grid-template-columns: 1fr;
  }
  .day-date {
    gap: 7px;
    flex-wrap: wrap;
  }
  .day-date span,
  .day-date strong {
    font-size: 14px;
  }
  .day-meal h3 {
    font-size: 17px;
    margin: 0 0 4px;
  }
  .day-meal > small {
    font-size: 12px;
  }
  .day-actions,
  .week-day .day-actions {
    grid-column: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    max-width: none;
    width: 100%;
  }
  .day-actions > .secondary {
    flex: 1;
    min-height: 44px;
    font-size: 14px;
  }
  .day-actions > .day-more {
    flex: 1;
    width: auto;
  }
  .day-more button {
    min-height: 44px;
    font-size: 13px;
  }
  .day-more > summary {
    font-size: 13px;
  }
  .plan-passports,
  .plan-agreements {
    font-size: 13px;
    margin: 4px 0;
  }
  .plan-passports > summary,
  .plan-agreements > summary {
    min-height: 44px;
  }
  .rule-row {
    margin: 10px 0;
  }
  .shopping-row {
    padding: 9px 0;
    min-height: 52px;
  }
  .shopping-row label {
    min-height: 44px;
    font-size: 15px;
  }
  .shopping-row label > span:last-child {
    flex-shrink: 0;
  }
  .person-line {
    padding: 12px 0;
    gap: 8px 12px;
  }
  .person-actions {
    padding-left: 52px;
  }
  .person-actions .secondary {
    min-height: 44px;
    font-size: 14px;
  }
  .person-line p {
    font-size: 13px;
  }
  .profile-options {
    font-size: 13px;
  }
  .profile-options .actions {
    gap: 4px;
  }
  .profile-options .text-button {
    min-height: 44px;
  }
  .account-tools,
  .account-settings {
    margin-top: 16px;
  }
  #edit-dialog {
    padding: 18px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    scroll-padding-bottom: 90px;
  }
  #person-form > .actions {
    bottom: -18px;
    position: sticky;
    padding: 10px 0 calc(8px + env(safe-area-inset-bottom));
    margin-top: 14px;
    gap: 8px;
  }
  #person-form > .actions > button {
    min-height: 46px;
  }
  .cloud-panel {
    margin-bottom: 18px;
  }
  .email-login {
    margin: 16px 0;
  }
  .email-login .primary {
    width: 100%;
    justify-self: stretch;
  }
  .member-row {
    min-width: 0;
  }
  .member-row .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .code-row {
    flex-wrap: wrap;
  }
  .code-row input {
    flex-basis: 160px;
  }
  .prefs-picker {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 12px;
    background: var(--surface-soft);
    margin-bottom: 12px;
  }
  .prefs-picker > summary {
    font-size: 14px;
  }
  .prefs-picker[open] {
    padding-bottom: 12px;
  }
  .editor-layout {
    gap: 0;
  }
  .round-launch {
    padding: 12px;
    gap: 10px;
    margin-bottom: 14px;
  }
  .round-launch p {
    margin: 4px 0 0;
    font-size: 13px;
  }
  .round-launch .primary {
    min-height: 44px;
  }
  .round-context {
    gap: 2px;
    margin-bottom: 4px;
  }
  .round-context span {
    font-size: 12px;
  }
  .round-panel,
  .round-finished,
  .round-setup {
    scroll-margin-top: 64px;
  }
  .round-navigation {
    gap: 4px;
  }
  .round-navigation > div {
    gap: 16px;
  }
  .round-navigation .help {
    font-size: 12px;
  }
  .round-save-help {
    margin: 2px 0 10px !important;
    font-size: 12px !important;
  }
  .round-panel .preference-form {
    padding: 14px;
  }
  .preference-form h1 {
    font-size: 27px;
    margin: 0 0 8px;
  }
  .preference-form > .eyebrow {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .preference-form > .help {
    margin-bottom: 10px;
  }
  .preference-form-name {
    margin: 8px 0 10px;
    font-size: 17px;
  }
  .preference-form .fruit-picture {
    margin: 10px 0 14px;
  }
  .fruit-picture summary {
    min-height: 56px;
  }
  .preference-form .picture-trigger-label small {
    display: none;
  }
  .taste-choices {
    margin: 16px 0 10px;
  }
  .taste-choices legend {
    margin-bottom: 10px;
    font-size: 17px;
  }
  .taste-choices > div {
    gap: 8px;
  }
  .taste-choice span {
    min-height: 48px;
    font-size: 15px;
  }
  .preference-actions {
    position: sticky;
    bottom: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 10px 0 calc(6px + env(safe-area-inset-bottom));
    margin-top: 14px;
    z-index: 2;
  }
  .preference-actions > .primary {
    min-height: 48px;
  }
  .round-skip {
    min-height: 44px;
    margin-top: 6px;
    font-size: 13px;
  }
  .saved-indicator {
    min-height: 0;
  }
  .passport-original {
    margin: 12px 0;
    padding-top: 8px;
  }
  .passport-extra {
    margin: 14px 0;
    padding-top: 8px;
  }
  .variant-row {
    padding: 14px 0;
    gap: 10px;
  }
  .variant-row .actions {
    width: 100%;
    align-items: flex-start;
  }
  .variant-row .actions > .secondary {
    flex: 1;
  }
  .variant-more {
    flex: 1;
  }
  .variant-more button {
    min-height: 44px;
  }
  .catalogue-toolbar {
    margin: 16px 0 10px;
    gap: 10px;
  }
  .catalogue-grid {
    gap: 12px;
    margin-top: 12px;
  }
  .product-card {
    gap: 8px;
  }
  .product-card > p {
    font-size: 14px;
    line-height: 1.5;
  }
  .product-card h2 {
    font-size: 21px;
  }
  .catalogue-pages {
    flex-wrap: wrap;
  }
  .catalogue-pages span {
    flex: 1 1 100%;
    text-align: center;
    order: -1;
  }
  .lunch-list {
    gap: 12px;
    margin-top: 16px;
  }
  .lunch-card h2 {
    font-size: 20px;
  }
  .lunch-card button {
    margin-top: 10px;
  }
  .lunch-note {
    margin: 10px 0;
  }
  .lunch-note > summary {
    font-size: 14px;
  }
  .ingredient-picker {
    padding: 12px;
  }
  .ingredient-row {
    padding: 14px 0;
  }
  .ingredient-row > .text-button {
    min-height: 44px;
  }
  .meal-builder {
    margin-top: 16px;
  }
  .meal-builder > h2 {
    margin-top: 22px;
    font-size: 21px;
  }
  .meal-builder .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .kompas-topline {
    margin-bottom: 10px;
    gap: 8px;
  }
  .kompas-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  .kompas h1 {
    font-size: 26px;
  }
  .kompas .card {
    margin: 14px 0;
  }
  .kompas-question {
    padding: 14px;
  }
  .kompas-question h1 {
    font-size: 24px;
    margin-bottom: 14px;
  }
  .kompas-progress {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .kompas-options {
    gap: 8px;
    margin: 14px 0;
  }
  .kompas-options[data-option-layout='short'] {
    grid-template-columns: 1fr 1fr;
  }
  .kompas-option {
    padding: 10px;
    gap: 8px;
    min-height: 48px;
    font-size: 14px;
  }
  .kompas-answer-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--paper);
    padding: 8px 0 calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }
  .kompas-quiet-actions {
    margin-top: 10px;
  }
  .kompas-confirm {
    margin-top: 10px;
    font-size: 12px;
  }
  .kompas-welcome h2 {
    font-size: 23px;
  }
  .agreement-choice {
    padding: 12px;
  }
  .agreement-choice legend {
    font-size: 18px;
  }
  .meal-preferences > summary {
    font-size: 14px;
  }
  .detail-hero {
    gap: 12px;
    margin: 14px 0;
  }
  .detail-hero .meal-art {
    width: 58px;
    min-height: 64px;
    font-size: 34px;
  }
  .detail-hero h2 {
    font-size: 22px;
  }
  .checks {
    gap: 3px 10px;
  }
}
@media (max-width: 360px) {
  .top,
  .app-shell {
    padding-left: 12px;
    padding-right: 12px;
  }
  .mobile-menu-toggle {
    gap: 7px;
  }
  .mobile-menu-toggle strong {
    font-size: 12px;
  }
  .week-navigation {
    gap: 6px;
  }
  .week-navigation > .actions {
    gap: 3px;
  }
  .week-navigation > .actions button {
    min-width: 40px;
    padding: 8px;
  }
  .week-navigation input {
    font-size: 16px;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  .identity-mode {
    flex-wrap: wrap;
  }
  .nav-group button {
    font-size: 12px;
  }
  .preference-actions .primary {
    font-size: 13px;
  }
}
.week-tools {
  min-width: 160px;
  position: relative;
  font-size: 13px;
}
.week-tools > summary {
  cursor: pointer;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--green);
  padding: 11px 16px;
  background: var(--paper);
}
.week-tools > div {
  display: grid;
  gap: 8px;
  padding: 10px 0;
}
.week-tools > div > button {
  width: 100%;
  text-align: left;
}
@media (max-width: 740px) {
  #main button,
  #main summary {
    min-height: 44px;
  }
  .week-heading > .actions {
    align-items: start;
  }
  .week-tools {
    min-width: 0;
  }
  .week-tools > summary {
    font-size: 13px;
    padding: 10px 12px;
  }
  .week-navigation > .actions button {
    min-width: 44px;
  }
  .week-tools > div > button {
    font-size: 13px;
  }
}
@media (max-width: 740px) {
  .preference-actions,
  .kompas-answer-actions {
    position: static;
  }
  .round-panel .preference-actions {
    padding-bottom: 4px;
    margin-top: 12px;
  }
  .round-panel .round-save-help {
    margin-top: 12px !important;
  }
  .round-panel .round-save-help > summary {
    font-size: 13px;
  }
  .round-panel .preference-form .taste-choices {
    margin-top: 12px;
  }
  .round-panel .preference-form .fruit-picture summary {
    min-height: 52px;
  }
  .account-settings:first-child {
    margin-top: 0;
    margin-bottom: 16px;
  }
}
@media (max-width: 740px) {
  .round-panel,
  .round-finished,
  .round-setup {
    scroll-margin-top: 8px;
  }
  .kompas-question {
    scroll-margin-top: 8px;
  }
  .kompas-question-person {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .kompas-question .kompas-answer-actions {
    margin-top: 12px;
  }
}

/* Eten met ARFID: a fresh table, warm accents, clear choices in both themes. */
@media screen {
  :root {
    --bg: #fffaf5;
    --paper: #fff;
    --text: #193748;
    --muted: #526779;
    --green: #096b68;
    --green-soft: #e2f3ef;
    --line: #cddde2;
    --peach: #fff0dc;
    --orange: #ac3f2c;
    --red: #a52e43;
    --primary-bg: #096b68;
    --on-primary: #fff;
    --field: #fff;
    --surface-soft: #edf5f7;
    --today: #e16747;
    --ink-soft: #526779;
    --page-glow: #ffe8d4;
    --card-shadow: 0 3px 16px #173e4d08;
    --coral-soft: #fff0e9;
    --blue-soft: #edf2ff;
    --gold-soft: #fff5d9;
    --choice-yes: #e1f5ec;
    --choice-yes-ink: #22614a;
    --choice-no-ink: #92412f;
    --choice-maybe-ink: #795b18;
    --choice-unknown-ink: #405b83;
  }
  :root[data-theme='dark'] {
    --bg: #101f2b;
    --paper: #192f3e;
    --text: #eef6f8;
    --muted: #b7cbd5;
    --green: #7cddce;
    --green-soft: #21464b;
    --line: #3e5c6b;
    --peach: #493d2b;
    --orange: #ffb18e;
    --red: #ffb7bf;
    --primary-bg: #7cddce;
    --on-primary: #103733;
    --field: #203b4b;
    --surface-soft: #203b4b;
    --today: #ffab83;
    --ink-soft: #b7cbd5;
    --page-glow: #173745;
    --card-shadow: 0 4px 18px #0000001c;
    --coral-soft: #4a3434;
    --blue-soft: #293e5d;
    --gold-soft: #463f28;
    --choice-yes: #21493f;
    --choice-yes-ink: #b3e9cf;
    --choice-no-ink: #ffc4ac;
    --choice-maybe-ink: #f2d997;
    --choice-unknown-ink: #bfd4f4;
  }
  body {
    background-color: var(--bg);
    background-image: radial-gradient(ellipse at 85% 0, var(--page-glow), transparent 72%);
    background-size: 100% 600px;
    background-repeat: no-repeat;
  }
  .top {
    border-bottom-color: var(--line);
  }
  .brand {
    letter-spacing: -1.2px;
  }
  .brand-icon {
    background: linear-gradient(135deg, #ed7854, #cb493b);
    box-shadow: 0 3px 9px #c94a3422;
    transform: none;
    color: #fff9f1;
    width: 38px;
    height: 38px;
  }
  .brand-icon svg {
    display: block;
    width: 29px;
    height: 29px;
  }
  .beta {
    color: var(--green);
    background: var(--green-soft);
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid var(--line);
  }
  h1 {
    color: var(--text);
  }
  .eyebrow {
    width: fit-content;
    max-width: 100%;
    padding: 4px 8px;
    background: var(--coral-soft);
    border-radius: 6px;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--orange);
  }
  .card,
  .week-day {
    box-shadow: var(--card-shadow);
  }
  .primary {
    box-shadow: 0 3px 0 #073d3914;
    font-weight: 600;
  }
  .primary:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: none;
  }
  .secondary {
    background: var(--paper);
  }
  .theme-toggle {
    background: var(--paper);
  }
  nav button.active {
    box-shadow: 0 4px 12px #0a67651a;
  }
  .nav-group:nth-child(2) .nav-symbol {
    color: var(--orange);
  }
  nav button.active .nav-symbol {
    color: inherit;
  }
  .nav-title {
    letter-spacing: 0.08em;
  }
  .demo-bar,
  .identity-scope {
    border: 1px solid var(--line);
    background: var(--green-soft);
  }
  .demo-start {
    background: var(--blue-soft);
    border-color: var(--line);
  }
  .demo-start > summary {
    color: var(--text);
  }
  .demo-steps > button {
    border-color: var(--line);
    background: var(--paper);
  }
  .demo-steps span {
    background: var(--coral-soft);
    color: var(--orange);
  }
  .day-date strong {
    background: var(--green-soft);
    color: var(--green);
    border-radius: 6px;
    padding: 3px 7px;
    align-self: flex-start;
  }
  .week-day.is-today {
    border-color: var(--today);
    box-shadow:
      inset 4px 0 var(--today),
      var(--card-shadow);
  }
  .day-date small {
    font-weight: 600;
  }
  .day-theme {
    background: var(--gold-soft);
    color: var(--choice-maybe-ink);
  }
  .week-heading h2 {
    color: var(--green);
  }
  .week-tools > summary {
    background: var(--surface-soft);
  }
  .person-line:nth-child(3n + 1) .avatar {
    background: var(--green-soft);
    color: var(--green);
  }
  .person-line:nth-child(3n + 2) .avatar {
    background: var(--coral-soft);
    color: var(--orange);
  }
  .person-line:nth-child(3n) .avatar {
    background: var(--blue-soft);
    color: var(--choice-unknown-ink);
  }
  .product-card > .eyebrow {
    min-height: 0;
  }
  .product-card h2 {
    letter-spacing: -0.7px;
  }
  .product-card .secondary {
    background: var(--green-soft);
    border-color: var(--line);
  }
  .fruit-picture {
    border-color: var(--line);
    background: var(--paper);
  }
  .picture-trigger-icon {
    background: var(--blue-soft);
    color: var(--choice-unknown-ink);
  }
  .picture-trigger-action {
    background: var(--blue-soft);
    color: var(--choice-unknown-ink);
  }
  .prefs-picker {
    background: var(--surface-soft);
  }
  .round-context strong {
    color: var(--green);
  }
  .taste-choice input[value='yes'] + span {
    background: var(--choice-yes);
    color: var(--choice-yes-ink);
  }
  .taste-choice input[value='sometimes'] + span {
    background: var(--gold-soft);
    color: var(--choice-maybe-ink);
  }
  .taste-choice input[value='no'] + span {
    background: var(--coral-soft);
    color: var(--choice-no-ink);
  }
  .taste-choice input[value='unknown'] + span {
    background: var(--blue-soft);
    color: var(--choice-unknown-ink);
  }
  .taste-choice input:checked + span {
    background: var(--primary-bg);
    color: var(--on-primary);
    border-color: var(--primary-bg);
    box-shadow: 0 0 0 1px var(--primary-bg);
    font-weight: 700;
  }
  .taste-choice input:checked + span::after {
    content: '✓';
    margin-left: 6px;
    font-weight: 700;
  }
  .kompas-option:has(input:checked) {
    box-shadow: inset 3px 0 var(--green);
  }
  .shopping-row:has(input:checked) {
    background: var(--green-soft);
    border-radius: 6px;
  }
  .shopping-row {
    padding-left: 4px;
    padding-right: 4px;
  }
  .storage-notice {
    background: var(--blue-soft);
  }
  .note.warm,
  .storage-alert {
    background: var(--peach);
    border: 1px solid var(--line);
  }
}
@media screen and (max-width: 740px) {
  .brand-icon {
    width: 34px;
    height: 34px;
  }
  .brand-icon svg {
    width: 27px;
    height: 27px;
  }
  .mobile-menu-toggle {
    background: var(--primary-bg);
    color: var(--on-primary);
    box-shadow: 0 3px 10px #096b6817;
  }
  .mobile-menu-toggle strong {
    font-weight: 500;
  }
  .eyebrow {
    font-size: 10px;
    padding: 3px 7px;
  }
  .round-context {
    color: var(--muted);
  }
  .kompas-question-person {
    margin-bottom: 10px;
  }
  .week-day {
    border-radius: 14px;
  }
  .day-date strong {
    padding: 2px 7px;
  }
  .taste-choice span {
    border-radius: 12px;
  }
  .preference-actions {
    border-top-color: var(--line);
  }
  .demo-start {
    border-radius: 12px;
  }
}
@media screen {
  .week-intro {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #075e60, #187e70);
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 5px 18px #096b6815;
  }
  .week-intro::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 18px solid #ffffff13;
    border-radius: 50%;
    right: -34px;
    top: -50px;
  }
  .week-intro > * {
    position: relative;
    z-index: 1;
  }
  .week-intro h1 {
    color: #fff;
    margin-bottom: 8px;
  }
  .week-intro .eyebrow {
    background: #ffe9d5;
    color: #873b26;
  }
  .week-intro .lead {
    color: #e3f5ed;
    margin: 0;
  }
  .week-day.is-today .day-date strong {
    background: var(--coral-soft);
    color: var(--orange);
  }
}
@media screen and (max-width: 740px) {
  .week-intro {
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 15px;
  }
  .week-intro h1 {
    font-size: 27px;
  }
  .week-intro .eyebrow {
    font-size: 9px;
    padding: 3px 7px;
    margin-bottom: 7px;
  }
  .week-intro .lead {
    font-size: 13px;
  }
  .mobile-menu-toggle {
    background: var(--text);
    color: var(--bg);
  }
  .week-intro::after {
    width: 100px;
    height: 100px;
    border-width: 13px;
    right: -24px;
    top: -37px;
  }
}
@media screen {
  .taste-choice span {
    position: relative;
  }
  .taste-choice input:checked + span {
    padding-right: 24px;
  }
  .taste-choice input:checked + span::after {
    position: absolute;
    right: 8px;
    top: 5px;
    font-size: 12px;
    margin: 0;
  }
}
.manual-planning {
  margin: 20px 0;
}
.manual-planning h3 {
  font-size: 18px;
}
.manual-planning details {
  margin: 10px 0;
}
.manual-planning summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}
.manual-planning details p {
  font-size: 13px;
}
.manual-planning .check-label {
  font-size: 14px;
  line-height: 1.5;
  min-height: 48px;
  align-items: flex-start;
  margin: 14px 0;
}
.manual-planning input {
  flex: 0 0 20px;
  margin-top: 3px;
}
.manual-plan-label {
  font-size: 12px;
  color: var(--orange);
  padding: 7px 10px;
  background: var(--peach);
  border-radius: 8px;
  margin: 8px 0 !important;
}
.manual-planning .help {
  margin-bottom: 0;
}

/* Keep destructive account actions readable, with deliberate space between steps. */
#privacy-person-preview,
#privacy-person-delete {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
#privacy-person-delete .check-label {
  align-items: flex-start;
  line-height: 1.5;
}
#person-removal-title {
  margin-top: 1rem;
  scroll-margin-top: 5rem;
}
@media (max-width: 740px) {
  #privacy-person-delete .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  #privacy-person-delete .actions button {
    width: 100%;
  }
}

/* Shared headings span the full row in every product picker. */
.product-group-heading {
  grid-column: 1 / -1;
  flex-basis: 100%;
  width: 100%;
  margin: 18px 0 6px;
  padding: 8px 12px;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 900;
  text-align: left;
}
.product-group-heading:first-child {
  margin-top: 0;
}
.food-list > .product-group-heading {
  font-size: 15px;
  margin-bottom: 2px;
}
.favorite-results > .product-group-heading {
  margin-top: 16px;
}

/* ARFID-ondersteuning fase 2: vertrouwd op het bord, Jouw bord en vertrouwde basis. */
.trusted-plate ul,
.your-plate ul {
  margin: 6px 0 8px;
  padding-left: 20px;
}
.trusted-plate .actions {
  margin-top: 8px;
}
.trusted-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.your-plate-person + .your-plate-person {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
.trusted-basic {
  justify-content: space-between;
}
.trusted-basic > span:first-child {
  display: grid;
  gap: 2px;
}
.trusted-basic small {
  color: var(--muted);
}
.changed-plan strong {
  margin-right: 4px;
}

/* Snelkeuze: één rustige, uitgelijnde knoppenrij; één tik bewaart, details via Meer….
   31-10: zachte gevulde knoppen over de hele breedte, de gekozen knop gevuld paars. */
.quick-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 12px 0 8px;
}
.quick-choice-button {
  flex: 1 0 auto;
  min-height: 48px;
  padding: 10px 16px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
.quick-choice-button:hover {
  border-color: var(--accent);
}
.quick-choice-button[aria-pressed='true'] {
  border-color: var(--primary-bg);
  background: var(--primary-bg);
  color: var(--on-primary);
}
.quick-choice-button[aria-pressed='true']::before {
  content: '✓ ';
}
.quick-choice-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.variant-row.variant-row-stacked {
  display: block;
  padding: 16px 0;
}
.variant-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.variant-head h3 {
  margin: 0 0 2px;
  font-size: 17px;
}
.variant-head .variant-more {
  flex-shrink: 0;
  font-size: 13px;
}
.variant-extra {
  margin-top: 4px;
}
.product-choice-card > .quick-choice {
  margin-top: 4px;
}
.product-forms {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.product-forms > h3 {
  margin: 8px 0 0;
}

/* Compacte opslagmelding: één regel, wegklikbaar. */
.storage-notice.storage-notice-compact {
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.storage-notice-compact p {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.storage-notice-compact strong {
  font-size: 12px;
}
.storage-notice-compact + .demo-bar {
  margin-top: -4px;
}

/* Zo komt het op tafel en Vanavond: per persoon in gewone taal. */
.plate-person + .plate-person {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}
.plate-person h3 {
  margin: 0 0 6px;
}
.plate-foods {
  margin: 0 0 8px;
  padding-left: 20px;
}
.plate-line {
  margin: 4px 0;
}
.plate-fallback {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--green-soft);
}
.kid-tonight h2 {
  margin-top: 14px;
}
.kid-next {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
}
.quick-choice-button {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
.variant-head > div {
  flex: 1;
  min-width: 0;
}
@media (max-width: 560px) {
  .product-choice-card > .quick-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick-choice-button {
    font-size: 14px;
    padding: 8px 6px;
  }
}
.variant-head .variant-more {
  flex: 0 0 auto;
  margin-left: auto;
  width: auto;
  text-align: right;
}
.variant-head .variant-more > summary {
  justify-content: flex-end;
}

/* Hoe is het? — zintuiglijke informatie per vorm, alleen op verzoek. */
.sensory {
  margin-top: 6px;
  font-size: 14px;
}
.sensory > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent, var(--green));
  min-height: 32px;
  padding: 4px 0;
}
.sensory dl {
  display: grid;
  gap: 6px;
  margin: 6px 0 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--accent-soft, var(--green-soft));
}
.sensory dl > div {
  display: grid;
  grid-template-columns: minmax(7.5em, auto) 1fr;
  gap: 10px;
}
.sensory dt {
  font-weight: 800;
}
.sensory dd {
  margin: 0;
  min-width: 0;
}
@media (max-width: 420px) {
  .sensory dl > div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Na een keuze bij een product: verder of terug, direct onder de keuze. */
.product-next {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 6px;
}

/* Toegankelijkheid (28-10): grotere afvinkvakjes voor boodschappen met één hand in de winkel. */
.shopping-row input[type='checkbox'],
.shopping-export input[type='checkbox'] {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Ongedaan maken in de melding na één tik (29-10). */
.toast .toast-action {
  margin-left: 10px;
  padding: 6px 12px;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* Kindmodus: kiezen per moment (29-10). */
.kid-moment-label {
  margin: 14px 0 6px;
  font-weight: 800;
}

/* Language names remain in their own language for easy recognition. */
.language-control select {
  min-height: 44px;
  max-width: 150px;
  padding: 6px 8px;
  border: 1px solid var(--border, #b7a6d8);
  border-radius: 12px;
  font: inherit;
  color: inherit;
  background: var(--card, Canvas);
}
@media (max-width: 600px) {
  .top-actions {
    flex-wrap: wrap;
  }
  .language-control select {
    max-width: 132px;
    font-size: 14px;
  }
}

/* Weekbalans voor ouders (30-10): rustig, inklapbaar, geen kleuren voor goed of fout. */
.week-balance {
  margin-top: 16px;
}
.week-balance summary {
  cursor: pointer;
  font-weight: 700;
}
.week-balance-list {
  margin: 8px 0;
  padding-left: 20px;
}
.week-balance-list li {
  margin: 4px 0;
}

/* Kindvoorbeeld (30-10): de knop in de kop laat zien dat je in het voorbeeld zit en biedt de uitgang. */
.child-mode-toggle[aria-pressed='true'] {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Inlogpoort (31-10): zonder inlog geen menu, alleen het inlogscherm en de privacy-, opslag- en Over-pagina. */
body[data-signed-out='true'] #app-sidebar,
body[data-signed-out='true'] #bottom-nav,
body[data-signed-out='true'] #child-mode-toggle {
  display: none;
}
body[data-signed-out='true'] .app-shell {
  display: block;
  max-width: 640px;
}
.login-gate {
  max-width: 560px;
  margin: 24px auto 48px;
}
.login-gate > .card,
.login-gate > details {
  margin-top: 16px;
}

.demo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #fff0ac;
  color: #302052;
  border-bottom: 2px solid #dbc354;
}
.demo-banner span {
  flex: 1 1 280px;
}
.demo-banner button,
.demo-banner a {
  flex: 0 0 auto;
}
