.ki-field-tools{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.4rem 0}.ki-field-tools[hidden],.ki-field-tools [hidden]{display:none}.ki-field-tools button,.ki-preview button{min-height:44px}.ki-feedback{font-size:.85rem;color:var(--muted,#536878)}.ki-preview{max-width:min(900px,94vw);max-height:92dvh;border:1px solid var(--border,#acbeca);border-radius:16px;padding:1.25rem;background:var(--surface,#fff);color:var(--text,#183347);overflow:auto}.ki-preview::backdrop{background:#0a172bb3}.ki-compare{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.ki-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:.8rem;background:var(--bg,#eff4f8);border-radius:8px}.ki-preview textarea{width:100%;min-height:220px;box-sizing:border-box}.ki-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}@media(max-width:650px){.ki-preview{width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border-radius:0;box-sizing:border-box}.ki-compare{grid-template-columns:1fr}.ki-actions button{flex:1 1 100%}}@media(prefers-color-scheme:dark){.ki-preview{background:var(--surface,#182636);color:var(--text,#e5edf4)}.ki-preview pre{background:var(--bg,#213247)}}
