:root {
    --tl-accent: #10b981;
    --tl-navy: #1e2a4a;
    --tl-border: #d1d5db;
    --tl-text: #1f2937;
    --tl-amber: #e6a23c;
}

/* .dt-wrap / .dt-header / .dt-breadcrumb / .dt-title / .dt-sub are already
   styled by the shared dev-tool.css (loaded via devtool_layout) — not
   redefined here to avoid conflicting/duplicate rules. This page centers
   its own intro block via the .tl-centered modifier class instead of
   overriding .dt-header globally (which would affect other tool pages). */
.dt-wrap { margin-bottom:30px; }

.dt-header.tl-centered {
    text-align: center;
}

.dt-header.tl-centered .dt-breadcrumb {
    display: flex;
    
}

.dt-header.tl-centered .dt-sub {
    margin-left: auto;
    margin-right: auto;
}

.dt-header.tl-centered .tl-search-row {
    display: flex;
    justify-content: center;
}

/* ==== SEARCH ==== */
.tl-search-row {
    margin-top: 18px;
    margin-bottom: 26px;
}

.tl-search-input {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    border: 1px solid var(--tl-border);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--tl-navy);
    background: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.tl-search-input:focus {
    outline: none;
    border-color: var(--tl-accent);
}

/* ==== INDEX GRID ==== */
.tl-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px 40px;
}

.tl-index-col-title {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 13px;
    color: var(--tl-accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
	text-decoration: none;
}

.tl-index-col-title:hover {
    text-decoration: underline;
}

.tl-index-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tl-index-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    color: var(--tl-text);
    text-decoration: none;
}

.tl-index-item a:hover {
    color: var(--tl-accent);
}

.tl-index-tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--tl-amber);
}

.tl-index-tool-icon svg {
    width: 100%;
    height: 100%;
    max-width: 16px;
    max-height: 16px;
    display: block;
}

.tl-index-item.tl-hidden {
    display: none;
}

.tl-index-col.tl-hidden {
    display: none;
}

.tl-empty {
    padding: 60px 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

@media (max-width: 900px) {
    .tl-index-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 24px 28px;
    }
}

@media (max-width: 560px) {
    .tl-index-grid {
        grid-template-columns: 1fr;
    }
}