.np-choice{color:#172d40;font-family:inherit}.np-choice h2{font-size:27px;font-weight:750;margin:0 0 8px}.np-choice p{line-height:1.6;color:#526274}.np-step{display:block;font-size:16px;font-weight:700;margin:24px 0 12px}.np-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.np-option{min-width:0;overflow:hidden;border:2px solid transparent;border-radius:8px;background:white;text-align:center;cursor:pointer;color:#172d40;box-shadow:0 0 0 1px #c9d5df;padding:0 0 10px}.np-option img{display:block;width:100%;aspect-ratio:1.15;object-fit:cover;margin-bottom:8px}.np-option[aria-pressed=true]{border-color:#087bbe;box-shadow:0 0 0 1px #087bbe;background:#eaf6ff}.np-option strong{display:block;font-size:14px}.np-sizes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.np-size{padding:13px 8px;border:1px solid #bacbd7;border-radius:5px;background:white;font-size:15px;font-weight:650;cursor:pointer}.np-size[aria-pressed=true]{border:2px solid #087bbe;background:#eaf6ff;color:#075a92;padding:12px 7px}.np-selected{border-top:1px solid #d6e0e8;padding-top:18px;margin-top:24px;font-size:14px}.np-primary{display:block;padding:16px 20px;border-radius:5px;background:#087bbe;color:white!important;text-decoration:none;text-align:center;font-weight:700;margin:18px 0 10px}.np-facts{font-size:13px;padding:16px 0;border-top:1px solid #d5dee5;margin-top:20px}.np-preview-note{padding:9px 18px;text-align:center;background:#eaf6ff;color:#173b58;font-size:12px}.np-photo{position:relative;aspect-ratio:1;overflow:hidden;border-radius:9px;background:#e6e3db}.np-photo-caption{padding:12px 0;color:#526274;font-size:12px}.np-photo-caption strong{color:#172d40}.np-editor-size{margin:0 0 18px;padding:14px 18px;border:1px solid #c5dce9;border-radius:7px;background:#f1f8fc;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.np-editor-size label{font-weight:700}.np-editor-size select{display:block!important;padding:10px;background:white;border:1px solid #99b3c4;border-radius:5px;max-width:100%;min-width:210px}.np-editor-size p{font-size:12px;margin:0;color:#526274}#naambord-demo .nb-config-panel[aria-labelledby="nb-config-heading-shape"]{display:none!important}@media(max-width:600px){.np-photo-caption{font-size:11px}.np-choice h2{font-size:24px}.np-editor-size{padding:12px}.np-editor-size select{width:100%}}
.np-editor-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;width:100%}.np-editor-field>span{display:block;font-weight:700;margin-bottom:8px;font-size:14px}.np-editor-shapes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.np-editor-shape{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:67px;border:1px solid #a9c2d1;background:white;border-radius:5px;padding:8px;font-size:12px;cursor:pointer;color:#173e58}.np-editor-shape[aria-pressed=true]{background:#dceffb;border:2px solid #087bbe;padding:7px}.np-outline{display:block;width:18px;height:18px;border:1.5px solid currentColor;border-radius:1px}.np-editor-shape[data-editor-shape=landscape] .np-outline{width:24px;height:16px}.np-editor-shape[data-editor-shape=portrait] .np-outline{width:14px;height:22px}.np-editor-size #np-size{width:100%;min-width:0;margin-top:0;height:67px}.np-scale-note{font-size:11px;line-height:1.5;color:#677785;margin:0 0 12px}@media(max-width:600px){.np-editor-controls{grid-template-columns:1fr;gap:12px}.np-editor-size #np-size{height:43px}.np-editor-shape{min-height:54px}.np-editor-size p{display:none}}


.np-custom-fields:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.np-custom-fields label{font-size:13px;font-weight:600}.np-custom-fields input{display:block;width:100%;padding:10px;background:white;border:1px solid #9ab5c6;border-radius:5px;margin-top:5px}.np-custom-fields p{grid-column:1/-1;font-size:12px}.np-primary[aria-disabled=true]{opacity:.5;cursor:not-allowed}.np-custom-board{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#f4f3ef,#c9caca 28%,#ecece9 55%,#b8babc);box-shadow:2px 3px 4px #0004;color:#18242a;container-type:size}.np-custom-board>span{font:44cqh/.9 Georgia,serif}.np-custom-board>small{font:italic 13cqh/1.5 Georgia,serif}
#naambord-demo .np-add-figure{flex:0 0 auto;white-space:nowrap;padding:8px 12px;min-height:36px;background:#087bbe;color:#fff;border:1px solid #087bbe;border-radius:5px;font-size:13px;font-weight:600;cursor:pointer}
#naambord-demo #nb-configuration>#np-editor-size{margin:0;border:0;border-radius:0;background:transparent}#naambord-demo #nb-configuration .np-editor-shape{font-size:12px}#naambord-demo #nb-configuration #np-size{font-size:13px}#naambord-demo #nb-configuration .np-editor-field>span{font-size:14px}
/* Execution owns one scrolling column; its old fixed grid rows must not overlap the new controls. */
#naambord-demo .nb-toolbar #nb-configuration:not([hidden]){display:flex!important;flex-direction:column!important;gap:0;grid-template:none;height:100%!important;min-height:0!important;max-height:100%;overflow-y:auto!important;overflow-x:hidden!important}#naambord-demo #nb-configuration>.nb-config-panel{flex:none!important;min-height:0;height:auto!important;overflow:visible;grid-area:auto!important}#naambord-demo #nb-configuration>#np-editor-size{padding:12px}
/* Keep background presets visible beside the custom colour picker. */
#naambord-demo #nb-background-settings #nb-config-background{flex:0 0 auto!important;height:auto!important;min-height:0!important;grid-template-rows:auto!important;padding-bottom:12px}
#naambord-demo #nb-config-background .nb-background-picker{display:flex!important;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;width:100%;padding:3px 2px 5px}
#naambord-demo #nb-config-background button[data-background]{display:inline-flex!important;flex:0 0 44px;align-items:center;justify-content:center;min-width:44px;width:44px;height:44px;min-height:44px;padding:6px;border-radius:7px}
#naambord-demo #nb-config-background button[data-background] span{display:block;width:28px;height:28px;border:1px solid #b9c2c9;border-radius:50%}
#naambord-demo #nb-config-background button[data-background]:focus-visible{outline:2px solid #0054bc;outline-offset:2px}
#naambord-demo #nb-config-background #nb-background{flex:0 0 44px;width:44px;min-width:44px;height:44px}

/* Mirror the selected board in the shape thumbnail, without dimension labels. */
.np-option-photo{display:block;position:relative;margin-bottom:8px;overflow:hidden}
.np-option-photo img{margin-bottom:0}
.np-thumb-selection{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);transform:translate(-50%,-50%);outline:1px solid #087bbe;box-shadow:0 0 0 2px #d6eff8b8;border-radius:0;pointer-events:none}
.np-thumb-custom{background:linear-gradient(145deg,#f4f3ef,#c9caca 28%,#ecece9 55%,#b8babc)}

/* Keep the canvas and cockpit inside the visible area above the purchase dock. */
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 #naambord-demo .nb-heading{display:none}
 #naambord-demo .nb-workspace{height:calc(var(--nb-editor-viewport,100svh) - var(--nb-workspace-top,0px) - var(--nb-dock-height,84px) - 8px)}
 #naambord-demo .nb-tools{flex-shrink:0}
 #naambord-demo .nb-toolbar{min-width:0;overscroll-behavior-y:contain!important}
 #naambord-demo .nb-toolbar .nb-panel{overscroll-behavior-y:contain!important}
}

/* Mobile ordering lives in the cockpit header, freeing the separate bottom dock. */
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 #naambord-demo .nb-canvas-top{display:flex!important;flex-wrap:wrap;flex:0 0 auto;height:auto;min-height:0;gap:0 8px;padding:0 8px}
 #naambord-demo .nb-canvas-top>span{flex:1}
 #naambord-demo .nb-canvas-top>.nb-purchase-bar{position:static;inset:auto;z-index:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,1fr);flex:0 0 100%;width:100%;gap:8px;margin:0;padding:6px 0;border:0;border-bottom:1px solid #dbe3eb;background:transparent;box-shadow:none}
 #naambord-demo .nb-canvas-top .nb-price-box{height:auto!important;min-height:0!important}
 #naambord-demo .nb-canvas-top #nb-price{display:block;height:auto!important;min-height:0!important;font-size:17px;line-height:1.15}
 #naambord-demo .nb-canvas-top #nb-cart{min-height:44px;height:auto;margin:0}
 #naambord-demo .nb-canvas-top .nb-canvas-actions{min-height:44px}
 #naambord-demo.nb-keyboard-open .nb-canvas-top>span,#naambord-demo.nb-keyboard-open .nb-canvas-top>.nb-canvas-actions{display:none}
}
@media(min-width:600px) and (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 #naambord-demo .nb-workspace{grid-template-rows:auto minmax(0,1fr) auto}
 #naambord-demo .nb-canvas-top{grid-column:1/-1;grid-row:1;flex-wrap:nowrap;gap:12px}
 #naambord-demo .nb-canvas-top>.nb-purchase-bar{flex:1;max-width:420px;border:0}
 #naambord-demo .nb-canvas-top>span{display:none}
 #naambord-demo .nb-stage,#naambord-demo .nb-toolbar{grid-row:2}
 #naambord-demo .nb-tools{grid-row:3}
}

/* One mobile cockpit row: price, editing actions, then the cart icon. */
@media(max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse){
 #naambord-demo .nb-canvas-top{display:grid!important;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:4px;padding:5px 6px;min-height:56px}
 #naambord-demo .nb-canvas-top>span{display:none}
 #naambord-demo .nb-canvas-top>.nb-purchase-bar{display:contents}
 #naambord-demo .nb-canvas-top .nb-price-box{grid-column:1;grid-row:1;min-width:0;text-align:left}
 #naambord-demo .nb-canvas-top #nb-price{font-size:15px;white-space:nowrap;overflow-wrap:normal}
 #naambord-demo .nb-canvas-top:has(#nb-cart:disabled) #nb-price{font-size:11px;white-space:normal}
 #naambord-demo .nb-canvas-top .nb-mobile-tax{font-size:8px;white-space:normal}
 #naambord-demo .nb-canvas-top .nb-canvas-actions{grid-column:2;grid-row:1;display:flex;gap:2px;min-width:0}
 #naambord-demo .nb-canvas-top .nb-canvas-actions button{width:40px;min-width:40px;height:44px;min-height:44px;margin:0;padding:0}
 #naambord-demo .nb-canvas-top .nb-canvas-actions #nb-reset{width:32px;min-width:32px}
 #naambord-demo .nb-canvas-top #nb-cart{grid-column:3;grid-row:1;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:10px;font-size:0!important;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 5px #0054bc22}
 #naambord-demo .nb-canvas-top #nb-cart>span{display:none}
 #naambord-demo .nb-canvas-top #nb-cart::after{content:'';display:block;width:23px;height:23px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h3l2.5 12h11L21 7H6M9 20h.01M18 20h.01'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center/contain no-repeat}
 #naambord-demo.nb-keyboard-open .nb-canvas-top>.nb-canvas-actions{display:flex}
}

/* The photograph loads directly in HTML; SVG img documents cannot load external images. */
.np-photo,.np-option img{background-image:url('/nameplate-consumer/facade-texture.png');background-position:center;background-size:cover;background-repeat:no-repeat}

.np-preview-board {
    position:absolute;
    left:min(37%, calc(100% - var(--np-preview-width) - 84px));
    top:49%;
    width:var(--np-preview-width);
    aspect-ratio:var(--np-preview-ratio);
    transform:translateY(-50%);
}
.np-preview-size {
    position:absolute;
    left:calc(100% + 6px);
    top:50%;
    transform:translateY(-50%);
    padding:4px 5px;
    border-radius:4px;
    background:#fff;
    color:#172d40;
    white-space:nowrap;
    font-size:10px;
    font-weight:700;
    line-height:1.2;
    box-shadow:0 1px 3px #0002;
}
.np-start-row {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:center;
    gap:8px;
    margin:18px 0 4px;
}
.np-product-page .np-start-row a {
    display:grid;
    place-items:center;
    align-self:stretch;
    min-height:44px;
    margin:0;
    padding:14px 8px;
    line-height:1.2;
}
.np-product-page .np-secondary{background:#fff;color:#075a92!important;box-shadow:inset 0 0 0 1px #087bbe}
.np-base-price{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;line-height:1.15;font-size:11px}
.np-base-price strong{font-size:16px;font-variant-numeric:tabular-nums}
.np-base-price strong[data-price-state="unavailable"]{font-size:12px}
.np-choice .np-price-note{margin:0;font-size:12px;line-height:1.35}
@media(max-width:760px){
 .np-product-page{display:flex;flex-direction:column;padding-top:12px}
 .np-product-page h1{margin:6px 0 10px;font-size:24px;line-height:1.16}
 .np-product-page .np-product-grid,.np-product-page .np-product-gallery{display:contents}
 .np-product-page .np-photo{order:1;width:100%;aspect-ratio:1200 / 628;background-position:center 47%}
 .np-product-page .np-photo-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .np-product-page .np-choice{order:2;margin-top:4px;padding:8px 10px 10px}
 .np-product-page .np-product-intro{order:3;margin:14px 0 0}
 .np-product-page .np-scale-note{order:4}
 .np-product-page .product-gallery-usps{order:5}
 .np-product-page .np-product-information{order:6}
 .np-product-page .np-choice-intro,.np-product-page .np-choice-scale-hint{display:none}
 .np-product-page .np-step{margin:4px 0;font-size:14px;line-height:1.25}
 .np-product-page .np-options,.np-product-page .np-sizes{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .np-product-page .np-options+.np-step{margin-top:8px}
 .np-product-page .np-option,.np-product-page .np-size{padding:4px;min-height:44px;font-size:13px}
 .np-product-page .np-option img,.np-product-page .np-option-photo{display:none}
 .np-product-page .np-selected{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .np-start-row{margin:6px 0 3px}
 .np-product-page .np-start-row a{padding:9px 6px;font-size:13px}
}
@media(max-width:760px) and (max-height:720px){
 .np-product-page{padding-top:4px}
 .np-product-page h1{margin-top:0;margin-bottom:6px}
}

/* Every mobile tab shares the same space below the board. */
@media (max-width:760px), (max-width:1000px) and (max-height:600px) and (pointer:coarse) {
    #naambord-demo .nb-workspace {
        --nb-options-height:284px;
        overflow-anchor:none;
    }
    #naambord-demo:not(.nb-keyboard-open) .nb-canvas-top {
        flex:0 0 56px;
        height:56px;
        grid-template-rows:minmax(0,1fr);
    }
    #naambord-demo:not(.nb-keyboard-open) .nb-toolbar {
        flex:0 0 auto;
        height:min(var(--nb-options-height), max(0px, calc(var(--nb-editor-viewport,100svh) - var(--nb-workspace-top,0px) - 214px)))!important;
        max-height:none;
        overflow:hidden;
    }
    #naambord-demo .nb-toolbar #nb-configuration:not([hidden]) {
        padding:0;
    }
    #naambord-demo #nb-configuration > :is(#np-editor-size,#nb-config-material,#nb-config-mounting) {
        padding:3px 8px;
    }
    #naambord-demo #nb-configuration .np-editor-controls {
        grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
        align-items:end;
        gap:8px;
    }
    #naambord-demo #nb-configuration .np-editor-field > span {
        margin:0 0 3px;
        font-size:11px;
        line-height:14px;
    }
    #naambord-demo #nb-configuration .np-editor-shapes {gap:4px}
    #naambord-demo #nb-configuration .np-editor-shape {
        min-height:44px;
        gap:2px;
        padding:3px 0;
        font-size:10px;
        line-height:12px;
    }
    #naambord-demo #nb-configuration .np-editor-shape .np-outline {
        scale:.8;
        transform-origin:center;
    }
    #naambord-demo #nb-configuration #np-size {
        height:44px;
        min-height:44px;
        margin:0;
        padding:3px 5px;
        font-size:12px;
    }
    #naambord-demo #nb-config-material > h3 {
        margin:0 0 3px;
        font-size:11px;
        line-height:14px;
    }
    #naambord-demo #nb-config-material .nb-material-field {min-width:0}
    #naambord-demo #nb-configuration .nb-material-swatches {
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:4px;
        overflow:visible;
        padding:0;
        mask-image:none!important;
    }
    #naambord-demo #nb-configuration .nb-material-swatches button {
        width:100%;
        min-width:0;
        min-height:44px;
        height:auto;
        padding:3px;
        gap:3px;
        white-space:normal;
        overflow-wrap:anywhere;
    }
    #naambord-demo #nb-configuration .nb-material-sample {
        width:18px;
        height:18px;
        flex:0 0 18px;
    }
    #naambord-demo #nb-config-mounting .nb-mount-choices {
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
    #naambord-demo #nb-config-mounting .nb-mount-choices label {
        flex-direction:row;
        gap:4px;
    }
    #naambord-demo #nb-configuration :is(#nb-material-note,#nb-mounting-note) {
        height:auto;
        min-height:0;
        overflow:visible;
        margin:3px 0 0;
        padding:0;
        border:0;
        white-space:normal;
        line-height:13px;
    }
}
@media (max-width:480px) {
    #naambord-demo .nb-workspace {--nb-options-height:295px}
    #naambord-demo #nb-configuration .np-editor-controls {
        grid-template-columns:minmax(0, 2fr) minmax(0, 1fr);
    }
    #naambord-demo #nb-configuration .nb-material-swatches button {
        flex-direction:column;
        align-items:center;
        text-align:center;
    }
}
@media (max-width:360px) {
    #naambord-demo .nb-workspace {--nb-options-height:316px}
}
@media (min-width:600px) and (max-width:1000px) and (max-height:600px) and (pointer:coarse) {
    #naambord-demo:not(.nb-keyboard-open) .nb-toolbar {
        height:100%!important;
        max-height:none;
    }
    #naambord-demo #nb-configuration > :is(#np-editor-size,#nb-config-material,#nb-config-mounting) {
        padding-block:1px;
    }
    #naambord-demo:not(.nb-keyboard-open) .nb-canvas-top {
        height:44px;
        min-height:44px;
        padding-block:0;
    }
    #naambord-demo .nb-tools button {
        height:44px;
        min-height:44px;
    }
}
