body[data-feature=bunting] .stage-header,body[data-feature=bunting] .view-switch,body[data-feature=bunting] .orbit-help{display:none!important}
body[data-feature=bunting] [hidden]{display:none!important}
.bunting-strip{position:relative;z-index:3;flex:none;background:#fffaf0;border:1px solid #cbdacf;border-radius:14px;padding:12px 16px;margin-top:4px}
.bunting-strip-head{display:flex;align-items:center;gap:10px;font-size:12px}.bunting-strip-head strong{color:#3f7774;font-size:14px}.bunting-strip-head span{flex:1;color:#77877e}
.bunting-strip button,.bunting-views button,.bunting-transform button,.bunting-faces button{font-size:12px;padding:7px 10px;min-height:32px}.bunting-strip-head [data-action=duplicate]{background:#d9ebe2}
.bunting-tiles{display:flex;gap:9px;overflow:auto;padding:7px 0 4px;border-top:1px solid #dce1d6;margin-top:10px}
.bunting-tile{flex:0 0 65px;display:flex;align-items:center;flex-direction:column;border:1px solid transparent!important;background:transparent;cursor:grab;border-radius:9px}.bunting-tile svg{width:42px;height:47px;pointer-events:none}.bunting-tile span{font-size:10px;pointer-events:none;white-space:nowrap}.bunting-tile[aria-pressed=true]{border-color:#68aaa6!important;background:#e0eee5!important}.bunting-tile.drop-target{box-shadow:inset 3px 0 #3f7774}
.bunting-order{font-size:11px;color:#657c74;margin-top:4px}
.bunting-views{position:relative;flex:none;align-self:flex-end;margin:14px 0 12px;display:flex;gap:3px;z-index:4;white-space:nowrap;background:#f4eddf;border-radius:10px;padding:3px}.bunting-views button,.bunting-faces button{background:transparent;border:0}.bunting-views [aria-pressed=true],.bunting-faces [aria-pressed=true]{background:#d9ebe2}
.bunting-faces{position:absolute;top:var(--bunting-face-top,224px);left:var(--bunting-edge,34px);display:flex;flex-direction:row;gap:4px;background:#fffaf0;border:1px solid #dce1d6;border-radius:10px;padding:4px;z-index:5}
body[data-feature=bunting] #viewport{top:var(--bunting-canvas-top,276px)!important;bottom:90px!important}
.bunting-tools{position:absolute;bottom:26px;right:var(--bunting-edge,34px);left:auto;z-index:4;display:flex;align-items:center;justify-content:flex-end;gap:12px;max-width:calc(100% - 68px)}
.bunting-transform,.bunting-tools .history{display:flex;align-items:center;gap:2px;flex-wrap:nowrap;padding:4px;border:1px solid #dce1d6;border-radius:14px;background:#fffaf0}
.bunting-tools .history{position:static!important;inset:auto!important;transform:none!important;margin:0!important}
.bunting-tools :is(.bunting-transform,.history) button{display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:5px!important;border:0;background:transparent;border-radius:10px;color:#3f7774}
.bunting-tools button:hover{background:#deeee6}.bunting-tools button:focus-visible{outline:2px solid #3f7774;outline-offset:1px}.bunting-tools button:disabled{opacity:.35}
.bunting-tools .zb-ui-symbol{width:28px!important;height:28px!important;flex-basis:28px!important}.bunting-tools [data-edit=delete]{color:#a85d55}
body[data-feature=bunting] #dimensions{margin-left:auto;font-size:10px}
.bunting-canvas-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;touch-action:none;overflow:visible}.bunting-canvas-overlay [data-object]{pointer-events:all;cursor:move;touch-action:none;outline:none}.bunting-canvas-overlay [data-transform=scale]{cursor:nwse-resize}.bunting-canvas-overlay [data-transform=rotate]{cursor:grab}.bunting-canvas-overlay text{pointer-events:none}.bunting-canvas-overlay [data-object]:focus-visible{stroke-width:3;stroke:#244e59}
.bunting-push-hint{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:5px 10px;background:#fffaf0e6;border-radius:8px;color:#647b73;font-size:11px;pointer-events:none;z-index:3}
@media(max-width:760px){.bunting-strip{padding:7px;margin-top:0}.bunting-strip-head{gap:5px}.bunting-strip-head span{display:none}.bunting-strip-head strong{flex:1}.bunting-strip-head button{padding:4px;font-size:11px}.bunting-tile{flex-basis:49px;padding:3px!important}.bunting-tile svg{height:38px}.bunting-views{margin-top:14px}.bunting-faces{left:10px}.bunting-views button{font-size:11px;padding:6px}body[data-feature=bunting] #viewport{bottom:80px!important}.bunting-tools{left:auto;right:12px;bottom:20px;gap:6px;max-width:calc(100% - 24px)}.bunting-transform{gap:0;padding:2px}.bunting-tools :is(.bunting-transform,.history) button{width:32px;min-width:32px;height:36px;min-height:36px}.bunting-tools .zb-ui-symbol{width:25px!important;height:25px!important;flex-basis:25px!important}.bunting-transform button{padding:4px;font-size:10px}.bunting-push-hint{font-size:10px}}

body[data-feature=bunting] #generate,body[data-feature=bunting] .zl-tool[aria-selected=true]{background:#d9ebe2;border-color:#a8c9bc;color:#315e5c}
.bunting-options{border:0;padding:0;margin:0 0 18px;min-width:0}.bunting-options legend{font-size:13px;font-weight:600;margin-bottom:12px}.bunting-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#panel-style > .bunting-options .bunting-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bunting-option-grid button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 4px;background:#fffaf0;border:1px solid #d8dfd1;border-radius:12px;font-size:12px;min-height:98px}.bunting-option-grid img{object-fit:contain;width:64px;height:64px}.bunting-option-grid button[aria-pressed=true]{background:#deeee6;border-color:#619b8e;box-shadow:inset 0 0 0 1px #619b8e}.bunting-option-grid button:hover{background:#ebf3eb}.bunting-option-grid button:focus-visible{outline:2px solid #3f7774;outline-offset:2px}

/* Quiet canvas: retain live errors/status and export metadata in the DOM. */
body[data-feature=bunting] :is(.model-caption,#manufacturing-note,.bunting-push-hint,#bunting-size-note),
body[data-feature=bunting] .zl-panel > .hint:not([role=status]){display:none!important}
body[data-feature=bunting] #download-status{position:absolute;bottom:3px;left:34px;max-width:55%;margin:0}
.bunting-strip-head [data-action]{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:40px;padding:6px;border:0;background:transparent;color:#3f7774}
.bunting-strip-head [data-action]:hover{background:#deeee6}
.bunting-strip-head [data-action] .zb-ui-symbol{width:28px;height:28px;flex-basis:28px}
.bunting-strip-head [data-action=remove]{color:#a85d55}
.bunting-tools button[data-tooltip]{position:relative;overflow:visible}
.bunting-strip-head [data-tooltip]::after,.bunting-tools [data-tooltip]::after{content:attr(data-tooltip);position:absolute;z-index:20;left:50%;transform:translateX(-50%);padding:6px 9px;border-radius:7px;background:#315e5c;color:#fffaf0;font-size:11px;font-weight:400;line-height:1.4;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .12s}
.bunting-strip-head [data-tooltip]::after{top:calc(100% + 6px)}
.bunting-tools [data-tooltip]::after{bottom:calc(100% + 9px)}
.bunting-strip-head [data-tooltip]:is(:hover,:focus-visible)::after,.bunting-tools [data-tooltip]:is(:hover,:focus-visible)::after{opacity:1}
.bunting-strip-head [data-action=remove]::after,.bunting-tools #redo::after{left:auto;right:0;transform:none}
@media(max-width:760px){.bunting-strip-head [data-action]{width:36px;min-width:36px;height:36px}.bunting-faces{left:10px;padding:3px}.bunting-views{margin-bottom:12px}.bunting-faces button{padding:6px;font-size:11px}body[data-feature=bunting] #download-status{left:12px;font-size:10px}}

body[data-feature=bunting] .stage-footer{display:contents!important}
body[data-feature=bunting] .stage-footer > p,
body[data-feature=bunting] .honor-completion:not(:has(button:not([hidden]))){display:none!important}
body[data-feature=bunting] .honor-completion:has(button:not([hidden])){position:absolute;bottom:90px;right:var(--bunting-edge,34px);max-width:360px;z-index:6}

/* Selection actions align with the strip's left edge; history stays right. */
body[data-feature=bunting] .bunting-tools{left:var(--bunting-edge,34px);right:var(--bunting-edge,34px);max-width:none;justify-content:space-between;pointer-events:none}
body[data-feature=bunting] .bunting-tools > *{pointer-events:auto}
html body[data-feature=bunting] .bunting-tools .history.ze-history{margin-left:auto!important}
