#top .tappy-category-tree ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#top .tappy-category-tree ul ul {
    padding-inline-start: 20px;
}

#top .tappy-category-tree li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#top .tappy-category-tree summary,
#top .tappy-category-tree li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 45px;
    padding: 7px 6px 7px 15px;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    list-style: none;
}

#top .tappy-category-tree summary {
    cursor: pointer;
}

#top .tappy-category-tree summary::-webkit-details-marker {
    display: none;
}

#top .tappy-category-tree .is-current {
    color: #39796d;
    font-weight: 600;
}

#top .tappy-category-tree .tappy-tree-toggle {
    display: grid;
    flex: 0 0 30px;
    height: 30px;
    place-items: center;
    background: #72ab9f;
    color: #fff;
    font: 700 19px/1 system-ui, sans-serif;
}

#top .tappy-category-tree .tappy-tree-toggle::before {
    content: "+";
	margin-top: -5px;
}

#top .tappy-category-tree details[open] > summary .tappy-tree-toggle::before {
    content: "×";
	margin-top: -5px;
}
/* Równe wiersze i pojedyncze separatory */
#top .widget .tappy-category-tree ul > li {
    margin: 0;
    padding: 0;
    border: 0;
}

#top .widget .tappy-category-tree li > details {
    margin: 0;
    padding: 0;
    border: 0;
}

#top .widget .tappy-category-tree details > summary,
#top .widget .tappy-category-tree li > a {
    margin: 0;
    min-height: 45px;
    padding: 7px 6px 7px 16px;
    border: 0;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Nagłówki sekcji i zwykłe linki */
#top .widget .tappy-category-tree details > summary {
    color: #171717;
    font-weight: 500;
}

#top .widget .tappy-category-tree li > a {
    color: #626274;
}

/* Aktualna kategoria i najechanie */
#top .widget .tappy-category-tree details > summary.is-current,
#top .widget .tappy-category-tree li > a.is-current {
    color: #39796d;
    font-weight: 600;
}

#top .widget .tappy-category-tree details > summary:hover,
#top .widget .tappy-category-tree li > a:hover {
    color: #39796d;
}
/* Wyzeruj odstępy nadawane listom i akordeonom przez motyw */
#top .tappy-category-tree ul,
#top .tappy-category-tree li,
#top .tappy-category-tree details {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none;
}

#top .tappy-category-tree ul ul {
    padding-inline-start: 20px !important;
}

/* Jeden separator i jednolita wysokość każdego wiersza */
#top .tappy-category-tree details > summary,
#top .tappy-category-tree li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    min-height: 45px;
    margin: 0 !important;
    padding: 7px 4px 7px 8px !important;
    border: 0 !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
    line-height: 1.4;
}

#top .tappy-category-tree details > summary {
    color: #171717 !important;
    font-weight: 500;
}

#top .tappy-category-tree li > a {
    color: #686879 !important;
}

#top .tappy-category-tree details > summary.is-current,
#top .tappy-category-tree li > a.is-current,
#top .tappy-category-tree details > summary:hover,
#top .tappy-category-tree li > a:hover {
    color: #39796d !important;
}

#top .tappy-category-tree .is-current {
    font-weight: 600;
}

#top .widget .tappy-category-tree details > summary {
    color: #171717;
    font-weight: 600 !important;
    color: rgb(126, 130, 153) !important;
    font-size: 14px !important;
}

#top .tappy-category-tree summary > .tappy-tree-section-link {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

#top .tappy-category-tree summary > .tappy-tree-section-link:hover {
    text-decoration: none;
}

/* Ciemnoszare tło ikonki + w zwiniętych sekcjach */
#top .tappy-category-tree details:not([open]) > summary > .tappy-tree-toggle {
    background-color: #565656;
}

/* Wielkie litery tylko na pierwszym poziomie drzewka */
#top .tappy-category-tree > ul > li > a,
#top .tappy-category-tree > ul > li > details > summary {
    text-transform: uppercase;
}

#top .widget .tappy-category-tree li > a {
    font-weight: 600;
	color: rgb(126, 130, 153) !important;
}
#top .widget .tappy-category-tree details > summary.is-current, #top .widget .tappy-category-tree li > a.is-current {
    color: #39796d !important;
    font-weight: 600;
}

