.wkx { max-width: 870px; min-width: 0; }
.wkx-fields { display:grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 13px; margin-bottom: 14px; }
.wkx-fields label { min-width: 0; display: grid; gap: 4px; align-content: start; font-weight: 630; line-height: 1.35; }
.wkx-wide { grid-column: 1 / -1; }
.wkx :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font-size: 16px; line-height: 1.45; }
.wkx textarea { resize: vertical; white-space: pre-wrap; }
.wkx-actions, .wkx-sources { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; }
.wkx-actions .btn { min-height: 42px; }
.wkx-status { margin: 10px 0; color: var(--muted); }
.wkx-status:empty { display: none; }
.wkx-result { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 12px; }
.wkx-result[hidden] { display: none; }
.wkx-result h2 { margin: 0 0 5px; font-size: 20px; }
.wkx-output { margin-bottom: 9px; }
.wkx-sources { font-size: 14px; }
.wkx-sources a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
