/* Brick3DP Image Studio 2.1.1. Scoped to shortcode output, including legacy layouts. */
.b3dp-studio {
  --b3dp-ui-bg:#fff;--b3dp-ui-panel:#fafbfe;--b3dp-ui-border:#d5dce9;
  --b3dp-ui-text:#111827;--b3dp-ui-muted:#566176;--b3dp-ui-accent:#254fdb;
  --b3dp-ui-accent-hover:#193baf;--b3dp-ui-tint:#edf2ff;
  --b3dp-viewport-bg:#edf2ff;--b3dp-grid-color:#c6d1ec;--b3dp-model-color:#a6aeba;
  box-sizing:border-box;width:100%;max-width:1640px;margin:0 auto;
  border:1px solid var(--b3dp-ui-border);border-radius:4px;overflow:hidden;
  background:var(--b3dp-ui-bg);color:var(--b3dp-ui-text);color-scheme:light;
  font-family:var(--theme-font-p_font-family,"Work Sans",Arial,sans-serif);
  font-size:15px;line-height:1.5;text-align:left;
}
.b3dp-studio *,.b3dp-studio *::before,.b3dp-studio *::after{box-sizing:border-box}
.b3dp-studio [hidden]{display:none!important}
.b3dp-studio button,.b3dp-studio input,.b3dp-studio a{font-family:inherit}
.b3dp-studio button,.b3dp-studio a{transition:background .15s,color .15s,border-color .15s,transform .15s}
.b3dp-studio button:not(:disabled):hover,.b3dp-studio .b3dp-quote-button:hover{transform:translateY(-1px)}
.b3dp-studio button:active,.b3dp-studio .b3dp-quote-button:active{transform:translateY(0)}
.b3dp-studio :is(button,a,input):focus-visible{outline:3px solid var(--b3dp-ui-accent);outline-offset:3px}
.b3dp-studio .b3dp-studio__masthead{display:flex;align-items:center;gap:32px;min-height:112px;padding:24px;border-bottom:1px solid var(--b3dp-ui-border);background:var(--b3dp-ui-bg)}
.b3dp-studio .b3dp-studio__brand{flex:none}
.b3dp-studio .b3dp-studio__eyebrow{display:block;margin:0 0 8px;color:var(--b3dp-ui-muted);font-size:12px;font-weight:500;letter-spacing:.065em;text-transform:uppercase}
.b3dp-studio .b3dp-studio__masthead h2{margin:0;padding:0;color:var(--b3dp-ui-text);font-family:var(--theme-font-h2_font-family,Epilogue,Arial,sans-serif);font-size:clamp(28px,3vw,40px);font-weight:600;line-height:1.1;letter-spacing:-.045em}
.b3dp-studio .b3dp-studio__masthead>p{max-width:440px;margin:0;color:var(--b3dp-ui-muted);font-size:15px;line-height:1.6}
.b3dp-studio .b3dp-studio__mode{display:flex;align-items:center;gap:8px;margin-left:auto;padding:8px 12px;border:1px solid var(--b3dp-ui-border);font-size:12px;white-space:nowrap}
.b3dp-studio .b3dp-studio__mode::before,.b3dp-studio .b3dp-viewer__dot{content:"";display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--b3dp-ui-accent)}
.b3dp-studio.b3dp-studio__layout,.b3dp-studio .b3dp-studio__layout{display:grid!important;grid-template-columns:minmax(280px,340px) minmax(0,1fr)!important;align-items:stretch!important;gap:0!important;width:100%;min-width:0}
.b3dp-studio .b3dp-studio__intro{grid-column:1/-1;padding:24px;margin:0;text-align:left}
.b3dp-studio .b3dp-studio__sidebar{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;min-width:0;max-width:none!important;margin:0!important;padding:26px 24px!important;border:0!important;border-right:1px solid var(--b3dp-ui-border)!important;background:var(--b3dp-ui-panel);align-self:stretch;position:static}
.b3dp-studio .b3dp-studio__composer-intro{margin:0 0 24px}
.b3dp-studio .b3dp-studio__composer-intro h3{margin:0;color:var(--b3dp-ui-text);font-family:var(--theme-font-h3_font-family,Epilogue,Arial,sans-serif);font-size:25px;font-weight:600;line-height:1.15;letter-spacing:-.035em}
.b3dp-studio .b3dp-studio__composer-intro p{margin:10px 0 0;color:var(--b3dp-ui-muted);font-size:14px;line-height:1.6}
.b3dp-studio .stlgen{width:100%;max-width:none;margin:0!important;padding:0!important;border:0;background:transparent;box-shadow:none;color:var(--b3dp-ui-text)}
.b3dp-studio .stlgen__form{display:flex;flex-direction:column;gap:12px;margin:0}
.b3dp-studio .stlgen__drop{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:178px;margin:0;padding:24px 16px;border:1px dashed #a9b8dc;border-radius:2px;background:var(--b3dp-ui-bg);color:var(--b3dp-ui-accent);text-align:center;cursor:pointer;transition:background .15s,border-color .15s}
.b3dp-studio .stlgen__drop:hover,.b3dp-studio .stlgen__drop:focus-within,.b3dp-studio .b3dp-drop--dragging{border-color:var(--b3dp-ui-accent);background:var(--b3dp-ui-tint)}
.b3dp-studio .stlgen__drop:focus-within{outline:3px solid var(--b3dp-ui-accent);outline-offset:3px}
.b3dp-studio .stlgen__upload-icon{display:block;margin-bottom:6px;color:var(--b3dp-ui-accent)}
.b3dp-studio .stlgen__drop-title{font-size:15px;font-weight:600;color:var(--b3dp-ui-text)}
.b3dp-studio .stlgen__drop-hint{font-size:13px;line-height:1.4;color:var(--b3dp-ui-muted)}
.b3dp-studio .stlgen__drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;margin:0;max-width:none;padding:0;opacity:0;cursor:pointer;z-index:2}
.b3dp-studio .stlgen__formats{margin:0 0 8px;color:var(--b3dp-ui-muted);font-size:12px;line-height:1.5}
.b3dp-studio .stlgen__preview:not([hidden]){display:block;order:-1;width:100%;height:210px;max-width:100%;max-height:240px;object-fit:contain;margin:0 0 2px;padding:8px;border:1px solid var(--b3dp-ui-border);border-radius:2px;background:var(--b3dp-ui-bg)}
.b3dp-studio.b3dp-workspace--active .stlgen__drop{min-height:48px;flex-direction:row;gap:8px;padding:12px;border-style:solid}
.b3dp-studio.b3dp-workspace--active .stlgen__upload-icon{width:18px;height:18px;margin:0}
.b3dp-studio.b3dp-workspace--active .stlgen__drop-hint{display:none}
.b3dp-studio .stlgen__button,.b3dp-studio .stlgen__download,.b3dp-studio .b3dp-quote-button{display:flex;justify-content:center;align-items:center;width:100%;min-height:48px;margin:0;padding:12px 16px;border:1px solid var(--b3dp-ui-accent);border-radius:2px;box-shadow:none;background:var(--b3dp-ui-accent);color:#fff!important;font-size:14px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none!important;text-transform:none;letter-spacing:0;cursor:pointer}
.b3dp-studio .stlgen__button:not(:disabled):hover,.b3dp-studio .b3dp-quote-button:hover{background:var(--b3dp-ui-accent-hover);border-color:var(--b3dp-ui-accent-hover)}
.b3dp-studio .stlgen__button:disabled{background:#e2e7f2;color:#64718a!important;border-color:#d5dce9;cursor:not-allowed;transform:none}
.b3dp-studio .stlgen__state{margin:24px 0 0;padding-top:20px;border-top:1px solid var(--b3dp-ui-border)}
.b3dp-studio .stlgen__state-label{display:block;margin:0 0 6px;color:var(--b3dp-ui-muted);font-size:12px;font-weight:500;letter-spacing:.065em;text-transform:uppercase}
.b3dp-studio .stlgen__status{min-height:21px;margin:0;color:var(--b3dp-ui-text);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.b3dp-studio .stlgen__status--error{color:#b42318}
.b3dp-studio .stlgen__download{margin-top:20px;background:var(--b3dp-ui-bg);color:var(--b3dp-ui-accent)!important}
.b3dp-studio .stlgen__download:hover{background:var(--b3dp-ui-tint)}
.b3dp-studio .stlgen__note{margin:12px 0 0;color:var(--b3dp-ui-muted);font-size:12px;line-height:1.6}
.b3dp-studio .b3dp-quote-button{margin-top:12px}
.b3dp-studio .b3dp-studio__output{margin-top:auto;padding-top:32px;color:var(--b3dp-ui-muted);font-size:12px;line-height:1.6}
.b3dp-studio .b3dp-studio__output>span{display:block;margin-bottom:5px}
.b3dp-studio .b3dp-studio__output strong{display:block;color:var(--b3dp-ui-text);font-size:14px;font-weight:600}
.b3dp-studio .b3dp-studio__output p{margin:5px 0 0;font-size:12px}
.b3dp-studio .b3dp-studio__viewer{display:flex!important;width:100%!important;min-width:0;margin:0!important;padding:0!important}
.b3dp-studio .b3dp-viewer{display:flex;flex-direction:column;flex:1;min-width:0;margin:0!important;border:0;border-radius:0;background:var(--b3dp-ui-bg);color:var(--b3dp-ui-text)}
.b3dp-studio .b3dp-viewer__header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:8px 20px;border-bottom:1px solid var(--b3dp-ui-border)}
.b3dp-studio .b3dp-viewer__header strong{display:flex;align-items:center;gap:9px;color:var(--b3dp-ui-text);font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.b3dp-studio .b3dp-viewer__tools{display:flex;align-items:center;flex-wrap:wrap;gap:2px}
.b3dp-studio .b3dp-viewer__tools button{min-height:40px;margin:0;padding:8px 10px;border:0;border-radius:2px;background:transparent;color:var(--b3dp-ui-text);font-size:12px;font-weight:400;line-height:1.5;letter-spacing:0;text-transform:none;box-shadow:none;white-space:nowrap;cursor:pointer}
.b3dp-studio .b3dp-viewer__tools button:not(:disabled):hover{background:var(--b3dp-ui-tint)}
.b3dp-studio .b3dp-viewer__tools button:disabled{opacity:.45;cursor:not-allowed}
.b3dp-studio .b3dp-viewer__viewport{flex:1 0 auto;min-height:440px;height:var(--b3dp-viewer-height,640px);background-color:var(--b3dp-viewport-bg);background-image:linear-gradient(#254fdb08 1px,transparent 1px),linear-gradient(90deg,#254fdb08 1px,transparent 1px);background-size:48px 48px}
.b3dp-studio .b3dp-viewer__placeholder{display:flex;flex-direction:column;gap:10px;color:var(--b3dp-ui-muted);padding:28px;text-align:center}
.b3dp-studio .b3dp-viewer__placeholder svg{margin-bottom:12px;color:var(--b3dp-ui-accent)}
.b3dp-studio .b3dp-viewer__placeholder strong{font-size:21px;font-weight:600;color:var(--b3dp-ui-text);letter-spacing:-.025em}
.b3dp-studio .b3dp-viewer__placeholder span{font-size:14px}
.b3dp-studio .b3dp-viewer__footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;min-height:48px;padding:12px 20px;border-top:1px solid var(--b3dp-ui-border)}
.b3dp-studio .b3dp-viewer__help,.b3dp-studio .b3dp-viewer__status{margin:0;padding:0;color:var(--b3dp-ui-muted);font-size:12px;line-height:1.5}
.b3dp-studio .b3dp-viewer__status:empty{display:none}
.b3dp-studio .b3dp-viewer__status--error{color:#b42318}
.b3dp-studio .b3dp-viewer__viewport--processing{background-color:var(--b3dp-ui-tint);background-image:none}
.b3dp-studio .b3dp-viewer__viewport--processing::before{background-image:linear-gradient(#254fdb0b 1px,transparent 1px),linear-gradient(90deg,#254fdb0b 1px,transparent 1px)}
.b3dp-studio .b3dp-viewer__viewport--processing::after{display:none}
.b3dp-studio .b3dp-viewer__processing{background:none;color:var(--b3dp-ui-text)}
.b3dp-studio .b3dp-viewer__processing-meta,.b3dp-studio .b3dp-viewer__processing-footer{background:#ffffffed;border:1px solid var(--b3dp-ui-border);border-radius:2px;backdrop-filter:none;color:var(--b3dp-ui-text)}
.b3dp-studio .b3dp-viewer__processing-bullet{background:var(--b3dp-ui-accent);box-shadow:none}
.b3dp-studio .b3dp-viewer__processing-elapsed,.b3dp-studio .b3dp-viewer__processing-hint{color:var(--b3dp-ui-muted);font-size:12px}
.b3dp-studio .b3dp-viewer__processing-footer strong{color:var(--b3dp-ui-text)}
.b3dp-studio.b3dp-workspace--generating .stlgen__drop{opacity:.8}
@media(max-width:1100px){
 .b3dp-studio.b3dp-studio__layout,.b3dp-studio .b3dp-studio__layout{grid-template-columns:280px minmax(0,1fr)!important}
 .b3dp-studio .b3dp-studio__masthead{gap:24px;padding:24px}
 .b3dp-studio .b3dp-studio__sidebar{padding:24px 20px!important}
 .b3dp-studio .b3dp-viewer__header{padding:8px 12px;align-items:flex-start;flex-direction:column;gap:4px}
 .b3dp-studio .b3dp-viewer__header strong{padding:6px 4px 0}
}
@media(max-width:700px){
 .b3dp-studio .b3dp-studio__masthead{position:relative;display:block;padding:24px 20px}
 .b3dp-studio .b3dp-studio__brand{padding-right:92px}
 .b3dp-studio .b3dp-studio__masthead>p{margin-top:16px;font-size:14px;max-width:48ch}
 .b3dp-studio .b3dp-studio__mode{position:absolute;top:24px;right:16px;padding:6px 8px;font-size:11px}
 .b3dp-studio .b3dp-studio__eyebrow{font-size:11px}
 .b3dp-studio.b3dp-studio__layout,.b3dp-studio .b3dp-studio__layout{display:flex!important;flex-direction:column!important}
 .b3dp-studio .b3dp-studio__sidebar{padding:24px 20px!important;border-right:0!important;border-bottom:1px solid var(--b3dp-ui-border)!important}
 .b3dp-studio .b3dp-studio__composer-intro{margin-bottom:20px}
 .b3dp-studio .stlgen__drop{min-height:150px}
 .b3dp-studio .stlgen__preview:not([hidden]){height:180px;max-height:180px}
 .b3dp-studio .b3dp-studio__output{padding-top:24px}
 .b3dp-studio .b3dp-viewer__header{padding:12px 16px}
 .b3dp-studio .b3dp-viewer__tools{width:100%;gap:4px}
 .b3dp-studio .b3dp-viewer__tools button{min-height:44px;padding-inline:12px}
 .b3dp-studio .b3dp-viewer__viewport{flex:none;height:460px;min-height:360px;max-height:70vh}
 .b3dp-studio .b3dp-viewer__footer{padding:12px 16px}
}
@media(prefers-reduced-motion:reduce){.b3dp-studio *{transition:none!important}.b3dp-studio button:hover,.b3dp-studio .b3dp-quote-button:hover{transform:none}}

/* Namespaced colors and stronger combined-shortcode selectors isolate old
   WordPress Customizer CSS for the former dark studio. */
.b3dp-studio.b3dp-studio--combined{background:var(--b3dp-ui-bg)!important;color:var(--b3dp-ui-text)!important}
.b3dp-studio.b3dp-studio--combined .b3dp-viewer__viewport{background-color:var(--b3dp-viewport-bg)!important;background-image:linear-gradient(#254fdb08 1px,transparent 1px),linear-gradient(90deg,#254fdb08 1px,transparent 1px)!important;background-size:48px 48px!important}
.b3dp-studio.b3dp-studio--combined .b3dp-viewer__viewport--processing{background:var(--b3dp-ui-tint)!important}
.b3dp-studio-host{overflow:visible!important}
.b3dp-studio.b3dp-studio--viewport{width:var(--b3dp-ui-viewport-width,100%)!important;max-width:none!important;margin-block:0!important;border-radius:0}
@media(min-width:701px){
 .b3dp-studio.b3dp-studio--viewport{display:flex;flex-direction:column;height:calc(100svh - var(--b3dp-ui-top-offset,96px));min-height:500px}
 .b3dp-studio--viewport .b3dp-studio__masthead{flex:none;min-height:96px;padding-block:20px}
 .b3dp-studio--viewport .b3dp-studio__layout{flex:1;min-height:0;overflow:hidden}
 .b3dp-studio--viewport .b3dp-studio__sidebar{min-height:0;overflow-y:auto;overscroll-behavior:contain}
 .b3dp-studio--viewport .b3dp-studio__viewer{min-height:0;overflow:hidden}
 .b3dp-studio--viewport .b3dp-viewer{min-height:0;height:100%}
 .b3dp-studio--viewport .b3dp-viewer__header,.b3dp-studio--viewport .b3dp-viewer__footer{flex:none}
 .b3dp-studio--viewport .b3dp-viewer__viewport{flex:1 1 auto;height:0;min-height:0}
}
@media(max-width:700px){.b3dp-studio.b3dp-studio--viewport{height:auto;min-height:0}}

/* 2.2.0: photo tips, small-image warning and "try a different version". */
.b3dp-studio .stlgen__tips{margin:0;color:var(--b3dp-ui-muted);font-size:12px;line-height:1.55}
.b3dp-studio .stlgen__tips strong{display:block;margin:0 0 4px;color:var(--b3dp-ui-text);font-size:12px;font-weight:600}
.b3dp-studio .stlgen__tips ul{margin:0;padding:0 0 0 18px;list-style:disc}
.b3dp-studio .stlgen__tips li{margin:0;padding:0}
.b3dp-studio.b3dp-workspace--active .stlgen__tips{display:none}
.b3dp-studio .stlgen__warning{margin:0;padding:10px 12px;border:1px solid #e3c25a;border-radius:2px;background:#fff8e1;color:#5c4400;font-size:12px;line-height:1.5}
.b3dp-studio .stlgen__button.stlgen__again{margin-top:12px;background:var(--b3dp-ui-bg);color:var(--b3dp-ui-accent)!important}
.b3dp-studio .stlgen__button.stlgen__again:hover{background:var(--b3dp-ui-tint)}
.b3dp-studio .stlgen__again-hint{margin:8px 0 0;color:var(--b3dp-ui-muted);font-size:12px;line-height:1.5}

/* 2.5.0: upload locked while a model is being made. */
.b3dp-studio .stlgen--locked .stlgen__drop,.b3dp-studio .stlgen--locked .stlgen__drop input[type=file]{cursor:not-allowed}
.b3dp-studio .stlgen--locked .stlgen__drop{opacity:.5}
.b3dp-studio .stlgen__lock-hint{margin:0;color:var(--b3dp-ui-muted);font-size:12px;line-height:1.5}
