.editor-dialog{width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}
.editor-dialog [hidden]{display:none!important}
.editor-account{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:12px 0;border-block:1px solid #41403a;font-size:13px}
.editor-session-name{overflow-wrap:anywhere;min-width:0}
.editor-signout{color:#de8947;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.editor-access{padding:20px 0 8px;min-height:170px}
.editor-access p{line-height:1.7;color:#ece7df;max-width:600px}
.editor-access-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px}
.editor-dialog input,.editor-dialog select,.editor-dialog textarea{font-size:16px;min-width:0}
.editor-dialog label{min-width:0}
.editor-dialog button,.editor-dialog .button{min-height:44px}
.editor-dialog .icon-button{min-width:44px}
.editor-dialog .edit-image button{min-width:36px;min-height:36px}
.editor-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.editor-tabs button{padding:13px 10px;border:1px solid #695440;color:#e8e0d3;background:#090d0a;font-size:13px;cursor:pointer}.editor-tabs button[aria-pressed=true]{border-color:#e28744;color:#ffad6d;background:#251a12}
.editor-dialog h3{font:700 24px var(--display);margin:24px 0 12px}.cms-help{font-size:12px;line-height:1.7;color:#c3bdb2}.editor-dialog .upload-area h3,.editor-dialog .upload-area .cms-help{width:100%;margin:0}.editor-dialog .upload-area h3{margin-top:14px}
.product-order{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;font-size:12px;color:#c3b7a9}.product-order>div{display:flex;gap:8px}.product-order .button{padding:10px 14px;font-size:11px}
.editor-dialog .edit-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin:10px 0 22px}.editor-dialog .edit-image{width:auto;min-width:0;padding:10px;border:1px solid #574533;background:#090d09}.editor-dialog .edit-image img{height:125px;width:100%;object-fit:contain}.edit-image-caption{font-size:12px;padding:8px 0;color:#e8a367}.edit-image-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.editor-dialog .edit-image button{position:static;width:auto;min-height:44px;padding:8px 5px;font-size:11px;border:1px solid #66523d;background:#131812;color:#e8e0d3}.editor-dialog .edit-image button[data-photo-action=primary]{grid-column:1/-1}.editor-dialog #delete-product{margin-bottom:20px}
.hero-editor-thumb{width:100%;aspect-ratio:1672/455;border:1px solid #614f3c;margin:14px 0;background:#050705;overflow:hidden}.hero-editor-thumb img,.hero-editor-thumb svg{width:100%;height:100%;object-fit:cover}.hero-editor-actions{display:flex;flex-wrap:wrap;gap:10px}.hero-settings{padding-bottom:16px;border-bottom:1px solid #4d4033;margin-bottom:22px}
.cms-text-group,.cms-backup{border:1px solid #554535;margin:16px 0;background:#080d0866}.cms-text-group summary,.cms-backup summary{padding:16px;cursor:pointer;font-size:14px;color:#edb486;min-height:48px}.cms-text-group>div{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:0 16px 18px}.cms-backup>p,.cms-backup>div{padding:0 16px 16px}.cms-backup>div{display:flex;flex-wrap:wrap;gap:10px}
.editor-dialog .editor-bottom{position:sticky;bottom:-24px;padding:14px 0;display:flex;align-items:stretch;background:#0b0f0b;border-top:1px solid #7d5734;z-index:3;gap:10px}.editor-dialog .editor-bottom>.button{flex:1;min-width:0;white-space:normal}.editor-dialog #editor-status{color:#edb486;font-size:13px;line-height:1.6;margin-top:20px;overflow-wrap:anywhere}
@media(max-width:600px){.editor-dialog .editor-bottom{bottom:-18px;flex-direction:column}.product-order{flex-wrap:wrap}.product-order>div{width:100%;display:grid;grid-template-columns:1fr 1fr}.editor-dialog .edit-images{grid-template-columns:minmax(0,1fr)}.hero-editor-actions{display:grid;grid-template-columns:minmax(0,1fr)}.hero-editor-actions .button{width:100%;padding:12px 10px}.cms-backup>div{flex-direction:column}.cms-backup .button{width:100%;font-size:10px;padding:12px 8px}.editor-tabs button{font-size:12px}}
@media(max-width:600px){.editor-dialog{padding:0 16px 18px}.editor-dialog .editor-top{margin-inline:-16px;padding:16px}.editor-dialog .editor-top h2{font-size:25px}.editor-account{flex-wrap:wrap;gap:4px}.editor-access-actions{align-items:stretch;flex-direction:column}.editor-access-actions .button{width:100%;justify-content:center}.editor-dialog .edit-fields{grid-template-columns:minmax(0,1fr);gap:16px}.editor-dialog .editor-selection{flex-wrap:wrap}.editor-dialog .editor-selection>label{flex-basis:100%}.editor-dialog .editor-bottom{align-items:stretch;flex-direction:column;gap:12px}.editor-dialog .editor-bottom>div{display:flex;flex-wrap:wrap;gap:10px}.editor-dialog .editor-bottom .button{flex:0 0 auto;justify-content:center}.editor-dialog .button{min-height:48px}}
