.site-editor-dialog{width:min(1100px,calc(100% - 28px));max-height:min(90vh,860px);padding:0;border:0;border-radius:16px;color:#142f48;background:#f7fafc;box-shadow:0 30px 100px #00152c66}
.site-editor-dialog::backdrop{background:#03111fcc;backdrop-filter:blur(4px)}
.site-editor-shell{display:grid;grid-template-rows:auto minmax(0,1fr);max-height:min(90vh,860px)}
.site-editor-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;color:#fff;background:#082b4d}
.site-editor-head h2{margin:0;font:600 1.25rem/1.2 var(--sans,sans-serif)}
.site-editor-head p{margin:5px 0 0;color:#bcd0df;font-size:.78rem}
.site-editor-close{width:38px;height:38px;border:1px solid #6c89a0;border-radius:50%;color:#fff;background:transparent;font-size:1.35rem;cursor:pointer}
.site-editor-body{overflow:auto;padding:28px}
.site-editor-login{max-width:440px;margin:20px auto 30px}
.site-editor-login h3,.site-editor-workspace h3{margin:0 0 8px;font:600 1.5rem/1.2 var(--sans,sans-serif)}
.site-editor-login p,.site-editor-note{color:#577086;line-height:1.6}
.site-editor-field{display:grid;gap:7px;margin:16px 0;color:#233f58;font-size:.78rem;font-weight:700}
.site-editor-field input,.site-editor-field textarea,.site-editor-field select{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid #b9c9d6;border-radius:8px;color:#14314a;background:#fff;font:inherit;font-size:.93rem}
.site-editor-field textarea{min-height:120px;resize:vertical;line-height:1.5}
.site-editor-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.site-editor-button{padding:11px 16px;border:1px solid #174f7a;border-radius:999px;color:#fff;background:#174f7a;font:700 .78rem/1 var(--sans,sans-serif);cursor:pointer}
.site-editor-button.secondary{color:#174f7a;background:#fff}
.site-editor-button.danger{color:#7e1830;border-color:#aa6d7a;background:#fff}
.site-editor-button:disabled{opacity:.55;cursor:wait}
.site-editor-status{min-height:24px;margin:14px 0 0;color:#31556f;font-size:.84rem}
.site-editor-status[data-error=true]{color:#9c1f37}
.site-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid #d7e1e8}
.site-editor-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}
.site-editor-tabs button{padding:9px 13px;border:1px solid #bdccd8;border-radius:999px;background:#fff;color:#27475f;cursor:pointer}
.site-editor-tabs button[aria-selected=true]{color:#fff;border-color:#174f7a;background:#174f7a}
.site-editor-panel[hidden]{display:none}
.site-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}
.site-editor-elements{display:grid;gap:12px}
.site-editor-item{padding:16px;border:1px solid #d0dce5;border-radius:10px;background:#fff}
.site-editor-item small{display:block;margin-bottom:9px;color:#6c8294;font-size:.7rem}
.site-editor-item textarea{width:100%;min-height:78px;box-sizing:border-box;padding:10px;border:1px solid #bdccd8;border-radius:7px;font:400 .9rem/1.5 var(--sans,sans-serif);resize:vertical}
.site-editor-history{display:grid;gap:10px}
.site-editor-revision{padding:14px;border-left:3px solid #7795aa;background:#fff}
.site-editor-revision b,.site-editor-revision small{display:block}.site-editor-revision small{margin-top:6px;color:#6c8090}
body.site-editor-picking main :is(h1,h2,h3,p,a,button)[data-editor-selector]{outline:2px dashed #d2184b;outline-offset:4px;cursor:pointer}
body.site-editor-picking [data-editor-selected]{outline:4px solid #d2184b!important;background:#fff4f7!important;color:#5c0f25!important}
@media(max-width:760px){.site-editor-grid{grid-template-columns:1fr}.site-editor-body{padding:20px}.site-editor-toolbar{align-items:flex-start;flex-direction:column}}
