/* Shared design flow and owned confirmation; product CTA/admin lists remain separate. */
.cx-public{max-width:1280px;padding-top:32px}
.cx-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:24px;color:#53624a;font-size:13px}
.cx-back svg,.cx-heading-icon svg,.cx-submit svg,.cx-return-button svg,.cx-success-mark svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.cx-back:hover{color:#36532a;text-decoration:underline;text-underline-offset:4px}
.cx-placement-heading h2{margin:0 0 8px}
.cx-placement-heading p{margin:0;color:#617058;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.cx-eyebrow{font-size:11px;line-height:1.5;letter-spacing:.12em}
.cx-steps{gap:12px;margin:28px 0 24px}
.cx-steps li{display:flex;align-items:center;gap:12px;min-width:0;padding:16px 18px;border:1px solid #e1e7da;border-radius:12px;background:#f8faf6;color:#65725b}
.cx-step-number{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #d8e2cf;border-radius:50%;background:#fff;font-size:13px;font-variant-numeric:tabular-nums}
.cx-steps strong{display:block;font-size:13px;line-height:1.4;font-weight:600}
.cx-steps small{display:block;margin-top:3px;font-size:11px;line-height:1.4;font-weight:400;color:#707e65}
.cx-steps li[aria-current=step]{border-color:#8fa87b;background:#f0f5e9;color:#36532a}
.cx-steps li[aria-current=step] .cx-step-number{background:#486b37;border-color:#486b37;color:#fff}
.cx-steps li.is-complete .cx-step-number{background:#e9f0e0;color:#486b37;border-color:#cbdabd}
.cx-editor{grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr);gap:26px}
.cx-stage{padding:22px;border-radius:16px;border-color:#dde5d6;box-shadow:0 8px 28px rgba(36,55,24,.035)}
.cx-stage-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e9ede3;text-align:left}
.cx-stage-heading>span:last-child{font-size:11px;color:#7a8472}
.cx-stage canvas{max-width:520px;margin:0 auto;border-radius:10px}
.cx-preview-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px;color:#36532a}
.cx-preview-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid #cdd9c4;border-radius:8px;background:#fff;color:inherit;font:inherit;font-size:12px;cursor:pointer}
.cx-preview-toolbar button:hover:not(:disabled){background:#f0f5e9;border-color:#8fa87b}
.cx-preview-toolbar button:focus-visible{outline:2px solid #486b37;outline-offset:3px}
.cx-preview-toolbar button:disabled{opacity:.4;cursor:default}
.cx-preview-toolbar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cx-preview-toolbar [data-preview-expand]{margin-left:auto;background:#f4f7f0}
.cx-preview-zoom{display:flex;align-items:center;gap:4px}
.cx-preview-zoom button{width:40px;padding:0;font-size:20px}
.cx-preview-zoom output{min-width:44px;font-size:12px;font-variant-numeric:tabular-nums}
.cx-canvas-viewport{max-width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;border-radius:10px;background:#fff}
.cx-canvas-surface{margin:0 auto}
.cx-stage .cx-canvas-surface canvas{width:100%;max-width:none;height:auto;border-radius:0}
.cx-canvas-viewport.is-zoomed canvas{cursor:grab}
.cx-canvas-viewport.is-panning canvas{cursor:grabbing}
.cx-preview-dialog{width:calc(100% - 32px);height:calc(100dvh - 32px);max-width:1600px;max-height:none;margin:auto;padding:22px;border:1px solid #d8e2cf;border-radius:18px;background:#f7f9f4;color:#24321c;overflow:auto;overscroll-behavior:contain}
.cx-preview-dialog::backdrop{background:rgba(20,30,16,.6)}
.cx-preview-dialog .cx-editor{grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:20px}
.cx-preview-dialog[open] .cx-stage{position:sticky;top:0;max-width:none;width:100%;margin:0}
.cx-preview-dialog .cx-canvas-viewport{height:max(220px,calc(100dvh - 280px))!important}
.cx-preview-dialog .cx-design-form{padding:20px;margin:0}
@media(max-width:991.98px){
    .cx-preview-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px);padding:12px;border-radius:12px}
    .cx-preview-dialog .cx-editor{grid-template-columns:minmax(0,1fr)}
    .cx-preview-dialog[open] .cx-stage{position:static}
    .cx-preview-dialog .cx-canvas-viewport{height:max(240px,55dvh)!important}
    .cx-preview-dialog .cx-design-form{max-width:none}
}
@media(max-width:400px){.cx-preview-toolbar{gap:6px}.cx-preview-toolbar button{padding-inline:8px}.cx-preview-zoom button{width:34px}.cx-preview-zoom output{min-width:38px}.cx-preview-toolbar [data-preview-expand]{margin-left:0}}
.cx-stage .cx-hint{margin:16px 0 0;font-size:12px;line-height:1.6}
.cx-stage .cx-disclaimer{font-size:11px;color:#7a8472;margin:12px 0 0;padding-top:12px;border-top:1px solid #edf0e8;text-align:left}
.cx-design-form{padding:26px;border-color:#dde5d6;box-shadow:0 8px 28px rgba(36,55,24,.035);container-type:inline-size;container-name:cx-form}
.cx-design-form .cx-fields{gap:20px}
.cx-form-heading{display:flex;align-items:center;gap:14px;padding-bottom:20px;border-bottom:1px solid #e6ecdf}
.cx-heading-icon{display:grid;place-items:center;flex:0 0 46px;height:48px;background:#f0f5e9;border:1px solid #dce6d2;border-radius:12px;color:#486b37}
.cx-heading-icon svg{width:28px;height:30px}
.cx-form-heading h2{margin:0 0 5px;font-size:21px;line-height:1.3;letter-spacing:-.02em}
.cx-form-heading p{margin:0;color:#68775f;font-size:12px;line-height:1.6}
.cx-design-form .cx-form-section{margin:0;min-width:0}
.cx-design-form .cx-form-section legend{float:none;width:auto;padding:0;margin:0 0 16px;font-size:12px;font-weight:600;color:#536b43}
.cx-form-section+.cx-form-section{padding-top:20px;border-top:1px solid #e6ecdf}
.cx-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.cx-design-form .cx-form-grid input{height:48px}
.cx-field-wide{grid-column:1/-1}
.cx-design-form label{gap:8px;font-size:13px;font-weight:500;color:#33442b}
.cx-design-form .cx-optional{font-size:10px;font-weight:400;color:#7a8472}
.cx-design-form input:not([type=checkbox]):not([type=range]):not([type=file]),.cx-design-form select,.cx-design-form textarea{min-height:48px;border:1px solid #d7e1cd;border-radius:9px;background:#fcfdfb;padding:12px;color:#25381e;font-size:15px;font-weight:400;line-height:1.4;transition:border-color .15s,box-shadow .15s}
.cx-design-form input::placeholder,.cx-design-form textarea::placeholder{color:#8b9484;opacity:1;font-size:13px}
.cx-design-form input:focus-visible,.cx-design-form select:focus-visible,.cx-design-form textarea:focus-visible{outline:0;border-color:#789460;box-shadow:0 0 0 3px #eaf1e1}
.cx-design-form input:user-invalid,.cx-design-form textarea:user-invalid{border-color:#ad554b}
.cx-design-form label>small{font-size:11px;color:#748269;line-height:1.5}
.cx-design-form .cx-consent{align-items:flex-start;gap:10px;padding:14px;border:1px solid #e0e7d8;border-radius:10px;background:#f7f9f4;font-size:12px;line-height:1.6}
.cx-consent input{margin-top:1px;width:17px;height:17px}
.cx-consent a{text-decoration:underline;text-underline-offset:3px;color:#486b37}
.cx-design-form .cx-form-disclaimer{margin:0;font-size:11px;line-height:1.65;color:#79856f}
.cx-design-form .button,.cx-return-button.button{min-height:54px;border-radius:12px;background:#486b37;border:1px solid #486b37;color:#fff;font-size:14px;line-height:1.4;font-weight:600;white-space:normal;padding:14px 20px;gap:12px}
.cx-design-form .button:hover,.cx-return-button.button:hover{background:#36532a;border-color:#36532a;color:#fff}
.cx-design-form .button:focus-visible,.cx-return-button:focus-visible{outline:2px solid #486b37;outline-offset:3px}
.cx-design-form button.cx-back-button{justify-self:center;min-height:40px;padding:4px 12px;border:0;background:transparent;color:#68775e;font-size:12px}
.cx-design-form .cx-back-button:hover{color:#36532a;text-decoration:underline;text-underline-offset:4px}
.cx-design-form [data-cx-error]:not(:empty){padding:12px 14px;background:#fff5f3;border:1px solid #eed4cc;border-radius:9px;font-size:13px}
.cx-design-form [data-cx-status]:not(:empty){font-size:12px;line-height:1.6;color:#587048}
.cx-success{max-width:1000px;padding:0;border-color:#dfe6d7;border-radius:20px;overflow:hidden;box-shadow:0 12px 40px rgba(40,60,29,.045)}
.cx-success-header{padding:32px 32px 28px;background:#fcfdfb;border-bottom:1px solid #e4eadc}
.cx-success-mark{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;background:#edf4e5;border:1px solid #d8e5cb;border-radius:50%;color:#486b37}
.cx-success-mark svg{width:30px;height:30px;stroke-width:2}
.cx-success-header .cx-eyebrow{margin-bottom:10px}
.cx-success-header h1{font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.03em;margin:0 0 12px}
.cx-success-intro{font-size:14px;line-height:1.7;color:#67775d;max-width:560px;margin:0 auto}
.cx-success .cx-reference{max-width:520px;margin:24px auto 0;padding:18px 20px;background:#f1f5eb;border-color:#dce6d1}
.cx-success-body{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;padding:30px;text-align:left;align-items:center}
.cx-success-preview{min-width:0;margin:0;padding:16px;border:1px solid #e6ecdf;border-radius:14px;background:#fff}
.cx-success-preview figcaption{margin:0 0 12px;text-align:center;font-size:10px;font-weight:600;letter-spacing:.12em;color:#6a7c5d}
.cx-success .cx-success-preview img{width:100%;height:320px;max-height:none;object-fit:contain;margin:0;border-radius:8px}
.cx-success-details{min-width:0}
.cx-success-details .cx-eyebrow{margin:0 0 10px}
.cx-success-details h2{font-size:18px;line-height:1.55;letter-spacing:-.015em;margin:0 0 20px}
.cx-success-details dl{margin:0}
.cx-success-details dl>div{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px;padding:12px 0;border-bottom:1px solid #e8ede2}
.cx-success-details dt{font-size:12px;font-weight:400;color:#718165}
.cx-success-details dd{font-size:13px;line-height:1.5;font-weight:500;color:#2c3e23;margin:0;overflow-wrap:anywhere}
.cx-success-note{font-size:12px;line-height:1.7;color:#6c7c61;margin:20px 0 0}
.cx-success-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 30px;background:#f7f9f3;border-top:1px solid #e4eadc}
.cx-success-footer .cx-disclaimer{max-width:590px;margin:0;text-align:left;font-size:11px;line-height:1.7;color:#708064}
.cx-return-button.button{flex-shrink:0;min-width:180px}
@container cx-form (max-width:390px){.cx-form-grid{grid-template-columns:minmax(0,1fr)}.cx-form-heading{align-items:flex-start}.cx-form-heading h2{font-size:20px}}
@media(min-width:992px){.cx-design-page .cx-stage{position:sticky;top:106px}}
@media(max-width:991.98px){.cx-editor{grid-template-columns:minmax(0,1fr)}.cx-stage{max-width:700px}.cx-stage canvas{max-width:440px}.cx-design-form{width:100%;max-width:700px;justify-self:center}.cx-public{padding:24px 16px 80px}}
@media(max-width:600px){
    .cx-steps{gap:8px;margin:24px 0 18px}.cx-steps li{flex-direction:column;gap:8px;padding:12px 6px;text-align:center}.cx-steps strong{font-size:11px}.cx-steps small{display:none}.cx-step-number{flex-basis:auto;width:28px;height:28px;font-size:12px}
    .cx-stage,.cx-design-form{padding:18px}.cx-stage-heading>span:last-child{font-size:10px}.cx-design-form input:not([type=checkbox]):not([type=range]):not([type=file]),.cx-design-form select,.cx-design-form textarea{font-size:16px}
    .cx-success-header{padding:26px 20px 24px}.cx-success .cx-reference{padding:16px 12px}.cx-success-body{grid-template-columns:minmax(0,1fr);gap:24px;padding:20px}.cx-success .cx-success-preview img{height:280px}.cx-success-details h2{font-size:17px}.cx-success-footer{flex-direction:column;align-items:stretch;padding:20px;gap:18px}.cx-return-button.button{width:100%}
}
@media(prefers-reduced-motion:reduce){.cx-design-form input,.cx-design-form select,.cx-design-form textarea{transition:none}}
