#frontend-editor-bar{position:fixed;top:0;left:0;right:0;min-height:44px;z-index:1000;background:#07384e;color:#fff;display:flex;align-items:center;gap:16px;padding:7px 24px;font:13px/1.4 "Segoe UI",Arial,sans-serif;box-shadow:0 2px 12px #12234b20}
body:has(#frontend-editor-bar){padding-top:var(--frontend-bar-height,48px)}body:has(#frontend-editor-bar) .site-header{top:var(--frontend-bar-height,48px)}
#frontend-editor-bar a{color:#fff;text-decoration:none;font-weight:600;white-space:nowrap}#frontend-editor-bar>span{margin-right:auto;color:#cbdde5;font-size:12px}
#frontend-editor-bar button{font:600 12px/1.4 "Segoe UI",Arial,sans-serif;cursor:pointer;border:1px solid #73909d;border-radius:5px;padding:7px 12px;background:transparent;color:white}
#frontend-editor-bar #frontend-editor-toggle{background:#c9ed32;color:#07384e;border-color:#c9ed32}#frontend-editor-bar button:disabled{opacity:.5;cursor:not-allowed}
body.frontend-edit-mode [data-inline-edit]{outline:1px dashed #1f8bae;outline-offset:4px;cursor:text;min-height:1em}body.frontend-edit-mode img[data-inline-edit]{cursor:pointer}
body.frontend-edit-mode [data-inline-edit]:hover{outline:2px solid #1f8bae;outline-offset:4px;background-color:#e7f6fc55}
:is(#frontend-edit-dialog,#crm-website-edit-dialog){width:min(660px,calc(100vw - 32px));max-height:88vh;overflow:auto;border:1px solid #dce6ed;border-radius:8px;padding:24px;color:#12234b;background:#fff;box-shadow:0 24px 100px #12234b40;font:14px/1.6 "Segoe UI",Arial,sans-serif}
:is(#frontend-edit-dialog,#crm-website-edit-dialog)::backdrop{background:#12234b66}:is(#frontend-edit-dialog,#crm-website-edit-dialog) header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}:is(#frontend-edit-dialog,#crm-website-edit-dialog) h2{font-size:21px;margin:0;line-height:1.3}
:is(#frontend-edit-dialog,#crm-website-edit-dialog) button,:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-upload-label{border:1px solid #ccdce6;border-radius:5px;background:white;color:#07384e;font:600 13px/1.5 "Segoe UI",Arial,sans-serif;min-height:42px;padding:10px 15px;cursor:pointer}
:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-save{background:#07384e;color:white;border-color:#07384e}:is(#frontend-edit-dialog,#crm-website-edit-dialog) label{display:block;font-size:13px;font-weight:500;color:#4b6479}
:is(#frontend-edit-dialog,#crm-website-edit-dialog) input,:is(#frontend-edit-dialog,#crm-website-edit-dialog) textarea{display:block;width:100%;padding:11px 12px;margin:7px 0 0;font:14px/1.7 "Segoe UI",Arial,sans-serif;border:1px solid #cbdce7;border-radius:5px;color:#12234b;background:white}:is(#frontend-edit-dialog,#crm-website-edit-dialog) textarea{min-height:140px;resize:vertical}
:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-help{font-size:12px;color:#667d8f;margin:12px 0;line-height:1.7}:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-status{font-size:13px;margin:16px 0;color:#466c80}:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-status.error{color:#9d3b33}
:is(#frontend-edit-dialog,#crm-website-edit-dialog) footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-photo-grid button{display:block;padding:0;overflow:hidden;text-align:left;min-width:0}:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-photo-grid img{width:100%;height:110px;object-fit:cover}:is(#frontend-edit-dialog,#crm-website-edit-dialog) .inline-photo-grid span{display:block;font-size:11px;padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#frontend-edit-dialog,#crm-website-edit-dialog) :focus-visible,#frontend-editor-bar :focus-visible{outline:3px solid #4ba7c6;outline-offset:3px}
@media(max-width:760px){#frontend-editor-bar{padding:8px 12px;gap:8px;flex-wrap:wrap}#frontend-editor-bar>a:first-child{display:none}#frontend-editor-bar>span{flex:1;min-width:30px}#frontend-editor-bar>a{font-size:11px}#frontend-editor-bar button{font-size:11px;padding:7px 9px}#frontend-editor-trash{display:block}:is(#frontend-edit-dialog,#crm-website-edit-dialog){padding:18px}:is(#frontend-edit-dialog,#crm-website-edit-dialog) input,:is(#frontend-edit-dialog,#crm-website-edit-dialog) textarea{font-size:16px}.inline-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
