.tk-directory{padding:24px 0 32px;border-bottom:1px solid #d5dfe5;margin-bottom:28px;scroll-margin-top:90px}
.tk-directory-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(170px,1fr) auto;gap:14px;align-items:end;margin:20px 0 12px}
.tk-directory-controls[hidden],.tk-directory-card[hidden],#tool-finder-empty[hidden],#tool-finder-more[hidden]{display:none!important}
.tk-directory-controls label{display:grid;gap:8px;font-weight:650;color:#173749}
.tk-directory-controls input,.tk-directory-controls select{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #b8c7cf;border-radius:8px;background:#fff;color:#102c3e;font:inherit}
.tk-directory-controls .btn{min-height:48px}
.tk-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.tk-directory-card{display:flex;flex-direction:column;gap:10px;padding:20px;background:#fff;border:1px solid #d2dce2;border-radius:12px;color:#183747;text-decoration:none;min-width:0}
.tk-directory-card:hover{border-color:#8f7539;background:#fbfcfd}
.tk-directory-card:focus-visible,.tk-tool-jumps a:focus-visible{outline:3px solid #a98742;outline-offset:3px}
.tk-directory-card strong{font-size:18px;line-height:1.35}.tk-directory-card>span:not(.tk-directory-category):not(.tk-directory-open){font-size:14px;line-height:1.6;color:#445b69}
.tk-directory-category{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#74581e;font-weight:700}
.tk-directory-open{margin-top:auto;padding-top:6px;font-weight:700;font-size:13px;color:#173c56}
.tk-directory-orders{padding:22px;background:#edf2f5;border-radius:12px;margin-top:24px}.tk-directory-orders h3{font-size:18px;margin:0 0 12px}.tk-directory-orders ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;padding-left:20px}.tk-directory-orders p{font-size:14px;line-height:1.65;margin:16px 0 0}
.tk-tool-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0}.tk-tool-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border:1px solid #9aaeba;border-radius:8px;color:inherit;text-decoration:none;font-weight:650;font-size:14px}
#tool-reference,#tool-faq,#tk{scroll-margin-top:88px}
@media(max-width:800px){.tk-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tk-directory-controls{grid-template-columns:minmax(0,1fr) minmax(140px,1fr)}.tk-directory-controls label:first-child{grid-column:1/-1}}
@media(max-width:520px){.tk-directory{padding-top:8px}.tk-directory-grid{grid-template-columns:minmax(0,1fr)}.tk-directory-card{padding:18px}.tk-directory-orders{padding:18px}.tk-directory-orders ul{grid-template-columns:minmax(0,1fr)}.tk-tool-jumps{gap:8px}.tk-tool-jumps a{flex:1 1 auto;justify-content:center}}
@media print{.tk-directory-controls,#tool-finder-more,.tk-tool-jumps{display:none!important}.tk-directory-card{break-inside:avoid}}
.tk-chart-downloads{margin:22px auto;padding:22px;border:1px solid #cedbe2;border-left:4px solid #a98742;border-radius:10px;background:#f5f8fa;max-width:1200px}.tk-chart-downloads h2{font-size:22px;margin:0 0 10px}.tk-chart-downloads p{line-height:1.6}.tk-chart-downloads label{font-weight:700;display:block;margin:15px 0 7px}.tk-download-row{display:flex;gap:12px}.tk-download-row select{flex:1;min-width:0;padding:12px;font:inherit;border:1px solid #aebfc9;border-radius:7px;background:white;color:#173749}.tk-download-row button{flex-shrink:0}.tk-chart-library{padding-top:45px;padding-bottom:55px}.tk-chart-library h1{font-size:clamp(32px,5vw,55px);line-height:1.12;margin:22px 0}.tk-chart-library>p{max-width:900px;line-height:1.7}.tk-chart-group{padding:28px 0;scroll-margin-top:90px;border-bottom:1px solid #d5dfe5}.tk-chart-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tk-chart-list li{padding:17px;border:1px solid #d5dfe5;border-radius:9px}.tk-chart-list a{display:grid;gap:8px;color:#15374d}.tk-chart-list a span{font-size:13px;color:#675125}.tk-chart-list p{font-size:13px;line-height:1.5;margin-bottom:0}.tk-pipe-matrix th:first-child,.tk-pipe-matrix td:nth-child(2){position:sticky;background:#edf3f6;z-index:1}.tk-pipe-matrix th:first-child{left:0;min-width:70px}.tk-pipe-matrix td:nth-child(2){left:70px;min-width:75px}.tk-pipe-matrix td{white-space:nowrap}.tk-pipe-matrix small{display:block;color:#526570}.tk-pipe-matrix th{white-space:nowrap}
@media(max-width:620px){.tk-download-row{flex-direction:column}.tk-chart-downloads{padding:17px;margin:18px 12px}.tk-chart-list{grid-template-columns:1fr}.tk-chart-library{padding-top:24px}.tk-download-row button{min-height:48px}}

.tk-pipe-pairs{min-width:1250px;font-size:15px;font-variant-numeric:tabular-nums}.tk-pipe-pairs th,.tk-pipe-pairs td{font-size:15px!important;font-weight:700!important;line-height:1.35;padding:10px 9px!important;text-align:center;white-space:nowrap;color:#102c40}.tk-pipe-pairs thead th{background:#123247;color:white}.tk-pipe-pairs thead tr:nth-child(2) th{background:#dce8ef;color:#102c40}.tk-pipe-pairs tbody td:nth-child(2n+5){background:#edf4f7}.tk-pipe-pairs tbody td:nth-child(2n+4){border-left:2px solid #7892a3}.tk-pipe-pairs tbody th:first-child{position:sticky;left:0;z-index:1;background:#e3ebef}.tk-pipe-pairs tbody th{background:#e3ebef}
