body main.tools-shell > .bs-page:has(#block-shapes.wbs-title) {
  width: auto; max-width: 1440px; margin: 0 auto; padding: 25px 16px 48px;
}
#block-shapes .bs-workshop-hero { margin-bottom: 16px; }
#block-shapes .bs-workshop-hero h1 { overflow-wrap: anywhere; }
#block-shapes .bs-workshop-hero .wbs-diff-hero-copy { max-width: 650px; }
#block-shapes .bs-workshop-hero .wbs-diff-cover { object-position: right 50%; }
#block-shapes .bs-building-picks {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px; margin: 0 0 12px;
}
#block-shapes .bs-building-picks .bs-button {
  justify-content: flex-start; gap: 8px; min-height: 44px;
  background: linear-gradient(135deg,#382a64,#171d39);
  border-color: #bba1ed84; text-align: start;
}
#block-shapes .bs-building-picks svg {
  flex: 0 0 18px; width: 18px; height: 18px; fill: none;
  stroke: #c4e9ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
#block-shapes .bs-workspace { grid-template-columns: minmax(240px, 2fr) minmax(0, 3fr); gap: 16px; }
#block-shapes .bs-workspace > :is(.bs-settings,.bs-result) {
  padding: 16px; border: 1px solid #b4b7dd55; border-radius: 1.1rem; min-width: 0;
  background: radial-gradient(ellipse at 0 0,#b69aff22,transparent 75%),#0d132be0;
  box-shadow: 0 8px 24px #03071955,inset 0 1px #f0e8ff44;
}
#block-shapes .bs-assembly {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px 12px;
  align-items: center; margin-bottom: 10px; padding: 9px;
  border: 1px solid #b5a5e460; border-radius: 12px; background: #221d3f;
}
#block-shapes .bs-assembly button { grid-row: span 2; min-height: 43px; background: #644699; }
#block-shapes .bs-assembly label {
  display: flex; justify-content: space-between; gap: 6px; margin: 0;
  color: #ebdcff; font-size: .75rem;
}
#block-shapes .bs-assembly input[type=range] {
  appearance: none; width: 100%; height: 18px; margin: 0; padding: 0; border: 0;
  background: transparent; cursor: pointer;
}
#block-shapes .bs-assembly input::-webkit-slider-runnable-track { height: 5px; border-radius: 4px; background: #7762a4; }
#block-shapes .bs-assembly input::-moz-range-track { height: 5px; border-radius: 4px; background: #7762a4; }
#block-shapes .bs-assembly input::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; margin-top: -4.5px; border: 2px solid #e5d8ff; border-radius: 4px; background: #9d74e8; }
#block-shapes .bs-assembly input::-moz-range-thumb { width: 11px; height: 11px; border: 2px solid #e5d8ff; border-radius: 4px; background: #9d74e8; }
#block-shapes .bs-faq > summary { cursor: pointer; display: flex; justify-content: space-between; gap: 8px; list-style: none; }
#block-shapes .bs-faq > summary::-webkit-details-marker { display: none; }
#block-shapes .bs-faq > summary span { color: #dec7ff; }
#block-shapes :is(.bs-settings,.bs-result) { scroll-margin-top: 100px; }
#block-shapes .bs-assembly[hidden] { display: none; }
@media(max-width: 760px) {
  #block-shapes .bs-workspace { grid-template-columns: minmax(0,1fr); }
  #block-shapes .bs-building-picks { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 700px) {
  body main.tools-shell > .bs-page:has(#block-shapes.wbs-title) { padding: 12px 10px 30px; }
  #block-shapes .bs-workshop-hero { padding-bottom: 64px; }
  #block-shapes .bs-workshop-hero::after { background: linear-gradient(90deg,#0d132bf4 4%,#0d132bbf 64%,#0d132b43); }
}


#block-shapes :is(#preview-camera,.bs-build-controls,.bs-actions,.bs-project-actions) {
  flex-wrap: wrap;
}
#block-shapes #preview-camera { display: flex; }
#block-shapes .bs-workshop-hero .wbs-diff-hero-copy { min-width: 0; }
#block-shapes .bs-result canvas { max-width: 100%; }

#block-shapes.wbs-cmd { margin: 0; padding: 0; min-width: 0; }
#block-shapes .bs-shape-menu { margin-block: 16px; }
#block-shapes .bs-workshop-hero { margin: .8rem 0 16px; }
#block-shapes .bs-workshop-hero .wbs-diff-hero-copy { max-width: 640px; }
#block-shapes .bs-workspace {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start; gap: 16px; margin: 0; padding: 0;
}
#block-shapes .bs-workspace > .team-side { min-width: 0; }
#block-shapes .bs-workspace :is(.wbs-diff-settings,.wbs-diff-preview) {
  padding: 16px; min-width: 0; border: 1px solid #b4b7dd55; border-radius: 1.1rem;
  background: radial-gradient(ellipse at 0 0,#b69aff22,transparent 75%),#0d132be0;
  box-shadow: 0 8px 24px #03071955,inset 0 1px #f0e8ff44;
}
#block-shapes .bs-workspace .bs-settings { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
#block-shapes .bs-settings > * { grid-column: 1/-1; }
#block-shapes .bs-building-picks { margin: 0; grid-template-columns: repeat(2,minmax(0,1fr)); }
#block-shapes .bs-building-picks button { white-space: normal; }
#block-shapes .bs-assembly { grid-template-columns: auto minmax(0,1fr); }
#block-shapes .bs-assembly label { flex-direction: row; }
#block-shapes .bs-title-row-link { margin: 8px 0; font-size: .76rem; }
#block-shapes .bs-title-row-link a { color: #e3d1ff; text-decoration: underline; text-underline-offset: 3px; }
#block-shapes .bs-title-guides { margin: 14px 0; }
#block-shapes .bs-title-guides > details { min-width: 0; margin: 0; }
#block-shapes .bs-title-guides > details > summary { display: block; }
#block-shapes .bs-title-guides .bs-walkthrough ol { display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; }
#block-shapes .bs-title-guides .bs-section-head { margin-top: 12px; }
#block-shapes .bs-title-guides .bs-row-scroll { max-width: 100%; overflow: auto; }
#block-shapes #build-navigation { scroll-margin-top: 100px; }
#block-shapes .bs-faq { padding: 0; border-radius: 18px; }
#block-shapes .bs-faq > summary.wbs-faq-main-summary { padding: 14px 16px; align-items: center; }
#block-shapes .bs-faq-search-label { margin: 0 0 12px; }
@media(max-width: 680px) {
  #block-shapes .bs-workspace { grid-template-columns: minmax(0,1fr); }
}

