/*! © 2026 Cengiz Ilerler. All rights reserved. https://cengiz.ilerler.info/ */
.tool-box.sqf { width: 100%; }
.sqf-sets { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-4) var(--s-5); }
.sqf-sel { min-width: 210px; }
.sqf-g { display: grid; grid-template-columns: minmax(0, calc(var(--l, 50%) - var(--s-2))) var(--s-3) minmax(0, 1fr); gap: 2px; margin-top: var(--s-5); }
.sqf-split { touch-action: none; outline: none; }
@media (min-width: 1001px) {
  html.tool-full .tool-box.sqf, html.tool-full .sqf-ed { display: flex; flex-direction: column; }
  html.tool-full .sqf-ed { flex: 1 1 auto; min-height: 0; }
  html.tool-full .sqf-g { flex: 1 1 0; min-height: 300px; }
  html.tool-full .sqf-card { min-height: 0; }
  html.tool-full .sqf-in { min-height: 0; resize: none; }
  html.tool-full .sqf-out { min-height: 0; max-height: none; }
}
.sqf-card { display: flex; flex-direction: column; overflow: hidden; }
.sqf :not(.ibtn) > svg { width: var(--s-4); height: var(--s-4); flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sqf .card-h .tool-msg { margin: 0; flex-wrap: nowrap; gap: var(--s-2); }
.sqf-pill:empty { display: none; }
.sqf-in { flex: 1 1 auto; display: block; min-height: 520px; padding: var(--s-4); line-height: 1.75; outline: none; word-break: break-all; }
.sqf-ef:empty { display: none; }
.sqf-ef { display: flex; flex-direction: column; gap: var(--s-2); padding: 0 var(--s-4) var(--s-4); }
.sqf-vals { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); padding: var(--s-3) var(--s-4) 0; }
.sqf-vals[hidden] { display: none; }
pre.sqf-out { flex: 1 1 auto; margin: 0; min-height: 480px; max-height: 78vh; padding: var(--s-4); line-height: 1.75; white-space: pre; overflow: auto; tab-size: 4; outline: none; }
pre.sqf-out.is-min { white-space: pre-wrap; word-break: break-all; }
.sqf-out:focus-visible { box-shadow: inset 0 0 0 2px var(--sea); }
.sqf-out .tool-msg, .sqf-out .field-hint { margin: 0; white-space: normal; }
.sqf-out .tool-msg + .field-hint { display: block; margin-top: var(--s-2); }
@media (max-width: 1000px) {
  .sqf-g { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .sqf-split { display: none; }
  .sqf-in { min-height: 220px; }
  pre.sqf-out { min-height: 240px; }
}
@media (max-width: 560px) {
  .sqf-sets > .field, .sqf-sel { width: 100%; }
}
