#sidePanel.clipart-panel-active #tab-clipart .editor-design-category-toolbar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    color: #172033;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-category-toolbar[hidden] {
    display: none;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-category-back {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    background: #fff;
    color: #172033;
    cursor: pointer;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-category-back[hidden] {
    display: none;
}

.editor-design-category-back svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.editor-design-category-toolbar strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-library {
    min-height: 0;
    flex: 1 1 auto;
    grid-auto-rows: max-content;
    gap: 8px;
    margin: 0;
    padding: 0px 4px 12px 0px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c2ccdc transparent;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-library::-webkit-scrollbar {
    width: 6px;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-library::-webkit-scrollbar-thumb {
    border: 1px solid transparent;
    border-radius: 999px;
    background: #b8c2cf;
    background-clip: padding-box;
}

#sidePanel.clipart-panel-active #tab-clipart .text-preset-group {
    min-width: 0;
    gap: 9px;
}

#sidePanel.clipart-panel-active #tab-clipart .text-preset-group-title {
    min-height: 28px;
    justify-content: flex-start;
    margin-top: 6px;
}

.editor-design-category-image {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid #e1e7ef;
    border-radius: 9px;
    object-fit: cover;
}

#sidePanel.clipart-panel-active #tab-clipart .text-preset-group-title strong {
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 300;
}

#sidePanel.clipart-panel-active #tab-clipart .text-preset-group-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 28px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
    font: 400 13px/1 Geologica Auto, Arial, sans-serif;
    letter-spacing: normal;
    white-space: nowrap;
    cursor: pointer;
    margin-right: 8px;
}

#sidePanel.clipart-panel-active #tab-clipart .text-preset-group-action:hover {
    color: #0051bb;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-category-toolbar .text-preset-group-action {
    margin-left: auto;
    margin-right: 20px;
    font-size: 13px !important;
}

.text-preset-group-action-icon {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
}

#sidePanel.clipart-panel-active #tab-clipart .text-preset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-card {
    position: relative;
    display: grid;
    place-items: center;
    height: 112px;
    padding: 7px;
    border-color: #dce4ee;
    border-radius: 14px;
    background: #fff;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-card:hover {
    border-color: #3b82f6 !important;
    transform: none !important;
}

#sidePanel.clipart-panel-active #tab-clipart .editor-design-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.editor-design-card-loading {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgb(255 255 255 / 55%);
}

@media (max-width: 420px) {
    #sidePanel.clipart-panel-active #tab-clipart .text-preset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#sidePanel.text-panel-active #tab-text .text-design-presets-title {
    min-height: 32px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    margin: 4px 14px 0;
    color: #172033;
    font-size: 13px;
    font-weight: 600;
}

#sidePanel.text-panel-active #tab-text .text-design-presets-title[hidden] {
    display: none;
}

#sidePanel.text-panel-active #tab-text .editor-design-category-toolbar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    height: 32px;
    min-height: 32px;
    margin: 8px 14px 0;
    color: #172033;
}

#sidePanel.text-panel-active #tab-text .editor-design-category-toolbar[hidden] {
    display: none;
}

#sidePanel.text-panel-active #tab-text .editor-design-category-toolbar strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sidePanel.text-panel-active #tab-text .editor-design-category-toolbar .text-preset-group-action {
    margin-left: auto;
    margin-right: 0;
    font-size: 13px !important;
}

#sidePanel.text-panel-active #tab-text .text-preset-gallery {
    min-height: 0;
    grid-auto-rows: max-content;
    gap: 8px;
    scrollbar-gutter: stable;
}

#sidePanel.text-panel-active #tab-text .text-design-preset-gallery .text-preset-group {
    min-width: 0;
    gap: 9px;
}

#sidePanel.text-panel-active #tab-text .text-design-preset-card {
    height: 112px;
    padding: 7px;
    border-color: #dce4ee;
    border-radius: 14px;
    background: #fff;
}

#sidePanel.text-panel-active #tab-text .text-design-preset-card:hover {
    border-color: #3b82f6 !important;
    transform: none !important;
}

#sidePanel.text-panel-active #tab-text .text-design-preset-card .text-preset-stage {
    display: block;
    width: 100%;
    height: 96px;
    min-height: 0;
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
}

@media (max-width: 420px) {
    #sidePanel.text-panel-active #tab-text .text-preset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}