/* Free tools (2026-11-25): the UTM builder and the ROAS calculator. Tokens from v14.css; tight corners (4 and 6). */
.tl77 .tl-tool { margin-top: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); padding: 16px; }
.tl77 .tl-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .tl77 .tl-grid { grid-template-columns: 1fr 1fr; } .tl77 .tl-wide { grid-column: 1 / -1; } }
.tl77 .tl-f label { display: flex; flex-direction: column; gap: 6px; font: 600 15px/1.3 var(--sans); color: var(--ink); min-width: 0; }
.tl77 .tl-f label small { font-weight: 400; color: var(--mute); }
.tl77 .tl-f input { font: 400 16px/1.3 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; min-width: 0; width: 100%; }
.tl77 .tl-f input:focus { outline: 2px solid var(--or); outline-offset: 1px; }
.tl77 .tl-f details { grid-column: 1 / -1; }
.tl77 .tl-f summary { cursor: pointer; font-size: 15px; color: var(--ink); padding: 4px 0; }
.tl77 .tl-f details .tl-grid { margin-top: 10px; }
.tl77 .tl-out { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.tl77 .tl-k { font: 600 13px/1.2 var(--sans); color: var(--mute); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.tl77 .tl-link { font: 400 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); overflow-wrap: anywhere; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; min-height: 44px; }
.tl77 .tl-link[data-empty] { color: var(--mute); font-family: var(--sans); }
.tl77 .tl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tl77 .tl-msg { font-size: 15px; color: var(--mute); margin: 0; }
.tl77 .tl-msg[data-warn] { color: var(--w49-red, #b42318); }
.tl77 .tl-nums { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .tl77 .tl-nums { grid-template-columns: repeat(3, 1fr); } }
.tl77 .tl-num { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 12px; min-width: 0; }
.tl77 .tl-num p { margin: 0; font-size: 14px; color: var(--mute); }
.tl77 .tl-num b { display: block; font: 700 26px/1.2 var(--sans); color: var(--ink); margin-top: 4px; overflow-wrap: anywhere; }
.tl77 .tl-say { font-size: 16px; color: var(--ink); margin: 0; }
.tl77 .tl-say[data-tone="good"] { color: var(--gr-ink); }
.tl77 .tl-say[data-tone="bad"] { color: var(--w49-red, #b42318); }
.tl77 .a52-s + .a52-s { margin-top: 8px; }
.tl77 .tl-codebox { margin: 4px 0 0; }
.tl77 .tl-codebox b { display: inline-block; font: 700 26px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; color: var(--ink); background: var(--bg-2); border: 1px dashed var(--line-2, var(--line)); border-radius: 6px; padding: 14px 18px; user-select: all; }
