.prototype-modal-backdrop{position:fixed;inset:0;background:rgba(9,18,31,.56);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:22px;z-index:1000}.prototype-modal-backdrop.open{display:flex}.prototype-modal{width:min(620px,100%);max-height:min(720px,88vh);overflow:auto;background:#fff;border:1px solid #dce3ec;border-radius:18px;box-shadow:0 30px 90px rgba(9,25,48,.28)}.prototype-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #e5eaf0}.prototype-modal-head small{display:block;font:600 9px "SFMono-Regular",Consolas,"Liberation Mono",monospace;letter-spacing:.12em;color:#3f7cff;margin-bottom:5px}.prototype-modal-head h3{margin:0;font-size:20px;letter-spacing:-.025em}.prototype-modal-close{border:1px solid #dce2ea;background:#f8fafc;border-radius:9px;width:34px;height:34px;cursor:pointer;font-size:20px;line-height:1}.prototype-modal-body{padding:22px 24px;color:#526075;font-size:13px}.prototype-modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:0 24px 22px}.prototype-modal-actions button{border:0;border-radius:9px;padding:10px 14px;font-weight:700;cursor:pointer}.prototype-modal-actions .modal-secondary{background:#f5f7fa;border:1px solid #dce2ea;color:#263347}.prototype-modal-actions .modal-primary{background:#3f7cff;color:#fff}.prototype-kv{display:grid;grid-template-columns:135px 1fr;gap:10px 16px;padding:14px 0;border-top:1px solid #edf0f4}.prototype-kv:first-child{border-top:0;padding-top:0}.prototype-kv span{color:#8a96a6;font-size:11px}.prototype-kv strong{color:#182233;font-size:12px;overflow-wrap:anywhere}.prototype-note{padding:13px 14px;border-radius:10px;background:#edf3ff;color:#36527f;margin-top:15px}.prototype-warning{background:#fff4dc;color:#8a5b0e}.prototype-compare{width:100%;border-collapse:collapse;margin-top:8px}.prototype-compare th,.prototype-compare td{padding:11px 10px;border-bottom:1px solid #e9edf2;font-size:11px}.prototype-compare th{background:#f8fafc;color:#718095}.prototype-diff-old{color:#c33d54;font-weight:700}.prototype-diff-new{color:#188a59;font-weight:700}.prototype-field{display:block;margin-top:15px}.prototype-field span{display:block;font-size:11px;font-weight:700;color:#526075;margin-bottom:6px}.prototype-field input,.prototype-field textarea,.prototype-field select{width:100%;border:1px solid #d7dee8;border-radius:9px;background:#fbfcfe;padding:11px;color:#182233}.prototype-field textarea{min-height:86px;resize:vertical}.issue button:hover,.rules-grid button:hover,.qa-row button:hover{border-color:#a8c2ff;background:#edf3ff;color:#1f5ce5}.sim-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;background:#eef3f9;color:#647287;font:600 9px "SFMono-Regular",Consolas,"Liberation Mono",monospace;margin-bottom:12px}.sim-chip:before{content:'●';color:#20a66a}.rule-updated{animation:rulePulse .7s ease}@keyframes rulePulse{0%{box-shadow:0 0 0 0 rgba(63,124,255,.3)}100%{box-shadow:0 0 0 12px rgba(63,124,255,0)}}@media(max-width:700px){.prototype-modal-backdrop{align-items:flex-end;padding:0}.prototype-modal{width:100%;max-height:84vh;border-radius:18px 18px 0 0}.prototype-modal-head,.prototype-modal-body{padding:18px}.prototype-modal-actions{padding:0 18px 18px}.prototype-kv{grid-template-columns:1fr;gap:3px}.prototype-modal-actions{display:grid;grid-template-columns:1fr 1fr}.prototype-modal-actions button{width:100%}}