@font-face {
    font-family: "Inter";
    src: url("/static/autonav/fonts/inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap
}

:root {
    --th-blue: #2563eb;
    --th-navy: #0f172a;
    --th-text: #334155;
    --th-muted: #64748b;
    --th-border: #e2e8f0;
    --th-surface: #fff;
    --th-bg: #f5f7fb;
    --bs-body-font-family: "Inter", system-ui, sans-serif;
    --bs-body-color: var(--th-text);

    --default-color: #555555;
    --contrast-color: var(--bs-light, #ffffff);
    --background-color: var(--th-bg, #ffffff);
    --accent-color: var(--bs-primary, #2780e3);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--th-bg);
    color: var(--th-text);
    -webkit-font-smoothing: antialiased
}

.container-xxl {
    max-width: 1220px;
    padding-inline: 24px
}

.directory-intro {
    padding-top: 38px;
    padding-bottom: 28px;
    text-align: center
}

.brand-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--th-navy)
}

.brand-mark {
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px
}

.brand-line strong {
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -.6px
}

.brand-line strong span {
    color: var(--th-blue)
}

.version-badge {
    padding: 3px 7px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--th-blue);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em
}

.external-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    width: 100%;
    max-width: 820px;
    margin: 22px auto 0 20px;
}

.search-field {
    display: flex;
    min-width: 0;
    height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--th-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px #0f172a0a
}

.search-field:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px #dbeafe
}

.search-field i {
    color: #94a3b8
}

.search-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--th-navy);
    font: inherit;
    font-size: 13px
}

.search-field input::placeholder {
    color: #94a3b8
}

.search-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border: 0;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    transition: .16s ease
}

.search-button:hover,
.search-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px #0f172a1a;
    outline: none
}

.google-search {
    background: var(--th-blue);
    color: #fff
}

.chatgpt-search {
    background: #10a37f;
    color: #fff
}

.directory-section {
    scroll-margin-top: 16px;
    padding-bottom: 18px
}

.directory-section > .container-xxl {
    padding-top: 22px;
    padding-bottom: 24px;
    border: 1px solid var(--th-border);
    border-radius: 14px;
    background: var(--th-surface);
    box-shadow: 0 5px 20px #0f172a08
}

.section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px
}

.section-icon {
    display: grid;
    flex: 0 0 auto;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 10px;
    font-size: 20px
}

.section-icon.blue {
    background: #eff6ff;
    color: #2563eb
}

.section-icon.red {
    background: #fef2f2;
    color: #dc2626
}

.section-icon.green {
    background: #f0fdf4;
    color: #16a34a
}

.eyebrow {
    color: var(--th-blue);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .11em
}

.section-title h2 {
    margin: 1px 0 2px;
    color: var(--th-navy);
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -.35px
}

.section-title p {
    margin: 0;
    color: var(--th-muted);
    font-size: 11px
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px
}

.directory-link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 76px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #edf1f5;
    border-radius: 9px;
    background: #fbfcfe;
    color: inherit;
    text-decoration: none;
    transition: .16s ease
}

.directory-link:hover,
.directory-link:focus-visible {
    transform: translateY(-1px);
    border-color: #93c5fd;
    background: #f8fbff;
    box-shadow: 0 6px 16px #0f172a0d;
    outline: none
}

.directory-link > span:nth-child(2) {
    min-width: 0
}

.directory-link strong,
.directory-link small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.directory-link strong {
    color: var(--th-navy);
    font-size: 11px;
    font-weight: 750
}

.directory-link small {
    margin-top: 3px;
    color: var(--th-muted);
    font-size: 10px
}

.directory-link > i {
    color: #94a3b8;
    font-size: 11px;
    opacity: 0;
    transition: opacity .16s ease
}

.directory-link:hover > i,
.directory-link:focus-visible > i {
    opacity: 1
}

.site-badge,
.video-badge,
.solution-badge {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 850
}

.site-badge.orange {background: #fff7ed; color: #ea580c}
.site-badge.green {background: #f0fdf4; color: #15803d}
.site-badge.red {background: #fef2f2; color: #dc2626}
.site-badge.yellow {background: #fefce8; color: #a16207}
.site-badge.dark {background: #f1f5f9; color: #1e293b}
.site-badge.blue {background: #eff6ff; color: #2563eb}

.site-badge,
.video-badge,
.solution-badge {
    position: relative;
}

.site-badge img,
.video-badge img,
.solution-badge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    background-color: inherit;
    opacity: 0;
    transition: opacity .2s ease;
}

.site-badge img.loaded,
.video-badge img.loaded,
.solution-badge img.loaded {
    opacity: 1;
}

.video-badge {
    background: #fef2f2;
    color: #dc2626;
    font-size: 19px
}

.solution-badge {
    background: #f0fdf4;
    color: #15803d;
    font-size: 16px
}

footer {
    padding: 10px 0 30px;
    color: #94a3b8;
    font-size: 9px
}

footer .container-xxl {
    display: flex;
    justify-content: space-between;
    gap: 16px
}

footer span:first-child {
    color: #64748b;
    font-weight: 750
}

@media (max-width: 991.98px) {
    .link-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media (max-width: 767.98px) {
    .link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 575.98px) {
    .container-xxl {
        padding-inline: 15px
    }

    .directory-intro {
        padding-top: 24px;
        padding-bottom: 20px
    }

    .external-search {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-top: 18px
    }

    .search-field {
        grid-column: 1 / -1;
        height: 46px;
        padding-inline: 12px
    }

    .search-field input {
        font-size: 11px
    }

    .search-button {
        min-height: 42px;
        padding-inline: 10px;
        font-size: 10px
    }

    .directory-section {
        padding-bottom: 11px
    }

    .directory-section > .container-xxl {
        padding-top: 17px;
        padding-bottom: 17px;
        border-right: 0;
        border-left: 0;
        border-radius: 0
    }

    .section-title {
        gap: 10px;
        margin-bottom: 13px
    }

    .section-icon {
        width: 38px;
        height: 38px;
        font-size: 17px
    }

    .section-title h2 {
        font-size: 17px
    }

    .section-title p {
        font-size: 9px
    }

    .link-grid {
        gap: 7px
    }

    .directory-link {
        grid-template-columns: 32px minmax(0, 1fr);
        min-height: 66px;
        gap: 8px;
        padding: 8px
    }

    .site-badge,
    .video-badge,
    .solution-badge {
        width: 32px;
        height: 32px;
        border-radius: 7px
    }

    .video-badge {
        font-size: 16px
    }

    .solution-badge {
        font-size: 14px
    }

    .directory-link strong {
        font-size: 9px
    }

    .directory-link small {
        margin-top: 2px;
        font-size: 7px
    }

    .directory-link > i {
        display: none
    }

    footer .container-xxl {
        flex-direction: column;
        gap: 4px
    }
}
