 /* /styles/kitchenrecipes.css */ 
/* Recipes-only styles extracted from kitchen.css to respect Pixel spacing & tokens */

/* Page wrappers – recipes only */
body[data-page="recipes"] .kitchen {
  --panel-pad: 12px;
  --panel-gap: 12px;
}

/* Panels – recipes only */
body[data-page="recipes"] .kitchen .panel {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-8);
  box-shadow: var(--shadow-medium);
  padding: var(--panel-pad);
}

/* Headings – recipes only */
body[data-page="recipes"] .kitchen .panel h2 {
  margin: 5px 0 8px 0;
  font-weight: 600;
  color: var(--bs-heading-color, var(--bs-body-color, #000));
}

/* Controls (buttons/inputs) – recipes only */
body[data-page="recipes"] .kitchen .btn {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bs-body-bg, #fff);
  color: var(--bs-body-color, #000);
  border: 1px solid var(--brand-gold, #b08a48);
  border-radius: 0.5rem;
  padding: 0.18rem 0.48rem;
  font-size: 0.84rem;
  line-height: 1.2;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  box-shadow: var(--shadow-soft, 0 1px 2px rgba(0,0,0,.08));
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body[data-page="recipes"] .kitchen .btn:hover,
body[data-page="recipes"] .kitchen .btn:focus-visible {
  background: var(--bs-body-bg, #fff);
  border-color: var(--brand-gold, #b08a48);
  box-shadow: 0 0 0 0.2rem rgba(176,138,72,.25);
  outline: none;
}

/* Grid – recipes only */
body[data-page="recipes"] .kitchen .grid {
  display: grid;
  gap: var(--panel-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  body[data-page="recipes"] .kitchen .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  body[data-page="recipes"] .kitchen .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Accessibility helper – recipes only */
body[data-page="recipes"] .kitchen .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Recipe card styles – used by Recipes module */
body[data-page="kitchen"] .kitchen .recipe-card .title,
body[data-page="recipes"] .kitchen .recipe-card .title {
  font-weight: 600;
  margin-bottom: 6px;
}
body[data-page="kitchen"] .kitchen .recipe-card .meta,
body[data-page="recipes"] .kitchen .recipe-card .meta {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Belt-and-braces: exact fields from Recipes module (works in Kitchen view too) */
body[data-page="kitchen"] #titleInput,
body[data-page="kitchen"] #newRecipeTitle,
body[data-page="recipes"] #titleInput,
body[data-page="recipes"] #newRecipeTitle {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: var(--bs-body-color, #000);
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--brand-gold, #b08a48);
  border-radius: 0.5rem;
  padding: 0.38rem 0.6rem;
  line-height: 1.2;
  box-shadow: var(--shadow-soft, 0 1px 2px rgba(0,0,0,.08));
  min-height: 34px;
}