/* NuCraft Design Studio — all rules scoped to the shortcode root. */
.ncd-studio{font-family:Poppins,Arial,sans-serif;color:#303030;background:#fff;min-width:0;width:100%;max-width:100%}
.ncd-studio *,.ncd-studio *::before,.ncd-studio *::after{box-sizing:border-box}
.ncd-studio button,.ncd-studio input,.ncd-studio select{font-family:inherit}
.ncd-studio button{cursor:pointer;touch-action:manipulation}
.ncd-studio .ncd-topline{border-top:2px solid #770f0f;display:flex;justify-content:flex-end;padding:9px 0 10px}
.ncd-studio .ncd-topline button{font-size:14px;font-weight:600;color:#770f0f!important;background:#f8f6f6!important;border:1px solid #ded5d5!important;border-radius:5px;padding:9px 13px}
.ncd-studio .ncd-topline button:hover{background:#eee6e6!important}
.ncd-studio .shell{width:100%;max-width:100%;min-width:0;margin:0 auto;padding:12px 0 20px;display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr) minmax(230px,280px);gap:16px;align-items:start}
.ncd-studio .shell > *,.ncd-studio .panel,.ncd-studio .section{min-width:0;max-width:100%}
.ncd-studio .panel{background:#fff;border:1px solid #e5e3e3;border-radius:6px;overflow:hidden;box-shadow:none}
.ncd-studio .head{padding:15px 16px;border-bottom:1px solid #e9e6e6;font-weight:600;color:#770f0f;font-size:17px;line-height:1.4}
.ncd-studio .section{padding:14px 16px;border-bottom:1px solid #eceaea}
.ncd-studio .section h3{font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#770f0f;margin:0 0 10px;font-weight:700}
.ncd-studio select,.ncd-studio input[type="text"],.ncd-studio input[type="file"]{width:100%;max-width:100%;min-width:0;padding:10px;border:1px solid #d7d7d7;border-radius:5px;background:#fff;color:#303030;font-size:14px;line-height:1.4}
.ncd-studio input[type="file"]{display:block;padding:9px 6px;font-size:12px;overflow:hidden;white-space:normal;max-inline-size:100%}
.ncd-studio input[type="file"]::file-selector-button{font-family:inherit;max-width:100%;background:#fff;color:#770f0f;border:1px solid #b8acac;border-radius:4px;padding:7px 8px;margin-right:5px}
.ncd-studio .choice,.ncd-studio button.choice{width:100%;max-width:100%;min-width:0;display:flex;align-items:center;gap:10px;margin:6px 0;padding:9px;background:#fff!important;color:#303030!important;border:1px solid #d5d5d5!important;border-radius:5px;text-align:left;opacity:1!important;text-shadow:none!important;box-shadow:none!important;white-space:normal}
.ncd-studio .choice span{color:inherit!important;overflow-wrap:anywhere}
.ncd-studio .choice img{width:52px;height:48px;flex-shrink:0;object-fit:contain;background:#f5f5f5;border-radius:4px}
.ncd-studio button.choice.active{background:#fff!important;color:#770f0f!important;border:2px solid #770f0f!important;font-weight:700!important}
.ncd-studio button.choice:hover{background:#fff!important;border-color:#770f0f!important;color:#770f0f!important}
.ncd-studio .school-results{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;max-height:225px;overflow-y:auto;overflow-x:hidden;margin-top:9px;min-width:0}
.ncd-studio button.school-item{position:relative;width:100%;min-width:0;min-height:44px;border:1px solid #d8d8d8!important;border-radius:5px;padding:10px 34px 10px 12px;text-align:left;background:#fff!important;color:#303030!important;opacity:1!important;box-shadow:none!important;text-shadow:none!important;white-space:normal;overflow-wrap:anywhere}
.ncd-studio button.school-item.active{background:#fff!important;color:#770f0f!important;border:2px solid #770f0f!important;font-weight:700!important}
.ncd-studio button.school-item.active::after{content:"✓";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#770f0f}
.ncd-studio button.school-item:hover{background:#fff!important;color:#770f0f!important;border-color:#770f0f!important}
.ncd-studio .divider-note{font-size:12px;color:#656565;margin:14px 0 8px}
.ncd-studio .upload-box{margin-top:10px;padding:12px;border:1px solid #dedede;border-radius:5px;background:#fafafa;min-width:0}
/* Actual NuCraft design-library tiles are PREVIEW CARDS, not red action buttons. */
.ncd-studio .catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0;width:100%;max-width:100%;max-height:380px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:2px 4px 2px 1px}
.ncd-studio button.thumb{min-width:0;width:100%;max-width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;padding:9px 6px;background:#fff!important;color:#303030!important;border:1px solid #dedede!important;border-radius:5px;opacity:1!important;box-shadow:none!important;text-shadow:none!important;overflow:hidden;white-space:normal;line-height:1.35;min-height:134px}
.ncd-studio button.thumb:hover,.ncd-studio button.thumb:focus-visible{background:#fff!important;color:#770f0f!important;border-color:#770f0f!important;box-shadow:0 0 0 1px #770f0f inset!important}
.ncd-studio button.thumb img{display:block;width:100%;height:88px;max-width:100%;flex:0 0 88px;object-fit:contain;object-position:center;background:#fff;border:0;margin:0}
.ncd-studio button.thumb span{display:block;width:100%;max-width:100%;min-width:0;flex:0 1 auto;color:inherit!important;font-size:12px!important;font-weight:500;line-height:1.35;text-align:center;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
.ncd-studio .stage{background:#f4f4f4;min-height:530px;padding:16px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;min-width:0}
.ncd-studio .canvas{position:relative;width:min(100%,470px);max-width:100%;aspect-ratio:1/1;touch-action:none;filter:drop-shadow(0 8px 12px #3332)}
.ncd-studio .product-layer{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;pointer-events:none}
.ncd-studio .decal{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);border:2px dashed transparent;touch-action:none;cursor:grab;min-width:35px;max-width:95%;text-align:center;user-select:none;overflow:hidden}
.ncd-studio .decal.active{border-color:#770f0f;background:#770f0f12}
.ncd-studio .decal img{width:100%;max-width:100%;height:auto;display:block;pointer-events:none}
.ncd-studio .decal.text{font-size:24px;font-weight:700;line-height:1.1;color:#fff;text-shadow:none;white-space:normal;overflow-wrap:anywhere}
.ncd-studio .hint{font-size:12px;color:#656565;line-height:1.5;text-align:center;padding:12px 14px}
.ncd-studio .row{display:flex;gap:8px;flex-wrap:wrap}
.ncd-studio .primary,.ncd-studio .secondary{display:inline-block;max-width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere;text-align:center;border-radius:5px;padding:11px 12px;font-weight:600;font-size:14px;line-height:1.4;min-height:44px}
.ncd-studio .primary{background:#770f0f!important;color:#fff!important;border:1px solid #770f0f!important}
.ncd-studio .primary:hover{background:#5b0808!important;color:#fff!important}
.ncd-studio .secondary{background:#f7f7f7!important;color:#770f0f!important;border:1px solid #e3dfdf!important}
.ncd-studio .secondary:hover{background:#f3eeee!important;color:#770f0f!important}
.ncd-studio .full{width:100%}
.ncd-studio .price{font-size:30px;line-height:1.2;font-weight:800;color:#770f0f}
.ncd-studio .meta{font-size:12px;color:#666;line-height:1.5;overflow-wrap:anywhere}
.ncd-studio .swatches{display:flex;gap:8px;flex-wrap:wrap;min-width:0}
.ncd-studio .swatch{width:33px;height:33px;flex:0 0 33px;border-radius:5px;border:2px solid #d4d4d4;min-height:33px;min-width:33px;padding:0}
.ncd-studio .swatch.on{outline:2px solid #770f0f;outline-offset:2px}
.ncd-studio .note{padding:12px;border-radius:5px;background:#faf6f6;font-size:12px;color:#663636;line-height:1.5;overflow-wrap:anywhere}
.ncd-studio .template-link{display:block;margin:12px 0;padding:10px;border:1px solid #d6b9b9;border-radius:5px;color:#770f0f;background:#faf5f5;font-weight:600;font-size:13px;text-decoration:none;overflow-wrap:anywhere}
.ncd-studio .status{font-size:12px;margin-top:10px;color:#770f0f;line-height:1.5;overflow-wrap:anywhere}
.ncd-studio .footer{max-width:100%;padding:0 0 20px;color:#666;font-size:12px}
.ncd-studio #ncdCartButton:disabled{opacity:.65;cursor:wait}
.ncd-studio .ncd-error{color:#a12c35}
.ncd-studio button:focus-visible,.ncd-studio input:focus-visible,.ncd-studio select:focus-visible{outline:2px solid #a46666;outline-offset:2px}
@media  (min-width:801px) and (max-width:1170px){.ncd-studio .shell{grid-template-columns:minmax(240px,.9fr) minmax(0,1.4fr);gap:12px}
.ncd-studio .summary{grid-column:1/-1}
.ncd-studio .stage{min-height:430px;padding:12px}
.ncd-studio .catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:800px){.ncd-studio .shell{grid-template-columns:minmax(0,1fr);gap:12px;padding:10px 0}
.ncd-studio .summary{grid-column:auto}
.ncd-studio .stage{min-height:295px;padding:10px}
.ncd-studio .canvas{width:min(100%,430px)}
.ncd-studio .panel{width:100%}
.ncd-studio .section{padding:14px}
.ncd-studio .catalog{grid-template-columns:repeat(2,minmax(0,1fr));max-height:300px}
.ncd-studio .school-results{max-height:240px}
.ncd-studio .ncd-topline{padding:8px 0}}
@media (max-width:390px){.ncd-studio .head{font-size:15px}
.ncd-studio .section{padding:11px}
.ncd-studio button.thumb{padding:7px 4px;min-height:123px}
.ncd-studio button.thumb img{height:76px;flex-basis:76px}
.ncd-studio .swatch{width:31px;height:31px;flex-basis:31px}}
/* Complete-presets 1.2: white list cards, never burgundy-filled tiles. */
.ncd-studio .school-results{display:grid;grid-template-columns:1fr;gap:8px;overflow-y:auto;overflow-x:hidden;max-height:300px;min-width:0}
.ncd-studio button.school-item,.ncd-studio button.school-item.active,
.ncd-studio button.school-item:hover,.ncd-studio button.school-item:focus{
  background:#fff!important;color:#2e3034!important;display:flex;gap:12px;align-items:center;min-width:0;width:100%;max-width:100%;text-align:left;line-height:1.25;
  border:1px solid #d9d9d9!important;border-radius:5px;padding:9px 12px;box-shadow:none!important;opacity:1!important;text-shadow:none!important;
}
.ncd-studio button.school-item.active{border:2px solid #770f0f!important}
.ncd-studio button.school-item img{height:58px;width:55px;min-width:55px;object-fit:contain;background:#f7f7f7;border-radius:4px}
.ncd-studio button.school-item span{color:#2e3034!important;font-weight:500!important;overflow-wrap:anywhere;min-width:0}
.ncd-studio button.school-item.active span{color:#770f0f!important;font-weight:700!important}
.ncd-studio button.school-item.active::after{content:'✓';color:#770f0f;margin-left:auto;font-size:18px;font-weight:700}
.ncd-studio .ncd-side-control{display:flex;gap:8px;align-items:center;padding:10px 14px;justify-content:center;flex-wrap:wrap}
.ncd-studio .ncd-side-control button{font-size:13px;padding:8px 15px;background:#fff;border:1px solid #dedede;color:#333}
.ncd-studio .ncd-side-control button.active{border:2px solid #770f0f;color:#770f0f;font-weight:700}
.ncd-studio .catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:0;max-width:100%;overflow-y:auto;overflow-x:hidden;max-height:320px}
.ncd-studio .catalog .thumb,.ncd-studio .catalog .thumb:hover{background:#fff!important;color:#303030!important;border:1px solid #dedede!important;min-width:0;max-width:100%;width:100%;height:auto;min-height:105px;padding:8px 5px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;overflow:hidden}
.ncd-studio .catalog .thumb img{max-width:100%;width:72px;height:62px;object-fit:contain;flex-shrink:0}
.ncd-studio .catalog .thumb span{display:block;max-width:100%;color:#303030!important;line-height:1.35;overflow-wrap:anywhere;font-size:11px}
.ncd-studio .panel,.ncd-studio .section,.ncd-studio .summary,.ncd-studio .shell,.ncd-studio .stage{min-width:0;max-width:100%;overflow-wrap:anywhere}
.ncd-studio .section input,.ncd-studio .section select,.ncd-studio .section button.full{max-width:100%;min-width:0}
.ncd-studio .shell{grid-template-columns:minmax(260px,340px) minmax(0,1fr) minmax(260px,300px);align-items:start}
.ncd-studio .stage{min-height:470px;overflow:hidden}
.ncd-studio #canvas{max-width:100%;width:min(100%,470px);touch-action:pan-y}
.ncd-studio .decal{touch-action:none}
@media(max-width:1199px){.ncd-studio .shell{grid-template-columns:minmax(250px,330px) minmax(0,1fr)}.ncd-studio .summary{grid-column:1/-1}}
@media(max-width:740px){.ncd-studio .shell{display:grid;grid-template-columns:minmax(0,1fr);padding:10px 0;gap:12px}.ncd-studio .panel{width:100%;min-width:0}.ncd-studio .summary{grid-column:auto}.ncd-studio .stage{min-height:360px;padding:12px}.ncd-studio #canvas{width:min(100%,410px)}.ncd-studio .head{padding:13px 15px}.ncd-studio .section{padding:14px}.ncd-studio .ncd-topline{margin:0 10px}.ncd-studio .catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.2.1: show all prepared front/back design choices as responsive white cards. */
.ncd-studio .school-results{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;max-height:390px;overflow-y:auto;overflow-x:hidden;padding:2px 3px 2px 1px}
.ncd-studio button.school-item,.ncd-studio button.school-item.active,.ncd-studio button.school-item:hover{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;min-width:0!important;max-width:100%!important;min-height:135px!important;width:100%!important;
  padding:8px 5px!important;background:#fff!important;color:#303030!important;border-radius:5px!important;text-align:center!important;
  border:1px solid #dadada!important;box-shadow:none!important;white-space:normal!important
}
.ncd-studio button.school-item.active{border:2px solid #770f0f!important;color:#770f0f!important}
.ncd-studio button.school-item img{width:100%!important;max-width:100%!important;min-width:0!important;height:83px!important;object-fit:contain!important;background:#fff!important;margin:0!important}
.ncd-studio button.school-item span{display:block!important;max-width:100%!important;min-width:0!important;color:#303030!important;line-height:1.3!important;overflow-wrap:anywhere;font-size:12px!important}
.ncd-studio button.school-item span small{display:block;color:#666;font-size:10px;font-weight:400;margin-top:2px}
.ncd-studio button.school-item.active span{color:#770f0f!important}
.ncd-studio button.school-item.active::after{content:'✓';right:6px;top:4px;position:absolute;transform:none;font-size:12px;color:#770f0f;background:white;border-radius:50%;width:17px;height:17px;text-align:center;line-height:17px}
@media(max-width:360px){.ncd-studio button.school-item{min-height:115px!important}.ncd-studio button.school-item img{height:65px!important}}

/* v1.2.2 two-sided banner review */
.ncd-studio .ncd-step-status{padding:11px 16px;text-align:center;background:#fff;border-bottom:1px solid #eceaea;font-weight:600;font-size:13px;color:#770f0f}
.ncd-studio .ncd-side-upload{padding:14px 17px;background:#fff;border-bottom:1px solid #eceaea;display:grid;grid-template-columns:1fr;gap:6px;min-width:0}
.ncd-studio .ncd-side-upload strong{color:#770f0f;font-size:14px}
.ncd-studio .ncd-side-upload label{font-weight:600;font-size:12px;color:#333;margin-top:5px}
.ncd-studio .ncd-side-upload input[type="file"]{display:block;width:100%;min-width:0;max-width:100%;font-size:12px;padding:7px;background:#fff;color:#333;border:1px solid #dedede;border-radius:4px}
.ncd-studio .ncd-side-upload .template-link{margin:7px 0 0}
.ncd-studio .ncd-side-confirm{padding:15px;display:grid;gap:10px;border-top:1px solid #eee}
.ncd-studio .ncd-side-confirm button:disabled,.ncd-studio #ncdCartButton:disabled{opacity:.45!important;cursor:not-allowed!important}
.ncd-studio .ncd-side-confirm .meta{margin:0;text-align:center}
.ncd-studio #sideFront.active,.ncd-studio #sideBack.active{border:2px solid #770f0f!important;color:#770f0f!important;background:#fff!important}
@media(max-width:740px){.ncd-studio .ncd-side-upload{padding:12px}.ncd-studio .ncd-side-confirm{padding:12px}}

/* 1.2.3: text controls + LED-lit acrylic preview; no offset/black drop shadow. */
.ncd-studio .ncd-text-controls{display:grid;gap:7px;min-width:0;margin:10px 0}
.ncd-studio .ncd-text-controls label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:600;color:#770f0f}
.ncd-studio .ncd-text-controls input[type=range]{width:100%;max-width:100%;min-width:0;accent-color:#770f0f}
.ncd-studio .ncd-text-controls output{font-variant-numeric:tabular-nums;color:#303030}
.ncd-studio .ncd-text-controls textarea{width:100%;max-width:100%;min-width:0;min-height:58px;padding:9px;border:1px solid #d7d7d7;border-radius:5px;font:inherit;font-size:14px;color:#303030;background:#fff}
.ncd-studio #edit #selectedTextColorGroup{display:block}
.ncd-studio .decal.text{white-space:pre;overflow-wrap:normal;word-break:normal;line-height:1.08;font-weight:700;text-shadow:none!important;}
.ncd-studio .decal.text.ncd-illuminated{color:#fff!important;text-shadow:0 0 2px #fff,0 0 5px #fff,0 0 9px var(--ncd-glow-color,#76baff),0 0 18px var(--ncd-glow-color,#76baff),0 0 27px var(--ncd-glow-color,#76baff)!important;}
.ncd-studio .decal.text:not(.ncd-illuminated){text-shadow:none!important}
@media(max-width:740px){.ncd-studio .ncd-text-controls{gap:8px}.ncd-studio .ncd-text-controls label{font-size:13px}}

.ncd-studio #layerPicker{margin:7px 0 10px;max-width:100%;min-width:0}

/* v1.2.4 — one active-side banner upload and post-approval editing lock */
.ncd-studio .ncd-hidden-upload{display:none!important}
.ncd-studio #uploadActiveSideButton{display:block;min-height:46px;width:100%;margin:5px 0 0;background:#fff!important;border:2px solid #770f0f!important;color:#770f0f!important;font-weight:700}
.ncd-studio #uploadActiveSideButton:hover{background:#faf6f6!important}
.ncd-studio .ncd-locked-notice{padding:12px 15px;margin:0;background:#fafafa;color:#633737;font-size:13px;line-height:1.5;border-bottom:1px solid #e5e0e0}
.ncd-studio.ncd-front-locked .ncd-front-only{display:none!important}
.ncd-studio.ncd-front-locked .ncd-layer-locked{pointer-events:none!important;cursor:default;border-color:transparent!important}
.ncd-studio .ncd-layer-locked{border-color:transparent!important}
.ncd-studio #sideFront:disabled,.ncd-studio #sideBack:disabled{opacity:.58;cursor:not-allowed}
.ncd-studio #sideFront:disabled:hover{background:#fff!important}
.ncd-studio.ncd-front-locked #textSurface option:disabled,.ncd-studio.ncd-front-locked #assetSurface option:disabled{color:#aaa}

/* v1.2.5: banners are full images only; acrylic artwork is white and illuminated. */
.ncd-studio .decal.ncd-illuminated-image{overflow:visible!important;background:transparent!important;filter:none!important}
.ncd-studio .decal.ncd-illuminated-image img{width:100%;height:auto;display:block;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px var(--ncd-glow-color,#76baff)) drop-shadow(0 0 11px var(--ncd-glow-color,#76baff))!important}
.ncd-studio .decal.ncd-illuminated-image.active{outline:2px dashed #770f0f;outline-offset:5px;border-color:transparent!important}
.ncd-studio .decal.text.ncd-illuminated{color:#fff!important;text-shadow:0 0 2px #fff,0 0 5px #fff,0 0 9px var(--ncd-glow-color,#76baff),0 0 18px var(--ncd-glow-color,#76baff),0 0 27px var(--ncd-glow-color,#76baff)!important}
.ncd-studio.ncd-front-locked #ncdTextSection,.ncd-studio.ncd-front-locked #ncdGraphicSection,.ncd-studio.ncd-front-locked #ncdObjectSection{display:none!important}
.ncd-studio #ncdGraphicSection .catalog .thumb{background:#fff!important;color:#303030!important}


/* v1.2.6: dedicated compact acrylic layer stack below the preview */
.ncd-studio .ncd-layer-panel{padding:13px 14px 15px;border-top:1px solid #e9e6e6;background:#fff;min-width:0}
.ncd-studio .ncd-layers-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px;color:#770f0f;font-size:14px}
.ncd-studio .ncd-layer-count{font-size:11px;background:#faf4f4;border:1px solid #eadada;border-radius:16px;padding:4px 9px;font-weight:600;color:#770f0f;white-space:nowrap}
.ncd-studio .ncd-layer-help{margin:4px 0 10px}
.ncd-studio .ncd-layer-list{display:grid;gap:6px;max-height:250px;overflow-x:hidden;overflow-y:auto;min-width:0;overscroll-behavior:contain}
.ncd-studio .ncd-layer-row{display:flex;align-items:stretch;min-width:0;width:100%;border:1px solid #dfdfdf;border-radius:6px;background:#fff;overflow:hidden}
.ncd-studio .ncd-layer-row.is-selected{border:2px solid #770f0f;background:#fff}
.ncd-studio .ncd-layer-row.is-hidden{opacity:.68}
.ncd-studio .ncd-layer-select{flex:1 1 auto;min-width:0;border:0!important;background:#fff!important;color:#303030!important;display:flex;align-items:center;gap:9px;text-align:left;padding:8px!important;min-height:48px;font:inherit;box-shadow:none!important;text-shadow:none!important}
.ncd-studio .ncd-layer-select[aria-pressed="true"]{color:#770f0f!important}
.ncd-studio .ncd-layer-icon{width:27px;height:27px;min-width:27px;background:#f5eded;color:#770f0f;display:grid;place-items:center;border-radius:4px;font-weight:700}
.ncd-studio .ncd-layer-label{flex:1 1 auto;min-width:0;display:grid;gap:2px}
.ncd-studio .ncd-layer-label strong{display:block;font-size:12px;font-weight:650;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ncd-studio .ncd-layer-label small{display:block;font-size:10px;color:#6a6a6a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ncd-studio .ncd-layer-actions{display:flex;align-items:center;gap:2px;padding:5px 6px 5px 2px;flex-shrink:0}
.ncd-studio .ncd-layer-actions button{display:grid;place-items:center;width:30px;min-width:30px;height:34px;min-height:34px;padding:0!important;border:1px solid transparent!important;background:#fff!important;color:#555!important;font-size:17px;line-height:1;border-radius:4px}
.ncd-studio .ncd-layer-actions button:hover:not(:disabled){border-color:#d5c1c1!important;color:#770f0f!important;background:#faf6f6!important}
.ncd-studio .ncd-layer-actions button:disabled{opacity:.3;cursor:default}
.ncd-studio .ncd-layer-actions .ncd-layer-remove:hover:not(:disabled){color:#ba2030!important}
.ncd-studio .ncd-layer-empty{margin:8px 0 0;background:#fafafa;padding:12px;border-radius:5px}
.ncd-studio #layerDisplayName{margin:7px 0 11px;width:100%;max-width:100%}
@media(max-width:740px){.ncd-studio .ncd-layer-panel{padding:12px}.ncd-studio .ncd-layer-actions button{width:33px;min-width:33px;height:37px;min-height:37px}.ncd-studio .ncd-layer-list{max-height:260px}}
@media(max-width:360px){.ncd-studio .ncd-layer-select{gap:5px;padding:5px!important}.ncd-studio .ncd-layer-actions{gap:0;padding:3px}.ncd-studio .ncd-layer-actions button{width:29px;min-width:29px;height:34px;min-height:34px}.ncd-studio .ncd-layer-icon{width:24px;min-width:24px;height:24px}}

/* v1.2.7: single unified workspace for ALL acrylic text and graphics. */
.ncd-studio .ncd-unified-editor{padding:14px 13px;min-width:0}
.ncd-studio .ncd-workspace-intro{margin:3px 0 12px}
.ncd-studio .ncd-composer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:8px 0 12px}
.ncd-studio button.ncd-composer-tab{min-width:0;min-height:43px;padding:6px 5px;background:#fff!important;border:1px solid #ddd!important;color:#444!important;font-size:11px!important;font-weight:600;line-height:1.3;border-radius:5px;text-wrap:wrap}
.ncd-studio button.ncd-composer-tab.active{color:#770f0f!important;border:2px solid #770f0f!important;background:#fff!important}
.ncd-studio .ncd-unified-editor .ncd-composer-pane{padding:11px 0 14px;border:0;border-bottom:1px solid #e7e7e7}
.ncd-studio .ncd-unified-editor .ncd-composer-pane h3{font-size:12px}
.ncd-studio .ncd-unified-editor .ncd-layer-panel{padding:15px 0 11px;border-top:0}
.ncd-studio .ncd-unified-editor #ncdObjectSection{padding:13px 0 0;border-bottom:0;border-top:1px solid #e6e6e6}
.ncd-studio .ncd-font-help{margin:0 0 4px}
.ncd-studio #newTextFontFamily,.ncd-studio #selectedTextFontFamily{display:block;width:100%;padding:10px;border:1px solid #d7d7d7;border-radius:5px;font-size:14px;color:#303030;background:#fff}
.ncd-studio .ncd-unified-editor .ncd-layer-select{min-width:0;flex:1 1 45%;padding:6px 4px!important;gap:5px}
.ncd-studio .ncd-unified-editor .ncd-layer-icon{width:22px;min-width:22px;height:22px}
.ncd-studio .ncd-unified-editor .ncd-layer-actions{flex:0 0 auto;gap:0;padding:3px}
.ncd-studio .ncd-unified-editor .ncd-layer-actions button{width:26px;min-width:26px;height:32px;min-height:32px;font-size:15px}
.ncd-studio .ncd-unified-editor .catalog{max-height:230px}
@media(max-width:740px){.ncd-studio .ncd-unified-editor{padding:14px}.ncd-studio button.ncd-composer-tab{font-size:12px!important;min-height:47px}}
@media(max-width:360px){.ncd-studio .ncd-unified-editor .ncd-layer-actions button{width:28px;min-width:28px}}
