#three-tank-hmi .bb {
  --bb-line: #3d4942;
  --bb-paper: #1c211f;
  --bb-green: #a5deb8;
  display: grid;
  gap: 18px;
}
#three-tank-hmi .bb-mast {
  min-height: clamp(148px, 14cqi, 208px);
  display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: clamp(20px, 2.4cqi, 34px); overflow: hidden; border: 1px solid #465348; border-radius: 10px;
  background: linear-gradient(90deg, #152019 9%, #19261eee 34%, #15211ac9 54%, #20292135),
    #202c26 url("product-tank-farm.webp") center 50% / cover no-repeat;
}
#three-tank-hmi .bb-kicker {
  color: var(--bb-green); font: 600 11px/1.4 var(--proto-mono); text-transform: uppercase; letter-spacing: .09em;
}
#three-tank-hmi .bb-mast h2 {
  color: #f5f6ed; font: 700 clamp(40px,5cqi,76px)/.97 var(--proto-display); letter-spacing: -.025em; margin: 3px 0 8px;
}
#three-tank-hmi .bb-mast p:last-child {color: #d4dfd3; font-size: 14px}
#three-tank-hmi .bb-mast a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border: 1px solid #77977c;
  background: #1d2c22e8; padding: 7px 13px; color: #e3eddf; border-radius: 5px; font-weight: 650;
}
#three-tank-hmi .bb-grid {display: grid; grid-template-columns: minmax(0, .94fr) minmax(0,1.07fr); align-items: start; gap: 16px}
#three-tank-hmi .bb-panel {
  min-width: 0; padding: clamp(15px, 2cqi, 28px); background: #1b1d1c; border: 1px solid #404542; border-radius: 10px;
}
#three-tank-hmi .bb-results {
  border-color: var(--bb-line); background: linear-gradient(145deg, #222c25, var(--bb-paper) 58%);
}
#three-tank-hmi .bb-panel-head,#three-tank-hmi .bb-rate-check {display: flex; justify-content: space-between; align-items: baseline; gap: 10px}
#three-tank-hmi .bb-panel-head h3,#three-tank-hmi .bb-no-mix h3 {font: 650 29px/1.1 var(--proto-display)}
#three-tank-hmi .bb-panel-head>span,#three-tank-hmi .bb-rate-check small {color: #b6beb6; font: 500 11px var(--proto-mono)}
#three-tank-hmi .bb-group {display: grid; gap: 12px; margin-top: 14px}
#three-tank-hmi .bb-fields {display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0,1fr); gap: 12px}
#three-tank-hmi .bb-group:has([data-builder-input="n"]) {grid-template-columns: repeat(3,minmax(0,1fr))}
#three-tank-hmi .bb-entry {display: grid; gap: 5px; color: #d9ddd4; font-size: 13px; font-weight: 600}
#three-tank-hmi .bb-input {position: relative; display: flex; min-width: 0; min-height: 44px; align-items: center; background: #121614; border: 1px solid #50574e; border-radius: 5px}
#three-tank-hmi .bb-input:focus-within {outline: 2px solid #ed9966; outline-offset: 1px}
#three-tank-hmi .bb-input input {
  display: block; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 6px 10px;
  border: 0; background: transparent; color: #eef1e7; font: 600 15px var(--proto-body); outline: none;
}
#three-tank-hmi .bb-input input[inputmode="decimal"] {font: 600 16px var(--proto-mono)}
#three-tank-hmi .bb-input small {padding-right: 8px; white-space: nowrap; font: 500 10px var(--proto-mono); color: #a7b4a9}
#three-tank-hmi .bb-divider {border-top: 1px solid #3b413b; padding-top: 19px; margin-top: 22px}
#three-tank-hmi .bb-caption,#three-tank-hmi .bb-form-status,#three-tank-hmi .bb-suppliers {font-size: 12px; color: #b6beb5; margin-top: 12px; line-height: 1.5}
#three-tank-hmi .bb-create {min-height: 48px; margin-top: 18px; width: 100%; display: flex; justify-content: space-between; align-items: center; padding-inline: 16px}
#three-tank-hmi .bb-create span {font-size: 21px}
#three-tank-hmi .bb-form-status {color: #edc393}
#three-tank-hmi .bb-result-head h3 {font: 700 clamp(46px,4.8cqi,76px)/1 var(--proto-display); margin-block: 2px; color: #f0f6e9}
#three-tank-hmi .bb-result-head h3 small {font: 500 18px var(--proto-mono); color: #afbeb0}
#three-tank-hmi .bb-result-head p {color: #b0bbaf; font: 500 13px/1.4 var(--proto-mono)}
#three-tank-hmi .bb-result-head strong {color: #daead6}
#three-tank-hmi .bb-mix-bar {display: flex; gap: 3px; height: 9px; margin: 18px 0 13px; border-radius: 2px; overflow: hidden}
#three-tank-hmi .bb i[data-tank="1"] {background: #9ad4b3}
#three-tank-hmi .bb i[data-tank="2"] {background: #e3a778}
#three-tank-hmi .bb i[data-tank="3"] {background: #9eb8df}
#three-tank-hmi .bb-table {width: 100%; border-collapse: collapse; font-size: 14px}
#three-tank-hmi .bb-table th,#three-tank-hmi .bb-table td {border: 0; border-bottom: 1px solid var(--bb-line); padding: 8px 2px; text-align: right}
#three-tank-hmi .bb-table th:first-child {text-align: left}
#three-tank-hmi .bb-table thead th {font: 550 11px var(--proto-mono); color: #aab7ad}
#three-tank-hmi .bb-table td {font: 550 14px var(--proto-mono)}
#three-tank-hmi .bb-table tbody th {font: 650 14px/1.4 var(--proto-body)}
#three-tank-hmi .bb-table th small {margin-left: 6px; color: #a6b2a6; font: 500 10px var(--proto-mono)}
#three-tank-hmi .bb-source-dot {display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px}
#three-tank-hmi .bb-rate-check {margin-top: 19px; margin-bottom: 7px; font: 650 23px var(--proto-display)}
#three-tank-hmi .bb-warning,#three-tank-hmi .bb-no-mix p {background: #352c20; color: #f0c993; padding: 12px; border-left: 2px solid #e0b176; margin-top: 14px; font-size: 14px}
#three-tank-hmi .bb-analysis-fields {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,160px),1fr)); gap: 12px}
#three-tank-hmi .bb-suppliers a {color: #b5debf; text-underline-offset: 3px}
@container (max-width: 1000px) {
  #three-tank-hmi .bb-group:has([data-builder-input="n"]) {grid-template-columns: 1fr}
}
@container (max-width: 750px) {
  #three-tank-hmi .bb-grid {grid-template-columns: 1fr}
  #three-tank-hmi .bb-group:has([data-builder-input="n"]) {grid-template-columns: repeat(3,minmax(0,1fr))}
}
@container (max-width: 475px) {
  #three-tank-hmi .bb-group:has([data-builder-input="n"]) {grid-template-columns: 1fr}
  #three-tank-hmi .bb-table th small {display: none}
  #three-tank-hmi .bb-mast {align-items: start; background-position: 65% center}
}
