.site-image-builder,
.rich-page-builder{
  display:grid;
  gap:16px;
  padding:18px;
  border:1px solid var(--show-border);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
}
.site-image-builder h3,
.rich-page-builder h3{
  margin:.15rem 0 .35rem!important;
  color:var(--show-text)!important;
}
.site-image-builder p,
.rich-page-builder p{
  max-width:760px;
  color:var(--show-soft)!important;
}
.site-image-preview{
  margin:0;
  min-height:220px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border:1px dashed rgba(255,255,255,.22);
  border-radius:16px;
  background:
    radial-gradient(circle at 12% 0,rgba(255,211,77,.16),transparent 32%),
    rgba(255,255,255,.045);
}
.site-image-preview img{
  width:100%;
  max-height:360px;
  object-fit:cover;
  display:block;
}
.site-image-preview span{
  color:var(--show-muted);
  font-weight:850;
}
.rich-editor-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.rich-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.rich-toolbar button{
  min-height:40px;
  padding:8px 12px;
  border:1px solid var(--show-border);
  border-radius:11px;
  color:var(--show-text);
  background:rgba(255,255,255,.08);
  cursor:pointer;
  font-weight:850;
}
.rich-toolbar button:hover{
  border-color:rgba(26,232,180,.36);
  background:rgba(26,232,180,.13);
}
.rich-editor-shell{
  overflow:hidden;
  border:1px solid var(--show-border);
  border-radius:16px;
  background:#fff9f2;
  color:#171028;
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}
.rich-editor{
  min-height:340px;
  padding:24px;
  outline:0;
  color:#171028;
  background:#fff9f2;
  line-height:1.7;
}
.rich-editor h2,
.rich-editor h3{
  color:#171028!important;
  line-height:1.14;
}
.rich-editor h2{font-size:1.8rem}
.rich-editor h3{font-size:1.35rem}
.rich-editor a{color:#5b38d6;font-weight:850}
.rich-editor .rich-accent{color:#007e88;font-weight:850}
.rich-editor .rich-warm{color:#9a6200;font-weight:850}
.rich-editor .rich-muted{color:#5f5870}
.rich-editor .rich-big{font-size:1.22rem;font-weight:850}
.rich-editor .rich-note{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  background:#fff0bf;
  color:#2a1b00;
}
.rich-page-builder textarea[data-rich-source]{
  min-height:120px!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;
  opacity:.72;
}
.rich-help{
  color:var(--show-muted)!important;
}
.site-page-editor.is-mobile-preview .rich-editor-shell{
  width:min(390px,100%);
  margin:0 auto;
  border-radius:28px;
}
@media(max-width:760px){
  .rich-editor-head{display:grid}
  .site-image-builder,
  .rich-page-builder{padding:14px}
  .site-image-preview{min-height:180px}
  .rich-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .rich-toolbar button{width:100%}
  .rich-editor{min-height:280px;padding:18px}
}
