/* Tavola basisstijl. Maten en teksten volgen docs/design/Main.dc.html. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: inherit; }

input::placeholder { color: var(--placeholder); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- htmx (indicator-stijl zelf, want de CSP blokkeert geïnjecteerde styles) ---------- */
.htmx-indicator { opacity: 0; transition: opacity 200ms ease-in; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }

/* ---------- iconen (sprite) ---------- */
.icon {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 18px; height: 18px; }
.icon-plate { width: 40px; height: 40px; stroke-width: 1.2; }

/* ---------- scherm ---------- */
.screen {
  max-width: 600px;
  margin: 0 auto;
  padding: max(60px, calc(env(safe-area-inset-top) + 16px)) var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.screen--no-tabbar { padding-bottom: 40px; }

.page-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.page-header__titles { display: flex; flex-direction: column; gap: 4px; }

.eyebrow { font-size: 13px; letter-spacing: 0.04em; color: var(--ink-2); }

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px; line-height: 1.05; font-weight: 500; letter-spacing: -0.01em;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px; font-weight: 500;
}

.meta { font-size: 13px; color: var(--ink-2); }

/* ---------- lege staat ---------- */
.empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.empty__mark {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--olive-tint); color: var(--olive-dark);
}
.empty p { margin: 0; color: var(--ink-2); }

/* ---------- foto-placeholder (bord) ---------- */
.plate-tile {
  height: 132px; border-radius: var(--radius-card);
  display: flex; align-items: center; justify-content: center;
}
.plate-tile--terracotta { background: var(--terracotta-tint); color: var(--terracotta-mark); }
.plate-tile--olive { background: var(--olive-tint); color: var(--olive-mark); }
.plate-tile--sea { background: var(--sea-tint); color: var(--sea-mark); }
.plate-tile--saffron { background: var(--saffron-tint); color: var(--saffron-mark); }

/* ---------- formulieren ---------- */
.field {
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 16px;
  border-radius: var(--radius-field);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.field:focus-within { border-color: var(--ink-2); }
.field input {
  flex: 1; min-width: 0;
  border: 0; background: transparent; outline: none;
  font: inherit; font-size: 16px; color: var(--ink);
}

.button-primary {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px; padding: 0 24px;
  border: 0; border-radius: 26px;
  background: var(--terracotta); color: var(--surface);
  font: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer;
}

.notice {
  margin: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--saffron-tint); color: var(--saffron-ink);
  font-size: 15px;
}

.login-form { display: flex; flex-direction: column; gap: 14px; }

/* ---------- tabbalk ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--surface);
  border-top: 1px solid var(--tabbar-line);
}
.tabbar__inner {
  max-width: 600px; margin: 0 auto;
  height: var(--tabbar-height);
  padding: 8px 8px max(28px, env(safe-area-inset-bottom));
  display: flex;
}
.tab {
  flex: 1; min-height: var(--touch);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-decoration: none;
  color: var(--ink-3); font-size: 11px; font-weight: 500;
}
.tab[aria-current="page"] { color: var(--terracotta); font-weight: 600; }
.tab:hover { color: var(--ink); }
.tab[aria-current="page"]:hover { color: var(--terracotta); }

/* ---------- knoppen en links ---------- */
.button-round {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--terracotta); color: var(--surface); text-decoration: none;
}
.button-round:hover { color: var(--surface); }
.button-round .icon { width: 22px; height: 22px; stroke-width: 2; }

.link-action {
  display: flex; align-items: center; min-height: var(--touch);
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 16px; color: var(--terracotta); text-decoration: none;
}
.link-action:hover { color: var(--terracotta); }

.button-choice {
  display: inline-flex; align-items: center; text-decoration: none;
  min-height: 36px; padding: 0 12px; border-radius: 12px; border: 0;
  background: var(--ink); color: var(--surface);
  font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.button-choice--ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--chip-border); font-weight: 400;
}

.button-secondary {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px; border-radius: 26px;
  border: 1px solid var(--chip-border); background: transparent; color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
}

/* ---------- Mijn recepten ---------- */
.import-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 18px;
  background: var(--saffron-tint); color: var(--saffron-ink); text-decoration: none;
}
.import-card:hover { color: var(--saffron-ink); }
.import-card__icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--saffron-deep);
}
.import-card__icon .icon { width: 20px; height: 20px; }
.import-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.import-card__title {
  font-size: 15px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.import-card__sub { font-size: 13px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }

.recipe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.recipe-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; text-decoration: none; color: var(--ink); }
.recipe-card:hover { color: var(--ink); }
.recipe-card__photo {
  display: block; width: 100%; height: 132px; object-fit: cover;
  border-radius: var(--radius-card); background: var(--track);
}
.recipe-card__body { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.recipe-card__title { font-family: var(--font-display); font-size: 17px; line-height: 1.2; font-weight: 500; }
.recipe-card__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.recipe-card__meta .icon { width: 13px; height: 13px; stroke-width: 2; }

/* ---------- sheet: Recept toevoegen ---------- */
.sheet-scrim { position: fixed; inset: 0; z-index: 20; background: var(--scrim); }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 21;
  max-width: 600px; margin: 0 auto;
  border-radius: 28px 28px 0 0; background: var(--ground);
  padding: 10px var(--gutter) max(36px, calc(env(safe-area-inset-bottom) + 16px));
  display: flex; flex-direction: column; gap: 16px;
}
.sheet__handle { width: 40px; height: 5px; border-radius: 3px; background: var(--handle); align-self: center; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; }
.sheet__title { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 500; }

.option-list {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line);
}
.option-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  list-style: none; cursor: pointer;
}
.option-row::-webkit-details-marker { display: none; }
.option-row__icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--terracotta-tint); color: var(--terracotta-ink);
}
.option-row__icon .icon { width: 22px; height: 22px; }
.option-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.option-row__title { font-size: 16px; font-weight: 600; }
.option-row__sub { font-size: 13px; color: var(--ink-2); }
.option-row__chevron { color: var(--ink-2); transition: transform 150ms ease; }
details[open] .option-row__chevron { transform: rotate(90deg); }
.option-form {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0 16px 16px; border-top: 1px solid var(--line-soft); padding-top: 14px;
}

/* ---------- controlescherm ---------- */
.screen--action-bar { padding-bottom: 130px; }

.bar-header { display: flex; align-items: center; justify-content: space-between; height: var(--touch); }
.bar-header__title { font-size: 16px; font-weight: 600; }
.bar-header__spacer { width: 74px; }

.source-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
}
.source-card__icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--saffron-tint); color: var(--saffron-ink);
}
.source-card__icon .icon { width: 20px; height: 20px; }
.source-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.source-card__title { font-size: 14px; font-weight: 600; }
.source-card__url { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.status-chip {
  display: flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 10px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.status-chip .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.status-chip--ok { background: var(--olive-tint); color: var(--olive-dark); }
.status-chip--busy { background: var(--saffron-tint); color: var(--saffron-ink); }
.status-chip--failed { background: var(--terracotta-tint); color: var(--terracotta-ink); }

.form-stack { display: flex; flex-direction: column; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.labeled { display: flex; flex-direction: column; gap: 6px; }
.labeled__label { font-size: 13px; color: var(--ink-2); }
.input {
  height: var(--touch); width: 100%; padding: 0 14px;
  border-radius: var(--radius-field); border: 1px solid var(--line); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--ink);
}
.input:focus { outline: none; border-color: var(--ink-2); }
.input--title { height: 48px; font-family: var(--font-display); font-size: 18px; }

.review-section { display: flex; flex-direction: column; gap: 10px; }
.review-section__head { display: flex; align-items: baseline; justify-content: space-between; }
.review-section__title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.check-count { font-size: 13px; font-weight: 600; color: var(--saffron-strong); }
.check-count--done { color: var(--olive); }

.list-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
}
.ing-row { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.ing-row:last-child { border-bottom: 0; }
.ing-row--check { background: var(--saffron-wash); }
.ing-row__main { display: flex; align-items: center; gap: 12px; min-height: 32px; text-decoration: none; color: var(--ink); }
.ing-row__main:hover { color: var(--ink); }
.ing-row__amount { width: 80px; flex-shrink: 0; font-size: 14px; font-weight: 600; }
.ing-row__name { flex: 1; min-width: 0; font-size: 15px; }
.ing-row__ok { color: var(--olive); }
.ing-row__ok .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.ing-row__warn { color: var(--saffron-strong); }
.ing-row__warn .icon { width: 18px; height: 18px; stroke-width: 2; }
.ing-row__staple {
  font-size: 12px; color: var(--ink-2); border: 1px solid var(--chip-border); border-radius: 10px; padding: 3px 8px;
}
.ing-row__ask { display: flex; flex-direction: column; gap: 8px; padding-left: 92px; }
.ing-row__question { font-size: 13px; color: var(--saffron-ink-2); }
.choice-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-buttons form { display: contents; }
.ing-edit { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 8px; }
.ing-edit .input { height: 40px; font-size: 15px; }
.ing-edit__name { grid-column: 1 / -1; }

.steps-toggle {
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
}
.steps-toggle > summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 0 16px; list-style: none; cursor: pointer; font-size: 15px;
}
.steps-toggle > summary::-webkit-details-marker { display: none; }
.steps-toggle > summary .icon { color: var(--ink-2); width: 18px; height: 18px; stroke-width: 2; transition: transform 150ms ease; }
.steps-toggle[open] > summary .icon { transform: rotate(90deg); }
.steps-toggle strong { font-weight: 600; }
.steps-list { margin: 0; padding: 0 16px 16px 36px; display: flex; flex-direction: column; gap: 10px; }
.steps-list li { padding-left: 4px; }
.steps-list .meta { display: block; margin-top: 2px; }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--ground); border-top: 1px solid var(--tabbar-line);
}
.action-bar__inner {
  max-width: 600px; margin: 0 auto;
  padding: 14px var(--gutter) max(34px, calc(env(safe-area-inset-bottom) + 12px));
}

.waiting { display: flex; flex-direction: column; gap: 12px; }
.waiting p, .errors p { margin: 0; }
.errors { display: flex; flex-direction: column; gap: 6px; }

/* ---------- zelf invullen ---------- */
.option-list > * + * { border-top: 1px solid var(--line-soft); }
.option-row--button {
  width: 100%; border: 0; background: none; text-align: left;
  font: inherit; color: inherit;
}
.option-row__icon--plain { background: var(--track); color: var(--ink); }

.icon-button {
  width: var(--touch); height: var(--touch); flex-shrink: 0; margin: -10px -12px -10px 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: none; color: var(--ink-2); cursor: pointer;
}
.icon-button .icon { width: 18px; height: 18px; stroke-width: 2; }
.icon-button:hover { color: var(--ink); }

.add-row {
  display: flex; flex-direction: column; gap: 8px; padding: 14px;
  border-radius: 18px; border: 1px dashed var(--chip-border);
}
.add-row__title { font-size: 13px; color: var(--ink-2); }
.add-row textarea.input { height: auto; min-height: 88px; padding: 10px 14px; resize: vertical; line-height: 1.4; }
.add-row .button-choice { align-self: flex-start; }

.new-ingredient { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.new-ingredient select.input { height: 40px; font-size: 15px; width: auto; flex: 1; min-width: 160px; }
.checkbox { display: flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--olive); }

.step-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.step-row:last-child { border-bottom: 0; }
.step-row__number { width: 24px; flex-shrink: 0; font-family: var(--font-display); font-size: 17px; color: var(--olive); }
.step-row__text { flex: 1; min-width: 0; font-size: 15px; }
.step-row__text .meta { display: block; margin-top: 2px; }

/* ---------- receptdetail (docs/design/Recept.dc.html) ---------- */
.recipe { max-width: 600px; margin: 0 auto; }
.recipe-hero {
  position: relative; height: 290px;
  display: flex; align-items: center; justify-content: center;
}
.recipe-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.icon-hero { width: 72px; height: 72px; stroke-width: 1; }
.hero-button {
  position: absolute; top: max(56px, calc(env(safe-area-inset-top) + 8px));
  width: var(--touch); height: var(--touch); border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); text-decoration: none;
}
.hero-button:hover { color: var(--ink); }
.hero-button .icon { width: 20px; height: 20px; stroke-width: 2; }
.hero-button--left { left: 16px; }
.hero-button--right { right: 16px; }

.recipe-body {
  position: relative; margin-top: -28px;
  border-radius: 28px 28px 0 0; background: var(--ground);
  padding: 24px var(--gutter) max(40px, calc(env(safe-area-inset-bottom) + 24px));
  display: flex; flex-direction: column; gap: 18px;
}
.recipe-head { display: flex; flex-direction: column; gap: 10px; }
.recipe-source { display: flex; align-items: center; gap: 8px; }
.source-chip {
  display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 10px;
  background: var(--olive-tint); color: var(--olive-dark); font-size: 12px; font-weight: 600;
}
.source-chip .icon { width: 13px; height: 13px; stroke-width: 2; }
.recipe-source__link {
  display: flex; align-items: center; min-height: 32px;
  font-size: 13px; color: var(--terracotta); text-decoration: none;
}
.recipe-source__link:hover { color: var(--terracotta); }
.recipe-title {
  margin: 0; font-family: var(--font-display);
  font-size: 32px; line-height: 1.05; font-weight: 500; letter-spacing: -0.01em;
}
.recipe-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-2); }
.recipe-meta__time { display: flex; align-items: center; gap: 6px; }
.recipe-meta__time .icon { width: 16px; height: 16px; }

.recipe-content { display: flex; flex-direction: column; gap: 18px; }

.stepper {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 8px 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
}
.stepper__label { font-size: 15px; font-weight: 500; }
.stepper__controls { display: flex; align-items: center; gap: 4px; }
.stepper__button {
  width: var(--touch); height: var(--touch); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--track-soft); color: var(--ink); text-decoration: none;
}
.stepper__button:hover { color: var(--ink); }
.stepper__button[aria-disabled="true"] { opacity: 0.4; }
.stepper__button .icon { width: 18px; height: 18px; stroke-width: 2; }
.stepper__value { width: 36px; text-align: center; font-family: var(--font-display); font-size: 20px; font-weight: 500; }

.segmented {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  padding: 4px; border-radius: 16px; background: var(--track);
}
.segmented__item {
  height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--segment-off); font-size: 14px; font-weight: 500; text-decoration: none;
}
.segmented__item:hover { color: var(--ink); }
.segmented__item[aria-current="true"] { background: var(--surface); color: var(--ink); font-weight: 600; }

.detail-ingredients { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.detail-ingredients__row {
  display: flex; align-items: baseline; gap: 12px; padding: 12px 2px;
  border-bottom: 1px solid var(--tabbar-line);
}
.detail-ingredients__amount { width: 92px; flex-shrink: 0; font-size: 15px; font-weight: 600; }
.detail-ingredients__name { flex: 1; min-width: 0; font-size: 15px; }
.detail-ingredients__row--staples { border-bottom: 0; }
.detail-ingredients__row--staples .detail-ingredients__amount { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.detail-ingredients__row--staples .detail-ingredients__name { color: var(--ink-2); }

.detail-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.detail-steps__row { display: flex; gap: 14px; }
.detail-steps__number {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--terracotta); color: var(--surface); font-size: 13px; font-weight: 600;
}
.detail-steps__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.detail-steps__text { font-size: 15px; line-height: 1.5; }
.detail-steps__timer { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.detail-steps__timer .icon { width: 15px; height: 15px; stroke-width: 2; }

/* ---------- bewerken: labels ---------- */
.labels { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.labels legend { padding: 0; margin-bottom: 6px; }
.label-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.label-chip { position: relative; display: flex; }
.label-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.label-chip span {
  display: flex; align-items: center; min-height: var(--touch); padding: 0 16px;
  border-radius: var(--radius-chip); border: 1px solid var(--chip-border);
  font-size: 14px; cursor: pointer;
}
.label-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--surface); font-weight: 500; }
.label-chip input:focus-visible + span { outline: 2px solid var(--ink-2); outline-offset: 2px; }

/* ---------- sheet: Meer opties ---------- */
.option-row--link { text-decoration: none; color: var(--ink); }
.option-row--link:hover { color: var(--ink); }
.sheet__text { margin: 0; color: var(--ink-2); }

/* ---------- bewerken: regel of stap aanpassen ---------- */
.ing-row__edit { display: flex; color: var(--ink-2); }
.ing-row__edit .icon { width: 16px; height: 16px; }
.ing-row--edit, .step-row--edit { background: var(--ground); }
.step-row--link { text-decoration: none; color: var(--ink); }
.step-row--link:hover { color: var(--ink); }
.step-row__panel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.edit-panel { display: flex; flex-direction: column; gap: 8px; }
.input--area { height: auto; min-height: 88px; padding: 10px 14px; resize: vertical; line-height: 1.4; }
.edit-tools { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.tool-button {
  display: inline-flex; align-items: center; gap: 5px; min-height: var(--touch); padding: 0 10px;
  border-radius: 22px; border: 1px solid var(--chip-border); background: transparent; color: var(--ink);
  font: inherit; font-size: 13px; cursor: pointer;
}
.tool-button:disabled { opacity: 0.4; cursor: default; }

/* ---------- Mijn recepten: zoeken en filterchips ---------- */
.recipes, .recipes__list { display: flex; flex-direction: column; gap: 18px; }
.search .field input::-webkit-search-cancel-button { display: none; }
.filter-chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: -4px calc(-1 * var(--gutter)); padding: 0 var(--gutter);
}
.filter-chips::-webkit-scrollbar { display: none; }
/* Raakvlak 44px, zichtbare chip 36px (design). */
.filter-chip { display: flex; align-items: center; min-height: var(--touch); flex-shrink: 0; text-decoration: none; color: var(--ink); }
.filter-chip:hover { color: var(--ink); }
.filter-chip span {
  display: flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: var(--radius-chip); border: 1px solid var(--chip-border);
  font-size: 14px; white-space: nowrap;
}
.filter-chip[aria-current="true"] span { background: var(--ink); border-color: var(--ink); color: var(--surface); font-weight: 500; }
