.brewfather-batch-tracker {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.brewfather-stage-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.brewfather-stage-tabs::-webkit-scrollbar { display: none; }

.brewfather-stage-tab {
  min-height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 13px;
  background: #fff;
  color: #374151;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.brewfather-stage-tab b,
.brewfather-stage-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, .07);
  font-size: 11px;
}

.brewfather-stage-tab b { min-width: 22px; height: 22px; padding: 0 6px; }
.brewfather-stage-tab.is-active { background: #111827; border-color: #111827; color: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .16); }
.brewfather-stage-tab.is-active b { background: rgba(255, 255, 255, .16); }
.brewfather-stage-empty { padding: 28px 16px; border: 1px dashed rgba(15, 23, 42, .16); border-radius: 16px; text-align: center; color: #6b7280; }
.brewfather-stage-group { display: grid; gap: 10px; }

.brewfather-stage-heading,
.brewfather-stage-heading > div,
.brewfather-batch-card-head,
.brewfather-batch-rapt,
.brewfather-batch-rapt > div:first-child,
.brewfather-batch-rapt-values,
.brewfather-batch-card-footer { display: flex; align-items: center; }

.brewfather-stage-heading,
.brewfather-batch-card-head,
.brewfather-batch-rapt,
.brewfather-batch-card-footer { justify-content: space-between; gap: 12px; }

.brewfather-stage-heading > div { gap: 9px; }
.brewfather-stage-heading i { width: 10px; height: 10px; border-radius: 999px; background: #94a3b8; }
.brewfather-stage-heading i.is-planning { background: #d97706; }
.brewfather-stage-heading i.is-brewing { background: #ea580c; }
.brewfather-stage-heading i.is-fermenting { background: #16a34a; }
.brewfather-stage-heading i.is-conditioning { background: #2563eb; }
.brewfather-stage-heading i.is-completed { background: #475569; }
.brewfather-stage-heading i.is-archived { background: #9ca3af; }
.brewfather-stage-heading > span { min-width: 26px; height: 26px; font-size: 12px; font-weight: 900; }
.brewfather-batch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }

.brewfather-batch-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
}

.brewfather-batch-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #94a3b8; }
.brewfather-batch-card.is-planning::before { background: #d97706; }
.brewfather-batch-card.is-brewing::before { background: #ea580c; }

.brewing-materials-modal .admin-payments-list-modal{display:grid;gap:14px}.brewing-material-requirement{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.76)}.brewing-material-requirement>header,.brewing-material-lot{display:flex;align-items:center;justify-content:space-between;gap:14px}.brewing-material-requirement>header div,.brewing-material-lot>span{display:grid;gap:3px}.brewing-material-requirement small,.brewing-material-lot small{color:var(--muted)}.brewing-material-lot{padding:10px 0;border-top:1px solid var(--line)}.brewing-material-lot input{width:130px;min-height:44px}.member-dev-visual-enabled[data-theme="dark"] .brewing-material-requirement,.member-dev-visual-enabled[data-theme="dark"] .brewing-material-requirement input{background:#171c24;color:#f8fafc;border-color:rgba(255,255,255,.14)}@media(max-width:640px){.brewing-material-requirement>header,.brewing-material-lot{align-items:stretch;flex-direction:column}.brewing-material-lot input{width:100%}}
.brewfather-batch-card.is-fermenting::before { background: #16a34a; }
.brewfather-batch-card.is-conditioning::before { background: #2563eb; }
.brewfather-batch-card.is-completed::before { background: #475569; }
.brewfather-batch-card.is-archived::before { background: #9ca3af; }
.brewfather-batch-card-head { align-items: flex-start; }
.brewfather-batch-card-head > div,
.brewfather-batch-card-footer > div { min-width: 0; }
.brewfather-batch-card-head small { display: block; margin-bottom: 3px; color: #6b7280; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.brewfather-batch-card-head h4 { margin: 0; font-size: 17px; line-height: 1.2; }
.brewfather-batch-card-head > span { flex: 0 0 auto; padding: 6px 8px; border-radius: 999px; background: rgba(15, 23, 42, .06); color: #475569; font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.brewfather-batch-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.brewfather-batch-timeline > div { min-width: 0; display: grid; gap: 3px; padding: 9px; border: 1px solid rgba(53, 35, 19, .07); border-radius: 12px; background: #f7f4ef; }
.brewfather-batch-timeline small { color: #6b7280; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brewfather-batch-timeline strong { font-size: 12px; line-height: 1.25; }
.brewfather-batch-timeline .is-missing strong { color: #9ca3af; font-weight: 700; }
.brewfather-batch-rapt { padding: 10px 12px; border: 1px solid rgba(22, 163, 74, .14); border-radius: 14px; background: rgba(22, 163, 74, .07); }
.brewfather-batch-rapt > div:first-child { gap: 7px; min-width: 0; }
.brewfather-batch-rapt > div:first-child strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.brewfather-batch-rapt-values { justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.brewfather-batch-rapt-values b { padding: 5px 7px; border-radius: 999px; background: #fff; color: #166534; font-size: 10px; white-space: nowrap; }
.brewfather-batch-card-footer { align-items: flex-end; }
.brewfather-batch-card-footer > div { display: grid; gap: 3px; color: #6b7280; font-size: 11px; }
.brewfather-batch-card-footer span { overflow-wrap: anywhere; }
.brewfather-batch-card-footer .btn { flex: 0 0 auto; }

.brewfather-recipe-catalog { display: grid; gap: 16px; min-width: 0; }
.brewfather-recipe-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; }
.brewfather-recipe-tools .brewfather-stage-tabs { min-width: 0; flex: 1 1 auto; }
.brewfather-recipe-search { flex: 0 0 210px; min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 13px; background: #fff; color: #64748b; }
.brewfather-recipe-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; }
.brewfather-recipe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; }
.brewfather-recipe-card { min-width: 0; display: grid; align-content: start; gap: 13px; padding: 16px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 18px; background: rgba(255, 255, 255, .9); }
.brewfather-recipe-card-head,
.brewfather-recipe-card-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.brewfather-recipe-card-head > div { min-width: 0; }
.brewfather-recipe-card-head small { display: block; margin-bottom: 3px; color: #9a650f; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.brewfather-recipe-card-head h4 { margin: 0; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.brewfather-recipe-card-head p { margin: 5px 0 0; color: #64748b; font-size: 12px; }
.brewfather-recipe-card-head > span { flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; background: rgba(100, 116, 139, .1); color: #64748b; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.brewfather-recipe-teaser { margin: -3px 0 0; color: #64748b; font-size: 12px; line-height: 1.45; }
.brewfather-recipe-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.brewfather-recipe-stats > div { min-width: 0; display: grid; gap: 2px; padding: 9px 8px; border-radius: 11px; background: #f7f4ef; }
.brewfather-recipe-stats small,
.brewfather-recipe-profiles small { color: #6b7280; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brewfather-recipe-stats strong { font-size: 13px; line-height: 1.2; white-space: nowrap; }
.brewfather-recipe-stats em { color: #6b7280; font-size: 9px; font-style: normal; }
.brewfather-recipe-profiles { display: grid; gap: 7px; padding: 11px 12px; border: 1px solid rgba(214, 168, 74, .16); border-radius: 13px; background: rgba(214, 168, 74, .06); }
.brewfather-recipe-profiles > div { min-width: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: baseline; gap: 8px; }
.brewfather-recipe-profiles strong { overflow: hidden; color: #374151; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.brewfather-recipe-ingredients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.brewfather-recipe-ingredients > div { min-width: 0; display: flex; align-items: flex-start; gap: 8px; padding: 9px; border: 1px solid rgba(15, 23, 42, .07); border-radius: 12px; }
.brewfather-recipe-ingredients > div > span { flex: 0 0 auto; font-size: 14px; }
.brewfather-recipe-ingredients > div > div { min-width: 0; display: grid; gap: 3px; }
.brewfather-recipe-ingredients strong { font-size: 10px; }
.brewfather-recipe-ingredients small { overflow: hidden; color: #6b7280; font-size: 9px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.brewfather-recipe-card-footer { align-items: center; min-height: 40px; }
.brewfather-recipe-tags { min-width: 0; display: flex; gap: 5px; flex-wrap: wrap; }
.brewfather-recipe-tags span { padding: 5px 7px; border-radius: 999px; background: rgba(15, 23, 42, .06); color: #475569; font-size: 9px; font-weight: 800; }
.brewfather-recipe-card-footer .btn { flex: 0 0 auto; }

.brewfather-cost-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-width: 0; }
.brewfather-cost-toolbar .brewfather-stage-tabs { min-width: 0; flex: 1 1 auto; }
.brewfather-cost-settings-button { flex: 0 0 auto; min-height: 42px; padding-inline: 12px; }
.brewfather-batch-cost { width: 100%; display: grid; gap: 8px; padding: 11px 12px; border: 1px solid rgba(185, 80, 61, .2); border-radius: 14px; background: linear-gradient(145deg, rgba(255, 250, 240, .98), rgba(246, 237, 220, .92)); color: #173b30; text-align: left; cursor: pointer; }
.brewfather-batch-cost:hover { border-color: rgba(185, 80, 61, .4); box-shadow: 0 10px 24px rgba(67, 45, 23, .08); }
.brewfather-batch-cost-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.brewfather-batch-cost-total small { color: #6b7280; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.brewfather-batch-cost-total strong { font-size: 18px; white-space: nowrap; }
.brewfather-batch-cost-bar { height: 8px; display: flex; overflow: hidden; border-radius: 999px; background: rgba(15, 23, 42, .07); }
.brewfather-batch-cost-bar i { display: block; height: 100%; min-width: 2px; }
.brewfather-batch-cost-meta { color: #6b7280; font-size: 10px; }
.brew-cost-tier { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .04em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brew-cost-tier sup { font-size: 8px; }
.brew-cost-tier.is-comptoir { background: #dce9df; color: #24563d; }
.brew-cost-tier.is-signature { background: #f4dfaa; color: #77520c; }
.brew-cost-tier.is-exception { background: #ead5d0; color: #8c382a; }
.brewfather-batch-sale-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.brewfather-batch-sale-prices>span { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,.62); color: #6b7280; font-size: 9px; font-weight: 800; }
.brewfather-batch-sale-prices b { color: #173b30; font-size: 11px; }
.brewfather-batch-cost-unavailable { padding: 10px 12px; border: 1px dashed rgba(15, 23, 42, .14); border-radius: 13px; color: #6b7280; font-size: 11px; }
.brewfather-batch-cost-bar .is-fermentables,.brew-cost-breakdown-row>i.is-fermentables { background: #eab94d; }
.brewfather-batch-cost-bar .is-hops,.brew-cost-breakdown-row>i.is-hops { background: #2f7f58; }
.brewfather-batch-cost-bar .is-yeasts,.brew-cost-breakdown-row>i.is-yeasts { background: #dca278; }
.brewfather-batch-cost-bar .is-miscs,.brew-cost-breakdown-row>i.is-miscs { background: #8a8176; }
.brewfather-batch-cost-bar .is-shipping,.brew-cost-breakdown-row>i.is-shipping { background: #597b9d; }
.brewfather-batch-cost-bar .is-water,.brew-cost-breakdown-row>i.is-water { background: #88cbd3; }
.brewfather-batch-cost-bar .is-co2,.brew-cost-breakdown-row>i.is-co2 { background: #c2afd5; }
.brewfather-batch-cost-bar .is-electricity,.brew-cost-breakdown-row>i.is-electricity { background: #f1d545; }
.brewfather-batch-cost-bar .is-excise,.brew-cost-breakdown-row>i.is-excise { background: #b9503d; }
.brew-cost-modal { width: min(860px, 100%); }
.brew-cost-settings-modal { width: min(760px, 100%); }
.brew-cost-modal .admin-modal-close,.brew-cost-settings-modal .admin-modal-close { min-height: 44px; }
.brew-cost-modal-body,.brew-cost-settings-body { display: grid; gap: 14px; }
.brew-cost-hero { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: #173b30; color: #fff; }
.brew-cost-hero>div:first-child { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.brew-cost-hero>div:first-child small { color: rgba(255,255,255,.7); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.brew-cost-hero>div:first-child strong { font-size: clamp(28px, 5vw, 42px); line-height: 1; white-space: nowrap; }
.brew-cost-hero dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; }
.brew-cost-hero dl>div { display: grid; gap: 3px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.09); }
.brew-cost-hero dt { color: rgba(255,255,255,.68); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.brew-cost-hero dd { margin: 0; font-size: 14px; font-weight: 900; }
.brew-cost-hero>small { color: rgba(255,255,255,.62); font-size: 10px; }
.brew-cost-section { display: grid; gap: 10px; padding: 15px; border: 1px solid rgba(15,23,42,.09); border-radius: 16px; background: rgba(255,255,255,.78); }
.brew-cost-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brew-cost-section-title>span { color: #6b7280; font-size: 11px; }
.brew-cost-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.brew-cost-price-grid>div { display: grid; gap: 3px; padding: 12px; border-radius: 13px; background: rgba(23,59,48,.07); }
.brew-cost-price-grid small { color: #6b7280; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.brew-cost-price-grid strong { font-size: 20px; }
.brew-cost-tier-note { color: #9a670f; font-size: 9px; }
.brew-cost-breakdown { display: grid; gap: 2px; }
.brew-cost-breakdown-row { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid rgba(15,23,42,.06); }
.brew-cost-breakdown-row:last-child { border-bottom: 0; }
.brew-cost-breakdown-row>i { width: 10px; height: 24px; border-radius: 999px; }
.brew-cost-breakdown-row>span { min-width: 0; display: flex; align-items: baseline; gap: 7px; }
.brew-cost-breakdown-row strong { font-size: 12px; }
.brew-cost-breakdown-row small { color: #6b7280; font-size: 10px; }
.brew-cost-breakdown-row>b { font-size: 12px; white-space: nowrap; }
.brew-cost-ingredient-groups { display: grid; gap: 8px; }
.brew-cost-ingredient-groups details { border: 1px solid rgba(15,23,42,.08); border-radius: 13px; background: rgba(247,244,239,.8); overflow: hidden; }
.brew-cost-ingredient-groups summary { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; cursor: pointer; font-size: 12px; }
.brew-cost-ingredient-list { display: grid; padding: 0 12px 8px; }
.brew-cost-ingredient-list>div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(15,23,42,.06); }
.brew-cost-ingredient-list span { min-width: 0; display: grid; gap: 2px; }
.brew-cost-ingredient-list strong { overflow-wrap: anywhere; font-size: 11px; }
.brew-cost-ingredient-list small { color: #6b7280; font-size: 9px; }
.brew-cost-ingredient-list small.is-shipping { color: #426789; font-weight: 800; }
.brew-cost-ingredient-list b { flex: 0 0 auto; font-size: 11px; }
.brew-cost-ingredient-list em { flex: 0 0 auto; color: #b45309; font-size: 10px; font-style: normal; font-weight: 800; }
.brew-cost-warning { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid rgba(180,83,9,.22); border-radius: 14px; background: rgba(245,158,11,.1); color: #92400e; font-size: 11px; }
.brew-cost-legal-note,.brew-cost-formula { padding: 11px 13px; border-radius: 13px; background: rgba(23,59,48,.07); color: #456056; font-size: 10px; line-height: 1.4; }
.brew-cost-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.brew-cost-settings-grid label { display: grid; gap: 6px; min-width: 0; }
.brew-cost-settings-grid label.full { grid-column: 1/-1; }
.brew-cost-settings-grid label>span { color: #5f574f; font-size: 11px; font-weight: 800; }
.brew-cost-settings-grid input { width: 100%; box-sizing: border-box; }
.brew-cost-settings-section { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(15,23,42,.09); }
.brew-cost-settings-section>div:first-child { display: grid; gap: 3px; }
.brew-cost-settings-section>div:first-child>small { color: #6b7280; font-size: 10px; }
.brew-cost-tier-settings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.brew-cost-tier-settings fieldset { min-width: 0; display: grid; gap: 9px; margin: 0; padding: 11px; border: 1px solid rgba(15,23,42,.09); border-radius: 14px; }
.brew-cost-tier-settings fieldset.is-comptoir { background: rgba(80,140,99,.07); }
.brew-cost-tier-settings fieldset.is-signature { background: rgba(234,185,77,.09); }
.brew-cost-tier-settings fieldset.is-exception { background: rgba(185,80,61,.07); }
.brew-cost-tier-settings legend { padding: 0 5px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.brew-cost-tier-settings label { min-width: 0; display: grid; gap: 5px; }
.brew-cost-tier-settings label>span { color: #5f574f; font-size: 9px; font-weight: 800; }
.brew-cost-tier-settings input { width: 100%; box-sizing: border-box; }
body[data-member-theme="dark"] .brewfather-batch-cost { border-color: rgba(234,185,77,.22); background: linear-gradient(145deg,rgba(45,38,30,.96),rgba(31,28,26,.96)); color: #f8f4ed; }
body[data-member-theme="dark"] .brewfather-batch-cost-total small,body[data-member-theme="dark"] .brewfather-batch-cost-meta { color: rgba(255,255,255,.62); }
body[data-member-theme="dark"] .brewfather-batch-sale-prices>span { background: rgba(255,255,255,.06); }
body[data-member-theme="dark"] .brewfather-batch-sale-prices b { color: #fff; }
body[data-member-theme="dark"] .brew-cost-section { border-color: rgba(255,255,255,.1); background: rgba(30,30,30,.82); }
body[data-member-theme="dark"] .brew-cost-ingredient-groups details { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.04); }
body[data-member-theme="dark"] .brew-cost-price-grid>div { background: rgba(255,255,255,.06); }
body[data-member-theme="dark"] .brew-cost-settings-section { border-color: rgba(255,255,255,.1); }
body[data-member-theme="dark"] .brew-cost-tier-settings fieldset { border-color: rgba(255,255,255,.1); }

@media (max-width: 640px) {
  .brewfather-batch-tracker { gap: 16px; }
  .brewfather-stage-tabs { margin-inline: -4px; }
  .brewfather-stage-tab { min-height: 40px; padding: 8px 10px; }
  .brewfather-batch-grid { grid-template-columns: 1fr; }
  .brewfather-batch-card { padding: 14px; gap: 12px; }
  .brewfather-batch-timeline { gap: 5px; }
  .brewfather-batch-timeline > div { padding: 8px 6px; }
  .brewfather-batch-timeline small { font-size: 8px; }
  .brewfather-batch-timeline strong { font-size: 11px; }
  .brewfather-batch-rapt { align-items: flex-start; flex-direction: column; }
  .brewfather-batch-rapt-values { justify-content: flex-start; }
  .brewfather-batch-card-footer { align-items: center; }
  .brewfather-batch-card-footer .btn { min-height: 40px; }
  .brewfather-recipe-tools { display: grid; }
  .brewfather-recipe-tools .brewfather-stage-tabs { width: calc(100vw - 48px); }
  .brewfather-recipe-search { width: 100%; min-height: 40px; }
  .brewfather-recipe-grid { grid-template-columns: 1fr; }
  .brewfather-recipe-card { padding: 14px; }
  .brewfather-recipe-card-footer .btn { min-height: 40px; }
  .brewfather-cost-toolbar { display: grid; }
  .brewfather-cost-toolbar .brewfather-stage-tabs { width: calc(100vw - 48px); }
  .brewfather-cost-settings-button { justify-self: start; min-height: 44px; }
  .brew-cost-hero>div:first-child { align-items: flex-start; flex-direction: column; }
  .brew-cost-hero dl { grid-template-columns: 1fr 1fr 1fr; }
  .brew-cost-settings-grid { grid-template-columns: 1fr; }
  .brew-cost-settings-grid label.full { grid-column: auto; }
  .brew-cost-tier-settings { grid-template-columns: 1fr; }
}
