/*! © 2026 Cengiz Ilerler. All rights reserved. https://cengiz.ilerler.info/ */
.tool-box.ts { width: 100%; display: flex; flex-direction: column; gap: var(--s-4); }
.ts-ed { display: flex; flex-direction: column; gap: var(--s-4); }
.ts { --ts-unix: var(--seaglass); --ts-net: var(--harbor); --ts-text: var(--dusk); --ts-sql: var(--gold); --ts-rose: var(--pink-2); }
.ts-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); }
.ts-acts { display: inline-flex; align-items: center; gap: var(--s-3); }
.ts-what:empty { display: none; }
.ts-what .tool-msg { margin: 0; }
.ts-what .tool-msg svg { width: var(--s-4); height: var(--s-4); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ts-readas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-2); }
.ts-ks .pill-sm b { font-weight: 500; }
.ts-ks .pill-sm small { margin-left: var(--s-1); font: 400 var(--t-small)/1.2 var(--mono); opacity: .75; }
.ts-ep { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
.ts-ep .input { width: 170px; }
.ts-moment { flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-4); }
.ts-moment:empty { display: none; }
.ts-big { flex: none; max-width: 100%; }
.ts-zrow > select.input { flex: 0 1 auto; max-width: 100%; }
.ts-zrow > .btn-sm { flex: none; }
.ts-more { display: flex; flex-direction: column; gap: var(--s-2); }
.ts-more:empty { display: none; }
.ts-mz { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto 200px var(--h-md); align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3); border: 1px solid var(--line); border-radius: var(--r-field); background: var(--abyss); font: 400 var(--t-control)/1.3 var(--sans); color: var(--body); }
.ts-mzn { font-weight: 600; color: var(--foam); }
.ts-mzo { font: 500 var(--t-small)/1 var(--mono); color: var(--mist); }
.ts-g { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.ts-right { display: grid; gap: var(--s-4); min-width: 0; }
.ts-g .card[hidden] { display: none; }
.ts-dot { display: inline-block; width: 8px; height: 8px; margin-right: var(--s-2); border-radius: 2px; vertical-align: 1px; background: var(--c); }
.ts-dot.is-unix, .ts-v.is-unix { --c: var(--ts-unix); } .ts-dot.is-net, .ts-v.is-net { --c: var(--ts-net); }
.ts-dot.is-text, .ts-v.is-text { --c: var(--ts-text); } .ts-dot.is-sql, .ts-v.is-sql { --c: var(--ts-sql); }
.ts-tbl th { width: 44%; }
.ts-tbl td.is-wide { padding-top: var(--s-1); padding-bottom: var(--s-1); }
.ts-v { color: var(--c); }
.ts-id { display: flex; flex-wrap: wrap; margin: var(--s-3) var(--s-4) var(--s-2); border-radius: var(--r-field); overflow: hidden; font: 500 var(--t-control)/1 var(--mono); }
.ts-id span { padding: var(--s-3) var(--s-1); color: var(--abyss); word-break: break-all; }
.ts-id i { padding: var(--s-3) 0; font-style: normal; color: var(--mist); background: var(--tide); }
.is-time { background: var(--seaglass); } .is-ver { background: var(--dusk); } .is-var { background: var(--ts-rose); }
.is-rand { background: var(--harbor); } .is-seq { background: var(--ts-sql); } .is-node { background: var(--mist); }
.ts-idl { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); padding: 0 var(--s-4) var(--s-3); font: 400 var(--t-small)/1.3 var(--sans); color: var(--mist); }
.ts-idl i { display: inline-block; width: 10px; height: 10px; margin-right: var(--s-1); border-radius: var(--r-mark); vertical-align: -1px; }
.ts-also { margin: var(--s-3) var(--s-4) var(--s-2); }
.ts-gens { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-2) var(--s-2) var(--s-1); }
.ts-gen { display: block; width: 100%; padding: var(--s-2); border: 0; border-radius: var(--r-field); background: none; text-align: left; cursor: copy; transition: background-color var(--dur); }
.ts-gen:hover { background: var(--tide); }
.ts-gen.is-good { background: color-mix(in srgb, var(--seaglass) 18%, transparent); }
.ts-genl { display: block; margin-bottom: var(--s-2); }
.ts-genl code { font: 500 var(--t-small)/1.3 var(--mono); color: var(--foam); overflow-wrap: anywhere; }
.ts-gen .ts-id { margin: 0; }
.ts-gens + .ts-idl { padding-top: var(--s-1); }
.ts-tabs { padding-inline: var(--s-4); }
pre.ts-code { white-space: pre; overflow-wrap: normal; overflow-x: auto; }
@media (max-width: 1000px) { .ts-g { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .ts-mz { grid-template-columns: minmax(0, 1fr) var(--h-md); }
  .ts-mz > span:nth-child(2), .ts-mz .ts-mzo { grid-column: 1; }
  .ts-mz select.input { grid-column: 1; }
  .ts-tbl th { width: auto; }
}
