/* Customer/admin mode foundation */
.owner-add-template-card{border:2px dashed #ed7334!important;min-height:300px}.owner-template-actions{display:flex;gap:10px;margin-top:auto}.owner-template-actions button{flex:1}
.creation-showcase{margin-top:86px;padding-top:68px;border-top:1px solid #343a44}.creation-showcase .section-heading{max-width:780px}.creation-showcase .partner-grid{margin-top:30px}
body[data-mode="customer"] .admin-only{display:none!important}
body[data-mode="admin"] .customer-only{display:none!important}
.admin-mode-switch{display:none}.admin-mode-switch[aria-hidden="true"]{display:none!important}body[data-owner-access="true"] .admin-mode-switch{display:flex}
body[data-mode="customer"] main,body[data-mode="admin"] main{grid-template-columns:340px minmax(480px,1fr) 330px}
header{gap:18px}.mode-switch{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#0f1115}
.mode-switch button{width:auto;margin:0;padding:7px 11px;border:0;background:transparent;color:#9ea5b1;text-align:center;font-size:12px}
.mode-switch button.active{background:#2a2f39;color:#fff;box-shadow:inset 0 0 0 1px #444b57}
.mode-badge{display:inline-block;margin-right:8px;padding:4px 7px;border-radius:999px;background:#2e9f6f22;border:1px solid #2e9f6f66;color:#66d6a3;font-size:10px;font-weight:800;letter-spacing:.08em}
body[data-mode="admin"] .mode-badge{background:#ff6b1a22;border-color:#ff6b1a66;color:#ff8c4b}
textarea{width:100%;resize:vertical;padding:9px 10px;border-radius:7px;border:1px solid var(--line);background:#111318;color:#fff;font:inherit}
.eyebrow{font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#ff8c4b;margin-bottom:5px}
.customer-panel h1,.customer-summary-panel h1{font-size:25px;line-height:1.1;margin:0 0 10px}.customer-intro{font-size:13px;line-height:1.55;color:#aeb4c0;margin:0 0 18px}
.template-gallery{display:grid;gap:13px}.template-card{display:grid;grid-template-columns:94px minmax(0,1fr);gap:13px;width:100%;margin:0;padding:10px;background:#111318;border:1px solid #343943;border-radius:12px;text-align:left;overflow:hidden}
.template-card:hover{border-color:#ff6b1a}.template-card img{width:94px;height:124px;object-fit:cover;border-radius:8px;background:#e7e7e7}.template-card-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.template-code{font-size:10px;font-weight:800;color:#ff8c4b;letter-spacing:.1em}.template-card strong{margin:3px 0 6px;font-size:15px}.template-card small{color:#9298a5;line-height:1.4}.template-dimensions{margin-top:8px;color:#d7dae0;font-size:11px}
.text-button{width:auto;padding:3px 0;margin-bottom:16px;border:0;background:transparent;color:#aeb4c0}.text-button:hover{color:#fff;border-color:transparent}
.customer-field-group{margin-top:17px}.customer-field-group:empty{display:none}.customer-section-card{padding:13px;margin-bottom:11px;border:1px solid #343943;border-radius:10px;background:#13161b}.customer-section-card h3{font-size:13px;margin:0 0 10px}.customer-section-card label:last-child{margin-bottom:0}
.logo-upload-row{display:flex;align-items:center;gap:10px}.logo-upload-row button{margin:0}.logo-status{font-size:11px;color:#9298a5;line-height:1.35}.filament-select{padding-left:38px;background-repeat:no-repeat;background-position:10px center;background-size:17px 17px}
.empty-card{padding:16px;border:1px dashed #3a404b;border-radius:10px;color:#9298a5;font-size:13px;line-height:1.5}.design-summary{padding:13px;margin-bottom:18px;border:1px solid #343943;border-radius:10px;background:#111318;font-size:12px;line-height:1.65;color:#b9bec8}
.validation-list{display:grid;gap:7px;margin:0 0 14px}.validation-item{display:flex;gap:8px;padding:9px 10px;border-radius:8px;font-size:11px;line-height:1.35}.validation-item.ok{background:#2c9b6920;color:#83dfb4}.validation-item.warning{background:#ffbd3c18;color:#ffd17a}.validation-item.error{background:#ff565618;color:#ff9797}.validation-icon{font-weight:900}.approval-help{line-height:1.45}.customer-summary-panel{padding-top:24px}
button:disabled{opacity:.45;cursor:not-allowed}
.customer-permissions{margin-top:18px;padding:12px;border:1px solid #3a3f49;border-radius:9px;background:#111318}.customer-permissions h2{margin-top:0}.customer-permissions .check{margin-bottom:7px}
.admin-template-preview{display:grid;place-items:center;min-height:92px;margin:0 0 9px;border:1px dashed #3a404b;border-radius:9px;overflow:hidden;text-align:center}.admin-template-preview img{width:100%;max-height:180px;object-fit:contain;background:#e6e6e6}

/* Logo background editor */
.editor-dialog{width:min(980px,94vw);max-height:92vh;overflow:auto;border:1px solid #3a3f49;border-radius:14px;background:#191c22;color:#eef0f3;padding:20px;box-shadow:0 24px 80px #000c}.editor-dialog::backdrop{background:#000c}
.template-preview-dialog{width:min(920px,94vw);padding:20px;border:1px solid #3a3f49;border-radius:16px;background:#15181e;color:#eef0f3;box-shadow:0 24px 80px #000c}.template-preview-dialog::backdrop{background:#000c}.template-preview-canvas-wrap{position:relative;height:min(68vh,650px);min-height:420px;margin-top:16px;overflow:hidden;border:1px solid #343a44;border-radius:14px;background:radial-gradient(circle at 50% 42%,#f4f6f7,#dfe5e8 70%);cursor:grab}.template-preview-canvas-wrap canvas{display:block;width:100%;height:100%;touch-action:none}.template-preview-canvas-wrap canvas.is-dragging{cursor:grabbing}.template-preview-canvas-wrap p{position:absolute;inset:0;display:grid;place-items:center;margin:0;background:#15181ed9;font-weight:800}.template-preview-canvas-wrap p[hidden]{display:none}.template-preview-canvas-wrap>span{position:absolute;left:0;right:0;bottom:14px;text-align:center;color:#5f6b72;font-size:12px;pointer-events:none}.public-template-actions{display:grid;grid-template-columns:auto 1fr;gap:9px;margin-top:auto}.public-template-actions button{margin:0!important}.public-template-actions .primary{min-width:0}
.public-template-actions .button{display:grid;place-items:center;margin:0!important;text-decoration:none;white-space:nowrap}.public-template-actions .template-view-link{min-width:0}
.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-heading h3{font-size:22px;margin:0}.icon-button{width:34px;height:34px;margin:0;padding:0;text-align:center;font-size:24px;line-height:1;background:#242832}
.background-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px}.background-canvas-wrap{display:grid;place-items:center;min-height:430px;padding:12px;border:1px solid #343943;border-radius:10px;background-color:#d7d7d7;background-image:linear-gradient(45deg,#bdbdbd 25%,transparent 25%),linear-gradient(-45deg,#bdbdbd 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#bdbdbd 75%),linear-gradient(-45deg,transparent 75%,#bdbdbd 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}
#backgroundCanvas{max-width:100%;max-height:65vh;touch-action:none;cursor:crosshair}.background-tools{padding:12px;border:1px solid #343943;border-radius:10px;background:#111318}.background-tools input[type=range]{width:100%}.tool-state{padding:8px;border-radius:7px;background:#20242c;color:#aeb4c0;font-size:11px}
.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.dialog-actions button{width:auto;min-width:130px;margin:0;text-align:center}


.logo-bucket-palette{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:7px 0}
.logo-bucket-swatch{width:100%;aspect-ratio:1;margin:0;padding:0;border:2px solid #444b57;border-radius:7px;background:var(--bucket-color);box-shadow:inset 0 0 0 1px #0006}
.logo-bucket-swatch:hover{border-color:#8a929f}
.logo-bucket-swatch.selected{border-color:#ff8c4b;box-shadow:0 0 0 2px #ff8c4b33,inset 0 0 0 1px #0006}
.bucket-color-name{margin:-1px 0 10px;color:#aeb4c0;font-size:11px}

/* Filament inventory */
.filament-dialog{width:min(1050px,96vw)}.filament-rows{display:grid;gap:7px;margin:14px 0;max-height:55vh;overflow:auto}.filament-row{display:grid;grid-template-columns:44px minmax(130px,1fr) 110px 110px 100px 110px 32px;gap:7px;align-items:center;padding:8px;border:1px solid #30343d;border-radius:9px;background:#111318}.filament-row input{margin:0}.filament-row input[type=color]{height:34px}.filament-row label{margin:0;display:flex;flex-direction:row;justify-content:center}.filament-row .remove-filament{width:30px;margin:0;padding:6px;text-align:center;color:#ff7777}.filament-head{font-size:10px;color:#9298a5;text-transform:uppercase;letter-spacing:.08em;background:transparent;border:0;padding-top:0;padding-bottom:0}

@media(max-width:1150px){body[data-mode="customer"] main,body[data-mode="admin"] main{grid-template-columns:290px minmax(420px,1fr) 290px}.template-card{grid-template-columns:74px minmax(0,1fr)}.template-card img{width:74px;height:100px}}
@media(max-width:900px){header{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 16px}.sub{order:3;width:100%}body[data-mode="customer"] main,body[data-mode="admin"] main{display:flex;flex-direction:column;height:auto}.panel{width:100%}.stage{order:2;min-height:650px}.right{order:3}.background-editor-layout{grid-template-columns:1fr}.filament-row{grid-template-columns:40px 1fr 90px 90px}.filament-head{display:none}}

/* Customer color picker */
.color-picker{position:relative;width:100%}
.color-picker-button{display:grid;grid-template-columns:minmax(0,1fr) 22px 16px;gap:9px;align-items:center;width:100%;margin:0;padding:9px 10px;text-align:left;background:#111318;border:1px solid #3a404b;border-radius:8px;color:#eef0f3}
.color-picker-button:hover,.color-picker-button[aria-expanded="true"]{border-color:#59606c;background:#15181e}
.color-picker-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.color-picker-swatch{display:block;width:20px;height:20px;border-radius:5px;border:1px solid #666d78;box-shadow:inset 0 0 0 1px #0004;flex:none}
.color-picker-arrow{font-size:11px;color:#9097a3;text-align:center}
.color-picker-menu{position:absolute;z-index:80;top:calc(100% + 5px);left:0;right:0;max-height:260px;overflow:auto;padding:5px;border:1px solid #3a404b;border-radius:9px;background:#171a20;box-shadow:0 14px 38px #0009}
.color-picker-menu[hidden]{display:none}
.color-picker-option{display:grid;grid-template-columns:minmax(0,1fr) 22px;gap:10px;align-items:center;width:100%;margin:0;padding:8px 9px;border:0;border-radius:6px;background:transparent;color:#e8eaee;text-align:left}
.color-picker-option:hover,.color-picker-option.selected{background:#262b34}
.color-picker-option.selected{box-shadow:inset 0 0 0 1px #414854}

/* Independent logo editor zoom */
.background-canvas-column{min-width:0;display:flex;flex-direction:column;gap:8px}
.logo-zoom-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#aeb4c0;font-size:11px}
.background-canvas-wrap{width:100%;height:560px;min-height:320px;overflow:auto;display:flex;align-items:flex-start;justify-content:flex-start;overscroll-behavior:contain;scrollbar-color:#666 #c6c6c6;scrollbar-width:thin}
#backgroundCanvas{max-width:none;max-height:none;flex:none;margin:auto;touch-action:none;cursor:crosshair}
.zoom-help{color:#9298a5;font-size:10px;text-align:center}
@media(max-width:900px){.background-canvas-wrap{height:460px}.logo-zoom-bar{flex-wrap:wrap}}

/* Customer website flow shell — functional V1. Visual theme will be redesigned later. */
body[data-mode="customer"][data-customer-screen="editor"] #customerFlowPage{display:none!important}
body[data-mode="customer"]:not([data-customer-screen="editor"]) #studioMain{display:none!important}
body[data-mode="admin"] #customerFlowPage{display:none!important}
.customer-flow{min-height:calc(100vh - 56px);background:#101217;color:#eef0f3}
.customer-screen{max-width:1320px;margin:0 auto;padding:46px clamp(22px,5vw,72px) 72px}
.flow-landing{max-width:none;padding:0}
.flow-hero{min-height:560px;padding:72px clamp(24px,7vw,110px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:70px;align-items:center;border-bottom:1px solid #2b3039;background:radial-gradient(circle at 78% 35%,#ff6b1a18,transparent 30%),#101217}
.flow-hero-copy{max-width:680px}.flow-hero h1,.flow-page-heading h1,.render-copy h1,.payment-layout h1{font-size:clamp(38px,5vw,70px);line-height:.98;letter-spacing:-.045em;margin:10px 0 20px}.flow-hero p,.flow-page-heading p,.render-copy>p,.payment-layout>div>p{font-size:17px;line-height:1.65;color:#aeb4c0;max-width:700px}
.flow-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.flow-actions button,.flow-primary{width:auto!important;min-width:170px;text-align:center}.flow-secondary{width:auto!important;background:#181c23;border-color:#3a414d}
.flow-hero-visual{position:relative;min-height:420px;display:grid;place-items:center;perspective:900px}.hero-plaque-demo{position:relative;width:min(430px,90%);aspect-ratio:1.35;padding:34px;border:2px solid #e7e9ed;border-radius:25px;background:#050607;transform:rotateY(-15deg) rotateX(6deg);box-shadow:24px 28px 0 -12px #272b31,0 30px 70px #000a;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr;gap:18px}.hero-plaque-demo:after{content:"";position:absolute;inset:12px;border:1px solid #ffffff22;border-radius:18px;pointer-events:none}.hero-brand{font-weight:850}.hero-plaque-demo strong{font-size:34px;line-height:.9;text-align:right}.hero-plaque-demo em{font-style:normal;color:#ed7334}.hero-code{width:105px;height:105px;align-self:end;background:repeating-linear-gradient(90deg,#fff 0 5px,#050607 5px 10px),repeating-linear-gradient(0deg,#ffffffbb 0 5px,transparent 5px 10px);background-blend-mode:screen}.hero-tap{align-self:end;justify-self:end;font-size:54px;font-weight:900;letter-spacing:-15px;transform:rotate(-8deg)}.hero-stand-demo{width:min(500px,95%);height:54px;border-radius:14px;background:#262a31;transform:translateY(-54px) rotateY(-15deg);box-shadow:0 30px 55px #000a}
.flow-section{padding:80px clamp(24px,7vw,110px);border-bottom:1px solid #292e37}.section-heading{max-width:760px;margin-bottom:34px}.section-heading h2,.split-section h2,.local-banner h2{font-size:clamp(30px,4vw,50px);letter-spacing:-.035em;line-height:1.03;margin:8px 0 14px}.section-heading p,.split-section p,.local-banner p{font-size:15px;line-height:1.7;color:#aeb4c0}
.process-grid,.partner-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#303640;border:1px solid #303640}.process-grid article,.partner-grid article{background:#13161b;padding:28px}.process-grid span{font:800 11px/1 monospace;color:#ed7334}.process-grid h3{font-size:22px;margin:32px 0 8px}.process-grid p,.partner-grid small{display:block;color:#9ea5b1;line-height:1.55}
.split-section{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}.benefit-list{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #373d47;border-left:1px solid #373d47}.benefit-list div{padding:22px;border-right:1px solid #373d47;border-bottom:1px solid #373d47;font-weight:700}.partner-grid{grid-template-columns:repeat(3,1fr)}.partner-placeholder{height:160px;display:grid;place-items:center;margin-bottom:20px;border:1px dashed #454b56;color:#777f8c;background:#0d0f13}.partner-grid strong{display:block;margin-bottom:7px}.local-banner{display:flex;align-items:center;justify-content:space-between;gap:50px;background:#15181e}.local-banner>div{max-width:800px}
.flow-back{width:auto!important;margin:0 0 42px;padding:0;border:0;background:transparent;color:#aeb4c0}.flow-page-heading{max-width:850px;margin-bottom:38px}.creation-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.creation-path{min-height:390px;padding:28px;border:1px solid #353b45;border-radius:16px;background:#14171c;display:flex;flex-direction:column}.creation-path.featured{border-color:#ed733477}.creation-path h2{font-size:28px;letter-spacing:-.025em;margin:35px 0 12px}.creation-path p{color:#aab0bb;line-height:1.6}.path-number{font:800 11px/1 monospace;color:#ed7334}.path-meta{margin:auto 0 18px;padding-top:24px;color:#d0d4da;font-size:12px}.creation-path button{margin:0}.coming-soon{opacity:.7}.soon-badge{align-self:flex-end;margin-top:-12px;padding:5px 8px;border:1px solid #454b56;border-radius:999px;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#aeb4c0}
.public-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}.public-template-card{display:grid;grid-template-rows:310px 1fr;min-width:0;overflow:hidden;border:1px solid #343a44;border-radius:15px;background:#14171c}.public-template-image{height:310px;min-height:0;padding:22px;display:grid;place-items:center;overflow:hidden;background:#0b0d11}.public-template-image img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.public-template-body{min-width:0;padding:22px;display:flex;flex-direction:column;align-items:stretch}.public-template-kicker{font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:#ed7334}.public-template-body h2{font-size:23px;line-height:1.15;letter-spacing:.02em;text-transform:none;color:#eef0f3;margin:7px 0 9px}.public-template-body p{min-height:48px;margin:0;color:#9da4af;line-height:1.5}.public-template-meta{margin:18px 0;color:#d7dbe1;font-size:12px}.public-template-body button{margin:auto 0 0}
.custom-plaque-tools{margin:0 0 18px;padding:14px;border:1px solid #ed733466;border-radius:10px;background:#ed73340c}.custom-tool-intro{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.custom-tool-intro span{font-size:11px;color:#9ba2ae;line-height:1.4}.custom-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.custom-add-grid button{margin:0}
.custom-price-note,.custom-nfc-help{display:flex;flex-direction:column;gap:4px;margin:12px 0;padding:11px;border:1px solid #353b45;border-radius:8px;background:#101217}.custom-price-note span,.custom-nfc-help span{color:#9ba2ae;font-size:11px;line-height:1.45}.custom-nfc-help{border-color:#ed733477;background:#ed73340a}.custom-add-nfc{grid-column:1/-1;border-color:#ed733488!important}
.customer-remove-item{margin-top:9px!important;border-color:#8b3a3a!important;color:#ffc7c7!important;background:#2a1515!important}
.custom-stage-toolbar{display:flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;flex:1;padding-bottom:2px}.custom-stage-toolbar[hidden]{display:none!important}.custom-stage-toolbar button{width:auto;min-width:max-content;margin:0;padding:7px 9px;text-align:center;font-size:11px}.custom-stage-toolbar .danger{border-color:#733;color:#ffaaaa}.custom-toolbar-divider{width:1px;height:24px;flex:0 0 1px;background:#3a4049}.stage-topbar:has(.custom-stage-toolbar:not([hidden])){justify-content:space-between}.stage-topbar:has(.custom-stage-toolbar:not([hidden]))>.zoom-controls{margin-left:8px}
#studioMain.customer-left-collapsed{grid-template-columns:0 minmax(480px,1fr) 310px}#studioMain.customer-left-collapsed>.customer-panel{display:none}#studioMain.customer-right-collapsed{grid-template-columns:320px minmax(480px,1fr) 0}#studioMain.customer-right-collapsed>.customer-summary-panel{display:none}#studioMain.customer-left-collapsed.customer-right-collapsed{grid-template-columns:0 minmax(480px,1fr) 0}
@media(max-width:1050px){#studioMain.customer-left-collapsed,#studioMain.customer-right-collapsed,#studioMain.customer-left-collapsed.customer-right-collapsed{grid-template-columns:1fr}.custom-stage-toolbar{flex-wrap:wrap;overflow:visible}.stage-topbar:has(.custom-stage-toolbar:not([hidden])){align-items:flex-start}}
.render-layout,.payment-layout{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(520px,1.25fr);gap:60px;align-items:center;min-height:620px}.render-copy{max-width:520px}.render-checks{display:grid;gap:7px;margin-top:28px}.render-viewport{height:570px;position:relative;display:grid;place-items:center;overflow:hidden;border:1px solid #343a44;border-radius:18px;background:radial-gradient(circle at 50% 42%,#242932,#0b0d11 63%);perspective:1100px;cursor:grab;touch-action:none}.render-viewport:active{cursor:grabbing}.render-scene{position:relative;width:460px;height:500px;transform-style:preserve-3d;transition:transform .06s linear;display:grid;place-items:center}.render-plaque{--pw:300px;--ph:390px;--pd:10px;--pr:18px;position:absolute;width:var(--pw);height:var(--ph);transform-style:preserve-3d;transform:translateY(-34px);z-index:3}.render-face{position:absolute;inset:0;overflow:hidden;border-radius:var(--pr);backface-visibility:hidden;background:#08090b}.render-front{transform:translateZ(var(--pd2));border:1px solid #ffffff66}.render-front img{width:100%;height:100%;display:block;pointer-events:none;user-select:none;-webkit-user-drag:none}.render-back{transform:rotateY(180deg) translateZ(var(--pd2));background:#090a0c;border:1px solid #343942}.render-edge{position:absolute;background:#30343b}.render-edge-right,.render-edge-left{width:var(--pd);height:var(--sideh);top:var(--pr);left:50%;margin-left:var(--npd2)}.render-edge-right{transform:translateX(var(--halfw)) rotateY(90deg)}.render-edge-left{transform:translateX(var(--nhalfw)) rotateY(90deg)}.render-edge-top,.render-edge-bottom{height:var(--pd);width:var(--sidew);left:var(--pr);top:50%;margin-top:var(--npd2)}.render-edge-top{transform:translateY(var(--nhalfh)) rotateX(90deg)}.render-edge-bottom{transform:translateY(var(--halfh)) rotateX(90deg)}.render-tongue{position:absolute;bottom:82px;width:190px;height:34px;background:linear-gradient(180deg,#13161b,#090a0c);border-radius:0 0 4px 4px;box-shadow:0 10px 14px #0008;z-index:1}.render-tongue:after{content:"";position:absolute;left:0;right:0;top:-3px;height:6px;background:#1b1f25;border-radius:3px}.render-stand{--standw:390px;--standh:45px;--standd:30px;position:absolute;bottom:34px;width:var(--standw);height:var(--standh);border-radius:12px;transform-style:preserve-3d;transform:rotateX(70deg) translateZ(-18px);box-shadow:0 32px 48px #0009;z-index:0}.render-stand:before{content:"";position:absolute;left:0;right:0;bottom:calc(var(--standd) * -1);height:var(--standd);border-radius:0 0 10px 10px;background:color-mix(in srgb,currentColor 72%,black);transform-origin:top;transform:rotateX(-90deg)}.stand-slot{position:absolute;left:12%;right:12%;top:18%;height:14px;border-radius:4px;background:#030405;box-shadow:inset 0 2px 8px #000,0 1px 0 #ffffff12;pointer-events:none}.render-stand:after{content:"";position:absolute;left:16%;right:16%;top:-2px;height:14px;border-radius:4px 4px 1px 1px;background:#20242a;transform:rotateX(-70deg) translateZ(2px);transform-origin:bottom;box-shadow:inset 0 -5px 7px #0006}.render-hint{position:absolute;bottom:18px;font-size:11px;color:#8d95a1;pointer-events:none}
.payment-layout{align-items:start}.payment-design-card,.payment-card{padding:24px;border:1px solid #343a44;border-radius:15px;background:#14171c}.payment-design-card{display:flex;flex-direction:column;gap:7px;margin-top:28px;color:#aeb4c0}.payment-design-card strong{color:#fff;font-size:18px}.payment-card h2{margin-top:0}.payment-option{display:flex;flex-direction:row!important;gap:13px;align-items:flex-start;padding:16px;margin:10px 0!important;border:1px solid #343a44;border-radius:10px;background:#101217}.payment-option input{width:auto;margin-top:3px}.payment-option span{display:flex;flex-direction:column;gap:4px}.payment-option small{color:#969eaa;line-height:1.4}.payment-card .flow-primary{width:100%!important;margin-top:16px}
@media(max-width:1050px){.flow-hero,.render-layout,.payment-layout{grid-template-columns:1fr}.flow-hero-visual{min-height:360px}.creation-path-grid,.public-template-grid{grid-template-columns:1fr 1fr}.process-grid{grid-template-columns:1fr 1fr}.split-section{grid-template-columns:1fr}.render-copy{max-width:none}}
@media(max-width:680px){.customer-screen{padding:28px 18px 52px}.flow-hero{padding:45px 20px;grid-template-columns:1fr;gap:25px}.flow-hero-copy h1{font-size:42px}.flow-hero-visual{min-height:300px}.hero-plaque-demo{padding:20px}.hero-plaque-demo strong{font-size:24px}.flow-section{padding:52px 20px}.process-grid,.partner-grid,.creation-path-grid,.public-template-grid,.benefit-list{grid-template-columns:1fr}.local-banner{align-items:flex-start;flex-direction:column}.render-layout,.payment-layout{grid-template-columns:1fr;gap:28px}.render-viewport{height:460px}.render-scene{transform-origin:center center}.public-template-image{height:260px}}


/* Customer text customization */
.customer-text-style-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
.customer-text-style-grid label{margin:0}
.customer-text-position{margin:2px 0 11px;padding:10px;border:1px solid #303640;border-radius:8px;background:#101217}
.customer-mini-label{margin:0 0 6px;color:#9298a5;font-size:10px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.customer-mini-label:not(:first-child){margin-top:10px}
.customer-mini-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.customer-align-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.customer-mini-button,.customer-align-button{min-width:0;width:100%;margin:0;padding:7px 6px;border:1px solid #3a404b;border-radius:7px;background:#191d24;color:#e9ebef;text-align:center;font-size:12px}
.customer-mini-button:hover,.customer-align-button:hover{border-color:#646c79;background:#20252e}
@media(max-width:680px){.customer-text-style-grid{grid-template-columns:1fr}.customer-mini-button,.customer-align-button{min-height:40px}}

/* Public/customer website pages must scroll independently of the fixed editor shell. */
body[data-mode="customer"]:not([data-customer-screen="editor"]){height:auto;min-height:100vh;overflow-x:hidden;overflow-y:auto}
body[data-mode="customer"]:not([data-customer-screen="editor"]) #customerFlowPage{min-height:calc(100vh - 64px)}

.customer-logo-size{margin-top:11px}.customer-logo-size-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;align-items:center}.customer-logo-size-row input[type=range]{width:100%;margin:0}.customer-logo-size-row span{font-size:11px;color:#c8cdd5;text-align:right;font-variant-numeric:tabular-nums}

/* Customer selection follows the clicked plaque element in the left editor. */
.customer-section-card.customer-selected-control{
  border-color:#ff6b1a;
  box-shadow:0 0 0 1px #ff6b1a55;
}


/* Keep URL fields consistent with the dark customer editor. */
.customer-section-card input[type=url]{width:100%;padding:9px 10px;border-radius:7px;border:1px solid var(--line);background:#111318;color:#fff;outline:none}
.customer-section-card input[type=url]:focus{border-color:#ff6b1a;box-shadow:0 0 0 2px #ff6b1a22}

/* Customer-side free-build option is intentionally unavailable while V1 templates are finalized. */
.creation-path.temporarily-unavailable{position:relative;overflow:hidden;cursor:not-allowed}
.creation-path.temporarily-unavailable .creation-path-blurred{height:100%;display:flex;flex-direction:column;filter:blur(2.7px);opacity:.38;pointer-events:none;user-select:none}
.creation-path.temporarily-unavailable .unavailable-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#10121733;backdrop-filter:blur(1px)}
.creation-path.temporarily-unavailable .unavailable-overlay span{padding:8px 13px;border:1px solid #5b626e;border-radius:999px;background:#15181ee8;color:#eef0f3;font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}

/* Render: plaque visibly enters the stand instead of hovering over it. */
.render-scene{isolation:isolate}
.render-plaque{transform:translateY(-14px);z-index:3}
.render-tongue{bottom:68px;z-index:2;background:linear-gradient(180deg,#171a20 0%,#090b0e 100%);box-shadow:none}
.render-stand{bottom:33px;z-index:4;transform:rotateX(64deg) translateZ(-8px);box-shadow:0 28px 42px #000b}
.render-stand .stand-slot{left:16%;right:16%;top:8%;height:12px;background:#020304;box-shadow:inset 0 3px 7px #000,0 1px 0 #ffffff16}
.render-stand:after{left:11%;right:11%;top:-4px;height:18px;background:color-mix(in srgb,currentColor 82%,#30343a);border:1px solid #ffffff0c;transform:rotateX(-64deg) translateZ(1px);box-shadow:inset 0 -6px 8px #0007}
.render-stand:before{background:color-mix(in srgb,currentColor 68%,black);box-shadow:inset 0 4px 8px #ffffff08}

/* Optional marketing preferences kept separate from order communications. */
.marketing-preferences { margin: 22px 0; padding: 18px; border: 1px solid var(--line, #dfe5e8); background: var(--panel-soft, #f7f9fa); }
.marketing-preferences h3 { margin: 0 0 6px; font-size: 1rem; }
.marketing-preferences > p { margin: 0 0 14px; color: var(--muted, #66747c); font-size: .82rem; line-height: 1.5; }
.marketing-choice { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 10px 0; cursor: pointer; }
.marketing-choice input { margin-top: 3px; }
.marketing-choice span { display: grid; gap: 2px; }
.marketing-choice strong { font-size: .86rem; }
.marketing-choice small { color: var(--muted, #66747c); line-height: 1.4; }
.marketing-preferences .marketing-legal { margin-top: 13px; font-size: .72rem; }


/* Browser-saved customer drafts */
.draft-save-note{margin:.55rem 0 0;line-height:1.45}
.saved-draft-resume{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:min(520px,100%);margin-top:22px;padding:16px 18px;text-align:left;border:1px solid var(--line, #cad4da);background:var(--panel, #fff);border-radius:10px;cursor:pointer}
.saved-draft-resume strong{font-size:.95rem}
.saved-draft-resume span{font-size:.8rem;color:var(--muted,#66747c)}


/* Update 17: fulfillment + submission confirmation */
.local-delivery-box{margin:14px 0 4px;padding:16px;border:1px solid #d8dee5;border-radius:12px;background:#f7f9fa;display:grid;gap:12px}.local-delivery-box label{display:grid;gap:7px;font-weight:700}.local-delivery-box select{width:100%;padding:11px 12px;border:1px solid #cbd4dc;border-radius:8px;background:#fff}.local-delivery-actions{display:flex;gap:8px;flex-wrap:wrap}.submission-success{max-width:720px;margin:7vh auto;padding:72px 44px;text-align:center}.submission-check{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px;background:#e8f5ec;border:1px solid #b7ddc1;font-size:36px;font-weight:900}.submission-success h1{font-size:clamp(42px,7vw,74px);line-height:.95;margin:10px 0 18px}.submission-success>p:not(.eyebrow){max-width:600px;margin:0 auto 28px;color:#606b76;font-size:18px}.submission-summary{max-width:480px;margin:0 auto 28px;border-top:1px solid #dce2e7;border-bottom:1px solid #dce2e7;padding:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left}.submission-summary span{color:#6c7781}.submission-summary strong{text-align:right}.submission-success .flow-actions{justify-content:center}


/* Custom plaque workflow cleanup */
body[data-mode="customer"][data-customer-screen="editor"] .customer-panel{background:#12151a;border-right-color:#2b3038}
.custom-plaque-tools{padding:0!important;border:0!important;background:transparent!important;display:grid;gap:12px}
.custom-workflow-head{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding-top:4px}
.custom-workflow-head>div{display:grid;gap:3px}.custom-workflow-head strong{font-size:13px}.custom-workflow-head span:not(.custom-step-pill){font-size:11px;line-height:1.4;color:#9299a5}
.custom-step-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border:1px solid #454b55;border-radius:999px;background:#191d23;color:#dfe3e8;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.custom-size-card{padding:12px;border:1px solid #343a44;border-radius:10px;background:#171a20}.custom-size-card small{display:block;margin-top:7px;color:#858d99;font-size:10px;line-height:1.4}
.custom-add-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.custom-add-grid button{min-height:42px;border-color:#3b424d;background:#191d23;font-weight:750}.custom-add-grid button:hover{border-color:#717a87;background:#20252d}.custom-add-nfc{grid-column:1/-1!important;border-color:#58616e!important}
.custom-help-details{border-top:1px solid #2d333c;padding-top:10px}.custom-help-details summary{cursor:pointer;color:#b8bec7;font-size:11px;font-weight:750}.custom-help-details .custom-price-note,.custom-help-details .custom-nfc-help{margin-bottom:0}
.custom-stage-toolbar{gap:5px!important}.custom-stage-toolbar button{border-radius:7px!important}.custom-stage-toolbar #customTopAddLogo,.custom-stage-toolbar #customTopAddText,.custom-stage-toolbar #customTopAddShape,.custom-stage-toolbar #customTopAddQr,.custom-stage-toolbar #customTopAddNfc{font-weight:800;background:#1a1e24;border-color:#414852}.custom-stage-toolbar #customTopAddLogo:hover,.custom-stage-toolbar #customTopAddText:hover,.custom-stage-toolbar #customTopAddShape:hover,.custom-stage-toolbar #customTopAddQr:hover,.custom-stage-toolbar #customTopAddNfc:hover{background:#242a33;border-color:#717b88}
body[data-mode="customer"] .customer-summary-panel{background:#12151a;border-left-color:#2b3038}.customer-summary-panel #customerGenerateRender{min-height:46px;font-weight:850}.customer-summary-panel .design-summary{margin-bottom:16px}
@media(max-width:680px){.custom-workflow-head{grid-template-columns:1fr}.custom-step-pill{justify-self:start}}

/* Update 29 — Custom Plaque editor workflow + theme-safe side panels */
body[data-mode="customer"][data-customer-screen="editor"] .customer-panel,
body[data-mode="customer"][data-customer-screen="editor"] .customer-summary-panel{
  background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;
}
body[data-mode="customer"][data-customer-screen="editor"] .customer-panel h1,
body[data-mode="customer"][data-customer-screen="editor"] .customer-summary-panel h1,
body[data-mode="customer"][data-customer-screen="editor"] .custom-workflow-head strong{color:var(--text)!important}
body[data-mode="customer"][data-customer-screen="editor"] .customer-intro,
body[data-mode="customer"][data-customer-screen="editor"] .custom-workflow-head span:not(.custom-step-pill),
body[data-mode="customer"][data-customer-screen="editor"] .custom-size-card small{color:var(--muted)!important}
.custom-step-pill{background:var(--surface-muted)!important;border-color:var(--line)!important;color:var(--text)!important}
.custom-size-card{background:var(--surface-quiet)!important;border-color:var(--line)!important}
.custom-add-grid button,.custom-stage-toolbar button{background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)!important}
.custom-add-grid button:hover,.custom-stage-toolbar button:hover{background:var(--surface-muted)!important;border-color:var(--line-strong)!important}
.custom-help-details{border-color:var(--line)!important}.custom-help-details summary{color:var(--muted)!important}
body[data-mode="customer"][data-customer-screen="editor"] textarea,
body[data-mode="customer"][data-customer-screen="editor"] .customer-section-card input[type=url]{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}

/* cleaner 3-column Studio: setup/add on left, canvas center, inspector/layers/review right */
body[data-mode="customer"][data-customer-screen="editor"] main{grid-template-columns:300px minmax(520px,1fr) 360px}
body[data-mode="customer"][data-customer-screen="editor"] .customer-panel{padding:20px}
body[data-mode="customer"][data-customer-screen="editor"] .customer-summary-panel{padding:18px;display:block}
.studio-side-section{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--line)}
.studio-side-section:last-child{border-bottom:0;margin-bottom:0}
.studio-side-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.studio-side-heading h1,.review-section>h1{font-size:1rem!important;margin:1px 0 0!important;letter-spacing:-.01em}
.compact-empty{padding:11px;font-size:.75rem}
.custom-inspector-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.custom-inspector-grid label{margin:0}.custom-inspector-grid label:last-child{grid-column:1/-1}
.custom-inspector-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.custom-inspector-actions button{margin:0;text-align:center}
.layer-count{display:inline-grid;place-items:center;min-width:28px;height:24px;padding:0 7px;border:1px solid var(--line);border-radius:999px;background:var(--surface-quiet);color:var(--muted);font-size:.7rem;font-weight:800}
.custom-layers-list{display:grid;gap:5px;max-height:230px;overflow:auto;padding-right:3px}
.custom-layer-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;min-height:38px;margin:0;padding:7px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text);text-align:left}
.custom-layer-row:hover{background:var(--surface-muted);border-color:var(--line)}.custom-layer-row.active{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
.custom-layer-swatch{width:15px;height:15px;border-radius:4px;border:1px solid color-mix(in srgb,var(--text) 22%,transparent);background:var(--layer-color,#111)}
.custom-layer-copy{min-width:0;display:grid}.custom-layer-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.custom-layer-copy small{color:var(--muted);font-size:.65rem}
.custom-layer-eye{font-size:.7rem;color:var(--muted)}
.review-section .design-summary{margin-bottom:12px}.review-section .approval-help{margin-top:7px}
@media(max-width:1150px){body[data-mode="customer"][data-customer-screen="editor"] main{grid-template-columns:260px minmax(460px,1fr) 320px}}

/* Launch polish: theme-safe checkout/render/submission */
.payment-design-card,.payment-card{background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)!important}.payment-design-card strong,.payment-card h2{color:var(--text)!important}.payment-option{background:var(--surface-quiet)!important;border-color:var(--line)!important;color:var(--text)!important}.payment-option small{color:var(--muted)!important}.local-delivery-box{background:var(--surface-quiet)!important;border-color:var(--line)!important;color:var(--text)!important}.local-delivery-box select{background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)!important}.render-copy>p,.submission-confirmation>p{color:var(--muted)!important}.submission-confirmation{max-width:860px;margin:5vh auto;padding:clamp(38px,6vw,72px);text-align:center}.submission-confirmation .submission-check{background:var(--surface-quiet);border-color:var(--line);color:var(--text)}.submission-confirmation h1{font-size:clamp(3rem,7vw,6rem);line-height:.95;margin:12px 0 20px}.submission-storefront-card{margin:34px auto;max-width:720px;padding:28px;border:1px solid var(--line);background:var(--surface);text-align:left}.submission-next{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.submission-next>div{padding:14px}.submission-next>div+div{border-left:1px solid var(--line)}.submission-next span{display:block;margin-bottom:6px;color:var(--muted);font-size:.7rem;font-weight:800;letter-spacing:.08em}.submission-next strong{display:block;margin-bottom:5px}.submission-next small{color:var(--muted);line-height:1.45}.submission-confirmation .flow-actions{justify-content:center}@media(max-width:680px){.submission-next{grid-template-columns:1fr}.submission-next>div+div{border-left:0;border-top:1px solid var(--line)}}

/* Template mode must never show Create Your Own controls. The author-level
   display:grid rule above can otherwise override the browser's [hidden] rule. */
.custom-plaque-tools[hidden]{display:none!important}
.customer-locate-item{width:100%;margin:0 0 10px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font-weight:700;cursor:pointer}.customer-locate-item:hover{border-color:var(--accent,#ff6b1a)}
