/* Stillwater Bakes & Provisions, site v1. Palette taken from the logos. */
:root {
  color-scheme: light;
  --cream: #fbf7ec;
  --paper: #fffdf7;
  --ink: #3b342a;
  --ink-soft: #5c5244;
  --blue: #2b5788;
  --blue-deep: #1f4268;
  --blue-wash: #e3eef3;
  --gingham: #cfe0ea;
  --rope: #c98b48;
  --rope-deep: #8a5320;
  --sage: #6f8a6a;
  --line: #e6dcc6;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* The blue checker (the home page's welcome band since v1). Jen's Website Revision 4 (2026-10-28), made exact
     2026-10-29 (Dan): every page's main content area shows it on the same paper base as the Home top section,
     from ONE rule (`main` below). The header, the navy scripture band and the footer keep their own backgrounds. */
  --checker:
    repeating-linear-gradient(0deg, rgba(91,140,184,.10) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(90deg, rgba(91,140,184,.10) 0 14px, transparent 14px 28px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
/* THE ONE CHECKER RULE: every page's main content area, exactly the Home top section's look (paper base, same stripes). */
main { display: block; background-color: var(--paper); background-image: var(--checker); }
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--rope-deep); outline-offset: 2px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--blue-deep); line-height: 1.2; }
h2 { font-size: 1.9rem; margin: 0 0 .5rem; text-align: center; }
h2::after {
  content: ""; display: block; width: 72px; height: 3px; margin: .6rem auto 0;
  background: repeating-linear-gradient(90deg, var(--rope) 0 6px, transparent 6px 10px);
}
.lede { text-align: center; color: var(--ink-soft); margin: .25rem auto 1.5rem; max-width: 36rem; }
.small { font-size: .95rem; color: var(--ink-soft); }
.center { text-align: center; }

/* Header */
.hero {
  text-align: center;
  padding: 28px 16px 20px;
  background: transparent;   /* the checker comes from main, the one shared rule */
  border-bottom: 1px solid var(--line);
  padding-top: 28px;
}
.hero picture { display: block; }
.hero-logo {
  width: 220px; height: 220px; margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(59,52,42,.18);
}
.hero h1 { font-size: 2rem; margin: 16px 0 4px; }
.hero-sub { margin: 0 auto 18px; max-width: 30rem; color: var(--ink-soft); }

.actions { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 0 auto 18px; }
.btn {
  display: block; padding: 13px 18px; border-radius: 999px;
  border: 2px solid var(--blue); background: var(--paper); color: var(--blue-deep);
  font-weight: 600; text-decoration: none; text-align: center; overflow-wrap: anywhere;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-wash); }
.btn-primary:hover { background: var(--blue-deep); }

/* Site header and nav: the same on every page, plain links, no menu button */
.site-head {
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 10px 16px 12px; text-align: center;
  /* frozen at the top of the screen, like frozen rows in a spreadsheet (DECISION-033) */
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 2px 8px rgba(59,52,42,.10);
}
/* link targets land below the sticky header */
[id] { scroll-margin-top: 150px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue-deep);
}
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.site-nav ul {
  list-style: none; margin: 10px auto 0; padding: 0; max-width: 960px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.site-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: .98rem; font-weight: 600;
  color: var(--blue-deep); text-decoration: none; border: 1px solid var(--line); background: var(--cream);
}
.site-nav a:hover { background: var(--blue-wash); }
.site-nav a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Home welcome */
.welcome { padding: 36px 0; text-align: center; }
.welcome p { max-width: 36rem; margin: 0 auto .8rem; font-size: 1.12rem; }
h1 { text-align: center; }
main > section:first-child:not(.hero) h1 { font-size: 2rem; margin: 0 0 .5rem; }
main > section:first-child:not(.hero) h1::after {
  content: ""; display: block; width: 72px; height: 3px; margin: .6rem auto 0;
  background: repeating-linear-gradient(90deg, var(--rope) 0 6px, transparent 6px 10px);
}
.notfound { text-align: center; }

section { padding: 44px 0; }

/* Faith */
.faith { background: var(--blue-deep); color: #f6f1e4; text-align: center; padding: 40px 0; }
.faith blockquote { margin: 0 auto 22px; max-width: 34rem; }
.faith blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; margin: 0 0 6px; }
.faith cite { font-style: normal; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: #f0c993; }
.faith-note { margin: 4px auto 0; max-width: 30rem; font-size: 1.02rem; color: #e9e3d4; }
.faith-note::before {
  content: ""; display: block; width: 72px; height: 3px; margin: 0 auto 18px;
  background: repeating-linear-gradient(90deg, #f0c993 0 6px, transparent 6px 10px);
}

/* Menu */
.menu-head { text-align: center; }
.menu-logo { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 10px; }
.kitchen-note {
  max-width: 40rem; margin: 0 auto 8px; padding: 18px 20px;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: 8px;
}
.kitchen-note p { margin: 0; }
.kitchen-note .sig { margin-top: 6px; font-family: var(--serif); font-style: italic; color: var(--ink-soft); text-align: right; }

.cat { font-size: 1.5rem; text-align: center; margin: 2.2rem 0 1rem; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(59,52,42,.06);
}
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ph {
  aspect-ratio: 3 / 1; display: flex; align-items: center; justify-content: center;
  background-color: var(--blue-wash);
  background-image:
    repeating-linear-gradient(0deg, rgba(91,140,184,.14) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(90deg, rgba(91,140,184,.14) 0 12px, transparent 12px 24px);
}
.ph span {
  background: var(--paper); color: var(--ink-soft); font-size: .92rem;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
}
.card-body { padding: 14px 18px 16px; }
.card h4 { margin: 0 0 4px; font-size: 1.25rem; }
.price { margin: 0 0 8px; font-weight: 700; color: var(--rope-deep); }
.card ul { margin: 0; padding-left: 1.1rem; }
.card li { margin: 2px 0; }
.card-soon { border-style: dashed; background: transparent; }
.tag {
  display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 600; vertical-align: middle;
  background: #f7e6cf; color: var(--rope-deep); padding: 1px 8px; border-radius: 999px; margin-left: 4px;
}
.tag-soon { background: var(--blue-wash); color: var(--blue-deep); }
/* Item names with Jen's descriptions (2026-10-16 revisions) */
.card ul.items { list-style: none; padding-left: 0; }
.card ul.items li { margin: 0 0 10px; }
.card ul.items li:last-child { margin-bottom: 0; }
.item-name { font-weight: 600; }
.item-desc { display: block; margin: 2px 0 0; font-size: .95rem; color: var(--ink-soft); }
.fn { color: var(--rope-deep); text-decoration: none; margin-left: 2px; }
.footnote { max-width: 40rem; margin: 18px auto 0; font-size: .95rem; color: var(--ink-soft); text-align: center; }
.cottage {
  margin: 28px auto 0; max-width: 40rem; padding: 16px 20px; text-align: center;
  border: 1px dashed var(--line); border-radius: 12px;
}
.cottage-h { font-size: 1.1rem; margin: 0 0 6px; }
.cottage p { margin: .3rem 0; }

.note {
  margin: 28px auto 0; max-width: 40rem; padding: 16px 20px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
}
.note p { margin: .3rem 0; }

/* Order */
.order { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }   /* no background: main's checker shows */
.rules-h { font-size: 1.45rem; margin-top: 1.8rem; }
.rules { max-width: 40rem; margin: 8px auto 0; padding: 0; list-style: none; }
.rules li { padding: 12px 0 12px 30px; border-bottom: 1px dashed var(--line); position: relative; }
.rules li:last-child { border-bottom: 0; }
.rules li::before {
  content: ""; position: absolute; left: 6px; top: 20px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--rope);
}

/* Pickup */
.three { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
.three > div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.three h3 { margin: 0 0 4px; font-size: 1.2rem; }
.three p { margin: 0; }

/* Markets */
.markets { }   /* no background: main's checker shows (was solid blue-wash) */
.market-photo { width: 100%; max-width: 680px; margin: 0 auto 18px; border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
table { width: 100%; max-width: 680px; margin: 0 auto; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; font-size: .98rem; }
caption { caption-side: top; font-family: var(--serif); font-size: 1.05rem; color: var(--ink-soft); padding-bottom: 8px; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--blue); color: #fff; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td:nth-child(2) { white-space: nowrap; }
/* On a phone the market time may wrap ("Times to be announced", production 2026-10-29: the table was 7 px too wide at 390). */
@media (max-width: 480px) { table:not(.sum) td:nth-child(2) { white-space: normal; } }

/* About */
.about p { max-width: 40rem; margin: 0 auto 1rem; }
.pull { max-width: 38rem; margin: 1.5rem auto; padding: 0 0 0 18px; border-left: 4px solid var(--rope); }
.pull p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; color: var(--blue-deep); margin: 0 0 6px; }
.pull cite { font-style: normal; color: var(--ink-soft); font-size: .95rem; }

/* Footer */
footer { background: #efe6d2; border-top: 1px solid var(--line); padding: 28px 0 36px; text-align: center; font-size: .95rem; color: var(--ink); }
footer p { max-width: 38rem; margin: .5rem auto; }
.foot-emblem { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px; }
.statement { font-weight: 600; }
.foot-contact { margin-top: 1rem; }

/* Order form (DECISION-035) */
.narrow { max-width: 640px; }
.orderform h1, .jen-page h1 { margin-top: 0; }
.og { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin: 0 0 16px; padding: 12px 16px 16px; min-width: 0; }
.og legend { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--blue-deep); padding: 0 6px; }
.og .small { margin: 0 0 6px; }
.og label { display: block; font-weight: 600; margin: 12px 0 4px; }
.og label.check { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; min-height: 44px; }
.og label.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.field-label { font-weight: 600; margin: 12px 0 0; }
.og input[type=text], .og input[type=email], .og input[type=tel], .og input[type=date], .og textarea, .og select, .jen-page input {
  width: 100%; font: inherit; padding: 10px 12px; min-height: 48px; border: 1px solid #b9ad94; border-radius: 10px; background: #fff; color: var(--ink);
}
.sub { margin-top: 6px; padding-top: 4px; border-top: 1px dashed var(--line); }
.sub[hidden] { display: none; }
.rows .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.rows .row:last-child { border-bottom: 0; }
.rows .row label { margin: 0; font-weight: 400; flex: 1; min-width: 0; }
.row.picked .iname { font-weight: 700; }
.iname { display: block; }
.iunit { color: var(--ink-soft); font-size: .95rem; }
.ihint { display: block; font-size: .9rem; color: var(--rope-deep); }
.stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.stepper input { width: 3.2em; min-height: 44px; text-align: center; font: inherit; font-weight: 700; border: 1px solid #b9ad94; border-radius: 10px; background: #fff; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--blue); background: var(--paper); color: var(--blue-deep); font-size: 1.4rem; font-weight: 700; line-height: 1; cursor: pointer; }
.step:hover { background: var(--blue-wash); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.totals { background: var(--blue-wash); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; }
.sum { width: 100%; max-width: none; background: transparent; border-radius: 0; margin: 4px 0 8px; font-size: 1rem; }
.sum td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.sum td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; }
.sum td:nth-child(2) { white-space: nowrap; }
.warn { color: #9a3412; font-weight: 600; }
.form-errors { border: 2px solid #b45309; background: #fff7ed; border-radius: 12px; padding: 10px 16px; margin: 0 0 16px; }
.form-errors p { margin: 0; }
.cf-turnstile { margin: 0 0 14px; min-height: 65px; }
.btn-big { font-size: 1.15rem; padding: 15px 20px; }
button.btn { width: 100%; font: inherit; font-weight: 700; cursor: pointer; }
.big-line { font-size: 1.25rem; }
.when { font-size: 1.1rem; }
.notes { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.qrs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 10px 0; }
.qr { margin: 0; text-align: center; }
.qr img { width: 200px; height: 200px; border-radius: 8px; background: #fff; }

/* Jen's confirm page: big text, big button, nothing else */
body.jen { font-size: 1.25rem; background: var(--paper); }
.jen-page { padding: 20px 0 40px; }
.jen-page h1 { font-size: 1.8rem; text-align: left; }
.jen-page label { display: block; font-weight: 700; margin: 18px 0 6px; font-size: 1.2rem; }
.jen-page input { font-size: 1.3rem; min-height: 56px; }
.jen-page .sum { font-size: 1.15rem; }
.jen-page .who { font-size: 1.1rem; }
.btn-huge { margin-top: 26px; font-size: 1.5rem; padding: 22px 20px; border-radius: 16px; }

/* Jen's Kitchen (DECISION-037, -038): big text, big buttons, nothing that can break */
.kitchen { padding: 20px 0 48px; }
.kitchen h1 { margin: 8px 0 14px; }
.kitchen h2 { font-size: 1.6rem; margin: 34px 0 12px; text-align: left; }
.kitchen h2::after { margin-left: 0; }
.kitchen h3 { font-size: 1.15rem; margin: 18px 0 8px; color: var(--ink-soft); }
.k-logo { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 6px; }
.k-code { margin-top: 26px; text-align: left; }
.k-code label, .k-form label { display: block; font-weight: 700; margin: 16px 0 6px; }
.k-code input, .k-form input[type=text], .k-form input[type=date], .k-form textarea {
  width: 100%; font: inherit; font-size: 1.3rem; padding: 12px 14px; min-height: 56px; border: 1px solid #b9ad94; border-radius: 12px; background: #fff; color: var(--ink);
}
.k-code input { font-size: 2rem; letter-spacing: .3em; text-align: center; }
.k-code .btn { margin-top: 14px; }
.k-form input[type=file] { font: inherit; padding: 10px 0; }
.k-form .check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 400; margin: 4px 0; }
.k-form .check input { width: 24px; height: 24px; }
.k-msg { font-size: 1.2rem; font-weight: 700; background: #fff7ed; border: 2px solid #b45309; border-radius: 12px; padding: 12px 16px; }
.k-ok { background: #ecfdf3; border-color: #3f7d4f; color: #24543a; }
.k-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.k-top h1 { text-align: left; margin: 0; }
.k-link { background: none; border: 0; color: var(--blue); font: inherit; text-decoration: underline; min-height: 44px; cursor: pointer; padding: 0 4px; }
.k-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; }
.k-card p { margin: 0 0 6px; }
.k-card .btn { margin-top: 8px; }
.k-req { overflow: hidden; }
.k-thumb { float: right; width: 96px; height: 96px; object-fit: cover; border-radius: 10px; margin: 0 0 8px 12px; }
.k-status { display: inline-block; font-weight: 700; border-radius: 999px; padding: 4px 12px; margin-top: 4px !important; }
.k-received { background: var(--blue-wash); color: var(--blue-deep); }
.k-working { background: #fdf3d7; color: #7a5410; }
.k-done { background: #e3f1e6; color: #24543a; }
.k-market { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; }
.k-switch { flex: none; min-width: 128px; min-height: 52px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1.1rem; cursor: pointer; border: 2px solid; }
.k-switch.on { background: #3f7d4f; border-color: #3f7d4f; color: #fff; }
.k-switch.off { background: #fff; border-color: #9a3412; color: #9a3412; }
.k-add { margin-top: 16px; }
.k-add summary { font-weight: 700; color: var(--blue); min-height: 44px; display: flex; align-items: center; cursor: pointer; }

/* Jen's Kitchen, signed in: laid out by screen WIDTH, never by guessing the device (SBP DECISION-043).
   Phone and tablet: one column, in page order (orders, change, requests, markets), at most 680px wide.
   900px and wider: a two-column grid, at most 1180px wide. Tell us a change sits beside My requests;
   My orders and My markets run across, with their cards and dates two to a row. */
.k-page { max-width: 680px; }
.k-part { min-width: 0; }                       /* a grid item may shrink, so nothing pushes the page sideways */
.k-card, .k-market > div { overflow-wrap: anywhere; }
.k-market > div { min-width: 0; }
.k-form input[type=file] { width: 100%; max-width: 100%; }
.k-form textarea { resize: vertical; }
@media (min-width: 900px) {
  .k-page { max-width: 1180px; }
  .k-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px;
    grid-template-areas: "orders orders" "change requests" "markets markets" "needs list";
    align-items: start;
  }
  .k-orders { grid-area: orders; }
  .k-change { grid-area: change; }
  .k-requests { grid-area: requests; }
  .k-markets { grid-area: markets; }
  .k-needs { grid-area: needs; }
  .k-list { grid-area: list; }
  .k-cards, .k-mlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .k-add { max-width: calc(50% - 18px); }      /* the add-a-market form keeps a form's width, not the page's */
}

@media (min-width: 640px) {
  .actions { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; }
  .three { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  body { font-size: 1.1rem; }
  .hero-logo { width: 280px; height: 280px; }
  .hero h1 { font-size: 2.6rem; }
  h2 { font-size: 2.2rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .ph { aspect-ratio: 16 / 9; }
  section { padding: 60px 0; }
}
@media (min-width: 980px) {
  .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 300px)); justify-content: center; }
}
/* Phone: a compact sticky header, logo and name on one line, nav tight under it, every tap target 44px */
@media (max-width: 480px) {
  .site-head { padding: 6px 6px 6px; }
  .brand { gap: 8px; min-height: 44px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.02rem; }
  .site-nav ul { margin-top: 2px; gap: 3px; }
  .site-nav a {
    display: flex; align-items: center; min-height: 44px;
    padding: 0 8px; font-size: .9rem; line-height: 1.2;
  }
  [id] { scroll-margin-top: 165px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------- Jen's Kitchen v2: "What's on the site now"
   Phone first (one column, big tap targets); from 900px the live preview sits beside the work area
   (DECISION-043). .k-wide controls (prices, new cards, reordering) are for the computer. */
.tag-out { background: #fde2e2; color: #8a1c1c; }
.k-nav { margin: 8px 0 18px; }
.k-site .k-top { flex-wrap: wrap; }
.k-bar { background: #fff4b8; border: 2px solid #c9a400; border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
.k-bar p { margin: 0 0 8px; }
.k-putback { margin: 12px 0; }
.k-cat { text-align: left; margin: 26px 0 10px; font-size: 1.4rem; }
.k-scard { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 0 14px; overflow-wrap: anywhere; }
.k-scard.is-hidden, .k-sitem.is-hidden { opacity: .6; }
.k-scard-head h3 { margin: 0 0 4px; font-size: 1.25rem; }
.k-scard-head .tag { margin-left: 6px; }
.k-sitems { list-style: none; padding: 0; margin: 10px 0 0; }
.k-sitem { border-top: 1px dashed var(--line); padding: 10px 0; }
.k-sitem p { margin: 0 0 6px; }
.k-sitem .tag { margin-left: 4px; }
.k-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.k-inline { display: inline; margin: 0; }
.k-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--blue); background: #fff; color: var(--blue); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.k-btn-quiet { border-color: var(--line); color: var(--ink-soft); font-weight: 600; }
.k-more { margin: 10px 0 0; }
.k-more summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--blue); font-weight: 700; }
.k-choices { display: grid; gap: 10px; }
.k-choice { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.k-changes { margin: 6px 0 12px; padding-left: 1.2rem; }
.k-changes li { margin: 4px 0; }
.k-publish { margin: 14px 0; }
.k-hist.is-live { border-color: var(--blue); }
.k-preview { pointer-events: none; }
.k-preview .grid { grid-template-columns: 1fr; }
.k-wide { display: none; }
@media (min-width: 900px) {
  .k-wide { display: block; }
  .k-btns.k-wide { display: flex; }
  .k-site-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .k-site-preview { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: #fff; }
  .k-preview-full .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 300px)); }
}

/* ---------------------------------------------------------------- Jen's Kitchen v2: "My recipes" and the tab bar
   Phone: reading and step mode first, big type, the five tabs along the bottom. From 900px: the category list on
   the left, the recipe on the right (design section 6). */
.k-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(0,0,0,.06); }
.k-tabs a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 700; color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.k-tabs a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 3px 0 var(--blue); }
body.jen:has(.k-tabs) { padding-bottom: 64px; }
.k-search { margin: 10px 0 14px; }
.k-searchrow { display: flex; gap: 8px; }
.k-searchrow input { flex: 1; min-width: 0; min-height: 48px; font-size: 1.1rem; }
.k-lib-nav { margin: 0 0 14px; }
.k-navcat { margin: 6px 0; }
.k-navlink { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; color: var(--blue); font-weight: 700; text-decoration: none; }
.k-navgroup { padding-left: 24px; font-weight: 600; color: var(--ink-soft); }
.k-navlink.is-on, .k-chip.is-on { background: var(--blue-wash); color: var(--blue-deep); }
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.k-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--line); background: #fff; color: var(--blue); font-weight: 600; text-decoration: none; }
.k-rlist { display: grid; gap: 10px; }
.k-rcard { display: flex; gap: 12px; align-items: center; min-height: 64px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.k-rcard-body { display: flex; flex-direction: column; gap: 2px; }
.k-rcard strong { font-size: 1.15rem; color: var(--blue-deep); }
.k-rthumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.k-recipe { font-size: 1.15rem; line-height: 1.55; overflow-wrap: anywhere; }
.k-rname { text-align: left; font-size: 1.7rem; margin: 6px 0 4px; }
.k-rmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 12px; }
.k-fam { margin: 8px 0 4px; }
.k-igroup { border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px 10px; margin: 0 0 12px; background: var(--paper); }
.k-igroup legend { font-weight: 700; padding: 0 6px; }
.k-igroup ul { list-style: none; margin: 0; padding: 0; }
.k-check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 6px 0; cursor: pointer; }
.k-check input { width: 26px; height: 26px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.k-check input:checked + span { text-decoration: line-through; color: var(--ink-soft); }
.k-steps { padding-left: 1.6rem; }
.k-steps li { margin: 0 0 12px; }
.k-stepsec { text-align: left; font-size: 1.15rem; margin: 16px 0 6px; color: var(--rope-deep); }
.k-notes { white-space: pre-wrap; }
.k-contains { background: var(--blue-wash); border-radius: 12px; padding: 10px 14px; }
.k-step { font-size: 1.2rem; }
.k-step-of { font-weight: 700; color: var(--ink-soft); margin: 6px 0 10px; }
.k-step-text { font-size: 2rem; line-height: 1.35; font-weight: 600; margin: 8px 0 18px; overflow-wrap: anywhere; }
.k-step-ingr { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; }
.k-step-ingr h2 { font-size: 1.1rem; text-align: left; margin: 0 0 6px; }
.k-step-ingr ul { margin: 0; padding-left: 1.2rem; font-size: 1.25rem; }
.k-step-nav { position: sticky; bottom: 64px; display: flex; gap: 10px; justify-content: space-between; padding: 12px 0; background: var(--cream); }
.k-step-nav .btn { flex: 1; }
@media (min-width: 900px) {
  .k-tabs { display: none; }
  body.jen:has(.k-tabs) { padding-bottom: 0; }
  .k-lib { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
  .k-lib-nav { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
  .k-lib-nav.k-wide { display: block; }
  .k-lib > .k-lib-nav { margin: 0; }
  .k-rlist { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .k-step-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .k-step-text { font-size: 2.6rem; }
  .k-step-nav { bottom: 0; }
}
.k-searchrow input { flex: 1 1 auto; width: auto; }
.k-searchrow .btn { flex: 0 0 auto; width: auto; min-width: 96px; padding-left: 22px; padding-right: 22px; }

/* ---------------------------------------------------------------- Jen's Kitchen v2, Phase 3: writing to "My recipes"
   Add, paste and check a draft, edit, status in one tap, photos, history. Phone: one column, big targets, the save
   bar above the tab bar. From 900px: the form in two columns (ingredients | steps), a pasted draft beside its
   original text (design section 6). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.k-navadd { display: flex; flex-direction: column; margin: 12px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.k-warn { background: #fffbeb; font-weight: 600; }
.k-bad { background: #fef2f2; border-color: #b42318; color: #7a1a12; }
.k-msg ul { margin: 6px 0 0; padding-left: 1.2rem; font-weight: 400; }
.k-msg p { margin: 4px 0; }
.k-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.k-actions .btn, .k-actions button.btn { width: auto; }
.k-inline { display: inline; margin: 0; }
.k-stform { margin: 8px 0; }
.k-stbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .k-stbtns { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
button.btn.k-stbtn { min-height: 48px; padding: 8px 10px; background: #fff; color: var(--blue-deep); border: 2px solid var(--line); }
button.btn.k-stbtn.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.k-rphoto { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin: 6px 0; }
.k-edit { font-size: 1.05rem; }
.k-f { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; font-weight: 600; min-width: 0; }
.k-f input, .k-f textarea, .k-f select { width: 100%; min-height: 44px; font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-sizing: border-box; }
.k-egroup { border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px 12px; margin: 0 0 12px; background: var(--paper); min-width: 0; }
.k-egroup legend { font-weight: 700; padding: 0 6px; }
.k-checks { display: flex; flex-wrap: wrap; gap: 0 18px; }
.k-checks .check { display: flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 400; }
.k-checks .check input { width: 22px; height: 22px; }
.k-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 10px; }
.k-lines, .k-esteps { margin: 0; padding-left: 1.6rem; }
.k-line { margin: 0 0 6px; }
.k-raw { margin: 4px 0 2px; }
.k-edit textarea { field-sizing: content; min-height: 44px; resize: vertical; }
.k-edit ::placeholder { color: #8a8f98; font-style: italic; }
.k-parts summary { cursor: pointer; color: var(--blue); font-size: .95rem; min-height: 44px; display: flex; align-items: center; }
.k-partrow { display: flex; flex-wrap: wrap; gap: 6px; }
.k-part { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; min-width: 0; }
.k-part input { min-height: 44px; padding: 4px 8px; font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 8px; width: 100%; box-sizing: border-box; }
.k-part-s { flex: 1 1 70px; }
.k-part-m { flex: 2 1 120px; }
.k-part-l { flex: 3 1 160px; }
button.btn.k-more-btn { width: auto; min-height: 44px; padding: 6px 14px; margin: 4px 0; background: #fff; color: var(--blue-deep); border: 1px solid var(--line); font-size: 1rem; }
.k-savebar { position: sticky; bottom: 64px; z-index: 5; background: var(--cream); padding: 10px 0; }
.k-review-form { min-width: 0; }
.k-source { border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; background: #fff; margin: 0 0 14px; min-width: 0; }
.k-source summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.k-srclines { padding-left: 2.4rem; margin: 6px 0; font-size: .95rem; }
.k-srclines li { margin: 0 0 6px; overflow-wrap: anywhere; }
.k-srctext { white-space: pre-wrap; }
.k-to { display: inline-block; font-size: .8rem; font-weight: 700; padding: 1px 8px; border-radius: 10px; background: var(--blue-wash); color: var(--blue-deep); }
.k-to-other_text { background: #fef3c7; color: #7c4a03; }
.k-to-heading { background: #eef2f6; color: var(--ink-soft); }
.k-paste label { display: block; font-weight: 700; margin: 0 0 6px; }
.k-paste textarea { width: 100%; min-height: 360px; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 12px; box-sizing: border-box; }
.k-photos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.k-photos img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; }
.k-photos form { margin: 4px 0; }
.k-photos button.btn { min-height: 44px; padding: 6px 10px; font-size: .95rem; }
.k-photo-add { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 10px 0 18px; }
.k-photo-add label { display: block; font-weight: 700; }
.k-photo-add input[type=file] { margin: 8px 0; font: inherit; max-width: 100%; }
.k-photo-add img { display: block; width: 100%; max-width: 240px; border-radius: 12px; }
.k-photo-add img[hidden] { display: none; }
.k-photo-add button.btn { width: auto; }
.k-history { list-style: none; padding: 0; }
.k-ver { border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; margin: 0 0 10px; background: var(--paper); overflow-wrap: anywhere; }
.k-ver ul { margin: 4px 0; padding-left: 1.2rem; }
.k-discard { margin: 28px 0 18px; }
.k-discard button.btn { width: auto; }
.k-drafts { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) {
  .k-edit-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
  .k-edit-head .k-wide-f { grid-column: 1 / -1; }
  .k-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .k-edit-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .k-review { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
  .k-review .k-source { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
  .k-savebar { bottom: 0; }
}

/* ---------------------------------------------------------------- Jen's Kitchen v2, Phase 4: the public menu's "Contains" line and
   item photos (only from the published version), and the kitchen's link / Contains / photo controls */
.card img.item-photo { float: left; width: 64px; height: 64px; aspect-ratio: auto; object-fit: cover; border-radius: 10px; margin: 2px 12px 6px 0; }
.card li:has(> .item-photo) { display: flow-root; list-style: none; margin-left: -1.1rem; }
.card ul.items li:has(> .item-photo) { margin-left: 0; }
.item-contains { font-size: .9rem; }
.k-facts { display: flow-root; margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--line); }
.k-facts p { margin: 4px 0; }
.k-pubthumb { float: right; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; margin: 0 0 6px 10px; }
.k-pubthumb-big { display: block; width: 100%; max-width: 320px; height: auto; border-radius: 12px; }
.k-btn-go { background: var(--blue); color: #fff; }
.k-nocontains { color: var(--ink-soft); }
.k-photos form button.btn { width: 100%; }
.k-facts-none { border-top: 0; padding-top: 0; margin-top: 4px; }
.k-linked { margin: 4px 0; }
.k-linkrow { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; }

/* ---------------------------------------------------------------- the menu, layout 2 (Jen's Website Revision 2, 2026-10-25)
   Limited Seasonal Features first, in a slightly darker box. Each item: an optional thumbnail on the left, its name
   (and price in the box), and, when it has a description, a "+" that opens it. The description opens on tap, click
   or Enter (a <details>, no script) and, on a screen with a mouse, on hover (::details-content). */
.kitchen-note p + p:not(.sig) { margin-top: .6rem; }
.feature {
  max-width: 46rem; margin: 26px auto 6px; padding: 4px 18px 12px;
  background: #f0e6d0; border: 1px solid #e0cfae; border-radius: 14px;
}
.feature .cat { margin: 1rem 0 .4rem; }
/* Jen's Website Revision 4: one link per category under her statement; each heading clears the sticky header. */
.cat-jump ul { list-style: none; margin: 18px auto 4px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 46rem; }
.cat-jump a {
  display: inline-block; min-height: 44px; padding: 10px 16px; border-radius: 999px; line-height: 1.4;
  border: 1px solid var(--line); background: var(--paper); color: var(--blue-deep); text-decoration: none; font-weight: 600;
}
.cat-jump a:hover { background: var(--blue-wash); }
.cat[id] { scroll-margin-top: 150px; }
.grid2 { align-items: start; }
.card-desc { margin: 0 0 4px; font-size: .97rem; color: var(--ink-soft); }
ul.items2, .card ul.items2 { list-style: none; margin: 4px 0 0; padding: 0; }
.items2 > li { margin: 0; border-top: 1px solid var(--line); }
.items2 > li:first-child { border-top: 0; }
.feature .items2 > li { border-top-color: #e0cfae; }
.items2 summary, .items2 .it-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0; }
.items2 summary { cursor: pointer; list-style: none; border-radius: 8px; }
.items2 summary::-webkit-details-marker { display: none; }
.items2 summary::after {
  content: "+"; flex: none; margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--blue-deep); font-weight: 700; line-height: 1;
}
.items2 details[open] > summary::after { content: "\2212"; }
.items2 summary:focus-visible { outline: 3px solid var(--rope-deep); outline-offset: 2px; }
.it-text { display: flex; flex-direction: column; min-width: 0; }
.it-tags .tag { margin: 2px 0 0; }
.item-price { font-size: .92rem; font-weight: 700; color: var(--rope-deep); }
.thumb { flex: none; display: block; width: 56px; height: 56px; }
.card .thumb img, .thumb img { display: block; width: 56px; height: 56px; aspect-ratio: auto; object-fit: cover; border-radius: 10px; }
.items2 details > :not(summary) { margin: 0 0 8px; }
.items2 details:has(.thumb) > :not(summary) { margin-left: 68px; }
.items2 .item-desc { font-size: .95rem; }
ul.includes { list-style: disc; margin: 2px 0 6px; padding-left: 1.3rem; color: var(--ink-soft); font-size: .95rem; }
@media (hover: hover) and (pointer: fine) {
  .items2 details.more:hover::details-content { content-visibility: visible; display: block; }
  .items2 summary:hover { background: rgba(43, 87, 136, .06); }
  .items2 details.more:hover > summary::after { content: "\2212"; }
}
.signup-box {
  max-width: 40rem; margin: 26px auto 0; padding: 16px 20px; text-align: center;
  background: var(--blue-wash); border-radius: 12px;
}
.signup-box p { margin: .3rem 0; }
.signup-box .btn { margin-top: 6px; }
.signup-form { display: grid; gap: 6px; max-width: 30rem; }
.signup-form input[type="email"], .signup-form input[type="text"] { font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.signup-form .small { margin: 10px 0 4px; }
.signup-form .btn { margin-top: 10px; }

/* Jen's Kitchen: "For the website" (what the menu still needs) and "My email list" (Revision 2, 2026-10-25) */
.k-need { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin: 0 0 8px; }
.k-need summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.k-need ul { margin: 0 0 12px; padding-left: 1.2rem; }
.k-table { overflow-x: auto; }
.k-subs { width: 100%; border-collapse: collapse; }
.k-subs th, .k-subs td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
