.site-editor[hidden]{display:none}
.site-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.site-editor-heading h2{margin-top:.35rem}
.site-editor-layout{display:grid;grid-template-columns:minmax(15rem,.85fr) minmax(0,1.65fr);gap:2rem;align-items:start;margin-top:2rem}
.site-editor-controls{min-width:0}
.site-editor select{width:100%;padding:.8rem;border:1px solid #777;border-radius:0;background:#1c1b1b;color:inherit;font:inherit}
.site-wording{display:grid;gap:1.1rem;max-height:38rem;overflow:auto;padding:.25rem .65rem .25rem .1rem;margin-bottom:1.5rem}
.site-word-field{display:grid;gap:.4rem;font-size:.9rem}
.site-word-field textarea{width:100%;resize:vertical;min-height:3.8rem;padding:.65rem;font:inherit;line-height:1.5;background:#1c1b1b;color:inherit;border:1px solid #777;border-radius:0}
.site-source{margin:1.5rem 0;padding:1rem 0;border-top:1px solid var(--line,#777);border-bottom:1px solid var(--line,#777)}
.site-source summary{cursor:pointer;font-weight:600}
#website-source{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.82rem;line-height:1.5;white-space:pre;tab-size:2}
.site-preview-wrap{position:sticky;top:1rem;min-width:0;border:1px solid var(--line,#777);background:#fff}
#website-preview{display:block;width:100%;height:48rem;border:0;background:#fff}
@media(max-width:900px){.site-editor-layout{grid-template-columns:1fr}.site-preview-wrap{position:static}.site-wording{max-height:28rem}#website-preview{height:42rem}}
@media(max-width:480px){.site-editor-heading{display:block}.site-editor-heading button{margin-top:1rem;width:100%}.site-editor-layout{gap:1.5rem}#website-preview{height:36rem}.site-wording{padding-right:.2rem}}
