
.toolbar-module {
    background: white;
    border-radius: 12px;
    box-shadow: var(--app-shadow-card);
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 0;
}


.toolbar-joined {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--app-shadow-card);
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 0;
}

.toolbar-joined .toolbar-module {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    
    display: block;
}

.toolbar-joined .toolbar-module:not(:last-child)::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--control-border);
    margin: 0 20px;
}

.toolbar-joined .toolbar-module .card-body {
    
    overflow: visible;
    max-height: none;
}


.toolbar-joined .toolbar-module>summary.card-header {
    
    list-style: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.toolbar-joined .toolbar-module>summary.card-header::-webkit-details-marker {
    display: none;
}

.toolbar-joined .toolbar-module>summary.card-header::marker {
    content: "";
}

.toolbar-joined .toolbar-module>summary.card-header:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.toolbar-joined .toolbar-module>summary.card-header .accordion-chevron {
    
    font-size: 1.1rem;
    line-height: 1;
    color: #000000;
    opacity: 0.65;
    transition: transform 0.15s ease, opacity 0.15s ease;
    transform-origin: center;
    flex-shrink: 0;
}

.toolbar-joined .toolbar-module[open]>summary.card-header .accordion-chevron {
    transform: rotate(180deg);
    opacity: 0.9;
}

.toolbar-module .card-header {
    
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: rgba(0, 0, 0, 0);
    border-image: none;
    min-width: 0;
    padding: 16px 20px;
}

.toolbar-module .card-body {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px 20px 20px;
    overflow-y: auto;
    max-height: 320px;
}

@media (min-height: 700px) {
    .toolbar-module .card-body {
        max-height: 380px;
    }
}

.toolbar-module .input-field,
.toolbar-module .color-picker,
.toolbar-module .primary-btn,
.toolbar-module .secondary-btn,
.toolbar-module .pill-toggle {
    max-width: 100%;
    box-sizing: border-box;
}

.toolbar-module .pill-toggle {
    min-width: 0;
}
