

/* Start:/calculators/assets/brewcalc.css?17938005866077*/
/* Калькуляторы пивовара. Все классы с префиксом bc-, чтобы не конфликтовать с шаблоном сайта */

.bc {
  --bc-accent: #2f6b30;
  --bc-accent-soft: #e8f1e4;
  --bc-accent-line: #b9d3b0;
  --bc-text: #2b2f2b;
  --bc-muted: #6b736b;
  --bc-line: #dfe4df;
  --bc-bg: #f5f7f4;
  --bc-card: #ffffff;
  --bc-warn: #9a5b00;
  --bc-warn-bg: #fff4e0;
  --bc-radius: 10px;

  color: var(--bc-text);
  font-size: 15px;
  line-height: 1.55;
  max-width: 960px;
  margin: 0 0 40px;
}
.bc *, .bc *::before, .bc *::after { box-sizing: border-box; }

.bc-lead { color: var(--bc-muted); margin: 0 0 20px; max-width: 70ch; }

/* ---------- карточка калькулятора ---------- */
.bc-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  background: var(--bc-card);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  overflow: hidden;
}
.bc-form { padding: 24px; }
.bc-result {
  padding: 24px;
  background: var(--bc-accent-soft);
  border-left: 1px solid var(--bc-accent-line);
}
@media (max-width: 720px) {
  .bc-card { grid-template-columns: 1fr; }
  .bc-result { border-left: 0; border-top: 1px solid var(--bc-accent-line); }
  .bc-form, .bc-result { padding: 18px 16px; }
}

/* ---------- поля ---------- */
.bc-field { margin-bottom: 16px; }
.bc-form > .bc-field:last-child, .bc-conv-group > .bc-field:last-child { margin-bottom: 0; }
.bc-label { display: block; font-weight: 600; margin-bottom: 6px; }
.bc-hint { display: block; color: var(--bc-muted); font-size: 13px; margin-top: 4px; }

.bc-input-row { display: flex; gap: 8px; }
.bc-input, .bc-select {
  height: 42px;
  border: 1px solid #c9d0c9;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  color: inherit;
  background: #fff;
  min-width: 0;
}
.bc-input { flex: 1 1 auto; width: 100%; font-variant-numeric: tabular-nums; }
.bc-select { flex: 0 0 auto; padding-right: 28px; }
.bc-input:focus, .bc-select:focus {
  outline: none;
  border-color: var(--bc-accent);
  box-shadow: 0 0 0 3px rgba(47, 107, 48, .15);
}
.bc-unit {
  flex: 0 0 auto;
  display: flex; align-items: center;
  padding: 0 4px;
  color: var(--bc-muted);
  min-width: 34px;
}
.bc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .bc-row2 { grid-template-columns: 1fr; } }

/* ---------- переключатель режимов ---------- */
.bc-tabs {
  display: inline-flex;
  background: var(--bc-bg);
  border: 1px solid var(--bc-line);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.bc-tab {
  border: 0; background: transparent;
  font: inherit; color: var(--bc-muted);
  padding: 7px 14px; border-radius: 6px; cursor: pointer;
}
.bc-tab.is-active { background: #fff; color: var(--bc-accent); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- результат ---------- */
.bc-result-title { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--bc-muted); margin: 0 0 6px; }
.bc-main { font-size: 40px; line-height: 1.1; font-weight: 700; color: var(--bc-accent); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.bc-main small { font-size: 18px; font-weight: 600; margin-left: 4px; }
.bc-sub { color: var(--bc-muted); margin-bottom: 18px; }

.bc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bc-accent-line); }
.bc-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bc-accent-line);
}
.bc-list li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

.bc-note {
  margin-top: 16px; padding: 10px 12px;
  border-radius: 8px; font-size: 14px;
  background: var(--bc-warn-bg); color: var(--bc-warn);
}

/* ---------- конвертер ---------- */
.bc-conv { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bc-conv-group {
  background: var(--bc-card);
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  padding: 18px;
}
.bc-conv-group h2 { font-size: 17px; margin: 0 0 14px; }
.bc-conv-group .bc-field { margin-bottom: 10px; }
.bc-conv-group .bc-unit { flex: 0 0 96px; font-size: 14px; }

/* ---------- текст и навигация ---------- */
.bc-text { margin-top: 32px; max-width: 75ch; }
.bc-text h2 { font-size: 20px; margin: 28px 0 10px; }
.bc-text h2:first-child { margin-top: 0; }
.bc-text p, .bc-text ul, .bc-text ol { margin: 0 0 12px; }
.bc-formula {
  background: var(--bc-bg); border-radius: 8px;
  padding: 10px 14px; font-family: Consolas, Menlo, monospace; font-size: 14px;
  overflow-x: auto; white-space: nowrap;
}

.bc-nav { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--bc-line); }
.bc-nav-title { font-weight: 600; margin-bottom: 12px; }
.bc-nav ul, .bc-cards { list-style: none; margin: 0; padding: 0; }
.bc-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-nav a {
  display: inline-block; padding: 7px 14px;
  border: 1px solid var(--bc-line); border-radius: 20px;
  text-decoration: none; color: var(--bc-text);
}
.bc-nav a:hover { border-color: var(--bc-accent); color: var(--bc-accent); }
.bc-nav .is-current a { background: var(--bc-accent); border-color: var(--bc-accent); color: #fff; }

/* ---------- страница-оглавление ---------- */
.bc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.bc-cards a {
  display: block; height: 100%;
  padding: 20px; border: 1px solid var(--bc-line); border-radius: var(--bc-radius);
  background: var(--bc-card); text-decoration: none; color: var(--bc-text);
  transition: border-color .15s, box-shadow .15s;
}
.bc-cards a:hover { border-color: var(--bc-accent); box-shadow: 0 4px 14px rgba(47,107,48,.12); }
.bc-cards b { display: block; font-size: 17px; color: var(--bc-accent); margin-bottom: 6px; }
.bc-cards span { color: var(--bc-muted); font-size: 14px; }

[hidden] { display: none !important; }
.bc-sr { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* End */


/* Start:/calculators/assets/recipe.css?179380058613644*/
/* Конструктор рецепта. Дополняет brewcalc.css, классы с префиксом rc- */

.rc { max-width: 1240px; }

.rc-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.rc-top .bc-lead { margin: 0; flex: 1 1 420px; }
.rc-top-btns { display: flex; flex-wrap: wrap; gap: 8px; }

.rc-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.rc-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rc-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1100px) { .rc-side { position: sticky; top: 16px; } }

.rc-card { background: #fff; border: 1px solid var(--bc-line); border-radius: 12px; padding: 22px; }
.rc-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0 0 16px; }
.rc-h h2 { margin: 0; font-size: 19px; font-weight: 600; }
.rc-h-meta { font-size: 14px; color: var(--bc-muted); }
@media (max-width: 600px) { .rc-card { padding: 16px; } }

.rc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 16px; }
.rc-s2 { grid-column: span 2; } .rc-s3 { grid-column: span 3; } .rc-s6 { grid-column: span 6; }
@media (max-width: 700px) { .rc-s3, .rc-s2 { grid-column: span 6; } }
@media (min-width: 420px) and (max-width: 700px) { .rc-s2 { grid-column: span 3; } }

.rc .bc-input, .rc .bc-select { height: 40px; }
.rc-sm { height: 36px !important; font-size: 14px; padding: 0 8px !important; }
.rc-num { text-align: right; font-variant-numeric: tabular-nums; }
.rc-changed { border-color: #d99a3a !important; background: #fff8ec !important; }
.rc-mark { display: inline-block; padding: 0 4px; border-radius: 4px; border: 1px solid #d99a3a; background: #fff8ec; }

.rc-tbl-box { position: relative; overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.rc-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.rc-tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--bc-muted); text-transform: uppercase; letter-spacing: .03em; padding: 0 4px 8px; white-space: nowrap; }
.rc-tbl td { padding: 5px 4px; border-top: 1px solid #edf0ed; vertical-align: middle; }
.rc-tbl tfoot td { font-weight: 600; padding-top: 10px; }
.rc-tbl .rc-c-name { min-width: 180px; }
.rc-tbl .rc-c-n { width: 76px; }
.rc-tbl .rc-c-s { width: 64px; }
.rc-tbl .rc-c-use { width: 150px; }
.rc-tbl .rc-c-out { width: 60px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-tbl .rc-c-del { width: 40px; }
.rc-grains { min-width: 600px; } .rc-hops { min-width: 600px; } .rc-mash-t { min-width: 260px; }
.rc-tbl .rc-c-time { width: 84px; }
.rc-tbl .rc-c-time input { width: 48px; flex: 0 0 48px; padding: 0 6px !important; }
.rc-hops .rc-c-name { min-width: 120px; } .rc-hops .rc-c-s { width: 58px; } .rc-hops .rc-c-use { width: 136px; } .rc-hops .rc-c-out { width: 44px; }
.rc-mash-t .rc-c-s { width: 58px; }
.rc-over { color: #b35c00; font-weight: 600; }
.rc-empty td { color: var(--bc-muted); text-align: center; padding: 16px 4px; }

.rc-del { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #8a928a; cursor: pointer; }
.rc-del:hover { background: #f3f5f2; color: #b33a2a; }

.rc-add-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.rc-add { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px dashed #9fbf98; border-radius: 8px; background: #f6faf4; color: var(--bc-accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.rc-add:hover { background: #ecf5e8; }
.rc-hint { font-size: 13px; color: var(--bc-muted); flex: 1 1 260px; }

.rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #c9d0c9; background: #fff; color: var(--bc-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.rc-btn:hover { border-color: var(--bc-accent); color: var(--bc-accent); }
.rc-btn-primary { background: var(--bc-accent); border-color: var(--bc-accent); color: #fff; }
.rc-btn-primary:hover { background: #255626; color: #fff; }
.rc-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--bc-accent); cursor: pointer; text-decoration: underline; }

.rc-row-flex { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rc-row-flex > .bc-select { flex: 1 1 260px; }
.rc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.rc-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bc-accent); flex: 0 0 auto; }

/* баннер масштабирования */
.rc-scale { margin-top: 16px; background: #fff8ec; border: 1px solid #f0d9a8; border-radius: 10px; padding: 16px; }
.rc-scale-t { font-weight: 600; }
.rc-scale p { margin: 2px 0 10px; font-size: 14px; color: #5a4a2a; }
.rc-scale-list { font-size: 14px; margin-bottom: 12px; }
.rc-scale-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px auto; gap: 8px; padding: 5px 0; border-top: 1px solid #f0e3c8; font-variant-numeric: tabular-nums; }
.rc-scale-list div:first-child { border-top: 0; }

/* плитки воды */
.rc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.rc-tile { background: #f6f8f5; border-radius: 10px; padding: 12px 14px; }
.rc-tile-hl { background: var(--bc-accent-soft); border: 1px solid var(--bc-accent-line); }
.rc-tile-l { font-size: 13px; color: var(--bc-muted); }
.rc-tile-v { font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-tile-s { font-size: 13px; color: var(--bc-muted); }

/* сводка */
.rc-sum { background: var(--bc-accent-soft); border-color: var(--bc-accent-line); }
.rc-sum-l { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #4d5a4b; }
.rc-og { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 2px 0 14px; }
.rc-og b { font-size: 42px; line-height: 1.1; color: var(--bc-accent); font-variant-numeric: tabular-nums; }
.rc-og span { color: #4d5a4b; }
.rc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.rc-stat { background: #fff; border-radius: 10px; padding: 10px 12px; }
.rc-stat-l { font-size: 13px; color: var(--bc-muted); }
.rc-stat-v { white-space: nowrap; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-glass { display: flex; align-items: center; gap: 8px; }
.rc-glass svg { flex: 0 0 auto; width: 22px; height: 30px; }
.rc-sum-note { font-size: 13px; color: #4d5a4b; }

.rc-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 12px; white-space: nowrap; }
.rc-tag-ok { background: var(--bc-accent-soft); color: var(--bc-accent); }
.rc-tag-warn { background: #fff1db; color: #8a4f00; }
.rc-tag-bad { background: #fde7e3; color: #a3271a; }
.rc-tag-cold { background: #e6effa; color: #1d4f86; }

.rc-bars { display: flex; flex-direction: column; gap: 13px; font-size: 14px; }
.rc-bar-h { display: flex; justify-content: space-between; gap: 8px; }
.rc-bar-h span:last-child { color: var(--bc-muted); white-space: nowrap; }
.rc-bar { position: relative; height: 8px; border-radius: 4px; background: #e4e9e3; margin-top: 6px; }
.rc-band { position: absolute; top: 0; height: 8px; border-radius: 4px; background: #a9cc9f; }
.rc-fill { position: absolute; top: 0; left: 0; height: 8px; border-radius: 4px; background: var(--bc-accent); }
.rc-fill-bad { background: #c0392b; }
.rc-dot { position: absolute; top: -4px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); background: var(--bc-accent); }
.rc-dot-out { background: #d97a00; }
.rc-tip { font-size: 13px; color: #8a4f00; margin-top: 5px; }

.rc-actions { display: flex; flex-direction: column; gap: 10px; }
.rc-actions-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rc-share { display: flex; gap: 8px; }
.rc-share input { flex: 1 1 auto; min-width: 0; height: 40px; border: 1px solid #c9d0c9; border-radius: 8px; padding: 0 10px; font: inherit; font-size: 13px; color: var(--bc-muted); background: #f6f8f5; }

.rc-warns { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.rc-warns .bc-note { margin-top: 0; }

/* подсказки справочника */
.rc-ac { position: absolute; z-index: 1000; min-width: 260px; max-width: 420px; max-height: 320px; overflow-y: auto; background: #fff; border: 1px solid #c9d0c9; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); padding: 6px; font-size: 14px; }
.rc-ac button { display: flex; width: 100%; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; font: inherit; color: var(--bc-text); text-align: left; cursor: pointer; }
.rc-ac button span:last-child { color: var(--bc-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-ac button.is-active, .rc-ac button:hover { background: var(--bc-accent-soft); }
.rc-ac .rc-ac-own { border-top: 1px solid #edf0ed; margin-top: 4px; border-radius: 0 0 6px 6px; color: var(--bc-accent); }

/* окна */
.rc-dlg { border: 0; border-radius: 14px; padding: 0; width: min(820px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); color: var(--bc-text); }
.rc-dlg::backdrop { background: rgba(20, 30, 20, .45); }
.rc-dlg-in { padding: 24px; }
.rc-dlg-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.rc-dlg-h h2 { margin: 0; font-size: 22px; font-weight: 600; }
.rc-dlg-h p { margin: 4px 0 0; font-size: 14px; color: var(--bc-muted); }
.rc-x { flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--bc-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.rc-x:hover { background: #f3f5f2; }
.rc-dlg-f { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--bc-line); }
@media (max-width: 600px) { .rc-dlg-in { padding: 16px; } }

.rc-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.rc-tpl { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--bc-line); border-radius: 12px; background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.rc-tpl:hover, .rc-tpl:focus-visible { border-color: var(--bc-accent); box-shadow: 0 4px 14px rgba(47, 107, 48, .12); outline: none; }
.rc-tpl-h { display: flex; gap: 12px; align-items: flex-start; }
.rc-tpl-n { font-weight: 600; font-size: 16px; }
.rc-tpl-d { font-size: 13px; color: var(--bc-muted); }
.rc-tpl-s { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 12px; color: var(--bc-muted); }
.rc-tpl-s b { display: block; font-size: 14px; color: var(--bc-text); font-variant-numeric: tabular-nums; }

.rc-eq-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; background: var(--bc-bg); border: 1px solid var(--bc-line); border-radius: 9px; padding: 3px; margin-bottom: 16px; }
.rc-eq-tabs label { position: relative; }
.rc-eq-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.rc-eq-tabs span { display: inline-block; padding: 8px 14px; border-radius: 7px; font-size: 14px; color: var(--bc-muted); cursor: pointer; }
.rc-eq-tabs input:checked + span { background: #fff; color: var(--bc-accent); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.rc-eq-tabs input:focus-visible + span { outline: 2px solid var(--bc-accent); }
.rc-eq-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.rc-eq-pic { flex: 0 0 230px; margin: 0; background: #f6f8f5; border-radius: 12px; padding: 14px; }
.rc-eq-pic figcaption { font-size: 13px; margin-top: 8px; line-height: 1.5; }
.rc-eq-pic i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.rc-eq-fields { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.rc-eq-g { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--bc-muted); margin: 0 0 10px; }
.rc-eq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
@media (max-width: 480px) { .rc-eq-grid { grid-template-columns: 1fr; } .rc-eq-pic { flex-basis: 100%; } }

.rc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1100; background: #1f241f; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }

/* печать: только рецепт */
@media print {
  body * { visibility: hidden; }
  .rc, .rc * { visibility: visible; }
  .rc { position: absolute; left: 0; top: 0; width: 100%; }
  .rc-noprint, .rc-del, .rc-add-row, .rc-actions, .rc-top-btns, .bc-nav, .rc-ac { display: none !important; }
  .rc-card { border: 1px solid #999; break-inside: avoid; }
  .rc-side { position: static; }
  .rc .bc-input, .rc .bc-select { border: 0; padding: 0; height: auto; background: none; -webkit-appearance: none; appearance: none; }
}

/* End */
/* /calculators/assets/brewcalc.css?17938005866077 */
/* /calculators/assets/recipe.css?179380058613644 */
