:root {
  --red: #023020;
  --red-dark: #011a14;
  --forest: #023020;
  --green-mid: #0b4a2c;
  --green-deep: #123d1b;
  --menu-green: #215c2a;
  --gold: #d4a017;
  --cream: #f3e6c8;
  --tan-dark: #e2d3b0;
  --accent: #8a1f16;
  --ink: #2a2420;
  --muted: #6b6158;
  --paper: #ffffff;
  --line: #e2d3b0;
  --chip: #f3ebe1;
  --shadow: 0 8px 24px rgba(42, 36, 32, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --page-width: 1000px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}
a { color: var(--menu-green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.2; margin: 0 0 .5rem; color: var(--menu-green); }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.wrap {
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}
.seo-extract {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, #023020, #0b4a2c);
  color: #fff;
}
.status {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  padding: 0 7.5rem 0 1rem;
  min-height: 1.6rem;
  width: 100%;
  max-width: 100%;
}
.status-tab {
  background: #f3e6c8;
  border: 1px solid #d4a017;
  border-top: 0;
  padding: 2px 14px;
  font-size: 12px;
  color: #023020;
  border-radius: 0 0 6px 6px;
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-links {
  position: absolute;
  right: 16px;
  top: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  z-index: 5;
}
.status-links a { color: #fff; text-decoration: underline; }
.status-links a:hover { color: #fff; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font: inherit;
  font-size: .84rem;
  padding: .15rem .6rem;
  cursor: pointer;
}
.nameplate { padding: 10px 0 12px; }
.brand { display: block; max-width: 100%; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block;
  height: 51px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(2px 3px 3px rgba(0, 0, 0, .55));
}
.recipe-nav {
  background: linear-gradient(180deg, #215c2a, #123d1b);
  position: sticky;
  top: 0;
  z-index: 30;
}
@media (min-width: 768px) {
  .is-public .recipe-nav {
    width: 100%;
    max-width: var(--page-width);
    margin-left: auto;
    margin-right: auto;
  }
  .is-public .recipe-nav-inner.wrap,
  .is-public .nameplate .wrap {
    padding-left: 0;
    padding-right: 0;
  }
}
.recipe-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 52px;
  gap: 0;
}
.recipe-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 0 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 52px;
}
.recipe-nav a:hover { text-decoration: none; color: #fff; }
.recipe-nav a.active,
.recipe-nav a.on {
  background: #f3e6c8;
  color: #023020;
  padding: 8px 12px;
  height: auto;
  border-radius: 2px;
  margin: 0 4px;
}
.nav-sp { flex: 1; }
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #123d1b;
  border-radius: 0 0 6px 6px;
  padding: .35rem 0;
  z-index: 40;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  height: auto;
  padding: .45rem 1rem;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-drop-menu a:hover { background: #0b4a2c; }
.menu-search { margin: 8px 0 8px 10px; }
.menu-search input[type=search] {
  background: #fff;
  border: 0;
  border-radius: 4px;
  padding: 7px 10px;
  width: 200px;
  color: #2a2420;
  font-size: 13px;
}

/* Public main / heroes */
.is-public .site-main {
  background: #fff;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 0 2.5rem;
  overflow: hidden;
}
.is-admin .site-main {
  background: #fff;
  max-width: 1000px;
  margin: 1rem auto 2rem;
  padding: 1.25rem 1.25rem 2rem;
  border: 1px solid var(--tan-dark);
}
.hero {
  background: radial-gradient(ellipse at 70% 0%, #2f7a3a, #023020 70%);
  color: #fff;
  padding: 26px 0 70px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 80px;
  background: #fff;
  border-radius: 50% 50% 0 0;
}
.hero.compact-hero {
  padding: 10px 0 56px;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .kick {
  color: #d4a017;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.hero h1 { color: #fff; font-size: 40px; font-weight: 800; margin: 0 0 8px; }
.hero p, .hero .hero-lead { font-size: 17px; max-width: 560px; opacity: .95; color: #fff; margin: 0; }
.hero .crumbs, .crumbs-light { color: rgba(255,255,255,.85); font-size: 12px; margin-bottom: 8px; }
.hero .crumbs a, .crumbs-light a { color: #fff; text-decoration: underline; }
.hero .crumbs span, .crumb-sep { margin: 0 .35rem; opacity: .85; }
.pill-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 14px; }
.pill {
  display: inline-block;
  border: 1px solid #d4a017;
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}
.page-body { padding-top: 6px; }
.page-body.tight-top { padding-top: 0; }
.recipes-toolbar { margin: 0 0 .65rem; }

/* Buttons */
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none !important;
}
.btn.primary { background: #d4a017; color: #023020; }
.btn.primary:hover { background: #c08f10; }
.btn.ghost { background: transparent; color: #215c2a; border: 1px solid #215c2a; }
.btn.ghost:hover { background: #f3e6c8; }
.btn.danger { background: #8a1f16; color: #fff; }
.btn.danger:hover { background: #6b1510; }
.actions a, .actions input { margin-right: .75rem; white-space: nowrap; }
.actions { white-space: nowrap; }
.recipe-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 0; }
.about-copy + .recipe-actions { margin-top: 1rem; }
.grocery-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .55rem;
  margin: .35rem 0 .15rem;
  color: #215c2a;
  font-weight: 700;
  font-size: .95rem;
}
.grocery-hint-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
.grocery-hint-link { font-weight: 600; margin-left: .15rem; }
.add-category { margin: 0 0 1.5rem; }
.add-category .field-row { grid-template-columns: 1fr 1fr; max-width: 40rem; }
.grocery-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.grocery-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 .5rem;
  background: #fff;
}
.grocery-item.dragging {
  opacity: 1;
  transform: none;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(2, 48, 32, .18);
}
.grocery-grip {
  color: var(--muted);
  cursor: grab;
  font-size: 1.15rem;
  user-select: none;
  -webkit-user-select: none;
  line-height: 1;
  touch-action: none;
  padding: .35rem .2rem;
}
.grocery-text { flex: 1; min-width: 0; }
.grocery-move { display: flex; flex-direction: column; }
.grocery-arrow {
  color: #215c2a;
  font-size: .7rem;
  line-height: 1;
  padding: .1rem .25rem;
  text-decoration: none !important;
}

/* Home featured + chips + cards */
.featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  background: #faf6ee;
  border: 1px solid #e2d3b0;
  border-radius: 12px;
  padding: 1rem;
  margin: 0 0 1.75rem;
}
.featured-photo {
  display: block;
  min-height: 240px;
  height: 100%;
  border-radius: 8px;
  background: #efe6db center/cover no-repeat;
}
.featured-copy .kick { color: #8a1f16; margin-bottom: 6px; }
.featured-copy h2 { color: #215c2a; font-size: 28px; margin: 0 0 .35rem; }
.featured-copy p { margin: 0 0 1rem; color: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: .85rem 0 .65rem; }
.home-cats .section-head { margin-top: .15rem; }
h2 { color: #215c2a; font-size: 26px; margin: 4px 0 12px; }
.chip-row, .subcats { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.chip, .subcats a {
  background: #fff;
  color: #215c2a;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  border: 1px solid #215c2a;
}
.subcats a { display: inline-block; }
.chip:hover, .subcats a:hover { background: #f3e6c8; text-decoration: none; }
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.recipe-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2d3b0;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.recipe-card:hover { text-decoration: none; transform: translateY(-2px); }
.card-photo {
  display: block;
  height: 160px;
  background: #efe6db center/cover no-repeat;
}
.card-body { padding: .75rem .9rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.card-body strong { color: #215c2a; font-size: 1.05rem; }
.muted, .hint { color: var(--muted); font-size: .9rem; }
.stars { color: #d4a017; letter-spacing: 1px; }
.rating-count { color: var(--muted); font-size: .85rem; }

/* Listing / category / search */
.crumbs { color: var(--muted); font-size: .92rem; margin-bottom: .75rem; }
.crumbs span { margin: 0 .35rem; }
.page-head p { color: var(--muted); max-width: 46rem; }
.category-list { columns: 2; padding-left: 1.2rem; }
.category-list li { break-inside: avoid; margin: .35rem 0; }
.category-list a { color: var(--ink); font-weight: 600; }
.category-list.compact { columns: 3; }
.az-block { margin: 1.5rem 0; }
.lead { color: var(--muted); max-width: 46rem; }
.explore { margin: 0 0 1rem; font-size: 1.4rem; }

/* Recipe page */
.recipe-about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 0 0 1.75rem;
}
.recipe-photo {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 360px;
  background: #efe6db;
  display: block;
}
.recipe-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.ingredients-col, .steps-col, .directions-block, .review-block, .panel, .login-card, .admin-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.15rem 1.3rem;
}
.ingredients-col { background: #faf6ee; }
.ingredient-list, .direction-list { margin: .5rem 0 0; padding: 0; list-style: none; }
.ingredient-list li {
  margin: 0;
  padding: .55rem 0 .55rem 1.55rem;
  border-bottom: 1px dashed #e2d3b0;
  position: relative;
}
.ingredient-list li:last-child { border-bottom: 0; }
.ingredient-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .7rem;
  width: 12px;
  height: 12px;
  border: 1px solid #8a8078;
  border-radius: 2px;
  background: #fff;
}
.ingredient-list.has-checks li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding-left: 0;
}
.ingredient-list.has-checks li:before { content: none; }
.ingredient-list.has-checks input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: .2rem 0 0;
  flex-shrink: 0;
  accent-color: #215c2a;
  cursor: pointer;
}
.ingredient-list.has-checks .ing-text { flex: 1; min-width: 0; }
.direction-list { counter-reset: step; }
.direction-list li {
  counter-increment: step;
  position: relative;
  padding: .15rem 0 .55rem 2.5rem;
  margin: .35rem 0;
  min-height: 1.8rem;
}
.direction-list li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #215c2a;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.55rem;
}
.tip {
  background: #eef6ea;
  border-left: 4px solid #215c2a;
  padding: .7rem .9rem;
  margin-top: 1rem;
  color: var(--ink);
}
.servings-note { font-size: .9rem; color: var(--muted); margin: 0 0 .35rem; }
.review-block { margin-top: 1.5rem; }
.review { border-top: 1px solid var(--line); padding: 1rem 0; }
.review time { display: block; color: var(--muted); font-size: .85rem; }
.review-form { margin: 1rem 0 1.5rem; }

/* Forms / admin */
.field { margin: .85rem 0; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
input[type=text], input[type=password], textarea, select {
  width: 100%;
  font: inherit;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.load-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: start; }
.search-bar {
  display: flex;
  gap: .6rem;
  align-items: center;
  margin: 0 0 1.1rem;
  max-width: 40rem;
}
.search-bar input[type=text] { flex: 1; width: auto; }
.photo-preview { display: block; max-width: 140px; margin-top: .6rem; border-radius: 10px; }
.photo-url { margin-top: .5rem; }
input[type=file] { display: block; margin: .35rem 0 .5rem; }
.cat-toolbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .25rem;
}
.cat-heading { font-weight: 700; }
.cat-filter {
  flex: 1;
  min-width: 12rem;
  max-width: 22rem;
  margin: 0;
  font: inherit;
  padding: .4rem .6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.cat-board { display: grid; gap: .4rem; }
.cat-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .3rem .55rem .35rem;
}
.cat-parent { font-weight: 700; margin: 0 0 .15rem; line-height: 1.25; font-size: .95rem; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: .4rem;
  row-gap: 0;
}
.cat-item { font-weight: 400; font-size: .86rem; line-height: 1.25; }
#categories .cat-item label,
#categories .cat-parent label {
  display: inline;
  margin: 0;
  font-weight: inherit;
  cursor: pointer;
}
#categories .cat-item input[type=checkbox],
#categories .cat-parent input[type=checkbox] {
  margin: 0 .3rem 0 0;
  vertical-align: middle;
}
.cat-item label, .cat-parent { cursor: pointer; }
.cat-group.is-hidden, .cat-item.is-hidden { display: none; }
.data { width: 100%; border-collapse: collapse; background: #fff; }
.data th, .data td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.notice, .error, .empty { padding: .8rem 1rem; border-radius: 10px; }
.notice { background: #eef6ea; }
.notice.ok { background: #eef6ea; color: #215c2a; }
.error { background: #fdecea; color: #8a1f16; }
.empty { color: var(--muted); }
.login-card { max-width: 420px; margin: 0 auto; }
.instagram-load { margin: 1rem 0 1.5rem; }

/* Footer */
.site-footer {
  background: #f3e6c8;
  border-top: 0;
  text-align: center;
  color: #023020;
  font-size: 12px;
  padding: 12px;
}
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-links { margin: 0 0 .35rem; }
.footer-links a { color: #215c2a; margin: 0 6px; }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .category-list, .category-list.compact { columns: 2; }
  .featured, .recipe-about, .recipe-split { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 700px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .category-list, .category-list.compact { columns: 1; }
  .status {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
    align-items: start;
    padding: 0 .5rem;
  }
  .status-tab { font-size: 11px; padding: 2px 10px; max-width: 100%; }
  .status-links { position: static; right: auto; top: auto; padding-top: 2px; }
  .nav-toggle {
    display: inline-flex;
    background: #f3e6c8;
    color: #023020;
    border: 1px solid #d4a017;
    font-weight: 700;
  }
  .recipe-nav { display: none; }
  .recipe-nav.open { display: block; }
  .recipe-nav-inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .recipe-nav a {
    height: auto;
    padding: .55rem 1.15rem;
    font-size: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .recipe-nav a.active, .recipe-nav a.on { margin: .35rem .6rem; align-self: flex-start; }
  .nav-sp { display: none; }
  .nav-drop { display: block; }
  .nav-drop-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: #0b4a2c;
    border-radius: 0;
  }
  .nav-drop.open .nav-drop-menu { display: block; }
  .menu-search { margin: .5rem 1rem 1rem; }
  .menu-search input[type=search] { width: 100%; }
  .brand-logo { height: 51px; }
  .load-row { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 60px; }
  .hero.compact-hero { padding: 8px 0 48px; }
  .hero h1 { font-size: 28px; }
  .is-admin .site-main { margin: 0; border: 0; }
  .grocery-grip { font-size: 1.35rem; padding: .55rem .45rem; }
  .grocery-item.dragging { transform: none; opacity: 1; }
  .promo-grid, .mine-grid, .grocery-hero-row { grid-template-columns: 1fr; }
  .promo-stage { min-height: 340px; overflow: hidden; }
  .phone { left: 0; transform: scale(.78); transform-origin: top left; }
  .gcard { width: 190px; right: 0; top: 120px; }
  .steps { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .nav-right { display: block; }
  .hi-user { font-size: 12px; }
  .addrow { flex-direction: column; }
  .import-row { flex-direction: column; }
}

.hi-user { color: #fff; white-space: nowrap; }
.hi-user a { color: #fff; }
.nav-right { display: inline-flex; align-items: center; }
.recipe-nav a.btn-signup {
  background: #d4a017;
  color: #023020;
  border-radius: 999px;
  height: auto;
  margin: 8px 8px 8px 4px;
  padding: 7px 14px;
}
.recipe-nav a.btn-signup:hover { background: #c08f10; color: #023020; }
.btn.gold { background: #d4a017; color: #023020; }
.btn.gold:hover { background: #c08f10; }
.btn.ghost.light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.75); }
.promo-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.promo-note { margin-top: 12px; font-size: 13px; opacity: .85; }
.promo-grid, .mine-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: center; }
.mine-grid { grid-template-columns: minmax(0, .85fr) minmax(280px, 1.15fr); }
.promo-stage { position: relative; min-height: 430px; }
.phone {
  position: absolute; left: 36px; top: 0; width: 220px; background: #111; border-radius: 28px;
  padding: 8px; box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.screen { background: #fff; border-radius: 22px; overflow: hidden; color: #2a2420; }
.sbar { background: #023020; padding: 10px 12px; }
.sbar img { height: 16px; }
.screen-photo { height: 110px; background: #efe6db center/cover no-repeat; position: relative; }
.screen-copy { padding: 8px 12px 2px; }
.screen-copy b { display: block; color: #023020; }
.screen-copy small, .screen-ings { color: #6b6158; font-size: 12px; }
.screen-ings { list-style: none; margin: 0; padding: 4px 12px 12px; }
.screen-ings li { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.chk { width: 14px; height: 14px; border: 1.5px solid #215c2a; border-radius: 3px; display: inline-block; }
.gcard {
  position: absolute; right: 0; top: 150px; width: 230px; background: #fff; color: #2a2420;
  border-radius: 14px; padding: 12px; box-shadow: 0 16px 36px rgba(0,0,0,.28); transform: rotate(2deg);
}
.gcard h4 { margin: 0 0 8px; color: #215c2a; display: flex; justify-content: space-between; font-size: 14px; }
.gcard h4 span { background: #eef6ea; border-radius: 10px; font-size: 11px; padding: 2px 7px; }
.gi { display: flex; gap: 8px; align-items: center; border-top: 1px solid #f0e8d6; padding: 7px 0; font-size: 13px; }
.gi em { font-style: normal; flex: 1; }
.gi small { display: block; color: #7a6b55; font-size: 11px; }
.gi .rm, .src-badge {
  border: 1px solid #215c2a; color: #023020; background: #fff; border-radius: 10px;
  font-size: 11px; font-weight: 700; padding: 2px 7px;
}
.card-photo { position: relative; }
.src-badge { position: absolute; left: 8px; bottom: 8px; }
.screen-photo .src-badge { position: absolute; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.step { display: flex; gap: 12px; background: #fff; border: 1px solid #e2d3b0; border-radius: 12px; padding: 14px; }
.step b { display: block; color: #023020; }
.step p { margin: 4px 0 0; color: #6b5d48; font-size: 14px; }
.num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: #023020; color: #d4a017;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.priv { margin-top: 28px; background: #023020; color: #fff; border-radius: 14px; padding: 22px; }
.priv h3, .priv p { color: #fff; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.feat { background: #faf5ea; border: 1px solid #eee2c6; border-radius: 12px; padding: 14px; text-align: center; }
.feat b { color: #023020; display: block; margin-bottom: 4px; }
.feat p { margin: 0; color: #6b5d48; font-size: 14px; }
.ctas {
  margin-top: 22px; background: #f4efe4; border: 1px solid #e2d3b0; border-radius: 14px;
  padding: 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
}
.ctas h3 { color: #023020; }
.kick.dark { color: #8a1f16; }
.center { text-align: center; }
.sub { color: #6b5d48; }
.add-panel { background: #fff; color: #2a2420; border-radius: 14px; padding: 16px; border-top: 4px solid #d4a017; }
.add-panel h2 { color: #023020; font-size: 18px; margin-top: 0; }
.import-row, .addrow { display: flex; gap: 8px; }
.import-row { flex-wrap: wrap; }
.import-row input, .addrow input {
  flex: 1 1 240px; border: 2px solid #215c2a; border-radius: 10px; padding: 10px 12px; font: inherit; min-width: 0;
}
.import-row .btn { flex: none; }
.import-bot { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.import-bot .src-badge { position: static; }
.mine-count { color: #fff; }
.chip.on { background: #215c2a; color: #fff; }
.chip em { font-style: normal; opacity: .75; margin-left: 4px; }
.grocery-pill { margin-left: auto; }
.grocery-hero-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.hacts { display: flex; gap: 8px; }
.hb {
  display: inline-flex; align-items: center; border: 1.5px solid rgba(255,255,255,.75); color: #fff;
  border-radius: 20px; padding: 7px 14px; font-weight: 700;
}
.hb:hover { color: #fff; }
.grocery-count { margin-top: 6px; opacity: .9; font-size: 15px; }
.tag {
  display: inline-block; margin-top: 3px; font-size: 12px; color: #7d7466; background: #f1eee8;
  border-radius: 10px; padding: 1px 8px; text-decoration: none;
}
.tag.mine { background: #fdf6e3; color: #9c7410; }
.grocery-name { display: block; }
.grocery-hint-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.text-button {
  background: none; border: 0; color: #8a1f16; font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit;
}
.form-links { margin-top: 12px; }
.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { border-bottom: 1px solid #e2d3b0; text-align: left; padding: 8px; vertical-align: top; }
.table-wrap { overflow-x: auto; }
.login-card { max-width: 28rem; }
.src-line .src-badge { position: static; }
@media (max-width: 800px) {
  .promo-grid, .mine-grid, .feats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ctas { flex-direction: column; align-items: stretch; }
}
@media print {
  .site-header, .site-footer, .no-print, .grocery-move, .grocery-grip, .grocery-remove, .hacts, .dept-pick { display: none !important; }
  body, .site-main, .hero, .is-public .site-main { background: #fff !important; color: #000 !important; max-width: none; }
  .hero h1, .hero p, .grocery-count, .grocery-name, .gdept-head { color: #000 !important; }
  .hero:after { display: none; }
  .gdept-head { border: 0; background: transparent; padding-top: 10px; }
}

/* Guest hero: eyebrow lines up with the phone, about 40px of green above the curve */
.home-hero { padding: 18px 0 80px; }
.home-hero .promo-grid { align-items: start; }
.home-hero .kick { margin-top: 0; }
.home-hero .promo-stage { min-height: 0; height: 348px; }

.fine { font-size: 12.5px; color: #6b5d48; margin: 4px 0 8px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.word-chip {
  display: inline-block; margin: 0 6px 6px 0; padding: 3px 8px; border-radius: 12px;
  background: #f3e6c8; color: #023020; font-size: 13px; text-decoration: none;
}
.dept-admin { margin: 0 0 18px; }
.dept-admin h2 { font-size: 18px; color: #023020; }
.title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.title-row h1 { margin: 0; }
.edit-recipe { flex: none; background: #fff; }
.cook-row { margin: 8px 0 0; }
.cook-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; cursor: pointer; }
.gdept-head {
  list-style: none; margin: 14px 0 6px; padding: 0;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a1f16;
}
.dept-pick {
  flex: none; max-width: 46%; font-size: 12px; font-weight: 700; color: #215c2a;
  border: 1.5px solid #215c2a; border-radius: 6px; padding: 2px 6px; background: #fff;
}
.grocery-text { flex: 1; min-width: 0; }
.grocery-item.pending-remove { background: #faf7f0; }
.removed-note { color: #7a6b55; font-size: 14px; }
.undo-link {
  background: none; border: 0; padding: 0; color: #215c2a; font: inherit; font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
.screen-ings .chk, .s6 .chk { position: relative; }
.screen-ings .chk.on, .s6 .chk.on { background: #215c2a; border-color: #215c2a; }
.screen-ings .chk.on:after, .s6 .chk.on:after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
body.cooking .page-body, body.cooking .direction-list { font-size: 1.2rem; }
body.cooking .direction-list li { font-size: 1.35rem; line-height: 1.45; cursor: pointer; padding-top: .35rem; padding-bottom: .7rem; }
body.cooking .direction-list li.now { background: #fdf6e3; border-radius: 8px; box-shadow: inset 4px 0 0 #d4a017; }
body.cooking .direction-list li.now:before { background: #d4a017; color: #023020; }
body.cooking .direction-list li.done { color: #a89a80; }
body.cooking .direction-list li.done:before { content: "\2713"; background: #215c2a; color: #fff; }

.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 18px; height: 14px; }
.burger span { display: block; height: 2px; background: #023020; border-radius: 2px; transition: transform .28s ease, opacity .28s ease; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.s6 { margin-top: 8px; }
.s6head { text-align: center; padding: 4px 0 0; }
.s6head h2 { font-size: 32px; color: #023020; }
.s6head .sub { margin: 0 0 12px; }
.s6 .srow {
  display: grid; grid-template-columns: .84fr 1.16fr; gap: 30px; align-items: center;
  padding: 6px 0;
}
.s6 .srow + .srow { border-top: 1px solid #f3ead6; }
.s6 .stxt { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.s6 .bn {
  flex: none; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 64px;
  line-height: .9; color: #d4a017; text-shadow: 0 2px 0 #f3e6c8; min-width: 44px;
}
.s6 .stxt h3 { font-size: 22px; line-height: 1.2; color: #023020; margin: 2px 0 6px; }
.s6 .stxt p { font-size: 16px; color: #6b5d48; margin: 0; }
.s6 .pic {
  position: relative; height: 228px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(ellipse at 30% 0%, #fbf6ea, #f3e6c8 85%);
  border: 1px solid #e8dab8; display: flex; align-items: center; justify-content: center;
}
.s6 .pic.g { background: radial-gradient(ellipse at 30% 0%, #eef6ea, #dcebd4 85%); border-color: #cfe2c6; }
.s6 .card {
  background: #fff; border-radius: 14px; color: #2a2420; max-width: 100%;
  box-shadow: 0 10px 26px rgba(60, 40, 10, .14), 0 1px 2px rgba(60, 40, 10, .08);
}
.s6 .ch { font-weight: 700; color: #023020; font-size: 15px; }
.s6 .inp {
  border: 1.5px solid #d9cba8; border-radius: 7px; padding: 4px 9px; margin-top: 6px;
  font-size: 12.5px; background: #fffdf8; display: flex; gap: 6px; min-width: 0;
}
.s6 .inp i { font-style: normal; color: #9a8c74; width: 68px; flex: none; }
.s6 .goldb {
  background: #d4a017; color: #023020; font-weight: 700; text-align: center; border-radius: 20px;
  box-shadow: 0 2px 0 #9c7410; font-size: 13.5px; padding: 6px 14px; margin-top: 8px;
}
.s6 .su { flex: 1 1 210px; width: auto; max-width: 250px; min-width: 0; padding: 11px 14px 12px; }
.s6 .terms { display: flex; align-items: center; gap: 7px; font-size: 11px; margin: 7px 0 8px; color: #5c5040; }
.s6 .chip {
  display: flex; align-items: center; gap: 10px; background: #023020; color: #fff;
  border-radius: 14px; padding: 10px 12px; box-shadow: 0 12px 24px rgba(0, 0, 0, .25); font-size: 12px; line-height: 1.3;
}
.s6 .chip b { display: block; font-size: 13px; color: #fff; }
.s6 .chip .ic {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: #d4a017;
  display: flex; align-items: center; justify-content: center;
}
.s6 .chip .ic.sm { width: 26px; height: 26px; }
.s6 .pic.fit1 { gap: 10px; padding: 8px 12px; }
.s6 .chip.mail { position: static; flex: 1 1 150px; max-width: 210px; min-width: 0; }
.s6 .imp { display: flex; gap: 8px; align-items: center; width: 100%; padding: 0 10px; min-width: 0; }
.s6 .addp { flex: 1 1 180px; min-width: 0; padding: 12px 12px; }
.s6 .row2 { display: flex; margin-top: 8px; border: 2px solid #215c2a; border-radius: 9px; overflow: hidden; }
.s6 .row2 .u { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 7px 8px; font-size: 11px; white-space: nowrap; overflow: hidden; }
.s6 .row2 .ib { background: #d4a017; color: #023020; font-weight: 700; font-size: 13px; padding: 0 12px; display: flex; align-items: center; }
.s6 .or { font-size: 12px; color: #7a6b55; margin-top: 8px; }
.s6 .or span { color: #8a1f16; font-weight: 700; text-decoration: underline; }
.s6 .srcs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.s6 .srcs .src { border: 1px solid #e2d3b0; border-radius: 10px; font-size: 10.5px; padding: 2px 7px; display: inline-flex; align-items: center; gap: 4px; }
.s6 .igdot, .s6 .webdot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.s6 .webdot { background: #215c2a; border-radius: 50%; }
.s6 .arrow { color: #d4a017; font-size: 26px; font-weight: 700; flex: none; }
.s6 .rcwrap { position: relative; flex: none; }
.s6 .rcard { width: 150px; overflow: hidden; transform: rotate(2deg); }
.s6 .rcard .ph, .s6 .cookc .ph { background: #efe6db center/cover no-repeat; position: relative; }
.s6 .rcard .ph { height: 96px; }
.s6 .rcard .ph .src { position: absolute; left: 6px; bottom: 6px; font-size: 10px; background: #fff; border-radius: 8px; padding: 1px 6px; display: inline-flex; gap: 3px; align-items: center; }
.s6 .rcard .t { padding: 8px 10px 10px; }
.s6 .rcard b { display: block; color: #023020; font-size: 13px; }
.s6 .rcard small { font-size: 11px; color: #7a6b55; }
.s6 .new {
  position: absolute; top: -6px; right: -6px; background: #215c2a; color: #fff; font-size: 10px;
  font-weight: 700; border-radius: 10px; padding: 3px 8px;
}
.s6 .ingc { width: min(300px, 92%); padding: 10px 14px; }
.s6 .ir { display: flex; align-items: center; gap: 9px; padding: 4px 0; border-top: 1px solid #f0e8d6; font-size: 13px; }
.s6 .chip.toast { position: absolute; right: 14px; bottom: 12px; }
.s6 .gl { width: min(370px, 96%); padding: 8px 12px; }
.s6 .gh { font-size: 10px; letter-spacing: 1.5px; font-weight: 700; color: #8a1f16; text-transform: uppercase; margin: 2px 0; }
.s6 .gr { display: flex; align-items: center; gap: 8px; padding: 3px 4px; border-top: 1px solid #f0e8d6; font-size: 13px; min-height: 28px; }
.s6 .gr .txt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.s6 .gr .txt b { font-weight: 500; font-size: 13px; }
.s6 .gr .tag { margin: 0; font-size: 10px; padding: 0 7px; }
.s6 .handle { width: 12px; display: flex; flex-direction: column; gap: 2px; flex: none; }
.s6 .handle span { height: 2px; background: #b3a484; border-radius: 2px; }
.s6 .arw { font-size: 9px; line-height: 1; color: #7a6b55; flex: none; }
.s6 .gr.drag { border: 2px solid #d4a017; border-radius: 9px; box-shadow: 0 8px 16px rgba(60, 40, 10, .2); }
.s6 .dropl { height: 3px; margin: 1px 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, #d4a017 0 8px, transparent 8px 14px); }
.s6 .dept { flex: none; font-size: 10.5px; font-weight: 700; color: #215c2a; border: 1.5px solid #215c2a; border-radius: 6px; padding: 1px 6px; background: #fff; }
.s6 .rm { flex: none; border: 1.5px solid #215c2a; color: #023020; background: #fff; font-weight: 700; font-size: 12px; border-radius: 22px; padding: 2px 10px; }
.s6 .rm.hot { background: #eef6ea; box-shadow: 0 0 0 3px rgba(212, 160, 23, .35); }
.s6 .gr.gone { opacity: .7; background: #faf7f0; }
.s6 .gr.gone b { text-decoration: line-through; color: #a89a80; }
.s6 .rmd { font-size: 11.5px; color: #7a6b55; }
.s6 .undo { font-size: 12px; color: #215c2a; font-weight: 700; text-decoration: underline; }
.s6 .cookc { width: min(440px, 100%); display: flex; overflow: hidden; }
.s6 .cookc .ph { width: 120px; flex: none; }
.s6 .cookc .bd { padding: 10px 12px; flex: 1; min-width: 0; }
.s6 .cookc h4 { font-size: 16px; color: #023020; margin: 0 0 4px; }
.s6 .meta { display: flex; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.s6 .meta span { font-size: 10.5px; font-weight: 700; color: #215c2a; background: #eef6ea; border-radius: 10px; padding: 2px 8px; }
.s6 .cs { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.35; padding: 4px 0; border-top: 1px solid #f0e8d6; }
.s6 .cs i {
  flex: none; font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #f3e6c8; color: #023020;
  font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.s6 .cs.now { background: #fdf6e3; border-radius: 8px; border-top-color: transparent; padding: 5px 6px; }
.s6 .cs.now i { background: #d4a017; }
.s6 .cs.done { color: #a89a80; }
.s6 .cs.done i { background: #215c2a; color: #fff; }
.s6 .cmode {
  position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 16px; padding: 5px 10px 5px 6px; font-size: 11.5px; font-weight: 700; color: #023020;
}
.s6 .tg { width: 28px; height: 16px; border-radius: 8px; background: #215c2a; position: relative; }
.s6 .tg:after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.how-page { padding-top: 18px; }

@media (max-width: 640px) {
  .home-hero { padding: 16px 0 72px; }
  .home-hero .promo-stage { height: 300px; overflow: hidden; }
  .title-row { flex-direction: column; align-items: flex-start; }
  .grocery-item { flex-wrap: wrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 32px; padding: 0; border-radius: 6px;
  }
  .recipe-nav {
    display: block; max-height: 0; overflow: hidden;
    transition: max-height .28s ease;
  }
  .recipe-nav.open { max-height: 80vh; overflow-y: auto; }
  .recipe-nav a { font-size: 15px; font-weight: 700; padding: 13px 12px; height: auto; }
  .recipe-nav a.active, .recipe-nav a.on {
    background: #f3e6c8; color: #023020; box-shadow: inset 0 -3px 0 #d4a017;
    margin: 4px 8px; align-self: stretch;
  }
  .menu-search { width: calc(100% - 20px); }
  .s6head h2 { font-size: 25px; }
  .s6 .pic { display: none; }
  .s6 .srow { display: block; padding: 12px 0; }
  .s6 .srow + .srow { border-top: 1px solid #eee2c6; }
  .s6 .stxt { gap: 14px; }
  .s6 .bn { font-size: 38px; min-width: 28px; }
  .s6 .stxt h3 { font-size: 18px; margin: 2px 0 3px; }
  .s6 .stxt p { font-size: 14.5px; }
}
