body.hjs-directory-refresh {
    --hjs-ink: #182342;
    --hjs-blue: #2845aa;
    --hjs-muted: #4e5f79;
    --hjs-line: #dbe4f3;
    --hjs-mint: #dff7ed;
    background: #f3f6ff;
    color: var(--hjs-ink);
    font-family: "Inter", "Noto Sans Devanagari", system-ui, sans-serif;
}

.hjs-directory-refresh .directory-header {
    background: #17294d;
    border-bottom: 1px solid #36496d;
}

.hjs-directory-refresh .directory-header .header-content {
    flex-flow: row nowrap;
    gap: clamp(6px, 2vw, 20px);
}

.hjs-directory-refresh .directory-header nav {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: thin;
}

.hjs-directory-refresh .directory-header .brand-square {
    background: #94f0c9;
    color: #0c5144;
}

.hjs-directory-refresh .directory-header nav > .nav-join {
    border-color: #ffcf83;
    background: #ffcf83;
    color: #56310d;
}

.hjs-directory-refresh .directory-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-block: clamp(12px, 3vw, 28px) 12px;
    padding: clamp(12px, 3vw, 32px);
    border-radius: clamp(16px, 3vw, 25px);
    background: linear-gradient(115deg, #231b57 5%, #314ca0 58%, #216d74 100%);
    box-shadow: 0 12px 30px #22355f24;
}

.hjs-directory-refresh .directory-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        repeating-radial-gradient(ellipse at 90% 4%, transparent 0 38px, #b6d8f02d 39px 40px, transparent 41px 67px),
        radial-gradient(ellipse at 88% 0%, #8de5c443, transparent 54%);
}

.hjs-directory-refresh .directory-hero .directory-intro {
    margin: 0;
    padding: 3px 0 clamp(12px, 3vw, 23px);
    border: 0;
    border-radius: 0;
    background: transparent;
}

.hjs-directory-refresh .directory-intro h1 {
    max-width: 22ch;
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(1.8rem, 4.2vw, 3.6rem);
    letter-spacing: -.025em;
    text-wrap: balance;
}

.hjs-directory-refresh .directory-intro p:last-child { color: #e1eaff; }
.hjs-directory-refresh .location-tools .text-button {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.hjs-directory-refresh .location-tools .secondary-button,
.hjs-directory-refresh .location-tools .location-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 7px 11px;
    border: 1px solid #c4d6ee;
    border-radius: 10px;
    background: #edf5ff;
    color: #213964;
}

.hjs-directory-refresh .directory-hero .directory-search {
    margin: 0;
    padding: 7px;
    border: 0;
    border-radius: 13px;
    box-shadow: 0 8px 20px #1428512b;
}

.hjs-directory-refresh .directory-search .primary-button {
    background: #2845aa;
    border-color: #2845aa;
    border-radius: 9px;
}
.hjs-directory-refresh .directory-search .primary-button:hover { background: #1b337f; }
.hjs-directory-refresh .directory-search input { font-size: 1rem; }

.hjs-directory-refresh .category-strip { padding-block: 5px 13px; }
.hjs-directory-refresh .category-strip button {
    --chip-bg: #ecebff;
    --chip-ink: #49358b;
    background: var(--chip-bg);
    color: var(--chip-ink);
    border: 1px solid color-mix(in srgb, var(--chip-ink) 22%, white);
    min-height: 40px;
    font-weight: 650;
}

.hjs-directory-refresh .category-strip button:nth-child(3n + 2) { --chip-bg: #dff5ed; --chip-ink: #126652; }
.hjs-directory-refresh .category-strip button:nth-child(3n + 3) { --chip-bg: #fff0d7; --chip-ink: #825014; }
.hjs-directory-refresh .category-strip button[aria-pressed="true"] {
    border-color: #233c96;
    background: #233c96;
    color: #fff;
}

.hjs-directory-refresh .directory-split { gap: 16px; }
.hjs-directory-refresh :is(.results-panel, .map-panel) {
    box-shadow: 0 8px 24px #26365b0d;
    border-radius: 18px;
}

.hjs-directory-refresh .results-panel .panel-head { background: #edf2ff; }
.hjs-directory-refresh .map-panel .panel-head { background: #ddf5eb; }
.hjs-directory-refresh .panel-head h2 { color: #23376b; }
.hjs-directory-refresh .panel-head p { color: #465a79; }
.hjs-directory-refresh .filter-row {
    padding-block: 10px;
    gap: 6px 8px;
}

.hjs-directory-refresh .filter-row label {
    padding: 5px 8px;
    background: #f1f5ff;
    border-radius: 8px;
    color: #364b71;
}

.hjs-directory-refresh .provider-list { padding: 2px 10px; }
.hjs-directory-refresh .provider-row {
    margin-bottom: 10px;
    border: 1px solid #212429;
    border-inline-start: 5px solid #424fcc;
    border-radius: 11px;
    background: #fff4f4;
}

.hjs-directory-refresh .provider-row:nth-child(3n + 2) { border-inline-start-color: #54bca4; }
.hjs-directory-refresh .provider-row:nth-child(3n + 3) { border-inline-start-color: #e4ab55; }
.hjs-directory-refresh .provider-row.is-highlighted {
    border-color: #438d7f;
    background: #edf9f3;
}
.hjs-directory-refresh .provider-avatar { background: #e8eeff; color: #2845aa; }
.hjs-directory-refresh .provider-links a { color: #233c96; }

.hjs-directory-refresh .mobile-switch { background: #e3ebff; }
.hjs-directory-refresh .mobile-switch [aria-pressed="true"] {
    background: #233c96;
    color: #fff;
}

.hjs-directory-refresh .city-dialog { border-radius: 18px; }
.hjs-directory-refresh .city-form .primary-button { background: #2845aa; border-color: #2845aa; }
.hjs-directory-refresh .hjs-policy-links a { color: #2845aa; }

@media (max-width: 640px) {
    .hjs-directory-refresh .directory-intro { display: block; }
    .hjs-directory-refresh .directory-intro h1 { text-wrap: initial; }
    .hjs-directory-refresh .directory-hero .location-tools { margin-top: 10px; }
}

@media (max-width: 350px) {
    .hjs-directory-refresh .provider-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
    .hjs-directory-refresh .provider-avatar { width: 38px; height: 38px; }
    .hjs-directory-refresh .provider-links { flex-wrap: wrap; justify-content: flex-end; }
}

.hjs-directory-refresh .directory-header .nav-label-compact { display: none; }
@media (max-width: 480px) {
    .hjs-directory-refresh .directory-header .nav-label-wide { display: none; }
    .hjs-directory-refresh .directory-header .nav-label-compact { display: inline; }
}
