.studio-rules-overlay { position:absolute; inset:0; z-index:90; display:grid; place-items:center; background:#071514b8; }
.studio-rules-sheet { width:1540px; max-height:940px; display:flex; flex-direction:column; padding:28px; border-radius:22px; color:var(--ink); }
.studio-rules-head,.studio-rules-foot { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.studio-rules-head h2 { font:600 32px var(--font-display); }
.studio-rules-body { display:grid; grid-template-columns:440px minmax(0,1fr); gap:28px; overflow:auto; padding:22px 4px; font-size:21px; }
.studio-rules-controls { display:flex; flex-direction:column; gap:14px; }
.studio-rules-controls p { line-height:1.4; font-size:19px; }
.studio-rule { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.studio-rule select,.studio-rule input { width:180px; min-height:44px; padding:6px 10px; background:var(--paper); color:var(--ink); border:1px solid #87968b; border-radius:8px; font:19px/1.25 var(--font-ui); }
.studio-rule select { appearance:none; padding-right:30px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%231f3329' stroke-width='2'/%3E%3C/svg%3E"); background-position:right 10px center; background-repeat:no-repeat; }
.studio-rule input[type=color] { width:70px; padding:4px; }
.studio-rule span { flex:1; }
.studio-rules-workflow { min-width:0; }
.studio-rules-workflow h3 { margin-bottom:16px; }
.studio-rules-error { color:#a01f29; max-width:1100px; }
