/*
 * Baseboard & Crown Molding Calculator — two fields a row, the fold-out, the stick lengths as toggles (several on at
 * once), and the cut list's group headings. Source: sites/dreamy-tools/tools/baseboard-crown-molding-calculator/tool.css
 * (Dash repo); loaded after core/tools.css on this tool only.
 */
.bm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bm-two[hidden] { display: none; }
.bm-three { display: grid; grid-template-columns: 1fr 1fr 0.7fr; gap: 12px; }
.bm-three .bm-walls { grid-column: span 2; }
.bm-more { border-top: 1px solid var(--chqt-line, #e6ddd0); padding-top: 4px; }
.bm-more > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.bm-more[open] > summary { margin-bottom: 8px; }
.bm-sub { display: grid; gap: 12px; }
.chqt-list .bm-h { list-style: none; margin: 10px 0 2px -1.1em; font-weight: 700; }
@media (max-width: 460px) {
  .chqt[data-tool="baseboard-crown-molding-calculator"] .chqt-lede,
  .chqt[data-tool="baseboard-crown-molding-calculator"] .chqt-kicker,
  .chqt[data-tool="chair-rail-height-calculator"] .chqt-lede,
  .chqt[data-tool="chair-rail-height-calculator"] .chqt-kicker { display: none; }
  .bm-three { gap: 8px; }
}
