.editor-main{padding:135px 24px 50px;max-width:1600px;margin:auto}.editor-intro{max-width:850px;padding:0 24px 45px}.editor-intro h1{font-size:clamp(48px,6vw,88px);line-height:1;letter-spacing:-4px;margin:20px 0}.editor-intro h1 em,.editor-after em{font-family:Georgia,serif;font-weight:400;color:#eba084}.editor-intro p{max-width:560px;font-size:18px;line-height:1.7;color:#b2bdc5}.visual-editor{background:#eee7db;color:#23323c;border:1px solid #e9d2bd;border-radius:24px;overflow:hidden;box-shadow:0 30px 100px #0004}.visual-editor button,.visual-editor select,.visual-editor input,.visual-editor textarea,.campaign-manager input,.campaign-manager textarea{font:inherit;font-size:15px}.visual-editor button{cursor:pointer;padding:11px 15px;border:1px solid #cfc6b9;border-radius:9px;background:#f8f5ee;color:#263942;transition:background .15s}.visual-editor button:hover{background:#fff}.visual-editor button:disabled{opacity:.45;cursor:not-allowed}.visual-editor button:focus-visible,.visual-editor input:focus-visible,.visual-editor textarea:focus-visible,.visual-editor select:focus-visible{outline:3px solid #ad5e47;outline-offset:3px}.visual-editor .editor-primary{background:#bd624b;color:#fff;border-color:#bd624b}.visual-editor .editor-primary:hover{background:#a9543f}.editor-topbar{padding:24px;display:flex;justify-content:space-between;gap:18px;align-items:center;background:#f6f1e8;border-bottom:1px solid #d6ccbf}.editor-topbar h2{font-size:22px;margin:7px 0}.editor-mini{font-size:10px;letter-spacing:1.8px;color:#8f6a59}.editor-state{font-size:12px;color:#567364}.editor-state.dirty{color:#a4543e}.editor-actions,.editor-sourcebar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.editor-actions{justify-content:flex-end;max-width:660px}.editor-sourcebar{padding:16px 24px;border-bottom:1px solid #d6ccbf}.editor-sourcebar select{max-width:240px}.editor-sourcebar .editor-upload{font-size:14px;padding:10px;border:1px dashed #a68d77;border-radius:9px}.editor-upload input{max-width:190px;font-size:12px;display:block;margin-top:7px}.editor-account-note{padding:0 24px;font-size:13px;line-height:1.6}.editor-account-note a{color:#a64f38;text-decoration:underline}.editor-layout{display:grid;grid-template-columns:205px minmax(0,1fr) 260px;min-height:660px;max-height:850px;border-bottom:1px solid #d6ccbf}.editor-sidebar{padding:18px;background:#f6f1e8;border-right:1px solid #d6ccbf;overflow:auto}.editor-side-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.editor-side-title h3{margin:0;font-size:16px}.editor-side-title span,.editor-sidebar>p{font-size:11px;color:#7b817c;line-height:1.6}.editor-blocks{display:grid;gap:7px;margin-top:20px}.visual-editor .editor-block{width:100%;text-align:left;font-size:12px;line-height:1.5;overflow-wrap:anywhere;padding:10px;background:transparent}.editor-block span{font-size:9px;letter-spacing:1px;display:block;color:#9e715c;margin-bottom:4px}.visual-editor .editor-block.selected{background:#eacfc0;border-color:#c98a6d}.editor-canvas{background:#d9d9d0;display:flex;flex-direction:column;min-width:0}.editor-device-bar{padding:13px 16px;background:#e4e0d6;display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-device-bar>span{font-size:9px;letter-spacing:1.7px;color:#6d7776}.editor-device-bar button{font-size:12px;padding:8px 10px}.editor-device-bar [aria-pressed=true]{background:#263b42;color:white;border-color:#263b42}.editor-frame-wrap{flex:1;display:flex;justify-content:center;overflow:auto;padding:18px;min-height:540px}#editor-frame{width:100%;height:660px;border:0;background:white;border-radius:6px;box-shadow:0 12px 30px #0002;transition:width .2s}.mobile-preview #editor-frame{width:375px;max-width:100%}.editor-inspector{padding:20px;background:#f6f1e8;overflow:auto;border-left:1px solid #d6ccbf}.editor-inspector h3{font-size:22px;margin:13px 0}.editor-inspector p{font-size:12px;line-height:1.7;color:#7c837d}.visual-editor label{display:block;font-size:12px;line-height:1.6;margin-bottom:15px}.visual-editor textarea,.visual-editor input:not([type=file]),.visual-editor select{box-sizing:border-box;max-width:100%;background:#fffdf7;color:#263942;border:1px solid #cfc6b9;border-radius:8px;padding:12px;font-size:16px}.editor-inspector textarea,.editor-inspector input,.editor-inspector select{width:100%;margin-top:7px}.editor-inspector input[type=file]{font-size:12px}.editor-history{border-top:1px solid #d6ccbf;margin-top:25px;padding-top:20px}.editor-bottom{padding:20px 24px;display:flex;gap:24px;justify-content:space-between;align-items:flex-start}.editor-bottom details{max-width:660px;font-size:13px;line-height:1.8}.editor-bottom summary{cursor:pointer;color:#a05d45}.editor-bottom input{margin-top:8px;width:100%}#editor-status{padding:0 24px;min-height:24px;font-size:13px;line-height:1.6;color:#526e5d}#editor-status.error{color:#9d3524}.editor-dialog{border:0;border-radius:20px;background:#f7f0e5;color:#253943;max-width:600px;padding:32px;max-height:85vh;overflow:auto}.editor-dialog::backdrop{background:#07131bcc;backdrop-filter:blur(6px)}.editor-dialog h2{font-size:32px;margin:18px 0}.editor-dialog p,.editor-dialog li{font-size:14px;line-height:1.7}.editor-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.editor-after{padding:70px 24px;max-width:720px}.editor-after h2{font-size:clamp(32px,4vw,52px);line-height:1.2}.editor-after p{color:#b7c0c5;line-height:1.8}.campaign-manager{border-top:1px solid #ffffff22;margin:50px 0;padding-top:40px}.campaign-manager label{display:block;margin:18px 0}.campaign-manager input,.campaign-manager textarea{display:block;width:100%;max-width:800px;box-sizing:border-box;padding:14px;border-radius:10px;border:1px solid #ffffff33;background:#ffffff08;color:#f0e4d4;margin-top:8px}.campaign-manager button{padding:12px 18px;background:#e9997d;border:0;border-radius:9px;color:#1a2934;cursor:pointer}.campaign-card{padding:22px;margin:18px 0;background:#ffffff08;border-radius:14px}.campaign-card pre{white-space:pre-wrap;max-height:300px;overflow:auto;font:inherit;line-height:1.7}.campaign-card label{display:flex;gap:10px;align-items:flex-start}.campaign-card input[type=checkbox]{width:auto}.campaign-card button{margin:5px}.campaign-counts{font-size:13px;color:#cdb9a8}.editor-main [hidden],.visual-editor [hidden]{display:none!important}@media(max-width:1100px){.editor-layout{grid-template-columns:165px minmax(0,1fr) 230px}.editor-actions{max-width:480px}.editor-main{padding-left:15px;padding-right:15px}}@media(max-width:800px){.editor-main{padding:115px 10px 30px}.editor-intro{padding-left:10px;padding-right:10px}.editor-intro h1{letter-spacing:-2px}.editor-topbar{align-items:flex-start;flex-direction:column;padding:18px}.editor-actions{justify-content:flex-start;max-width:none}.editor-actions button{font-size:12px;padding:9px 10px}.editor-layout{grid-template-columns:1fr;max-height:none}.editor-canvas{order:0}.editor-inspector{order:1;border-left:0;border-top:1px solid #d6ccbf}.editor-sidebar{order:2;max-height:270px;border-top:1px solid #d6ccbf}.editor-blocks{grid-template-columns:1fr 1fr}.editor-frame-wrap{padding:10px;min-height:0}#editor-frame{height:500px}.editor-sourcebar{padding:16px}.editor-bottom{flex-direction:column}.editor-sourcebar select{max-width:100%;width:100%}.editor-dialog{padding:22px;width:calc(100% - 32px);box-sizing:border-box}.editor-dialog-actions{flex-wrap:wrap}.editor-after{padding:50px 12px}}
/* Keep scrollable panels inside one fixed desktop workspace. */
@media(min-width:801px){.editor-layout{height:740px;min-height:0;max-height:none;grid-template-rows:minmax(0,1fr)}.editor-sidebar,.editor-inspector,.editor-canvas{min-height:0}.editor-frame-wrap{min-height:0;overflow:hidden}#editor-frame{height:100%}}
