@import url('https://fonts.googleapis.com/css2?family=Anton&family=Dancing+Script:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&family=Great+Vibes&family=Lobster&family=Montserrat:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&family=Pacifico&family=Patrick+Hand&family=Playfair+Display:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');
:root{color-scheme:light;--ink:#1e2934;--muted:#78828d;--line:#e5e8eb;--canvas:#f5f6f7;--accent:#bf3733;--accent-dark:#9e2926;--shadow:0 18px 54px rgba(29,39,49,.08);font-family:'DM Sans','Segoe UI',sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--canvas);color:var(--ink);font-size:15px}button,input,textarea,select{font:inherit}button{color:inherit}.topbar{height:72px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;padding:0 4.2vw;background:#fff;border-bottom:1px solid rgba(31,43,54,.06)}.brand{display:inline-flex;align-items:center;gap:11px;width:fit-content;color:inherit;text-decoration:none}.brand-mark{width:33px;height:33px;display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid #263a4f;border-radius:7px;transform:rotate(-7deg)}.brand-mark span{display:block;width:5px;height:17px;background:#173450;border-radius:3px;transform:skew(-10deg)}.brand-mark span:nth-child(2){height:11px;background:#bb3933;margin-top:6px}.brand-copy{display:grid;gap:1px}.brand-copy strong{font-family:'Playfair Display',Georgia,serif;font-size:19px;line-height:1.1;letter-spacing:-.4px}.brand-copy small{font-size:9px;font-weight:700;letter-spacing:1.65px;color:#87919a}.topbar-center{display:flex;justify-content:center;align-items:center;gap:9px;font-size:13px;color:#3c4751}.topbar-center strong{font-weight:600}.crumb-muted,.crumb-slash{color:#a4acb3}.topbar-actions{display:flex;justify-content:flex-end;align-items:center;gap:18px}.autosave{display:flex;align-items:center;gap:7px;font-size:12px;color:#8a949d}.autosave i,.hint-dot{width:7px;height:7px;display:inline-block;border-radius:100%;background:#70a98d}.icon-button{display:grid;place-items:center;width:31px;height:31px;border:1px solid var(--line);background:#fff;border-radius:50%;color:#78828d;cursor:pointer}
.workspace{width:min(1410px,100%);min-height:calc(100vh - 148px);margin:0 auto;display:grid;grid-template-columns:minmax(480px,1.13fr) minmax(540px,.87fr);gap:48px;padding:31px 4.2vw 25px}.stage-panel{min-width:0;display:flex;flex-direction:column}.stage-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 11px 2px}.eyebrow{margin:0 0 7px;color:#a2aab2;font-size:10px;line-height:1.1;font-weight:700;letter-spacing:1.65px}h1,h2,p{margin-top:0}.stage-heading h1{margin:0;font-size:23px;line-height:1.2;font-weight:600;letter-spacing:-.5px}.preview-button{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;color:#505e69;border:1px solid #dce1e5;border-radius:7px;background:#fff;font-size:12px;cursor:pointer;transition:.18s}.preview-button:hover,.secondary-button:hover{border-color:#b9c4cc;background:#f9fafb}.preview-eye{color:var(--accent);font-size:13px}.stage-workarea{position:relative;flex:1;min-height:470px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #eceff1;border-radius:15px;background:radial-gradient(ellipse at 50% 44%,#fff 0,#fbfbfc 44%,#f3f5f6 100%)}.stage-tools{position:absolute;z-index:2;top:18px;left:16px;display:grid;justify-items:center;gap:4px;padding:6px 4px;border:1px solid rgba(220,225,229,.8);border-radius:10px;background:rgba(255,255,255,.78);backdrop-filter:blur(8px)}.stage-tool{width:29px;height:29px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:#74808a;font-size:21px;line-height:1;cursor:pointer}.stage-tool:hover{background:#f2f4f5;color:#334350}.reset-tool{font-size:17px}.tool-separator{width:16px;height:1px;margin:1px 0;background:#e7eaed}.product-stage{position:relative;width:min(66%,385px);max-height:96%;aspect-ratio:900/1350;display:flex;align-items:center;justify-content:center;transform-origin:center;transition:transform .18s ease}.stage-glow{position:absolute;inset:10% -10% 3%;border-radius:50%;background:radial-gradient(ellipse,rgba(15,35,57,.12),rgba(15,35,57,0) 65%);filter:blur(13px)}#productCanvas{position:relative;display:block;width:100%;height:100%;overflow:visible;touch-action:none;cursor:crosshair}.stage-caption{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);white-space:nowrap;color:#909aa3;font-size:11px}.caption-sparkle{color:#bd8c68;margin-right:4px}.stage-edge-control{position:absolute;right:17px;top:50%;display:flex;align-items:center;gap:8px;transform:rotate(90deg) translateX(50%);transform-origin:right center}.edge-line{display:block;width:24px;height:1px;background:#d7dce0}.edge-label{white-space:nowrap;color:#b0b7bd;font-size:9px;font-weight:600;letter-spacing:1.7px}.stage-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 2px 0}.face-picker{display:flex;align-items:center;gap:9px}.face-option{min-width:138px;display:flex;align-items:center;gap:10px;padding:8px 11px;border:1px solid #e1e5e8;border-radius:8px;background:#fff;text-align:left;cursor:pointer;transition:.18s}.face-option:hover{border-color:#c8d0d6}.face-option.is-active{border-color:#bb3933;box-shadow:0 0 0 1px rgba(187,57,51,.08)}.face-option strong,.face-option small{display:block}.face-option strong{font-size:11px;font-weight:600;color:#424f5a}.face-option small{margin-top:2px;font-size:10px;color:#a0a8af}.mini-lighter{position:relative;width:20px;height:32px;display:inline-block;border:1px solid #0c2137;border-radius:3px;background:linear-gradient(90deg,#815a31,#f3d69f 30%,#d3a365 82%,#79512b);box-shadow:inset 1px 0 rgba(255,255,255,.15)}.mini-lighter i{position:absolute;top:35%;left:-1px;width:20px;height:1px;background:#060d13}.back-mini{background:linear-gradient(90deg,#855d35,#f7dfb0 34%,#cea064 90%)}.stage-hint{display:flex;align-items:center;gap:7px;font-size:11px;color:#969fa7}
.editor-shell{min-width:0;display:grid;grid-template-columns:65px minmax(0,1fr);align-items:start;padding-top:2px}.tool-rail{display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:8px 5px;border:1px solid #e8ebee;border-radius:10px 0 0 10px;background:#f0f2f4}.rail-tab{min-height:67px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:8px 3px;border:0;border-radius:6px;color:#77818a;background:transparent;font-size:10px;font-weight:500;cursor:pointer;transition:.15s}.rail-tab:hover{color:#33414c;background:rgba(255,255,255,.7)}.rail-tab.is-active{color:var(--accent);background:#fff;box-shadow:0 1px 5px rgba(35,45,54,.06)}.rail-icon{position:relative;width:18px;height:18px;display:block}.icon-layers:before,.icon-layers:after{content:'';position:absolute;left:3px;width:11px;height:8px;border:1.5px solid currentColor;transform:rotate(30deg) skew(-28deg);border-radius:1px}.icon-layers:before{top:3px}.icon-layers:after{top:7px;opacity:.72}.icon-upload:before{content:'â†‘';position:absolute;inset:-4px 0 0;text-align:center;font-size:19px}.icon-upload:after{content:'';position:absolute;left:3px;right:3px;bottom:1px;height:5px;border:1px solid currentColor;border-top:0}.icon-picture{border:1.4px solid currentColor;border-radius:3px;height:15px;margin-top:1px}.icon-picture:before{content:'';position:absolute;width:3px;height:3px;right:3px;top:3px;border:1px solid currentColor;border-radius:50%}.icon-picture:after{content:'';position:absolute;left:2px;bottom:2px;width:11px;height:7px;border-top:1.3px solid currentColor;transform:rotate(-35deg)}.icon-type{display:grid;place-items:center;font-family:Georgia,serif;font-size:15px}.editor-card{min-height:535px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e8ebee;border-left:0;border-radius:0 12px 12px 0;background:#fff;box-shadow:0 10px 34px rgba(31,43,54,.035)}.editor-header{min-height:82px;display:flex;align-items:center;justify-content:space-between;padding:16px 22px 13px;border-bottom:1px solid #f0f2f3}.editor-header .eyebrow{margin-bottom:5px}.editor-header h2{margin:0;font-size:19px;font-weight:600;letter-spacing:-.35px}.more-button{width:31px;height:30px;border:1px solid #eceff1;border-radius:6px;background:#fff;color:#8c959d;font-size:13px;letter-spacing:1px;cursor:pointer}.editor-body{flex:1;min-height:340px;padding:18px 22px 20px}.editor-bottom{margin-top:auto;padding:0 22px 17px}.image-counter{display:flex;align-items:center;justify-content:space-between;padding:13px 0 11px;border-top:1px solid #edf0f2;font-size:11px;color:#8a949d}.image-counter strong{color:#406f5c;font-weight:700}.image-counter b{font-size:13px}.saving-note{display:flex;align-items:center;gap:7px;color:#a0a8af;font-size:10px}.saving-check{width:14px;height:14px;display:inline-grid;place-items:center;border-radius:50%;background:#eef5f1;color:#5b9578;font-size:9px;font-weight:700}
.bottom-bar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 4.2vw;border-top:1px solid #e8ebed;background:#fff}.product-summary{display:flex;align-items:center;gap:11px}.summary-swatch{width:29px;height:38px;border:1px solid #0b223b;border-radius:4px;background:linear-gradient(90deg,#80582f,#f5dca8 37%,#d0a063 92%,#79542d);box-shadow:inset 1px 0 rgba(255,255,255,.2)}.product-summary strong,.product-summary small{display:block}.product-summary strong{font-size:12px;font-weight:600}.product-summary small{margin-top:3px;color:#9aa3aa;font-size:10px}.bottom-actions{display:flex;align-items:center;gap:17px}.price-label{color:#929ba3;font-size:11px}.submit-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 20px;border:1px solid var(--accent);border-radius:7px;background:var(--accent);color:#fff;font-size:12px;font-weight:600;letter-spacing:.15px;cursor:pointer;transition:.18s;box-shadow:0 4px 10px rgba(191,55,51,.15)}.submit-button:hover{border-color:var(--accent-dark);background:var(--accent-dark);transform:translateY(-1px)}.submit-icon{font-size:15px;font-weight:400}
.empty-state{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px;text-align:center}.empty-orbit{position:relative;width:67px;height:67px;display:grid;place-items:center;margin-bottom:15px;border:1px solid #e9edef;border-radius:50%;background:radial-gradient(circle,#fafbfc,#fff);color:#bc5a51;font-size:25px}.empty-orbit:before,.empty-orbit:after{content:'';position:absolute;border:1px solid #eef0f2;border-radius:50%}.empty-orbit:before{inset:-7px}.empty-orbit:after{inset:7px}.empty-state h3{margin:0 0 6px;font-size:14px;font-weight:600}.empty-state p{max-width:248px;margin:0 0 14px;color:#939ca4;font-size:12px;line-height:1.6}.inline-actions{display:flex;align-items:center;gap:8px}.small-primary,.small-secondary{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid #e3e7e9;border-radius:6px;background:#fff;color:#47545e;font-size:11px;cursor:pointer}.small-primary{border-color:#bf3733;background:#bf3733;color:#fff}.small-primary:hover{background:#a82f2c}.small-secondary:hover{border-color:#bac4cb}.panel-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px}.panel-section-title h3{margin:0;font-size:14px;font-weight:600}.panel-section-title span{color:#99a2a9;font-size:11px}.layer-list{display:grid;gap:7px;margin-bottom:17px}.layer-row{display:grid;grid-template-columns:32px minmax(0,1fr) 28px;align-items:center;gap:9px;min-height:47px;padding:6px 8px;border:1px solid #edf0f2;border-radius:7px;background:#fff;cursor:pointer}.layer-row:hover{border-color:#d8dfe3}.layer-row.is-selected{border-color:#d79d99;background:#fffafa}.layer-thumb{width:30px;height:30px;display:grid;place-items:center;border-radius:5px;background:#f5f6f7;color:#6c7780;font-family:Georgia,serif;font-size:16px;overflow:hidden}.layer-thumb img{width:100%;height:100%;object-fit:cover}.layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#46535e;font-size:11px}.layer-kind{display:block;margin-top:2px;color:#a2aab1;font-size:9px}.layer-delete{width:26px;height:26px;border:0;border-radius:5px;background:transparent;color:#9ea7ad;cursor:pointer;font-size:16px}.layer-delete:hover{background:#f7eeed;color:#ba3b35}.selected-editor{padding:13px 0 0;border-top:1px solid #edf0f2}.selected-editor .field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field-label{display:grid;gap:6px;margin-bottom:12px;color:#75818a;font-size:10px;font-weight:600}.field-label input,.field-label select,.field-label textarea,.text-entry,.submit-form input,.submit-form textarea{width:100%;border:1px solid #e3e7e9;border-radius:6px;outline:none;background:#fff;color:#36434d;font-size:12px}.field-label input,.field-label select{min-height:36px;padding:0 9px}.field-label textarea,.submit-form textarea{padding:10px;resize:vertical}.field-label input:focus,.field-label select:focus,.field-label textarea:focus,.text-entry:focus,.submit-form input:focus,.submit-form textarea:focus{border-color:#c98c87;box-shadow:0 0 0 3px rgba(191,55,51,.08)}.range-line{display:flex;align-items:center;gap:9px}.range-line input[type=range]{flex:1;accent-color:#b83934}.range-line output{min-width:28px;text-align:right;color:#66737d;font-size:10px}.color-line{display:flex;align-items:center;gap:8px}.color-chip{width:22px;height:22px;padding:0;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #d9dee2;cursor:pointer}.color-chip.is-current{box-shadow:0 0 0 2px #bb3933}
.text-panel{padding:2px 0}.text-panel h3,.upload-panel h3,.gallery-panel h3{margin:0 0 5px;font-size:14px;font-weight:600}.panel-description{margin:0 0 18px;color:#8c969e;font-size:11px;line-height:1.55}.text-entry{min-height:41px;padding:0 11px;margin-bottom:10px;font-size:13px}.full-width{width:100%}.section-label{display:block;margin:17px 0 8px;color:#7c8790;font-size:10px;font-weight:700;letter-spacing:.65px;text-transform:uppercase}.font-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.font-choice{min-height:43px;display:flex;align-items:center;justify-content:center;border:1px solid #e6e9eb;border-radius:6px;background:#fff;color:#53606b;font-size:12px;cursor:pointer}.font-choice.serif{font-family:Georgia,serif;font-size:15px}.font-choice.is-active{border-color:#c98c87;color:#9d302c;background:#fffafa}.dropzone{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px;border:1px dashed #d9dfe3;border-radius:9px;background:#fbfcfc;text-align:center;transition:.16s}.dropzone.drag-over{border-color:#bb3933;background:#fff7f6}.upload-symbol{width:39px;height:39px;display:grid;place-items:center;margin-bottom:10px;border-radius:50%;background:#f1f3f5;color:#6f7c86;font-size:19px}.dropzone strong{margin-bottom:4px;font-size:12px;font-weight:600}.dropzone span{color:#98a1a8;font-size:10px;line-height:1.5}.dropzone button{margin-top:11px;border:0;padding:0;background:transparent;color:#ae3430;font-size:11px;font-weight:600;cursor:pointer}.upload-tip{margin-top:13px;padding:10px 11px;border-radius:6px;background:#f8f9fa;color:#929ba3;font-size:10px;line-height:1.55}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gallery-card{aspect-ratio:1;display:grid;place-items:center;border:1px solid #e9edef;border-radius:8px;background:linear-gradient(145deg,#fafbfc,#f4f6f7);cursor:pointer;transition:.16s}.gallery-card:hover{border-color:#c98c87;background:#fff9f8;transform:translateY(-1px)}.gallery-card svg{width:42px;height:42px;overflow:visible}.gallery-name{margin:5px 0 0;text-align:center;color:#8d969e;font-size:10px}.tip-box{margin-top:15px;padding:11px;border:1px solid #eef0f2;border-radius:7px;background:#fbfbfc;color:#8d969e;font-size:10px;line-height:1.55}.tip-box strong{color:#64717b;font-weight:600}
.modal-backdrop[hidden]{display:none}.modal-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:20px;background:rgba(18,27,36,.46);backdrop-filter:blur(3px)}.modal{width:min(100%,520px);max-height:min(90vh,900px);overflow:auto;padding:24px;border:1px solid rgba(255,255,255,.7);border-radius:14px;background:#fff;box-shadow:0 24px 80px rgba(11,20,28,.24);animation:modal-in .18s ease both}.preview-modal{width:min(100%,760px)}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.modal-heading h2{margin:0;font-size:21px;font-weight:600;letter-spacing:-.4px}.close-modal{width:33px;height:33px;border:1px solid #e7eaec;border-radius:50%;background:#fff;color:#77828b;font-size:21px;line-height:1;cursor:pointer}.modal-intro{margin:14px 0 19px;color:#7f8a93;font-size:12px;line-height:1.6}.submit-form{display:grid;gap:13px}.submit-form label{display:grid;gap:7px;color:#697781;font-size:11px;font-weight:600}.submit-form input{min-height:42px;padding:0 11px;font-size:12px;font-weight:400}.submit-form textarea{min-height:77px;font-size:12px;font-weight:400}.optional{color:#a6adb3;font-weight:400}.submit-consent{display:flex;align-items:flex-start;gap:9px;padding:10px 11px;border-radius:7px;background:#f7f9f8;color:#829089;font-size:10px;line-height:1.5}.consent-icon{flex:0 0 16px;height:16px;display:grid;place-items:center;border-radius:50%;background:#e5f0e9;color:#5b8d70;font-size:10px;font-weight:700}.full-button{width:100%;min-height:44px;margin-top:2px}.form-feedback{min-height:16px;margin:0;color:#9a5f36;font-size:11px;line-height:1.5}.form-feedback.is-success{color:#477b5f}.preview-exports{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:19px 0}.preview-face{padding:12px;border:1px solid #eceff1;border-radius:9px;background:#f9fafb}.preview-face img{width:min(100%,220px);max-height:340px;display:block;margin:0 auto;object-fit:contain}.preview-face strong{display:block;margin-top:8px;text-align:center;color:#66737d;font-size:11px;font-weight:600}.modal-actions{display:flex;justify-content:flex-end;gap:9px}.secondary-button{min-height:42px;padding:0 15px;border:1px solid #e0e5e8;border-radius:7px;background:#fff;color:#52606a;font-size:12px;cursor:pointer}.toast{position:fixed;z-index:30;left:50%;bottom:93px;max-width:calc(100% - 30px);padding:10px 14px;transform:translate(-50%,12px);border-radius:7px;background:#24333f;color:#fff;font-size:11px;opacity:0;pointer-events:none;transition:.22s;box-shadow:0 8px 24px rgba(18,27,36,.2)}.toast.show{transform:translate(-50%,0);opacity:1}@keyframes modal-in{from{opacity:0;transform:translateY(7px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:1500px){.workspace{padding-left:54px;padding-right:54px;gap:54px}.topbar,.bottom-bar{padding-left:max(4.2vw,calc((100vw - 1320px)/2));padding-right:max(4.2vw,calc((100vw - 1320px)/2))}}@media(max-width:1120px){.workspace{grid-template-columns:minmax(400px,1fr) minmax(450px,1fr);gap:24px;padding-left:25px;padding-right:25px}.editor-shell{grid-template-columns:56px minmax(0,1fr)}.rail-tab{min-height:62px;font-size:9px}.editor-header{padding-left:16px;padding-right:16px}.editor-body{padding-left:16px;padding-right:16px}.editor-bottom{padding-left:16px;padding-right:16px}.stage-workarea{min-height:450px}}@media(max-width:860px){.topbar{height:62px;grid-template-columns:1fr auto;padding:0 18px}.topbar-center{display:none}.topbar-actions{grid-column:2}.workspace{min-height:auto;grid-template-columns:1fr;gap:20px;padding:18px 16px 22px}.stage-workarea{min-height:min(72vh,610px)}.product-stage{width:min(55%,340px)}.editor-shell{grid-template-columns:1fr;grid-template-rows:auto minmax(400px,auto)}.tool-rail{flex-direction:row;justify-content:stretch;gap:4px;padding:5px;border-radius:9px 9px 0 0;border:1px solid #e8ebee;border-bottom:0}.rail-tab{flex:1;min-height:57px;gap:4px}.editor-card{min-height:450px;border-left:1px solid #e8ebee;border-radius:0 0 10px 10px}.editor-body{min-height:300px}.bottom-bar{min-height:68px;padding:10px 16px}.price-label{display:none}.bottom-actions{margin-left:auto}}@media(max-width:520px){.topbar{padding:0 14px}.autosave{font-size:10px}.help-button{display:none}.workspace{padding:14px 12px 18px}.stage-heading h1{font-size:20px}.stage-workarea{min-height:450px;border-radius:11px}.stage-tools{top:10px;left:9px}.product-stage{width:min(64%,290px)}.stage-edge-control{right:8px}.stage-footer{align-items:flex-start;flex-direction:column;gap:10px;padding-top:11px}.face-option{min-width:129px}.stage-hint{font-size:10px}.editor-header{min-height:72px;padding:13px 15px}.editor-body{padding:15px}.editor-bottom{padding:0 15px 13px}.editor-card{min-height:430px}.bottom-bar{gap:8px;padding-left:12px;padding-right:12px}.product-summary{gap:8px}.summary-swatch{width:22px;height:31px}.product-summary strong{font-size:11px}.product-summary small{font-size:9px}.submit-button{min-height:39px;padding:0 13px;font-size:11px}.preview-exports{gap:8px}.preview-face{padding:7px}.modal{padding:19px}.modal-actions{flex-direction:column-reverse}.modal-actions>button{width:100%}}
.gallery-grid-labels{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.finish-picker{margin-top:17px;padding-top:4px;border-top:1px solid #edf0f2}.finish-picker .section-label{margin-top:13px}.finish-chip{width:22px;height:22px;padding:0;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #d9dee2;cursor:pointer}.finish-chip.is-current{box-shadow:0 0 0 2px #bb3933}.finish-name{margin-left:3px;color:#828d95;font-size:10px}.stage-tool:disabled,.stage-tool.is-muted{opacity:.38}.layer-row:focus-visible,.rail-tab:focus-visible,.face-option:focus-visible,button:focus-visible{outline:2px solid rgba(191,55,51,.45);outline-offset:2px}.submit-form button:disabled{opacity:.65;cursor:wait}

.add-control{display:flex;flex-direction:column;align-items:center;margin:17px 0 6px}.add-menu-toggle{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:#e71932;color:#fff;font-size:23px;font-weight:400;line-height:1;cursor:pointer;box-shadow:0 4px 10px rgba(206,25,48,.18);transition:.16s}.add-menu-toggle:hover{background:#ca152b;transform:scale(1.04)}.add-options-grid{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #e5e8eb;animation:modal-in .16s ease both}.add-option{min-height:48px;display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #e3e7e9;border-radius:7px;background:#fff;color:#52606a;font-size:11px;text-align:left;cursor:pointer;transition:.15s}.add-option:hover{border-color:#c98c87;background:#fffafa;color:#9d302c}.add-option-icon{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;border-radius:6px;background:#f3f4f5;color:#727e87;font-size:14px}.add-option:hover .add-option-icon{background:#f9e9e8;color:#b43833}.icon-shape{font-size:19px;line-height:18px}.shape-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.shape-card{aspect-ratio:1.2;display:grid;place-items:center;border:1px solid #e9edef;border-radius:8px;background:linear-gradient(145deg,#fafbfc,#f4f6f7);cursor:pointer;transition:.16s}.shape-card:hover{border-color:#c98c87;background:#fff9f8}.shape-card svg{width:48px;height:48px}.shape-label{margin:5px 0 0;text-align:center;color:#8d969e;font-size:10px}.shape-labels{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.summary-swatch,.mini-lighter{box-shadow:inset 1px 0 rgba(255,255,255,.38),inset -1px 0 rgba(76,49,20,.2),0 1px 2px rgba(42,28,12,.08)}.add-menu-rule{width:100%;height:1px;margin-top:16px;background:#e5e8eb}.add-options-grid{margin-top:16px;padding-top:0;border-top:0}

.text-panel{display:flex;flex-direction:column;gap:0}.text-area{display:block;min-height:96px;height:96px;padding:12px 11px;border-color:#c83d3a;resize:vertical;font-size:12px;line-height:1.5}.text-art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0 18px}.text-art-option{min-width:0;height:36px;padding:4px 3px;border:1px solid #e2e6e9;border-radius:6px;background:#fff;color:#424c54;cursor:pointer}.text-art-option.is-active{border-color:#d33936;box-shadow:0 0 0 1px rgba(211,57,54,.12)}.art-sample{display:block;white-space:nowrap;font-family:Arial,sans-serif;font-size:8px;font-weight:700;letter-spacing:.3px}.art-sample.outline{-webkit-text-stroke:.5px #34383b;color:white}.art-sample.shadow{text-shadow:1px 1px 1px #aab0b5}.art-sample.spacing{letter-spacing:1px;font-size:7px}.art-sample.bold{font-weight:900;transform:scaleX(.9)}.art-sample.italic{font-style:italic;transform:rotate(-5deg)}.text-heading-row{display:flex;align-items:center;justify-content:space-between;min-height:32px;margin:0 0 7px;color:#4c5660;font-size:11px}.text-heading-row span:last-child{color:#79848d;font-family:'Dancing Script',cursive;font-size:15px}.font-list{display:grid;max-height:188px;overflow-y:auto;overscroll-behavior:contain;padding:3px 0;border-bottom:1px solid #e1e5e8;scrollbar-width:thin;scrollbar-color:#a9afb4 transparent}.font-option{min-height:42px;display:flex;align-items:center;padding:7px 10px;border:1px solid transparent;border-radius:6px;background:#fff;color:#3e454a;text-align:left;font-size:16px;cursor:pointer}.font-option:hover{background:#f7f8f9}.font-option.is-active{border-color:#d33936;color:#202326;background:#fff}.text-setting-row{min-height:49px;display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:10px;border-bottom:1px solid #e5e8eb;color:#59646d;font-size:11px}.format-buttons,.align-buttons{display:flex;align-items:center;justify-content:flex-end;gap:6px}.format-button,.align-button{width:29px;height:29px;display:grid;place-items:center;padding:0;border:1px solid #e1e5e8;border-radius:6px;background:#fff;color:#56626d;cursor:pointer}.format-button.is-active,.align-button.is-active{border-color:#d43a37;color:#cc3935;box-shadow:0 0 0 1px rgba(211,57,54,.1)}.text-color-controls{display:grid;justify-items:end;gap:6px}.text-palette{display:flex;align-items:center;justify-content:flex-end;gap:6px}.text-color-chip{width:20px;height:20px;padding:0;border:1px solid rgba(35,45,54,.12);border-radius:50%;background:var(--chip);cursor:pointer}.text-color-chip.is-current{box-shadow:0 0 0 2px #fff,0 0 0 3px #d33936}.custom-color-wrap{width:29px;height:24px;display:block;overflow:hidden;border:1px solid #d9dfe3;border-radius:5px}.custom-color-wrap input{width:38px;height:32px;margin:-4px;border:0;padding:0;background:transparent;cursor:pointer}.range-setting{grid-template-columns:68px minmax(0,1fr) 34px}.range-setting input{width:100%;accent-color:#697b8d}.range-setting output{min-width:30px;color:#4f5961;text-align:center;font-size:11px}.align-glyph{width:15px;height:13px;display:block;background:linear-gradient(#74808a 0 0) 0 1px/14px 1px no-repeat,linear-gradient(#74808a 0 0) 0 6px/10px 1px no-repeat,linear-gradient(#74808a 0 0) 0 11px/14px 1px no-repeat}.align-button[data-align=center] .align-glyph{background:linear-gradient(#74808a 0 0) center 1px/14px 1px no-repeat,linear-gradient(#74808a 0 0) center 6px/10px 1px no-repeat,linear-gradient(#74808a 0 0) center 11px/14px 1px no-repeat}.align-button[data-align=right] .align-glyph{background:linear-gradient(#74808a 0 0) right 1px/14px 1px no-repeat,linear-gradient(#74808a 0 0) right 6px/10px 1px no-repeat,linear-gradient(#74808a 0 0) right 11px/14px 1px no-repeat}.text-live-note{margin:11px 0 0;color:#98a1a8;font-size:10px;line-height:1.5}.editor-card:has(.text-panel){height:min(740px,calc(100vh - 150px))}.editor-card:has(.text-panel) .editor-body{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#adb3b8 transparent}.editor-card:has(.text-panel) .editor-bottom{flex:0 0 auto}.align-button{font-size:0}.align-button:before{content:"";width:15px;height:13px;display:block;background:linear-gradient(#74808a 0 0) 0 1px/14px 1px no-repeat,linear-gradient(#74808a 0 0) 0 6px/10px 1px no-repeat,linear-gradient(#74808a 0 0) 0 11px/14px 1px no-repeat}.align-button[data-align=center]:before{background:linear-gradient(#74808a 0 0) center 1px/14px 1px no-repeat,linear-gradient(#74808a 0 0) center 6px/10px 1px no-repeat,linear-gradient(#74808a 0 0) center 11px/14px 1px no-repeat}.align-button[data-align=right]:before{background:linear-gradient(#74808a 0 0) right 1px/14px 1px no-repeat,linear-gradient(#74808a 0 0) right 6px/10px 1px no-repeat,linear-gradient(#74808a 0 0) right 11px/14px 1px no-repeat}
.color-row{align-items:start;min-height:65px;padding-top:8px;padding-bottom:7px}.color-row>span{padding-top:4px}.color-row .text-color-controls{align-self:start;gap:6px}
.icon-upload:before,.icon-upload:after{content:none!important}.icon-upload svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
