.editor-shell{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:clamp(1rem,2.5vw,1.75rem);
  align-items:start;
}
.editor-sidebar{
  position:sticky;
  top:88px;
  padding:1rem;
}
.editor-sidebar-head{
  padding:.25rem .25rem 1rem;
  margin-bottom:.65rem;
  border-bottom:1px solid var(--border);
}
.editor-sidebar-head strong{display:block;margin-top:.25rem;line-height:1.35}
.editor-sidebar-head small{display:block;margin-top:.35rem;color:var(--text-dim);overflow-wrap:anywhere}
.editor-sidebar nav{display:grid;gap:.2rem}
.editor-sidebar a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:.65rem .75rem;
  border:1px solid transparent;
  color:var(--text-dim);
  text-decoration:none;
  font-size:.75rem;
  line-height:1.35;
}
.editor-sidebar a:hover,.editor-sidebar a.is-active{
  color:var(--text-bright);
  border-color:rgba(228,91,36,.4);
  background:rgba(228,91,36,.07);
}
.editor-main{min-width:0}
.editor-page-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1rem;
  padding:.25rem 0 1rem;
  margin-bottom:1.25rem;
  border-bottom:1px solid var(--border);
}
.editor-page-head h2{margin:.25rem 0 .35rem;font-size:clamp(1.35rem,2.7vw,2rem)}
.editor-page-head p{max-width:72ch;margin:0;color:#a8b0bb;line-height:1.6}
.editor-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.editor-page-card{
  min-height:150px;
  padding:clamp(1.1rem,2.5vw,1.5rem);
  text-decoration:none;
  color:inherit;
}
.editor-page-card h3{margin:.65rem 0 .55rem;font-size:1.05rem}
.editor-page-card p{margin:0;color:#aeb5bf;line-height:1.65}
.editor-page-card:hover{border-color:rgba(228,91,36,.5)}
.editor-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}
.editor-asset-card{padding:0;overflow:hidden}
.editor-asset-preview{
  aspect-ratio:16/10;
  background:#050607;
  border-bottom:1px solid var(--border);
  display:grid;
  place-items:center;
}
.editor-asset-preview img{display:block;width:100%;height:100%;object-fit:cover}
.editor-asset-body{padding:1rem}
.editor-asset-body strong{display:block;overflow-wrap:anywhere;line-height:1.4}
.editor-asset-body p{color:#adb4be;line-height:1.55}
.editor-asset-meta{display:block;color:var(--text-dim);font-size:.75rem;line-height:1.5;margin:.4rem 0}
.editor-slot-tabs{display:flex;gap:.5rem;overflow-x:auto;padding:.15rem 0 .5rem;margin-bottom:.75rem}
.editor-slot-tabs button{flex:0 0 auto;white-space:nowrap}
.editor-revision-list{display:grid;gap:.5rem;margin-top:1rem}
.editor-revision{padding:.75rem;border:1px solid var(--border);color:#9ea6b1;font-size:.78rem;line-height:1.5}
.editor-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1.25rem}
.editor-kpi{padding:1rem}
.editor-kpi strong{display:block;font-size:1.5rem;line-height:1.15}
.editor-kpi span{display:block;margin-top:.35rem;color:#a6aeb9;font-size:.78rem;line-height:1.4}
@media(max-width:1000px){
  .editor-shell{grid-template-columns:1fr}
  .editor-sidebar{position:static}
  .editor-sidebar nav{display:flex;overflow-x:auto;padding-bottom:.2rem}
  .editor-sidebar a{flex:0 0 auto;white-space:nowrap}
  .editor-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .editor-page-grid,.editor-asset-grid,.editor-kpis{grid-template-columns:1fr}
  .editor-page-head{align-items:flex-start;flex-direction:column}
  .editor-page-card{min-height:auto}
}