@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
}

.navbar > .directory-intro {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding-top: 58px;
    padding-bottom: 8px;
    text-align: center
}

.brand-line {
    display: flex;
    align-self: start;
    margin-top: 7px;
    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) 110px;
    gap: 8px;
    width: 100%;
    margin: 0;
}

.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
}

.directory-section {
    scroll-margin-top: 16px;
    padding-bottom: 18px
}

.guide-home-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding-block: 22px;
    border: 1px solid #cfe0ff;
    border-radius: 14px;
    background: #eef5ff;
}
.guide-home-entry h1 { margin: 5px 0 7px; color: var(--th-navy); font-size: 21px; font-weight: 800; }
.guide-home-entry p { margin: 0; color: var(--th-muted); font-size: 12px; line-height: 1.5; }
.guide-entry-link { display: inline-flex; flex: 0 0 110px; min-height: 48px; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; border-radius: 10px; background: var(--th-blue); color: #fff; text-decoration: none; font-size: 11px; font-weight: 800; white-space: nowrap; }
.guide-entry-link:hover, .guide-entry-link:focus-visible { background: #1d4ed8; color: #fff; }
@media (max-width: 575.98px) {
    .guide-home-entry { flex-direction: column; align-items: flex-start; }
    .guide-entry-link { flex-basis: auto; width: 110px; min-height: 42px; }
}

.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,
.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: minmax(0, 1fr) 110px;
        gap: 7px
    }

    .search-field {
        height: 46px;
        padding-inline: 12px
    }

    .search-field input {
        font-size: 11px
    }

    .search-button {
        min-height: 42px;
        padding-inline: 10px;
        font-size: 10px
    }

    .google-search {
        width: 110px;
    }

    .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
    }
}

.search-area {
    min-width: 0;
    width: 100%;
}

.search-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin: 12px 0 0;
}

.search-platform {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    min-height: 28px;
    padding: 3px 10px 3px 5px;
    background: #fff;
    color: var(--th-text);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background .16s ease;
}

.search-platform:hover,
.search-platform:focus-visible {
    background: #eff6ff;
    color: var(--th-blue);
    outline: none;
}

.search-platform-badge {
    position: relative;
    display: grid;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--th-blue);
    font-size: 8px;
    font-weight: 800;
}

.search-platform-badge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    opacity: 0;
}

.search-platform-badge img.loaded {
    opacity: 1;
}

@media (max-width: 575.98px) {
    .navbar > .directory-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .brand-line {
        margin-top: 0;
    }

    .search-area {
        width: 100%;
    }

    .search-platforms {
        justify-content: flex-start;
        gap: 6px;
    }

    .search-platform {
        font-size: 10px;
    }
}
