.ctw-tree ul {
    list-style: none;
    padding-left: 20px;
}

.ctw-tree > ul { 
    padding-left: 0 
}

.ctw-tree li {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.ctw-toggle {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-right: 8px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    color: #334155;
    font: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    vertical-align: middle;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    flex: 0 0 auto;
}

.ctw-toggle:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.ctw-toggle:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.ctw-toggle:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.14), 0 2px 4px rgba(15, 23, 42, 0.12);
}

.ctw-tree a {
    text-decoration: none;
}

.ctw-category-name {
    line-height: 26px;
    flex: 0 1 auto;
}

button.ctw-toggle{
    padding: 0;
}
.ctw-toggle-icon,
.ctw-toggle-icon-image,
.ctw-toggle-icon-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
}

.ctw-toggle-icon-image {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.ctw-branch-content {
    margin-top: 5px;
    flex: 0 0 100%;
}

.ctw-post-list {
    margin-top: 6px;
}

.ctw-tree ul.ctw-post-list {
    padding-left: 32px;
}

.ctw-post-item {
    margin: 4px 0;
}

.ctw-post-item a { 
    font-weight: bold; 
    text-decoration: none; 
}