body .bb-header>a.bb-brand[data-brand-mark-home],
body.bb-clean-layout .bb-header>a.bb-brand[data-brand-mark-home] {
  width:84px!important; flex:0 0 84px!important; height:34px!important; margin:0!important;
}
body .bb-header>a.bb-brand img[data-brand-mark] { width:100%!important; height:100%!important; object-fit:contain!important }
body dialog[data-my-plans] { width:min(960px,calc(100vw - 32px)); padding:20px 24px; border:1px solid #d8d5ce; border-radius:8px; background:#fcfbf8; color:#282722; font:13px/1.5 system-ui,sans-serif }
body dialog[data-my-plans] h2 { margin:0 0 6px; font:550 20px/1.3 system-ui,sans-serif }
body dialog[data-my-plans] h3 { margin:14px 0 6px; font:600 14px/1.4 system-ui,sans-serif }
body dialog[data-my-plans] p { margin:4px 0 8px; color:#5b5952; font:12px/1.45 system-ui,sans-serif }
body dialog[data-my-plans] [role=status]:empty { display:none }
body dialog[data-my-plans] button { min-height:30px; padding:4px 9px; border:1px solid #cac7c0; border-radius:4px; font:500 12px/18px system-ui,sans-serif; color:#3d3a34; -webkit-text-fill-color:currentColor }
body dialog[data-my-plans] input:not([type=file]) { min-height:32px; max-width:360px; margin-top:3px; padding:5px 9px }
body dialog[data-my-plans] .bb-my-plan-actions { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 }
body dialog[data-my-plans] :is([data-my-plan-list],[data-cloud-plan-list]) { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,184px),1fr)); gap:10px }
body dialog[data-my-plans] :is([data-my-plan-list],[data-cloud-plan-list])>section { display:flex!important; flex-direction:column; min-width:0; gap:4px!important; padding:9px!important; border:1px solid #dedbd3!important; border-radius:5px; background:white }
body dialog[data-my-plans] :is([data-my-plan-list],[data-cloud-plan-list]) section>button:first-child { height:104px!important; min-height:0!important; padding:0; background:#f4f2ed!important; border:0 }
body dialog[data-my-plans] :is([data-my-plan-list],[data-cloud-plan-list]) section>button img { height:100%!important; width:100%; object-fit:contain }
body dialog[data-my-plans] section strong { font-size:13px; overflow-wrap:anywhere }
body dialog[data-my-plans] section small { font-size:11px; color:#65635c }
body dialog[data-my-plans] .bb-plan-card-actions { display:flex; flex-wrap:wrap; gap:5px; margin-top:auto }
body dialog[data-my-plans] .bb-plan-card-actions button:first-child,
body dialog[data-my-plans] [data-save-my-plan] { background:#343530;color:white;-webkit-text-fill-color:white }
body dialog[data-my-plans] button:focus-visible { outline:2px solid #835c44; outline-offset:2px }
@media(max-width:600px) {body dialog[data-my-plans]{width:100%;padding:14px;max-height:100dvh}body dialog[data-my-plans] button {min-height:40px}body dialog[data-my-plans] :is([data-my-plan-list],[data-cloud-plan-list]) {grid-template-columns:repeat(auto-fit,minmax(min(100%,146px),1fr))}}
.plan-backup-tools {align-self:center}
.plan-backup-tools summary {font-size:12px;cursor:pointer;padding:5px}
.plan-backup-tools[open] {flex-basis:100%}
.plan-backup-tools button {margin:4px 4px 0 0}
.plan-action-icon {display:inline-block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vertical-align:-3px;margin-right:4px}
button.plan-zoom-icon {font-size:0!important}
button.plan-zoom-icon svg {margin:0}

body .bb-header,body.bb-clean-layout .bb-header{display:flex;align-items:center;gap:10px!important;flex-wrap:wrap;height:auto;min-height:54px!important;padding:6px 14px!important}
body .bb-header>.bb-brand{order:0}
body.bb-clean-layout .bb-header>div:not(.bb-plan-head):not(.bb-header-view-actions){display:none!important}
body.bb-clean-layout .bb-header .bb-plan-head{order:1;flex:1 1 80px!important;min-width:0!important;margin:0!important}
body .bb-header>.bb-layout-menu-toggle{order:3}
body .bb-header>[data-mobile-history-action]{order:2}
body .bb-header>[data-plan-archive-entry]{order:4}
body .bb-header>[data-open-white-model]{order:5}
body .bb-header>.bb-layout-menu-toggle,
body .bb-header>[data-plan-archive-entry],
body .bb-header>[data-open-white-model],
body.bb-clean-layout .bb-header>button:is(.bb-layout-menu-toggle,[data-plan-archive-entry],[data-open-white-model]){
  height:32px!important;min-height:32px!important;min-width:0!important;width:auto!important;flex:none!important;
  padding:0 12px!important;margin:0!important;border:1px solid #d5cfc7!important;border-radius:5px!important;
  background:#fffdfa!important;color:#453c39!important;-webkit-text-fill-color:currentColor!important;
  font:500 12px/1 system-ui!important;letter-spacing:normal!important;white-space:nowrap;text-align:center;align-self:center
}
body .bb-header>button:is(.bb-layout-menu-toggle,[data-plan-archive-entry],[data-open-white-model]):is(:hover,:focus-visible){
  border-color:#813b3f!important
}
body dialog[data-my-plans] details [data-auto-sync-status]{display:block;max-width:none!important;padding:4px 0!important;color:#665b55!important}
body.bb-clean-layout .bb-layout-tools-drawer{border:1px solid #d2ccc2;border-radius:7px;box-shadow:0 4px 16px #30251b16}
body.bb-clean-layout .bb-layout-tools-drawer>h3{background:#813b3f!important;color:#fff!important;border-bottom:1px solid #703036;font-size:13px}
body.bb-clean-layout .bb-layout-tools-drawer>h3 button{background:transparent!important;color:white!important;border-color:#ffffff70!important}
body.bb-clean-layout .bb-layout-tools-drawer [aria-label="图上产品组合"],
body.bb-clean-layout .bb-layout-tools-drawer [aria-label="流程操作"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important}
body.bb-clean-layout .bb-layout-tools-drawer [aria-label="图上产品组合"]>[role="status"]{font-size:11px}
body.bb-clean-layout .bb-layout-tools-drawer [aria-label="流程操作"]{order:-1;padding-bottom:8px!important;border-bottom:1px solid #e0dcd5}
body.bb-clean-layout .bb-layout-tools-drawer [aria-label="设计操作工具栏"] button{min-height:34px!important;font-size:12px!important;padding:5px 7px!important}
body.bb-clean-layout .bb-layout-tools-drawer [aria-pressed="true"]{background:#813b3f!important;color:white!important}
@media(max-width:680px){
  body .bb-header,body.bb-clean-layout .bb-header{padding:5px 8px!important;gap:4px 7px!important}
  body.bb-clean-layout .bb-header{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:6px!important}
  body.bb-clean-layout .bb-header>.bb-brand{grid-column:1/3;grid-row:1}
  body.bb-clean-layout .bb-header>.bb-plan-head{grid-column:3/5;grid-row:1}
  body.bb-clean-layout .bb-header>[data-mobile-history-action=undo]{grid-column:5;grid-row:1;justify-self:end}
  body.bb-clean-layout .bb-header>[data-mobile-history-action=redo]{grid-column:6;grid-row:1;justify-self:end}
  body.bb-clean-layout .bb-header>button:is(.bb-layout-menu-toggle,[data-plan-archive-entry],[data-open-white-model]){grid-row:2;width:100%!important;min-height:36px!important}
  body.bb-clean-layout .bb-header>.bb-layout-menu-toggle{grid-column:1/3}
  body.bb-clean-layout .bb-header>[data-plan-archive-entry]{grid-column:3/5}
  body.bb-clean-layout .bb-header>[data-open-white-model]{grid-column:5/7}
  body .bb-header [data-mobile-history-action]{font-size:0!important;width:34px!important;min-width:34px!important;padding:4px!important}
  body .bb-header [data-mobile-history-action] svg{margin:0}
}

body .bb-header>[data-original-plan-return]{order:2;min-height:32px;padding:5px 10px;border:1px solid #d5cfc7;border-radius:5px;background:#fffdfa;color:#453c39;font:500 12px/1.35 system-ui;white-space:nowrap}

.wall-workspace-title{display:none}
body .bb-header:has([data-integrated-menu]){justify-content:flex-start!important;gap:8px!important}
body .bb-header:has([data-integrated-menu])>div:has(.wall-workspace-title){flex:1 1 auto;min-width:0}
body .bb-header:has([data-integrated-menu]) .wall-workspace-title{display:block;font:600 14px/1.3 system-ui;color:#36312f}
body .bb-header:has([data-integrated-menu]) .wall-workspace-title~*,
body .bb-header:has([data-integrated-menu]) div:has(>.wall-workspace-title)>:not(.wall-workspace-title){display:none!important}
body .bb-header:has([data-integrated-menu])>button:is([data-integrated-menu],[data-original-plan-return],[data-plan-archive-entry],[data-open-white-model]){
  height:32px!important;min-height:32px!important;min-width:0!important;width:auto!important;margin:0!important;padding:0 10px!important;border:1px solid #d5cfc7!important;border-radius:5px!important;background:#fffdfa!important;color:#453c39!important;-webkit-text-fill-color:currentColor!important;font:500 12px/1 system-ui!important;letter-spacing:normal;white-space:nowrap
}
body .bb-header>[data-integrated-menu]{order:3}
@media(max-width:680px){
  body .bb-header:has([data-integrated-menu]){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important}
  body .bb-header:has([data-integrated-menu])>.bb-brand{grid-column:1}
  body .bb-header:has([data-integrated-menu])>div:has(.wall-workspace-title){grid-column:2/-1;grid-row:1}
  body .bb-header:has([data-integrated-menu])>button:is([data-integrated-menu],[data-original-plan-return],[data-plan-archive-entry],[data-open-white-model]){grid-row:2;width:100%!important;min-height:36px!important;padding:0 2px!important}
}

.wall-header-icon{display:none}
body .bb-header:has([data-integrated-menu])>button:is([data-integrated-menu],[data-original-plan-return],[data-plan-archive-entry],[data-open-white-model]){
  display:inline-grid!important;place-items:center;width:36px!important;height:36px!important;padding:0!important;font-size:0!important;justify-self:center
}
.bb-header:has([data-integrated-menu]) .wall-header-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
@media(pointer:coarse){body .bb-header:has([data-integrated-menu])>button:is([data-integrated-menu],[data-original-plan-return],[data-plan-archive-entry],[data-open-white-model]){min-width:44px!important;min-height:44px!important}}

body.bb-clean-layout input[type="checkbox"]{accent-color:#813b3f}
@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout{--plan-rail:clamp(186px,19vw,224px);--plan-panel-top:64px}
  body.bb-clean-layout .bb-layout-tools-drawer{left:8px;right:auto;top:var(--plan-panel-top);width:var(--plan-rail);max-height:calc(100dvh - var(--plan-panel-top) - 8px)}
  body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body]{gap:5px;padding:7px}
  body.bb-clean-layout .bb-layout-tools-drawer :is([aria-label="设计操作工具栏"] button,summary,[data-layout-tools-body]>button){min-width:0!important;min-height:30px!important;height:auto!important;font-size:12px!important;line-height:1.3!important;padding:4px!important;white-space:normal!important;overflow-wrap:anywhere}
  body.bb-clean-layout .bb-layout-tools-drawer [aria-label="图上产品组合"] button{min-width:0!important;white-space:normal!important}
  body.bb-clean-layout .bb-layout-tools-drawer [aria-label="图上产品组合"] svg{width:15px!important;max-width:15px;flex-shrink:0}
  body.bb-clean-layout:has(.bb-layout-tools-drawer:not([hidden])) .bb-plan-card{margin-left:calc(var(--plan-rail) + 16px)!important}
  body.bb-clean-layout:has(dialog[data-product-editor][open]:not([data-user-positioned]):not([style*="display: none"])) .bb-plan-card{margin-right:calc(var(--plan-rail) + 16px)!important}
  body.bb-clean-layout dialog[data-product-editor]:not([data-user-positioned]){inset:var(--plan-panel-top) 8px auto auto!important;max-height:calc(100dvh - var(--plan-panel-top) - 8px)!important}
  body.bb-clean-layout dialog[data-product-editor]{width:var(--plan-rail)!important;padding:12px!important;border:1px solid #d2ccc2!important;border-radius:6px;box-shadow:0 3px 12px #30251b1a!important;font:12px/1.45 system-ui}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-top-tools{position:static!important;margin:-12px -12px 8px!important;padding-bottom:6px!important}
  body.bb-clean-layout dialog[data-product-editor] [data-handle]{min-height:32px!important;padding:6px 10px!important;font-size:13px!important}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-command-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:4px 6px 0!important;gap:3px!important}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-command-grid>button{min-width:0!important;min-height:28px!important;font-size:11px!important;padding:3px 1px!important;line-height:1.4!important}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-command-grid>[data-desktop-symbol]{font-size:0!important}
  body.bb-clean-layout dialog[data-product-editor] [data-desktop-symbol]::before{content:attr(data-desktop-symbol);font:500 13px/1.3 system-ui}
}
@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout .bb-layout-tools-drawer .bb-plan-toolbar :is(button,summary)[data-layout-icon]>span{display:none!important}
  body.bb-clean-layout .bb-layout-tools-drawer .bb-plan-toolbar :is(button,summary)[data-layout-icon]{gap:0!important;height:30px!important;min-height:30px!important}
  body.bb-clean-layout .bb-layout-tools-drawer .bb-plan-toolbar :is(button,summary)[data-layout-icon]>svg{display:block;width:17px!important;height:17px!important}
  body.bb-clean-layout dialog[data-product-editor] button:focus-visible{outline:2px solid #813b3f;outline-offset:1px}
}

/* Product previews reserve their full tile for the image. Captions overlay it on inspection. */
body.bb-clean-layout .bb-icon-library button.bb-icon-card[data-library-icon]{
  position:relative;isolation:isolate;overflow:hidden!important;justify-content:center;align-items:center;
  grid-template-rows:minmax(0,1fr)!important
}
body.bb-clean-layout .bb-icon-library .bb-icon-card[data-library-icon]>img{
  width:100%!important;height:100%!important;object-fit:contain!important
}
body.bb-clean-layout .bb-icon-library .bb-icon-card[data-library-icon]>:is(strong,span){
  position:absolute!important;z-index:1;left:0;right:0;margin:0!important;
  text-align:left;padding:0 6px;opacity:0;pointer-events:none;color:white!important;
  background:rgb(39 35 32 / .94);line-height:1.35!important
}
body.bb-clean-layout .bb-icon-library .bb-icon-card[data-library-icon]>strong{
  bottom:18px;padding-top:4px;font-size:11px!important;white-space:normal!important;
}
body.bb-clean-layout .bb-icon-library .bb-icon-card[data-library-icon]>span{
  bottom:0;box-sizing:border-box;height:18px;font-size:10px!important
}
body.bb-clean-layout .bb-icon-library .bb-icon-card[data-library-icon]:focus-visible>:is(strong,span){opacity:1}
@media(hover:hover){
  body.bb-clean-layout .bb-icon-library .bb-icon-card[data-library-icon]:hover>:is(strong,span){opacity:1}
}
@media(hover:none){
  body.bb-clean-layout .bb-icon-library .bb-icon-card[data-library-icon].selected>:is(strong,span){opacity:1}
}

.plan-tool-caption{position:fixed;z-index:2147483646;pointer-events:none;padding:4px 8px;border-radius:4px;background:#393431;color:white;font:500 12px/1.4 system-ui;white-space:nowrap}
.plan-tool-caption[hidden]{display:none}
body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body]{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:5px!important;padding:8px!important
}
body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body]>:not(button,details,label,.bb-collection-tool-pair){grid-column:1/-1}
body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body]>.bb-collection-tool-pair,
body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body]>[aria-label="设计操作工具栏"]{display:contents!important}
body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body] :is(.bb-plan-toolbar,.bb-canvas-tool-pair,[aria-label="流程操作"]){
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-column:1/-1;gap:5px!important;margin:0!important;padding:5px 0 0!important;border:0;border-top:1px solid #e8e2db!important
}
body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body] details{min-width:0}
body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body] details:has(>[data-palette-name])[open]{grid-column:1/-1}
body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body]>[data-palette-name],
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer :is(button,summary,label)[data-palette-name]{
  box-sizing:border-box!important;position:relative;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:38px!important;min-height:38px!important;min-width:0!important;margin:0!important;padding:0!important;
  font-size:0!important;line-height:0!important;gap:0!important;letter-spacing:0!important;
  border:1px solid #dad3cb!important;border-radius:4px!important;background:#fffdfa!important;color:#453e39!important;cursor:pointer
}
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-palette-name]>span{display:none!important}
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-palette-name]>svg{
  display:block!important;width:21px!important;height:21px!important;max-width:21px!important;flex:0 0 21px!important;
  fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round
}
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer label[data-palette-name]>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer :is([data-palette-name]:has(input:checked),[data-palette-name][aria-pressed=true],details[open]>[data-palette-name]){
  color:#813b3f!important;background:#f2e8e5!important;border-color:#aa7476!important
}
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-palette-name]:is(:hover,:focus-visible,:has(input:focus-visible)){outline:1px solid #813b3f;outline-offset:1px}
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer>h3>[data-close-layout-tools]{width:28px!important;min-height:28px!important;height:28px!important;border:0!important;background:transparent!important;color:white!important}
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-palette-name][hidden]{display:none!important}
@media(pointer:coarse){body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-layout-tools-body] [data-palette-name]{height:44px!important;min-height:44px!important}}
body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-layout-tools-body] :is(button,summary,label)[data-palette-name]>svg{
  width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;max-width:21px!important;max-height:21px!important
}

@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout #builderControlPanel.bb-question-card:has(.bb-product-library){
    width:148px!important;padding:8px!important;box-sizing:border-box;max-height:min(66dvh,calc(100dvh - 100px))!important;overflow-y:auto
  }
  body.bb-clean-layout #builderControlPanel.bb-question-card>[data-layout-library-heading]{
    top:-8px;margin:-8px -8px 6px!important;padding:5px 8px!important;min-height:32px!important;font:600 12px/18px system-ui!important
  }
  body.bb-clean-layout #builderControlPanel [data-layout-library-heading] button{font:500 11px/15px system-ui;padding:3px 6px}
  body.bb-clean-layout #builderControlPanel .bb-icon-library{margin:4px 0!important}
  body.bb-clean-layout #builderControlPanel [data-catalog-controls]{padding:3px 0 5px!important}
  body.bb-clean-layout #builderControlPanel [data-catalog-controls]>div{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;margin-top:4px!important
  }
  body.bb-clean-layout #builderControlPanel [data-catalog-controls] :is(input,select){
    box-sizing:border-box;width:100%;min-height:27px!important;height:27px!important;padding:2px 4px!important;font:12px/1.3 system-ui!important
  }
  body.bb-clean-layout #builderControlPanel .bb-icon-library [data-catalog-grid]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important
  }
  body.bb-clean-layout #builderControlPanel .bb-icon-library button[data-library-icon]{padding:3px!important}
}

@media(min-width:761px) and (pointer:fine){
  .catalog-product-caption{max-width:min(285px,calc(100vw - 16px));box-sizing:border-box;white-space:normal}
  #builderControlPanel.catalog-flyout-enabled button[data-library-icon]>:is(strong,span){clip-path:inset(50%)}
  body.bb-clean-layout #builderControlPanel:has(.bb-product-library) details:not(.bb-product-library)>summary{font-size:11px!important;line-height:1.4!important}
}

@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout dialog[data-product-editor] button[data-remove]{--command-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M9 6V3h6v3M6 6l1 15h10l1-15M10 10v7m4-7v7'/%3E%3C/svg%3E")}
  body.bb-clean-layout dialog[data-product-editor] button[data-cancel]{--command-icon:var(--panel-close-icon)}
  body.bb-clean-layout dialog[data-product-editor] button[type=submit]{--command-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E")}
  body.bb-clean-layout dialog[data-product-editor] button[data-mode=size]{--command-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h18v8H3z M7 8v4m4-4v3m4-3v4'/%3E%3C/svg%3E")}
  body.bb-clean-layout dialog[data-product-editor] button[data-mode=position]{--command-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M3 12h18M9 6l3-3 3 3m-6 12 3 3 3-3M6 9l-3 3 3 3m12-6 3 3-3 3'/%3E%3C/svg%3E")}
  body.bb-clean-layout dialog[data-product-editor] button[data-mode=more]{--command-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h8m4 0h6M3 12h2m4 0h12M3 18h12m4 0h2M11 3v6M7 9v6m10 0v6'/%3E%3C/svg%3E")}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-command-grid>button:is([data-remove],[data-cancel],[data-mode],[type=submit]){font-size:0!important}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-command-grid>button:is([data-remove],[data-cancel],[data-mode],[type=submit])::before{content:'';display:inline-block;width:18px;height:18px;vertical-align:middle;background:currentColor;mask:var(--command-icon) center/contain no-repeat}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-top-tools{position:relative!important;top:0!important}
  body.bb-clean-layout dialog[data-product-editor][data-edit-mode=""] .bb-product-command-grid>[data-cancel]{position:absolute;top:2px;right:3px;width:28px!important;height:28px;padding:0!important;background:transparent;color:white;border:0}
  body.bb-clean-layout dialog[data-product-editor][data-edit-mode=""] [data-handle]{padding-right:36px!important}
  body.bb-clean-layout dialog[data-product-editor][data-edit-mode=""] .bb-product-command-grid:has(>[data-remove]){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

body.bb-clean-layout{--panel-close-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout :is(#builderControlPanel [data-close-product-library],[data-furniture-legend]>.bb-product-list-heading>button,[data-product-draft-popup]>h3>[data-close-product-draft],.bb-layout-tools-drawer>h3>[data-close-layout-tools]){
    order:3;flex:0 0 28px;display:inline-grid!important;place-items:center;box-sizing:border-box;
    width:28px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;gap:0!important;
    background:transparent!important;border:0!important;color:white!important;font-size:0!important;line-height:0!important;cursor:pointer
  }
  body.bb-clean-layout :is(#builderControlPanel [data-close-product-library],[data-furniture-legend]>.bb-product-list-heading>button,[data-product-draft-popup]>h3>[data-close-product-draft],.bb-layout-tools-drawer>h3>[data-close-layout-tools])::before{
    content:'';width:18px;height:18px;background:currentColor;mask:var(--panel-close-icon) center/contain no-repeat
  }
  body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer>h3>[data-close-layout-tools]>svg{display:none!important}
  body.bb-clean-layout :is(.bb-layout-tools-drawer>h3,#builderControlPanel>[data-layout-library-heading])::after{order:2;margin-left:auto}
}

body.bb-clean-layout [data-factory-cad-import] [data-pick-cad]{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #dad3cb;border-radius:4px;background:#fffdfa;color:#453e39;cursor:pointer}
body.bb-clean-layout [data-factory-cad-import] p:empty,body.bb-clean-layout [data-factory-cad-import] [hidden]{display:none!important}
@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout dialog[data-product-editor] .bb-editor-layer-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px!important;padding:4px 6px 0;margin:0!important}
  body.bb-clean-layout dialog[data-product-editor] .bb-editor-layer-row>button{min-width:0;min-height:28px;padding:3px 1px;border:1px solid #cbc5bf;border-radius:3px;background:white;color:#36312f;font-size:0;cursor:pointer}
  .bb-editor-layer-row>button::before{content:'';display:inline-block;width:18px;height:18px;vertical-align:middle;background:currentColor;mask:var(--layer-icon) center/contain no-repeat}
  .bb-editor-layer-row>button:disabled{opacity:.45}
  [data-layer-direction="top"]{--layer-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16M12 20V8m-5 5 5-5 5 5'/%3E%3C/svg%3E")}
  [data-layer-direction="up"]{--layer-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20h14M12 16V4m-5 5 5-5 5 5'/%3E%3C/svg%3E")}
  [data-layer-direction="down"]{--layer-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14M12 8v12m-5-5 5 5 5-5'/%3E%3C/svg%3E")}
  [data-layer-direction="bottom"]{--layer-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M12 4v12m-5-5 5 5 5-5'/%3E%3C/svg%3E")}
}

@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout .bb-layout-tools-drawer{width:100px!important}
  body.bb-clean-layout .bb-layout-tools-drawer>h3::after{display:none!important}
  body.bb-clean-layout .bb-layout-tools-drawer:has([data-layout-tools-body] details[open]){width:224px!important}
  body.bb-clean-layout:has(.bb-layout-tools-drawer:not([hidden])) .bb-plan-card{margin-left:112px!important}
  body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px!important}
  body.bb-clean-layout .bb-layout-tools-drawer [data-layout-tools-body] :is(.bb-plan-toolbar,.bb-canvas-tool-pair,[aria-label="流程操作"]){display:contents!important}
  body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-layout-tools-body] :is(button,summary,label)[data-palette-name]{min-height:29px!important;height:29px!important}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-top-tools{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:0 5px 5px!important}
  body.bb-clean-layout dialog[data-product-editor]:not([data-edit-mode=""]) .bb-product-top-tools{grid-template-columns:repeat(8,minmax(0,1fr))}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-top-tools>[data-handle]{grid-column:1/-1;width:auto!important;margin:0 -5px!important;box-sizing:border-box}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-top-tools>:is(.bb-product-command-grid,.bb-editor-layer-row){display:contents!important}
  body.bb-clean-layout dialog[data-product-editor] .bb-product-command-grid>[data-rotate-delta]::before{font-size:10px}
  body.bb-clean-layout.bb-product-list-open [data-furniture-legend]>.bb-product-list-heading{min-height:32px;padding:3px 6px!important;margin-bottom:4px;font:600 13px/18px system-ui}
  body.bb-clean-layout .bb-product-list-heading::after{order:2}
  body.bb-clean-layout [data-furniture-legend] [data-quote-report]{padding:0;border:0}
  body.bb-clean-layout [data-furniture-legend] [data-quote-report] article{margin:4px 0!important;padding:7px 8px!important;border-radius:4px!important}
  body.bb-clean-layout [data-furniture-legend] :is([data-quote-report],article p,article div,article strong,button,[data-quote-report]>p){font:400 12px/1.4 system-ui!important}
  body.bb-clean-layout [data-furniture-legend] article strong,body.bb-clean-layout [data-furniture-legend] [data-quote-report]>p{font-weight:600!important}
  body.bb-clean-layout [data-furniture-legend] [data-quote-report]>p{padding:6px 8px!important;margin:4px 0;white-space:pre-line}
  body.bb-clean-layout [data-furniture-legend] article p{margin:3px 0!important}
  body.bb-clean-layout [data-furniture-legend]>.bb-product-list-heading button{font-size:0!important}
}
@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout dialog[data-product-editor][data-edit-mode=""] .bb-product-command-grid>[data-cancel]{right:12px}
}
@media(min-width:761px) and (pointer:fine){
  body.bb-clean-layout .bb-layout-tools-drawer>h3{min-height:32px!important;padding:3px 8px!important;box-sizing:border-box;font:600 13px/18px system-ui!important}
}

body.bb-clean-layout [data-furniture-legend] [data-quote-report] [data-list-model]{font:400 12px/1.4 system-ui!important;overflow-wrap:anywhere;color:#6b625c}

[data-furniture-legend]>p[role="status"]:empty{display:none}

.bb-price-entry{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:6px;align-items:end}
.bb-price-entry:has([data-custom-price]:is(input):disabled),.bb-price-entry:has(label[hidden]){display:none}
.bb-price-entry select{width:100%;box-sizing:border-box}
[data-product-editor] [data-product-facts]{font:400 12px/1.4 system-ui;color:#625c56;margin:4px 0 0;overflow-wrap:anywhere}

@media(min-width:761px) and (pointer:fine){
 body.bb-clean-layout{--placement-cell:36px}
 body.bb-clean-layout :is([data-layout-library-heading],.bb-product-list-heading,.bb-layout-tools-drawer>h3,[data-product-draft-popup]>h3,[data-product-editor] [data-handle],.bb-independent-collection>h3)::after{content:none!important;display:none!important}
 body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-layout-tools-body]{grid-template-columns:repeat(2,var(--placement-cell));justify-content:center}
 body.bb-clean-layout .bb-layout-tools-drawer.bb-layout-tools-drawer [data-layout-tools-body] :is(button,summary,label)[data-palette-name],
 body.bb-clean-layout dialog[data-product-editor] .bb-product-top-tools :is(.bb-product-command-grid,.bb-editor-layer-row)>button:not([data-cancel]){
   box-sizing:border-box;width:var(--placement-cell)!important;height:var(--placement-cell)!important;min-height:var(--placement-cell)!important;padding:0!important
 }
 body.bb-clean-layout dialog[data-product-editor][data-edit-mode=""]{width:100px!important;box-sizing:border-box;overflow-wrap:anywhere}
 body.bb-clean-layout:has(dialog[data-product-editor][open][data-edit-mode=""]:not([data-user-positioned])) .bb-plan-card{margin-right:112px!important}
 body.bb-clean-layout dialog[data-product-editor] .bb-product-top-tools,
 body.bb-clean-layout dialog[data-product-editor]:not([data-edit-mode=""]) .bb-product-top-tools{grid-template-columns:repeat(2,var(--placement-cell));justify-content:center;gap:3px}
 body.bb-clean-layout dialog[data-product-editor] .bb-product-top-tools>[data-handle]{width:auto!important;min-width:0;padding:5px 0!important;margin:0 -8px!important;text-indent:5px;font:600 12px/22px system-ui!important}
 body.bb-clean-layout dialog[data-product-editor][data-edit-mode=""] .bb-product-command-grid>[data-cancel]{right:15px}
 body.bb-clean-layout dialog[data-product-editor] [data-rotate-delta]::before{font:500 10px/1.1 system-ui;white-space:nowrap}
 body.bb-clean-layout dialog[data-product-editor] .bb-product-command-grid>[data-rotate-delta]::before{font-size:10px!important}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup]:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;width:240px!important;max-height:calc(100dvh - 84px)!important;padding:8px!important;box-sizing:border-box;font:400 12px/1.3 system-ui!important}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup]>h3{grid-column:1/-1;min-height:32px!important;margin:-8px -8px 0!important;padding:2px 5px 2px 8px!important;box-sizing:border-box;font:600 13px/18px system-ui!important}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] .bb-size-fields{display:contents!important}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] label:not([hidden]){display:flex!important;flex-wrap:wrap;align-items:center;gap:1px 3px;min-width:0;margin:0!important;padding:0!important;font:400 11px/14px system-ui!important}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] label>small{order:-1;margin-left:auto;font:10px/14px system-ui}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] :is(input:not([hidden]),select){box-sizing:border-box;width:100%;min-width:0;min-height:26px!important;height:26px!important;margin:0!important;padding:2px 5px!important;font:400 12px/18px system-ui!important}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] .bb-price-entry{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] [data-shape-help]{display:none}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] [data-add-custom]{grid-column:1/-1;margin:0!important;min-height:28px!important;height:28px!important;padding:3px 6px!important;font:500 12px/18px system-ui!important}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] [hidden]{display:none!important}
}
@media(min-width:761px) and (pointer:fine){
 body.bb-clean-layout dialog[data-product-editor][data-edit-mode=""] .bb-product-top-tools>[data-handle]{justify-self:center;min-width:98px!important;text-indent:7px}
 body.bb-clean-layout dialog[data-product-editor][data-edit-mode=""] .bb-product-command-grid>[data-cancel]{right:2px}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] .bb-size-fields>label:not([hidden]){display:grid!important;grid-template-columns:auto 1fr;align-items:baseline}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] .bb-size-fields>label>small{grid-row:1;grid-column:2;order:0;margin:0;color:#706961}
 body.bb-clean-layout #builderControlPanel [data-product-draft-popup] .bb-size-fields>label>:is(input,.bb-imperial-fields){grid-column:1/-1;grid-row:2}
}
