@font-face {
  font-family: Nunito;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  font:
    16px/1.5 Nunito,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #223b2e;
  background: #fff8e8;
  --pine: #264b39;
  --line: #d4d9c6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 15px max(5vw, 20px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: var(--pine);
}
header strong {
  letter-spacing: -0.035em;
  font-size: 1.2rem;
}
.mark {
  display: inline-block;
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  border-radius: 8px;
  background: url("/basket-face-192.png") center / cover;
}
main {
  max-width: 830px;
  margin: clamp(22px, 6vh, 72px) auto;
  padding: 0 18px;
}
h1,
h2 {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.07;
}
h1 {
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  margin: 10px 0 24px;
}
h2 {
  font-size: 1.8rem;
  margin: 20px 0 14px;
}
article,
details {
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(16px, 4vw, 32px);
  margin: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
  border-radius: 9px;
}
button {
  color: white;
  background: var(--pine);
  padding: 9px 16px;
  border: 1px solid var(--pine);
  cursor: pointer;
}
button.light {
  color: var(--pine);
  background: #eef1df;
  border-color: var(--line);
}
button:disabled {
  opacity: 0.5;
}
input,
select,
textarea {
  background: white;
  color: #233b30;
  border: 1px solid #a3af9e;
  padding: 10px;
}
label {
  display: grid;
  gap: 4px;
  font-size: 0.89rem;
}
form,
.stack {
  display: grid;
  gap: 12px;
}
.row {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.row input {
  flex: 1;
  min-width: 130px;
}
.spread {
  justify-content: space-between;
}
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.item:last-child {
  border: 0;
}
.item .copy {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tick {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pine);
}
.tick::before {
  content: "";
  grid-area: 1 / 1;
  width: 24px;
  height: 24px;
  border: 2px solid #82977f;
  border-radius: 50%;
  background: white;
}
.tick[aria-pressed="true"]::after {
  content: "";
  grid-area: 1 / 1;
  width: 7px;
  height: 13px;
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  transform: translateY(-2px) rotate(45deg);
}
html {touch-action: pan-x pan-y;}
input, select, textarea {font-size: max(16px, 1em);}
.muted,
small {
  color: #526653;
}
small {
  display: block;
}
.login {
  max-width: 520px;
  margin: auto;
}
.login button {
  width: 100%;
}
nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
#message:not(:empty) {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #203b2e;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  z-index: 5;
  width: max-content;
  max-width: 90vw;
}
a {
  color: var(--pine);
}
:focus-visible {
  outline: 3px solid #a37812;
  outline-offset: 2px;
}
@media (max-width: 540px) {
  main {
    padding: 0 12px;
  }
  .item button.light {
    padding: 6px;
  }
  .row select {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  header {padding-top: max(15px, env(safe-area-inset-top));}
  main {padding-bottom: max(16px, env(safe-area-inset-bottom));}
  nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;}
  nav button {min-height:44px;padding:6px 2px;}
  .item {align-items:flex-start;gap:8px;}
  .item .copy {padding-top:10px;}
  .item button.light {min-height:44px;}

}

.list-summary {display:flex;align-items:center;justify-content:space-between;margin-top:12px}
.icon-button,.info-button,.thumb {display:inline-grid;place-items:center;padding:0}
.icon-button {min-width:44px;min-height:44px}
.info-button {color:#657563;background:transparent;border:0;min-width:32px;min-height:30px}
.info-button svg {width:16px;height:16px}
.purchased-block {margin-top:12px}
.purchased-block h3 {margin:0 0 2px;line-height:1.25}
.purchased .copy b {text-decoration:line-through;color:#596b5c}
.thumb {width:44px;height:44px;flex:none;overflow:hidden;border:1px solid var(--line)}
.thumb img {width:100%;height:100%;object-fit:cover}
.photo-field {display:grid;gap:8px;justify-items:start}
.photo-field img {max-width:120px;border-radius:8px}
dialog {width:min(420px,94vw);max-height:88dvh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:0;color:var(--pine);background:#fffef9}
dialog::backdrop {background:#17322580}
dialog header {padding:12px 16px;justify-content:space-between}
dialog section {padding:16px}
dialog video,.full-photo {width:100%;max-height:55vh;object-fit:contain}
/* Keep the touch area without stretching the line of text around the icon. */
.info-button {position:relative;vertical-align:-.12em;min-height:0;height:1em;line-height:1}
.info-button::after {content:"";position:absolute;inset:-6px 0}
[hidden] {display:none!important}

/* Keep native Safari controls, including the file picker, within grid tracks. */
form, label, .photo-field, .stack {min-width:0;grid-template-columns:minmax(0,1fr)}
form :is(input:not([type=checkbox]),select,textarea), .photo-field label {width:100%;min-width:0}
#add {display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:6px}
#add input {min-width:0}
.app-header {position:sticky;top:0;z-index:3;justify-content:space-between;gap:8px}
#homeLink,.dialog-home {display:inline-flex;align-items:center;gap:9px;color:inherit;text-decoration:none;min-height:44px}
#householdStatus {color:#e3ecd9;text-align:right;line-height:1.15}
.list-filters,.edit-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.list-filters {max-width:28rem}
.list-filters select {width:100%;min-width:0;height:44px}
.app-nav {margin-bottom:12px}
@media(max-width:640px){
 .app-header {padding:env(safe-area-inset-top,0px) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left))}
 .app-header strong {font-size:1rem}
 #householdStatus {font-size:.75rem;max-width:7em}
 main {margin:12px auto 0;padding:0 12px calc(76px + env(safe-area-inset-bottom,0px))}
 h1 {font-size:2rem;margin:0 0 10px;overflow-wrap:anywhere}
 article,details {padding:12px;margin:8px 0;border-radius:12px}
 form,.stack {gap:8px}
 #editor label {gap:2px}
 #editor input:not([type=checkbox]),#editor select {padding:7px 9px;min-height:42px}
 #editor input[type=checkbox] {vertical-align:middle}
 #add button:not(.icon-button) {padding-inline:10px}
 .app-nav {position:fixed;z-index:4;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fffef9;border-top:1px solid var(--line);padding:4px max(8px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left));margin:0;gap:3px}
 .app-nav button {font-size:.9rem;min-height:44px;padding:4px 1px}
 .app-nav .light {background:transparent;border-color:transparent}
 .list-summary {margin-top:4px}
 .list-summary h2 {font-size:1.55rem;margin:8px 0}
 .item {padding:6px 0}
 #message:not(:empty) {bottom:calc(62px + env(safe-area-inset-bottom,0px))}
}
.shopping-head,.sheet-title,.purchases-toggle {display:flex;align-items:center;justify-content:space-between;gap:8px}
.shopping-head>div {min-width:0;flex:1}
.shopping-head select {max-width:100%;min-width:0}
#lists {width:100%;background:transparent;border:0;font-weight:700;font-size:1.15rem;padding:6px 0;color:var(--pine)}
#filter {max-width:40%;min-height:44px}
.shopping-sheet {padding:8px 12px}
.purchases-toggle {justify-content:flex-end}
#visibility {display:inline-flex;align-items:center;gap:6px;font-size:.84rem;background:transparent;border:none;min-height:44px}
.item {align-items:center;gap:4px;padding:6px 0;min-height:47px}
.item .copy {padding:0;line-height:1.22}
.item .copy small {font-size:.81rem;line-height:1.2;margin-top:1px}
.item .copy small:empty {display:none}
.allergen-strip {
  display:block; position:relative; width:100%; height:max(24px,1.35em);
  background:transparent; color:var(--pine); border:0; padding:0;
  font-size:.76rem; line-height:1.1; text-align:left; overflow:hidden;
}
.allergen-strip>span {
  display:inline-flex; align-items:center; gap:4px; white-space:nowrap;
  position:absolute; left:0; top:50%; transform:translateY(-50%); visibility:hidden;
}
.allergen-strip>span.fits {visibility:visible}
.allergen-strip b:not(:first-child) {margin-left:3px}
.allergen-strip img {flex:none}
.item-name {display:flex;align-items:center}
.item-name span {min-width:0}
.item-name .info-button {flex:none}
.item [data-edit] {display:grid;place-items:center;min-width:44px;min-height:44px;background:transparent;border:0;border-left:1px solid var(--line);border-radius:0}
.details-sheet {gap:10px}
.sheet-title h1 {font-family:inherit;font-size:1.18rem;font-weight:650;margin:0}
.sheet-title button {min-height:44px}
.identity-row,.detail-rows {background:#fffef9;border:1px solid var(--line);border-radius:14px;padding:8px 12px}
.identity-row {display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:8px}
#editor .identity-row input:not([type=file]) {border:0;background:transparent;padding:4px 6px;min-height:36px}
#editor #name {font-size:1.1rem;font-weight:650}
#editor .photo-tile {position:relative;background:#edf1e5;border-radius:8px;display:grid;place-items:center;width:60px;height:60px;font-size:.8rem;cursor:pointer}
#editor .photo-tile input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1}
.photo-tile:focus-within {outline:2px solid var(--pine)}
.photo-tile img {position:absolute;width:100%;height:100%;object-fit:cover;border-radius:inherit}
#removePhoto {justify-self:start;font-size:.85rem}
#editor .detail-line {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);min-height:47px;gap:8px;align-items:center;border-bottom:1px solid var(--line);font-size:.95rem}
#editor .detail-line:last-child {border:0}
#editor .detail-line>input,#editor .detail-line>select {justify-self:end;text-align:right;background:transparent;border:0;color:var(--pine)}
.stepper {display:flex;align-items:center;justify-self:end}
.stepper button {padding:0;width:44px;height:44px;background:transparent;color:var(--pine);border:0;font-size:1.3rem}
#editor #qty {width:3em;text-align:center;padding:2px;border:0;appearance:textfield;background:transparent}
#qty::-webkit-inner-spin-button {appearance:none}
.picker {position:relative;display:inline-flex;align-items:center;gap:5px;min-height:44px;max-width:100%;cursor:pointer}
.picker strong,.picker>span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.picker svg {flex:none}
.picker #lists,.picker #filter {position:absolute;inset:0;width:100%;height:100%;max-width:100%;opacity:0;cursor:pointer}
.picker:focus-within {outline:2px solid var(--pine);border-radius:6px}
.list-picker {font-size:1.18rem}
.list-picker svg {width:15px;height:15px}
.purchases-toggle {justify-content:space-between;gap:5px}
.store-picker {color:var(--pine);font-size:.86rem;padding:0 6px;min-width:44px;max-width:48%}
#editor .photo-prompt {display:grid;justify-items:center;align-content:center;gap:3px;font-size:.73rem;line-height:1.1;white-space:nowrap}
#editor .identity-row input:is(#name,#note) {min-height:32px;padding-block:2px}
.app-nav button[data-tab] {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:47px;padding:4px 8px;background:transparent;border:0;color:#59685d;font-size:.76rem;line-height:1.1}
.app-nav button[aria-current=page] {color:var(--pine);font-weight:700}
.nav-symbol {position:relative;display:grid;place-items:center;width:36px;height:24px;border-radius:10px}
[aria-current=page] .nav-symbol {background:#e3ecd9}
.unread-count {position:absolute;top:-4px;left:65%;border-radius:12px;background:var(--pine);color:white;font-size:.64rem;line-height:15px;min-width:15px;padding:0 3px}

.delete-item {justify-self:start;margin-top:8px;background:transparent;color:#923a32;border:1px solid #c99993;min-height:44px}
.section-actions {display:flex;align-items:center;justify-content:space-between;gap:.65rem;margin-block:.5rem}
.section-actions h1 {margin:0}
.review-plan,.recipe-choice {display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;margin-block:6px}
.review-plan {margin-bottom:10px}
.review-form {display:grid;gap:12px}
.review-form p {margin:0}
.review-form [role=status]:empty {display:none}
.review-form input:not([type=checkbox]),.review-form select {width:100%;min-width:0}
.review-form label {min-width:0}
.review-form .ingredient-choice {display:flex;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid var(--line)}
.ingredient-choice small,.receipt-line small {margin-left:auto}
.ingredient-choice input[type=checkbox] {width:1.15rem;height:1.15rem;flex:none}
.receipt-line {display:grid;gap:4px;padding-block:8px;border-top:1px solid var(--line)}
.receipt-line>div {display:flex;align-items:baseline;gap:8px}
.receipt-line label {font-size:.84rem}
.receipt-line {min-inline-size:0}
.receipt-line small,.receipt-line legend {overflow-wrap:anywhere;white-space:normal}
.receipt-line [data-choice] {display:grid}
.review-form label:has(> input[type=checkbox]) {display:flex;align-items:center;gap:.5rem;min-height:44px}
.review-form textarea {width:100%;min-width:0}
.coordinates {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.branch-result {padding:8px 0;border-bottom:1px solid var(--line)}
.branch-result small {display:block}

.updates-heading,.updates-tabs {display:flex;align-items:center;gap:.5rem}
.updates-heading {justify-content:space-between}
.updates-heading details {position:relative}
.updates-heading summary {cursor:pointer;list-style:none;padding:.75rem}
.updates-heading details button {position:absolute;right:0;white-space:nowrap;z-index:2}
.updates-tabs button {flex:1}
.updates-tabs [aria-pressed=true] {background:var(--pine,#254b39);color:white}
.updates-feed .update-row {display:grid;gap:.25rem;width:100%;text-align:left;background:transparent;color:inherit;border:0;border-radius:0;border-bottom:1px solid #a2afa780;padding:.8rem .25rem;white-space:normal;overflow-wrap:anywhere}
.updates-feed .update-row:last-child {border-bottom:0}
.update-row small,dialog li small {display:block}

/* Section navigation and shared BasketCase empty states */
.icon-home #homeLink strong {display:none}
.page-title,.updates-heading h1 {font:700 1.55rem/1.15 Nunito,system-ui,sans-serif;letter-spacing:-.03em;margin:6px 0 10px}
.updates-heading {min-height:44px;margin:0 0 4px}
.updates-heading h1 {margin:0}
.updates-heading details {padding:0;margin:0;border:0;background:transparent}
.updates-heading summary {min-width:44px;text-align:center;padding:8px;line-height:28px}
.update-menu {position:absolute;right:0;top:100%;display:grid;z-index:3;width:max-content;padding:5px;background:#fffef9;border:1px solid var(--line);border-radius:12px}
.updates-heading details .update-menu button {position:static;text-align:left;background:transparent;border:0}
.updates-tabs {padding:3px;background:#e5e8dc;gap:2px;border-radius:12px}
.updates-tabs button.light {border:0;background:transparent;min-height:38px;padding:5px 8px}
.updates-tabs button[aria-pressed=true] {color:var(--pine);background:#fffef9}
.updates-feed {margin-top:6px}
.profile-card,.basket-message,.settings-index button {display:flex;align-items:center;gap:14px}
.profile-card img {width:46px;height:46px;border-radius:12px}
.profile-card small,.basket-message small,.settings-index small,.section-actions small {display:block;font-size:.85rem;font-weight:400}
.settings-index {padding:0 14px}
.settings-index button {width:100%;padding:13px 2px;text-align:left;color:inherit;background:transparent;border:0;border-radius:0}
.settings-index button+button {border-top:1px solid var(--line)}
.settings-index button span:first-of-type {flex:1}
.back-settings {margin:0 0 6px}
.history-day {font:650 .95rem/1.25 Nunito,system-ui,sans-serif;margin:16px 0 4px;letter-spacing:0}
.basket-message {justify-content:space-between;padding:15px 12px;background:#edf0e5;border-radius:14px;margin:8px 0}
.basket-message img {width:66px;height:66px;border-radius:17px}

#homeLink {-webkit-touch-callout:none;user-select:none}

/* The market frames the form. Reserving space below keeps every control reachable. */
body:has(.login) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;

}
body:has(.login) .app-header {
  position: static;
  color: var(--pine);
  background: transparent;
}
main:has(.login) {
  width: 100%;
  margin: auto;
  padding: 1.5rem 1rem clamp(9rem, 17vw, 17rem);
}
.login {
  max-width: 27rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-radius: 24px;
  background: #fffef9;
}
.login h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: .4rem 0 .6rem;
  letter-spacing: -.04em;
}
.login p {margin: 0 0 1.4rem}
.login small {font-weight: 800; letter-spacing: .1em; font-size: .7rem}
.login button {min-height: 46px; font-weight: 800; border-radius: 13px}
.login details {margin: .8rem 0 0; padding: .75rem 1rem; background: #f0f4e7}
.login details form {margin-top: .8rem}
@media (max-width: 640px) {
  main:has(.login) {padding-bottom: calc(30vw + 2rem)}
}

.header-tools {display:flex;align-items:center;gap:12px}
#guide {width:44px;height:44px;padding:0;border-radius:50%;background:transparent;color:white;border:1px solid #91aa9a;font-size:1.2rem}
@media(min-width:641px) {
  .app-header {padding:8px max(18px,calc((100% - 794px)/2))}
  .app-nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
}
.settings-index button:focus-visible,.settings-index button:hover {background:#eef2e6}
.settings-index button svg {flex:none;color:var(--pine)}
.pair-code {display:block;text-align:center;font:700 2.4rem/1.4 ui-monospace,monospace;letter-spacing:.13em}
.guide-row,.key-row {display:flex;align-items:center;gap:10px;padding:9px 0}
.guide-row svg {flex:none;color:var(--pine)}
.key-row {flex-wrap:wrap;border-bottom:1px solid var(--line)}
.key-row strong {flex:1;min-width:6em;overflow-wrap:anywhere}
button.danger {color:#842f2a;background:#fff7f4;border-color:#d8b8b1}

.alert-switch {display:flex;align-items:center;justify-content:space-between;gap:1em;min-height:46px}
.alert-switch span:last-child {width:44px;height:26px;border-radius:18px;padding:3px;background:#708074;display:flex}
.alert-switch span:last-child::after {content:"";width:20px;height:20px;border-radius:50%;background:white}
.alert-switch[aria-checked=true] span:last-child {background:var(--pine);justify-content:flex-end}
.allergen-preference-label {text-align:start}
.allergen-preference-label small {display:block;font:400 .84rem/1.4 Nunito,system-ui,sans-serif;color:#526653}

body.christmas-market:has(.login) .app-header {
  background: url("/art/christmas-lights.svg") right top / min(39vw, 380px) auto no-repeat;
  min-height: min(13vw, 110px);
  align-items: flex-start;
}

/* Separate the fixed canvas from the document that scrolls over it. */
html:has(body:not(.backgrounds-off)) {background-color:var(--board-colour, #fff8e8)}
body {isolation:isolate}
#seasonalScene {
  position:fixed;
  inset:0 0 var(--footer-height, 0px);
  z-index:-1;
  pointer-events:none;
  background-image:var(--board-left), var(--board-right);
  background-repeat:no-repeat;
  background-position:left 1vw bottom .5rem, right 1vw bottom .5rem;
  background-size:min(30vw, 450px) min(20.21vw, 303px), min(28vw, 420px) min(19.91vw, 299px);
}
.backgrounds-off #seasonalScene {display:none}
body:not(.backgrounds-off) :is(.app-header, .app-nav) {background-color:var(--board-colour);color:var(--pine)}
body:not(.backgrounds-off) :is(#householdStatus, #guide) {color:var(--pine)}
body:not(.backgrounds-off) main:has(.app-nav) {padding-bottom:clamp(6rem, 18vw, 17rem)}
.settings-version {display:block;text-align:center;padding:.75rem;font-size:.85rem}
@media (max-width:640px) {
  #seasonalScene {background-size:45vw 30.32vw, 43vw 30.58vw}
  body:not(.backgrounds-off) main:has(.app-nav) {padding-bottom:calc(32vw + var(--footer-height, 64px) + 1rem)}
}

#groupList {display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:4px 8px;font-size:.84rem}
#groupList[aria-pressed=true] {color:white;background:var(--pine)}
.purchases-toggle {flex-wrap:wrap}
.category-group {background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;margin:0;padding:0}
.category-group summary {padding:12px 4px;color:var(--pine)}
.category-group summary span {float:right;font-variant-numeric:tabular-nums;font-weight:500}
#listSyncNote:not([hidden]) {display:flex;align-items:center;gap:8px;margin:8px 0 4px;padding:8px 4px;color:var(--pine);font-size:.85rem}
#listSyncNote svg {flex:none}

.usually-buy {padding:12px 0;border-bottom:1px solid var(--line)}
.usually-buy h3 {margin:0 0 8px}
.usual-item {display:grid;gap:6px;padding:8px 0}
.usual-item .row {gap:6px}
.usual-item button {min-height:44px}

.spending article {padding:clamp(1rem,3vw,2.5rem);border-radius:1rem;background:var(--paper,#fffef9);color:var(--ink,#20372b)}
.spending dl div {display:flex;gap:1rem;justify-content:space-between;padding:.38rem 0}
@media(prefers-color-scheme:dark){.spending article {background:#172a22;color:#f3f4e8}.spending small {color:#dbe7da}}

#recipes {display:inline-flex;align-items:center;gap:7px}
.recipe-dialog {max-width:calc(100% - 24px);width:min(460px,calc(100% - 24px));max-height:min(760px,90dvh);color:#223b2e;background:#fffef9}
.recipe-dialog[open] {display:flex;flex-direction:column;overflow:hidden}
.recipe-dialog button {min-height:44px}
.recipe-nav,.recipe-section {display:flex;align-items:center;justify-content:space-between;gap:8px}
.recipe-nav {padding:7px 17px 0}
.recipe-nav button,.recipe-link,.recipe-remove {background:none;color:#264b39;border:0;padding:0 4px}
.recipe-nav button:only-child {margin-left:auto}
.recipe-dialog:has(#recipeForm) .recipe-nav button:only-child {margin-left:0}
.recipe-scroll {padding:0 22px 22px;overflow:auto;min-height:0}
.recipe-scroll h2 {font-size:28px;line-height:1.12;margin:0 0 18px;overflow-wrap:anywhere}
.recipe-scroll h2+small {display:block;margin:-9px 0 16px}
.recipe-scroll small {color:#526653}
.recipe-new,.recipe-primary {width:100%;min-height:48px!important;border-radius:11px;font-weight:700}
.recipe-new {color:#264b39;background:#eef1df;border:1px solid #d4d9c6;margin-bottom:12px}
.recipe-section {margin:9px 0 7px;font-size:15px}
.recipe-rows {border:1px solid #d4d9c6;border-radius:15px;overflow:hidden}
.recipe-rows:empty {display:none}
.recipe-entry,.recipe-check {display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;text-align:left;background:#fffef9;color:#223b2e;border:0;margin:0;border-radius:0;min-height:54px}
.recipe-entry+.recipe-entry,.recipe-check+.recipe-check {border-top:1px solid #d4d9c6}
.recipe-entry strong,.recipe-entry small {display:block;overflow-wrap:anywhere}
.recipe-entry small {font-size:14px;font-weight:500}
.recipe-symbol {display:grid;place-items:center;background:#eef1df;border-radius:9px;width:39px;height:39px;flex:none}
.recipe-entry .chevron {margin-left:auto;font-size:22px;color:#526653}
.recipe-dialog input:not([type=checkbox]),.recipe-dialog select {width:100%;min-width:0;min-height:44px;border:1px solid #d4d9c6;border-radius:9px;background:#fffef9;color:#223b2e;font-size:16px}
.recipe-field,.recipe-dialog form>label {display:block;margin:18px 0 7px;font-weight:700;font-size:15px}
.recipe-columns {display:grid;grid-template-columns:minmax(0,1.75fr) minmax(70px,1fr) 44px;align-items:center;gap:6px;margin:6px 0}
.recipe-remove {font-size:20px}
.recipe-check {cursor:pointer}
.recipe-check:has(:checked) {background:#eef1df}
.recipe-check input {width:22px;height:22px;min-height:0;margin:0;flex:none;accent-color:#264b39}
.recipe-check span {flex:1;overflow-wrap:anywhere}
.recipe-check small {max-width:35%;text-align:right;overflow-wrap:anywhere}
.recipe-foot {flex:none;padding:13px 22px 16px;border-top:1px solid #d4d9c6}
.recipe-primary:disabled {opacity:.45}
.recipe-status:empty {display:none}
.recipe-warnings,.recipe-status {font-size:14px;margin:6px 0}
