/* Redactor-specific layout. Copyright (c) 2026 Optimatech Labs LLC. MIT License. */
.two{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; margin-top:16px}
textarea.big{width:100%; min-height:260px; font:inherit; font-size:.9375rem; padding:12px 14px; border:1px solid var(--rule); border-radius:6px; background:var(--surface); color:var(--ink); resize:vertical}
textarea.terms{min-height:72px}
.preview{min-height:260px; padding:12px 14px; border:1px solid var(--rule); border-radius:6px; background:var(--surface); white-space:pre-wrap; word-break:break-word; font-size:.9375rem; line-height:1.6; overflow:auto; max-height:70vh}
.hit{background:var(--accent-soft); color:var(--accent); border-bottom:2px solid var(--accent); border-radius:2px; padding:0 2px; cursor:pointer}
.hit.off{background:transparent; color:var(--muted); border-bottom:2px dashed var(--rule); text-decoration:line-through}
.hit[data-type=custom]{background:var(--ok-soft); color:var(--ok); border-color:var(--ok)}
.types{display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:6px 18px; margin-top:12px; font-size:.9375rem}
.types label{display:flex; gap:8px; align-items:flex-start}
.counts{display:flex; flex-wrap:wrap; gap:6px; margin-top:12px}
.file-pick{display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:10px; font-size:.9375rem; color:var(--muted)}
.file-pick input{font:inherit; font-size:.875rem}
@media (max-width:860px){ .two{grid-template-columns:1fr} }
