@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument.ttf") format("truetype");
  font-display: swap
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap
}

:root {
  --paper: #f8f7f0;
  --card: #fffef8;
  --ink: #22332a;
  --muted: #5e685b;
  --green: #284e39;
  --pale: #eaf0e2;
  --line: #d8dacd;
  --terra: #a84324;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none
}

* {
  box-sizing: border-box
}

body {
  margin: 0
}

button,
input,
select,
textarea {
  font: inherit
}

button {
  color: inherit;
  cursor: pointer
}

button:disabled {
  cursor: default;
  opacity: .48
}

button,
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent
}

:focus-visible {
  outline: 3px solid #b05c29;
  outline-offset: 3px
}

svg {
  flex-shrink: 0
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  border: 0;
  border-radius: 9px;
  background: transparent
}

button:enabled,
.grocery-item {
  transition: background .16s, color .16s, box-shadow .16s
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04
}

h1 {
  font-size: clamp(48px, 5.2vw, 72px);
  letter-spacing: -.035em
}

h2 {
  font-size: 36px;
  letter-spacing: -.027em
}

h3 {
  font-size: 29px
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--card);
  padding: 12px;
  z-index: 4
}

.skip:focus {
  top: 4px
}

.top {
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line);
  background: #fffcf4
}

.top-inner,
.wrap {
  width: min(1190px, calc(100% - 88px));
  margin: auto
}

.top-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  padding: 0;
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -.055em;
  font-weight: 400;
  gap: 8px;
  color: var(--green)
}

.brand img {
  transform: rotate(-5deg)
}

nav {
  display: flex;
  gap: 9px;
  align-items: center
}

.nav-link,
.settings-nav {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 15px;
  color: #485649;
  white-space: nowrap
}

.nav-link.selected,
.settings-nav.selected,
.filter.active {
  background: var(--pale);
  color: var(--green)
}

.nav-link:hover,
.settings-nav:hover,
.filter:hover,
.text-button:hover,
.icon-btn:hover,
.date-button:hover {
  background: #eaede2
}

.settings-nav {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 14px
}

.wrap {
  padding: 40px 0 calc(60px + env(safe-area-inset-bottom))
}

.page-head,
.toolbar,
.panel-head,
.rail-foot,
.box-tools,
.list-intro,
.dialog-head,
.inline-actions,
.card-actions,
.field,
.check-line,
.settings-footer,
.kickers,
.meta {
  display: flex;
  align-items: center
}

.page-head,
.toolbar,
.panel-head,
.rail-foot,
.box-tools,
.list-intro,
.dialog-head,
.field {
  justify-content: space-between;
  gap: 14px
}

.page-head {
  margin-bottom: 25px
}

.week-nav {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--card);
  padding: 3px
}

.icon-btn,
.date-button {
  padding: 0 8px;
  min-height: 34px;
  min-width: 34px;
  border-radius: 18px
}

.date-button {
  font-size: 14px;
  font-weight: 600;
  gap: 8px
}

.toolbar {
  padding: 0 0 20px
}

.segmented {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #eceee4
}

.seg {
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 650;
  color: #566356
}

.seg.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 4px #22332a20
}

.text-button {
  font-size: 13px;
  font-weight: 650;
  padding: 8px;
  color: var(--green)
}

.deck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px
}

.feature,
.week-panel,
.sheet,
.box-card,
.aisle,
.empty {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card)
}

.feature,
.box-card {
  overflow: hidden
}

.cover {
  position: relative;
  aspect-ratio: 3;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
  overflow: hidden;
  background: #d8d4bd
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.cover-label,
.float-heart {
  position: absolute;
  top: 14px;
  background: #fffdf2f2;
  color: #2f3c2c;
  box-shadow: 0 1px 4px #0001
}

.cover-label {
  left: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 720
}

.float-heart {
  right: 14px;
  width: 37px;
  height: 37px;
  border-radius: 50%
}

.float-heart.on {
  color: var(--terra)
}

.float-heart.on .icon {
  fill: currentColor
}

.float-heart:hover {
  background: white
}

.feature-body {
  padding: 24px 28px 23px
}

.kickers,
.eyebrow {
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra);
  gap: 9px;
  flex-wrap: wrap
}

.kickers b {
  font-weight: 600
}

.feature h2 {
  font-size: clamp(37px, 3.8vw, 55px);
  margin: 7px 0 9px
}

.title-link {
  padding: 0;
  display: inline;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  border-radius: 3px
}

.title-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px
}

.desc,
.sheet p,
.dialog-body p,
.empty p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted)
}

.meta {
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 570;
  margin-top: 19px;
  color: #465749
}

.meta span,
.storage strong,
.new-count {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.card-actions {
  gap: 9px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap
}

.primary,
.soft,
.pinned {
  font-weight: 650;
  font-size: 14px;
  min-height: 41px;
  padding: 9px 16px;
  line-height: 1.2
}

.primary {
  background: var(--green);
  color: white;
  border: 1px solid var(--green)
}

.primary:enabled:hover {
  background: #193d2b
}

.soft {
  background: var(--card);
  border: 1px solid #cbd0c2
}

.soft:enabled:hover,
.pinned:hover {
  background: #edf1e7
}

.pinned {
  background: #e0ebd8;
  border: 1px solid #c3d1b9;
  color: var(--green)
}

.read {
  margin-left: auto
}

.week-panel {
  padding: 22px 20px 15px
}

.panel-head h2 {
  font-size: 33px
}

.panel-summary,
.hint,
.quiet {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5
}

.panel-summary {
  margin: 3px 0 14px
}

.rail {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px
}

.lane-row {
  --lane-paper: #fcfaf1;
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 64px;
  padding: 8px 12px;
  overflow: hidden;
  text-align: left;
  border: 1px solid #dedecf;
  border-radius: 9px;
  background: var(--lane-paper);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none
}

.lane-row:hover {
  --lane-paper: #f0f3e8
}

.lane-row.active {
  --lane-paper: #eef2e4;
  border-color: #728469;
  box-shadow: inset 3px 0 #3b6445
}

.lane-art {
  position: absolute;
  inset: 0 0 0 54%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none
}

.lane-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--lane-paper), transparent 20%)
}

.lane-copy {
  display: grid;
  width: 53%;
  min-width: 0;
  gap: 3px
}

.open-lane .lane-copy {
  width: 100%
}

.day {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  line-height: 1.25;
  color: #536151;
  text-transform: uppercase;
  font-weight: 680;
  letter-spacing: .045em
}

.rail-name {
  display: block;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.23;
  overflow-wrap: anywhere
}

.rail-foot {
  margin: 12px 0 13px;
  padding-top: 9px;
  border-top: 1px solid var(--line)
}

.new-count {
  color: var(--terra);
  font-size: 11px;
  font-weight: 600
}

.wide {
  width: 100%;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px
}

.hint {
  margin-top: 8px
}

.tag {
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px
}

.tag.new {
  color: #874321;
  background: #f5e8d8;
  letter-spacing: .035em;
  text-transform: none
}

.empty {
  text-align: center;
  padding: 50px 24px;
  color: var(--green)
}

.empty h2 {
  margin: 13px 0 8px
}

.empty p {
  max-width: 46ch;
  margin: 0 auto 18px
}

.prep-empty {
  min-height: 300px
}

.box-tools,
.list-intro {
  margin: 20px 0
}

.filter-row,
.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.filter {
  font-size: 13px;
  font-weight: 650;
  padding: 9px 12px
}

.filter small {
  font-weight: 500;
  opacity: .8
}

.search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line)
}

.search input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 16ch;
  font-size: 14px
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px
}

.box-photo {
  position: relative;
  aspect-ratio: 3
}

.box-body {
  padding: 15px 18px 21px
}

.box-body h2 {
  font-size: 28px;
  margin-top: 5px
}

.grocery-grid,
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start
}

.list-intro p {
  color: var(--muted);
  font-size: 14px
}

.list-intro strong {
  color: var(--ink)
}

.aisle,
.sheet {
  padding: 22px 24px
}

.aisle h2,
.sheet h2 {
  font-size: 32px;
  margin-bottom: 10px
}

.aisle h2 small {
  font: 500 13px var(--sans);
  color: var(--muted);
  margin-left: 10px
}

.grocery-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  font-size: 14px;
  cursor: pointer
}

.grocery-item b {
  margin-left: auto;
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap
}

.grocery-item.checked {
  color: var(--muted);
  text-decoration: line-through
}

input[type=checkbox] {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  flex-shrink: 0
}

.field {
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  line-height: 1.4
}

.field input[type=number] {
  width: 65px
}

select,
.field input:not([type=checkbox]) {
  background: #fffcf5;
  color: var(--ink);
  border: 1px solid #cdd1c3;
  border-radius: 7px;
  padding: 8px;
  font-size: 14px
}

.sheet p {
  margin: 0 0 12px
}

.sheet .subhead {
  margin-top: 27px
}

.settings-footer {
  margin-top: 15px;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px
}

.check-line {
  gap: 8px;
  font-size: 14px
}

.notice {
  background: #f6ebd9;
  border: 1px solid #ddc7a7;
  color: #704322;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px
}

dialog {
  padding: 0;
  width: min(530px, calc(100% - 24px));
  max-height: 85dvh;
  border: 1px solid #c9d0c0;
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 100px #08220d35
}

dialog::backdrop {
  background: #1d30296c
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px
}

.dialog-head h2 {
  font-size: 34px
}

.dialog-body {
  padding: 20px 24px 24px
}

.dialog-body h3 {
  margin: 24px 0 11px
}

.dialog-body .kickers {
  margin-bottom: 6px
}

.dialog-body form,
.dialog-body .check-line {
  margin-bottom: 12px
}

.dialog-body fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 12px 0;
  padding: 14px
}

.dialog-body .primary {
  margin-top: 12px
}

.dialog-body legend {
  font-size: 14px;
  font-weight: 650
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.ingredients {
  padding: 0;
  list-style: none
}

.ingredients li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 14px
}

.ingredients b {
  white-space: nowrap;
  font-weight: 600
}

.steps {
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.55
}

.steps li {
  padding-left: 4px;
  margin: 8px 0
}

.steps li::marker {
  color: var(--terra);
  font-weight: 700
}

.storage {
  margin: 20px 0;
  padding: 14px 16px;
  background: var(--pale);
  border-radius: 10px
}

.storage strong,
.storage p {
  font-size: 13px
}

.dialog-body .hint {
  font-size: 12px
}

.toast {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(540px, calc(100% - 24px));
  z-index: 4;
  background: #203e2e;
  color: white;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 5px 22px #0002
}

.toast:not(:empty) {
  padding: 12px 18px
}

.form-error:not(:empty) {
  color: #882e17;
  font-size: 14px;
  margin: 10px 0
}

.mobile-days {
  display: none
}

.swipe-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px
}

@media(max-width:750px) {
  .mobile-days {
    display: flex;
    gap: 3px;
    margin: -3px 0 10px
  }

  .day-chip {
    flex: 1;
    padding: 8px 1px;
    min-height: 44px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 7px
  }

  .day-chip[aria-pressed=true] {
    background: var(--pale);
    color: var(--green);
    box-shadow: inset 0 -2px var(--green)
  }
}

.subscription {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--pale);
  font-size: 14px
}

body[aria-busy=true] #app {
  cursor: progress
}

@media(min-width:1450px) {
  .wrap {
    padding-top: 50px
  }

  .cover {
    aspect-ratio: 2.1
  }
}

@media(max-width:1000px) {

  .top-inner,
  .wrap {
    width: calc(100% - 48px)
  }

  .deck-layout {
    gap: 18px;
    grid-template-columns: 1.15fr 1fr
  }

  .week-panel {
    padding: 18px 12px 12px
  }

  .feature-body {
    padding: 20px
  }

  .meta {
    gap: 10px
  }

  .nav-link {
    padding: 9px 12px
  }
}

@media(max-width:750px) {

  .top-inner,
  .wrap {
    width: calc(100% - 30px)
  }

  .top-inner {
    min-height: 60px;
    flex-wrap: wrap;
    gap: 0
  }

  .brand {
    font-size: 32px;
    margin: 10px 0
  }

  .brand img {
    width: 31px;
    height: 31px
  }

  .settings-nav {
    margin-left: auto
  }

  .top-inner nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 5px 0;
    gap: 3px
  }

  .nav-link {
    flex: 1;
    padding: 8px 4px;
    font-size: 12px
  }

  .wrap {
    padding: 20px 0 calc(42px + env(safe-area-inset-bottom))
  }

  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 9px
  }

  .week-nav {
    align-self: center
  }

  .date-button {
    font-size: 12px
  }

  .week-nav .icon-btn {
    min-width: 28px
  }

  .deck-layout {
    grid-template-columns: 1fr
  }

  .week-panel {
    padding: 18px
  }

  .box-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
  }

  .grocery-grid,
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .seg {
    font-size: 13px;
    padding: 8px 12px
  }

  .toolbar {
    gap: 4px;
    padding-bottom: 14px
  }

  .toolbar>.text-button {
    font-size: 12px
  }

  .box-tools,
  .list-intro {
    flex-wrap: wrap
  }

  .box-body {
    padding: 12px
  }

  .box-body h2 {
    font-size: 24px
  }

  .box-photo .float-heart {
    width: 36px;
    height: 36px;
    right: 6px;
    top: 6px
  }

  .feature h2 {
    font-size: 39px
  }

  .rail-name {
    font-size: 14px
  }

  .card-actions>* {
    min-height: 42px
  }

  .quiet {
    align-self: center
  }

  .settings-grid .sheet {
    padding: 17px 18px
  }

  .settings-grid .field {
    min-height: 54px
  }
}

@media(max-width:440px) {
  .page-head {
    display: block
  }

  .week-nav {
    width: max-content;
    margin-top: 10px
  }

  .seg {
    padding: 8px 10px
  }

  .feature-body {
    padding: 16px
  }

  .meta {
    font-size: 11px;
    gap: 9px
  }

  .primary,
  .soft,
  .pinned {
    padding: 9px 12px;
    font-size: 13px
  }

  .read {
    font-size: 12px;
    padding: 6px
  }

  .desc {
    font-size: 14px
  }

  .nav-link {
    min-height: 44px
  }

  .box-grid {
    gap: 9px
  }

  .filter {
    padding: 7px 9px
  }

  .box-body .kickers {
    font-size: 9px
  }

  .panel-head h2 {
    font-size: 30px
  }

  .field select {
    max-width: 55%
  }
}

.art-gallery p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5
}

.gallery-filters, .scene-editions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px
}

.gallery-filters label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 650
}

.gallery-filters select {
  width: 100%;
  min-height: 44px;
  font-size: 16px
}

.scene-pair h3 {
  font-size: 27px;
  margin: 24px 0 10px
}

.scene-pair figure {
  margin: 0
}

.scene-pair img {
  aspect-ratio: 3;
  height: auto;
  border-radius: 7px
}

.scene-pair figcaption {
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted)
}

dialog:has(.art-gallery) {
  width: min(820px, calc(100% - 24px))
}

.recipe-photo {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px
}

@media(max-width: 750px) {
  .week-nav .icon-btn, .nav-link, .settings-nav, .card-actions > *, .dialog-head .icon-btn {
    min-height: 44px
  }

  .box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .field input:not([type=checkbox]), .field select, .search input { font-size: 16px }
  .gallery-link { margin-top: 8px }
  .toolbar .segmented { flex-shrink: 0 }
  .toolbar .seg, .toolbar > .text-button { white-space: nowrap; gap: 5px; padding-inline: 8px }
  .card-actions { gap: 7px }
  .card-actions .soft, .card-actions .primary, .card-actions .pinned { padding-inline: 10px; gap: 5px }
  .card-actions .read .icon { display: none }
  .scene-editions { grid-template-columns: 1fr; gap: 12px }
  .art-gallery { padding: 18px }
}

@media(max-width: 360px) {
  .toolbar .seg .icon, .toolbar > .text-button .icon { display: none }
}

@media (orientation: landscape) and (max-height: 550px) {
  body { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right) }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important
  }
}

@media print {

  .top,
  .week-nav,
  .inline-actions,
  .skip,
  .toast,
  .notice,
  .toolbar,
  .finish,
  dialog {
    display: none !important
  }

  .wrap {
    padding: 0;
    width: 100%
  }

  body {
    background: white
  }

  .page-head {
    margin: 0 0 12px
  }

  h1 {
    font-size: 32pt
  }

  .grocery-grid {
    display: block;
    columns: 2
  }

  .aisle {
    break-inside: avoid;
    border: 0;
    padding: 6px
  }

  .aisle h2 {
    font-size: 18pt
  }

  .grocery-item {
    padding: 5px 0
  }

  .list-intro {
    margin: 0 0 8px
  }
}

.catalog-tools,.recipe-tabs {display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.catalog-tools .search {flex:1;min-width:12rem}
.catalog-tools select,.studio-form input:not([type=radio]):not([type=checkbox]),.studio-form select,.studio-form textarea {
  box-sizing:border-box;max-width:100%;min-height:2.75rem;border:1px solid #c9c2af;border-radius:.55rem;
  background:#fffdf7;color:#283c31;padding:.5rem .65rem;font:inherit;font-size:1rem}
.catalog-more {margin:1.5rem auto;display:block}.catalog-count {margin:.75rem 0 1rem}.box-body small {display:block;margin-top:.45rem}
.recipe-tabs {margin:1rem 0}.studio-form {display:grid;gap:.9rem}.studio-form h3,.studio-form p,.studio-form .hint {margin:0}
.studio-form button {justify-self:start}.studio-field {display:grid;gap:.3rem;min-width:0;font-size:.95rem}
.studio-field>span,.share-choice legend {font-weight:650}.studio-field textarea {width:100%;resize:vertical}
.studio-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.ingredient-edit {padding:.85rem 0;border-bottom:1px solid #dcd6c5;display:grid;grid-template-columns:1fr 1fr;gap:.5rem .75rem}
.ingredient-edit .studio-field:first-child {grid-column:1/-1}
.share-choice {display:grid;gap:.6rem}.share-details {display:grid;gap:.75rem}
.share-details[hidden],.studio-form [hidden] {display:none}.studio-form label input:is([type=checkbox],[type=radio]) {margin-right:.4rem}
.review-notes,.nutri-energy {padding:.85rem 1rem;background:#f2eddc;border-radius:.7rem}
.review-notes ul {padding-left:1.25rem;margin-bottom:0}.capture-reference {max-width:100%;max-height:18rem;object-fit:contain}
.nutri-energy {display:flex;align-items:baseline;gap:.6rem;margin:1rem 0;background:#e3ebdb}
.nutri-energy strong {font-size:2rem}.nutrient-group dl {margin:0}.nutrient-group dl div {display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;border-bottom:1px solid #e3dece}
.nutrient-group dd {margin:0;font-weight:650}.nutrition-sheet .text-button {margin:.5rem}
body[aria-busy="true"] .studio-form button[type=submit] {opacity:.65;cursor:progress}
@media(max-width:600px) {.page-head:has(.inline-actions){align-items:flex-start;flex-direction:column;gap:.6rem}.catalog-tools select{max-width:100%}.studio-form{padding-bottom:max(1rem,env(safe-area-inset-bottom))}}

.account-wrap { max-width: 42rem; margin: 2rem auto; padding: 0 1rem 3rem; }
.account-wrap .sheet, .household-link { margin: 1rem 0; padding: 1.4rem; }
.account-brand, .household-link { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.account-brand { color: inherit; font-size: 1.45rem; text-decoration: none; font-weight: 700; }
.account-wrap input[readonly] { width: 100%; }
.house-menu { padding-inline-start: 1.2rem; }
.house-menu li, .house-item { margin: .5rem 0; }
.house-item button { text-align: left; padding: .65rem; width: 100%; }
.house-item button[aria-pressed=true] { text-decoration: line-through; opacity: .7; }
