/* Bol.com commission and profit calculator. Builds on /bol-repricer/landing.css (same tokens: --card, --soft,
   --rule, --ink, --muted, --accent, --warn, --ok, --bad); only the form and result pieces live here. */
.landing .repricerArticle .bcCalc {
  margin-top: 32px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.landing .bcCalc fieldset {
  border: 0;
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.landing .bcCalc fieldset + fieldset,
.landing .bcCalc fieldset + .bcExample + fieldset {
  margin-top: 20px;
}
.landing .bcCalc legend {
  font-weight: 600;
  font-size: 19px;
  padding: 0;
  margin-bottom: 12px;
}
.landing .bcCalc .bcGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px 20px;
}
.landing .bcCalc .bcField {
  display: grid;
  gap: 6px;
  align-content: start;
}
.landing .bcCalc .bcField.bcWide {
  grid-column: 1 / -1;
}
.landing .bcCalc label,
.landing .bcCalc .bcLabel {
  font-weight: 600;
  font-size: 15px;
}
.landing .bcCalc .bcHelp {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}
.landing .bcCalc input[type="text"],
.landing .bcCalc select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.landing .bcCalc input[type="text"]:focus-visible,
.landing .bcCalc select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.landing .bcCalc input[aria-invalid="true"],
.landing .bcCalc select[aria-invalid="true"] {
  border-color: var(--bad);
}
.landing .bcCalc .bcError {
  margin: 0;
  font-size: 13.5px;
  color: var(--bad);
}
.landing .bcCalc .bcChoices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  border: 0;
  padding: 0;
  margin: 0;
}
.landing .bcCalc .bcChoices label,
.landing .bcCalc .bcCheck {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.landing .bcCalc input[type="radio"],
.landing .bcCalc input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.landing .bcCalc .bcDisabled {
  opacity: 0.55;
}
.landing .bcCalc .bcCombo {
  position: relative;
}
.landing .bcCalc .bcList {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: block;
}
.landing .bcCalc .bcList[hidden] {
  display: none;
}
.landing .bcCalc .bcList li {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}
.landing .bcCalc .bcList li span {
  font-size: 12.5px;
  color: var(--muted);
}
.landing .bcCalc .bcList li[aria-selected="true"],
.landing .bcCalc .bcList li[role="option"]:hover {
  background: var(--hot-bg);
}
.landing .bcCalc .bcList li.bcNoMatch {
  cursor: default;
  color: var(--muted);
}
.landing .bcCalc .bcChosen {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.landing .bcCalc button {
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  background: var(--soft);
  color: var(--ink);
}
.landing .bcCalc button.bcLinkButton {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13.5px;
}
.landing .bcCalc .bcExample {
  margin-top: 14px;
}
.landing .bcCalc .bcSource {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.landing .bcCalc .bcSub {
  margin-top: 16px;
  padding: 16px;
  background: var(--soft);
  border-radius: 12px;
}
.landing .bcCalc .bcSub[hidden] {
  display: none;
}
.landing .repricerArticle .bcResults {
  margin-top: 24px;
}
.landing .bcResults .bcStats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.landing .bcResults .bcStat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.landing .bcResults .bcStatLabel,
.landing .bcResults .bcStatNote {
  font-size: 13.5px;
  color: var(--muted);
}
.landing .bcResults .bcStatValue {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.landing .bcResults .bcEstimate {
  padding: 16px;
  border: 1px dashed var(--floor-border);
  border-radius: 12px;
  background: var(--warn-bg);
}
.landing .bcResults .bcEstimateHead {
  margin: 0 0 12px;
  font-weight: 600;
}
.landing .repricerArticle .bcResults .bcSpec {
  margin-top: 20px;
}
.landing .bcResults .bcSpec caption {
  text-align: left;
  font-weight: 600;
  padding-bottom: 6px;
}
.landing .repricerArticle .bcResults .bcSpec td {
  text-align: right;
  padding-right: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.landing .bcResults .bcSpec th {
  font-weight: 400;
}
.landing .bcResults .bcRow-info th,
.landing .bcResults .bcRow-info td {
  color: var(--muted);
}
.landing .bcResults .bcRow-sub th,
.landing .bcResults .bcRow-total th,
.landing .bcResults .bcRow-total td {
  font-weight: 600;
}
.landing .repricerArticle .bcResults .bcNotes {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
  font-size: 14.5px;
}
.landing .bcResults .bcNotes li {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--soft);
}
.landing .bcResults .bcNotes li.bcWarn {
  background: var(--warn-bg);
  color: var(--warn);
}
.landing .repricerArticle .bcMeta {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--muted);
}
.landing .repricerArticle .bcMeta ul {
  margin-top: 8px;
}
.landing .repricerArticle .bcMeta p + p {
  margin-top: 10px;
}
.landing .bcCalc [hidden] { display: none !important; }
.landing .visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.landing .repricerArticle .bcResults .bcSpec th[scope="row"] {
  width: auto;
  min-width: 0;
}
