.sx-header:has(.sx-category-tree){position:relative;z-index:30;overflow:visible}
.sx-category-preview{font-size:1.1rem;max-width:70ch;margin-block:1rem}
.sx-category-description-bottom{margin-top:2.5rem;max-width:80ch}
.sx-category-card-preview{font-size:.9rem;line-height:1.5;margin-top:.5rem}
.sx-category-navigation.sx-category-tree{position:relative;overflow:visible}
.sx-category-tree .sx-category-roots{display:flex;flex-wrap:wrap;gap:8px 34px;align-items:stretch;overflow:visible;white-space:normal;padding:10px 0;margin:0;list-style:none}
.sx-category-tree .sx-category-node{position:relative;margin:0;padding:0;list-style:none}
.sx-category-tree .sx-category-node>a,.sx-category-tree summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 0;font:inherit;font-size:14px;line-height:1.4;color:inherit;text-decoration:none}
.sx-category-tree summary{cursor:pointer;list-style:none}
.sx-category-tree summary::-webkit-details-marker{display:none}
.sx-category-tree summary::marker{content:''}
.sx-category-tree summary svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.sx-category-tree details[open]>summary>svg{transform:rotate(180deg)}
.sx-category-tree summary:focus-visible{outline:2px solid var(--sx-ink,#282c2b);outline-offset:4px;border-radius:2px}
.sx-category-tree a:hover,.sx-category-tree summary:hover,.sx-category-tree details[data-current=true]>summary{text-decoration:underline;text-underline-offset:5px}
.sx-category-tree .sx-category-panel{padding:12px 14px;border-left:1px solid var(--sx-line,#dedfd7);margin-left:10px;background:var(--wp--preset--color--base,#fff)}
.sx-category-tree .sx-category-roots>.sx-category-node>details>.sx-category-panel{position:absolute;left:0;top:100%;z-index:100;min-width:280px;width:max-content;max-width:min(520px,calc(100vw - 48px));max-height:70vh;overflow-y:auto;padding:18px 22px;margin:0;border:1px solid var(--sx-line,#dedfd7);box-shadow:0 16px 36px rgba(20,28,24,.14);border-radius:3px}
.sx-category-tree .sx-category-children{display:block;overflow:visible;white-space:normal;list-style:none;padding:0;margin:0}
.sx-category-tree .sx-category-children>.sx-category-node>a,.sx-category-tree .sx-category-children summary{min-height:40px;padding:9px 0}
.sx-category-tree .sx-category-all{display:block;font-size:12px;font-weight:500;padding:4px 0 13px;margin-bottom:7px;border-bottom:1px solid var(--sx-line,#dedfd7)}
.sx-footer .sx-category-tree .sx-category-roots,.sx-sidebar .sx-category-tree .sx-category-roots{display:block;padding:0}
.sx-footer .sx-category-tree .sx-category-roots>.sx-category-node>details>.sx-category-panel,.sx-sidebar .sx-category-tree .sx-category-roots>.sx-category-node>details>.sx-category-panel{position:static;min-width:0;width:auto;max-width:none;max-height:none;overflow:visible;box-shadow:none;border:0;border-left:1px solid var(--sx-line,#dedfd7);padding:4px 0 4px 13px;margin:0 0 10px 6px;background:transparent}
.sx-footer .sx-category-tree .sx-category-node>a,.sx-footer .sx-category-tree summary{font-size:13px;min-height:34px;padding:6px 0}
@media(max-width:700px){
 .sx-category-tree .sx-category-roots{display:block;padding:7px 0}
 .sx-category-tree .sx-category-node>a,.sx-category-tree summary{min-height:42px;justify-content:space-between}
 .sx-category-tree .sx-category-roots>.sx-category-node>details>.sx-category-panel{position:static;min-width:0;width:auto;max-width:none;max-height:none;overflow:visible;box-shadow:none;border:0;border-left:1px solid var(--sx-line,#dedfd7);padding:5px 0 12px 17px;margin-left:6px}
}
