
.toolroll-app.toolroll-query-parameter-editor { box-sizing: border-box; width: 100%; max-width: 100%; padding: clamp(16px, 3vw, 28px); color: #172033; background: #f8fafc; border: 1px solid #d8e0eb; border-radius: 12px; box-shadow: 0 4px 18px rgba(23, 32, 51, .06); }
.toolroll-app.toolroll-query-parameter-editor, .toolroll-app.toolroll-query-parameter-editor * { box-sizing: border-box; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__group { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__legend, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__label { display: block; margin: 0 0 8px; padding: 0; color: #172033; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__choice { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; margin: 0; cursor: pointer; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__choice input { width: 18px; height: 18px; margin: 0; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__textarea, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__input { display: block; width: 100%; max-width: 100%; margin: 0; padding: 11px 13px; color: #172033; background: #fff; border: 1px solid #9aa9bc; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.5; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__textarea { min-height: 104px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; resize: vertical; overflow-wrap: anywhere; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__output { min-height: 120px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__help, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__summary { margin: 7px 0 0; color: #536176; font-size: .9rem; line-height: 1.5; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__editor { margin-top: 24px; padding: 16px; background: #fff; border: 1px solid #d8e0eb; border-radius: 8px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__editor-heading { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__editor-heading .toolroll-query-parameter-editor__label, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__editor-heading .toolroll-query-parameter-editor__summary { margin: 0; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__rows { display: grid; gap: 12px; margin-bottom: 14px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 12px; background: #f8fafc; border: 1px solid #d8e0eb; border-radius: 8px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-number { align-self: center; min-width: 1.5em; color: #536176; font-weight: 700; text-align: center; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-field { display: block; min-width: 0; margin: 0; color: #38445a; font-size: .84rem; font-weight: 700; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-field .toolroll-query-parameter-editor__input { margin-top: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-actions { display: flex; gap: 6px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__small-button { min-height: 44px; margin: 0; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.4; cursor: pointer; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__small-button { min-width: 42px; padding: 8px 10px; color: #263248; background: #fff; border-color: #9aa9bc; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__small-button--delete { color: #842029; border-color: #c98f96; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button--primary { color: #fff; background: #185abc; border-color: #185abc; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button--primary:hover { background: #124892; border-color: #124892; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button--secondary { color: #263248; background: #fff; border-color: #9aa9bc; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button--secondary:hover, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__small-button:hover:not(:disabled) { background: #edf2f7; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button--copy { color: #fff; background: #137a52; border-color: #137a52; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button--copy:hover:not(:disabled) { background: #0d6140; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button:disabled, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__small-button:disabled { color: #667085; background: #e4e9f0; border-color: #d0d7e2; cursor: not-allowed; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__field--result { margin-top: 22px; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__status { margin: 14px 0 0; padding: 10px 12px; color: #3b4658; background: #eef1f5; border-radius: 7px; font-size: .95rem; line-height: 1.5; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__status[data-state="success"] { color: #0b5135; background: #e2f4eb; border-left: 4px solid #137a52; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__status[data-state="error"] { color: #842029; background: #fbe9eb; border-left: 4px solid #b4232c; }
.toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__textarea:focus-visible, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__input:focus-visible, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__choice input:focus-visible, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button:focus-visible, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__small-button:focus-visible { outline: 3px solid #f4b740; outline-offset: 2px; }
@media (max-width: 760px) { .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row { grid-template-columns: auto minmax(0, 1fr); } .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-field { grid-column: 2; } .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-number { grid-row: 1 / span 2; } .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-actions { grid-column: 2; } }
@media (max-width: 520px) { .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__actions { flex-direction: column; } .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__button { width: 100%; } .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row { grid-template-columns: 1fr; } .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-number, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-field, .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-actions { grid-column: 1; grid-row: auto; } .toolroll-app.toolroll-query-parameter-editor .toolroll-query-parameter-editor__row-number { text-align: left; } }
