@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Instrument+Serif:ital@0;1&display=swap");
:root {
  --paper: #f7f5ee;
  --white: #fffefa;
  --ink: #29372d;
  --muted: #626d5d;
  --line: #e4e4da;
  --yellow: #edda89;
  --yellow-light: #f2e7b3;
  --green: #344b35;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
input:focus-visible,
select:focus-visible {
  outline: 2px solid #82956c;
  outline-offset: 2px;
}
input:invalid {
  outline-color: #b44832;
}
.container {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 40px;
}
.header {
  height: 104px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 50px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 29px;
  letter-spacing: -1.4px;
  font-weight: 650;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  margin-right: 11px;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 33px;
  font-weight: 400;
  line-height: 1;
  padding-bottom: 6px;
}
.brand-mark > span {
  font: 14px var(--font);
  position: absolute;
  right: 5px;
  top: 7px;
}
.brand-dot {
  color: #9c883f;
}
.header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 12px;
  font-weight: 550;
}
.header nav a {
  text-decoration: none;
}
.header nav button {
  padding: 8px 0;
}
.header nav span {
  padding-left: 4px;
  color: var(--muted);
}
.nav-current {
  position: relative;
}
.nav-current:after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  position: absolute;
  bottom: -12px;
  left: 50%;
}
.header-note {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 0 35px;
}
.eyebrow,
.small-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 650;
}
.eyebrow {
  color: var(--muted);
  margin: 0 0 9px;
}
.tiny-sun {
  font-size: 18px;
  vertical-align: -2px;
  margin-right: 7px;
  color: var(--ink);
}
h1 {
  font: normal clamp(38px, 4.6vw, 59px)/1.05 var(--serif);
  letter-spacing: -1.5px;
  margin: 5px 0 14px;
}
.intro-copy {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.intro-stamp {
  width: 108px;
  transform: rotate(9deg);
  text-align: center;
  margin: 0 15px 0 0;
}
.intro-stamp span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1px;
  display: block;
}
.intro-stamp svg {
  height: 53px;
  width: 70px;
  fill: var(--yellow-light);
  stroke: var(--green);
  stroke-width: 1.5;
}
.intro-stamp svg path + path {
  fill: none;
}
.category-tabs {
  display: flex;
  border-bottom: 1px solid #d5d8cb;
  margin-bottom: 24px;
  gap: 8px;
}
.category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 23px 19px;
  min-width: 172px;
  border-bottom: 2px solid transparent;
  position: relative;
  margin-bottom: -1px;
  font-weight: 550;
  font-size: 14px;
  color: var(--muted);
}
.category svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category.active {
  border-color: var(--green);
  color: var(--ink);
}
.category.active:before {
  content: "";
  position: absolute;
  bottom: 0;
  inset: 0 0 0;
  z-index: -1;
  background: linear-gradient(transparent, #eceee3);
}
.category-count {
  font-size: 11px;
  align-self: flex-start;
  padding-top: 4px;
  margin-left: 8px;
  color: #8d9285;
}
.category:hover {
  color: var(--green);
  background: #eef0e7;
}
.time-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 33px;
  min-height: 156px;
  padding: 24px 32px;
  background: var(--yellow);
  border-radius: 5px;
  overflow: hidden;
}
.time-main {
  min-width: 330px;
}
.time-main > .small-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1.4px;
}
.time-main svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.time-number {
  font-size: 39px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 5px;
}
.time-number small {
  font-size: 24px;
  font-weight: 450;
  letter-spacing: -0.5px;
  margin-right: 7px;
}
.time-main p {
  font-size: 11px;
  margin: 0;
  opacity: 0.8;
}
.time-divider {
  height: 86px;
  width: 1px;
  background: #c4b66d;
  opacity: 0.55;
}
.time-secondary {
  display: flex;
  gap: 40px;
  align-items: center;
  padding-right: 100px;
}
.time-secondary > div:first-child {
  min-width: 90px;
}
.time-secondary .small-label {
  font-size: 11px;
  letter-spacing: 1.3px;
  white-space: nowrap;
  display: block;
  margin-bottom: 8px;
}
.time-secondary strong {
  font-size: 24px;
  font-weight: 500;
  white-space: nowrap;
}
.time-secondary p {
  font-size: 11px;
  max-width: 150px;
  margin: 0;
  line-height: 1.6;
}
.time-sketch {
  position: absolute;
  right: 24px;
  top: 24px;
  transform: rotate(12deg);
  opacity: 0.7;
}
.time-sketch svg {
  width: 100px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
}
.recipe-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 36px 0 23px;
}
.recipe-heading .eyebrow {
  font-size: 11px;
  letter-spacing: 1.3px;
}
.recipe-heading h2 {
  font: normal 35px/1.2 var(--serif);
  letter-spacing: -0.4px;
  margin: 0 0 5px;
}
.recipe-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.text-btn {
  font-size: 11px;
  padding: 3px 0;
  font-weight: 500;
  text-underline-offset: 4px;
}
.text-btn:hover {
  text-decoration: underline;
}
.reset-btn {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 6px;
}
.reset-btn span {
  font-size: 11px;
}
.workspace {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  align-items: start;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.dough-settings,
.settings,
.ingredients {
  padding: 27px 28px 0;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.section-number {
  width: 22px;
  height: 22px;
  background: #efeee7;
  border-radius: 50%;
  font-size: 11px;
  display: grid;
  place-items: center;
  color: #7b806f;
}
.section-title h2 {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.3px;
  margin: 0;
}
.small-muted {
  font-size: 11px;
  color: var(--muted);
}
.section-title > .small-muted {
  margin-left: auto;
  font-size: 11px;
}
.field {
  margin: 0 0 19px;
  min-width: 0;
}
.field > label,
.label-value > label {
  font-size: 11px;
  font-weight: 550;
  display: block;
  margin-bottom: 8px;
}
input[type="number"],
input[type="datetime-local"],
select {
  border: 1px solid #dddfd4;
  border-radius: 4px;
  background: #fffefa;
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  line-height: 1.4;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
select {
  appearance: none;
  font-size: 12px;
  padding-right: 33px;
  cursor: pointer;
}
.select-wrap {
  position: relative;
}
.select-wrap > span {
  position: absolute;
  right: 13px;
  top: 7px;
  font-size: 20px;
  pointer-events: none;
  color: var(--muted);
}
.amount-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stepper {
  display: flex;
  border: 1px solid #dddfd4;
  border-radius: 4px;
  height: 44px;
  overflow: hidden;
}
.stepper button {
  width: 39px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: #5c6b50;
}
.stepper button:hover {
  background: #f0f2e8;
}
.stepper input {
  border: 0;
  min-height: 0;
  text-align: center;
  padding: 5px;
  width: 100%;
  border-radius: 0;
}
.unit-input {
  position: relative;
}
.unit-input input {
  padding-right: 45px;
}
.unit-input > span {
  position: absolute;
  right: 13px;
  top: 13px;
  color: var(--muted);
  font-size: 11px;
}
.field-footnote {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin: 7px 0 0;
}
#weight-note {
  margin: -10px 0 23px;
  font-size: 11px;
}
.hydration-block {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-bottom: 24px;
}
.label-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.label-value > label {
  margin: 0;
}
.help {
  border: 1px solid #b9bfac;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  font-size: 11px;
  line-height: 10px;
  padding: 1px;
  margin-left: 4px;
  color: var(--muted);
}
.hydration-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hydration-value input {
  font-size: 27px;
  text-align: right;
  letter-spacing: -1px;
  border: 0;
  width: 84px;
  padding: 0;
  min-height: 35px;
  background: transparent;
}
.hydration-value > span {
  font-size: 13px;
  color: var(--muted);
}
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  display: block;
  cursor: pointer;
  margin: 8px 0;
  background: linear-gradient(to right, var(--green) 41%, #e4e6d9 41%);
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 4px solid var(--green);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px var(--white);
}
input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 4px solid var(--green);
  border-radius: 50%;
  background: var(--white);
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 17px;
  gap: 16px;
}
.range-labels span {
  flex: 1;
  min-width: 0;
}
.range-labels span:last-child {
  text-align: right;
}
.hydration-presets {
  display: flex;
  gap: 7px;
}
.hydration-presets button {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 11px;
  flex: 1;
  white-space: nowrap;
}
.hydration-presets button.selected {
  background: #eef1e7;
  border-color: #bac5a8;
  color: var(--green);
}
.hydration-presets small {
  font-size: 11px;
  display: block;
  margin-top: 1px;
  color: var(--muted);
}
#hydration-hint {
  font-size: 11px;
  margin-top: 11px;
}
.method-field {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-bottom: 22px;
}
.advanced {
  border-top: 1px solid var(--line);
}
.advanced summary {
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
.advanced summary::-webkit-details-marker {
  display: none;
}
.advanced summary > span {
  font-size: 17px;
  color: var(--muted);
  line-height: 17px;
}
.advanced[open] summary > span {
  transform: rotate(45deg);
}
.advanced-content {
  padding: 5px 0 6px;
}
.checkbox-label {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 23px;
}
.checkbox-label input {
  accent-color: var(--green);
}
#start {
  font-size: 11px;
}
#start-now {
  font-size: 11px;
  margin-top: 8px;
}
.settings-bottom {
  background: #f8f8f1;
  padding: 13px 28px;
  margin: 0 -28px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  border-radius: 0 0 6px 6px;
}
.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #6f865a;
  border-radius: 50%;
  margin-right: 5px;
}
.ingredients {
  padding-bottom: 24px;
}
.ingredients .section-title {
  margin-bottom: 19px;
}
.recipe-tag {
  font-size: 11px;
  color: #77816b;
  letter-spacing: 0.9px;
  margin-left: auto;
}
.yield-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f3e9;
  border-radius: 4px;
  padding: 17px 20px;
  margin-bottom: 18px;
  min-height: 88px;
}
.yield-summary .small-label {
  display: block;
  font-size: 11px;
  color: #7b846f;
  letter-spacing: 1.4px;
  margin-bottom: 5px;
}
.yield-summary strong {
  display: block;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.3px;
}
.yield-summary svg {
  width: 83px;
  height: 64px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
th {
  text-align: left;
  font-weight: 500;
}
thead th {
  font-size: 11px;
  color: var(--muted);
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line);
}
thead th:nth-child(2),
thead th:nth-child(3) {
  text-align: right;
}
.table-sub {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
  margin-top: 2px;
}
.help-heading {
  font-size: 11px;
  color: var(--muted);
  padding: 0;
}
tbody td {
  padding: 14px 0;
  border-bottom: 1px solid #eeeee6;
}
tbody td:first-child {
  max-width: 230px;
}
tbody td:nth-child(2) {
  text-align: right;
  white-space: nowrap;
  font-weight: 550;
  width: 83px;
}
tbody td:nth-child(3) {
  text-align: right;
  font-size: 11px;
  color: var(--muted);
  width: 69px;
}
.ingredient-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin: 2px 12px 0 0;
  line-height: 1.4;
}
tfoot th,
tfoot td {
  padding: 14px 0;
  font-size: 11px;
}
tfoot td:nth-child(2) {
  font-size: 15px;
  text-align: right;
  font-weight: 550;
  white-space: nowrap;
}
tfoot td:last-child {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.table-note {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 19px;
  line-height: 1.7;
  background: #f8f8f2;
  padding: 10px 12px;
  border-radius: 3px;
}
.prep {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.prep h3 {
  font-size: 11px;
  font-weight: 550;
  margin: 0 0 7px;
}
.prep p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 12px;
  line-height: 1.6;
}
.prep-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  gap: 10px;
  margin: 6px 0;
}
.prep-row strong {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.prep-label {
  display: inline-block;
  background: #edf0e4;
  color: #647456;
  font-size: 11px;
  letter-spacing: 0.8px;
  padding: 2px 5px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: 1px;
}
.extra-note {
  font-size: 11px;
  line-height: 1.65;
  border-left: 2px solid var(--yellow);
  padding: 3px 0 3px 12px;
  margin: 15px 0 20px;
  color: var(--muted);
}
.ingredient-actions {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}
.primary-button,
.secondary-button {
  min-height: 43px;
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
}
.primary-button {
  background: var(--green);
  color: var(--white);
  flex: 1;
}
.primary-button:hover {
  background: #263d28;
}
.secondary-button {
  border: 1px solid #dce0d0;
  min-width: 102px;
}
.secondary-button:hover {
  background: #f1f2e8;
}
.ingredient-actions svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.process {
  margin-top: 24px;
  padding: 27px 28px;
}
.process-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.process .section-title {
  margin: 0;
}
.process-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 12px 0 25px;
  padding: 0 0 0 32px;
}
.process-info p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.process-info button {
  font-size: 11px;
  white-space: nowrap;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 110px 27px 1fr;
  gap: 17px;
  position: relative;
  min-height: 85px;
  padding: 0 0 21px;
}
.timeline time {
  font-size: 11px;
  padding-top: 2px;
  white-space: nowrap;
  color: #6f7867;
}
.timeline time small {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  color: #92988a;
}
.timeline-track {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline-track:after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -20px;
  width: 1px;
  background: #dfe3d6;
}
.timeline li:last-child .timeline-track:after {
  display: none;
}
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  border: 1px solid #dce1d2;
  background: #f7f8f2;
  color: #708063;
}
.timeline-dot.cold {
  background: #eaf0ed;
  border-color: #ccd9d1;
  color: #597468;
}
.timeline-dot.work {
  background: #f1e7c7;
  border-color: #dfd4b0;
  color: #8b7f57;
}
.timeline-dot.bake {
  background: #f5e7db;
  border-color: #e2ccbb;
  color: #9b7458;
}
.timeline-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.timeline h3 {
  font-weight: 550;
  font-size: 12px;
  margin: 0;
}
.duration-pill {
  font-size: 11px;
  color: #7b826f;
  border: 1px solid #e1e5d8;
  border-radius: 3px;
  padding: 1px 6px;
  line-height: 1.6;
}
.timeline li p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0;
}
.timing-note {
  font-size: 11px;
  color: var(--muted);
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  margin: 0;
  line-height: 1.7;
  display: flex;
  gap: 12px;
}
.timing-note > span {
  font-size: 16px;
  line-height: 1;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 36px 4px 40px;
}
.bottom-grid .eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
}
.little-knowledge h3 {
  font: normal 27px var(--serif);
  margin: 7px 0 11px;
}
.bottom-grid p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 10px 0;
}
.bottom-grid .text-btn {
  font-size: 11px;
}
.source-note {
  padding-top: 0;
}
.source-note p {
  margin-top: 12px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 90px;
}
footer .brand {
  font-size: 22px;
}
footer p {
  font-size: 11px;
  color: var(--muted);
}
footer > span {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
dialog {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  max-width: 670px;
  width: calc(100% - 32px);
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 20px 90px #26312426;
}
dialog::backdrop {
  background: #28352d55;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dialog-top > button {
  font-size: 26px;
  line-height: 1;
}
dialog h2 {
  font: normal 36px var(--serif);
  margin: 12px 0 20px;
}
dialog h3 {
  font-size: 13px;
  margin-top: 24px;
}
dialog p,
dialog li {
  font-size: 12px;
  color: #697361;
  line-height: 1.8;
}
dialog a {
  color: var(--green);
  text-underline-offset: 3px;
}
dialog .source-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
dialog .source-item strong {
  display: block;
  font-size: 12px;
}
dialog .source-item p {
  margin: 6px 0 0;
  font-size: 11px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 5px;
  font-size: 12px;
  box-shadow: 0 5px 30px #29372d20;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  z-index: 20;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.skip {
  position: fixed;
  top: -70px;
  left: 10px;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1450px) {
  .container {
    max-width: 1300px;
    padding: 0 50px;
  }
  .intro {
    padding: 49px 0 39px;
  }
  .time-banner {
    min-height: 164px;
  }
  .workspace {
    grid-template-columns: 1fr 1.1fr;
  }
  .dough-settings,
  .settings,
  .ingredients {
    padding-left: 32px;
    padding-right: 32px;
  }
  .settings-bottom {
    margin-left: -32px;
    margin-right: -32px;
  }
}
@media (max-width: 1050px) {
  .container {
    padding: 0 27px;
  }
  .header {
    gap: 35px;
  }
  .header nav {
    gap: 23px;
  }
  .header-note {
    display: none;
  }
  .time-main {
    min-width: 285px;
  }
  .time-banner {
    gap: 25px;
    padding: 25px;
  }
  .time-sketch {
    right: 20px;
    width: 75px;
    top: 35px;
  }
  .time-sketch svg {
    width: 75px;
  }
  .time-secondary {
    gap: 24px;
    padding-right: 70px;
  }
  .time-secondary > div:last-child {
    max-width: 125px;
  }
  .dough-settings,
  .settings,
  .ingredients {
    padding: 23px 22px 0;
  }
  .ingredients {
    padding-bottom: 22px;
  }
  .settings-bottom {
    margin: 0 -22px;
    padding: 13px 22px;
  }
  .workspace {
    gap: 18px;
  }
  .section-title > .small-muted {
    display: none;
  }
  .recipe-tag {
    font-size: 11px;
  }
  .hydration-presets button {
    padding: 6px 4px;
  }
  .process-top > .small-muted {
    display: none;
  }
}
@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }
  .header {
    height: 78px;
    justify-content: space-between;
    gap: 12px;
  }
  .header .brand {
    font-size: 25px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 28px;
  }
  .header nav {
    gap: 15px;
  }
  .header nav > a {
    display: none;
  }
  .header nav button {
    font-size: 11px;
  }
  .intro {
    padding: 32px 0 27px;
  }
  .intro-stamp {
    display: none;
  }
  .intro .eyebrow {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -1.3px;
  }
  .intro-copy {
    font-size: 11px;
  }
  .category-tabs {
    gap: 0;
    margin-bottom: 18px;
  }
  .category {
    min-width: 0;
    flex: 1;
    gap: 8px;
    justify-content: center;
    font-size: 12px;
    padding: 13px 5px;
  }
  .category svg {
    width: 25px;
    height: 25px;
  }
  .category-count {
    display: none;
  }
  .time-banner {
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px;
    min-height: 190px;
  }
  .time-main {
    min-width: 0;
    width: 100%;
    padding-right: 55px;
  }
  .time-number {
    font-size: 36px;
    white-space: nowrap;
  }
  .time-number small {
    font-size: 22px;
  }
  .time-main > .small-label {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
  .time-main p {
    font-size: 11px;
  }
  .time-divider {
    display: none;
  }
  .time-secondary {
    border-top: 1px solid #c7ba7955;
    width: 100%;
    padding: 13px 0 0;
    gap: 30px;
    align-items: center;
  }
  .time-secondary > div {
    display: flex;
    align-items: center;
    gap: 11px;
  }
  .time-secondary .small-label {
    font-size: 11px;
    margin-bottom: 0;
    letter-spacing: 0.8px;
  }
  .time-secondary strong {
    font-size: 17px;
  }
  .time-secondary > div:last-child {
    max-width: none;
    flex: 1;
    justify-content: flex-end;
  }
  .time-secondary > div:last-child > .small-label {
    display: none;
  }
  .time-secondary p {
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
    max-width: 150px;
  }
  .time-sketch {
    top: 27px;
    right: 15px;
    width: 62px;
  }
  .time-sketch svg {
    width: 62px;
  }
  .recipe-heading {
    margin: 28px 0 19px;
    align-items: flex-start;
    gap: 10px;
  }
  .recipe-heading h2 {
    font-size: 32px;
  }
  .recipe-heading p {
    font-size: 11px;
    max-width: 270px;
  }
  .reset-btn {
    margin-top: 23px;
  }
  .reset-btn span {
    display: none;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dough-settings,
  .settings,
  .ingredients {
    padding: 23px 23px 0;
  }
  .ingredients {
    padding-bottom: 23px;
  }
  .settings-bottom {
    margin: 0 -23px;
    padding: 14px 23px;
  }
  .section-title > .small-muted {
    display: block;
    font-size: 11px;
  }
  .section-title {
    margin-bottom: 24px;
  }
  .field > label,
  .label-value > label {
    font-size: 11px;
  }
  .recipe-tag {
    font-size: 11px;
  }
  .hydration-presets button {
    padding: 7px 9px;
  }
  .process {
    padding: 23px 20px;
    margin-top: 20px;
  }
  .process .section-title h2 {
    font-size: 13px;
  }
  .process-info {
    padding: 0;
    margin-top: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .process-info p {
    font-size: 11px;
  }
  .timeline li {
    grid-template-columns: 66px 19px 1fr;
    gap: 10px;
    min-height: 105px;
    padding-bottom: 25px;
  }
  .timeline time {
    font-size: 11px;
    white-space: normal;
  }
  .timeline time small {
    font-size: 11px;
  }
  .timeline-track:after {
    bottom: -25px;
  }
  .timeline h3 {
    font-size: 11px;
  }
  .timeline li p {
    font-size: 11px;
    line-height: 1.8;
  }
  .timeline-heading {
    gap: 6px;
  }
  .duration-pill {
    font-size: 11px;
  }
  .timing-note {
    font-size: 11px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 29px 2px;
  }
  .bottom-grid p {
    font-size: 11px;
  }
  footer {
    min-height: 100px;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  footer .brand {
    font-size: 22px;
  }
  footer p {
    font-size: 11px;
  }
  footer > span {
    width: 100%;
    margin: -12px 0 0;
    font-size: 11px;
  }
  .yield-summary strong {
    font-size: 16px;
  }
  tbody td:first-child {
    max-width: 190px;
  }
  tbody td:nth-child(2) {
    width: 74px;
  }
  tbody td:nth-child(3) {
    width: 59px;
  }
  dialog {
    padding: 23px;
  }
  dialog h2 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  @page {
    margin: 15mm;
  }
  body {
    background: white;
    font-size: 11px;
  }
  .container {
    padding: 0;
    max-width: none;
  }
  .header,
  .intro,
  .category-tabs,
  .dough-settings,
  .settings,
  .reset-btn,
  .ingredient-actions,
  .bottom-grid,
  footer,
  .text-btn,
  .toast,
  .time-sketch,
  .help,
  dialog {
    display: none !important;
  }
  .time-banner {
    background: #f5f0d8 !important;
    print-color-adjust: exact;
    min-height: 100px;
    padding: 16px;
  }
  .time-number {
    font-size: 30px;
  }
  .time-main {
    min-width: 260px;
  }
  .time-secondary {
    padding-right: 0;
  }
  .recipe-heading {
    margin: 20px 0;
  }
  .workspace {
    display: block;
  }
  .ingredients,
  .process {
    padding: 15px;
    border: 1px solid #ddd;
  }
  .ingredients .section-title {
    margin-bottom: 10px;
  }
  .ingredients-table tbody td {
    padding: 8px 0;
  }
  .yield-summary {
    min-height: 65px;
    padding: 10px;
  }
  .process {
    margin-top: 18px;
  }
  .timeline li {
    min-height: 0;
    padding-bottom: 14px;
    break-inside: avoid;
  }
  .timeline li p {
    font-size: 11px;
  }
  .process-info {
    margin-bottom: 15px;
  }
  .prep {
    break-inside: avoid;
  }
}

.label-short {
  display: none;
}
.form-recommendation {
  font-size: 11px;
  line-height: 1.7;
  background: #f2f3e9;
  padding: 11px 13px;
  border-radius: 4px;
  margin: 0 0 21px;
  color: #66745c;
}
#yield-portions {
  font-size: 11px;
  color: #78836e;
  margin: 5px 0 0;
}
#portion-fields .amount-row:has(> [hidden]) {
  grid-template-columns: 1fr;
}
#portionWeight {
  padding-right: 35px;
}
@media (max-width: 760px) {
  .category {
    gap: 6px;
    font-size: 11px;
    padding-left: 3px;
    padding-right: 3px;
  }
  .category svg {
    width: 22px;
    height: 22px;
  }
  .label-long {
    display: none;
  }
  .label-short {
    display: inline;
  }
  .category {
    flex: 1;
  }
  .time-number {
    font-size: 34px;
  }
}

.ingredients #prep-list:empty {
  display: none;
}
.ingredients #prep-list .prep:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
.ingredients #prep-list .prep {
  padding-bottom: 15px;
  margin-bottom: 5px;
}
.main-dough-heading {
  font-size: 11px;
  font-weight: 550;
  margin: 8px 0 3px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.container > .process:last-child {
  margin-bottom: 40px;
}
.process {
  margin-bottom: 40px;
}

/* Recipe choices and the simplified calculator hierarchy. */
.dough-settings {
  margin-top: 28px;
}
.dough-settings .advanced-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0 24px;
  align-items: start;
}
.dough-settings .method-field {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 19px;
}
.ingredient-overview {
  margin: 0;
  font-size: 12px;
}
.ingredient-overview__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.ingredient-overview__row:first-child {
  padding-top: 0;
}
.ingredient-overview__row dt span {
  color: var(--muted);
  white-space: nowrap;
}
.ingredient-overview__row dd {
  margin: 0;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ingredient-overview__note {
  margin: 12px 0 24px;
}
.workspace {
  margin-top: 28px;
}
.section-title .reset-btn {
  margin-left: auto;
  margin-top: 0;
  font-size: 11px;
}
.recipe-selection {
  margin: 0 0 24px;
}
.recipe-selection h2 {
  font-size: 12px;
  font-weight: 550;
  margin: 0 0 10px;
}
#recipe-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#recipe-options button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
}
#recipe-options button.selected {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
#recipe-options button:hover {
  border-color: var(--green);
}
#starter-fields {
  padding: 0 0 4px;
}
.flour-blend {
  margin-bottom: 24px;
}
.flour-blend__note {
  margin: -8px 0 0;
}
.flour-blend__control input {
  min-height: 50px;
  padding-right: 76px;
}
.flour-blend__control > .flour-blend__unit {
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
}
.flour-blend__arrows {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  grid-template-rows: repeat(2, 24px);
  width: 36px;
  border-left: 1px solid var(--line);
}
.flour-blend__arrows button {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--green);
}
.flour-blend__arrows button:hover:not(:disabled) {
  background: #eef1e7;
}
.flour-blend__arrows button:disabled {
  cursor: default;
  opacity: 0.35;
}
.flour-blend__arrows svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings {
  padding-bottom: 8px;
}
@media (max-width: 767px) {
  #recipe-options button {
    flex: 1;
    padding: 10px 8px;
  }
}
@media print {
  .recipe-selection {
    display: none !important;
  }
}
