@font-face{font-family:"NB-arimo";font-style:normal;font-weight:400;font-display:block;src:url("/nameplate-fonts/arimo-da93511d53c6.woff2") format("woff2")}
@font-face{font-family:"NB-gelasio";font-style:normal;font-weight:400;font-display:block;src:url("/nameplate-fonts/gelasio-68e2b704c562.woff2") format("woff2")}
.nb-demo{--nb-ink:#263c30;--nb-accent:#df6338;--nb-border:#dedfd6;max-width:1440px;margin:auto;padding:42px 32px 30px;color:var(--nb-ink);font:15px/1.6 Arial,sans-serif}.nb-demo *{box-sizing:border-box}.nb-demo [hidden]{display:none!important}.nb-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px}.nb-demo h1{font-size:clamp(26px,3vw,38px);line-height:1.2;letter-spacing:-1.3px;margin:7px 0 12px}.nb-demo h2{font-size:25px;line-height:1.3;letter-spacing:-.6px;margin:8px 0 15px}.nb-demo p{margin:0 0 16px}.nb-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;margin-bottom:7px!important}.nb-demo-label{font-size:11px;border:1px solid var(--nb-border);padding:7px 12px;border-radius:30px;white-space:nowrap;color:#6b7369}.nb-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:48px;align-items:start}.nb-designer{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px}.nb-tools{display:flex;flex-direction:column;gap:10px;padding-top:48px}.nb-demo button,.nb-demo select,.nb-demo input{font:inherit}.nb-demo button{cursor:pointer}.nb-demo button:focus-visible,.nb-demo select:focus-visible,.nb-demo input:focus-visible,.nb-demo summary:focus-visible{outline:3px solid #df6338;outline-offset:4px}.nb-tools button{border:1px solid var(--nb-border);background:#fafaf6;border-radius:8px;color:var(--nb-ink);min-height:110px;font-size:10px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;padding:10px 3px}.nb-tools button:hover,.nb-tools button[aria-expanded=true]{background:#e9eee5;border-color:#526848}.nb-tool-icon{font-size:28px;line-height:1.3;font-family:Georgia,serif}.nb-tool-plus{font-size:16px;color:#778370}.nb-workspace{position:relative;border:1px solid var(--nb-border);border-radius:12px;background:#f4f3ed;min-width:0;overflow:clip}.nb-canvas-top,.nb-canvas-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#73796e;padding:17px 20px}.nb-canvas-top{border-bottom:1px solid #e7e6de}.nb-canvas-top>span{color:var(--nb-ink);font-weight:700}.nb-canvas-top button{padding:0;border:0;background:none;color:#73796e;font-size:11px}.nb-stage{min-height:490px;display:flex;align-items:center;justify-content:center;padding:55px 55px 45px;background:radial-gradient(ellipse at 45% 40%,#fdfcf8,#efeee7)}#nb-board{display:block;width:100%;max-width:410px;height:auto;overflow:visible;box-shadow:8px 13px 20px #363d302a,1px 2px 2px #3b403b38;touch-action:none}#nb-artwork>*{cursor:grab;outline:none}#nb-artwork>*:focus-visible{filter:drop-shadow(0 0 3px #df6338)}.nb-canvas-bottom{font-size:10px;padding-top:4px;flex-wrap:wrap}.nb-panel{position:absolute;left:12px;top:55px;width:min(330px,calc(100% - 24px));background:#fff;border:1px solid var(--nb-border);border-radius:10px;box-shadow:0 15px 45px #243b3025;padding:23px;z-index:3}.nb-panel-heading{display:flex;align-items:start;justify-content:space-between;gap:10px}.nb-panel-heading h2{font-size:19px;margin:0 0 16px}.nb-panel-heading button{background:none;border:0;font-size:25px;line-height:1;color:#6b7369}.nb-demo label,.nb-demo legend{display:block;font-size:12px;font-weight:700;margin:12px 0 7px}.nb-demo input:not([type=range]),.nb-demo select{width:100%;padding:12px 10px;background:white;border:1px solid #d8dbd1;border-radius:5px;color:#263c30;font-size:13px;min-height:44px}.nb-demo fieldset{padding:0;border:0;margin:0 0 18px;min-width:0}.nb-colors{display:flex;gap:10px}.nb-colors button{width:29px;height:29px;border-radius:50%;background:var(--swatch);border:1px solid #c8c9c0}.nb-colors button[aria-pressed=true]{outline:2px solid #536b44;outline-offset:3px}.nb-primary{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:6px;padding:15px 18px;color:white;background:var(--nb-accent);font-size:13px!important;font-weight:700!important}.nb-primary:hover{background:#c5502b}.nb-demo .nb-small{font-size:11px;color:#7b8077;line-height:1.6;margin:12px 0 0}.nb-symbols{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.nb-symbols button{font-size:33px;background:#f6f6f0;color:#263c30;border:1px solid var(--nb-border);border-radius:5px;min-height:65px}.nb-panel>p{font-size:12px;color:#73796e}.nb-designs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.nb-designs button{padding:4px;background:#fff;border:1px solid var(--nb-border);border-radius:5px;font-size:10px;color:#263c30}.nb-designs button[aria-pressed=true]{border:2px solid var(--nb-accent);padding:3px}.nb-mini{height:85px;background:#fff;border:1px solid #e6e6df;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:6px}.nb-mini b{font-size:31px;line-height:1.3}.nb-mini small{font-size:7px}.nb-mini-modern{align-items:end;padding:8px}.nb-mini-classic{font-family:Georgia,serif}.nb-mini-welcome b{font-size:24px}.nb-selected{border-top:1px solid var(--nb-border);padding:10px 15px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#fff}.nb-selected label{display:flex;align-items:center;gap:8px;margin:0;font-size:11px;flex:1}.nb-selected input{width:110px;accent-color:var(--nb-accent)}.nb-selected button{border:0;background:none;padding:5px;font-size:11px;color:#526448}.nb-sidebar{padding-top:16px}.nb-sidebar .nb-description{color:#798073;font-size:13px;line-height:1.8;margin-bottom:24px}.nb-sidebar select{margin-bottom:5px}.nb-summary{padding:24px 0 18px;margin-top:12px;border-top:1px solid var(--nb-border);display:flex;justify-content:space-between;gap:8px;font-size:11px}.nb-summary strong{font-size:13px}.nb-help{border-top:1px solid var(--nb-border);margin-top:24px;padding-top:18px}.nb-help summary{font-size:12px;font-weight:700;cursor:pointer}.nb-help ol{padding-left:18px;font-size:12px;color:#7b8077}.nb-help li{margin-bottom:15px;padding-left:4px}.nb-help strong{color:#43513e;font-weight:500}.nb-status{font-size:12px;margin-top:12px!important}.nb-footnote{font-size:10px;color:#858b80;margin:20px 0 0 88px!important}@media(min-width:1500px){.nb-stage{min-height:550px}}@media(max-width:1050px){.nb-layout{gap:24px;grid-template-columns:minmax(0,1fr) 250px}.nb-stage{padding:45px 30px;min-height:400px}.nb-demo{padding:30px 22px}.nb-canvas-bottom span:last-child{display:none}}@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-heading{align-items:start;margin-bottom:25px}.nb-demo-label{font-size:9px;padding:5px 8px}.nb-demo{padding:25px 16px}.nb-heading p:not(.nb-eyebrow){font-size:12px}.nb-layout{grid-template-columns:1fr;gap:25px}.nb-designer{grid-template-columns:56px minmax(0,1fr);gap:8px}.nb-tools{padding-top:50px;gap:7px}.nb-tools button{min-height:90px;font-size:8px}.nb-tool-icon{font-size:24px}.nb-stage{min-height:310px;padding:35px 25px}.nb-canvas-top{padding:14px 12px;font-size:10px}.nb-canvas-top button{font-size:9px}.nb-canvas-bottom{padding:10px 12px;font-size:9px}.nb-sidebar{padding:0 0 0 64px}.nb-sidebar h2{font-size:23px}.nb-footnote{margin-left:64px!important}.nb-panel{padding:16px}.nb-panel-heading h2{font-size:17px}.nb-selected{gap:7px}.nb-selected input{width:80px}.nb-heading h1{font-size:27px}.nb-help ol{display:grid;grid-template-columns:1fr;gap:0}}@media(prefers-reduced-motion:no-preference){.nb-tools button,.nb-primary{transition:background .18s}}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-panel{position:relative;left:auto;top:auto;width:auto;margin:10px;box-shadow:none}}

.nb-demo input[type=color]{width:44px;height:42px;padding:3px;border:1px solid var(--nb-border);border-radius:5px;background:white;cursor:pointer;flex-shrink:0}.nb-background-picker{display:flex;align-items:center;gap:8px}.nb-demo .nb-background-picker input[type=text]{min-width:0;width:100%;font-family:monospace}.nb-background-picker button{border:1px solid var(--nb-border);background:white;border-radius:5px;padding:10px;font-size:12px}.nb-demo .nb-custom-color{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:400;margin-top:15px}.nb-material-note{font-size:12px;color:#73796e;border-bottom:1px solid var(--nb-border);padding-bottom:18px}.nb-material-note strong{color:var(--nb-ink)}.nb-demo input[aria-invalid=true]{border-color:#bf392c}

/* Editing controls occupy their own rows above the artwork. */
.nb-workspace{display:flex;flex-direction:column}.nb-canvas-top{order:0}.nb-panel{order:1;position:static;left:auto;top:auto;width:auto;margin:0;padding:14px 18px;border:0;border-bottom:1px solid var(--nb-border);border-radius:0;box-shadow:none;background:#fff}.nb-selected{order:2;border-top:0;border-bottom:1px solid var(--nb-border)}.nb-stage{order:3}.nb-canvas-bottom{order:4}#nb-text{display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(100px,.8fr) minmax(160px,1fr);gap:8px 16px;align-items:start}.nb-panel-heading{grid-column:1/-1;align-items:center}.nb-panel-heading h2{margin:0;font-size:15px}.nb-panel-heading button{font-size:22px}.nb-text-field{min-width:0}#nb-text label,#nb-text legend{margin:0 0 5px;font-size:10px}#nb-text fieldset{margin:0;min-width:0}.nb-colors{gap:7px;padding:3px}.nb-colors button{width:22px;height:22px}#nb-text .nb-custom-color{margin:7px 0 0;font-size:9px;gap:6px}#nb-text input[type=color]{width:30px;height:28px}#nb-text .nb-primary{grid-column:1/-1;justify-self:end;width:auto;padding:9px 18px;font-size:11px!important}#nb-text>.nb-small{display:none}.nb-panel>p{margin:8px 0}.nb-symbols{max-width:350px}.nb-symbols button{min-height:48px;font-size:28px}.nb-designs{max-width:390px}.nb-mini{height:65px}.nb-panel>.nb-small{margin:7px 0 0}.nb-stage{flex:none}
@media(max-width:1050px){#nb-text{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#nb-text fieldset{grid-column:1/-1}#nb-text .nb-custom-color{display:inline-flex;margin:0 0 0 10px}.nb-colors{display:inline-flex;vertical-align:middle}#nb-text .nb-primary{grid-column:2;grid-row:4}.nb-panel{padding:12px}}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){#nb-text{gap:8px 10px}.nb-panel-heading h2{font-size:13px}.nb-demo #nb-text input:not([type=color]),.nb-demo #nb-text select{padding:8px 6px;font-size:11px}#nb-text .nb-custom-color{display:flex;margin:7px 0 0}#nb-text .nb-primary{grid-column:1/-1;grid-row:auto}.nb-stage{min-height:280px;padding:30px 20px}.nb-selected{padding:8px}.nb-designs{gap:5px}.nb-mini small{font-size:6px}}

/* A fixed toolbar keeps the board still when tools open or selection changes. */
.nb-toolbar{order:1;position:relative;height:136px;flex:none;background:#fff;border-bottom:1px solid var(--nb-border);overflow:hidden}.nb-toolbar:has(.nb-panel:not([hidden])){background:#fff}.nb-toolbar .nb-panel{position:absolute;inset:0 0 34px;width:auto;margin:0;padding:8px 12px;border:0;overflow:auto}.nb-toolbar #nb-selected{position:absolute;bottom:0;left:0;right:0;height:34px;margin:0;padding:3px 12px;border:0;border-top:1px solid #eeeee8;flex-wrap:nowrap;gap:8px}.nb-toolbar .nb-selected label{font-size:10px}.nb-toolbar .nb-selected button{font-size:10px;padding:3px}.nb-toolbar #nb-text{grid-template-columns:minmax(100px,1.2fr) minmax(90px,.8fr) minmax(72px,.7fr) auto;grid-template-rows:18px 1fr;gap:3px 10px;align-items:center}.nb-toolbar .nb-panel-heading{grid-column:1/-1;align-self:start}.nb-toolbar .nb-panel-heading h2{font-size:11px;line-height:18px}.nb-toolbar .nb-panel-heading button{font-size:19px;line-height:18px}.nb-toolbar #nb-text label,.nb-toolbar #nb-text legend{font-size:9px;line-height:12px;margin:0 0 3px}.nb-demo .nb-toolbar #nb-text input:not([type=color]),.nb-demo .nb-toolbar #nb-text select{height:30px;min-height:30px;padding:4px 7px;font-size:11px}.nb-toolbar #nb-text fieldset{grid-column:auto;margin:0}.nb-toolbar #nb-text .nb-colors{display:none}.nb-toolbar #nb-text .nb-custom-color{display:flex;margin:0;gap:5px;font-size:9px;line-height:12px}.nb-toolbar #nb-text input[type=color]{width:32px;height:30px}.nb-toolbar #nb-text .nb-primary{grid-column:4;grid-row:2;align-self:end;padding:6px 10px;height:30px;font-size:10px!important;white-space:nowrap}.nb-toolbar .nb-panel>p{display:none}.nb-toolbar .nb-symbols{display:flex;gap:8px;margin-top:6px}.nb-toolbar .nb-symbols button{width:48px;min-height:45px;font-size:28px}.nb-toolbar .nb-designs{display:flex;margin-top:3px;gap:8px;max-width:none}.nb-toolbar .nb-designs button{display:flex;align-items:center;gap:7px;font-size:10px;padding:3px 7px}.nb-toolbar .nb-designs button[aria-pressed=true]{padding:2px 6px}.nb-toolbar .nb-mini{width:48px;height:48px;margin:0;flex:none}.nb-toolbar .nb-mini b{font-size:20px}.nb-toolbar .nb-mini small{font-size:5px}.nb-stage{order:2}.nb-canvas-bottom{order:3}.nb-tools button{min-height:80px}.nb-tool-icon{font-size:24px}.nb-tools{padding-top:48px}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-toolbar{height:166px}.nb-toolbar .nb-panel{padding:7px 9px;bottom:34px}.nb-toolbar #nb-text{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:18px 46px 38px;gap:3px 8px}.nb-toolbar #nb-text fieldset{grid-column:1;grid-row:3}.nb-toolbar #nb-text fieldset legend{display:none}.nb-toolbar #nb-text .nb-primary{grid-column:2;grid-row:3;align-self:center}.nb-toolbar .nb-selected input{width:65px}.nb-toolbar #nb-selected{padding:3px 8px;gap:4px}.nb-toolbar .nb-selected label{gap:4px}.nb-toolbar .nb-selected button{font-size:9px}.nb-toolbar .nb-designs{gap:4px;flex-wrap:wrap}.nb-toolbar .nb-designs button{font-size:9px;gap:4px;padding:3px}.nb-toolbar .nb-designs button[aria-pressed=true]{padding:2px}.nb-toolbar .nb-mini{width:35px;height:42px}.nb-tools button{min-height:76px}.nb-tools{gap:6px}}

.nb-resize-handle{touch-action:none;cursor:nwse-resize}.nb-resize-handle[data-resize=ne],.nb-resize-handle[data-resize=sw]{cursor:nesw-resize}

.nb-rotate-handle{touch-action:none;cursor:grab}.nb-rotate-handle:active{cursor:grabbing}

.nb-demo .nb-font-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:30px;min-height:30px;padding:4px 7px;background:#fff;border:1px solid #d8dbd1;border-radius:5px;color:#263c30;font-size:12px}.nb-font-dialog{width:min(620px,calc(100vw - 28px));max-height:80dvh;border:1px solid #dedfd6;border-radius:12px;padding:20px;color:#263c30;background:#fff;box-shadow:0 20px 80px #0003}.nb-font-dialog::backdrop{background:#263c3044}.nb-font-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.nb-font-dialog h2{font:600 18px Arial,sans-serif;margin:0}.nb-font-dialog header button{border:0;background:none;font:25px Arial;cursor:pointer}.nb-font-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.nb-font-options button{display:flex;flex-direction:column;align-items:start;gap:4px;min-width:0;padding:12px;border:1px solid #dedfd6;border-radius:6px;background:#fafaf6;color:#263c30;cursor:pointer;text-align:left}.nb-font-options button:hover,.nb-font-options button[aria-pressed=true]{border-color:#df6338;background:#fff7f1}.nb-font-options span{font-size:20px;line-height:1.4}.nb-font-options small{font-size:15px;line-height:1.5}.nb-font-dialog p{font:12px/1.6 Arial,sans-serif;color:#73796e;margin:0 0 12px}@media(max-width:480px){.nb-font-dialog{padding:14px}.nb-font-options button{padding:9px}.nb-font-options span{font-size:17px}.nb-font-options small{font-size:13px}}

.nb-font-options small{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}

.nb-demo .nb-material-field{margin:0 0 12px}.nb-material-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.nb-material-swatches button{padding:6px;background:#fff;border:1px solid var(--nb-border);border-radius:6px;color:var(--nb-ink);text-align:center;min-width:0;position:relative}.nb-material-swatches button[aria-pressed=true]{border-color:var(--nb-accent);outline:1px solid var(--nb-accent)}.nb-material-swatches button[aria-pressed=true]::after{content:'✓';position:absolute;top:9px;right:9px;background:#fff;border-radius:50%;width:16px;height:16px;font-size:11px;color:#a84b29;line-height:16px}.nb-material-sample{display:block;height:48px;width:100%;border:1px solid #dedfd6;border-radius:3px;margin-bottom:7px}.nb-sample-white{background:#fff;box-shadow:inset -3px -3px 0 #eeeee8}.nb-sample-metal{background:repeating-linear-gradient(0deg,#ffffff12 0 1px,#55555512 1px 2px,transparent 2px 4px),linear-gradient(110deg,#aaa,#e3e1db,#afafa9)}.nb-sample-plexi{background:linear-gradient(135deg,#dbe8e8 0%,#fff 28%,#eaf1f1 30%,#fff 50%,#dbe8e8 100%);border-color:#b9ced0;box-shadow:inset -3px -3px 0 #c9d9da}.nb-material-swatches button>span:last-child{display:block;font-size:10px;line-height:1.4;min-height:30px}.nb-material-swatches small{display:block;font-size:9px;color:#73796e}#nb-board[data-material=plexi]{outline:2px solid #d0dfe0;box-shadow:4px 4px 0 #b7c9ca,8px 13px 20px #363d302a}

.nb-material-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}.nb-sample-clear,#nb-board[data-material=plexi-clear]{background-color:#eceee9;background-image:linear-gradient(45deg,#d2d8d0 25%,transparent 25%),linear-gradient(-45deg,#d2d8d0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d2d8d0 75%),linear-gradient(-45deg,transparent 75%,#d2d8d0 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0}#nb-board[data-material=plexi-clear]{outline:2px solid #bdcfd0;box-shadow:3px 3px 0 #b7c9ca,8px 13px 20px #363d302a}.nb-demo .nb-transparent-option{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:400}.nb-transparent-option input{width:16px;height:16px;accent-color:var(--nb-accent)}.nb-demo input:disabled,.nb-demo button:disabled{opacity:.45;cursor:default}

#nb-production{margin-bottom:8px}#nb-production-note{margin-bottom:12px}.nb-status a{text-decoration:underline;color:#b84e2d}

.nb-price-box{min-height:100px;margin:18px 0 10px;display:grid;gap:3px}.nb-price-box strong{font-size:28px;line-height:1.3}.nb-price-box small{font-size:12px;color:#687269}.nb-price-box button{justify-self:start;text-decoration:underline}.nb-demo #nb-cart{width:100%;margin-bottom:10px}.nb-demo button:disabled{cursor:wait;opacity:.55}
/* Compact B: board above a fixed editing area; native horizontal swipe lists. */
.nb-demo .nb-designer{display:block;min-width:0}.nb-demo .nb-workspace{display:flex;flex-direction:column}.nb-demo .nb-canvas-top{order:0;padding:8px 14px;min-height:44px}.nb-demo .nb-tools{order:1;position:static;display:flex;gap:4px;padding:4px 8px;width:auto;border-bottom:1px solid var(--nb-border);background:#fff}.nb-demo .nb-tools button{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:6px 10px;font-size:13px;border:0;border-radius:7px}.nb-demo .nb-tool-icon{font-size:21px}.nb-demo .nb-tool-plus{display:none}.nb-demo .nb-stage{order:2;min-height:0;padding:24px;aspect-ratio:auto;height:420px}.nb-demo #nb-board{height:100%;width:100%;max-height:100%;max-width:100%;object-fit:contain}.nb-demo .nb-toolbar{order:3;height:186px;overflow:hidden;position:relative;border-top:1px solid var(--nb-border);border-bottom:0}.nb-demo .nb-toolbar .nb-panel{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:8px 12px;border:0;overflow:hidden;display:block;box-shadow:none;border-radius:0}.nb-demo .nb-toolbar #nb-text{display:block}.nb-demo .nb-edit-tabs{display:flex;gap:5px;height:44px;margin-bottom:8px}.nb-demo .nb-edit-tabs button{flex:1;min-width:0;min-height:44px;padding:5px 7px;border:1px solid var(--nb-border);border-radius:7px;background:#fff;color:var(--nb-ink);font-size:12px}.nb-demo .nb-edit-tabs button[aria-pressed=true]{background:#edf1e7;border-color:#6e805d;font-weight:600}.nb-demo .nb-edit-view{height:112px;min-width:0}.nb-demo .nb-copy-view{display:flex;align-items:center;gap:8px}.nb-demo .nb-toolbar #nb-text .nb-text-field{flex:1;min-width:0}.nb-demo .nb-toolbar #nb-text label{font-size:11px;line-height:1.4;margin-bottom:4px}.nb-demo .nb-toolbar #nb-text input:not([type=color]){font-size:16px;min-height:44px;height:44px;padding:8px 10px}.nb-demo .nb-toolbar #nb-text #nb-add-text{min-height:44px;height:44px;padding:8px 14px;align-self:center;font-size:13px!important;grid-area:auto;margin-top:18px}.nb-demo .nb-copy-view>p{display:none}.nb-demo .nb-swipe-hint{display:block;font-size:11px;color:#6c7864;line-height:20px;margin:0 0 3px}.nb-demo .nb-font-options,.nb-demo .nb-toolbar .nb-symbols{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 2px 6px;margin:0;max-width:100%;-webkit-overflow-scrolling:touch}.nb-demo .nb-font-options button{flex:0 0 156px;min-width:0;min-height:76px;height:76px;scroll-snap-align:start;border:1px solid var(--nb-border);border-radius:8px;padding:8px 10px;text-align:left;background:#fafbf7;color:var(--nb-ink);display:flex;flex-direction:column;justify-content:center;gap:4px}.nb-demo .nb-font-options button[aria-pressed=true]{border:2px solid #647a54;padding:7px 9px;background:#eef3e8}.nb-demo .nb-font-options button>span{font:10px/1.3 Arial,sans-serif;color:#6c7864;order:2}.nb-demo .nb-font-options button>small{font-family:inherit;font-size:23px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;order:1}.nb-demo .nb-toolbar .nb-symbols button{flex:0 0 76px;width:76px;height:76px;min-height:76px;scroll-snap-align:start;font-size:29px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:7px;background:#fafbf7;border:1px solid var(--nb-border);border-radius:8px;color:var(--nb-ink)}.nb-demo .nb-symbols button>span{line-height:1.1}.nb-demo .nb-symbols small{font:10px/1.3 Arial,sans-serif}.nb-demo .nb-remove-symbol{font-size:11px;min-height:44px;padding:5px 8px;margin-top:3px}.nb-demo .nb-toolbar #nb-text fieldset{margin:0;padding:8px 0;border:0}.nb-demo .nb-toolbar #nb-text legend{font-size:11px}.nb-demo .nb-toolbar #nb-text .nb-colors{display:flex;gap:9px;align-items:center;float:left;margin:4px 12px 0 0}.nb-demo .nb-toolbar #nb-text .nb-colors button{min-width:44px;width:44px;min-height:44px;height:44px}.nb-demo .nb-toolbar #nb-text .nb-custom-color{display:inline-flex;align-items:center;gap:7px;font-size:11px;margin:0}.nb-demo .nb-toolbar #nb-text input[type=color]{width:44px;height:44px;min-height:44px}.nb-demo .nb-toolbar #nb-selected{position:static;height:100%;padding:8px 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:0;margin:0}.nb-demo .nb-toolbar #nb-selected label{display:flex;align-items:center;flex:1;gap:8px;font-size:12px;min-width:160px}.nb-demo #nb-size{min-width:80px;width:100%;min-height:44px}.nb-demo .nb-toolbar #nb-selected button{min-width:44px;min-height:44px;font-size:12px;padding:6px 10px}.nb-demo .nb-canvas-bottom{order:4;padding:6px 12px;font-size:10px}.nb-demo .nb-toolbar .nb-designs{overflow-x:auto;scroll-snap-type:x proximity}.nb-demo .nb-designs button{flex:0 0 145px;min-height:70px}.nb-demo .nb-panel-heading h2{font-size:12px}.nb-demo .nb-toolbar .nb-panel-heading{margin:0 0 5px}.nb-demo .nb-panel-heading button{min-width:44px;min-height:44px}.nb-demo [hidden]{display:none!important}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo{padding:20px 12px}.nb-demo .nb-heading{margin-bottom:18px}.nb-demo .nb-heading h1{font-size:25px;line-height:1.2}.nb-demo .nb-heading>div>p:last-child{font-size:14px}.nb-demo .nb-demo-label{display:none}.nb-demo .nb-stage{height:clamp(230px,36svh,330px);padding:20px}.nb-demo .nb-tools button{font-size:12px;padding:5px 6px}.nb-demo .nb-toolbar{height:186px}.nb-demo .nb-toolbar .nb-panel{padding:7px 9px}.nb-demo .nb-edit-tabs{gap:4px}.nb-demo .nb-edit-tabs button{font-size:11px;padding:5px 3px}.nb-demo .nb-font-options button{flex-basis:142px}.nb-demo .nb-toolbar #nb-text .nb-colors{gap:7px;margin:0 8px 0 0}.nb-demo .nb-toolbar #nb-text .nb-colors button{width:44px;height:44px}.nb-demo .nb-toolbar #nb-text .nb-custom-color{margin-top:8px}.nb-demo .nb-toolbar #nb-text #nb-add-text{padding:8px 10px}.nb-demo .nb-canvas-bottom span:last-child{display:none}}

.nb-demo .nb-toolbar #nb-text legend{display:none}.nb-demo .nb-toolbar #nb-text fieldset{padding:4px 0}
.nb-demo .nb-tools{flex-direction:row}.nb-demo .nb-remove-symbol{border:0;background:none;color:var(--nb-ink);text-decoration:underline}.nb-demo .nb-remove-symbol:disabled{cursor:default}@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo .nb-heading{margin-bottom:12px}.nb-demo .nb-heading h1{font-size:22px}.nb-demo .nb-heading>div>p:last-child{display:none}}

.nb-demo .nb-symbols svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}

/* E: execution controls share the editing dock, keeping the board in place. */
.nb-demo .nb-toolbar .nb-configuration{padding:0;display:flex;flex-direction:column}
.nb-config-tabs{display:flex;gap:4px;padding:5px 9px;border-bottom:1px solid var(--nb-border);flex:none}
.nb-demo .nb-config-tabs button{flex:1;min-width:0;min-height:44px;border:0;border-radius:6px;background:#f1f3ec;color:var(--nb-ink);padding:5px 6px;font-size:12px}
.nb-demo .nb-config-tabs button[aria-selected=true]{background:#263c30;color:#fff}
.nb-config-panel{height:131px;min-width:0;padding:6px 10px;overflow:auto;overscroll-behavior:contain}
.nb-demo .nb-config-panel fieldset{margin:0}
.nb-demo .nb-config-panel label,.nb-demo .nb-config-panel legend{margin:0;font-size:11px;line-height:1.4}
.nb-demo .nb-config-panel .nb-small,.nb-demo .nb-config-panel .nb-material-note{font-size:10px;line-height:1.4;margin:4px 0 0;color:#6d7769}
.nb-demo .nb-config-panel .nb-material-field>legend{display:none}
.nb-demo .nb-config-panel .nb-material-swatches{display:flex;gap:5px;overflow-x:auto;padding:2px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin}
.nb-demo .nb-config-panel .nb-material-swatches button{flex:0 0 auto;display:flex;gap:6px;align-items:center;min-height:48px;padding:5px 7px;scroll-snap-align:start;text-align:left}
.nb-demo .nb-config-panel .nb-material-sample{width:28px;height:28px;flex:none;margin:0}
.nb-demo .nb-config-panel .nb-material-swatches button>span:last-child{min-height:0;font-size:11px;line-height:1.3}
.nb-demo .nb-config-panel .nb-material-swatches button[aria-pressed=true]::after{display:none}
.nb-demo .nb-config-panel .nb-material-swatches small{font-size:9px}
.nb-demo .nb-config-panel .nb-transparent-option{min-height:26px;gap:5px;margin:0}
.nb-demo .nb-config-panel .nb-transparent-option input{width:16px;min-height:16px;height:16px;padding:0}
.nb-demo #nb-config-background{display:grid;grid-template-columns:minmax(0,1fr) 125px;column-gap:10px;align-content:start}
.nb-demo #nb-config-background>.nb-transparent-option{grid-column:1/-1}
.nb-demo #nb-config-background>label[for=nb-background]{grid-column:1;grid-row:2}
.nb-demo #nb-config-background>label[for=nb-format]{grid-column:2;grid-row:2}
.nb-demo #nb-config-background>.nb-background-picker{grid-column:1;grid-row:3;display:flex;gap:4px;margin:3px 0 0}
.nb-demo #nb-config-background #nb-format{grid-column:2;grid-row:3;width:100%;min-height:44px;height:44px;padding:4px;font-size:11px;margin:3px 0 0}
.nb-demo #nb-config-background>.nb-small{grid-column:1/-1}
.nb-demo #nb-config-background #nb-background{width:38px;min-width:38px;height:44px;min-height:44px;padding:3px}
.nb-demo #nb-config-background #nb-background-hex{min-width:0;width:100%;height:44px;min-height:44px;font-size:12px;padding:5px}
.nb-demo #nb-config-background #nb-white-background{min-width:38px;min-height:44px;padding:3px;font-size:11px}
.nb-mount-row{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:3px;scrollbar-width:thin}
.nb-demo .nb-mount-group{flex:none}
.nb-demo .nb-radio-options{display:flex;gap:4px;margin-top:3px}
.nb-demo .nb-radio-options label{display:flex;align-items:center;gap:4px;min-height:44px;padding:5px 7px;border:1px solid var(--nb-border);border-radius:6px;font-weight:400;white-space:nowrap;cursor:pointer}
.nb-demo .nb-radio-options label:has(input:checked){background:#eef3e8;border-color:#708860}
.nb-demo .nb-radio-options input[type=radio]{appearance:auto;width:13px;min-height:13px;height:13px;margin:0;padding:0;accent-color:#526c45}
.nb-demo .nb-radio-options label:has(input:disabled){opacity:.55;cursor:default}
.nb-demo .nb-sidebar>.nb-eyebrow,.nb-demo .nb-sidebar>h2,.nb-demo .nb-sidebar>.nb-description,.nb-demo .nb-sidebar>.nb-summary{display:none}
.nb-demo .nb-sidebar{padding-top:0}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo .nb-sidebar{padding:0}.nb-demo .nb-tools button{gap:4px;font-size:11px;padding:5px 3px}.nb-demo .nb-tool-icon{font-size:18px}.nb-demo .nb-config-tabs button{font-size:11px}.nb-demo #nb-config-background{grid-template-columns:minmax(0,1fr) 110px;column-gap:6px}.nb-demo .nb-config-panel{padding-inline:8px}.nb-demo .nb-radio-options label{padding-inline:6px}.nb-demo .nb-mount-row{gap:12px}}

/* DrukR storefront buttons and a single shared mobile purchase dock. */
.nb-demo{--nb-ink:var(--color-accent,#0b3c7c);--nb-accent:var(--color-primary,#0551bc)}
.nb-demo button{border-radius:var(--ui-radius-btn,5px)}
.nb-demo button:focus-visible,.nb-demo input:focus-visible,.nb-demo select:focus-visible{outline-color:var(--color-primary,#0551bc)}
.nb-demo .nb-primary{border-radius:var(--ui-radius-btn,5px);background:linear-gradient(135deg,var(--color-primary,#0551bc),var(--color-accent,#0b3c7c));color:#fff;box-shadow:var(--ui-shadow-md,0 4px 12px #0b3c7c1a);transition:background-color 180ms ease,box-shadow 180ms ease}
.nb-demo .nb-primary:hover:not(:disabled){background:linear-gradient(135deg,var(--color-accent,#0b3c7c),#08366b)}
.nb-demo .nb-tools button,.nb-demo .nb-edit-tabs button,.nb-demo .nb-config-tabs button{border-radius:var(--ui-radius-btn,5px);color:var(--nb-ink);background:var(--color-background,#f6fbff)}
.nb-demo .nb-tools button[aria-expanded=true],.nb-demo .nb-edit-tabs button[aria-pressed=true]{background:var(--color-light-blue,#d6eeff);border-color:var(--nb-accent);color:var(--nb-ink);box-shadow:none}
.nb-demo .nb-config-tabs button[aria-selected=true]{background:var(--nb-accent);color:#fff}
.nb-demo .nb-config-panel .nb-material-swatches button[aria-pressed=true],.nb-demo .nb-font-options button[aria-pressed=true]{border-color:var(--nb-accent);outline-color:var(--nb-accent);background:var(--color-background,#f6fbff)}
.nb-demo .nb-radio-options label:has(input:checked){background:var(--color-light-blue,#d6eeff);border-color:var(--nb-accent)}
.nb-demo .nb-radio-options input[type=radio]{accent-color:var(--nb-accent)}
.nb-demo .nb-primary[aria-busy=true]::before{content:'';width:14px;height:14px;flex:none;border:2px solid #ffffff66;border-top-color:white;border-radius:50%;animation:nb-saving .8s linear infinite}
.nb-demo .nb-mobile-tax{display:none}
@keyframes nb-saving{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.nb-demo .nb-primary[aria-busy=true]::before{animation:none}}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo{padding-bottom:20px}
 body:has(#naambord-demo){padding-bottom:calc(var(--nb-purchase-clearance,90px) + 12px)}
 body:has(#naambord-demo) .webwinkelkeur-sidebar{display:none!important}
 .nb-demo input,.nb-demo select,.nb-demo button{scroll-margin-bottom:calc(var(--nb-dock-height,90px) + 16px)}
 .nb-demo .nb-purchase-bar{position:fixed;inset:auto 0 var(--nb-dock-bottom,0px);z-index:45;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,1.15fr);gap:6px 12px;align-items:center;padding:9px max(12px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid #d6e0eb;background:#fff;box-shadow:0 -4px 20px #0b3c7c12;color:var(--nb-ink)}
 .nb-demo .nb-purchase-bar .nb-price-box{min-height:0;margin:0;gap:2px}
 .nb-demo .nb-purchase-bar .nb-price-box>span{display:none}
 .nb-demo .nb-purchase-bar #nb-price{font-size:22px;line-height:1.2;overflow-wrap:anywhere}
 .nb-demo .nb-purchase-bar:has(#nb-cart:disabled) #nb-price{font-size:15px}
 .nb-demo .nb-purchase-bar .nb-mobile-tax{display:block;font-size:9px;line-height:1.3;color:#566c80}
 .nb-demo .nb-purchase-bar #nb-cart{width:100%;margin:0;min-height:48px;justify-content:center;gap:7px;padding:8px 10px;font-size:13px!important;line-height:1.3}
 .nb-demo .nb-purchase-bar #nb-price-detail{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .nb-demo .nb-purchase-bar #nb-price-retry{border:0;background:none;color:var(--nb-accent);font-size:11px;min-height:44px;padding:3px 0;text-align:left}
 .nb-demo .nb-purchase-bar:has(#nb-price-retry:not([hidden])) #nb-price-detail{position:static;width:auto;height:auto;max-height:48px;overflow:auto;clip-path:none;white-space:normal;font-size:10px;line-height:1.3}
}
.nb-demo .nb-symbols button,.nb-demo .nb-designs button,.nb-demo .nb-selected button,.nb-demo .nb-font-options button,.nb-demo #nb-white-background{color:var(--nb-ink);border-radius:var(--ui-radius-btn,5px)}
.nb-demo .nb-symbols button,.nb-demo .nb-designs button{background:var(--color-background,#f6fbff)}
/* Compact, searchable figure library. Customer assets are raster JPG previews only. */
.nb-demo .nb-figure-controls{display:flex;align-items:center;gap:5px;height:44px;margin-bottom:5px;min-width:0}
.nb-demo .nb-figure-categories{display:flex;gap:5px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.nb-demo .nb-figure-categories button{flex:none;min-height:44px;padding:5px 10px;background:#f6fbff;color:var(--nb-ink);border:1px solid var(--nb-border);font-size:11px;white-space:nowrap}
.nb-demo .nb-figure-categories button[aria-pressed=true]{background:var(--nb-accent);color:white;border-color:var(--nb-accent)}
.nb-demo #nb-figure-search-toggle{width:44px;height:44px;flex:none;background:#f6fbff;color:var(--nb-ink);border:1px solid var(--nb-border);font-size:24px;line-height:1}
.nb-demo .nb-figure-search{flex:1;min-width:0;margin:0}
.nb-demo #nb-figure-query{height:44px;min-height:44px;font-size:16px;padding:6px 9px}
.nb-demo .nb-toolbar .nb-symbols{padding-top:0;padding-bottom:3px;min-height:79px}
.nb-demo .nb-toolbar .nb-symbols button{height:76px;min-height:76px;background:#fff}
.nb-demo .nb-symbols img{display:block;width:40px;height:40px;object-fit:contain;max-width:none}
.nb-demo .nb-symbols .nb-figure-vector-preview{display:block;width:40px;height:40px;color:#202520;stroke:none}
.nb-demo .nb-symbols small{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.nb-demo #nb-figure-empty{height:79px;margin:0;padding:18px 4px;font-size:12px;color:#66788a}
.nb-demo .nb-remove-symbol{margin-top:0;padding-block:2px}
.nb-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.nb-demo .nb-toolbar .nb-panel>#nb-figure-empty:not([hidden]){display:block}

/* Clear plexiglass B: SVG edge and hardware shadows also survive JPG previews. */
.nb-demo #nb-board[data-glass=true]{outline:none;box-shadow:3px 6px 12px #18363816}

/* Execution: one section with three full-width rows. */
.nb-demo .nb-toolbar:has(:is(#nb-configuration,#nb-background-settings):not([hidden])){height:auto;min-height:186px;overflow:visible}
.nb-demo .nb-toolbar :is(#nb-configuration,#nb-background-settings){position:relative;inset:auto;height:auto;display:flex;flex-direction:column;padding:0;overflow:visible}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-config-panel{height:auto;min-width:0;width:100%;padding:16px 18px;overflow:visible}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-config-panel+.nb-config-panel{border-top:1px solid var(--nb-border)}
.nb-demo :is(#nb-configuration,#nb-background-settings) h3{font:600 14px/1.4 Arial,sans-serif;margin:0 0 10px;color:var(--nb-ink)}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible;padding:2px}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-swatches button{min-width:0;min-height:56px;padding:8px;white-space:normal}
.nb-demo #nb-config-background{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,1fr);grid-template-areas:"heading heading" "transparent transparent" "colorlabel formatlabel" "picker format" "note note";gap:5px 18px}
.nb-demo #nb-config-background h3{grid-area:heading}
.nb-demo #nb-config-background>.nb-transparent-option{grid-area:transparent}
.nb-demo #nb-config-background>label[for=nb-background]{grid-area:colorlabel}
.nb-demo #nb-config-background>label[for=nb-format]{grid-area:formatlabel}
.nb-demo #nb-config-background>.nb-background-picker{grid-area:picker;min-width:0;width:100%}
.nb-demo #nb-config-background #nb-format{grid-area:format;width:100%;height:44px;min-height:44px;font-size:12px}
.nb-demo #nb-config-background>.nb-small{grid-area:note}
.nb-demo #nb-config-mounting .nb-mount-row{display:flex;flex-wrap:wrap;gap:12px 24px;overflow:visible}
.nb-demo #nb-config-mounting .nb-mount-group{flex:1 1 240px;min-width:0}
.nb-demo #nb-config-mounting .nb-radio-options{display:flex;gap:5px;flex-wrap:wrap}
.nb-demo #nb-config-mounting .nb-radio-options label{min-height:44px;flex:1;justify-content:center}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-config-panel{padding:14px 12px}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}
.nb-demo #nb-config-background{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "transparent" "colorlabel" "picker" "formatlabel" "format" "note";gap:6px}
.nb-demo #nb-config-background>label[for=nb-format]{margin-top:6px}
}

/* Compact execution dock: reserve its geometry before JS and async pricing. */
.nb-demo .nb-toolbar,.nb-demo .nb-toolbar:has(:is(#nb-configuration,#nb-background-settings):not([hidden])){height:322px;min-height:322px;overflow:hidden}
.nb-demo .nb-toolbar :is(#nb-configuration,#nb-background-settings){position:absolute;inset:0;height:100%;display:grid;grid-template-rows:96px 108px 116px;overflow:auto;overscroll-behavior:contain}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-config-panel{position:relative;height:100%;padding:6px 10px;overflow:auto}
.nb-demo :is(#nb-configuration,#nb-background-settings) h3{font-size:12px;line-height:16px;margin:0 0 4px}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-swatches{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding:1px 2px;scrollbar-width:thin}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-swatches button{flex:1 0 140px;min-height:44px;height:44px;padding:4px 6px}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-sample{width:24px;height:24px}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-note{min-height:28px;margin:2px 0 0;line-height:12px}
.nb-demo #nb-config-background{grid-template-columns:minmax(0,1fr) minmax(135px,1fr);grid-template-areas:"heading heading" "picker format" "note note";grid-template-rows:22px 44px 24px;gap:3px 8px}
.nb-demo #nb-config-background>label[for=nb-background],.nb-demo #nb-config-background>label[for=nb-format]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.nb-demo #nb-config-background>.nb-transparent-option{position:absolute;right:10px;top:4px;min-height:22px;font-size:10px}
.nb-demo #nb-config-background>.nb-background-picker,.nb-demo #nb-config-background #nb-format{margin:0}
.nb-demo #nb-config-background>.nb-small{font-size:10px;line-height:12px;margin:1px 0 0}
.nb-demo #nb-config-mounting .nb-mount-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.nb-demo #nb-config-mounting .nb-radio-options{display:flex;flex-wrap:nowrap;gap:3px}
.nb-demo #nb-config-mounting .nb-radio-options label{min-width:0;padding:3px 4px;min-height:44px;font-size:11px}
.nb-demo #nb-config-mounting #nb-mounting-note{height:24px;overflow:auto;font-size:10px;line-height:12px;margin:2px 0 0}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo .nb-stage{height:clamp(180px,28svh,245px);padding:14px}
 .nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-swatches button{flex:0 0 144px}
 .nb-demo #nb-config-background{grid-template-columns:minmax(0,1fr) 140px;gap:3px 6px}
 .nb-demo #nb-config-background>.nb-transparent-option{right:8px;font-size:9px}
 .nb-demo #nb-config-background>.nb-transparent-option input{width:14px;height:14px;min-height:14px}
 .nb-demo #nb-config-mounting .nb-radio-options label{flex-direction:column;gap:1px;padding:2px;font-size:10px}
 .nb-demo #nb-config-mounting .nb-mount-group legend{font-size:10px}
}
/* Keep row headings and explanatory text inside the reserved geometry. */
.nb-demo .nb-toolbar,.nb-demo .nb-toolbar:has(:is(#nb-configuration,#nb-background-settings):not([hidden])){height:336px;min-height:336px}
.nb-demo .nb-toolbar :is(#nb-configuration,#nb-background-settings){grid-template-rows:104px 108px 122px}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-field{padding:0;border:0;margin:0}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-note{min-height:24px;height:24px;overflow:auto}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo{padding-top:12px}
 .nb-demo .nb-heading{margin-bottom:8px}
 .nb-demo .nb-heading h1{font-size:20px;line-height:1.25;margin:4px 0}
 .nb-demo .nb-stage{height:clamp(160px,24svh,205px);padding:12px}
}
/* Async price text gets reserved line boxes rather than moving surrounding UI. */
.nb-demo .nb-price-box{height:128px;min-height:128px;display:block;position:relative}
.nb-demo .nb-price-box>span{display:block;height:20px;line-height:20px}
.nb-demo #nb-price{display:block;box-sizing:border-box;width:100%;height:72px;min-height:72px;line-height:36px}
.nb-demo #nb-price-detail{display:block;height:24px;min-height:24px;line-height:12px;overflow:auto}
.nb-demo #nb-price-retry{position:absolute;left:0;bottom:0;background:#fff}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo .nb-purchase-bar .nb-price-box{height:64px;min-height:64px;display:block}
 .nb-demo .nb-purchase-bar #nb-price,.nb-demo .nb-purchase-bar:has(#nb-cart:disabled) #nb-price{height:40px;min-height:40px;line-height:20px}
 .nb-demo .nb-purchase-bar .nb-mobile-tax{height:12px;line-height:12px}
 .nb-demo .nb-purchase-bar #nb-price-detail{min-height:0}
 .nb-demo .nb-purchase-bar .nb-price-box:has(#nb-price-retry:not([hidden])) #nb-price{display:none}
 .nb-demo .nb-purchase-bar .nb-price-box:has(#nb-price-retry:not([hidden])) .nb-mobile-tax{display:none}
 .nb-demo .nb-purchase-bar:has(#nb-price-retry:not([hidden])) #nb-price-detail{height:20px;max-height:20px;line-height:10px;overflow:auto}
}
@media(min-width:761px) and (pointer:fine), (min-width:1001px), (min-width:761px) and (min-height:601px){.nb-demo .nb-price-box{height:172px;min-height:172px}}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 /* Keep the accessible error text at its final position even before an error. */
 .nb-demo .nb-purchase-bar #nb-price-detail,.nb-demo .nb-purchase-bar:has(#nb-price-retry:not([hidden])) #nb-price-detail{position:absolute;top:0;left:0;width:100%;height:20px;min-height:20px;max-height:20px;margin:0;clip-path:none;white-space:normal;font-size:10px;line-height:10px;overflow:auto}
 .nb-demo .nb-purchase-bar #nb-price-detail{opacity:0;pointer-events:none}
 .nb-demo .nb-purchase-bar:has(#nb-price-retry:not([hidden])) #nb-price-detail{opacity:1;pointer-events:auto}
}
/* Reserve the square board's exact first-paint size before the editor JS loads. */
.nb-demo .nb-stage{container-type:size}
.nb-demo #nb-board{width:min(100cqw,100cqh);height:min(100cqw,100cqh)}

/* A modest surround keeps the board edge and shadow visible on portrait screens. */
@media(max-width:760px) and (orientation:portrait){
 .nb-demo .nb-workspace{container-type:inline-size}
 .nb-demo .nb-stage{height:calc((100cqw - 40px) * var(--nb-board-height-ratio,1) + 40px);min-height:0;padding:20px}
 .nb-demo #nb-board{max-width:100%}
}

/* Keep swipe, wheel and keyboard scrolling without visible editor scrollbars. */
.nb-demo,.nb-demo *{scrollbar-width:none!important;-ms-overflow-style:none!important}
.nb-demo::-webkit-scrollbar,.nb-demo *::-webkit-scrollbar{display:none!important;width:0;height:0}

/* Fade only the rail edges that still contain off-screen choices. */
.nb-demo .nb-swipe-rail{--nb-swipe-left:#000;--nb-swipe-right:#000;-webkit-mask-image:linear-gradient(to right,var(--nb-swipe-left),#000 18px,#000 calc(100% - 18px),var(--nb-swipe-right));mask-image:linear-gradient(to right,var(--nb-swipe-left),#000 18px,#000 calc(100% - 18px),var(--nb-swipe-right))}
.nb-demo .nb-swipe-rail[data-swipe-left=true]{--nb-swipe-left:transparent}
.nb-demo .nb-swipe-rail[data-swipe-right=true]{--nb-swipe-right:transparent}

/* Compact figure transforms and reusable personal colour swatches. */
.nb-demo .nb-figure-tools{display:flex;gap:8px;align-items:center;min-width:0;margin-bottom:5px}
.nb-demo .nb-figure-flips{display:flex;gap:3px;flex:none}
.nb-demo .nb-figure-flips button{width:36px;height:36px;min-height:36px;border:1px solid var(--nb-border);background:#fff;border-radius:5px;font-size:23px;padding:0;line-height:1}
.nb-demo .nb-figure-flips button[aria-pressed=true]{border-color:var(--nb-accent);background:var(--color-light-blue,#d6eeff)}
.nb-demo .nb-figure-flips button:disabled{opacity:.4;cursor:default}
.nb-demo .nb-figure-colors{display:flex;gap:3px;min-width:0;overflow-x:auto;flex:1;padding:3px}
.nb-demo .nb-figure-colors button{position:relative;flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:5px;border:1px solid transparent;border-radius:50%;background:none}
.nb-demo .nb-figure-colors button::after{content:'';display:block;width:100%;height:100%;background:var(--figure-swatch);border:1px solid #c8ceca;border-radius:50%}
.nb-demo .nb-figure-colors button[aria-pressed=true]{border-color:var(--nb-accent)}
.nb-demo .nb-figure-custom{display:flex;gap:4px;align-items:center;flex:none;margin:0;font-size:10px;white-space:nowrap}
.nb-demo .nb-figure-custom input[type=color]{width:34px;height:34px;min-height:34px;padding:3px;border:1px solid var(--nb-border);border-radius:5px}
.nb-demo .nb-toolbar:has(#nb-symbols:not([hidden])){height:230px;min-height:230px}

.nb-demo .nb-upload-figure{flex:none;min-height:36px;padding:4px 8px;font-size:11px;border:1px solid var(--nb-border);border-radius:5px;background:#fff;color:var(--nb-ink)}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo .nb-figure-tools{flex-wrap:wrap;gap:4px}.nb-demo .nb-figure-colors{flex-basis:120px}.nb-demo .nb-figure-custom span{display:none}.nb-demo .nb-toolbar:has(#nb-symbols:not([hidden])){height:248px;min-height:248px}}

.nb-demo #nb-figure-original[aria-pressed=true]{border-color:var(--nb-accent);background:var(--color-light-blue,#d6eeff)}
.nb-demo .nb-toolbar:has(#nb-symbols:not([hidden]) #nb-figure-resolution:not([hidden])){height:272px;min-height:272px}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo .nb-figure-colors{flex-basis:64px;min-width:32px}.nb-demo #nb-figure-original{width:32px;padding:0;font-size:0}.nb-demo #nb-figure-original::after{content:'↺';font-size:20px}.nb-demo #nb-figure-resolution{font-size:10px;margin:0 0 3px}}
.nb-demo #nb-symbols>#nb-figure-resolution:not([hidden]){display:block;line-height:1.3;margin:0 0 4px;color:#8a5910}

/* Keep row dragging distinct from selecting an individual choice. */
.nb-demo .nb-drag-rail{user-select:none;-webkit-user-select:none}
@media(hover:hover) and (pointer:fine){.nb-demo .nb-drag-rail,.nb-demo .nb-drag-rail button{cursor:grab}}
.nb-demo .nb-drag-rail.nb-is-dragging,.nb-demo .nb-drag-rail.nb-is-dragging *{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}

/* Persistent compact object tools, also when the options panel is closed. */
.nb-demo .nb-canvas-actions{display:flex;align-items:center;gap:8px}
.nb-demo .nb-canvas-actions .nb-delete-tool{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;padding:8px;border:1px solid var(--nb-border);border-radius:6px;color:var(--nb-ink);background:#fff}
.nb-demo .nb-delete-tool:not(:disabled):hover{background:#fff1ed;border-color:#bd5540;color:#9a351f}
.nb-demo .nb-delete-tool:disabled{opacity:.35;cursor:default}
.nb-demo .nb-delete-tool:focus-visible{outline:2px solid var(--nb-accent);outline-offset:2px}

.nb-demo .nb-canvas-top{padding-block:2px}

.nb-demo .nb-canvas-actions .nb-history-tool{display:inline-flex;align-items:center;justify-content:center;width:36px;height:40px;min-height:40px;padding:7px;border:1px solid var(--nb-border);border-radius:6px;color:var(--nb-ink);background:#fff;flex-shrink:0}
.nb-demo .nb-history-tool:disabled{opacity:.35;cursor:default}
.nb-demo .nb-history-tool:not(:disabled):hover{background:var(--nb-paper,#f5f5f0)}
.nb-demo .nb-history-tool:focus-visible{outline:2px solid var(--nb-accent);outline-offset:2px}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo .nb-reset-label{display:none}.nb-demo .nb-canvas-actions{gap:4px}.nb-demo #nb-reset{width:30px;padding-inline:4px}}

.nb-demo #nb-frame-safety[data-warning="true"]{color:#8b5a17;font-weight:500}

/* Compact shape rail shares the existing mouse drag, touch swipe and edge fades. */
.nb-demo .nb-shapes{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:4px 2px 8px;touch-action:pan-x pan-y}
.nb-demo .nb-shapes::-webkit-scrollbar{display:none}
.nb-demo .nb-shapes button{flex:0 0 88px;height:82px;min-height:44px;padding:5px;border:1px solid var(--nb-border);border-radius:5px;background:#f6fbff;color:var(--nb-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;gap:2px}
.nb-demo .nb-shapes img{width:65px;height:48px;object-fit:contain;pointer-events:none}
.nb-demo .nb-shapes button[aria-pressed=true]{border:2px solid #008fc5;background:#e8f7ff}
.nb-demo .nb-layout-presets{font-size:12px;margin-top:6px}.nb-demo .nb-layout-presets summary{cursor:pointer;padding:7px 0}
.nb-demo #nb-board[data-shape]:not([data-shape=rectangle]):not([data-shape=square]){box-shadow:none;outline:none;filter:drop-shadow(3px 6px 8px #18363826);background:transparent}
.nb-demo .nb-toolbar:has(#nb-designs:not([hidden])){height:224px;min-height:224px}
.nb-demo .nb-toolbar:has(#nb-designs:not([hidden]) details[open]){height:336px;min-height:336px}
.nb-demo .nb-toolbar #nb-shape-note:not([hidden]){display:block;margin:4px 0;font-size:10px;line-height:1.4;color:#657782}
/* Board borders belong beside shape choices, not among decorative figures. */
.nb-demo .nb-border-tools{margin-top:4px;border-top:1px solid var(--nb-border);padding-top:3px}
.nb-demo .nb-border-heading{display:flex;align-items:center;gap:8px;min-height:36px;font-size:11px}
.nb-demo .nb-border-heading strong{margin-right:auto}
.nb-demo .nb-border-heading #nb-border-fit{min-height:36px;padding:5px 8px;font-size:10px;border:1px solid var(--nb-border);border-radius:5px;background:#fff;color:var(--nb-ink)}
.nb-demo .nb-border-heading #nb-border-fit:disabled{opacity:.45}
.nb-demo .nb-border-color-label{display:flex;align-items:center;justify-content:center;width:44px;min-height:40px;margin:0}
.nb-demo #nb-border-color{width:32px;height:30px;min-height:30px;padding:2px;border:1px solid var(--nb-border);border-radius:4px;background:white;cursor:pointer}
.nb-demo .nb-border-options{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding:2px 1px 4px;touch-action:pan-x pan-y}
.nb-demo .nb-border-options::-webkit-scrollbar{display:none}
@media (max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse) {
  .nb-demo .nb-border-options{flex-wrap:wrap;overflow:visible}
  .nb-demo #nb-config-border .nb-border-options button{min-height:44px}
}
.nb-demo .nb-border-options button{flex:0 0 auto;min-width:48px;min-height:36px;font-size:10px;padding:5px 9px;border:1px solid var(--nb-border);border-radius:5px;background:#fff;color:var(--nb-ink)}
.nb-demo .nb-border-options button[aria-pressed=true]{border-color:#008fc5;background:#e8f7ff;color:#006c9c}


.nb-demo .nb-shapes button{height:70px}.nb-demo .nb-shapes img{height:40px}
.nb-demo .nb-font-options button{font-family:Arial,sans-serif}.nb-demo .nb-font-options button>small{display:block;width:100%;height:28px}.nb-demo .nb-font-options img{display:block;width:100%;height:28px;object-fit:contain;object-position:left center}

.nb-demo .nb-font-options button{position:relative}.nb-demo .nb-font-options button[aria-busy=true]::after{content:"…";position:absolute;top:2px;right:6px;font:14px Arial,sans-serif}

/* Execution: material, background/size, border and mounting in one compact dock. */
.nb-demo .nb-toolbar :is(#nb-configuration,#nb-background-settings){grid-template-rows:88px 80px 82px 86px;overflow:hidden}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-config-panel{padding:4px 10px;overflow:hidden}
.nb-demo :is(#nb-configuration,#nb-background-settings) h3{font-size:11px;line-height:14px;margin:0 0 3px}
.nb-demo :is(#nb-configuration,#nb-background-settings) .nb-material-note{height:12px;min-height:0;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0 0}
.nb-demo #nb-config-background{grid-template-rows:18px 44px;gap:3px 8px}
.nb-demo #nb-config-background>.nb-small{display:none}
.nb-demo #nb-config-background>.nb-transparent-option{top:2px;font-size:9px}
.nb-demo #nb-config-border .nb-border-tools{margin:0;padding:0;border:0}
.nb-demo #nb-config-border .nb-border-heading{height:32px;min-height:32px}
.nb-demo #nb-config-border .nb-border-color-label{height:32px;min-height:32px}
.nb-demo #nb-config-border #nb-border-fit{height:32px;min-height:32px}
.nb-demo #nb-config-mounting>h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.nb-demo #nb-config-mounting .nb-mount-group legend{font-size:10px;line-height:14px;margin:0}
.nb-demo #nb-config-mounting #nb-mounting-note{height:12px;line-height:12px;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:380px){.nb-demo #nb-config-background{grid-template-columns:minmax(0,1fr) 120px}.nb-demo #nb-config-background #nb-white-background{min-width:30px;padding:3px}}
/* One mounting decision beside the border; the bottom of the dock stays free. */
.nb-demo .nb-toolbar :is(#nb-configuration,#nb-background-settings){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:88px 80px 132px 36px}
.nb-demo #nb-config-material{grid-column:1/-1;grid-row:1}
.nb-demo #nb-config-background{grid-column:1/-1;grid-row:2}
.nb-demo #nb-config-border{grid-column:1;grid-row:3;border-right:1px solid var(--nb-border)}
.nb-demo #nb-config-mounting{grid-column:2;grid-row:3}
.nb-demo .nb-mount-choice{border:0;padding:0;margin:0;min-width:0}
.nb-demo .nb-mount-choice legend{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:11px;font-weight:bold;line-height:16px;margin:0 0 5px;padding:0}
.nb-demo #nb-mount-count{font-size:9px;font-weight:normal;color:#657782;white-space:nowrap}
.nb-demo .nb-mount-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.nb-demo .nb-mount-choices label{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:44px;border:1px solid var(--nb-border);border-radius:5px;padding:3px;font-size:10px;line-height:1.2;font-weight:normal;cursor:pointer}
.nb-demo .nb-mount-choices label:has(input:checked){border-color:#008fc5;background:#e8f7ff}
.nb-demo .nb-mount-choices label:has(input:disabled){opacity:.5;cursor:default}
.nb-demo .nb-mount-choices input{width:12px;height:12px;min-height:12px;margin:0;padding:0;flex:none;accent-color:#008fc5}
.nb-demo #nb-config-border #nb-border-fit{display:inline-flex;align-items:center;justify-content:center;gap:4px}
.nb-demo #nb-config-border .nb-border-heading{gap:4px}
.nb-demo #nb-config-border .nb-border-heading strong{margin-right:auto}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo #nb-config-border .nb-border-fit-label{display:none}.nb-demo #nb-config-border #nb-border-fit{width:32px;min-width:32px;padding:4px}.nb-demo #nb-config-border .nb-border-color-label{width:34px}}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo .nb-mount-choices label{flex-direction:column;gap:2px;padding:3px 2px}}
/* Background presets reuse the stored print colour; dimensions follow board shape. */
.nb-demo #nb-config-background{grid-column:1;grid-row:2;display:block;min-width:0}
.nb-demo #nb-config-background>h3{margin:0 0 3px}
.nb-demo #nb-config-background #nb-format{display:none}
.nb-demo #nb-config-background .nb-background-picker{display:flex;gap:4px;width:100%;min-width:0}
.nb-demo #nb-config-background #nb-background{width:36px;min-width:36px;flex:none}
.nb-demo #nb-config-background #nb-background-hex{width:0;min-width:0;flex:1;padding:4px;font-size:10px}
.nb-demo #nb-config-background #nb-white-background{display:none}
.nb-demo #nb-config-background>.nb-transparent-option{position:static;font-size:9px;min-height:0;margin:0}
.nb-demo #nb-config-backgrounds{grid-column:2;grid-row:2;min-width:0;border-left:1px solid var(--nb-border)}
.nb-demo #nb-config-backgrounds h3{margin:0 0 3px;font-size:11px}
.nb-demo .nb-background-options{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;touch-action:pan-x pan-y;padding:1px 1px 3px}
.nb-demo .nb-background-options::-webkit-scrollbar{display:none}
.nb-demo .nb-background-options button{flex:0 0 52px;min-height:44px;padding:3px;border:1px solid var(--nb-border);border-radius:5px;background:white;color:var(--nb-ink)}
.nb-demo .nb-background-options button span{display:block;height:20px;border:1px solid #ddd;border-radius:2px}
.nb-demo .nb-background-options button small{display:block;font-size:8px;margin-top:2px;white-space:nowrap}
.nb-demo .nb-background-options button[aria-pressed=true]{border-color:#008fc5;box-shadow:0 0 0 1px #008fc5}
.nb-demo .nb-background-options button:disabled{opacity:.45}
@media(min-width:1000px){
.nb-demo .nb-toolbar :is(#nb-configuration,#nb-background-settings){grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:88px 132px 80px 36px}
.nb-demo #nb-config-background{grid-column:1/3;grid-row:2}
.nb-demo #nb-config-backgrounds{grid-column:3/5;grid-row:2}
.nb-demo #nb-config-border{grid-column:5/7;grid-row:2}
.nb-demo #nb-config-mounting{grid-column:1/-1;grid-row:3}
.nb-demo #nb-config-mounting .nb-mount-choices{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.nb-demo #nb-config-background>.nb-transparent-option{position:absolute;right:7px;top:2px;font-size:0;min-height:16px;line-height:16px;margin:0}
.nb-demo #nb-config-background>.nb-transparent-option::after{content:'Transp.';font-size:9px}
.nb-demo #nb-config-background>.nb-transparent-option input{width:12px;height:12px;min-height:12px;margin:0 3px 0 0}
.nb-demo .nb-background-options button[data-background-design]{flex-basis:72px}
.nb-demo .nb-background-options button[data-background-design] img{display:block;width:100%;height:24px;object-fit:cover;border-radius:2px}
.nb-demo .nb-background-options button[data-background-design] small{font-size:8px}
/* Separate draggable colour swatches from the background image carousel. */
.nb-demo #nb-config-background .nb-color-options{overflow-x:auto;scrollbar-width:none;touch-action:pan-x pan-y;min-width:0;padding:1px 2px 3px;gap:4px}
.nb-demo .nb-color-options::-webkit-scrollbar{display:none}
.nb-demo #nb-config-background #nb-background-hex{display:none}
.nb-demo #nb-config-background .nb-color-options #nb-background{flex:0 0 36px;min-height:44px;height:44px;padding:3px}
.nb-demo .nb-color-options button[data-background]{flex:0 0 38px;min-width:38px;min-height:44px;height:44px;border:1px solid var(--nb-border);border-radius:5px;background:#fff;padding:5px}
.nb-demo .nb-color-options button[data-background] span{display:block;width:26px;height:26px;border:1px solid #ddd;border-radius:50%}
.nb-demo .nb-color-options button[data-background] small{display:none}
.nb-demo .nb-color-options button[aria-pressed=true]{border-color:#008fc5;box-shadow:0 0 0 1px #008fc5}
.nb-demo .nb-color-options button:disabled{opacity:.45}
/* Live sample uses only the text object being edited; card geometry stays fixed. */
.nb-demo .nb-font-options .nb-font-live-preview{display:block;width:100%;height:28px;line-height:28px;font-size:20px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.nb-demo .nb-stage{position:relative}
.nb-demo #nb-mount-warning rect{fill:none;stroke:#ad772b;stroke-width:1.2;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}
.nb-demo .nb-canvas-bottom{height:44px;min-height:44px;flex-wrap:nowrap;padding:4px 12px;overflow:hidden}
.nb-demo .nb-mount-safety{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;min-width:0;width:100%;color:#77551d;font-size:10px;line-height:1.4}
.nb-demo .nb-mount-safety>span{display:block!important;flex:none}
.nb-demo .nb-mount-safety button{flex:1;min-width:0;max-width:130px;min-height:30px;padding:3px 7px;border:1px solid #dcc9a6;border-radius:4px;background:#fffaf0;color:inherit;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.nb-demo .nb-canvas-bottom:has(#nb-mount-safety:not([hidden]))>#nb-dimensions,.nb-demo .nb-canvas-bottom:has(#nb-mount-safety:not([hidden]))>#nb-frame-safety{display:none}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){.nb-demo .nb-canvas-bottom>#nb-frame-safety{display:none}}
/* Keep the fixed status row directly beneath the board, above the option dock. */
.nb-demo .nb-canvas-bottom{order:3}
.nb-demo .nb-toolbar{order:4}

.nb-duplicate-handle{touch-action:manipulation;cursor:pointer}.nb-duplicate-handle:focus-visible{outline:none}.nb-duplicate-handle:focus-visible circle:nth-child(2){stroke:#0054bc;stroke-width:2}
.nb-demo .nb-designs button>img{display:block;width:138px;height:92px;object-fit:cover;border-radius:4px}.nb-demo .nb-designs button{flex:0 0 156px;min-height:126px;padding:6px;gap:4px;flex-direction:column}.nb-demo .nb-layout-presets>.nb-small{margin-top:5px}
.nb-demo .nb-toolbar #nb-copy{width:100%;height:64px;min-height:64px;resize:none;font:16px/1.3 Arial,sans-serif;padding:8px 10px;border:1px solid var(--nb-border);border-radius:6px}.nb-demo .nb-text-layout{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}.nb-demo .nb-text-layout>div{display:flex;gap:4px}.nb-demo .nb-text-layout button{min-width:40px;min-height:40px;padding:4px 9px}.nb-demo .nb-text-layout button[aria-pressed=true]{border-color:#0054bc;background:#eaf4fc}.nb-demo .nb-text-layout label{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.nb-demo .nb-text-layout input{width:70px;min-width:0;min-height:40px}.nb-demo .nb-text-layout output{min-width:22px}.nb-demo .nb-font-live-preview{white-space:pre-line}
.nb-preset-admin{max-width:1376px;margin:20px auto;padding:14px 20px;border:1px solid #b8d5ef;background:#f2f8fd;border-radius:8px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;color:#123c60;font:14px Arial,sans-serif}.nb-preset-admin>div{flex:1}.nb-preset-admin strong,.nb-preset-admin span{display:block}.nb-preset-admin span{font-size:12px;margin-top:4px}.nb-preset-admin button{padding:12px 18px;background:#008fc5;color:#fff;border:0;border-radius:6px;cursor:pointer;font-weight:bold;min-height:44px}.nb-preset-admin button:disabled{opacity:.5}.nb-preset-admin p{width:100%;margin:0}.nb-preset-admin p:empty{display:none}
.nb-demo .nb-designs button>img{object-fit:contain}

/* Text formatting stays in one compact, swipeable row below the copy field. */
.nb-demo .nb-text-layout{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;gap:10px;padding:2px 0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.nb-demo .nb-text-layout::-webkit-scrollbar{display:none}.nb-demo .nb-text-layout>div,.nb-demo .nb-text-layout>label{flex-shrink:0}.nb-demo .nb-text-layout button{font-size:16px;min-width:44px;min-height:44px}.nb-demo .nb-text-layout input[type=range]{min-height:44px;height:44px;padding:0;width:72px}.nb-demo .nb-toolbar #nb-copy{height:48px;min-height:48px}.nb-demo .nb-text-layout label{margin:0!important}.nb-demo .nb-text-layout>div+div{border-left:1px solid var(--nb-border);padding-left:10px}

.nb-demo .nb-toolbar label[for=nb-copy]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Size and colour share the text formatting rail. */
.nb-demo .nb-toolbar .nb-text-layout #nb-selected{height:44px;padding:0;gap:6px;flex:0 0 auto;flex-wrap:nowrap;width:auto}.nb-demo .nb-toolbar .nb-text-layout #nb-selected label{min-width:0;flex:none;gap:5px}.nb-demo .nb-toolbar .nb-text-layout #nb-size{width:72px;min-width:72px;min-height:44px;height:44px;padding:0}.nb-demo .nb-toolbar .nb-text-layout #nb-center{padding:4px;min-width:44px;font-size:20px}.nb-demo .nb-toolbar .nb-text-layout .nb-inline-color{display:flex;flex:0 0 44px;align-items:center}.nb-demo .nb-toolbar .nb-text-layout input[type=color]{width:44px;height:44px;min-height:44px;padding:4px;border:1px solid var(--nb-border);border-radius:6px;background:#fff}.nb-demo .nb-toolbar #nb-text .nb-text-layout .nb-colors{float:none;margin:0;display:flex;gap:4px;flex-shrink:0}.nb-demo .nb-toolbar #nb-text .nb-text-layout .nb-colors button{margin:0;width:44px;height:44px;min-width:44px;min-height:44px}

/* Persistent text workspace: tools above, text beside a two-column font browser. */
.nb-demo .nb-toolbar #nb-text{display:flex;flex-direction:column;gap:7px}.nb-demo #nb-text>.nb-text-layout{flex:0 0 48px;height:48px;margin:0;min-width:0;width:100%}.nb-demo #nb-text>.nb-text-layout #nb-selected{position:sticky;left:0;background:#fff;z-index:2;box-shadow:5px 0 5px #fff}.nb-demo .nb-text-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px;min-height:0;flex:1}.nb-demo .nb-text-entry,.nb-demo .nb-font-browser{min-width:0;min-height:0;display:flex;flex-direction:column;gap:4px}.nb-demo .nb-text-entry>label,.nb-demo .nb-font-heading{font:11px/14px Arial,sans-serif;color:var(--nb-ink);margin:0!important}.nb-demo .nb-toolbar .nb-text-entry #nb-copy{flex:1;min-height:36px;height:auto;padding:6px 8px}.nb-demo .nb-toolbar #nb-text .nb-text-entry #nb-add-text{align-self:flex-end;margin:0;min-height:44px;height:44px;padding:5px 12px}.nb-demo .nb-font-browser .nb-font-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:54px;gap:4px;min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y proximity;scrollbar-width:none;padding:1px 2px 3px;-webkit-mask-image:none;mask-image:none;overscroll-behavior-y:contain;touch-action:pan-y}.nb-demo .nb-font-browser .nb-font-options::-webkit-scrollbar{display:none}.nb-demo .nb-font-browser .nb-font-options button{width:100%;height:54px;min-height:54px;padding:4px 7px;gap:1px;flex:none}.nb-demo .nb-font-browser .nb-font-options button[aria-pressed=true]{padding:3px 6px}.nb-demo .nb-font-browser .nb-font-options button>span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.nb-demo .nb-font-browser .nb-font-options button>small{height:25px}.nb-demo .nb-font-browser .nb-font-options .nb-font-live-preview{font-size:18px;height:25px;line-height:25px}@media(max-width:500px){.nb-demo .nb-text-columns{grid-template-columns:minmax(0,4fr) minmax(0,5fr);gap:8px}.nb-demo .nb-font-browser .nb-font-options button{padding:4px}.nb-demo .nb-font-browser .nb-font-options button[aria-pressed=true]{padding:3px}}
.nb-demo .nb-toolbar:has(#nb-text:not([hidden])){height:230px;min-height:230px}.nb-demo .nb-toolbar #nb-text{align-items:stretch}.nb-demo .nb-toolbar .nb-text-entry>label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
.nb-demo #nb-text>.nb-text-layout #nb-selected{order:-1;right:auto;bottom:auto}

.nb-demo #nb-text>.nb-text-layout{--nb-swipe-left:#000}

.nb-demo .nb-toolbar #nb-text .nb-text-layout select{width:84px;min-width:84px;height:40px;min-height:40px;padding:4px 20px 4px 7px;font-size:12px;border:1px solid var(--nb-border);border-radius:5px;background-color:#fff;color:var(--nb-ink)}.nb-demo .nb-text-layout .nb-text-spacing{gap:5px;font-size:11px}.nb-demo .nb-font-browser .nb-font-options.nb-is-dragging{scroll-snap-type:none;scroll-behavior:auto}

.nb-preset-name-form{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;border-top:1px solid #b8d5ef;padding-top:12px}.nb-preset-name-form[hidden]{display:none}.nb-preset-name-form label{font-weight:600}.nb-preset-name-form input{min-width:140px;flex:1;min-height:44px;padding:8px 10px;border:1px solid #b8d5ef;border-radius:5px;color:#123c60;background:#fff;font:16px Arial,sans-serif}.nb-preset-name-form [data-preset-cancel]{background:#fff;color:#123c60;border:1px solid #b8d5ef}@media(max-width:500px){.nb-preset-name-form label{width:100%}}
/* Keep preset previews in one swipe rail so visibility loading follows horizontal scrolling. */
.nb-demo .nb-toolbar .nb-designs{flex-wrap:nowrap}

/* Compact background categories share native touch, mouse drag and edge fades. */
.nb-demo .nb-background-categories{display:flex;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;margin-bottom:5px}
.nb-demo .nb-background-categories::-webkit-scrollbar{display:none}
.nb-demo .nb-background-categories button{flex:none;min-height:44px;padding:5px 10px;background:#f6fbff;color:var(--nb-ink);border:1px solid var(--nb-border);border-radius:5px;font-size:11px;white-space:nowrap}
.nb-demo .nb-background-categories button[aria-pressed=true]{background:var(--nb-accent);color:white;border-color:var(--nb-accent)}
.nb-demo .nb-background-options button[hidden]{display:none}
@media(max-width:999px){
.nb-demo .nb-toolbar:has(:is(#nb-configuration,#nb-background-settings):not([hidden])){height:384px;min-height:384px}
.nb-demo .nb-toolbar :is(#nb-configuration,#nb-background-settings){grid-template-rows:88px 128px 132px 36px}
}
/* Text and figure toolbars start with size, colour picker and swatches. */
.nb-demo .nb-figure-tools{flex-wrap:nowrap;gap:6px;height:48px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;touch-action:pan-x pan-y}
.nb-demo .nb-figure-tools::-webkit-scrollbar{display:none}
.nb-demo .nb-figure-tools>*{flex-shrink:0}
.nb-demo .nb-figure-tools .nb-figure-size{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;height:44px;position:sticky;left:0;background:#fff;z-index:2;box-shadow:5px 0 5px #fff}
.nb-demo .nb-figure-tools #nb-figure-size{width:72px;min-width:72px;height:44px;min-height:44px;padding:0;margin:0}
.nb-demo .nb-figure-tools .nb-figure-custom{margin:0;flex:0 0 44px}
.nb-demo .nb-figure-tools .nb-figure-custom span{display:none}
.nb-demo .nb-figure-tools #nb-figure-color{width:44px;height:44px;min-height:44px;padding:4px;border:1px solid var(--nb-border);border-radius:6px;background:#fff}
.nb-demo .nb-figure-tools .nb-figure-colors{flex:0 0 auto;overflow:visible;gap:4px}
.nb-demo .nb-figure-tools .nb-figure-colors button{width:44px;height:44px;min-width:44px;min-height:44px;margin:0}
.nb-demo .nb-figure-tools .nb-upload-figure{white-space:nowrap}

/* Admin actions live beside the design, immediately above the help section. */
.nb-demo .nb-sidebar .nb-preset-admin{width:100%;margin:18px 0 0;padding:12px;gap:10px;align-items:stretch}
.nb-demo .nb-sidebar .nb-preset-admin>div{flex:1 0 100%}
.nb-demo .nb-sidebar .nb-preset-admin>button{width:100%;min-height:44px}
.nb-demo .nb-sidebar .nb-preset-admin>a{font-size:12px}

.nb-demo #nb-config-border [data-border-center]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;min-height:32px;padding:4px;border:1px solid var(--nb-border);border-radius:5px;background:#fff;color:var(--nb-ink)}
.nb-demo #nb-config-border [data-border-center]:disabled{opacity:.45}

/* Shared swatches and deliberately opened slider controls. */
.nb-demo .nb-toolbar #nb-text .nb-text-layout #nb-colors button,.nb-demo .nb-figure-tools #nb-figure-colors button{position:relative;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:6px;margin:0;border:1px solid transparent;border-radius:6px;background:transparent;outline:none;box-shadow:none}
.nb-demo .nb-toolbar #nb-text .nb-text-layout #nb-colors button::after,.nb-demo .nb-figure-tools #nb-figure-colors button::after{content:'';display:block;width:100%;height:100%;border:1px solid #c8ceca;border-radius:50%;background:var(--swatch,var(--figure-swatch))}
.nb-demo .nb-toolbar #nb-text .nb-text-layout #nb-colors button[aria-pressed=true],.nb-demo .nb-figure-tools #nb-figure-colors button[aria-pressed=true]{border-color:var(--nb-accent);background:#f6fbff}
.nb-demo .nb-slider-trigger{white-space:nowrap;min-height:44px;padding:6px 10px;border:1px solid var(--nb-border);border-radius:6px;background:#fff;color:var(--nb-ink);flex-shrink:0;font-size:12px}
.nb-demo .nb-slider-popover{position:fixed;margin:0;padding:12px 16px;border:1px solid var(--nb-border);border-radius:8px;background:white;color:var(--nb-ink);box-shadow:0 6px 24px #123c6026;overflow:visible}
.nb-demo .nb-slider-popover label{display:grid;grid-template-columns:1fr auto;gap:4px;font-size:12px;font-weight:600}
.nb-demo .nb-slider-popover input[type=range]{grid-column:1/-1;width:100%;height:44px;min-height:44px;padding:0;margin:0;touch-action:none}
.nb-demo .nb-slider-trigger:focus-visible,.nb-demo #nb-colors button:focus-visible,.nb-demo #nb-figure-colors button:focus-visible{outline:2px solid var(--nb-accent);outline-offset:1px}

.nb-demo .nb-slider-trigger{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;padding:6px;vertical-align:middle}

.nb-demo #nb-config-backgrounds h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 3px;min-height:24px}.nb-demo #nb-config-backgrounds #nb-background-adjust{height:24px;min-height:24px;width:32px;min-width:32px;padding:2px}.nb-demo .nb-background-overlay label+label{margin-top:6px}.nb-demo .nb-background-overlay>button{min-height:40px;padding:6px 12px;background:#f6fbff;border:1px solid var(--nb-border);border-radius:6px;color:var(--nb-ink)}

.nb-demo #nb-board.nb-crop-editing,.nb-demo #nb-board.nb-crop-editing *{cursor:grab!important}.nb-demo #nb-board.nb-crop-dragging,.nb-demo #nb-board.nb-crop-dragging *{cursor:grabbing!important}

/* Separate material/mounting from visual background controls. */
.nb-demo .nb-toolbar:has(#nb-configuration:not([hidden])){height:220px;min-height:220px}
.nb-demo .nb-toolbar #nb-configuration{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:88px 132px}
.nb-demo #nb-configuration #nb-config-material{grid-column:1;grid-row:1}
.nb-demo #nb-configuration #nb-config-mounting{grid-column:1;grid-row:2}
.nb-demo .nb-toolbar:has(#nb-background-settings:not([hidden])){height:340px;min-height:340px}
.nb-demo .nb-toolbar #nb-background-settings{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:80px 132px 128px}
.nb-demo #nb-background-settings #nb-config-background{grid-column:1;grid-row:1}
.nb-demo #nb-background-settings #nb-config-backgrounds{grid-column:1;grid-row:2}
.nb-demo #nb-background-settings #nb-config-border{grid-column:1;grid-row:3}
.nb-demo .nb-tools{overflow-x:auto;scrollbar-width:none}.nb-demo .nb-tools button{flex-shrink:0}
@media(min-width:1000px){
.nb-demo .nb-toolbar:has(#nb-background-settings:not([hidden])){height:160px;min-height:160px}
.nb-demo .nb-toolbar #nb-background-settings{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:160px}
.nb-demo #nb-background-settings #nb-config-backgrounds{grid-column:2;grid-row:1}
.nb-demo #nb-background-settings #nb-config-border{grid-column:3;grid-row:1}
}

.nb-demo .nb-preset-save-summary{display:flex;align-items:center;gap:10px;grid-column:1/-1;font-size:12px;line-height:1.4}.nb-demo .nb-preset-save-summary img{width:72px;height:72px;object-fit:contain;border-radius:5px}
.nb-demo .nb-background-overlay label{grid-template-columns:76px minmax(0,1fr) 34px;align-items:center;gap:6px;margin:2px 0;font-size:11px}.nb-demo .nb-background-overlay label input[type=range]{grid-column:2;grid-row:1}.nb-demo .nb-background-overlay label output{grid-column:3;grid-row:1;font-size:11px}.nb-demo .nb-background-overlay .nb-small{margin:0 0 6px;line-height:1.4}

.nb-demo .nb-fx-heading,.nb-demo .nb-fx-tabs{display:flex;align-items:center;gap:5px}.nb-demo .nb-fx-heading{justify-content:space-between;margin-bottom:8px}.nb-demo .nb-fx-panel button{min-height:40px;padding:5px 12px;border:1px solid var(--nb-border);border-radius:5px;background:#f6fbff;color:var(--nb-ink)}.nb-demo .nb-fx-tabs button{flex:1}.nb-demo .nb-fx-tabs button[aria-pressed=true]{background:#d6eeff;border-color:#0054bc}.nb-demo .nb-fx-panel .nb-fx-enable,.nb-demo .nb-fx-panel .nb-fx-color{display:flex;align-items:center;gap:8px;margin:8px 0}.nb-demo .nb-fx-panel input[type=checkbox]{width:20px;min-height:20px;height:20px;padding:0}.nb-demo .nb-fx-panel input[type=color]{width:44px;height:40px;min-height:40px;padding:3px}

/* Compact FX controls; ranges stay inside the opened panel. */
.nb-demo .nb-fx-panel{padding:12px}
.nb-demo .nb-fx-panel>label:not(.nb-fx-enable):not(.nb-fx-color){display:grid;grid-template-columns:64px minmax(0,1fr) 34px;align-items:center;gap:6px;margin:4px 0;font-size:11px}
.nb-demo .nb-fx-panel>label input[type=range]{grid-column:2;grid-row:1;width:100%;min-width:0;margin:0}
.nb-demo .nb-fx-panel>label output{grid-column:3;grid-row:1;font-size:11px}
.nb-demo .nb-fx-panel .nb-fx-heading{margin-bottom:4px;font-size:13px}
.nb-demo .nb-fx-panel button{min-height:36px;padding:4px 8px;font-size:12px}
.nb-demo .nb-fx-panel .nb-fx-enable,.nb-demo .nb-fx-panel .nb-fx-color{margin:4px 0;font-size:11px}

.nb-demo .nb-fx-panel .nb-fx-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.nb-demo .nb-fx-panel .nb-fx-note{font-size:11px;line-height:1.4;margin:8px 0 0;color:#697c86}

/* Main menu uses the same drag/swipe rail as the option rows. */
.nb-demo .nb-tools{min-width:0;overflow-y:hidden;overscroll-behavior-x:contain}.nb-demo .nb-tools::-webkit-scrollbar{display:none}.nb-demo .nb-tools button{flex:1 0 120px;white-space:nowrap}

/* Approved mobile menu layout. Desktop geometry above stays unchanged. */
.nb-demo .nb-background-subtabs{display:none}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo .nb-workspace{display:flex;flex-direction:column;height:calc(var(--nb-editor-viewport,100svh) - var(--nb-dock-height,84px) - 8px);min-height:0;scroll-margin-top:0;overflow:hidden}
 .nb-demo .nb-canvas-top>span{font-size:12px;line-height:1.2}
 .nb-demo .nb-text-entry{flex:0 0 auto;position:relative;padding-bottom:0}
 .nb-demo .nb-text-entry>label{grid-column:1;grid-row:1}
 .nb-demo .nb-toolbar #nb-text .nb-text-entry #nb-add-text{grid-column:2;grid-row:1;font-size:13px!important}
 .nb-demo .nb-toolbar .nb-text-entry #nb-copy{grid-column:1/-1;grid-row:2;flex:none}
 .nb-demo .nb-font-browser{flex:1;min-height:78px}
 .nb-demo .nb-font-browser .nb-font-options{flex:none;scroll-snap-type:x proximity;touch-action:pan-x pan-y;overscroll-behavior-x:contain}
 .nb-demo .nb-font-browser .nb-font-options button{scroll-snap-align:start;padding:4px 7px}
 .nb-demo .nb-font-browser .nb-font-options .nb-font-live-preview{white-space:normal;overflow-wrap:anywhere}
 .nb-demo .nb-font-browser .nb-font-options button>span{font-size:11px}
 .nb-demo .nb-purchase-bar #nb-price{font-size:17px;overflow-wrap:normal;word-break:normal}
 .nb-demo .nb-purchase-bar .nb-price-box{min-width:0}
 .nb-demo .nb-purchase-bar #nb-cart{font-size:12px!important}
.nb-demo .nb-canvas-top{order:1;flex:0 0 44px;min-height:44px;padding:0 10px}.nb-demo .nb-canvas-top button{min-width:44px;min-height:44px}.nb-demo .nb-stage{order:2;flex:1 1 auto;min-height:90px!important;height:auto!important;padding:18px!important}.nb-demo .nb-canvas-bottom{order:3;flex:0 0 24px;min-height:24px;height:24px;padding:2px 10px;overflow:hidden;white-space:nowrap}.nb-demo .nb-canvas-bottom span:last-child{display:none}
.nb-demo .nb-toolbar{order:4;flex:0 1 252px;height:252px!important;min-height:0!important;max-height:calc(var(--nb-editor-viewport,100svh) * .48);overflow-y:auto;overflow-x:hidden;border-radius:14px 14px 0 0;box-shadow:0 -4px 16px #123e7610;background:white}.nb-demo .nb-tools{order:5;flex:0 0 auto;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));height:auto;padding:4px 3px 4px;gap:2px;border-top:1px solid #dbe3eb;background:#fff;overflow:visible!important;mask-image:none!important}.nb-demo .nb-tools button{flex-direction:column;justify-content:center;line-height:16px;width:100%;min-width:0;min-height:54px;height:54px;font-size:10px;padding:2px 0;gap:1px;white-space:nowrap;border:0;border-radius:8px}.nb-demo .nb-tools button[aria-expanded=true]{background:#d6eeff;color:#0049ac}.nb-demo .nb-tools .nb-tool-icon{font-size:20px}.nb-demo .nb-tool-plus{display:none!important}
.nb-demo .nb-toolbar .nb-panel{height:100%;min-height:0;padding:8px 10px;overflow-y:auto}.nb-demo .nb-text-layout,.nb-demo .nb-figure-tools{min-height:44px;height:44px;gap:4px;margin-bottom:5px}.nb-demo .nb-text-layout button,.nb-demo .nb-figure-tools button,.nb-demo input[type=color]{min-width:44px;min-height:44px;height:44px!important}.nb-demo .nb-text-layout .nb-colors button,.nb-demo .nb-figure-tools .nb-colors button{width:44px!important}.nb-demo .nb-text-columns{display:flex!important;flex-direction:column;gap:5px}.nb-demo .nb-text-entry{display:grid;grid-template-columns:1fr auto;gap:2px}.nb-demo .nb-text-entry>label{font-size:11px;margin:0;align-self:center}.nb-demo .nb-toolbar #nb-text .nb-text-entry #nb-add-text{height:44px;min-height:44px;margin:0;padding:4px 12px}.nb-demo .nb-toolbar .nb-text-entry #nb-copy{height:48px;min-height:48px;padding:4px 7px;font-size:16px}.nb-demo .nb-font-browser>label{margin:0;font-size:11px}.nb-demo .nb-font-browser .nb-font-options{display:flex!important;flex-direction:row;height:64px;overflow-x:auto;overflow-y:hidden;gap:6px}.nb-demo .nb-font-browser .nb-font-options button{flex:0 0 145px;width:145px;min-height:60px;height:60px}.nb-demo .nb-font-browser .nb-font-options button>small,.nb-demo .nb-font-browser .nb-font-options .nb-font-live-preview{height:30px;line-height:15px;font-size:16px}
.nb-demo .nb-symbols button{flex-basis:94px;min-width:94px;min-height:94px;height:94px}.nb-demo .nb-symbols button small{white-space:normal;line-height:13px;font-size:11px}.nb-demo .nb-figure-categories button,.nb-demo .nb-background-categories button{min-height:44px;padding:4px 10px;font-size:12px}.nb-demo .nb-toolbar #nb-background-settings{display:flex!important;flex-direction:column;gap:6px}.nb-demo .nb-background-subtabs{display:flex;gap:4px;flex:0 0 44px}.nb-demo .nb-background-subtabs button{flex:1;min-height:44px;border:1px solid #dbe3eb;background:#f6fbff;border-radius:7px;color:#123e76;font-size:12px}.nb-demo .nb-background-subtabs button[aria-pressed=true]{background:#d6eeff;border-color:#0054bc}.nb-demo #nb-background-settings>.nb-config-section{height:auto!important;min-height:0!important}.nb-demo #nb-background-settings>[data-background-section]:not(.nb-section-active){display:none!important}.nb-demo #nb-background-settings>[data-background-section]{height:auto!important;max-height:none;overflow:visible;padding:0;border:0}.nb-demo .nb-background-options button{min-width:94px}.nb-demo .nb-toolbar #nb-configuration{height:auto!important;min-height:100%;overflow:visible}.nb-demo .nb-toolbar #nb-designs{height:auto!important;min-height:100%}
.nb-demo .nb-inline-color{flex-shrink:0}
@media(max-height:600px){.nb-demo .nb-toolbar{flex-basis:210px;max-height:55dvh}.nb-demo .nb-stage{min-height:55px!important;padding:6px!important}}
#naambord-demo .nb-toolbar .nb-panel[hidden]{display:none!important}

}

/* While typing, prioritize the board, input, font rail and bottom navigation. */
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo.nb-keyboard-open .nb-canvas-top,.nb-demo.nb-keyboard-open .nb-canvas-bottom{display:none}
 .nb-demo.nb-keyboard-open .nb-tools button{height:48px;min-height:48px}
 .nb-demo.nb-keyboard-open .nb-purchase-bar{padding-top:7px;padding-bottom:7px}
 .nb-demo.nb-keyboard-open .nb-purchase-bar .nb-price-box{height:44px;min-height:44px}
 .nb-demo.nb-keyboard-open .nb-purchase-bar #nb-price{height:28px;min-height:28px;line-height:14px}
 .nb-demo.nb-keyboard-open .nb-stage{min-height:36px!important;padding:6px!important}
 .nb-demo.nb-keyboard-open .nb-toolbar{flex:0 1 150px;height:150px!important;max-height:none}
 .nb-demo.nb-keyboard-open #nb-text .nb-text-layout{display:none}
 .nb-demo.nb-keyboard-open .nb-text-columns{gap:4px}
 .nb-demo.nb-keyboard-open .nb-text-entry>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .nb-demo.nb-keyboard-open .nb-toolbar .nb-text-entry #nb-copy{grid-column:1;grid-row:1;height:44px;min-height:44px}
 .nb-demo.nb-keyboard-open .nb-toolbar #nb-text .nb-text-entry #nb-add-text{grid-column:2;grid-row:1;padding:4px 9px}
 .nb-demo.nb-keyboard-open .nb-font-browser{min-height:0}
 .nb-demo.nb-keyboard-open .nb-font-browser .nb-font-options{height:60px}
 .nb-demo.nb-keyboard-open .nb-font-browser .nb-font-options button{height:56px;min-height:56px}
}

/* Phone landscape: keep the board beside the controls and navigation underneath. */
@media(min-width:600px) and (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo .nb-workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-template-rows:minmax(0,1fr) auto}
 .nb-demo .nb-canvas-top,.nb-demo .nb-canvas-bottom{display:none}
 .nb-demo .nb-stage{grid-column:1;grid-row:1;min-width:0;min-height:0!important;padding:12px!important}
 .nb-demo .nb-toolbar{grid-column:2;grid-row:1;height:100%!important;max-height:none;min-width:0;border-radius:0;overscroll-behavior:contain}
 .nb-demo .nb-tools{grid-column:1/-1;grid-row:2}
 .nb-demo.nb-keyboard-open .nb-purchase-bar{display:none}
 .nb-demo.nb-keyboard-open .nb-toolbar .nb-panel{padding:4px 8px}
 .nb-demo.nb-keyboard-open .nb-font-browser>label{display:none}
 .nb-demo.nb-keyboard-open .nb-font-browser .nb-font-options{height:56px}
}

/* Approved desktop layout; mobile rules and commerce remain shared. */
.nb-desktop-scroll{position:relative;min-width:0;max-width:100%}
.nb-desktop-scroll::before,.nb-desktop-scroll::after{content:'';position:absolute;top:0;bottom:0;width:24px;pointer-events:none;z-index:2;opacity:0}
.nb-desktop-scroll::before{left:0;background:linear-gradient(90deg,#fff,transparent)}
.nb-desktop-scroll::after{right:0;background:linear-gradient(-90deg,#fff,transparent)}
.nb-desktop-scroll.more-left::before,.nb-desktop-scroll.more-right::after{opacity:1}
.nb-demo .nb-desktop-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);border:1px solid #c8d7e4;background:#fff;color:#0054bc;border-radius:50%;height:30px!important;min-height:30px!important;width:30px!important;min-width:30px!important;padding:0!important;font:24px/28px Arial!important;box-shadow:0 2px 8px #123e7620}
.nb-desktop-prev{left:0}.nb-desktop-next{right:0}
@media(pointer:coarse){.nb-demo .nb-desktop-arrow{display:none}}
@media(min-width:1001px){
 #naambord-demo{padding:16px 24px;max-width:1800px}
 .nb-demo .nb-heading{display:none}
 .nb-demo .nb-layout{display:block}
 .nb-demo .nb-designer{display:block}
 .nb-demo .nb-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(420px,1fr);grid-template-rows:62px minmax(0,1fr) 40px auto;height:calc(100dvh - 160px);min-height:540px;overflow:hidden}
 .nb-demo .nb-canvas-top{grid-column:1;grid-row:1;order:initial;padding:8px 20px}
 .nb-demo .nb-stage{grid-column:1;grid-row:2/4;order:initial;height:auto;min-height:0;padding:36px}
 .nb-demo .nb-canvas-bottom{grid-column:1;grid-row:4;order:initial;min-height:48px;padding:12px 20px;align-self:end}
 .nb-demo .nb-tools{grid-column:2;grid-row:1;order:initial;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px;gap:3px;overflow:visible;mask-image:none!important;background:white;border-left:1px solid #dbe3eb}
 .nb-demo .nb-tools button{min-width:0;min-height:48px;flex-direction:column;font-size:11px;padding:3px;gap:0}
 .nb-demo .nb-tools .nb-tool-icon{font-size:20px}
 .nb-demo .nb-toolbar{grid-column:2;grid-row:2/4;order:initial;height:100%!important;min-height:0!important;max-height:none;overflow:hidden;border-left:1px solid #dbe3eb;background:white}
 .nb-demo .nb-toolbar .nb-panel{padding:14px;overflow-y:auto!important;scrollbar-width:thin!important;scrollbar-color:#aabcc9 #f3f7fa;overscroll-behavior:contain}
 #naambord-demo .nb-toolbar .nb-panel[hidden]{display:none!important}
 .nb-demo .nb-toolbar #nb-text{display:flex;flex-direction:column}
 .nb-demo .nb-text-layout,.nb-demo .nb-figure-tools{height:auto;min-height:44px;flex-wrap:wrap;overflow:visible;gap:5px;margin-bottom:12px;mask-image:none!important;flex-shrink:0}
 .nb-demo .nb-text-columns{display:flex!important;flex-direction:column;min-height:0;gap:12px;flex:1}
 .nb-demo .nb-text-entry{flex:none;display:grid;grid-template-columns:1fr auto;gap:5px;padding:0}
 .nb-demo .nb-text-entry>label{grid-column:1;grid-row:1;margin:0}
 .nb-demo .nb-toolbar .nb-text-entry #nb-copy{grid-column:1/-1;grid-row:2;height:80px;min-height:80px;width:100%}
 .nb-demo .nb-toolbar #nb-text .nb-text-entry #nb-add-text{grid-column:2;grid-row:1;position:static;margin:0;height:34px;min-height:34px;padding:4px 12px}
 .nb-demo .nb-font-browser{display:flex;flex-direction:column;min-height:100px;flex:1}
 .nb-demo .nb-font-browser .nb-font-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin!important;scrollbar-color:#aabcc9 #f3f7fa;gap:6px;mask-image:none!important}
 .nb-demo .nb-font-options button{width:100%;min-width:0;height:76px;min-height:76px}
 .nb-demo .nb-font-options button small{white-space:normal!important;overflow-wrap:anywhere;font-size:22px}
 .nb-demo .nb-workspace>.nb-purchase-bar{grid-column:2;grid-row:4;min-width:0;padding:10px 14px;border-left:1px solid #dbe3eb;border-top:1px solid #dbe3eb;background:#f6fbff}
 .nb-demo .nb-workspace>.nb-purchase-bar{display:flex;align-items:center;gap:12px;position:static}
 .nb-demo .nb-purchase-bar .nb-price-box{height:auto;min-height:0;flex:1;margin:0}
 .nb-demo .nb-purchase-bar #nb-price{font-size:20px;min-height:0}
 .nb-demo .nb-purchase-bar #nb-cart{width:auto;flex:1;margin:0;font-size:13px!important}
 .nb-demo .nb-toolbar #nb-background-settings{display:flex;flex-direction:column;gap:16px}
 .nb-demo #nb-background-settings>.nb-config-section{height:auto!important;min-height:0;padding:0 0 12px;border-bottom:1px solid #e0e7ed;flex:none}
 .nb-demo .nb-toolbar #nb-configuration{display:flex;flex-direction:column;gap:20px}
 .nb-demo #nb-configuration>.nb-config-section{height:auto;min-height:0;flex:none}
 .nb-demo .nb-desktop-scroll>.nb-colors,.nb-demo .nb-desktop-scroll>.nb-figure-colors{float:none!important;margin:0!important;max-width:240px;overflow-x:auto;flex-wrap:nowrap}
 .nb-demo .nb-desktop-scroll> :is(.nb-material-swatches,.nb-shapes,.nb-designs){flex-wrap:nowrap;overflow-x:auto;mask-image:none!important}
 .nb-demo .nb-desktop-scroll> .nb-designs button{flex:0 0 128px}
 .nb-demo .nb-symbols{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));overflow-y:auto!important;overflow-x:hidden!important;max-height:none!important;scrollbar-width:thin!important;mask-image:none!important}
 .nb-demo .nb-symbols button{width:100%;min-width:0;height:100px;min-height:100px}
}
@media(min-width:1001px){
 .nb-demo #nb-text>.nb-text-layout{flex:0 0 auto;height:auto;min-height:44px;margin:0 0 8px}
 .nb-demo .nb-text-layout>button{border:1px solid #dbe3eb;border-radius:6px;background:#f6fbff;color:#123e76;padding:6px;min-height:40px;min-width:40px}
 .nb-demo .nb-text-layout>button[aria-pressed=true]{background:#d6eeff;border-color:#0054bc}
 .nb-demo .nb-font-browser .nb-font-options{grid-auto-rows:76px}
 .nb-demo .nb-font-browser .nb-font-options button{height:76px;min-height:76px}
 .nb-demo .nb-font-browser .nb-font-options::-webkit-scrollbar,.nb-demo .nb-toolbar .nb-panel::-webkit-scrollbar{display:block;width:7px}
 .nb-demo .nb-font-browser .nb-font-options::-webkit-scrollbar-thumb,.nb-demo .nb-toolbar .nb-panel::-webkit-scrollbar-thumb{background:#aabcc9;border-radius:7px}
 .nb-demo .nb-desktop-scroll> :is(.nb-material-swatches,.nb-shapes,.nb-color-options){overflow-x:auto;flex-wrap:nowrap;mask-image:none!important}
}
@media(min-width:1001px){
 .nb-demo .nb-text-layout [role=group] button{border:1px solid #dbe3eb;border-radius:6px;background:#f6fbff;color:#123e76;min-height:40px;min-width:40px;padding:6px}
 .nb-demo .nb-text-layout [role=group] button[aria-pressed=true]{background:#d6eeff;border-color:#0054bc}
 .nb-demo .nb-purchase-bar .nb-price-box p{margin:0;font-size:12px}
 .nb-demo .nb-purchase-bar #nb-price{line-height:1.3;font-size:18px}
}

@media(min-width:1001px){
 .nb-demo .nb-sidebar{max-width:640px;margin:20px 0 0 auto;padding:0}
 .nb-demo .nb-workspace>.nb-purchase-bar{flex-wrap:wrap}
 .nb-demo .nb-workspace>.nb-purchase-bar>[role=status],.nb-demo .nb-workspace>.nb-purchase-bar>[role=alert]{flex-basis:100%}
 .nb-demo .nb-desktop-scroll>.nb-swipe-rail{mask-image:none!important}
}
@media(min-width:1001px){
 .nb-demo .nb-workspace>.nb-purchase-bar #nb-price{height:auto;min-height:0}
 body:has(#naambord-demo) .webwinkelkeur-sidebar{display:none!important}
}

/* Mobile scroll cues, without moving or resizing the panels themselves. */
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo .nb-toolbar .nb-swipe-rail:not(.nb-text-layout){
  -webkit-mask-image:linear-gradient(to right,var(--nb-swipe-left,#000),#000 18px,#000 calc(100% - 18px),var(--nb-swipe-right,#000))!important;
  mask-image:linear-gradient(to right,var(--nb-swipe-left,#000),#000 18px,#000 calc(100% - 18px),var(--nb-swipe-right,#000))!important;
  scrollbar-width:none;
 }
 .nb-demo .nb-font-browser .nb-font-options button{flex-basis:var(--nb-mobile-card-width,145px);width:var(--nb-mobile-card-width,145px)}
 .nb-demo .nb-toolbar .nb-symbols button{flex-basis:var(--nb-mobile-card-width,94px);width:var(--nb-mobile-card-width,94px)}
 .nb-demo .nb-material-swatches button,.nb-demo .nb-shapes button{flex-basis:var(--nb-mobile-card-width,145px);width:var(--nb-mobile-card-width,145px)}
}

/* A vertical swipe over controls must reach the panel/page scroll container. */
.nb-demo input[type=range]{touch-action:pan-y!important}
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 .nb-demo .nb-toolbar,.nb-demo .nb-toolbar .nb-panel,.nb-demo .nb-config-panel,
 .nb-demo .nb-font-browser .nb-font-options,.nb-demo .nb-slider-popover{overscroll-behavior-y:auto!important}
 .nb-demo .nb-mount-row,.nb-demo .nb-radio-options,.nb-demo .nb-mount-choices{touch-action:pan-x pan-y}
}

/* Keep text colors together in a compact popup instead of the toolbar. */
.nb-color-trigger-swatch{display:block;flex:none;width:28px;height:28px;border-radius:3px;background:var(--text-color,#000);border:1px solid #cbd2cf}
/* All text controls share one horizontal rail, including on desktop. */
.nb-demo .nb-toolbar #nb-text>.nb-text-layout{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;flex:0 0 auto;height:auto;min-height:52px;max-width:100%;padding-bottom:6px;scrollbar-width:thin;touch-action:pan-x pan-y;overscroll-behavior-x:contain}
.nb-demo .nb-toolbar #nb-text>.nb-text-layout>*{flex-shrink:0}
.nb-demo .nb-toolbar #nb-text>.nb-text-layout #nb-selected{position:static;box-shadow:none;flex:none}
.nb-demo #nb-font-size-trigger{display:inline-flex;align-items:center;gap:6px;width:auto!important;min-width:92px;white-space:nowrap;font-size:12px;padding:6px 8px}
.nb-demo #nb-font-size-value{font-weight:700;font-variant-numeric:tabular-nums}
/* Shared color control for text, figures, backgrounds, borders and effects. */
.nb-demo #nb-colors,.nb-demo #nb-figure-colors,.nb-demo #nb-background-hex,.nb-demo #nb-white-background,.nb-demo [data-background]{display:none!important}
.nb-demo .nb-text-color-trigger{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px;border:1px solid #dbe3eb;border-radius:6px;background:#fff}
.nb-demo .nb-unified-color-panel{box-sizing:border-box;overflow:auto}
.nb-demo .nb-unified-color-panel>strong{display:block;margin-bottom:12px}
.nb-demo .nb-unified-color-panel>label{display:block;margin:10px 0;font-size:12px}
.nb-demo .nb-unified-color-panel input{display:block;width:100%;box-sizing:border-box;min-height:44px}
/* The real native color input covers the visible control, including its text. */
.nb-demo .nb-color-plane {
  position:relative;
  height:clamp(92px, 18vh, 155px);
  overflow:hidden;
  border:1px solid #cbd2cf;
  border-radius:6px;
  cursor:crosshair;
  touch-action:none;
  background:linear-gradient(to top,#000,transparent),
    linear-gradient(to right,#fff,transparent), hsl(var(--nb-hue,0) 100% 50%);
}
.nb-demo .nb-color-plane span {
  position:absolute;
  left:clamp(7px,var(--nb-saturation,0%),calc(100% - 7px));
  top:clamp(7px,var(--nb-darkness,100%),calc(100% - 7px));
  width:14px;
  height:14px;
  box-sizing:border-box;
  transform:translate(-50%,-50%);
  border:2px solid #fff;
  border-radius:50%;
  box-shadow:0 0 2px 1px #000;
  background:var(--nb-picker-color,#000);
  pointer-events:none;
}
.nb-demo .nb-unified-color-panel .nb-color-hue input[type=range] {
  appearance:none;
  min-height:36px;
  height:36px;
  margin:0;
  padding:0;
  border:0;
  background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red) center / 100% 10px no-repeat;
  cursor:pointer;
}
.nb-demo .nb-color-hue input::-webkit-slider-thumb {
  appearance:none;
  width:22px;
  height:22px;
  border:2px solid #fff;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 1px #4d5350, inset 0 0 0 4px #4d5350;
}
.nb-demo .nb-color-hue input::-moz-range-thumb {
  box-sizing:border-box;
  width:22px;
  height:22px;
  border:2px solid #fff;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 1px #4d5350, inset 0 0 0 4px #4d5350;
}
.nb-demo .nb-color-code span {display:flex;align-items:center;gap:8px}
.nb-demo .nb-color-code input {min-width:0}
.nb-demo .nb-color-code i {
  width:36px;
  height:36px;
  flex:none;
  border:1px solid #cbd2cf;
  border-radius:5px;
  background:var(--nb-picker-color,#000);
}
.nb-demo .nb-color-plane:focus-visible,
.nb-demo .nb-color-hue input:focus-visible,
.nb-demo .nb-text-color-trigger:focus-visible {outline:2px solid #0755bb;outline-offset:2px}
.nb-demo #nb-config-background #nb-background-trigger{flex:0 0 auto;width:max-content!important;max-width:none;gap:8px;justify-content:flex-start;padding-inline:8px 12px}
.nb-demo .nb-color-trigger-label{font-size:12px;font-weight:600;white-space:nowrap}
.nb-demo .nb-unified-swatches{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.nb-demo .nb-unified-swatches button{width:40px;height:40px;min-width:40px;padding:4px;border:1px solid #cbd2cf;border-radius:6px;background:var(--swatch)}
.nb-demo .nb-unified-swatches button[aria-pressed=true]{outline:2px solid #0755bb;outline-offset:1px}
 .nb-demo #nb-text-shape-trigger{width:44px;min-width:44px;padding:6px}
.nb-demo #nb-text-shape-trigger[data-active=true]{background:#e5f3ff;border-color:#0755bb}
.nb-demo .nb-text-shape-panel{box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:10px}

/* Keep upload rejection and recovery beside the figure picker, including mobile. */
.nb-demo .nb-figure-upload-error{padding:12px;margin:8px 0;border:1px solid #b42318;border-radius:6px;background:#fff4f2;color:#8a1c13;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.nb-demo .nb-figure-upload-error[hidden]{display:none}
.nb-demo .nb-figure-upload-error p{margin:6px 0}
.nb-demo .nb-figure-upload-error .nb-small{color:inherit}
.nb-demo .nb-figure-upload-error button{min-height:44px}
.nb-demo .nb-toolbar:has(#nb-figure-upload-error:not([hidden])){height:auto;min-height:360px;max-height:70dvh;overflow-y:auto}

/* Show the preview cards directly in each catalog. */
.nb-demo .nb-toolbar #nb-designs:has(> .nb-designs) {overflow:auto}
.nb-demo :is(#nb-designs > .nb-designs, #nb-config-backgrounds .nb-background-options, #nb-config-border .nb-border-options) {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,124px),1fr));
  gap:8px;
  overflow:visible;
  margin:0;
}
.nb-demo :is(#nb-designs > .nb-designs, #nb-config-backgrounds .nb-background-options, #nb-config-border .nb-border-options) > button {
  width:100%;
  min-width:0;
  min-height:44px;
}
.nb-demo #nb-designs > .nb-designs > button {
  justify-content:flex-start;
}
.nb-demo :is(#nb-config-backgrounds .nb-background-options, #nb-config-border .nb-border-options) > button {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:5px;
  font-size:12px;
  line-height:1.2;
  text-align:center;
}
.nb-demo #nb-config-backgrounds .nb-background-options > button > small {
  font-size:inherit;
  white-space:normal;
  margin:0;
}
.nb-demo :is(#nb-designs > .nb-designs img, #nb-config-border .nb-border-profile-preview),
.nb-demo #nb-config-backgrounds .nb-background-options button[data-background-design] img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3 / 2;
  object-fit:contain;
  border-radius:4px;
}
.nb-demo #nb-config-backgrounds .nb-background-options button[data-background-design] img {
  object-fit:cover;
  background:#f3f5f5;
}
.nb-demo #nb-config-border .nb-border-profile-preview {
  background:#fbf8ef;
  color:#183c30;
  border:1px solid #e0ded2;
}
@media (max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse) {
  .nb-demo :is(#nb-designs > .nb-designs, #nb-config-backgrounds .nb-background-options, #nb-config-border .nb-border-options) {
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    padding-block:2px 5px;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
  }
  .nb-demo :is(#nb-designs > .nb-designs, #nb-config-backgrounds .nb-background-options, #nb-config-border .nb-border-options) > button {
    flex:0 0 146px;
    width:146px;
    scroll-snap-align:start;
  }
}
