/* Barro tools - shared stylesheet for the pricing calculator and the throwing-forms calculator (identical copy in both tools), scoped under .bpc; the "planșă tehnică" skin is under .bpc.bft. */
.bpc {
  --bg: #EFECEC;
  --paper: #FFFFFF;
  --paper-2: #F7F5F4;
  --ink: #252525;
  --ink-2: rgba(37, 37, 37, .72);
  --ink-3: rgba(37, 37, 37, .52);
  --line: rgba(37, 37, 37, .14);
  --line-2: rgba(37, 37, 37, .24);
  --green: #2C332F;
  --green-2: #3F5147;
  --teal: #AACCD1;
  --teal-2: #83C5C9;
  --orange: #EC5C28;
  --on-green: #EFECEC;
  --on-green-2: rgba(239, 236, 236, .72);
  --mono: "SF Mono", Menlo, Consolas, Monaco, "Liberation Mono", "Lucida Console", monospace;
  --sans: Helvetica, Arial, sans-serif;
  --r: 6px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .6px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.bpc *, .bpc *::before, .bpc *::after { box-sizing: border-box; }
.bpc h1, .bpc h2, .bpc h3, .bpc h4 { font-family: var(--mono); font-weight: 400; margin: 0; letter-spacing: .4px; color: var(--ink); }
.bpc p { margin: 0; }
.bpc button { font: inherit; letter-spacing: inherit; cursor: pointer; }
.bpc a { color: inherit; }
.bpc :focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.bpc .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bpc .num { font-variant-numeric: tabular-nums; }

/* ---------- site chrome ---------- */
.bpc-announce { background: var(--orange); color: rgba(255,255,255,.9); text-align: center; font-family: var(--mono); font-size: 13px; padding: 8px 16px; }
.bpc-header { background: var(--teal); }
.bpc-header__in { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bpc-logo { display: inline-flex; align-items: center; text-decoration: none; color: #fff; font-family: var(--mono); font-size: 18px; }
.bpc-logo img { height: 32px; width: auto; display: block; }
.bpc-header nav { display: flex; gap: 24px; font-size: 14px; }
.bpc-header nav a { color: #fff; text-decoration: none; opacity: .9; }
.bpc-header nav a:hover { text-decoration: underline; opacity: 1; }

.bpc-hero { max-width: 1240px; margin: 0 auto; padding: 40px 24px 8px; }
.bpc-hero h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; }
.bpc-hero p { margin-top: 10px; max-width: 760px; color: var(--ink-2); }
.bpc-eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--ink-3); margin-bottom: 10px; }

/* ---------- toolbar ---------- */
.bpc-toolbar { max-width: 1240px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bpc-select { appearance: none; -webkit-appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23252525' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid var(--line-2); border-radius: var(--r); padding: 11px 40px 11px 14px; font: inherit; color: var(--ink); min-width: 0; }
.bpc-toolbar .bpc-select { min-width: 280px; }
.bpc-toolbar__links { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.bpc-link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.bpc-link:hover { color: var(--green-2); }
.bpc-link[aria-pressed="true"] { font-weight: 700; }

/* ---------- layout ---------- */
.bpc-layout { max-width: 1240px; margin: 0 auto; padding: 0 24px 64px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.bpc-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.bpc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 32px; }
.bpc-progress { padding: 18px 28px; display: grid; gap: 12px; }
.bpc-progress__top { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.bpc-progress__top b { color: var(--ink); }
.bpc-progress__bar { height: 4px; background: var(--bg); border-radius: 2px; overflow: hidden; }
.bpc-progress__bar span { display: block; height: 100%; background: var(--orange); transition: width .3s ease; }

.bpc-step + .bpc-step { margin-top: 16px; }
.bpc-step__head h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; }
.bpc-step__head .bpc-lead { margin-top: 10px; color: var(--ink-2); }
.bpc-step__num { font-family: var(--mono); font-size: 12px; letter-spacing: 1.4px; color: var(--orange); text-transform: uppercase; margin-bottom: 8px; }

.bpc details.bpc-help { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.bpc details.bpc-help summary { cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.bpc details.bpc-help summary::-webkit-details-marker { display: none; }
.bpc details.bpc-help summary::before { content: "+"; font-family: var(--mono); width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; line-height: 1; }
.bpc details.bpc-help[open] summary::before { content: "−"; }
.bpc details.bpc-help .bpc-help__body { margin-top: 10px; padding: 14px 16px; background: var(--paper-2); border-left: 3px solid var(--teal-2); border-radius: 0 var(--r) var(--r) 0; }
.bpc .bpc-help__body ul { margin: 6px 0 0; padding-left: 18px; }
.bpc .bpc-help__body li + li { margin-top: 4px; }

.bpc-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.bpc-section:first-of-type { border-top: 0; padding-top: 0; }
.bpc-section > h3 { font-size: 17px; margin-bottom: 4px; }
.bpc-section > .bpc-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }

/* ---------- fields ---------- */
.bpc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; margin-top: 16px; }
.bpc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bpc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bpc-field--wide { grid-column: 1 / -1; }
.bpc-field__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.bpc-badge { font-weight: 400; font-size: 11px; letter-spacing: .8px; border: 1px solid var(--line-2); color: var(--ink-2); padding: 1px 6px; border-radius: 3px; background: var(--paper-2); white-space: nowrap; }
.bpc-badge--live { border-color: var(--teal-2); color: var(--green-2); background: rgba(131,197,201,.15); }
.bpc-input { position: relative; display: flex; align-items: stretch; }
.bpc-input input, .bpc-input select, .bpc input.bpc-text {
  width: 100%; min-width: 0; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; letter-spacing: .4px;
}
.bpc-input input:focus, .bpc-input select:focus, .bpc input.bpc-text:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,51,47,.12); background: #fff; }
.bpc-input.is-example input { color: var(--ink-3); }
.bpc-input__unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--ink-3); pointer-events: none; }
.bpc-input--unit input { padding-right: 64px; }
.bpc-field__help { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.bpc-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); padding: 12px 16px; background: var(--paper-2); border-left: 3px solid var(--line-2); border-radius: 0 var(--r) var(--r) 0; }
.bpc-note--warn { border-left-color: var(--orange); }
.bpc-note--ok { border-left-color: var(--teal-2); }
.bpc-note strong { color: var(--ink); }
.bpc-result-line { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.bpc-result-line b { color: var(--ink); }

/* option cards (radio) */
.bpc-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.bpc-options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bpc-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); cursor: pointer; transition: background .15s, border-color .15s; }
.bpc-opt:hover { border-color: var(--green); }
.bpc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bpc-opt__dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-3); margin-top: 2px; display: grid; place-items: center; }
.bpc-opt__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bpc-opt__txt b { font-weight: 400; font-size: 15px; }
.bpc-opt__txt small { font-size: 12.5px; color: var(--ink-3); }
.bpc-opt__price { margin-left: auto; font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.bpc-opt.is-on { background: var(--green); border-color: var(--green); color: var(--on-green); }
.bpc-opt.is-on .bpc-opt__txt small { color: var(--on-green-2); }
.bpc-opt.is-on .bpc-opt__dot { border-color: var(--on-green); }
.bpc-opt.is-on .bpc-opt__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-green); }
.bpc-opt:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }

.bpc-switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin-top: 14px; font-size: 15px; }
.bpc-switch input { position: absolute; opacity: 0; }
.bpc-switch__track { flex: none; width: 40px; height: 22px; border-radius: 11px; background: var(--line-2); position: relative; transition: background .15s; margin-top: 1px; }
.bpc-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.bpc-switch input:checked + .bpc-switch__track { background: var(--green); }
.bpc-switch input:checked + .bpc-switch__track::after { transform: translateX(18px); }
.bpc-switch input:focus-visible + .bpc-switch__track { outline: 2px solid var(--orange); outline-offset: 2px; }
.bpc-switch small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }

/* ---------- buttons ---------- */
.bpc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--r); padding: 14px 22px; font-size: 15px; letter-spacing: 1px; border: 1px solid var(--green); background: var(--green); color: #fff; text-decoration: none; transition: background .15s, color .15s; }
.bpc-btn:hover { background: var(--green-2); border-color: var(--green-2); }
.bpc-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.bpc-btn--ghost:hover { background: var(--paper); border-color: var(--green); color: var(--ink); }
.bpc-btn--orange { background: var(--orange); border-color: var(--orange); }
.bpc-btn--orange:hover { background: #d44d1c; border-color: #d44d1c; }
.bpc-btn--sm { padding: 9px 14px; font-size: 14px; letter-spacing: .6px; }
.bpc-btn[disabled] { opacity: .45; cursor: default; }
.bpc-nav { display: flex; justify-content: space-between; gap: 12px; }
.bpc-iconbtn { background: none; border: 1px solid transparent; border-radius: var(--r); width: 34px; height: 34px; display: inline-grid; place-items: center; color: var(--ink-2); flex: none; }
.bpc-iconbtn:hover { border-color: var(--line-2); color: var(--ink); background: var(--paper); }

/* ---------- material lines ---------- */
.bpc-prod { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); }
.bpc-prod__img { width: 56px; height: 56px; flex: none; border-radius: 4px; background: var(--bg) center/cover no-repeat; border: 1px solid var(--line); }
.bpc-prod__body { flex: 1; min-width: 0; }
.bpc-prod__title { font-size: 15px; line-height: 1.35; }
.bpc-prod__meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; display: flex; gap: 10px; flex-wrap: wrap; }
.bpc-prod__meta a { color: var(--green-2); }
.bpc-line { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--paper); }
.bpc-line + .bpc-line { margin-top: 12px; }
.bpc-line .bpc-grid { margin-top: 12px; gap: 14px; }
.bpc-line__cost { font-family: var(--mono); font-size: 14px; white-space: nowrap; text-align: right; }
.bpc-line__cost small { display: block; font-family: var(--sans); color: var(--ink-3); font-size: 11.5px; }
.bpc-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.bpc-seg button { background: var(--paper); border: 0; padding: 7px 12px; font-size: 13px; color: var(--ink-2); }
.bpc-seg button + button { border-left: 1px solid var(--line-2); }
.bpc-seg button[aria-pressed="true"] { background: var(--green); color: #fff; }
.bpc-add-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.bpc-empty { padding: 18px; text-align: center; color: var(--ink-2); font-size: 14px; border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ---------- summary ---------- */
.bpc-summary { position: sticky; top: 16px; background: var(--green); color: var(--on-green); border-radius: var(--r); padding: 30px 32px; max-height: calc(100vh - 32px); overflow: auto; }
.bpc-summary h2, .bpc-summary h3 { color: var(--on-green); }
.bpc-summary__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.bpc-summary__hint { font-size: 13px; color: var(--on-green-2); margin-top: 6px; }
.bpc-price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.bpc-price__val { font-family: var(--mono); font-size: 56px; line-height: 1; letter-spacing: -1px; }
.bpc-price__cur { font-size: 16px; }
.bpc-price__sub { font-size: 13.5px; color: var(--on-green-2); margin-top: 8px; }
.bpc-summary hr { border: 0; border-top: 1px solid rgba(239,236,236,.18); margin: 22px 0; }
.bpc-floor h3 { font-size: 20px; }
.bpc-floor p { margin-top: 8px; font-size: 14px; color: var(--on-green-2); }
.bpc-rows { display: grid; gap: 10px; font-size: 14.5px; }
.bpc-row { display: flex; justify-content: space-between; gap: 12px; }
.bpc-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bpc-row--strong { font-weight: 700; }
.bpc-row--muted { color: var(--on-green-2); }
.bpc-summary details { margin-top: 4px; }
.bpc-summary details summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; align-items: center; gap: 8px; }
.bpc-summary details summary::-webkit-details-marker { display: none; }
.bpc-summary details summary::before { content: "▸"; font-size: 12px; transition: transform .15s; }
.bpc-summary details[open] summary::before { transform: rotate(90deg); }
.bpc-summary details .bpc-rows { margin-top: 14px; font-size: 13.5px; }
.bpc-summary__foot { font-size: 12.5px; color: var(--on-green-2); line-height: 1.5; }
.bpc-summary__msgs { margin-top: 10px; font-size: 13px; color: #fff; display: grid; gap: 4px; }
.bpc-summary__msgs div { padding-left: 14px; position: relative; }
.bpc-summary__msgs div::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.bpc-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 16px; background: rgba(239,236,236,.12); }
.bpc-bar span { display: block; height: 100%; }
.bpc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--on-green-2); }
.bpc-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.bpc-summary .bpc-btn { width: 100%; margin-top: 10px; }
.bpc-summary .bpc-btn--ghost { color: var(--on-green); border-color: rgba(239,236,236,.35); }
.bpc-summary .bpc-btn--ghost:hover { background: rgba(239,236,236,.08); color: #fff; }
.bpc-mobilebar { display: none; }

/* ---------- final step ---------- */
.bpc-final { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.bpc-kpi { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--paper-2); }
.bpc-kpi small { display: block; font-size: 12.5px; color: var(--ink-2); }
.bpc-kpi b { display: block; font-family: var(--mono); font-weight: 400; font-size: 26px; margin-top: 6px; }
.bpc-kpi.is-main { background: var(--green); border-color: var(--green); color: var(--on-green); }
.bpc-kpi.is-main small { color: var(--on-green-2); }
.bpc-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.bpc-table th, .bpc-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bpc-table th { font-weight: 400; color: var(--ink-3); font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; }
.bpc-table td.r, .bpc-table th.r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bpc-table tr.is-on td { font-weight: 700; }
.bpc-table tfoot td { font-weight: 700; border-bottom: 0; }
.bpc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- modal / picker ---------- */
.bpc-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.bpc-modal.is-open { display: block; }
.bpc-modal__bg { position: absolute; inset: 0; background: rgba(37,37,37,.45); }
.bpc-modal__panel { position: absolute; top: 4vh; bottom: 4vh; left: 50%; transform: translateX(-50%); width: min(1080px, calc(100% - 32px)); background: var(--bg); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.bpc-modal__head { padding: 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.bpc-modal__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bpc-modal__top h3 { font-size: 20px; }
.bpc-search { position: relative; }
.bpc-search input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px 12px 40px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper-2); }
.bpc-search input:focus { outline: none; border-color: var(--green); background: #fff; }
.bpc-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.bpc-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bpc-filters__label { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1px; margin-right: 2px; }
.bpc-chip { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--ink); }
.bpc-chip:hover { border-color: var(--green); }
.bpc-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.bpc-filters .bpc-select { padding-top: 7px; padding-bottom: 7px; font-size: 13px; border-radius: 999px; }
.bpc-modal__body { flex: 1; overflow: auto; padding: 20px 24px 28px; }
.bpc-modal__count { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.bpc-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.bpc-pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; }
.bpc-pcard__img { aspect-ratio: 1 / 1; background: var(--paper-2) center/contain no-repeat; border-bottom: 1px solid var(--line); position: relative; }
.bpc-pcard__img .bpc-badge { position: absolute; top: 8px; left: 8px; }
.bpc-pcard__body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bpc-pcard__title { font-family: var(--mono); font-size: 13.5px; line-height: 1.35; }
.bpc-pcard__price { font-size: 15px; }
.bpc-pcard__price small { color: var(--ink-3); font-size: 12px; }
.bpc-pcard__tags { display: flex; gap: 4px; flex-wrap: wrap; }
.bpc-tag { font-size: 11px; padding: 1px 6px; border-radius: 3px; background: var(--bg); color: var(--ink-2); }
.bpc-pcard .bpc-select { font-size: 13px; padding: 7px 30px 7px 10px; }
.bpc-pcard__foot { margin-top: auto; display: flex; gap: 8px; align-items: center; padding-top: 6px; }
.bpc-pcard__foot .bpc-btn { flex: 1; padding: 9px 10px; font-size: 13.5px; }
.bpc-pcard.is-out { opacity: .7; }
.bpc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--green); color: #fff; padding: 12px 18px; border-radius: var(--r); font-size: 14px; opacity: 0; transition: all .25s; z-index: 1100; pointer-events: none; }
.bpc-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.bpc-footer { background: var(--teal); color: #fff; }
.bpc-footer__in { max-width: 1240px; margin: 0 auto; padding: 28px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.bpc-footer a { color: #fff; }
.bpc .bpc-disclaimer { max-width: 1240px; margin: 0 auto; padding: 0 24px 40px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- PDF sheet (rendered off-screen) ---------- */
.bpc-pdf { position: fixed; left: -10000px; top: 0; width: 794px; min-height: 1123px; background: #fff; color: #252525; padding: 44px 48px; font-family: var(--sans); font-size: 11.5px; line-height: 1.45; letter-spacing: .3px; }
.bpc-pdf h1 { font-family: var(--mono); font-size: 22px; font-weight: 400; margin: 0; }
.bpc-pdf h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 8px; color: #3F5147; }
.bpc-pdf__head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #252525; padding-bottom: 14px; }
.bpc-pdf__brand { background: #AACCD1; color: #fff; font-family: var(--mono); padding: 8px 12px; border-radius: 4px; font-size: 14px; }
.bpc-pdf__price { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 10px; margin: 18px 0; }
.bpc-pdf__price div { border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; }
.bpc-pdf__price div.main { background: #2C332F; border-color: #2C332F; color: #EFECEC; }
.bpc-pdf__price small { display: block; font-size: 10px; opacity: .75; }
.bpc-pdf__price b { display: block; font-family: var(--mono); font-weight: 400; font-size: 20px; margin-top: 2px; }
.bpc-pdf__price div.main b { font-size: 26px; }
.bpc-pdf__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bpc-pdf table { width: 100%; border-collapse: collapse; }
.bpc-pdf td { padding: 4px 0; border-bottom: 1px solid #eee; vertical-align: top; }
.bpc-pdf td.r { text-align: right; white-space: nowrap; padding-left: 8px; }
.bpc-pdf tr.t td { font-weight: 700; border-bottom: 0; border-top: 1px solid #252525; }
.bpc-pdf__block { margin-top: 18px; }
.bpc-pdf__foot { margin-top: 18px; padding-top: 10px; border-top: 1px solid #ddd; font-size: 9.5px; color: #666; display: flex; justify-content: space-between; gap: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .bpc-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 120px; }
  .bpc-aside { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; }
  .bpc-summary { position: static; border-radius: 12px 12px 0 0; max-height: 78vh; padding: 0; box-shadow: 0 -8px 30px rgba(0,0,0,.2); }
  .bpc-summary__full { display: none; padding: 0 20px 24px; }
  .bpc-aside.is-open .bpc-summary__full { display: block; }
  .bpc-mobilebar { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; background: none; border: 0; color: var(--on-green); padding: 14px 20px; text-align: left; }
  .bpc-mobilebar__price { font-family: var(--mono); font-size: 26px; }
  .bpc-mobilebar small { display: block; font-size: 12px; color: var(--on-green-2); }
  .bpc-mobilebar__chev { transition: transform .2s; }
  .bpc-aside.is-open .bpc-mobilebar__chev { transform: rotate(180deg); }
  .bpc-summary .bpc-price { display: none; }
}
@media (max-width: 680px) {
  .bpc-header nav { display: none; }
  .bpc-hero, .bpc-toolbar, .bpc-layout { padding-left: 16px; padding-right: 16px; }
  .bpc-toolbar .bpc-select { min-width: 0; width: 100%; }
  .bpc-toolbar__links { margin-left: 0; }
  .bpc-card { padding: 22px 18px; }
  .bpc-grid, .bpc-grid--3, .bpc-options, .bpc-options--3, .bpc-final { grid-template-columns: minmax(0, 1fr); }
  .bpc-modal__panel { top: 0; bottom: 0; width: 100%; border-radius: 0; }
  .bpc-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bpc-prod { align-items: flex-start; }
  .bpc-table { font-size: 13px; }
}
@media print {
  body * { visibility: hidden !important; }
  .bpc-pdf, .bpc-pdf * { visibility: visible !important; }
  .bpc-pdf { position: absolute; left: 0; top: 0; }
}
@media (prefers-reduced-motion: reduce) { .bpc * { transition: none !important; } }
.bpc a.bpc-btn { color: #fff; }
.bpc a.bpc-btn--ghost { color: var(--ink); }
@media (max-width: 1020px) { .bpc-summary__eyebrow { display: none; } }

/* Summary in Barro teal (as the site header/footer) with dark text */
.bpc-summary { background: var(--teal); --on-green: #252525; --on-green-2: rgba(37, 37, 37, .72); color: var(--ink); }
.bpc-summary hr { border-top-color: rgba(37, 37, 37, .16); }
.bpc-summary .bpc-bar { background: rgba(37, 37, 37, .10); }
.bpc-summary__msgs { color: var(--ink); }
.bpc-summary .bpc-btn--ghost { color: var(--ink); border-color: rgba(37, 37, 37, .35); }
.bpc-summary .bpc-btn--ghost:hover { background: rgba(255, 255, 255, .35); color: var(--ink); }
.bpc-kpi.is-main { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.bpc-kpi.is-main small { color: var(--ink-2); }
.bpc-pdf__price div.main { background: #AACCD1; border-color: #AACCD1; color: #252525; }

/* =========================================================
   v2 - sticky summary, hierarchy, aligned fields, icons
   ========================================================= */

/* Icons (Google Material Symbols) */
.bpc .bpc-ic, .bpc .material-symbols-outlined {
  font-family: "Material Symbols Outlined"; font-weight: 300; font-style: normal; font-size: 20px; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; display: inline-block; flex: none;
  font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 20;
  overflow: hidden; max-width: 1.2em; vertical-align: middle;
}
.bpc-btn .bpc-ic { font-size: 19px; margin: 0 -2px; }
.bpc-link { display: inline-flex; align-items: center; gap: 6px; }
.bpc-link .bpc-ic { font-size: 18px; }
.bpc-iconbtn .bpc-ic { font-size: 18px; }

/* Sticky summary column on desktop */
@media (min-width: 1021px) {
  .bpc-aside { position: sticky; top: var(--bpc-sticky-top, 16px); align-self: start; }
  .bpc-summary { position: static; max-height: calc(100vh - var(--bpc-sticky-top, 16px) - 16px); }
}

/* Hierarchy */
.bpc-step__num { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 10px; }
.bpc-step__num .bpc-ic { font-size: 18px; color: var(--orange); }
.bpc-step__head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.bpc-step__head .bpc-lead { font-size: 16px; line-height: 1.55; margin-top: 12px; }
.bpc-section { margin-top: 32px; padding-top: 28px; }
.bpc-section > h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 2px; }
.bpc-section > h3 .bpc-ic { font-size: 22px; color: var(--green-2); }
.bpc-section > .bpc-sub { font-size: 13.5px; font-style: italic; color: var(--ink-2); margin: 4px 0 14px; padding-left: 32px; }
.bpc-section > h3:has(.bpc-ic) + .bpc-sub { padding-left: 32px; }
.bpc-section > h3:not(:has(.bpc-ic)) + .bpc-sub { padding-left: 0; }

.bpc details.bpc-help { font-size: 13.5px; }
.bpc details.bpc-help summary { gap: 6px; color: var(--green-2); font-weight: 700; font-size: 13.5px; }
.bpc details.bpc-help summary::before { content: "lightbulb"; font-family: "Material Symbols Outlined"; font-weight: 300; font-size: 19px; letter-spacing: normal; border: 0; width: auto; height: auto; border-radius: 0; color: var(--orange); font-feature-settings: "liga"; }
.bpc details.bpc-help[open] summary::before { content: "lightbulb"; }
.bpc details.bpc-help summary::after { content: "expand_more"; font-family: "Material Symbols Outlined"; font-size: 18px; letter-spacing: normal; transition: transform .15s; font-feature-settings: "liga"; }
.bpc details.bpc-help[open] summary::after { transform: rotate(180deg); }
.bpc details.bpc-help .bpc-help__body { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

.bpc-field__label { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.bpc-field__help { font-size: 12.5px; font-style: italic; line-height: 1.45; color: var(--ink-2); margin: 0; }

.bpc-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; }
.bpc-note::before { content: "info"; font-family: "Material Symbols Outlined"; font-size: 19px; line-height: 1.1; letter-spacing: normal; color: var(--green-2); flex: none; font-feature-settings: "liga"; }
.bpc-note--warn::before { content: "warning"; color: var(--orange); }
.bpc-note--ok::before { content: "check_circle"; color: var(--green-2); }

.bpc-result-line { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 11px 14px; background: rgba(170, 204, 209, .22); border-radius: var(--r); font-size: 14.5px; color: var(--ink-2); }
.bpc-result-line .bpc-ic { color: var(--green-2); font-size: 20px; }

/* Inputs: one bordered box holding value, example badge and unit */
.bpc-input { display: flex; align-items: center; gap: 8px; min-height: 48px; padding-right: 12px; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r); }
.bpc-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(44, 51, 47, .12); background: #fff; }
.bpc-input input, .bpc-input input:focus { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; outline: none; padding: 12px 0 12px 14px; font-size: 17px; }
.bpc-input--unit input { padding-right: 0; }
.bpc-input__unit { position: static; transform: none; flex: none; font-size: 13px; color: var(--ink-3); }
.bpc-input .bpc-badge { flex: none; font-size: 10.5px; letter-spacing: .6px; padding: 1px 6px; }
.bpc-input input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.bpc-input input[type=number]::-webkit-inner-spin-button, .bpc-input input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Field alignment: label / input / help share rows across each grid row */
.bpc-grid { row-gap: 0; column-gap: 20px; margin-top: 18px; }
.bpc-field { gap: 0; padding-bottom: 20px; }
.bpc-field__label { padding-bottom: 7px; }
.bpc-field__help { padding-top: 6px; }
@supports (grid-template-rows: subgrid) {
  .bpc-field { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
  .bpc-field__label { align-self: end; }
}
.bpc-line .bpc-grid { margin-top: 14px; }
.bpc-line .bpc-field { padding-bottom: 6px; }
.bpc-eq-remove { margin-bottom: 26px; }

/* Option cards with icons */
.bpc-opt { align-items: center; }
.bpc-opt__ic { font-size: 22px; color: var(--green-2); }
.bpc-opt.is-on .bpc-opt__ic { color: var(--on-green); }
.bpc-opt__price { align-self: flex-start; }

/* Search icon and misc */
.bpc-search .bpc-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 20px; }
.bpc-mobilebar__chev { font-size: 22px; }
.bpc-summary .bpc-btn { gap: 8px; }

/* Compact summary so it fits a laptop screen while sticky */
@media (min-width: 1021px) {
  .bpc-summary { padding: 24px 28px; }
  .bpc-price { margin-top: 12px; }
  .bpc-price__val { font-size: 50px; }
  .bpc-summary hr { margin: 16px 0; }
  .bpc-floor h3 { font-size: 16px; }
  .bpc-floor p { font-size: 12.5px; font-style: italic; margin-top: 6px; line-height: 1.5; }
  .bpc-rows { gap: 7px; font-size: 14px; }
  .bpc-summary__foot { font-size: 12px; font-style: italic; }
  .bpc-summary .bpc-btn { padding: 11px 18px; margin-top: 8px; }
}
.bpc-note > div { min-width: 0; }
.bpc-switch small { font-size: 12.5px; font-style: italic; color: var(--ink-2); }
.bpc details.bpc-help--params summary::before, .bpc details.bpc-help--params[open] summary::before { content: "tune"; color: var(--green-2); }

/* =========================================================
   v3 - interaction roles
   Selection controls = teal (choice made). Primary action = solid dark green.
   Secondary action = green outline. Final output (PDF) = orange.
   ========================================================= */
.bpc {
  --sel: #3D7F86;          /* derived from Barro teal, 4.6:1 on white for borders and dots */
  --sel-bg: #E4EFF0;       /* Barro teal tint */
  --sel-bg-hover: #F2F7F8;
}

/* Option cards */
.bpc-opt { border: 1.5px solid var(--line-2); }
.bpc-opt:hover { border-color: var(--sel); background: var(--sel-bg-hover); }
.bpc-opt.is-on { background: var(--sel-bg); border-color: var(--sel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--sel); }
.bpc-opt.is-on .bpc-opt__txt small { color: var(--ink-2); }
.bpc-opt.is-on .bpc-opt__dot { border-color: var(--sel); }
.bpc-opt.is-on .bpc-opt__dot::after { background: var(--sel); }
.bpc-opt.is-on .bpc-opt__ic { color: var(--sel); }
.bpc-opt.is-on .bpc-opt__txt b { font-weight: 700; }

/* Filter chips */
.bpc-chip:hover { border-color: var(--sel); background: var(--sel-bg-hover); }
.bpc-chip[aria-pressed="true"] { background: var(--sel-bg); border-color: var(--sel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--sel); font-weight: 700; }

/* Segmented control */
.bpc-seg { border: 1.5px solid var(--line-2); }
.bpc-seg button:hover { background: var(--sel-bg-hover); }
.bpc-seg button[aria-pressed="true"] { background: var(--sel-bg); color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--sel); }

/* Switch */
.bpc-switch input:checked + .bpc-switch__track { background: var(--sel); }

/* Buttons */
.bpc-btn--secondary { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.bpc-btn--secondary:hover { background: var(--sel-bg-hover); color: var(--green); border-color: var(--green); }
.bpc-btn--ghost { border-width: 1.5px; }

/* =========================================================
   v4 - reverse mode (check your current price)
   ========================================================= */
.bpc-check__empty { margin-top: 4px; font-size: 13.5px; font-style: italic; color: var(--ink-2); }
.bpc-check__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.bpc-check__kpis .bpc-kpi small + b + small { margin-top: 4px; font-size: 12px; font-style: italic; }
.bpc-check--loss .bpc-kpi.is-main, .bpc-check--under .bpc-kpi.is-main { background: #FBE3D9; border-color: #F2B49B; }
.bpc-check__verdict { margin-top: 14px; }
.bpc-check__hours td { font-weight: 400 !important; color: var(--ink-2); font-size: 13px; }
.bpc-scale { margin: 26px 0 8px; padding: 0 6px; }
.bpc-scale__track { position: relative; height: 12px; border-radius: 6px; background: var(--paper-2); }
.bpc-scale__track > span { position: absolute; top: 0; bottom: 0; }
.bpc-scale__track > span:first-child { border-radius: 6px 0 0 6px; }
.bpc-scale__track > span:nth-child(4) { border-radius: 0 6px 6px 0; }
.bpc-scale .z-loss { background: #F2B49B; }
.bpc-scale .z-under { background: #F7D9C3; }
.bpc-scale .z-ok { background: var(--sel-bg); }
.bpc-scale .z-good { background: #B9D7DA; }
.bpc-scale__mark { position: absolute; top: -6px; width: 3px; height: 24px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
.bpc-scale__mark b { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-weight: 400; font-size: 13px; white-space: nowrap; background: var(--ink); color: #fff; padding: 2px 7px; border-radius: 4px; }
.bpc-scale__ticks { position: relative; height: 36px; margin-top: 8px; font-size: 11.5px; color: var(--ink-2); line-height: 1.3; }
.bpc-scale__ticks span { position: absolute; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.bpc-scale__ticks span::before { content: ""; position: absolute; top: -8px; left: 50%; width: 1px; height: 6px; background: var(--ink-3); }
.bpc-sumcheck { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .55); font-size: 13.5px; }
.bpc-sumcheck span { display: inline-flex; align-items: center; gap: 6px; }
.bpc-sumcheck .bpc-ic { font-size: 18px; color: var(--sel); }
.bpc-sumcheck--loss .bpc-ic, .bpc-sumcheck--under .bpc-ic { color: var(--orange); }
.bpc-sumcheck b { font-family: var(--mono); font-weight: 400; font-size: 15px; white-space: nowrap; }
@media (max-width: 680px) { .bpc-check__kpis { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Calculator de forme la roată (bft-*)
   ========================================================= */
.bft-formpick { margin-top: 22px; display: grid; gap: 12px; }
.bft-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; max-height: 470px; overflow: auto; padding: 3px; margin: 0 -3px; }
.bft-fcard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px 11px; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--r); font-size: 13px; line-height: 1.25; color: var(--ink); text-align: center; transition: background .15s, border-color .15s; }
.bft-fcard:hover { border-color: var(--sel); background: var(--sel-bg-hover); }
.bft-fcard[aria-pressed="true"] { background: var(--sel-bg); border-color: var(--sel); box-shadow: inset 0 0 0 1px var(--sel); font-weight: 700; }
.bft-fcard svg { width: 84px; height: 64px; display: block; }
.bft-fcard .bft-check { position: absolute; top: 6px; right: 6px; color: var(--sel); font-size: 18px; }
.bpc .bft-clay { fill: var(--green-2); }
.bft-fcard[aria-pressed="true"] .bft-clay { fill: var(--sel); }
.bft-chosen { display: flex; gap: 16px; align-items: flex-start; margin-top: 20px; padding: 16px; background: rgba(170, 204, 209, .22); border-radius: var(--r); }
.bft-chosen p + p { margin-top: 6px; }
.bft-chosen__img { flex: none; width: 84px; height: 64px; background: var(--paper); border-radius: 4px; }
.bft-chosen__img svg { width: 84px; height: 64px; display: block; }
.bft-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 16px; }
.bft-inner { margin-top: 20px; padding: 6px 22px 18px; background: var(--paper-2); }
.bft-inner .bpc-input { background: #fff; }
.bft-computed { background: rgba(170, 204, 209, .25) !important; border-style: dashed; padding-left: 14px; }
.bft-computed b { flex: 1; font-family: var(--mono); font-weight: 400; font-size: 17px; padding: 12px 0; }
.bft-tablewrap { overflow-x: auto; }
.bft-muted { color: var(--ink-2); font-style: italic; }
.bpc-line .bpc-result-line { margin-top: 10px; }
.bpc-line .bpc-switch small span { font-style: italic; }

/* summary preview */
.bft-preview { margin-top: 16px; background: rgba(255, 255, 255, .45); border-radius: var(--r); padding: 8px 8px 10px; }
.bft-draw { width: 100%; height: auto; display: block; }
.bft-preview .bft-wet { fill: var(--green-2); }
.bft-legend { display: flex; gap: 14px; justify-content: center; font-size: 12px; color: var(--ink-2); margin-top: 4px; flex-wrap: wrap; }
.bft-legend i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.bft-lg-wet { width: 10px; height: 10px; border-radius: 2px; background: var(--green-2); }
.bft-lg-fired { width: 16px; border-top: 2px dashed var(--orange); }
.bpc-summary .bpc-price__cur { font-family: var(--mono); }
@media (min-width: 1021px) { .bft-preview { margin-top: 10px; padding: 6px 6px 8px; } .bft-draw { max-height: 175px; } .bpc-summary__hint { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 680px) {
  .bft-fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 400px; }
  .bft-fcard { font-size: 12px; padding: 10px 4px; }
  .bft-fcard svg { width: 100%; max-width: 84px; height: auto; }
  .bft-inner { padding: 4px 14px 14px; }
  .bft-chosen { flex-direction: column; }
  .bpc-seg { flex-wrap: wrap; }
}
.bft-preview + .bpc-rows { margin-top: 12px; }
@media (max-width: 1020px) { .bpc-toast { bottom: 96px; } }
@media (max-width: 680px) {
  .bft-row .bpc-seg, .bpc-field .bpc-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  .bpc-seg button { padding: 9px 8px; line-height: 1.25; }
  .bpc-seg button + button { border-left: 1px solid var(--line-2); }
}

/* ---------- shape step: form picker and slider fields (live drawing sits in the summary) ---------- */
.bft-fchips { margin-top: 12px; }
.bpc-section .bft-fgrid { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); max-height: 316px; gap: 8px; }
.bpc-section .bft-fcard { padding: 10px 6px 9px; font-size: 12.5px; }
.bpc-section .bft-fcard svg { width: 72px; height: 55px; }
.bft-chosen-line { margin-top: 14px !important; font-size: 14px; color: var(--ink-2); padding: 11px 14px; background: rgba(170, 204, 209, .22); border-radius: var(--r); }
.bft-chosen-line b { color: var(--ink); }
.bft-slf__foot { padding-top: 2px; }
.bft-slf__foot .bpc-field__help { padding-top: 2px; }
.bft-slf.is-kept .bpc-input { border-color: var(--sel); box-shadow: inset 0 0 0 1px var(--sel); }
.bft-keep { margin-top: 4px; }
.bft-range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 4px 0 0; background: transparent; cursor: pointer; --p: 50%; }
.bft-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--sel) 0, var(--sel) var(--p), rgba(37, 37, 37, .14) var(--p), rgba(37, 37, 37, .14) 100%); }
.bft-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--green), 0 1px 3px rgba(0, 0, 0, .2); cursor: grab; }
.bft-range:active::-webkit-slider-thumb { cursor: grabbing; }
.bft-range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(37, 37, 37, .14); }
.bft-range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--sel); }
.bft-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--green); }
.bft-range:focus { outline: none; }
.bft-range:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.bft-preview .bft-draw { max-height: 205px; }
.bft-mini { width: 44px; height: 37px; flex: none; background: rgba(255, 255, 255, .5); border-radius: 4px; display: none; }
.bft-mobilebar__l { display: flex; align-items: center; gap: 12px; }
@media (max-width: 1020px) {
  .bft-mini { display: block; }
  .bpc-mobilebar small + small { margin-top: 1px; }
}
@media (max-width: 680px) {
  .bpc-section .bft-fgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 104px; overflow-x: auto; overflow-y: hidden; max-height: none; padding-bottom: 8px; }
}

/* =========================================================
   v6 - dense layout for the forms tool (.bpc.bft only; the pricing calculator is untouched)
   4/8 px spacing scale, compact rows, 40 px controls (44 px on touch), tabular numbers
   ========================================================= */
.bpc.bft { --gap-1: 4px; --gap-2: 8px; --gap-3: 12px; --gap-4: 16px; --gap-5: 24px; --gap-6: 32px; }
.bpc.bft .bpc-hero { padding: 28px 24px 0; }
.bpc.bft .bpc-hero h1 { font-size: clamp(24px, 2.8vw, 34px); }
.bpc.bft .bpc-hero p { font-size: 15px; margin-top: 8px; }
.bpc.bft .bpc-toolbar { padding: 16px 24px; }
.bpc.bft .bpc-layout { gap: 24px; grid-template-columns: minmax(0, 1fr) 380px; }
.bpc.bft .bpc-main { gap: 12px; }
.bpc.bft .bpc-card { padding: 22px 24px; }
.bpc.bft .bpc-progress { padding: 14px 24px; gap: 10px; }
.bpc.bft .bpc-step__num { margin-bottom: 6px; }
.bpc.bft .bpc-step__head h2 { font-size: clamp(21px, 2.1vw, 26px); }
.bpc.bft .bpc-step__head .bpc-lead { font-size: 15px; margin-top: 8px; }
.bpc.bft details.bpc-help { margin-top: 8px; }
.bpc.bft .bpc-section { margin-top: 20px; padding-top: 18px; }
.bpc.bft .bpc-section > h3 { font-size: 16px; }
.bpc.bft .bpc-section > h3 .bpc-ic { font-size: 20px; }
.bpc.bft .bpc-section > .bpc-sub { margin: 2px 0 10px; padding-left: 30px; font-size: 13px; }
.bpc.bft .bpc-nav .bpc-btn { padding: 11px 18px; }

/* regular fields (steps 2 and 3): 40 px controls, tighter grid */
.bpc.bft .bpc-grid { column-gap: 16px; margin-top: 12px; }
.bpc.bft .bpc-field { padding-bottom: 14px; }
.bpc.bft .bpc-field__label { font-size: 13.5px; padding-bottom: 5px; }
.bpc.bft .bpc-field__help { font-size: 12px; padding-top: 4px; }
.bpc.bft .bpc-input { min-height: 40px; }
.bpc.bft .bpc-input input, .bpc.bft .bpc-input input:focus { padding: 8px 0 8px 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.bpc.bft .bpc-opt { padding: 10px 12px; }
.bpc.bft .bpc-options { gap: 8px; margin-top: 8px; }
.bpc.bft .bpc-note { margin-top: 12px; padding: 10px 12px; font-size: 13px; }
.bpc.bft .bpc-result-line { margin-top: 12px; padding: 9px 12px; font-size: 14px; }
.bpc.bft .bpc-line { padding: 12px; }
.bpc.bft .bpc-line + .bpc-line { margin-top: 8px; }
.bpc.bft .bpc-line .bpc-result-line { margin-top: 8px; }
.bpc.bft .bpc-prod { padding: 8px; gap: 10px; }
.bpc.bft .bpc-prod__img { width: 44px; height: 44px; }
.bpc.bft .bpc-prod__title { font-size: 14px; }
.bpc.bft .bft-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bpc.bft .bpc-switch { margin-top: 8px; font-size: 14px; }
.bpc.bft .bpc-table { font-size: 13.5px; margin-top: 8px; }
.bpc.bft .bpc-table th, .bpc.bft .bpc-table td { padding: 8px 6px; }
.bpc.bft .bpc-actions { margin-top: 14px; gap: 8px; }
.bpc.bft .bpc-actions .bpc-btn { padding: 11px 16px; font-size: 14px; }
.bpc.bft .bft-row { margin-top: 10px; gap: 8px 12px; }

/* form picker: one compact toolbar, two visible rows of small cards */
.bpc.bft .bft-pickbar { display: grid; gap: 8px; }
.bpc.bft .bft-pickbar .bpc-search input { padding: 9px 12px 9px 38px; font-size: 14.5px; }
.bpc.bft .bft-fchips { margin-top: 0; gap: 6px; }
.bpc.bft .bft-fchips .bpc-chip { padding: 5px 11px; font-size: 13px; }
.bpc.bft .bpc-section .bft-fgrid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; max-height: 214px; margin-top: 10px; }
.bpc.bft .bpc-section .bft-fcard { padding: 8px 4px 7px; gap: 4px; font-size: 12px; line-height: 1.2; }
.bpc.bft .bpc-section .bft-fcard svg { width: 60px; height: 46px; }
.bpc.bft .bft-fcard .bft-check { top: 4px; right: 4px; font-size: 16px; }
.bpc.bft .bft-chosen-line { margin-top: 10px !important; padding: 8px 12px; font-size: 13px; }

/* control bar above the rows */
.bft-ctrlbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 4px; padding: 10px 12px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); }
.bft-ctrlbar__item { display: flex; align-items: center; gap: 8px; }
.bft-ctrlbar__lab { font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.bpc.bft .bft-ctrlbar .bpc-seg button { padding: 7px 11px; font-size: 13px; min-height: 34px; }
.bft-iconlink { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 4px; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.bft-iconlink .bpc-ic { font-size: 18px; }
.bft-iconlink:hover { color: var(--ink); }

/* slider rows */
.bft-group { margin-top: 8px; border-top: 1px solid var(--line); }
.bft-sl { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) 112px; align-items: center; gap: 4px 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.bft-sl__lab { display: flex; flex-direction: column; min-width: 0; }
.bft-sl__lab label { font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.bft-sl__help { font-size: 12px; line-height: 1.3; color: var(--ink-3); margin-top: 1px; }
.bft-sl .bft-range { margin: 0; height: 28px; }
.bft-sl__num { display: flex; align-items: center; height: 40px; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r); padding-right: 10px; }
.bft-sl__num:focus-within { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(44, 51, 47, .12); }
.bft-sl__num input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; font: inherit; font-family: var(--mono); font-size: 15px; text-align: right; padding: 0 6px 0 8px; color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.bft-sl__num input:focus { outline: none; }
.bft-sl__num input::-webkit-inner-spin-button, .bft-sl__num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bft-sl__num span { flex: none; width: 22px; font-size: 12px; color: var(--ink-3); }
.bft-sl.is-kept .bft-sl__num { border-color: var(--sel); box-shadow: inset 0 0 0 1px var(--sel); background: var(--sel-bg); }
.bft-tag { display: inline-block; vertical-align: 1px; margin-left: 4px; font-size: 10.5px; font-weight: 400; letter-spacing: .5px; padding: 1px 6px; border-radius: 3px; background: var(--sel-bg); color: var(--sel); border: 1px solid var(--sel); }
.bpc.bft .bft-group + .bpc-result-line { margin-top: 12px; }

/* summary: denser */
.bpc.bft .bpc-summary { padding: 20px 22px; }
.bpc.bft .bpc-price { margin-top: 8px; }
.bpc.bft .bpc-price__val { font-size: 44px; }
.bpc.bft .bpc-price__sub { margin-top: 4px; font-size: 13px; }
.bpc.bft .bft-preview { margin-top: 10px; padding: 6px 6px 8px; }
.bpc.bft .bft-preview .bft-draw { max-height: 180px; }
.bpc.bft .bft-preview + .bpc-rows { margin-top: 10px; }
.bpc.bft .bpc-rows { gap: 5px; font-size: 13.5px; }
.bpc.bft .bpc-summary hr { margin: 12px 0; }
.bpc.bft .bpc-bar { margin-top: 12px; height: 6px; }
.bpc.bft .bpc-legend { margin-top: 8px; font-size: 11.5px; }
.bpc.bft .bpc-floor h3 { font-size: 14.5px; }
.bpc.bft .bpc-floor p { font-size: 12px; margin-top: 4px; }
.bpc.bft .bpc-summary .bpc-btn { padding: 10px 14px; margin-top: 6px; font-size: 14px; }

@media (max-width: 1020px) {
  .bpc.bft .bpc-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .bpc.bft .bpc-hero, .bpc.bft .bpc-toolbar { padding-left: 16px; padding-right: 16px; }
  .bpc.bft .bpc-card { padding: 18px 16px; }
  .bpc.bft .bft-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bft-sl { grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "lab num" "range range"; padding: 10px 0 6px; }
  .bft-sl__lab { grid-area: lab; }
  .bft-sl__num { grid-area: num; height: 44px; }
  .bft-sl .bft-range { grid-area: range; height: 32px; }
  .bft-ctrlbar { gap: 10px; }
  .bft-ctrlbar__item { flex-wrap: wrap; width: 100%; }
  .bft-ctrlbar__item .bpc-seg { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .bft-iconlink { margin-left: 0; }
  .bpc.bft .bpc-input { min-height: 44px; }
  .bpc.bft .bpc-section .bft-fgrid { grid-auto-columns: 92px; }
}
@media (pointer: coarse) {
  .bft-range::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -11px; }
}
@media (max-width: 680px) {
  .bft-ctrlbar__item { flex-direction: column; align-items: stretch; gap: 6px; }
  .bft-ctrlbar__item .bpc-seg { width: 100%; }
  .bpc.bft .bft-ctrlbar .bpc-seg button { padding: 8px 4px; min-height: 40px; }
}

/* ---------- v7: summary fits one screen ---------- */
.bpc.bft .bpc-summary { padding: 16px 18px 16px; }
.bpc.bft .bpc-summary__hint { margin-top: 2px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpc.bft .bpc-price { margin-top: 4px; gap: 6px; }
.bpc.bft .bpc-price__val { font-size: 40px; }
.bpc.bft .bpc-price__sub { margin-top: 0; font-size: 12.5px; }
.bpc.bft .bft-preview { margin-top: 8px; padding: 4px 4px 6px; }
.bpc.bft .bft-preview .bft-draw { max-height: 150px; }
.bpc.bft .bft-preview .bft-legend { margin-top: 2px; font-size: 11.5px; }
.bpc.bft .bft-preview + .bpc-rows { margin-top: 8px; }
.bpc.bft .bpc-summary .bpc-rows { gap: 3px; font-size: 13px; }
.bpc.bft .bpc-summary .bpc-bar { margin-top: 10px; height: 5px; }
.bpc.bft .bpc-summary .bpc-legend { margin-top: 6px; gap: 2px 10px; font-size: 11px; }
.bft-floor { margin: 10px 0 0; padding: 8px 0; border-top: 1px solid rgba(37, 37, 37, .16); border-bottom: 1px solid rgba(37, 37, 37, .16); font-family: var(--mono); font-size: 13px; letter-spacing: .3px; }
.bpc.bft .bft-batchrows { margin-top: 8px; }
.bft-sumactions { margin-top: 12px; display: grid; gap: 6px; }
.bft-sumactions__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bpc.bft .bft-sumactions .bpc-btn { width: 100%; margin: 0; padding: 9px 10px; font-size: 13.5px; letter-spacing: .4px; gap: 6px; }
.bpc.bft .bft-sumactions .bpc-btn .bpc-ic { font-size: 18px; }
@media (min-width: 1021px) and (max-height: 820px) {
  .bpc.bft .bpc-price__val { font-size: 34px; }
  .bpc.bft .bft-preview .bft-draw { max-height: 112px; }
  .bpc.bft .bft-preview .bft-legend { display: none; }
  .bpc.bft .bpc-summary .bpc-legend { display: none; }
}
@media (min-width: 1021px) and (max-height: 700px) {
  .bpc.bft .bft-preview { display: none; }
  .bft-floor { display: none; }
}
.bpc.bft .bpc-summary .bpc-legend + .bft-floor { margin-top: 12px; }
@media (min-width: 1021px) and (max-height: 820px) { .bpc.bft .bpc-summary .bpc-bar { display: none; } }

/* ---------- v8: larger live drawing, drawn at display size ---------- */
.bpc.bft .bft-preview { position: relative; padding: 0; margin-top: 10px; }
.bpc.bft .bft-preview .bft-draw { display: block; width: 100%; height: auto; max-height: none; }
.bpc.bft .bft-preview .bft-legend { position: absolute; top: 7px; left: 10px; right: 10px; justify-content: flex-start; margin: 0; font-size: 11.5px; }
.bpc.bft .bft-preview .bft-dimtxt { font-size: 12px; }
@media (min-width: 1021px) and (max-height: 820px) {
  .bpc.bft .bft-preview .bft-draw { max-height: none; }
  .bpc.bft .bft-preview .bft-legend { display: flex; }
}
@media (min-width: 1021px) and (max-height: 700px) {
  .bpc.bft .bft-preview { display: block; }
}

/* =========================================================
   v9 - "planșă tehnică": technical-drawing skin for the forms tool (.bpc.bft only)
   Warm paper, hairlines, crosshairs, uppercase grotesk headlines, mono KEY : VALUE labels,
   one accent (Barro orange). Square corners everywhere.
   ========================================================= */
.bpc.bft {
  --paper: #F4F3EE; --paper-2: #EBEAE4; --ink: #282828; --ink-2: rgba(40, 40, 40, .74); --ink-3: rgba(40, 40, 40, .55);
  --hair: #B4B4AF; --line: rgba(40, 40, 40, .16); --line-2: rgba(40, 40, 40, .32);
  --grotesk: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 0px;
  --sel: #282828; --sel-bg: #FFFFFF; --sel-bg-hover: #FBFAF6;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
}
.bpc.bft .mono, .bpc.bft .bpc-eyebrow, .bpc.bft .bft-tab__n { font-family: var(--mono); }

/* headlines: bold uppercase grotesk, tight */
.bpc.bft h1, .bpc.bft .bpc-step__head h2 { font-family: var(--grotesk); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; }
.bpc.bft .bpc-section > h3, .bpc.bft .bft-ws__h { font-family: var(--mono); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink); }
.bpc.bft .bpc-section > h3 .bpc-ic { display: none; }
.bpc.bft .bpc-step { counter-reset: sec; }
.bpc.bft .bpc-section > h3::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); color: var(--orange); margin-right: 4px; }
.bpc.bft .bpc-section > .bpc-sub { padding-left: 0; font-style: normal; color: var(--ink-3); font-size: 12.5px; }

/* hero band: title | text | KEY : VALUE block, separated by hairlines */
.bpc.bft .bft-hero { max-width: 1240px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr); border: 1px solid var(--hair); border-top: 0; }
.bft-hero > * { padding: 22px 24px 24px; }
.bft-hero > * + * { border-left: 1px solid var(--hair); }
.bpc.bft .bft-hero h1 { font-size: clamp(32px, 4.2vw, 56px); max-width: 12ch; margin-top: 10px; }
.bpc.bft .bft-hero .bpc-eyebrow { color: var(--orange); font-size: 11.5px; letter-spacing: 1.4px; margin: 0; }
.bpc.bft .bft-hero__text p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.bft-hero__meta { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.55; text-transform: uppercase; letter-spacing: .4px; display: grid; gap: 6px; align-content: start; }
.bft-hero__meta div { display: grid; grid-template-columns: 92px 10px 1fr; }
.bft-hero__meta div::before { content: ":"; grid-column: 2; grid-row: 1; color: var(--ink-3); }
.bft-hero__meta dt { grid-column: 1; grid-row: 1; color: var(--ink-3); }
.bft-hero__meta dd { grid-column: 3; grid-row: 1; margin: 0; }
.bpc.bft .bpc-announce { font-size: 12px; letter-spacing: .6px; }

/* toolbar: step tabs and action cells, like a drawing title row */
.bpc.bft .bft-toolbar { max-width: 1240px; margin: 0 auto; padding: 0; gap: 0; border: 1px solid var(--hair); border-top: 0; flex-wrap: nowrap; align-items: stretch; }
.bft-stepsel { display: none !important; }
.bft-tabs { display: flex; flex: 1; min-width: 0; }
.bft-tab { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 16px 14px; background: transparent; border: 0; border-right: 1px solid var(--hair); text-align: left; color: var(--ink-3); position: relative; transition: background .15s, color .15s; }
.bft-tab__n { font-size: 11px; letter-spacing: 1px; }
.bft-tab__t { font-family: var(--grotesk); font-weight: 700; font-size: 15px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.1; }
.bft-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .45); }
.bft-tab[aria-current="step"] { color: var(--ink); background: #fff; }
.bft-tab[aria-current="step"] .bft-tab__n { color: var(--orange); }
.bft-tab[aria-current="step"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); }
.bpc.bft .bft-cells { margin: 0; gap: 0; flex-wrap: nowrap; display: flex; }
.bpc.bft .bft-cell { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 14px; min-width: 112px; border-left: 1px solid var(--hair); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); background: transparent; position: relative; }
.bpc.bft .bft-cell:first-child { border-left: 0; }
.bpc.bft .bft-cell .bpc-ic { font-size: 18px; color: var(--ink-3); }
.bpc.bft .bft-cell:hover { background: rgba(255, 255, 255, .45); color: var(--ink); }
.bpc.bft .bft-cell[disabled] { color: var(--ink-3); opacity: .6; }
.bpc.bft .bft-cell[aria-pressed="true"] { background: #fff; }
.bpc.bft .bft-cell--accent { color: var(--orange); min-width: 150px; }
.bft-arrow { align-self: flex-end; font-size: 16px; line-height: 1; }

/* ruler strip with crosshairs */
.bft-ruler { max-width: 1240px; margin: 0 auto 22px; height: 14px; position: relative; border: 1px solid var(--hair); border-top: 0;
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(40, 40, 40, .28) 7px 8px) left 3px / 100% 6px no-repeat,
              repeating-linear-gradient(90deg, transparent 0 79px, rgba(40, 40, 40, .5) 79px 80px) left 1px / 100% 10px no-repeat; }
.bft-ruler i { position: absolute; top: 50%; width: 11px; height: 11px; transform: translate(-50%, -50%); }
.bft-ruler i::before, .bft-ruler i::after { content: ""; position: absolute; background: var(--ink); }
.bft-ruler i::before { left: 5px; top: 0; width: 1px; height: 11px; }
.bft-ruler i::after { top: 5px; left: 0; height: 1px; width: 11px; }
.bft-ruler i:first-child { left: 0; } .bft-ruler i:last-child { left: 100%; }

/* layout and cards: hairlines, no radius, no shadows */
.bpc.bft .bpc-layout { padding-bottom: 56px; }
.bpc.bft .bpc-progress { display: none; }
.bpc.bft .bpc-card { background: #fff; border: 1px solid var(--hair); border-radius: 0; }
.bpc.bft .bpc-step__num { font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; color: var(--orange); }
.bpc.bft .bpc-step__num .bpc-ic { display: none; }
.bpc.bft .bpc-step__head h2 { font-size: clamp(26px, 2.6vw, 34px); }
.bpc.bft .bpc-section { border-top: 1px solid var(--hair); }
.bpc.bft details.bpc-help summary { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .8px; text-transform: uppercase; color: var(--ink); }
.bpc.bft details.bpc-help summary::before { color: var(--orange); }
.bpc.bft details.bpc-help .bpc-help__body { border-left: 2px solid var(--orange); background: var(--paper); }

/* controls */
.bpc.bft .bpc-btn, .bpc.bft .bpc-seg, .bpc.bft .bpc-chip, .bpc.bft .bpc-input, .bpc.bft .bft-sl__num, .bpc.bft .bpc-opt, .bpc.bft .bpc-search input, .bpc.bft .bpc-select, .bpc.bft .bft-fcard, .bpc.bft .bpc-line, .bpc.bft .bpc-prod, .bpc.bft .bpc-note, .bpc.bft .bpc-result-line, .bpc.bft .bft-ctrlbar, .bpc.bft .bft-chosen-line, .bpc.bft .bpc-empty { border-radius: 0; }
.bpc.bft .bpc-btn { font-family: var(--mono); text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.bpc.bft .bpc-btn--secondary { border-width: 1px; }
.bpc.bft .bpc-btn--ghost { border-width: 1px; border-color: var(--hair); }
.bpc.bft .bpc-input, .bpc.bft .bft-sl__num { background: var(--paper); border-color: var(--hair); }
.bpc.bft .bpc-input:focus-within, .bpc.bft .bft-sl__num:focus-within { border-color: var(--ink); box-shadow: none; background: #fff; }
.bpc.bft .bpc-field__label, .bpc.bft .bft-sl__lab label { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--ink); }
.bpc.bft .bpc-field__help, .bpc.bft .bft-sl__help { font-style: normal; color: var(--ink-3); }
.bpc.bft .bft-sl__num input { font-size: 15px; }
.bpc.bft .bpc-chip { font-family: var(--mono); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; border-color: var(--hair); background: transparent; }
.bpc.bft .bpc-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.bpc.bft .bpc-seg { border: 1px solid var(--hair); }
.bpc.bft .bpc-seg button { font-family: var(--mono); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; background: transparent; }
.bpc.bft .bpc-seg button + button { border-left: 1px solid var(--hair); }
.bpc.bft .bpc-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; font-weight: 400; }
.bpc.bft .bft-ctrlbar { background: var(--paper); border-color: var(--hair); }
.bpc.bft .bft-ctrlbar__lab { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.bpc.bft .bpc-opt { border: 1px solid var(--hair); background: transparent; }
.bpc.bft .bpc-opt.is-on { background: #fff; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bpc.bft .bpc-opt.is-on .bpc-opt__dot { border-color: var(--orange); }
.bpc.bft .bpc-opt.is-on .bpc-opt__dot::after { background: var(--orange); border-radius: 0; }
.bpc.bft .bpc-opt__dot { border-radius: 0; }
.bpc.bft .bpc-switch__track { border-radius: 0; }
.bpc.bft .bpc-switch__track::after { border-radius: 0; }
.bpc.bft .bpc-switch input:checked + .bpc-switch__track { background: var(--orange); }
.bpc.bft .bpc-note { background: var(--paper); border-left-width: 2px; }
.bpc.bft .bpc-result-line { background: var(--paper); border: 1px solid var(--hair); font-family: var(--mono); font-size: 12.5px; letter-spacing: .2px; }
.bpc.bft .bpc-result-line .bpc-ic { color: var(--orange); }
.bpc.bft .bpc-result-line b { font-weight: 700; color: var(--ink); }
.bpc.bft .bpc-badge { border-radius: 0; font-family: var(--mono); }
.bpc.bft .bpc-table th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; }
.bpc.bft .bpc-line { border-color: var(--hair); }
.bpc.bft .bpc-prod { background: var(--paper); border-color: var(--hair); }
.bpc.bft .bpc-prod__img { border-radius: 0; }
.bpc.bft .bft-tag { border-radius: 0; background: var(--orange); color: #fff; border-color: var(--orange); font-family: var(--mono); }
.bpc.bft .bft-sl.is-kept .bft-sl__num { background: #fff; border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }

/* sliders: hairline track, orange progress, small square handle */
.bpc.bft .bft-range::-webkit-slider-runnable-track { height: 1px; border-radius: 0; background: linear-gradient(to right, var(--orange) 0, var(--orange) var(--p), rgba(40, 40, 40, .35) var(--p), rgba(40, 40, 40, .35) 100%); }
.bpc.bft .bft-range::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -7px; border-radius: 0; background: var(--orange); border: 0; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(40, 40, 40, .2); }
.bpc.bft .bft-range::-moz-range-track { height: 1px; background: rgba(40, 40, 40, .35); }
.bpc.bft .bft-range::-moz-range-progress { height: 2px; background: var(--orange); }
.bpc.bft .bft-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 0; background: var(--orange); border: 0; }
.bpc.bft .bft-group, .bpc.bft .bft-sl { border-color: var(--hair); }
@media (pointer: coarse) { .bpc.bft .bft-range::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -11px; } }

/* form picker: a sheet of cells sharing hairlines */
.bpc.bft .bpc-section .bft-fgrid { gap: 0; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); padding: 0; margin-left: 0; margin-right: 0; }
.bpc.bft .bft-fcard { border: 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: transparent; }
.bpc.bft .bft-fcard:hover { background: var(--paper); }
.bpc.bft .bft-fcard[aria-pressed="true"] { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); font-weight: 700; }
.bpc.bft .bft-fcard .bft-check { display: none; }
.bpc.bft .bft-fcard[aria-pressed="true"]::after { content: ""; position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--orange); }
.bpc.bft .bft-clay, .bpc.bft .bft-fcard[aria-pressed="true"] .bft-clay { fill: var(--ink); }
.bpc.bft .bft-chosen-line { background: var(--paper); border: 1px solid var(--hair); }

/* summary: a drawing title block */
.bpc.bft .bpc-summary { background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; --on-green: var(--ink); --on-green-2: var(--ink-3); }
.bpc.bft .bpc-summary__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; color: var(--orange); }
.bpc.bft .bpc-summary__hint { font-family: var(--mono); font-size: 11px; letter-spacing: .4px; text-transform: uppercase; color: var(--ink-3); }
.bpc.bft .bpc-price__val { font-family: var(--grotesk); font-weight: 700; letter-spacing: -.03em; }
.bpc.bft .bpc-price__cur { font-family: var(--mono); font-size: 13px; }
.bpc.bft .bpc-price__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .3px; text-transform: uppercase; color: var(--ink-3); }
.bpc.bft .bft-preview { border-radius: 0; border: 1px solid var(--hair);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(131, 197, 201, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(131, 197, 201, .28) 1px, transparent 1px),
                    linear-gradient(rgba(131, 197, 201, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(131, 197, 201, .14) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px; background-position: -1px -1px; }
.bpc.bft .bft-preview .bft-wet { fill: var(--ink); }
.bpc.bft .bft-preview .bft-legend { font-family: var(--mono); font-size: 10.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-2); }
.bpc.bft .bft-lg-wet { background: var(--ink); border-radius: 0; }
.bpc.bft .bpc-summary .bpc-rows { font-size: 12.5px; }
.bpc.bft .bpc-summary .bpc-row { border-bottom: 1px dotted rgba(40, 40, 40, .25); padding-bottom: 3px; }
.bpc.bft .bpc-summary .bpc-row span:first-child { font-family: var(--mono); font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-2); align-self: center; }
.bpc.bft .bpc-summary .bpc-row span:last-child { font-variant-numeric: tabular-nums; }
.bpc.bft .bpc-summary .bpc-row--strong span:first-child { color: var(--ink); }
.bpc.bft .bpc-summary .bpc-bar { border-radius: 0; background: var(--paper-2); }
.bpc.bft .bpc-summary .bpc-legend { font-family: var(--mono); font-size: 10px; letter-spacing: .3px; text-transform: uppercase; }
.bpc.bft .bpc-legend i { border-radius: 0; }
.bpc.bft .bft-floor { border-color: var(--hair); font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-2); }
.bpc.bft .bft-floor::before { content: "■ "; color: var(--orange); }
.bpc.bft .bft-sumactions .bpc-btn { font-size: 11.5px; }
.bpc.bft .bpc-summary .bpc-btn--ghost { border-color: var(--hair); color: var(--ink); }
.bpc.bft .bpc-summary .bpc-btn--ghost:hover { background: var(--paper); }
.bpc.bft .bpc-mobilebar { color: var(--ink); }
.bpc.bft .bpc-summary__msgs { color: var(--ink); }

/* picker modal */
.bpc.bft .bpc-modal__panel { border-radius: 0; background: var(--paper); }
.bpc.bft .bpc-pcard { border-radius: 0; border-color: var(--hair); }
.bpc.bft .bpc-modal__top h3 { font-family: var(--grotesk); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.bpc.bft .bpc-toast { border-radius: 0; background: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .4px; }

/* footer and disclaimer in the same frame */
.bpc.bft .bpc-disclaimer { font-family: var(--mono); font-size: 11px; letter-spacing: .2px; }

@media (max-width: 1020px) {
  .bpc.bft .bft-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bpc.bft .bft-hero__title { grid-column: 1 / -1; }
  .bpc.bft .bft-hero__text { border-left: 0; border-top: 1px solid var(--hair); }
  .bpc.bft .bft-hero__meta { border-top: 1px solid var(--hair); }
  .bpc.bft .bft-toolbar { flex-wrap: wrap; }
  .bft-tabs { flex: 1 1 100%; border-bottom: 1px solid var(--hair); }
  .bft-tab:last-child { border-right: 0; }
  .bpc.bft .bft-cells { flex: 1 1 100%; }
  .bpc.bft .bft-cell { flex: 1; min-width: 0; }
  .bpc.bft .bpc-summary { border-width: 1px 1px 0; }
}
@media (max-width: 680px) {
  .bpc.bft .bft-hero { grid-template-columns: minmax(0, 1fr); margin: 0 16px; }
  .bpc.bft .bft-hero__meta { border-left: 0; }
  .bft-hero > * { padding: 16px; }
  .bpc.bft .bft-toolbar, .bft-ruler { margin-left: 16px; margin-right: 16px; }
  .bft-tab { padding: 10px 10px 12px; }
  .bft-tab__t { font-size: 12.5px; }
  .bpc.bft .bft-cell { padding: 10px; font-size: 10px; gap: 6px; }
  .bpc.bft .bft-cell .bpc-ic { display: none; }
}
/* icon ligatures must keep their lowercase names */
.bpc.bft .bpc-ic, .bpc.bft .material-symbols-outlined, .bpc.bft details.bpc-help summary::before, .bpc.bft details.bpc-help summary::after, .bpc.bft .bpc-note::before { text-transform: none !important; letter-spacing: normal !important; }
.bpc.bft .bft-hero h1 { max-width: none; font-size: clamp(30px, 3.6vw, 50px); }
.bpc.bft .bpc-mobilebar small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-3); }
.bpc.bft .bpc-mobilebar__price { font-family: var(--grotesk); font-weight: 700; letter-spacing: -.02em; }
.bpc.bft .bft-mini { background: var(--paper); border: 1px solid var(--hair); border-radius: 0; }
.bpc.bft .bft-mini path { fill: var(--ink); }
@media (max-width: 1020px) { .bpc.bft .bpc-summary { box-shadow: 0 -1px 0 var(--ink); } }

/* ---------- v10: shared skin pieces used by the pricing calculator ---------- */
.bpc.bft .bft-toolbar--stack { flex-wrap: wrap; }
.bpc.bft .bft-toolbar--stack .bft-tabs { flex: 1 1 100%; border-bottom: 1px solid var(--hair); overflow-x: auto; }
.bpc.bft .bft-toolbar--stack .bft-tab { min-width: 118px; padding: 10px 12px 12px; }
.bpc.bft .bft-toolbar--stack .bft-tab:last-child { border-right: 0; }
.bpc.bft .bft-toolbar--stack .bft-tab__t { font-size: 13px; }
.bpc.bft .bft-toolbar--stack .bft-cells { flex: 1 1 100%; justify-content: flex-end; }
.bpc.bft .bft-toolbar--stack .bft-cell { flex-direction: row; align-items: center; gap: 8px; min-width: 0; padding: 10px 16px; }
.bpc.bft .bft-toolbar--stack .bft-cell:first-child { border-left: 1px solid var(--hair); }
.bpc.bft .bft-toolbar--stack .bft-cell .bft-arrow { align-self: center; }
.bpc.bft .bpc-kpi { border-radius: 0; background: var(--paper); border-color: var(--hair); }
.bpc.bft .bpc-kpi small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-3); }
.bpc.bft .bpc-kpi b { font-family: var(--grotesk); font-weight: 700; letter-spacing: -.02em; }
.bpc.bft .bpc-kpi.is-main { background: #fff; border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bpc.bft .bpc-kpi.is-main small { color: var(--orange); }
.bpc.bft .bpc-check--loss .bpc-kpi.is-main, .bpc.bft .bpc-check--under .bpc-kpi.is-main { background: #FBE3D9; border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.bpc.bft .bpc-scale__track, .bpc.bft .bpc-scale__track > span { border-radius: 0 !important; }
.bpc.bft .bpc-scale__mark { border-radius: 0; background: var(--ink); }
.bpc.bft .bpc-scale__mark b { border-radius: 0; font-family: var(--mono); }
.bpc.bft .bpc-scale__ticks { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .3px; }
.bpc.bft .bpc-sumcheck { border-radius: 0; background: var(--paper); border: 1px solid var(--hair); }
.bpc.bft .bpc-sumcheck b { font-family: var(--grotesk); font-weight: 700; }
.bpc.bft .bpc-opt__ic { color: var(--ink-2); }
.bpc.bft .bpc-opt.is-on .bpc-opt__ic { color: var(--orange); }
.bpc.bft .bpc-opt__price { font-family: var(--mono); font-size: 12px; }
.bpc.bft .bpc-summary .bpc-floor h3 { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-2); }
.bpc.bft .bpc-summary .bpc-floor h3::before { content: "■ "; color: var(--orange); }
.bpc.bft .bpc-summary .bpc-floor p { font-style: normal; color: var(--ink-3); font-size: 12px; }
.bpc.bft .bpc-summary details summary { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.bpc.bft .bpc-summary__foot { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: .3px; text-transform: uppercase; color: var(--ink-3); }
.bpc.bft .bpc-summary .bpc-btn { border-radius: 0; }
.bpc.bft .bpc-final { gap: 0; border: 1px solid var(--hair); }
.bpc.bft .bpc-final .bpc-kpi { border: 0; border-right: 1px solid var(--hair); box-shadow: none; }
.bpc.bft .bpc-final .bpc-kpi:last-child { border-right: 0; }
.bpc.bft .bpc-final .bpc-kpi.is-main { background: #fff; box-shadow: inset 0 -2px 0 var(--orange); }
.bpc.bft .bpc-eq-remove, .bpc.bft .bpc-iconbtn { border-radius: 0; }
@media (max-width: 680px) {
  .bpc.bft .bft-toolbar--stack .bft-tab { min-width: 104px; }
  .bpc.bft .bft-toolbar--stack .bft-cell { padding: 10px; flex: 1; justify-content: center; }
  .bpc.bft .bft-toolbar--stack .bft-cell .bpc-ic { display: none; }
  .bpc.bft .bpc-final { grid-template-columns: minmax(0, 1fr); }
  .bpc.bft .bpc-final .bpc-kpi { border-right: 0; border-bottom: 1px solid var(--hair); }
}
