.modal-card.wide{width:min(680px,100%)}.modal-card textarea{width:100%;resize:vertical;min-height:170px;border:1px solid #cfd6dc;border-radius:6px;padding:11px 12px;outline:none;font:inherit;line-height:1.6}.modal-card textarea:focus{border-color:#2e8c69;box-shadow:0 0 0 3px rgba(46,140,105,.12)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.prompt-meta{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:-8px}.check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;margin:0!important;font-weight:500!important}.check input{width:16px;height:16px;margin:0}.tool-name{display:flex;align-items:center;gap:8px}.prompt-preview{max-width:520px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#4f5c66}code{font-family:Consolas,monospace;font-size:12px;background:#f1f4f5;border-radius:4px;padding:3px 6px;color:#46525c}.actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:760px){.field-grid{grid-template-columns:1fr}.prompt-table{min-width:780px}}
.event-controls{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important}.event-controls label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.event-controls select{height:36px;min-width:72px}.event-table-wrap{overflow-x:auto}.event-table{min-width:1420px}.event-table th,.event-table td{white-space:nowrap}.pagination{min-height:58px;padding:10px 17px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:12px}.pagination span{color:var(--muted);font-size:12px}.pagination button:disabled{opacity:.45;cursor:not-allowed}
.modal-card select{height:42px;border:1px solid #cfd6dc;border-radius:6px;padding:0 12px;background:#fff}.scope-box{border:1px solid var(--line);border-radius:7px;background:#f8faf9;padding:15px 16px;margin-top:14px}.scope-group+.scope-group{border-top:1px solid var(--line);margin-top:15px;padding-top:15px}.scope-group>b{display:block;margin-bottom:10px}.choice-row,.choice-grid{display:flex;flex-wrap:wrap;gap:10px 18px;margin:10px 0 0 24px}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr))}.scope-note{margin-top:12px;padding:10px 12px;border-radius:6px;background:var(--amber-bg);color:var(--amber);font-size:12px}.scope-tags{display:flex;flex-wrap:wrap;gap:5px;max-width:280px}.scope-tag{display:inline-flex;padding:3px 7px;border-radius:12px;background:#eef3f5;color:#51606b;font-size:11px;white-space:nowrap}.scope-tag.legacy{background:var(--amber-bg);color:var(--amber)}@media(max-width:640px){.choice-grid{grid-template-columns:1fr 1fr}}
