/* A compact three-step workbench for nominal laboratory concentration. */
.bc-laboratory-tool.bc-calculator-studio.cs-reference-layout {
  --cs-wine: #572135;
  --cs-wine-deep: #351621;
  --cs-ink: #30252a;
  --cs-muted: #6c5b56;
  --cs-border: #ddd0c1;
  --cs-ivory: #f7f3eb;
  --cs-surface: #fffdf8;
  width: 100%;
  max-width: 1190px;
  padding: 28px 24px 52px;
  margin: 0 auto;
  color: var(--cs-ink);
  font-family: var(--sans, Arial, sans-serif);
  overflow-wrap: anywhere;
}
.cs-reference-layout *,
.cs-reference-layout *::before,
.cs-reference-layout *::after {
  box-sizing: border-box;
}
.cs-reference-layout [hidden] {
  display: none !important;
}
.cs-reference-layout :is(button, input, select) {
  font: inherit;
}
.cs-reference-layout :is(h1, h2, h3, p, figure, fieldset) {
  min-width: 0;
}
.cs-reference-layout :is(button, a) {
  -webkit-tap-highlight-color: transparent;
}
.cs-reference-layout .cs-intro {
  padding: 0 0 24px;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-intro p.cs-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--cs-muted);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.cs-reference-layout .cs-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.cs-reference-layout .cs-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cs-reference-layout .cs-intro > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px 36px;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-intro h1 {
  margin: 0;
  color: var(--cs-wine);
  font: 400 clamp(32px, 3.4vw, 44px) / 1.05 var(--serif, Georgia, serif);
  letter-spacing: -0.025em;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-intro-copy p {
  margin: 0 0 10px;
  color: var(--cs-muted);
  font-size: 14px;
  line-height: 1.6;
}
.cs-reference-layout .cs-tool-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #715c54;
  font-size: 10px;
  line-height: 1.5;
}
.cs-reference-layout .cs-tool-notes > span + span::before {
  content: '·';
  margin-right: 14px;
  color: #a18069;
}
.cs-reference-layout .laboratory-js-note {
  padding: 12px 16px;
  border: 1px solid var(--cs-border);
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.6;
}
.cs-reference-layout .cs-workbench.laboratory-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  scroll-margin-top: 100px;
}
.cs-reference-layout .cs-step-card {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--cs-border);
  border-radius: 13px;
  background: var(--cs-surface);
  box-shadow: 0 8px 24px -22px #3c19284d;
}
.cs-reference-layout .cs-step-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 17px;
  margin-bottom: 17px;
  border-bottom: 1px solid #e6dccc;
}
.cs-reference-layout .cs-step-heading .laboratory-step {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin-top: 1px;
  border: 1px solid #b99e8e;
  border-radius: 50%;
  color: var(--cs-wine);
  background: #f7efe3;
  font-size: 10px;
  opacity: 1;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-step-heading h2 {
  margin: 0;
  color: var(--cs-wine);
  font: 400 24px / 1.1 var(--serif, Georgia, serif);
  letter-spacing: -0.012em;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-step-heading p {
  margin: 7px 0 0;
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.5;
}
.cs-reference-layout .cs-product-stage {
  min-width: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
}
.cs-reference-layout .cs-stage-top,
.cs-reference-layout .cs-material-kind {
  display: none;
}
.cs-reference-layout .cs-selected-photo {
  margin: 0;
}
.cs-reference-layout .cs-selected-photo img {
  display: block;
  width: 100%;
  height: 145px;
  margin: 0 auto;
  border-radius: 7px;
  object-fit: contain;
  background: #eee3d2;
}
.cs-reference-layout .cs-selected-photo figcaption {
  margin: 8px 0 0;
  color: #79665c;
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}
.cs-reference-layout .cs-art-label {
  display: block;
  margin-top: 2px;
  color: var(--cs-wine);
  font-size: 11px;
  font-weight: 600;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-material-copy h2 {
  margin: 11px 0 5px;
  color: var(--cs-wine);
  font: 400 23px / 1.1 var(--serif, Georgia, serif);
}
.cs-reference-layout .cs-material-copy > p:not(.cs-image-note) {
  display: none;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-image-note {
  padding: 0;
  margin: 6px 0 0;
  border: 0;
  color: var(--cs-muted);
  font-size: 11px;
  line-height: 1.6;
}
.cs-reference-layout .cs-reference-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  margin-top: 3px;
}
.cs-reference-layout .cs-reference-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  color: var(--cs-wine);
  font-size: 11px;
  line-height: 1.4;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.cs-reference-layout .cs-reference-links a + a {
  display: none;
}
.cs-reference-layout .cs-product-select {
  display: block;
  margin: 0 0 14px;
  color: var(--cs-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.cs-reference-layout .cs-product-select select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 7px;
  padding: 10px 32px 10px 11px;
  border: 1px solid #c5b19e;
  border-radius: 6px;
  color: var(--cs-wine);
  background: #f7f1e7;
  font-size: 14px;
  line-height: 1.5;
}
.cs-reference-layout .cs-mode-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3px;
  padding: 3px;
  margin: 0 0 16px;
  border: 1px solid var(--cs-border);
  border-radius: 7px;
  background: #f2eadf;
}
.cs-reference-layout .cs-mode-buttons button {
  min-width: 0;
  min-height: 44px;
  padding: 8px 5px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #785e61;
  background: transparent;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
}
.cs-reference-layout .cs-mode-buttons button[aria-pressed='true'] {
  border-color: #bfa58e;
  color: var(--cs-wine);
  background: var(--cs-surface);
  box-shadow: 0 2px 4px #3c19280a;
}
.cs-reference-layout :is(.cs-sizes, .cs-presets) {
  min-width: 0;
  padding: 0;
  margin: 0 0 16px;
  border: 0;
}
.cs-reference-layout :is(.cs-sizes, .cs-presets) legend {
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
  color: var(--cs-ink);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}
.cs-reference-layout :is(.cs-sizes, .cs-presets) > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cs-reference-layout :is(.cs-sizes, .cs-presets) button {
  min-width: 48px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #cbb7a3;
  border-radius: 6px;
  color: var(--cs-wine);
  background: #fffaf1;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.cs-reference-layout :is(.cs-sizes, .cs-presets) button[aria-pressed='true'] {
  border-color: var(--cs-wine);
  background: var(--cs-wine);
  color: #fff1dd;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-catalog-note {
  margin: 7px 0 14px;
  color: var(--cs-muted);
  font-size: 11px;
  line-height: 1.6;
}
.cs-reference-layout .laboratory-field {
  margin: 0;
}
.cs-reference-layout .laboratory-field > label {
  display: block;
  margin: 0 0 8px;
  color: var(--cs-ink);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
.cs-reference-layout .laboratory-unit-input {
  display: flex;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #bba594;
  border-radius: 6px;
  background: #f9f5ee;
  box-shadow: none;
}
.cs-reference-layout .laboratory-unit-input:focus-within,
.cs-reference-layout .cs-search:focus-within {
  outline: 2px solid var(--cs-wine);
  outline-offset: 3px;
}
body:not(.in-command-center) #main .cs-reference-layout .laboratory-unit-input input,
body:not(.in-command-center) #main .cs-reference-layout .laboratory-unit-input select {
  min-height: 50px;
  margin: 0;
  padding: 11px;
  border: 0;
  border-radius: 5px;
  color: var(--cs-ink);
  background: transparent;
  box-shadow: none;
  outline: none;
  font-size: 16px;
  line-height: 1.5;
}
body:not(.in-command-center) #main .cs-reference-layout .laboratory-unit-input input {
  min-width: 0;
  width: 100%;
}
body:not(.in-command-center) #main .cs-reference-layout .laboratory-unit-input select {
  width: 71px;
  flex: 0 0 71px;
  padding: 10px 6px 10px 9px;
  border-left: 1px solid #dccaba;
  border-radius: 0 5px 5px 0;
  color: var(--cs-wine);
  font-size: 13px;
  font-weight: 600;
}
body:not(.in-command-center) #main .cs-reference-layout .laboratory-unit-input input[readonly] {
  color: #68434d;
  font-weight: 600;
}
.cs-reference-layout .laboratory-unit-input:has([aria-invalid='true']) {
  border-color: #a43947;
}
body:not(.in-command-center) #main .cs-reference-layout .laboratory-help,
body:not(.in-command-center) #main .cs-reference-layout .cs-live-note,
body:not(.in-command-center) #main .cs-reference-layout .cs-result-scope {
  margin: 8px 0 0;
  color: var(--cs-muted);
  font-size: 11px;
  line-height: 1.65;
}
body:not(.in-command-center) #main .cs-reference-layout .laboratory-field-error {
  margin: 8px 0 0;
  color: #9b283f;
  font-size: 12px;
  line-height: 1.6;
}
.cs-reference-layout .laboratory-field-error:empty {
  display: none;
}
.cs-reference-layout .cs-volume-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  min-height: 210px;
  padding: 20px 9px;
  margin: 0 0 24px;
  border-radius: 9px;
  background: #f3eadc;
  overflow: hidden;
}
.cs-reference-layout .cs-lab-vessel {
  position: relative;
  width: 82px;
  height: 132px;
  flex: 0 0 82px;
  border: 1px solid #9c7e67;
  border-top: 4px double #a8886e;
  border-radius: 5px 5px 20px 20px;
  background: linear-gradient(90deg, #fff0 0, #fff9 13%, #fff1 22%, #f0dbc122 72%, #fff9 93%);
  box-shadow: 9px 13px 14px -17px #4d2d28;
  transform: rotate(-5deg);
}
.cs-reference-layout .cs-lab-vessel::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 21px;
  bottom: 24px;
  left: 8px;
  width: 13px;
  background: repeating-linear-gradient(to bottom, #7f5d4980 0 1px, transparent 1px 17px);
}
.cs-reference-layout .cs-lab-vessel i {
  position: absolute;
  inset: 51% 5px 5px;
  border-top: 1px solid #8f51479e;
  border-radius: 0 0 15px 15px;
  background: linear-gradient(180deg, #6a344e55, #572135b3);
}
.cs-reference-layout .cs-lab-vessel > span {
  position: absolute;
  top: 14px;
  right: 8px;
  color: #8d6c56;
  font-size: 9px;
  line-height: 1;
}
.cs-reference-layout .cs-lab-vessel > b {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  right: 12px;
  color: #fff1dd;
  font: 400 20px / 1 var(--serif, Georgia, serif);
}
.cs-reference-layout .cs-volume-art-copy {
  min-width: 0;
  max-width: 132px;
  color: var(--cs-wine);
}
.cs-reference-layout .cs-volume-art-copy > span {
  display: block;
  color: #896b55;
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.cs-reference-layout .cs-volume-art-copy > strong {
  display: block;
  margin: 12px 0 14px;
  color: var(--cs-wine);
  font: 400 25px / 1.05 var(--serif, Georgia, serif);
}
.cs-reference-layout .cs-form-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  margin: 22px 0 0;
}
.cs-reference-layout .cs-form-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--cs-wine);
  border-radius: 6px;
  color: #fff3e1;
  background: var(--cs-wine);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  box-shadow: none;
}
.cs-reference-layout .cs-form-actions .button:disabled {
  border-color: #cdb9b1;
  background: #d3c2bd;
  color: #5a4248;
  opacity: 1;
  cursor: not-allowed;
}
.cs-reference-layout .cs-form-actions .text-button {
  min-width: 44px;
  min-height: 44px;
  padding: 9px 0;
  border: 0;
  color: var(--cs-wine);
  background: transparent;
  font-size: 11px;
  line-height: 1.5;
  text-underline-offset: 4px;
}
.cs-reference-layout .cs-result-step {
  display: flex;
  flex-direction: column;
}
.cs-reference-layout .cs-result-step .cs-step-heading {
  flex: 0 0 auto;
}
.cs-reference-layout .laboratory-result-panel.cs-result {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 330px;
  margin: 0;
  padding: 22px 19px;
  border: 1px solid #642b3e;
  border-radius: 10px;
  background: linear-gradient(135deg, #612b3d, #3c1928);
  color: #fff4df;
}
.cs-reference-layout .cs-result-monogram {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  margin: 0 auto 40px;
  border: 1px solid #cba987;
  border-radius: 50%;
  color: #f4ddbd;
  font: 400 32px / 1 var(--serif, Georgia, serif);
}
.cs-reference-layout .cs-result-monogram > span {
  position: absolute;
  bottom: -22px;
  left: -28px;
  right: -28px;
  color: #e7c8aa;
  font: 400 8px / 1.5 var(--sans, Arial, sans-serif);
  letter-spacing: 0.09em;
  text-align: center;
}
.cs-reference-layout .cs-result .laboratory-result {
  flex: 1;
  min-height: 0;
  padding: 0;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-result .laboratory-result-empty {
  padding: 0;
  margin: 0 0 10px;
  color: #fff4df;
  font: 400 27px / 1.15 var(--serif, Georgia, serif);
  letter-spacing: -0.012em;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-result .laboratory-result-detail {
  max-width: none;
  margin: 0;
  color: #ecd9c6;
  font-size: 12px;
  line-height: 1.65;
  opacity: 1;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-result .laboratory-result-kicker {
  margin: 0 0 11px;
  color: #eac4a8;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  opacity: 1;
}
.cs-reference-layout .cs-result .laboratory-result-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 10px;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-result .laboratory-result-value strong {
  color: #fff4df;
  font: 400 clamp(32px, 3vw, 43px) / 1.05 var(--serif, Georgia, serif);
  letter-spacing: -0.025em;
}
.cs-reference-layout .cs-result .laboratory-result-value > span {
  color: #ead5c7;
  font-size: 13px;
  line-height: 1.5;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-result .laboratory-result-secondary {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 15px;
  padding: 5px 9px;
  border: 1px solid #cba78d73;
  border-radius: 30px;
  color: #ffe5c8;
  font-size: 11px;
  line-height: 1.5;
  opacity: 1;
}
.cs-reference-layout .cs-result .laboratory-result-work {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #e7c9b23d;
}
.cs-reference-layout .cs-result .laboratory-result-work > span {
  color: #eac4a8;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.07em;
  opacity: 1;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-result .laboratory-result-work p {
  margin: 7px 0 0;
  color: #fff0dd;
  font-size: 13px;
  line-height: 1.65;
}
.cs-reference-layout .cs-result .laboratory-copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.cs-reference-layout .cs-result .laboratory-copy {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #d6b49b;
  border-radius: 5px;
  color: #fff0dd;
  background: #ffefce08;
  font-size: 12px;
  line-height: 1.5;
  opacity: 1;
}
.cs-reference-layout .cs-result .laboratory-copy:disabled {
  color: #cfb0a8;
  border-color: #b48c7b75;
  background: transparent;
  cursor: default;
}
.cs-reference-layout .cs-result .laboratory-copy-row [role='status'] {
  min-width: 0;
  color: #ead5c7;
  font-size: 11px;
  line-height: 1.5;
}
.cs-reference-layout .cs-selector {
  padding: 23px;
  margin: 25px 0 0;
  border: 1px solid var(--cs-border);
  border-radius: 13px;
  background: var(--cs-surface);
}
.cs-reference-layout .cs-section-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 17px;
}
.cs-reference-layout .cs-section-head .laboratory-step {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  margin-top: 1px;
  border: 1px solid #b99e8e;
  border-radius: 50%;
  color: var(--cs-wine);
  font-size: 15px;
  opacity: 1;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-section-head h2 {
  margin: 0;
  color: var(--cs-wine);
  font: 400 25px / 1.1 var(--serif, Georgia, serif);
}
body:not(.in-command-center) #main .cs-reference-layout .cs-section-head p {
  margin: 7px 0 0;
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.6;
}
.cs-reference-layout .cs-material-count {
  margin-left: auto;
  color: var(--cs-muted);
  font-size: 11px;
  line-height: 1.6;
}
.cs-reference-layout .cs-search {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  min-height: 46px;
  margin: 0 0 17px;
  border: 1px solid #c9b6a4;
  border-radius: 6px;
  color: var(--cs-wine);
  background: #f8f3ea;
}
.cs-reference-layout .cs-search > span {
  flex: none;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  color: var(--cs-ink);
  background: transparent;
  outline: none;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.5;
}
.cs-reference-layout .cs-material-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
}
.cs-reference-layout .cs-material-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 7px 7px 10px;
  margin: 0;
  border: 1px solid #dfd0bf;
  border-radius: 8px;
  overflow: hidden;
  color: var(--cs-ink);
  background: #f6ede0;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    transform 150ms ease;
}
.cs-reference-layout .cs-material-card img {
  display: block;
  width: 100%;
  height: 112px;
  margin-bottom: 10px;
  object-fit: contain;
  border-radius: 4px;
  background: #eee3d2;
}
.cs-reference-layout .cs-material-card-name {
  display: block;
  padding: 0 3px;
  color: var(--cs-wine);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.cs-reference-layout .cs-material-card-size {
  display: block;
  padding: 4px 3px 0;
  color: var(--cs-muted);
  font-size: 10px;
  line-height: 1.5;
}
.cs-reference-layout .cs-material-card[aria-pressed='true'] {
  border-color: var(--cs-wine);
  box-shadow: 0 0 0 1px var(--cs-wine);
}
.cs-reference-layout .cs-card-check {
  position: absolute;
  right: 11px;
  top: 11px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #bca28d;
  border-radius: 50%;
  color: transparent;
  background: #fff7e9;
  font-size: 12px;
  line-height: 1;
}
.cs-reference-layout .cs-material-card[aria-pressed='true'] .cs-card-check {
  color: #fff4e2;
  border-color: var(--cs-wine);
  background: var(--cs-wine);
}
.cs-reference-layout .cs-selector-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 12px;
}
.cs-reference-layout .cs-selector-footer :is(button, a) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  color: var(--cs-wine);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-selector-footer .cs-catalog-note {
  flex: 1;
  min-width: 180px;
  margin: 0;
  font-size: 11px;
}
.cs-reference-layout .cs-explainer {
  margin-top: 30px;
}
.cs-reference-layout .cs-explainer-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 8px 26px;
  align-items: end;
  margin-bottom: 17px;
}
.cs-reference-layout .cs-explainer-head > .eyebrow {
  grid-column: 1 / -1;
  color: #8d6953;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.09em;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-explainer-head h2 {
  margin: 0;
  color: var(--cs-wine);
  font: 400 28px / 1.1 var(--serif, Georgia, serif);
}
body:not(.in-command-center) #main .cs-reference-layout .cs-explainer-head p {
  max-width: 430px;
  margin: 0;
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.65;
}
.cs-reference-layout .cs-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cs-reference-layout .cs-explainer-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--cs-border);
  border-radius: 10px;
  background: #fffaf1;
}
.cs-reference-layout .cs-explainer-grid article > span:first-child {
  display: block;
  color: #8d6953;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-explainer-grid h3 {
  margin: 14px 0 9px;
  color: var(--cs-wine);
  font: 400 24px / 1.1 var(--serif, Georgia, serif);
}
body:not(.in-command-center) #main .cs-reference-layout .cs-explainer-grid p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.7;
}
.cs-reference-layout :is(.laboratory-reference, .laboratory-notes) {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  padding: 26px 0;
  margin-top: 9px;
  border-bottom: 1px solid var(--cs-border);
}
body:not(.in-command-center)
  #main
  .cs-reference-layout
  :is(.laboratory-reference, .laboratory-notes)
  h2 {
  margin: 0;
  color: var(--cs-wine);
  font: 400 28px / 1.15 var(--serif, Georgia, serif);
}
body:not(.in-command-center)
  #main
  .cs-reference-layout
  :is(.laboratory-reference, .laboratory-notes)
  p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.75;
}
.cs-reference-layout .laboratory-reference > div .eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #8d6953;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.09em;
}
.cs-reference-layout .laboratory-reference strong {
  display: block;
  margin-bottom: 9px;
  color: var(--cs-wine);
  font-size: 14px;
}
.cs-reference-layout .laboratory-notes details {
  padding: 13px 0;
  border-color: var(--cs-border);
}
.cs-reference-layout .laboratory-notes summary {
  min-height: 30px;
  color: var(--cs-ink);
  font-size: 13px;
  line-height: 1.5;
}
body:not(.in-command-center) #main .cs-reference-layout .laboratory-notes details p {
  margin-top: 9px;
}
body:not(.in-command-center) #main .cs-reference-layout .laboratory-scope {
  padding-top: 19px;
  margin: 0;
  color: var(--cs-muted);
  font-size: 11px;
  line-height: 1.75;
}
.cs-reference-layout .laboratory-scope a {
  display: inline-block;
  min-height: 44px;
  padding: 8px 0;
  color: var(--cs-wine);
}
.cs-reference-layout :focus-visible {
  outline: 2px solid var(--cs-wine);
  outline-offset: 4px;
}
body:not(.in-command-center) #main .cs-reference-layout .cs-search input:focus-visible,
body:not(.in-command-center) #main .cs-reference-layout .laboratory-unit-input input:focus-visible,
body:not(.in-command-center)
  #main
  .cs-reference-layout
  .laboratory-unit-input
  select:focus-visible {
  outline: none;
}
.cs-reference-layout .cs-result :focus-visible {
  outline-color: #f0d2ae;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cs-reference-layout .cs-material-card:hover {
    transform: translateY(-2px);
    border-color: #a37a73;
  }
  .cs-reference-layout .cs-form-actions .button:not(:disabled):hover {
    background: var(--cs-wine-deep);
  }
}
@media (max-width: 1100px) and (min-width: 921px) {
  .cs-reference-layout .cs-step-card {
    padding: 17px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-step-heading h2 {
    font-size: 22px;
  }
  .cs-reference-layout .cs-mode-buttons button {
    font-size: 10px;
  }
  .cs-reference-layout .cs-volume-art {
    gap: 14px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .cs-reference-layout .cs-volume-art-copy > strong {
    font-size: 22px;
  }
}
@media (max-width: 920px) {
  .cs-reference-layout .cs-intro > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .cs-reference-layout .cs-workbench.laboratory-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .cs-reference-layout .cs-step-card {
    padding: 23px;
  }
  .cs-reference-layout .cs-selected-photo img {
    height: 150px;
  }
  .cs-reference-layout .cs-mass-step .cs-product-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 16px;
    align-items: center;
  }
  .cs-reference-layout .cs-material-copy h2 {
    margin-top: 0;
  }
  .cs-reference-layout .cs-result .laboratory-result {
    flex: none;
  }
  .cs-reference-layout .laboratory-result-panel.cs-result {
    min-height: 300px;
  }
  .cs-reference-layout .cs-material-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cs-reference-layout .cs-volume-art {
    min-height: 180px;
    gap: 34px;
  }
}
@media (max-width: 560px) {
  .bc-laboratory-tool.bc-calculator-studio.cs-reference-layout {
    padding: 24px 16px 38px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-intro p.cs-breadcrumb {
    gap: 8px;
    margin-bottom: 16px;
    font-size: 9px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-intro h1 {
    font-size: 35px;
  }
  .cs-reference-layout .cs-intro > div {
    gap: 13px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-intro-copy p {
    font-size: 13px;
    line-height: 1.6;
  }
  .cs-reference-layout .cs-tool-notes {
    gap: 5px 9px;
    font-size: 9px;
  }
  .cs-reference-layout .cs-tool-notes > span + span::before {
    margin-right: 9px;
  }
  .cs-reference-layout .cs-step-card {
    padding: 19px;
    border-radius: 11px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-step-heading h2 {
    font-size: 24px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-step-heading p {
    font-size: 12px;
  }
  .cs-reference-layout .cs-mass-step .cs-product-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
  .cs-reference-layout .cs-selected-photo img {
    height: 150px;
  }
  .cs-reference-layout .cs-selected-photo figcaption {
    font-size: 11px;
  }
  .cs-reference-layout .cs-art-label {
    font-size: 11px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-material-copy h2 {
    margin-top: 0;
    font-size: 23px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-image-note {
    font-size: 11px;
    line-height: 1.6;
  }
  .cs-reference-layout .cs-reference-links a {
    font-size: 11px;
  }
  .cs-reference-layout .cs-mode-buttons button {
    font-size: 12px;
  }
  .cs-reference-layout .laboratory-unit-input {
    min-height: 52px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .laboratory-unit-input input {
    font-size: 17px;
  }
  .cs-reference-layout .cs-volume-art {
    min-height: 182px;
    margin-bottom: 20px;
  }
  .cs-reference-layout .cs-volume-art-copy > strong {
    font-size: 27px;
  }
  .cs-reference-layout .cs-form-actions .button {
    font-size: 13px;
  }
  .cs-reference-layout .cs-result-monogram {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    font-size: 29px;
  }
  .cs-reference-layout .laboratory-result-panel.cs-result {
    padding: 21px;
    min-height: 315px;
  }
  body:not(.in-command-center)
    #main
    .cs-reference-layout
    .cs-result
    .laboratory-result-value
    strong {
    font-size: 40px;
  }
  .cs-reference-layout .cs-selector {
    padding: 19px;
    margin-top: 20px;
  }
  .cs-reference-layout .cs-material-count {
    width: 100%;
    margin-left: 39px;
    font-size: 10px;
  }
  .cs-reference-layout .cs-search {
    display: block;
    padding: 8px 11px 0;
    margin-bottom: 14px;
  }
  .cs-reference-layout .cs-search > span {
    display: block;
    font-size: 9px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-search input {
    min-height: 38px;
    padding: 4px 0 8px;
    font-size: 16px;
  }
  .cs-reference-layout .cs-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .cs-reference-layout .cs-material-card img {
    height: 112px;
  }
  .cs-reference-layout .cs-selector-footer {
    display: block;
    margin-top: 8px;
  }
  .cs-reference-layout .cs-selector-footer :is(button, a) {
    margin-right: 16px;
    font-size: 11px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-selector-footer .cs-catalog-note {
    min-width: 0;
    margin-top: 6px;
  }
  .cs-reference-layout .cs-explainer {
    margin-top: 25px;
  }
  .cs-reference-layout .cs-explainer-head,
  .cs-reference-layout .cs-explainer-grid,
  .cs-reference-layout :is(.laboratory-reference, .laboratory-notes) {
    grid-template-columns: minmax(0, 1fr);
  }
  .cs-reference-layout .cs-explainer-head {
    gap: 9px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-explainer-head h2,
  body:not(.in-command-center)
    #main
    .cs-reference-layout
    :is(.laboratory-reference, .laboratory-notes)
    h2 {
    font-size: 27px;
  }
  .cs-reference-layout .cs-explainer-grid article {
    padding: 18px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-explainer-grid h3 {
    font-size: 24px;
  }
  .cs-reference-layout :is(.laboratory-reference, .laboratory-notes) {
    gap: 16px;
    padding: 23px 0;
  }
  .cs-reference-layout .laboratory-notes summary {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .cs-reference-layout .cs-mass-step .cs-product-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  .cs-reference-layout .cs-selected-photo {
    max-width: 220px;
    margin: 0 auto;
  }
  .cs-reference-layout .cs-selected-photo figcaption {
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cs-reference-layout *,
  .cs-reference-layout *::before,
  .cs-reference-layout *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The exact amount is already stated in the photograph caption and native selector. */
.cs-reference-layout .cs-image-note-exact {
  display: none;
}
@media (min-width: 921px) {
  .cs-reference-layout .cs-step-card {
    padding: 18px;
  }
  .cs-reference-layout .cs-step-heading {
    padding-bottom: 12px;
    margin-bottom: 13px;
  }
  .cs-reference-layout .cs-selected-photo img {
    height: 130px;
  }
  .cs-reference-layout .cs-product-stage {
    margin-bottom: 10px;
  }
  .cs-reference-layout .cs-material-copy h2 {
    display: none;
  }
  .cs-reference-layout .cs-reference-links {
    margin-top: 0;
  }
  .cs-reference-layout .cs-product-select {
    margin-bottom: 10px;
  }
  .cs-reference-layout .cs-mode-buttons {
    margin-bottom: 12px;
  }
  .cs-reference-layout :is(.cs-sizes, .cs-presets) {
    margin-bottom: 12px;
  }
  body:not(.in-command-center) #main .cs-reference-layout .cs-mass-step .cs-catalog-note {
    margin: 6px 0 10px;
  }
  .cs-reference-layout .cs-volume-art {
    min-height: 180px;
    margin-bottom: 20px;
  }
}
