/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.bh-bottom-nav-item {
  color: #3f7fc5 !important;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.bh-bottom-nav-item-idle {
  color: #3f7fc5 !important;
}

.bh-bottom-nav-item-active {
  color: #07506a !important;
}

.bh-bottom-nav-icon {
  color: currentColor !important;
  font-size: 26px !important;
  line-height: 1 !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.bh-bottom-nav-label {
  color: currentColor !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  text-transform: inherit !important;
}

.bh-desktop-nav {
  display: none;
}

@media (min-width: 640px) {
  .bh-bottom-nav-item {
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
  }
}

@media (min-width: 768px) {
  .bh-page-with-desktop-nav {
    padding-top: 104px !important;
  }

  .bh-bottom-mobile-nav {
    display: none !important;
  }

  .bh-desktop-nav {
    display: block;
    left: 0;
    padding-inline: 24px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 14px;
    z-index: 60;
  }

  .bh-desktop-nav-shell {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid #dfe6ef;
    border-radius: 1.15rem;
    box-shadow: 0 18px 42px rgba(29, 54, 80, 0.14);
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-inline: auto;
    max-width: 980px;
    padding: 0.5rem;
    pointer-events: auto;
    width: fit-content;
  }

  .bh-desktop-nav-item {
    align-items: center;
    appearance: none;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 900;
    gap: 0.5rem;
    justify-content: center;
    letter-spacing: 0.12em;
    line-height: 1;
    min-width: 108px;
    padding: 0.8rem 1rem;
    text-transform: uppercase;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .bh-desktop-nav-item > i,
  .bh-desktop-nav-item > i.icon {
    color: currentColor !important;
    font-size: 15px !important;
    line-height: 1 !important;
    margin: 0 !important;
    opacity: 1 !important;
  }

  .bh-desktop-nav-item > svg {
    block-size: 1rem;
    inline-size: 1rem;
  }

  .bh-desktop-nav-item-active {
    background: #07506a;
    border-color: #07506a;
    box-shadow: 0 12px 22px -16px rgba(0, 90, 115, 0.9);
    color: #fff;
  }

  .bh-desktop-nav-item-idle {
    background: transparent;
    color: #3f6070;
  }

  .bh-desktop-nav-item-idle:hover {
    background: #f2f8f2;
    color: #07506a;
    transform: translateY(-1px);
  }
}

.bh-recipe-category-card {
  flex: 0 0 104px;
  width: 104px;
}

@media (min-width: 640px) {
  .bh-recipe-category-card {
    flex: 1 1 auto;
    width: auto;
  }
}

.ui.label.bh-recipe-info-label {
  align-items: center;
  background: #eef3f1 !important;
  border: 1px solid rgba(11, 107, 93, 0.1) !important;
  border-radius: 0.75rem !important;
  color: #303536 !important;
  display: inline-flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.45rem;
  line-height: 1;
  margin: 0 !important;
  padding: 0.58rem 0.7rem !important;
}

.ui.label.bh-recipe-info-label > i.icon,
.ui.label.bh-recipe-info-label > i {
  color: #0b6b5d !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.ui.label.bh-recipe-info-label.bh-recipe-cost-label {
  background: #fff4d6 !important;
  border-color: rgba(180, 112, 0, 0.2) !important;
  color: #704500 !important;
}

.ui.label.bh-recipe-info-label.bh-recipe-cost-label > i.icon,
.ui.label.bh-recipe-info-label.bh-recipe-cost-label > i {
  color: #b47000 !important;
}

.bh-recipe-detail-trigger {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  letter-spacing: inherit;
  margin: -0.3rem;
  padding: 0.3rem;
  text-transform: inherit;
  transition: color 160ms ease, background 160ms ease;
}

.bh-recipe-detail-trigger:hover {
  background: rgba(11, 107, 93, 0.08);
  color: #0b6b5d;
}

.bh-recipe-detail-trigger-active {
  background: #0b6b5d;
  color: #fff;
}

.bh-recipe-detail-panels {
  margin-top: 0.9rem;
}

.bh-recipe-detail-panel {
  background: #f7fbf9;
  border: 1px solid rgba(11, 107, 93, 0.1);
  border-radius: 1rem;
  padding: 0.95rem;
}

.ui.card.bh-inventory-item-card {
  background: #f3faf3 !important;
  border: 1px solid rgba(51, 95, 59, 0.18) !important;
  box-shadow: 0 10px 26px rgba(29, 54, 80, 0.08) !important;
}

.ui.card.bh-inventory-item-card > .content {
  background: transparent !important;
  border-color: rgba(51, 95, 59, 0.12) !important;
}

.bh-book-card-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: 92px minmax(0, 1fr);
}

.bh-book-cover,
.bh-book-cover-image,
.bh-book-cover-placeholder {
  width: 92px;
}

.bh-book-cover-image,
.bh-book-cover-placeholder {
  height: 138px;
  object-fit: cover;
}

.bh-book-card-title {
  color: #181c20;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.16;
  overflow-wrap: break-word;
  word-break: normal;
}

.bh-book-card-actions {
  align-items: center;
  flex-direction: row !important;
  grid-column: 1 / -1;
  justify-content: flex-start;
  padding-left: 108px;
}

@media (max-width: 420px) {
  .bh-book-card-grid {
    gap: 0.85rem;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .bh-book-cover,
  .bh-book-cover-image,
  .bh-book-cover-placeholder {
    width: 82px;
  }

  .bh-book-cover-image,
  .bh-book-cover-placeholder {
    height: 123px;
  }

  .bh-book-card-title {
    font-size: 19px;
    line-height: 1.14;
  }

  .bh-book-card-location {
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
    line-height: 1.45 !important;
  }

  .bh-book-card-actions {
    padding-left: 96px;
  }
}

@media (min-width: 640px) {
  .bh-book-card-grid {
    grid-template-columns: 92px minmax(0, 1fr) auto;
  }

  .bh-book-card-title {
    font-size: 22px;
    line-height: 1.18;
  }

  .bh-book-card-actions {
    flex-direction: column !important;
    grid-column: auto;
    justify-content: flex-start;
    padding-left: 0;
  }
}

.ui.card.bh-inventory-item-card > .extra.content.bh-book-summary-toggle {
  align-items: center;
  background: #dfe4df !important;
  border-top: 1px solid rgba(51, 95, 59, 0.14) !important;
  color: #545a55 !important;
  cursor: pointer;
  display: flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px !important;
  font-weight: 900;
  gap: 0.65rem;
  justify-content: center;
  line-height: 1;
  padding: 0.9rem 1rem !important;
  text-align: center;
  transition: background 160ms ease, color 160ms ease;
  width: 100%;
}

.ui.card.bh-inventory-item-card > .extra.content.bh-book-summary-toggle:hover,
.ui.card.bh-inventory-item-card > .extra.content.bh-book-summary-toggle-active {
  background: #d1d9d1 !important;
  color: #335f3b !important;
}

.ui.card.bh-inventory-item-card > .extra.content.bh-book-summary-toggle > i.icon,
.ui.card.bh-inventory-item-card > .extra.content.bh-book-summary-toggle > i {
  color: currentColor !important;
  font-size: 18px !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.bh-book-summary-panel {
  color: #3f484d;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.bh-modal-action-button,
.bh-modal-footer-button {
  align-items: center;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  display: inline-flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  gap: 0.55rem;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.1;
  min-height: 46px;
  padding: 0.85rem 1rem;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.bh-modal-action-button > i,
.bh-modal-footer-button > i {
  flex-shrink: 0;
  margin: 0 !important;
  opacity: 1 !important;
}

.bh-modal-action-button-danger {
  background: #fff;
  border-color: rgba(185, 28, 28, 0.18);
  color: #9b1c1c;
}

.bh-modal-action-button-success,
.bh-modal-footer-button-primary {
  background: #0b6b5d;
  border-color: #0b6b5d;
  color: #fff;
}

.bh-modal-footer-button-secondary {
  background: #fff;
  border-color: rgba(51, 95, 59, 0.14);
  color: #335f3b;
}

.bh-bulk-actions-button {
  align-items: center;
  appearance: none;
  background: #335f3b;
  border: 1px solid #335f3b;
  border-radius: 0.85rem;
  color: #fff;
  display: inline-flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  gap: 0.55rem;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.1;
  min-height: 46px;
  padding: 0.85rem 1rem;
  text-align: center;
  width: 100%;
}

.bh-bulk-actions-button > i {
  flex-shrink: 0;
  margin: 0 !important;
  opacity: 1 !important;
}

.bh-per-page-summary {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid rgba(51, 95, 59, 0.12);
  border-radius: 0.85rem;
  color: #335f3b;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 0.35rem;
  height: 46px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  list-style: none;
  padding: 0;
  text-transform: uppercase;
  transition: background-color 0.15s ease;
  width: 4.65rem;
}

.bh-per-page-summary:hover {
  background: #f8fcf8;
}

.bh-per-page-summary::-webkit-details-marker {
  display: none;
}

.bh-per-page-summary > span {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 1.55rem;
  text-align: center;
}

.bh-per-page-summary > i {
  align-items: center;
  display: inline-flex !important;
  flex-shrink: 0;
  height: 1em !important;
  justify-content: center;
  line-height: 1 !important;
  margin: 0 !important;
  opacity: 1 !important;
  width: 1em !important;
}

.bh-per-page-option {
  align-items: center;
  border-radius: 0.65rem;
  color: #335f3b;
  display: flex;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0 0.5rem;
  text-align: center;
  transition: background-color 0.15s ease;
}

.bh-per-page-option:hover {
  background: #eef8ed;
}

@media (min-width: 640px) {
  .bh-modal-action-button,
  .bh-modal-footer-button {
    width: auto;
  }

  .bh-modal-footer-button {
    min-width: 8.75rem;
  }

  .bh-bulk-actions-button {
    min-width: 9.75rem;
    width: auto;
  }
}

.bh-recipe-detail-panel[hidden] {
  display: none !important;
}

.ui.label.bh-filter-label {
  align-items: center;
  background: #f7fbf9 !important;
  border: 1px solid rgba(11, 107, 93, 0.13) !important;
  border-radius: 999px !important;
  color: #2f3e3b !important;
  display: inline-flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  gap: 0.45rem;
  line-height: 1;
  margin: 0 !important;
  padding: 0.58rem 0.72rem !important;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ui.label.bh-filter-label:hover {
  background: #fff !important;
  border-color: rgba(11, 107, 93, 0.35) !important;
  transform: translateY(-1px);
}

.ui.label.bh-filter-label.bh-filter-label-active {
  background: #0b6b5d !important;
  border-color: #0b6b5d !important;
  box-shadow: 0 10px 18px -14px rgba(11, 107, 93, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

.ui.label.bh-filter-label > i.icon,
.ui.label.bh-filter-label > i {
  color: currentColor !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.ui.label.bh-filter-label > .detail {
  background: rgba(11, 107, 93, 0.08) !important;
  border-radius: 999px;
  color: inherit !important;
  margin: -0.2rem -0.45rem -0.2rem 0 !important;
  padding: 0.28rem 0.48rem !important;
}

.ui.label.bh-filter-label.bh-filter-label-active > .detail {
  background: rgba(255, 255, 255, 0.16) !important;
}

.ui.label.bh-active-filter-summary-label {
  align-items: center;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: inline-flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.42rem;
  line-height: 1;
  margin: 0 !important;
  padding: 0.52rem 0.68rem !important;
}

.ui.label.bh-active-filter-summary-label > i.icon,
.ui.label.bh-active-filter-summary-label > i {
  color: currentColor !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.bh-recipe-search-checkbox {
  block-size: 1px;
  inline-size: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.ui.icon.button.bh-recipe-search-toggle {
  background: #eefaf6 !important;
  border: 1px solid rgba(11, 107, 93, 0.13) !important;
  box-shadow: none !important;
  color: #5d7a73 !important;
  cursor: pointer;
  flex: 0 0 auto;
  margin: 0 !important;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ui.icon.button.bh-recipe-search-toggle:hover,
.bh-recipe-search-checkbox:checked ~ .bh-recipe-search-title-row .bh-recipe-search-toggle {
  background: #0b6b5d !important;
  border-color: #0b6b5d !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.bh-recipe-search-checkbox:focus-visible ~ .bh-recipe-search-title-row .bh-recipe-search-toggle {
  outline: 3px solid rgba(11, 107, 93, 0.24);
  outline-offset: 3px;
}

.bh-recipe-search-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  padding-top: 0;
  transform: translateY(-0.35rem);
  transition: grid-template-rows 240ms ease, opacity 180ms ease, transform 220ms ease, padding-top 220ms ease;
}

.bh-recipe-search-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.bh-recipe-search-checkbox:checked ~ .bh-recipe-search-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: 1rem;
  pointer-events: auto;
  transform: translateY(0);
}

.ui.label.bh-recipe-search-summary-label {
  align-items: center;
  background: #eefaf6 !important;
  border: 1px solid rgba(11, 107, 93, 0.12) !important;
  border-radius: 999px !important;
  color: #0b6b5d !important;
  display: inline-flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.42rem;
  line-height: 1;
  margin: 0 !important;
  padding: 0.52rem 0.68rem !important;
}

.ui.label.bh-recipe-search-summary-label > i.icon,
.ui.label.bh-recipe-search-summary-label > i {
  color: currentColor !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.ui.styled.accordion.bh-filter-accordion {
  border: 1px solid rgba(11, 107, 93, 0.1) !important;
  border-radius: 1rem !important;
  box-shadow: none !important;
  overflow: hidden;
  width: 100% !important;
}

.ui.styled.accordion.bh-filter-accordion > summary.title {
  align-items: center;
  background: #f7fbf9 !important;
  color: #315d55 !important;
  cursor: pointer;
  display: flex !important;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  gap: 0.45rem;
  letter-spacing: 0.16em;
  list-style: none;
  padding: 0.95rem 1rem !important;
  text-transform: uppercase;
}

.ui.styled.accordion.bh-filter-accordion > summary.title::-webkit-details-marker {
  display: none;
}

.ui.styled.accordion.bh-filter-accordion > summary.title > .dropdown.icon {
  color: #0b6b5d !important;
  margin: 0 !important;
  transition: transform 160ms ease;
}

.ui.styled.accordion.bh-filter-accordion[open] > summary.title > .dropdown.icon {
  transform: rotate(90deg);
}

.ui.styled.accordion.bh-filter-accordion > .content {
  border-top: 1px solid rgba(11, 107, 93, 0.08);
  padding: 1rem !important;
}

.bh-accordion-count {
  background: #0b6b5d;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0;
  margin-left: auto;
  min-width: 1.45rem;
  padding: 0.22rem 0.45rem;
  text-align: center;
}

.bh-price-range-stack {
  min-height: 2.25rem;
  position: relative;
}

.bh-price-range-track,
.bh-price-range-fill {
  border-radius: 999px;
  height: 0.42rem;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.bh-price-range-track {
  background: #e5e7e6;
  border: 1px solid #b8bfbd;
  right: 0;
}

.bh-price-range-fill {
  background: #0b6b5d;
}

.bh-price-range {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 2.25rem;
  left: 0;
  margin: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
}

.bh-price-range::-webkit-slider-runnable-track {
  background: transparent;
  border: 0;
  height: 0.42rem;
}

.bh-price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #0b6b5d;
  border: 0;
  border-radius: 50%;
  height: 1.35rem;
  margin-top: -0.465rem;
  pointer-events: auto;
  width: 1.35rem;
}

.bh-price-range::-moz-range-track {
  background: transparent;
  border: 0;
  height: 0.42rem;
}

.bh-price-range::-moz-range-thumb {
  background: #0b6b5d;
  border: 0;
  border-radius: 50%;
  height: 1.35rem;
  pointer-events: auto;
  width: 1.35rem;
}

.bh-price-range:focus-visible {
  outline: none;
}

.bh-price-range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(11, 107, 93, 0.18);
}

.bh-price-range:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(11, 107, 93, 0.18);
}

.bh-menu-tabs.ui.tabular.menu {
  border-bottom-color: rgba(11, 107, 93, 0.16);
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.bh-menu-tabs.ui.tabular.menu .item {
  align-items: center;
  border-radius: 0.9rem 0.9rem 0 0 !important;
  border-color: rgba(11, 107, 93, 0.14) !important;
  color: #315d55;
  display: flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.12em;
  min-width: 0;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.bh-menu-tabs.ui.tabular.menu .active.item {
  background: #0b6b5d !important;
  border-color: #0b6b5d !important;
  color: #fff !important;
}

.bh-inner-tabs.ui.tabular.menu {
  margin-top: 0.9rem;
  border-bottom-color: rgba(11, 107, 93, 0.12);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.bh-inner-tabs.ui.tabular.menu.bh-inner-tabs-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bh-inner-tabs.ui.tabular.menu .item {
  align-items: center;
  border-radius: 0.75rem 0.75rem 0 0 !important;
  color: #4a655f;
  display: flex;
  font-size: 0.68rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.1em;
  min-width: 0;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.bh-inner-tabs.ui.tabular.menu .active.item {
  color: #0b6b5d !important;
}

@media (max-width: 420px) {
  .bh-inner-tabs.ui.tabular.menu.bh-inner-tabs-four .item {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}

.bh-tab-segment.ui.segment {
  border-color: rgba(11, 107, 93, 0.12);
  padding: 0 !important;
  box-shadow: none;
}

.bh-tv-consumption-tabs.ui.tabular.menu {
  border-bottom-color: rgba(139, 211, 230, 0.18);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.bh-tv-consumption-tabs.ui.tabular.menu .item {
  align-items: center;
  border-radius: 0.9rem 0.9rem 0 0 !important;
  color: #8aa6af;
  display: flex;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.12em;
  min-width: 0;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.bh-tv-consumption-tabs.ui.tabular.menu .active.item {
  background: #e0f7fb !important;
  border-color: rgba(139, 211, 230, 0.4) !important;
  color: #063845 !important;
}

.bh-tv-page {
  min-height: var(--tv-vh, 100dvh);
}

.bh-tv-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bh-tv-section-tab {
  border: 1px solid rgba(139, 211, 230, 0.28);
  border-radius: 999px;
  color: #b8dce6;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.2rem;
  text-transform: uppercase;
}

.bh-tv-section-tab:focus,
.bh-tv-section-tab:hover,
.bh-tv-section-tab.is-active {
  background: #dff3f8;
  color: #063845;
  outline: 3px solid rgba(139, 211, 230, 0.45);
  outline-offset: 2px;
}

.bh-tv-recipes-grid {
  display: grid;
  gap: clamp(0.8rem, 1.4vw, 1.25rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bh-tv-recipe-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.bh-tv-page-button {
  background: #0b6b5d;
  border: 3px solid transparent;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: clamp(0.9rem, 1.25vw, 1.15rem);
  font-weight: 900;
  min-height: 3.25rem;
  padding: 0.75rem 1.2rem;
}

.bh-tv-page-button.is-disabled {
  background: #d5e3e2;
  color: #75908e;
  cursor: not-allowed;
  pointer-events: none;
}

.bh-tv-page-button:focus,
.bh-tv-page-number:focus {
  border-color: #063845;
  outline: 4px solid rgba(139, 211, 230, 0.75);
  outline-offset: 3px;
}

.bh-tv-page-number {
  align-items: center;
  background: #e0f7fb;
  border: 3px solid transparent;
  border-radius: 999px;
  color: #063845;
  display: flex;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 900;
  justify-content: center;
  min-height: 3.25rem;
  min-width: 3.25rem;
  padding: 0.65rem;
}

.bh-tv-page-number.is-active {
  background: #0b6b5d;
  color: #fff;
  outline: 3px solid rgba(11, 107, 93, 0.22);
  outline-offset: 2px;
}

.bh-tv-page-status {
  color: #294852;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 900;
  min-width: 7.5rem;
  text-align: center;
}

.bh-tv-recipe-card {
  background: #fff;
  border: 3px solid transparent;
  border-radius: 1.35rem;
  box-shadow: 0 16px 30px rgba(12, 49, 67, 0.08);
  color: #11242b;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease;
}

.bh-tv-recipe-card:focus,
.bh-tv-recipe-card:hover {
  border-color: #0b6b5d;
  outline: 4px solid rgba(139, 211, 230, 0.5);
  outline-offset: 3px;
  transform: translateY(-3px);
}

.bh-tv-recipe-photo,
.bh-tv-recipe-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.bh-tv-recipe-photo { object-fit: cover; }

.bh-tv-recipe-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #dff3f8, #b9e3df);
  color: #0b6b5d;
  display: flex;
  font-size: clamp(2rem, 4vw, 4rem);
  justify-content: center;
}

.bh-tv-recipe-copy { padding: clamp(0.8rem, 1.4vw, 1.25rem); }
.bh-tv-recipe-copy h3 { font-size: clamp(1.05rem, 1.8vw, 1.6rem); font-weight: 900; line-height: 1.12; margin-top: 0.35rem; }
.bh-tv-recipe-description {
  color: #294852;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
  margin-top: 0.7rem;
}

@media (max-width: 720px) {
  .bh-tv-recipes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bh-tv-pair-page {
  min-height: var(--tv-vh, 100dvh);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.bh-tv-pair-shell {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(0.75rem, 1.7vh, 1.5rem) !important;
  grid-template-columns: none !important;
  justify-content: flex-start !important;
  min-height: auto !important;
  padding-bottom: clamp(1.25rem, 3vh, 2.5rem) !important;
  padding-top: clamp(0.85rem, 2.2vh, 2rem) !important;
}

.bh-tv-pair-title {
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  max-width: min(92vw, 72rem) !important;
  text-align: center;
}

.bh-tv-pair-copy {
  display: grid;
  justify-items: center;
  width: 100%;
}

.bh-tv-pair-instructions {
  display: grid;
  justify-items: center;
  width: min(100%, 64rem);
}

.bh-tv-pair-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  margin-top: 0 !important;
  text-align: center;
}

.bh-tv-pair-steps {
  gap: clamp(0.45rem, 1vh, 0.8rem);
  margin-top: clamp(0.6rem, 1.4vh, 1rem) !important;
  width: 100%;
}

.bh-tv-pair-steps > div {
  border-radius: 1.25rem;
  font-size: clamp(0.9rem, 1.25vw, 1.2rem);
  padding: clamp(0.5rem, 1vh, 0.9rem) clamp(0.8rem, 1.4vw, 1.3rem);
}

.bh-tv-pair-card {
  justify-self: center;
  padding: clamp(0.55rem, 1.25vh, 1rem) !important;
  width: min(82vw, 31rem, calc(var(--tv-vh, 100dvh) * 0.56)) !important;
}

.bh-tv-pair-qr {
  aspect-ratio: 1 / 1;
  max-height: min(52vh, calc(var(--tv-vh, 100dvh) * 0.56));
  object-fit: contain;
}

.bh-tv-pair-url {
  font-size: clamp(0.6rem, 0.82vw, 0.85rem);
  line-height: 1.25;
  margin-top: clamp(0.35rem, 0.8vh, 0.7rem) !important;
}

.bh-tv-pair-expiry {
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  margin-top: clamp(0.25rem, 0.6vh, 0.5rem) !important;
}

.bh-tv-dashboard {
  min-height: var(--tv-vh, 100dvh);
  overflow-y: auto;
  padding: clamp(1rem, 2.4vh, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.bh-tv-main {
  gap: clamp(1rem, 2vh, 1.75rem);
  margin-top: clamp(1rem, 2vh, 2rem);
}

.bh-tv-home-title {
  font-size: clamp(2.3rem, 4.2vw, 4.5rem);
}

.bh-tv-device-badge {
  border-radius: 1.35rem;
  padding: clamp(0.75rem, 1.5vh, 1rem) clamp(1rem, 1.8vw, 1.5rem);
}

.bh-tv-consumption-card {
  border-radius: clamp(1.25rem, 2vw, 2.1rem);
  padding: clamp(1rem, 2vh, 1.75rem);
}

.bh-tv-section-title {
  font-size: clamp(1.7rem, 3vw, 2.75rem);
}

.bh-tv-section-subtitle {
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
}

.bh-tv-consumption-segment {
  margin-top: clamp(0.7rem, 1.5vh, 1.25rem) !important;
}

.bh-tv-period-panel {
  gap: clamp(1rem, 1.7vw, 1.5rem);
  padding: clamp(0.8rem, 1.5vh, 1.25rem);
}

.bh-tv-chart-card {
  border-radius: clamp(1.1rem, 1.8vw, 1.65rem);
  padding: clamp(0.85rem, 1.6vh, 1.25rem);
}

.bh-tv-line-chart {
  height: clamp(13rem, calc(var(--tv-vh, 100dvh) * 0.34), 19rem);
}

.bh-tv-consumption-panel {
  gap: 1.4rem;
}

html[data-tv-viewport="short"] .bh-tv-pair-shell {
  gap: clamp(0.8rem, 2vw, 1.5rem);
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}

html[data-tv-viewport="short"] .bh-tv-eyebrow {
  font-size: clamp(0.9rem, 1.4vw, 1.25rem);
}

html[data-tv-viewport="short"] .bh-tv-pair-title {
  font-size: clamp(1.85rem, 4vw, 3.4rem);
  margin-top: clamp(0.35rem, 1vh, 0.8rem) !important;
}

html[data-tv-viewport="short"] .bh-tv-pair-subtitle {
  font-size: clamp(0.85rem, 1.25vw, 1.05rem);
}

html[data-tv-viewport="short"] .bh-tv-pair-steps {
  margin-top: clamp(0.7rem, 2vh, 1.5rem);
}

html[data-tv-viewport="short"] .bh-tv-pair-steps > div {
  font-size: clamp(0.82rem, 1.25vw, 1.05rem);
  padding: 0.62rem 0.9rem;
}

html[data-tv-viewport="short"] .bh-tv-pair-card {
  border-radius: 1.35rem !important;
  width: min(72vw, 25rem, calc(var(--tv-vh, 100dvh) * 0.48)) !important;
}

html[data-tv-viewport="short"] .bh-tv-pair-qr {
  max-height: calc(var(--tv-vh, 100dvh) * 0.48);
}

html[data-tv-viewport="short"] .bh-tv-pair-url {
  font-size: 0.58rem;
  line-height: 1.15;
}

html[data-tv-viewport="short"] .bh-tv-dashboard {
  padding: clamp(0.75rem, 1.8vh, 1.2rem) clamp(1rem, 3vw, 2rem);
}

html[data-tv-viewport="short"] .bh-tv-header {
  align-items: center;
}

html[data-tv-viewport="short"] .bh-tv-home-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-top: 0.35rem;
}

html[data-tv-viewport="short"] .bh-tv-device-badge {
  padding: 0.65rem 1rem;
}

html[data-tv-viewport="short"] .bh-tv-main {
  margin-top: clamp(0.7rem, 1.4vh, 1rem);
}

html[data-tv-viewport="short"] .bh-tv-consumption-head {
  align-items: end;
}

html[data-tv-viewport="short"] .bh-tv-section-label,
html[data-tv-viewport="short"] .bh-tv-section-subtitle {
  display: none;
}

html[data-tv-viewport="short"] .bh-tv-section-title {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

html[data-tv-viewport="short"] .bh-tv-tabs-wrap {
  max-width: min(32rem, 58vw);
}

html[data-tv-viewport="short"] .bh-tv-consumption-tabs.ui.tabular.menu .item {
  font-size: 0.64rem;
  min-height: 2.25rem;
}

html[data-tv-viewport="short"] .bh-tv-period-panel {
  grid-template-columns: 1fr;
  padding: 0.65rem;
}

html[data-tv-viewport="short"] .bh-tv-period-panel > .grid:nth-child(2) {
  display: none;
}

html[data-tv-viewport="short"] .bh-tv-chart-head h3 {
  font-size: 1.35rem;
}

html[data-tv-viewport="short"] .bh-tv-chart-head p {
  font-size: 0.8rem;
}

html[data-tv-viewport="short"] .bh-tv-total-badge {
  border-radius: 1rem;
  padding: 0.55rem 0.8rem;
}

html[data-tv-viewport="short"] .bh-tv-total-badge p:last-child {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

html[data-tv-viewport="short"] .bh-tv-line-chart {
  height: clamp(12rem, calc(var(--tv-vh, 100dvh) * 0.45), 18.5rem);
  margin-top: 0.6rem;
}

html[data-tv-viewport-width="narrow"] .bh-tv-pair-shell {
  overflow-y: auto;
}

html[data-tv-viewport-width="narrow"] .bh-tv-pair-card {
  justify-self: center;
  width: min(100%, calc(var(--tv-vh, 100dvh) - 6rem), 28rem);
}

.bh-tv-chart-shell {
  border: 1px solid rgba(139, 211, 230, 0.18);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #071d25 0%, #0c2833 100%);
  padding: 1rem;
}

.bh-tv-chart-title {
  color: #ecfdff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bh-tv-chart-subtitle {
  color: #8aa6af;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bh-tv-list {
  display: grid;
  gap: 0.6rem;
}

.bh-tv-list-item {
  display: grid;
  gap: 0.35rem;
}

.bh-tv-list-label {
  color: #11242b;
  font-size: 0.82rem;
  font-weight: 800;
}

.bh-tv-list-track {
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bh-tv-list-fill {
  height: 100%;
  border-radius: inherit;
}

.bh-tv-list-meta {
  color: #55717a;
  font-size: 0.72rem;
  font-weight: 700;
}

.bh-tv-macro {
  display: grid;
  gap: 0.8rem;
}

.bh-tv-macro-row {
  display: grid;
  gap: 0.35rem;
}

.bh-tv-macro-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #11242b;
  font-size: 0.82rem;
  font-weight: 800;
}

.bh-tv-macro-track {
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bh-tv-macro-fill {
  height: 100%;
  border-radius: inherit;
}

.bh-menu-table.ui.table {
  color: #315d55;
  font-size: 0.82rem;
}

.bh-menu-table.ui.table thead th {
  color: #0b6b5d;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bh-menu-table.ui.table td {
  vertical-align: middle;
}

.bh-menu-table .bh-ingredient-missing {
  color: #dc2626;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.bh-menu-table .bh-ingredient-found {
  color: #315d55;
  font-weight: 800;
}

.bh-menu-meta-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(11, 107, 93, 0.15);
  background: #e8f8f2;
  color: #0b6b5d;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.bh-product-edit-summary::-webkit-details-marker {
  display: none;
}

.bh-product-edit-summary::marker {
  content: "";
}

.bh-product-edit-details[open]::before {
  background: rgba(24, 28, 32, 0.38);
  content: "";
  inset: 0;
  position: fixed;
  z-index: 60;
}

.bh-product-edit-details[open] > .bh-product-edit-summary {
  align-items: center;
  border-color: rgba(215, 179, 122, 0.48) !important;
  border-radius: 999px !important;
  display: grid;
  font-size: 0;
  height: 2.5rem;
  justify-items: center;
  padding: 0;
  position: fixed;
  right: 1rem;
  top: calc(1rem + env(safe-area-inset-top));
  width: 2.5rem;
  z-index: 80;
}

.bh-product-edit-details[open] > .bh-product-edit-summary::after {
  color: #8b6e47;
  content: "×";
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.bh-product-edit-details[open] > .bh-product-edit-panel {
  left: 50%;
  margin: 0;
  max-height: calc(100dvh - 5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  position: fixed;
  top: calc(4rem + env(safe-area-inset-top));
  transform: translateX(-50%);
  width: min(34rem, calc(100vw - 1.5rem));
  z-index: 70;
}
