*{box-sizing:border-box} :root{--paper:#f6f4ec;--ink:#26382c;--rust:#aa4527;--line:#d7d6c8;--muted:#61675d;--card:#fffdf7}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 Arial,sans-serif}header{border-top:4px solid var(--rust);border-bottom:1px solid var(--line);background:#fbfaf4}.mast,main{max-width:1320px;margin:auto;padding:0 clamp(18px,4.7vw,72px)}.mast{display:flex;align-items:center;min-height:78px;gap:12px}.brand{font:bold 29px/.96 Georgia,serif;letter-spacing:-1.6px}.brand small{display:block;margin:7px 0 0 2px;font:bold 9px Arial,sans-serif;letter-spacing:3.1px}.mark{display:block;width:60px;height:auto;flex:none;margin-block:4px}nav{display:flex;gap:6px;margin-left:auto}button,.btn{cursor:pointer;font:inherit;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:6px;padding:9px 14px;font-weight:600}button:hover{background:#ebeadd}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bb7658;outline-offset:2px}nav button{border:0;background:transparent;font-size:13px;display:flex;align-items:center;gap:8px;padding:10px 14px}nav button.active{color:#944024;background:#f2e5d9}.ico,svg{vertical-align:middle}.ico{display:inline-flex;align-items:center;justify-content:center}svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.hero{position:relative;isolation:isolate;overflow:hidden;background:#203b2d;color:#fff9e9;border-radius:10px;margin:28px 0 24px;min-height:192px;padding:32px 38px;display:flex;align-items:center}.hero>div{z-index:1;width:65%}.hero img{position:absolute;right:0;top:0;width:40%;height:100%;object-fit:cover;object-position:50% 49%;mask-image:linear-gradient(to right,transparent,#000 18%)}.kicker,.eyebrow,label,.tblhead{font:700 12px/1.4 'Courier New',monospace;letter-spacing:1.4px;text-transform:uppercase}.kicker{color:#f0c69c;display:flex;align-items:center;gap:10px}.kicker i{width:24px;height:2px;background:#d78e5f}h1,h2,h3,h4,p{margin:0}h1{font:normal clamp(43px,4.4vw,62px)/1.1 Georgia,serif;letter-spacing:-2.5px;margin:9px 0}.hero p{color:#e2e6d8;font-size:14px}.grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(275px,1fr);gap:20px;align-items:start}.card{background:var(--card);border:1px solid var(--line);border-radius:9px;padding:24px;margin-bottom:20px}.head{display:flex;align-items:center;gap:12px;margin-bottom:19px}.tile{width:37px;height:37px;border-radius:7px;background:#f2e4d8;color:var(--rust);display:inline-grid;place-items:center}.tile.green{background:#e6ecdf;color:#426148}h2{font:600 27px/1.15 Georgia,serif;letter-spacing:-1px}h3{font:600 19px/1.25 Georgia,serif;letter-spacing:-.3px}.sub,.hint{font-size:14px;font-weight:500;color:#465345}.head .sub{margin-top:3px}.divide{height:1px;background:var(--line);margin:19px 0}.step{color:var(--rust);font:700 11px 'Courier New',monospace;letter-spacing:.5px;margin-right:9px}.section-title{display:flex;align-items:center;margin-bottom:6px}.fields{display:grid;gap:11px;grid-template-columns:1fr 115px 32px;align-items:end;margin:13px 0}.fields input{width:100%}label{display:block;color:#323f34;margin-bottom:5px;letter-spacing:.06em}input,select,textarea{font:14px Arial,sans-serif;color:var(--ink);background:#fdfcf7;border:1px solid #c9cbbe;border-radius:5px;padding:11px 12px;max-width:100%;width:100%}textarea{min-height:75px}.unit{position:relative}.unit input{padding-right:28px}.unit span{position:absolute;right:10px;top:8px;color:#73796b}.iconbtn{border:0;padding:8px 4px;background:transparent;color:#888c7e}.textbtn{color:var(--rust);border:0;padding:3px 0;background:transparent;font-size:13px}.directions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.direction{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;padding:13px 5px}.direction.on{border-color:var(--rust);color:var(--rust);background:#f9eee3;box-shadow:inset 0 0 0 .5px var(--rust)}.primary{background:var(--rust);color:#fff9ef;border-color:var(--rust)}.primary:hover{background:#92371e}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:19px}.righttitle{display:flex;gap:10px;align-items:center}.righttitle .ico{color:#56694c}.stats{display:grid;grid-template-columns:1fr 1fr;margin:19px 0;padding:16px 0;border-block:1px solid var(--line)}.stat+.stat{border-left:1px solid var(--line);padding-left:19px}.value{font:normal 32px Georgia,serif}.value small{font:14px Arial,sans-serif;color:var(--muted)}.eyebrow,.tblhead{color:#323f34;letter-spacing:.06em}.detail,.entry{display:flex;justify-content:space-between;align-items:center;gap:12px}.detail{font-size:13px;margin-top:9px}.pill{display:inline-flex;align-items:center;padding:3px 9px;border-radius:4px;font:600 12px Arial;color:#4b6247;background:#e8eddf}.shelf{background:#f1f1e6}.entry{width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:13px 0}.entry small{display:block;font:500 13px Arial;color:#465345;margin-top:3px}.bottlemark{background:#dedfc8;color:#536449;width:32px;height:37px;display:grid;place-items:center;border-radius:4px}.entry:nth-of-type(2n) .bottlemark{background:#eedbd0;color:var(--rust)}.entry strong{font:600 16px Georgia,serif}.entry .left{flex:1}.shelf .textbtn{margin-top:14px}.tabgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tabgrid .card{margin:0}.tabgrid h3{margin:14px 0 7px}.block{margin:15px 0}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:12px}.note{background:#edf0e5;padding:14px;border-radius:6px;font-size:13px;margin-top:15px}.error{color:#9c341f}.recipe-row{display:grid;grid-template-columns:minmax(0,1fr) clamp(140px,39%,190px) 30px;gap:8px;margin-bottom:5px}details{border-top:1px solid var(--line);padding:12px 0}summary{cursor:pointer;font-weight:bold}li{margin:8px 0}a{color:var(--rust)}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:5px;padding:8px 15px;z-index:5}#toast:empty,#prints{display:none}main{padding-bottom:50px}.labelbox{background:white;color:black;text-align:center;border:4px double black;font-family:Georgia,serif;padding:8px;overflow:hidden}.labelbox .lbrand{font:bold 24px Georgia}.labelbox b{display:block;font:900 20px Georgia}.labelbox small{display:block;font:bold 10px Arial;letter-spacing:1px}.labelbox svg{width:35px;height:35px;stroke-width:2.4}.ingredientLabel{font:bold 14px/1.25 Arial,sans-serif;color:black;background:white;padding:8px;overflow-wrap:anywhere}.preview{background:#e6e4d9;padding:18px;border-radius:6px;margin:14px 0}.preview .labelbox{max-width:310px;margin:auto}.preview .ingredientLabel{max-width:155px;margin:auto}.preview h4{font:700 12px monospace;color:#323f34;margin-bottom:10px}.saved{color:#465345;font:500 13px Arial}.libraryhead{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.simple{margin-top:8px} @media(max-width:850px){.mast{flex-wrap:wrap;gap:8px;padding-top:13px}nav{margin:6px 0 0;width:100%;overflow:auto}nav button{white-space:nowrap}.grid{grid-template-columns:minmax(0,1.65fr) minmax(225px,1fr);gap:12px}.card{padding:18px}.fields{grid-template-columns:1fr 78px 25px}.hero{margin-top:18px}.direction{flex-wrap:wrap}.tabgrid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.grid,.tabgrid{grid-template-columns:1fr}.hero{padding:22px 19px;min-height:170px}.hero p{font-size:13px}.hero img{width:40%}nav button{padding:10px 8px;font-size:12px;gap:4px}nav svg{width:15px}.card{padding:18px}.directions{gap:5px}.direction{font-size:12px}.tabgrid{gap:10px}.brand{font-size:25px}}@media print{body>*{display:none!important}#prints{display:block!important}#prints>div{break-after:page;page-break-after:always;margin:0;box-sizing:border-box}#prints>div:last-child{break-after:auto}.labelbox{width:80mm;height:50mm}.ingredientLabel{width:40mm;height:30mm;font-size:8pt;line-height:1.11;padding:1mm}body{margin:0;background:white}}
.labelart{display:flex;justify-content:center;align-items:center;gap:5px;margin:3px auto}.labelart img{width:54px;height:42px;object-fit:contain}.lbrand{letter-spacing:-1px;text-shadow:.5px .5px #000}.labelbox b{border-block:1px solid #000;margin:3px 0;padding:2px;text-transform:uppercase;line-height:1}.labelart strong{letter-spacing:2px}.labelbox{width:80mm;max-width:100%}.ingredientLabel{white-space:normal;text-align:center}#prints.measure{display:block;position:absolute;left:-9999px;top:0}.measure .labelbox{height:50mm;width:80mm}.measure .ingredientLabel{width:40mm;height:30mm;font:bold 8pt/1.11 Arial;padding:1mm}.measure .labelbox small{font-weight:700}
.labelSheet{display:block;position:relative;margin:auto;background:white}
.labelSheet img,.labelSheet svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.labelSheet svg{fill:black;stroke:none}
.frontSheet{width:100%;aspect-ratio:8/5}.backSheet{width:min(100%,280px);aspect-ratio:4/3}
@media print{#prints .frontSheet{width:80mm;height:50mm}#prints .backSheet{width:40mm;height:30mm}.labelSheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

#fileSaveMenu {
  width: min(calc(100% - 32px), 28rem);
  max-height: min(88vh, 88dvh);
  overflow: auto;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 16px 48px #26382c33;
}
#fileSaveMenu::backdrop { background: #26382c80; }
#fileSaveMenu .label-save-heading {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
#fileSaveMenu h3 { margin: 0; font-size: 1.45rem; }
.label-save-heading p {
  margin: .2rem 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
button.corner-close {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border-color: #a8b697;
  background: #e7ecd9;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}
button.corner-close:hover { background: #dce5ce; }
.label-save-heading > div { min-width: 0; }
.label-save-options {
  display: grid;
  gap: .45rem;
  margin-top: .85rem;
}
.label-save-options > :is(button, a) {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .6rem .8rem;
  text-align: left;
  text-decoration: none;
}
.label-save-options > [hidden] { display: none; }
#fileSaveMenu > p[role="status"] {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  overflow-wrap: anywhere;
}
#fileSaveMenu > p:empty { display: none; }
.labelPreviewDialog{box-sizing:border-box;width:min(94vw,48rem);max-height:80vh;overflow:auto;padding:0;border:1px solid #aaa299;border-radius:12px;background:#fbfaf4}
.labelPreviewDialog::backdrop{background:rgba(20,19,16,.55)}
.labelPreviewDialog>div:first-child{position:sticky;top:0;background:#fbfaf4;padding:.7rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-bottom:1px solid #ccc}
.labelPreviewDialog strong{overflow-wrap:anywhere;min-width:0}
.labelPreviewDialog button{flex:none}
.labelPreviewDialog>div:last-child{padding:.8rem}
.labelPreviewDialog img{display:block;width:100%;height:auto}

.heatplan{margin:1.4rem 0;padding:1rem;border:1px solid #ccc9b9;border-radius:.7rem}
.heatplan fieldset{min-width:0;margin:1rem 0;padding:.75rem;border:1px solid #ccc9b9;border-radius:.4rem}
.heatplan legend{font-weight:700;padding:0 .4rem}
.heatplan label{display:block;margin:.6rem 0}
.heatplan output{display:block;margin:1rem 0}
.heatplan button{margin:.35rem .35rem .35rem 0}

.pepper-entry{position:relative}
.pepper-entry input{padding-right:2.65rem}
.pepper-entry .pepper-toggle{position:absolute;right:1px;top:1px;bottom:1px;width:2.55rem;padding:0;border:0;background:transparent;color:#304438;font-size:1.2rem}
.pepper-options:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin:-4px 0 14px;padding:5px;max-height:min(11rem,25dvh);overflow-y:auto;overscroll-behavior:contain;background:#f5f3e9;border:1px solid #cecbbb;border-radius:8px}
.pepper-options button{min-height:44px;padding:.5rem .7rem;text-align:left;background:transparent;border:0;color:#293e32;line-height:1.2}
.pepper-options button:hover,.pepper-options button.highlight,.pepper-options button[aria-selected=true]{background:#e6e6d6}
.pepper-options .hint{grid-column:1/-1;padding:.65rem}

.heatplan .yield-switch{display:inline-flex;align-items:center;gap:.65rem;min-height:44px;background:transparent;border:0;padding:.4rem 0;color:#293e32}
.yield-track{display:inline-flex;align-items:center;box-sizing:border-box;width:2.6rem;height:1.55rem;padding:3px;border:1px solid #666e60;border-radius:2rem;background:#e0e0d5}
.yield-track::before{content:"";width:1rem;height:1rem;border-radius:50%;background:#586150}
.yield-switch[aria-checked=true] .yield-track{background:#315239;border-color:#315239;justify-content:flex-end}
.yield-switch[aria-checked=true] .yield-track::before{background:white}

#heatReadout {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: #213628;
}
#heatReadout .projection-row { display: grid; gap: .2rem; min-width: 0; }
#heatReadout .projection-row + .projection-row { padding-top: .85rem; border-top: 1px solid #bcc6b5; }
#heatReadout .projection-label { font-size: 1rem; font-weight: 600; }
#heatReadout strong { font-size: clamp(1.35rem, 4vw, 1.65rem); line-height: 1.25; overflow-wrap: anywhere; }

.new-batch-action{display:flex;justify-content:center;margin-bottom:1rem}
.new-batch-action button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px}
.new-batch-action .ico{color:inherit}
.new-batch-action svg{width:1.15em;height:1.15em}

.planner-disclosure {
  margin: 14px 0;
  border: 1px solid #aab493;
  border-radius: 8px;
  padding: 0;
}
.planner-disclosure[open] { padding: 0 14px 12px; }
.planner-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 14px;
  list-style: none;
  border-radius: 7px;
  background: #e7ecd9;
  color: #25382b;
}
.planner-disclosure > summary::-webkit-details-marker { display: none; }
.planner-disclosure > summary::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin: -4px 3px 0 0;
}
.planner-disclosure[open] > summary {
  margin: 0 -14px 12px;
  border-bottom: 1px solid #aab493;
  border-radius: 7px 7px 0 0;
}
.planner-disclosure[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.new-batch-confirm {
  width: min(26rem, calc(100% - 2rem));
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  color: inherit;
  background: #fcfaf4;
}
.new-batch-confirm::backdrop { background: rgb(0 0 0 / 45%); }
.new-batch-confirm .actions { justify-content: flex-end; }

.field-error:not(:empty) { display: block; margin-top: 4px; }
.field-error { color: #963b22; }

#bottleGoalFeedback:empty { display: none; }
.goal-pepper { margin-top: 6px; }

#heatTarget[aria-invalid="true"] { border-color: #963b22; box-shadow: inset 0 0 0 1px #963b22; }

.adjunct-amount { display: grid; grid-template-columns: minmax(0,1fr); gap: 4px; }
.adjunct-amount input { min-width: 0; padding-inline: 6px; font-variant-numeric: tabular-nums; }

.mast > nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  flex: 0 1 480px;
  overflow: visible;
}
.mast > nav button {
  justify-content: center;
  min-height: 54px;
  padding: 8px 4px;
  border: 2px solid var(--nav-border);
  background: var(--nav-tint);
  color: var(--nav-ink);
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}
.mast > nav button:nth-child(1) {
  --nav-tint: #f8e0d2;
  --nav-border: #c66e4c;
  --nav-ink: #792d17;
  --nav-active: #a53f20;
  --nav-active-ink: #fffdf7;
}
.mast > nav button:nth-child(2) {
  --nav-tint: #e4ecdb;
  --nav-border: #819875;
  --nav-ink: #304b35;
  --nav-active: #496849;
  --nav-active-ink: #fffdf7;
}
.mast > nav button:nth-child(3) {
  --nav-tint: #faeac6;
  --nav-border: #b99147;
  --nav-ink: #593d17;
  --nav-active: #e2b456;
  --nav-active-ink: #372410;
}
.mast > nav button.active {
  border-color: var(--nav-ink);
  background: var(--nav-active);
  color: var(--nav-active-ink);
}
.mast > nav button:hover { border-color: var(--nav-ink); }
.mast > nav svg { width: 21px; height: 21px; flex: none; }
@media (max-width: 850px) {
  .mast > nav { flex: 0 0 100%; }
}
@media (max-width: 650px) {
  .mast > nav button {
    flex-direction: column;
    gap: 5px;
    min-height: 64px;
    font-size: 14px;
  }
}

.sauce-name-field label {
  color: inherit;
  font: 700 1.125rem/1.3 var(--serif, Georgia, serif);
  text-transform: none;
  letter-spacing: normal;
}
.sauce-name-field input {
  min-height: 48px;
  font-size: 1.0625rem;
  font-weight: 600;
}

.community-label-art {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
}
@media print {
  #prints .community-label-art { width: 84.67mm; max-width: 100%; break-inside: avoid; }
}

#fileSaveMenu{box-sizing:border-box;width:min(92vw,26rem);max-height:88vh;overflow:auto;border:1px solid #9d978c;border-radius:12px;padding:1.4rem;color:#24231e;background:#fbfaf4}
#fileSaveMenu::backdrop{background:rgba(20,19,16,.55)}
#fileSaveMenu h3{margin:0}#fileSaveMenu p{overflow-wrap:anywhere}
#fileSaveMenu>div{display:grid;gap:.55rem}#fileSaveMenu>div>*{text-align:left;padding:.8rem;font-size:1rem}
.labelPreviewDialog{box-sizing:border-box;width:min(94vw,48rem);max-height:80vh;overflow:auto;padding:0;border:1px solid #aaa299;border-radius:12px;background:#fbfaf4}
.labelPreviewDialog::backdrop{background:rgba(20,19,16,.55)}
.labelPreviewDialog>div:first-child{position:sticky;top:0;background:#fbfaf4;padding:.7rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-bottom:1px solid #ccc}
.labelPreviewDialog strong{overflow-wrap:anywhere;min-width:0}
.labelPreviewDialog button{flex:none}
.labelPreviewDialog>div:last-child{padding:.8rem}
.labelPreviewDialog img{display:block;width:100%;height:auto}
.community-export-image { display:block; width:100%; max-width:440px; height:auto; }

.label-browser-options {
  border: 1px solid var(--line);
  border-radius: 7px;
}
.label-browser-options summary {
  min-height: 44px;
  padding: .6rem .8rem;
  cursor: pointer;
  font-weight: 700;
}
.label-browser-options > :is(a, button):not([hidden]) {
  display: block;
  width: calc(100% - 1.6rem);
  margin: 0 .8rem .5rem;
  text-align: left;
}

.corner-heading {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
}
.corner-heading > :is(h3, span) { min-width: 0; overflow-wrap: anywhere; }
.corner-heading > h3 { margin: 0 0 .75rem; }
.corner-heading > form { flex: none; margin: 0; }

.tabgrid button.view-recipe-button {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 1rem;
  padding: .65rem .8rem;
  border-color: #a8b697;
  background: #e7ecd9;
  color: var(--ink);
  font-size: 1.0625rem;
  text-align: center;
}
.tabgrid button.view-recipe-button:hover { background: #dce5ce; }

button.all-recipes-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  max-width: 100%;
  padding: .65rem 1rem;
  border-color: #a8b697;
  background: #e7ecd9;
  color: var(--ink);
  font-size: 1.0625rem;
}
button.all-recipes-button:hover { background: #dce5ce; }
.all-recipes-button svg { width: 22px; height: 22px; flex: none; }

.all-recipes-arrow { font-size: 1.3em; line-height: 1; }

.scale-batch-button {
  min-height: 52px;
  max-width: 100%;
  padding: .75rem 1.15rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

@media (max-width: 650px) {
  .scale-batch-button { width: 100%; }
}

.sample-starter { margin-bottom: 1rem; }
.sample-starter h2 { margin: 0; }
.sample-starter p { margin: .45rem 0 .85rem; }
.sample-starter button { min-height: 48px; border-color: #a8b697; background: #e7ecd9; }
.beta-footer { margin-top: 1.5rem; }
.beta-feedback { width: min(32rem, calc(100% - 2rem)); max-height: 85dvh; overflow: auto; }
.beta-feedback label { display: block; margin-top: .85rem; }
.beta-feedback textarea[hidden] { display: none; }

button.term-help {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  padding: 0;
  margin-inline-start: .3rem;
  color: var(--ink);
  background: #e7ecd9;
  border: 1px solid #a8b697;
  border-radius: 50%;
  font: 700 .875rem/1 Arial, sans-serif;
}
button.term-help:hover, button.term-help[aria-expanded="true"] { background: #dce5ce; }
.term-definition {
  position: fixed;
  z-index: 100;
  max-width: min(17rem, calc(100vw - 24px));
  padding: .65rem .8rem;
  border: 1px solid #a8b697;
  border-radius: .5rem;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 6px 20px #26382c30;
  font-size: .9375rem;
  line-height: 1.4;
}
.term-definition[hidden] { display: none; }
.heat-target-label { display: inline-flex; align-items: center; gap: .15rem; }
#heatTarget { width: 100%; }

.recipe-row { align-items: end; }
.adjunct-amount > label, .brine-volume > label {
  grid-column: 1 / -1;
  display: block;
  margin: .15rem 0 0;
  font: 600 .875rem/1.3 Arial, sans-serif;
  text-transform: none;
  letter-spacing: normal;
}
.brine-volume > label { margin-bottom: 4px; }

.food-safety {
  border: 1px solid #b78a52;
  border-left: 4px solid #a76828;
  background: #fff4df;
}
.food-safety h3 { margin: 0 0 .45rem; }
.food-safety p { margin: .45rem 0; }
.food-safety details { margin-top: .8rem; }

.food-safety .ingredient-safety-warning {
  padding: .7rem .8rem;
  border-radius: .4rem;
  background: #f5dfc5;
  color: #502b17;
}
.food-safety .ingredient-safety-warning[hidden] { display: none; }

.beta-feedback .beta-choice {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  text-transform: none;
  letter-spacing: normal;
}
.beta-feedback .beta-choice input { width: auto; min-height: 0; margin: 0; accent-color: var(--ink); }
.beta-feedback fieldset { margin: .5rem 0 0; padding: 0 .75rem; border: 1px solid var(--line); border-radius: .5rem; }
.beta-feedback fieldset .beta-choice { margin: 0; }
.beta-feedback fieldset[hidden] { display: none; }

.yield-assumptions {
  display: block;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
}

.projection-safety {
  display: grid;
  gap: .4rem;
  padding: .65rem .75rem;
  border-left: 3px solid #a76828;
  border-radius: .35rem;
  color: #502b17;
  background: #fff4df;
  font-size: .9375rem;
  line-height: 1.45;
}
#heatReadout .projection-safety strong { font-size: inherit; line-height: inherit; }

.measurement-setting {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-left: auto;
}
.measurement-caption {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
}
.measurement-segments {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 2px;
  border: 1px solid #a8b69c;
  border-radius: 8px;
  background: #e4ecdb;
}
.measurement-segments input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
}
.measurement-segments label {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: .3rem .65rem;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #304b35;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}
.measurement-segments label:hover {
  background: #d5e1cc;
}
.measurement-segments input:checked + label {
  border-color: #304b35;
  background: #496849;
  color: #fffdf7;
}
.measurement-segments input:focus-visible + label {
  outline: 2px solid #944024;
  outline-offset: 2px;
  z-index: 1;
}
@media (max-width: 850px) {
  .measurement-setting {
    margin-block: 2px 8px;
  }
}
@media (max-width: 480px) {
  .measurement-setting {
    width: 100%;
    justify-content: space-between;
  }
}
@media (forced-colors: active) {
  .measurement-segments input:checked + label {
    border-color: Highlight;
  }
}
