body:has(.ic-catalog) .navbar.navbar-expand-lg.navbar-dark,
body:has(.ic-catalog) .footer { display: none !important; }
body:has(.ic-catalog) > .container-fluid,
body:has(.ic-catalog) .main-content { padding: 0 !important; }
body:has(.ic-catalog) > .container-fluid > .row { margin: 0; }

.ic-catalog { background: #fbfafd; color: #241b37; }
.ic-wrap { width: min(82rem, calc(100% - clamp(2rem, 6vw, 6rem))); margin-inline: auto; }
.ic-hero {
    padding: calc(var(--fs-h, 68px) + clamp(1.5rem, 4vw, 3.75rem)) 0 clamp(1.4rem, 3vw, 2.7rem);
    text-align: center;
    background: linear-gradient(112deg, #f7f6ff, #f2ecfb 62%, #f9f5fb);
    border-bottom: 1px solid #e5e0ee;
}
.ic-hero h1 {
    margin: 0 0 .5rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.055em;
    font-weight: 700;
    color: #30224d;
}
.ic-hero p {
    max-width: 60ch;
    margin: 0 auto;
    font-size: clamp(.98rem, 1.6vw, 1.14rem);
    line-height: 1.55;
    color: #565067;
    text-wrap: balance;
}
.ic-filters { margin: 1.15rem auto 0; max-width: 44rem; }
.ic-search {
    display: flex;
    align-items: center;
    width: 100%;
    gap: .85rem;
    padding: 0 1.1rem;
    color: #655285;
    background: #fff;
    border: 1px solid #9a8cb0;
    border-radius: .85rem;
    box-shadow: 0 3px 8px rgba(53,36,88,.05);
}
.ic-search:focus-within { outline: 3px solid #6545c2; outline-offset: 2px; }
.ic-search input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 3.3rem;
    padding: 0;
    color: #29213f;
    background: transparent;
    border: 0;
    border-radius: 0;
    outline: 0;
    font: inherit;
}
.ic-search input::placeholder { color: #726b7f; opacity: 1; }
.ic-roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem;
    margin-top: .85rem;
}
.ic-roles button {
    min-height: 2.4rem;
    padding: .35rem .9rem;
    border: 1px solid #bdb4cd;
    border-radius: 2rem;
    background: transparent;
    color: #433650;
    font-family: inherit;
    font-weight: 600;
    font-size: .85rem;
}
.ic-roles button:hover { background: #fff; border-color: #8167ac; }
.ic-roles button[aria-pressed="true"] { background: #453363; color: #fff; border-color: #453363; }

.ic-layout {
    display: grid;
    grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-block: clamp(1.6rem, 4vw, 3.4rem);
}
.ic-sidebar { position: sticky; top: calc(var(--fs-h, 68px) + 1.2rem); }
.ic-navigation summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    color: #332641;
    font-weight: 650;
    font-size: .95rem;
    cursor: pointer;
    list-style: none;
}
.ic-navigation summary::-webkit-details-marker { display: none; }
.ic-navigation summary i { font-size: .7rem; }
.ic-navigation[open] summary i { transform: rotate(180deg); }
.ic-navigation nav { display: grid; gap: .15rem; margin-top: .55rem; }
.ic-navigation a {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 2.65rem;
    padding: .45rem .5rem;
    border-radius: .5rem;
    color: #514a63;
    font-size: .88rem;
    font-weight: 550;
    line-height: 1.4;
    text-decoration: none;
}
.ic-navigation a i { width: 1.1rem; color: #6c5a89; text-align: center; flex: none; }
.ic-navigation a:hover { color: #4c2b9f; background: #eeebf5; }
.ic-app-location {
    margin-top: 1.1rem;
    padding-top: .85rem;
    border-top: 1px solid #e4e0eb;
    font-size: .78rem;
    line-height: 1.6;
    color: #625971;
}
.ic-app-location p { margin: 0 !important; font-size: inherit; }
.ic-app-location a, .ic-support a { color: #5335a3; text-underline-offset: .17em; }

.ic-results { min-width: 0; }
.ic-match-count { display: block; color: #60596e; font-size: .88rem; }
.ic-match-count span:not([hidden]) { display: block; margin-bottom: .85rem; }
.ic-section { scroll-margin-top: calc(var(--fs-h, 68px) + 1rem); }
.ic-section + .ic-section { margin-top: 2.8rem; }
.ic-section-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .3rem 1.2rem;
    margin-bottom: .95rem;
}
.ic-section-title h2, .ic-support h2 {
    margin: 0;
    color: #332341;
    font-size: clamp(1.45rem, 2.7vw, 2rem);
    font-weight: 700;
    line-height: 1.23;
    letter-spacing: -.045em;
}
.ic-section-title h2 a { color: inherit; text-decoration: none; }
.ic-section-title p { color: #5f596c; font-size: .93rem; margin: .2rem 0 0; }
.ic-category-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.5rem;
    color: #5535a8;
    font-size: .84rem;
    font-weight: 650;
    text-decoration: none;
}
.ic-category-link:hover, .ic-section-title h2 a:hover { text-decoration: underline; }
.ic-category-link i, .ic-support i { font-size: .8em; }
.ic-empty { padding: 2rem; border: 1px dashed #c9bfd7; border-radius: 1rem; background: #fff; }
.ic-empty p { margin: 0 0 .75rem; font-weight: 600; }
.ic-reset { color: #50349d; background: transparent; border: 1px solid #9f8dbe; border-radius: .55rem; padding: .5rem 1rem; }
.ic-support { padding-block: 1.45rem 2.25rem; border-top: 1px solid #e6e0ed; }
.ic-support h2 { font-size: 1.4rem; }
.ic-support div { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: .6rem; font-size: .9rem; }
.ic-catalog :is(a, button, summary):focus-visible { outline: 3px solid #6047c6; outline-offset: 3px; }
.ic-catalog [hidden] { display: none !important; }

@media (max-width: 850px) {
    .ic-layout { display: block; padding-top: 1.1rem; }
    .ic-sidebar { position: static; margin-bottom: 1.25rem; }
    .ic-navigation { padding: .7rem .9rem; background: #fff; border: 1px solid #e1dbe9; border-radius: .75rem; }
    .ic-navigation nav { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
    .ic-app-location { margin-top: .6rem; border: 0; padding: 0; }
    .ic-app-location br { display: none; }
    .ic-app-location a { margin-left: .25rem; }
}
@media (max-width: 560px) {
    .ic-roles button { flex: 1 1 calc(50% - .4rem); }
    .ic-hero { padding-block: calc(var(--fs-h, 60px) + 1.2rem) 1.2rem; }
    .ic-card-grid { gap: .75rem; }
    .ic-section + .ic-section { margin-top: 2rem; }
}
