/* OC · Herramientas. Misma marca que Noticias. */
.oc-tools section { padding: 0; }
.tl-head { margin-bottom: 28px; }
.tl-head h1 { font-size: clamp(30px, 5vw, 56px); line-height: 1.02; margin: 8px 0 16px; }
.tl-head strong { color: var(--nw-tx); font-weight: 600; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tl-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--nw-line); border-radius: 16px; background: var(--nw-card); transition: border-color .2s; }
.tl-card:hover, .tl-card:focus-visible { border-color: var(--nw-blue); }
.tl-card h2 { font-size: 22px; margin: 0; }
.tl-card p { color: var(--nw-soft); margin: 0; line-height: 1.55; }
.tl-card span { margin-top: auto; padding-top: 8px; color: var(--nw-hi); font-weight: 600; }
.tl-app { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.tl-form, .tl-out { padding: 22px; border: 1px solid var(--nw-line); border-radius: 16px; background: var(--nw-card); min-width: 0; }
.tl-form { display: grid; gap: 16px; }
.tl-form label { display: grid; gap: 6px; font-size: 14px; color: var(--nw-soft); font-weight: 500; }
.tl-form small { color: var(--nw-mu); font-size: 12.5px; font-weight: 400; }
.tl-form input, .tl-form select { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--nw-line); background: #05070D; color: var(--nw-tx); font-size: 16px; font-variant-numeric: tabular-nums; }
.tl-form input:focus-visible, .tl-form select:focus-visible { outline: 2px solid var(--nw-blue); outline-offset: 1px; }
.tl-big { margin: 0 0 16px; }
.tl-big span { display: block; color: var(--nw-mu); font-size: 14px; margin-bottom: 4px; }
.tl-big b { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; font-weight: 800; color: var(--nw-tx); font-variant-numeric: tabular-nums; }
.tl-kv { list-style: none; margin: 0 0 16px; padding: 0; }
.tl-kv li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--nw-line); color: var(--nw-soft); font-size: 15px; }
.tl-kv b { color: var(--nw-tx); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tl-table th, .tl-table td { padding: 8px 10px 8px 0; text-align: left; border-top: 1px solid var(--nw-line); white-space: nowrap; color: var(--nw-mu); font-weight: 400; }
.tl-table tr.on td { color: var(--nw-tx); }
.tl-chart svg { width: 100%; height: auto; display: block; }
.tl-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; font-size: 12.5px; color: var(--nw-mu); }
.tl-legend i { display: inline-block; width: 16px; height: 3px; }
.tl-legend i.a { background: #517BD9; }
.tl-legend i.b { background: #7C8AA5; margin-left: 10px; }
.tl-err { color: #F2A29D; margin: 10px 0 0; }
.tl-src { color: var(--nw-mu); font-size: 12.5px; margin: 10px 0 0; }
.tl-src a { text-decoration: underline !important; }
.tl-copy { max-width: 72ch; margin-top: 40px; color: var(--nw-soft); line-height: 1.7; }
.tl-copy h2 { font-size: 24px; margin: 0 0 12px; }
.tl-copy h3 { font-size: 17px; margin: 20px 0 6px; }
.tl-copy ol { padding-left: 20px; list-style: decimal; }
.tl-copy li { list-style: decimal; margin-bottom: 6px; }
.tl-note { color: var(--nw-mu); font-size: 14px; }
@media (max-width: 820px) { .tl-app { grid-template-columns: minmax(0, 1fr); } }
