/* ============================================================
   BRAND KIT · asistente (diseño "Brand Kit Wizard")
   Bloque unico. Sustituye al bloque anterior del kit.
   Medidas: popup 1120 x 720 = cabecera 72 + cuerpo 572 + pie 76
   Cuerpo: izquierda 640 + lateral Preview 480
   ============================================================ */

.scrollingWrap#popupBrandKit .bk-shell,
.scrollingWrap#popupBrandKit .bk-shell * {
    box-sizing: border-box;
}

.scrollingWrap#popupBrandKit .bk-shell {
    position: relative;
    width: 1120px !important;
    max-width: 96vw !important;
    height: 720px !important;
    max-height: 94vh;
    padding: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    background: #fff;
    box-shadow: 0 30px 80px rgba(23, 23, 43, .4);
    color: #17172b;
}

@media (min-width: 1000px) {
    .scrollingWrap#popupBrandKit .bk-shell {
        min-width: min(1120px, 96vw) !important;
        flex: none !important;
    }
}

/* El chasis .get-premium / .congratsBox pisa alturas, centrados y margenes */
.scrollingWrap#popupBrandKit .bk-shell .col-redesign {
    min-height: 0 !important;
    max-height: none !important;
}

.scrollingWrap#popupBrandKit .bk-shell .col-redesign .bloquer:first-of-type {
    display: block !important;
}

.scrollingWrap#popupBrandKit .bk-shell span {
    margin: 0;
    text-align: inherit;
}

/* ── CABECERA · 72px: titulo + pestanas de pasos + cerrar ───── */

.scrollingWrap#popupBrandKit .bk-head {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
    flex: none;
    padding: 0 76px 0 32px;
    border-bottom: 1px solid #ececf2;
}

.scrollingWrap#popupBrandKit .bk-head-title {
    flex: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #17172b;
    white-space: nowrap;
}

.scrollingWrap#popupBrandKit .bk-head-tabs {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.scrollingWrap#popupBrandKit .bk-steps {
    width: 100%;
    max-width: 560px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.scrollingWrap#popupBrandKit .bk-head .bk-tab {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    height: auto !important;
    padding: 8px 2px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-align: left;
    cursor: pointer;
}

.scrollingWrap#popupBrandKit .bk-tab-top {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 16px;
}

.scrollingWrap#popupBrandKit .bk-tab-top svg {
    flex: none;
}

.scrollingWrap#popupBrandKit .bk-tab-num {
    flex: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
    font-variant-numeric: tabular-nums;
}

.scrollingWrap#popupBrandKit .bk-tab-label {
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #3d3c52;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scrollingWrap#popupBrandKit .bk-tab-bar {
    display: block;
    height: 3px;
    border-radius: 3px;
    background: #ebeaf2;
    overflow: hidden;
}

.scrollingWrap#popupBrandKit .bk-tab-bar i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 3px;
    background: #3533AD;
    transition: width .35s ease;
}

.scrollingWrap#popupBrandKit .bk-tab:hover .bk-tab-label {
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-tab.is-current .bk-tab-num {
    color: #3533AD;
}

.scrollingWrap#popupBrandKit .bk-tab.is-current .bk-tab-label {
    font-weight: 700;
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-tab.is-current .bk-tab-bar i,
.scrollingWrap#popupBrandKit .bk-tab.is-done .bk-tab-bar i {
    width: 100%;
}

.scrollingWrap#popupBrandKit .bk-tab.is-skipped .bk-tab-bar i {
    width: 100%;
    background: #cfcde3;
}

/* Cerrar: circulo de 40px dentro de la cabecera */
.scrollingWrap#popupBrandKit .re-design-doubleBlock.bk-shell > .closeX {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background-color: transparent;
    z-index: 5;
    transition: background-color .15s;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock.bk-shell > .closeX:hover {
    background-color: #f3f3f6;
}

/* ── CUERPO ────────────────────────────────────────────────── */

.scrollingWrap#popupBrandKit .bk-shell .col-redesign {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    height: auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 480px;
    align-items: stretch !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.scrollingWrap#popupBrandKit .bk-shell .col-redesign .bloquer:first-of-type {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;
    padding: 40px 48px !important;
    margin: 0 !important;
    border: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left !important;
}

.scrollingWrap#popupBrandKit .bk-shell .col-redesign .bloquer:last-of-type {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;
    padding: 28px !important;
    margin: 0 !important;
    background: #f3f3f6;
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start !important;
    align-items: stretch !important;
    overflow-y: auto;
    text-align: left !important;
}

.scrollingWrap#popupBrandKit .bk-shell .col-redesign .bloquer:last-of-type img#img_brandkit {
    display: none !important;
}

/* ── Neutralizar el chasis viejo ───────────────────────────── */

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-first-step,
.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-second-step,
.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .title,
.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .bloquer:first-of-type .button,
.scrollingWrap#popupBrandKit .bk-danger-zone,
.scrollingWrap#popupBrandKit .delete-brand-btn,
.scrollingWrap#popupBrandKit #bk-side-tags,
.scrollingWrap#popupBrandKit #bk-side-note {
    display: none !important;
}

/* ── Cabecera de cada paso ─────────────────────────────────── */

.scrollingWrap#popupBrandKit .bk-step-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 28px;
}

.scrollingWrap#popupBrandKit .bk-step-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: #17172b;
    text-align: left;
    margin: 0;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .bloquer:first-of-type p {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #5e5d72 !important;
    text-align: left !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    text-wrap: pretty;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .bloquer:first-of-type p.error {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #c62525 !important;
    margin: 0 !important;
}

/* ── Paso 1 · campos ───────────────────────────────────────── */

.scrollingWrap#popupBrandKit .bk-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 28px;
    width: 100%;
}

.scrollingWrap#popupBrandKit .bk-label {
    display: flex !important;
    align-items: baseline;
    gap: 6px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    color: #17172b;
    text-align: left !important;
    white-space: nowrap;
}

.scrollingWrap#popupBrandKit .bk-label-soft {
    display: inline !important;
    float: none !important;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 500;
    color: #8a899c;
}

.scrollingWrap#popupBrandKit .bk-counter {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #8a899c;
    font-variant-numeric: tabular-nums;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield {
    height: 52px !important;
    border: 1.5px solid #dcdbe6 !important;
    border-radius: 10px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield:nth-of-type(2) {
    margin: 0 !important;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield:focus-within {
    border-color: #3533AD !important;
    box-shadow: 0 0 0 4px #e6e5fb;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield input {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #17172b !important;
    text-align: left !important;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield input::placeholder {
    color: #9a9aad;
}

/* ── Caja de subida (logo y fuentes) ───────────────────────── */

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield-logo {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield-logo .drag-zone.bk-drop {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 168px !important;
    margin: 0 !important;
    padding: 24px !important;
    border: 1.5px dashed #c9c8dc !important;
    border-radius: 14px !important;
    outline: none !important;
    background: #fafafd !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield-logo .drag-zone.bk-drop:hover {
    border-color: #3533AD !important;
    background: #f4f4fd !important;
}

.scrollingWrap#popupBrandKit .bk-drop > span {
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
    float: none !important;
    flex: none !important;
}

.scrollingWrap#popupBrandKit .bk-drop-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eeeefb;
    color: #3533AD;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.scrollingWrap#popupBrandKit .bk-drop-label {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35 !important;
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-drop-hint {
    font-size: 13px;
    line-height: 1.4 !important;
    color: #6b6a80;
}

/* ── Logos subidos · 104px con etiqueta ────────────────────── */

.scrollingWrap#popupBrandKit .bk-logos {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start !important;
    margin: 0 !important;
}

.scrollingWrap#popupBrandKit .bk-logo-item {
    width: 104px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scrollingWrap#popupBrandKit .bk-logos .brandkit-thumb-wrap {
    position: relative;
    width: 104px !important;
    height: 104px !important;
    border-radius: 12px;
    border: 1px solid #e6e5f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scrollingWrap#popupBrandKit .bk-logo-item.is-main .brandkit-thumb-wrap {
    border: 2px solid #3533AD;
}

.scrollingWrap#popupBrandKit .bk-logos .brandkit-thumb {
    max-width: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    object-fit: contain !important;
}

.scrollingWrap#popupBrandKit .bk-logo-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
}

.scrollingWrap#popupBrandKit .bk-logo-item.is-main .bk-logo-label {
    color: #3533AD;
}

/* Boton de quitar: dentro de la miniatura, arriba a la derecha */
.scrollingWrap#popupBrandKit .brandkit-thumb-wrap .brandkit-thumb-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(23, 23, 43, .18);
    color: #5e5d72;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    opacity: 1;
    transition: color .15s;
}

.scrollingWrap#popupBrandKit .brandkit-thumb-wrap .brandkit-thumb-delete:hover {
    color: #c02a2a;
}

/* ── Imagenes · rejilla 3 columnas 4:3 ─────────────────────── */

.scrollingWrap#popupBrandKit .bk-img-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.scrollingWrap#popupBrandKit .bk-img-items {
    display: contents !important;
}

.scrollingWrap#popupBrandKit .bk-img-item {
    position: relative;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f3f6;
    margin: 0 !important;
}

.scrollingWrap#popupBrandKit .bk-img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.scrollingWrap#popupBrandKit .bk-img-cover {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(23, 23, 43, .72);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .drag-zone.bk-img-add {
    aspect-ratio: 4 / 3;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px dashed #c9c8dc !important;
    border-radius: 12px !important;
    background: #fafafd !important;
    color: #3533AD;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .drag-zone.bk-img-add:hover {
    border-color: #3533AD !important;
    background: #f4f4fd !important;
}

.scrollingWrap#popupBrandKit .bk-img-add span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.scrollingWrap#popupBrandKit .bk-meta {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #8a899c;
}

/* ── Fuentes subidas ───────────────────────────────────────── */

.scrollingWrap#popupBrandKit .bk-fonts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scrollingWrap#popupBrandKit .bk-font-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px 12px 12px;
    border-radius: 12px;
    border: 1px solid #e2e1ea;
    background: #fff;
}

.scrollingWrap#popupBrandKit .bk-font-aa {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 10px;
    border: 1px solid #ececf2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-font-name {
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    color: #17172b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scrollingWrap#popupBrandKit .bk-assets-empty {
    font-size: 13px;
    color: #8a899c;
}

/* ── Colores ───────────────────────────────────────────────── */

.scrollingWrap#popupBrandKit .bk-colors-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-colors-count {
    font-size: 13px;
    font-weight: 500;
    color: #8a899c;
    font-variant-numeric: tabular-nums;
    flex: none;
}

.scrollingWrap#popupBrandKit .bk-colors-empty {
    font-size: 13px;
    color: #8a899c;
    align-self: center;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    grid-template-columns: none !important;
    width: 100%;
    min-height: 80px;
}

.grid-color-admin .containerColorChnageBrand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80px;
    overflow: visible;
    position: relative !important;
    flex: none;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color .containerColorChnageBrand > button {
    width: 80px !important;
    height: 80px !important;
    border-radius: 14px !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    transition: box-shadow .15s;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .08) !important;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color .containerColorChnageBrand > button:hover {
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .08), 0 3px 10px rgba(23, 23, 43, .16) !important;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color .containerColorChnageBrand > button.is-selected {
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #3533AD !important;
}

.scrollingWrap#popupBrandKit .grid-color-admin .brandkit-color-hex {
    display: block;
    width: 100%;
    margin: 10px 0 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: #8a899c;
    text-align: left;
    text-transform: uppercase;
    user-select: text;
    -webkit-user-select: text;
}

.grid-color-admin .containerColorChnageBrand .brandkit-color-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #5e5d72;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s, visibility .15s, color .15s;
    box-shadow: 0 1px 4px rgba(23, 23, 43, .18);
    z-index: 2;
}

.grid-color-admin .containerColorChnageBrand:hover .brandkit-color-delete,
.grid-color-admin .containerColorChnageBrand:focus-within .brandkit-color-delete {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.grid-color-admin .brandkit-color-delete:hover {
    color: #c02a2a;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color button.add-color {
    width: 80px !important;
    height: 80px !important;
    border-radius: 14px !important;
    border: 1.5px dashed #c9c8dc !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin: 0 !important;
    padding: 0 !important;
    flex: none;
    transition: border-color .15s, background .15s;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color button.add-color::before {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    color: #3533AD;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color button.add-color:hover {
    border-color: #3533AD !important;
    background: #f4f4fd !important;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .bloquer:first-of-type p.bk-colors-hint,
.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .bk-colors-hint {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #8a899c !important;
    margin: 18px 0 0 !important;
    text-align: left !important;
}

/* Reordenar colores por arrastre */
.scrollingWrap#popupBrandKit .grid-color-admin .containerColorChnageBrand[draggable="true"] {
    cursor: grab;
}

.scrollingWrap#popupBrandKit .grid-color-admin .containerColorChnageBrand.is-dragging {
    opacity: .4;
    cursor: grabbing;
}

.scrollingWrap#popupBrandKit .grid-color-admin.is-reordering .containerColorChnageBrand .brandkit-color-delete {
    opacity: 0 !important;
    visibility: hidden !important;
}

.scrollingWrap#popupBrandKit .grid-color-admin .containerColorChnageBrand.is-drop-before::before,
.scrollingWrap#popupBrandKit .grid-color-admin .containerColorChnageBrand.is-drop-after::before {
    content: "";
    position: absolute;
    top: -3px;
    width: 3px;
    height: 86px;
    border-radius: 2px;
    background: #3533AD;
    z-index: 4;
}

.scrollingWrap#popupBrandKit .grid-color-admin .containerColorChnageBrand.is-drop-before::before {
    left: -9px;
}

.scrollingWrap#popupBrandKit .grid-color-admin .containerColorChnageBrand.is-drop-after::before {
    right: -9px;
}

/* ── Paletas predefinidas ──────────────────────────────────── */

.scrollingWrap#popupBrandKit .bk-palettes-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0 0;
}

.scrollingWrap#popupBrandKit .bk-sub-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-palettes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.scrollingWrap#popupBrandKit .bk-palettes .bk-palette {
    display: flex !important;
    align-items: center;
    gap: 10px;
    height: auto !important;
    padding: 8px 12px 8px 8px !important;
    margin: 0 !important;
    border: 1px solid #e2e1ea !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: border-color .15s;
}

.scrollingWrap#popupBrandKit .bk-palettes .bk-palette:hover {
    border-color: #3533AD !important;
}

.scrollingWrap#popupBrandKit .bk-palettes .bk-palette.is-active {
    border: 2px solid #3533AD !important;
    padding: 7px 11px 7px 7px !important;
}

.scrollingWrap#popupBrandKit .bk-palette-strip {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .08);
}

.scrollingWrap#popupBrandKit .bk-palette-strip i {
    display: block;
    width: 14px;
    height: 28px;
}

.scrollingWrap#popupBrandKit .bk-palette-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: #2b2a3d;
    white-space: nowrap;
}

/* ── Solo lectura ──────────────────────────────────────────── */

.scrollingWrap#popupBrandKit .grid-color-admin.is-readonly .brandkit-color-delete,
.scrollingWrap#popupBrandKit .grid-color-admin.is-readonly .add-color,
.scrollingWrap#popupBrandKit .bk-shell.is-readonly .bk-btn-main,
.scrollingWrap#popupBrandKit .bk-shell.is-readonly .bk-drop,
.scrollingWrap#popupBrandKit .bk-shell.is-readonly .bk-img-add,
.scrollingWrap#popupBrandKit .bk-shell.is-readonly .brandkit-thumb-delete {
    display: none !important;
}

.scrollingWrap#popupBrandKit .grid-color-admin.is-readonly .containerColorChnageBrand > button {
    cursor: default;
    pointer-events: none;
}

.scrollingWrap#popupBrandKit .bk-shell.is-readonly .brand-info input {
    pointer-events: none;
    color: #6b6a80 !important;
}

.scrollingWrap#popupBrandKit .bk-readonly-bar {
    flex: none;
    padding: 10px 32px;
    background: #fff8e6;
    border-top: 1px solid #f0e2bd;
    font-size: 12.5px;
    font-weight: 600;
    color: #8a6a00;
    text-align: left;
}

/* ============================================================
   LATERAL · Preview
   ============================================================ */

.scrollingWrap#popupBrandKit .bk-side-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.scrollingWrap#popupBrandKit .bk-side-label {
    flex: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: #2b2a3d;
}

.scrollingWrap#popupBrandKit .bk-progress {
    flex: 1 1 0;
    height: 4px;
    border-radius: 4px;
    background: #e2e1ea;
    overflow: hidden;
}

.scrollingWrap#popupBrandKit .bk-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 4px;
    background: #3533AD;
    transition: width .3s;
}

.scrollingWrap#popupBrandKit .bk-progress-count {
    flex: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.scrollingWrap#popupBrandKit .bk-preview {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: none;
}

/* Tarjeta principal */
.scrollingWrap#popupBrandKit .bk-pv-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(23, 23, 43, .05);
    transition: background .3s, box-shadow .2s;
}

.scrollingWrap#popupBrandKit .bk-pv-hero.is-active {
    box-shadow: 0 0 0 3px #3533AD;
}

.scrollingWrap#popupBrandKit .bk-pv-banner {
    position: relative;
    height: 96px;
    background: repeating-linear-gradient(135deg, #ececf3 0 8px, #f4f4f8 8px 16px);
    cursor: pointer;
}

.scrollingWrap#popupBrandKit .bk-pv-banner.is-active:not(.has-img) {
    background: repeating-linear-gradient(135deg, #e6e5fb 0 8px, #f1f0fd 8px 16px);
}

.scrollingWrap#popupBrandKit .bk-pv-banner.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px dashed #3533AD;
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.scrollingWrap#popupBrandKit .bk-pv-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.scrollingWrap#popupBrandKit .bk-pv-cover-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #7d7c92;
}

.scrollingWrap#popupBrandKit .bk-pv-logo {
    position: absolute;
    left: 20px;
    top: 58px;
    width: 76px;
    height: 76px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px dashed #c9c8d6;
    box-shadow: 0 4px 14px rgba(23, 23, 43, .12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    color: #7d7c92;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.scrollingWrap#popupBrandKit .bk-pv-logo.has-img {
    border: 0;
}

.scrollingWrap#popupBrandKit .bk-pv-logo.is-active {
    border: 2px dashed #3533AD;
}

.scrollingWrap#popupBrandKit .bk-pv-logo.has-img.is-active {
    border: 2px solid #3533AD;
}

.scrollingWrap#popupBrandKit .bk-pv-logo .bk-pv-logo-img {
    width: 64px;
    height: 64px;
}

.scrollingWrap#popupBrandKit .bk-pv-logo-img {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.scrollingWrap#popupBrandKit .bk-pv-body {
    padding: 46px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scrollingWrap#popupBrandKit .bk-pv-kitname {
    align-self: flex-start;
    max-width: 100%;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .75;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.scrollingWrap#popupBrandKit .bk-pv-kitname.is-default {
    opacity: .5;
}

.scrollingWrap#popupBrandKit .bk-pv-h {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.01em;
    border-radius: 3px;
    text-wrap: balance;
    cursor: pointer;
}

.scrollingWrap#popupBrandKit .bk-pv-kitname.is-active,
.scrollingWrap#popupBrandKit .bk-pv-h.is-active {
    outline: 2px solid #3533AD;
    outline-offset: 3px;
}

.scrollingWrap#popupBrandKit .bk-pv-p {
    font-size: 13px;
    line-height: 1.4;
    opacity: .8;
}

.scrollingWrap#popupBrandKit .bk-pv-cta {
    align-self: flex-start;
    margin-top: 8px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .3s;
    cursor: pointer;
}

/* Tres miniaturas: story, post y resumen del kit */
.scrollingWrap#popupBrandKit .bk-pv-minis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    height: 132px;
    flex: none;
}

.scrollingWrap#popupBrandKit .bk-pv-mini {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: none;
    transition: background .3s, box-shadow .2s;
}

/* El borde va encima del contenido: si va en el propio bloque, la imagen lo tapa y parece que se sale */
.scrollingWrap#popupBrandKit .bk-pv-mini::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px #e6e5f0;
    pointer-events: none;
    z-index: 2;
}

.scrollingWrap#popupBrandKit .bk-pv-kit::after {
    display: none;
}

.scrollingWrap#popupBrandKit .bk-pv-mini.is-active {
    box-shadow: 0 0 0 2px #3533AD;
}

.scrollingWrap#popupBrandKit .bk-pv-story {
    display: flex;
    flex-direction: column;
}

.scrollingWrap#popupBrandKit .bk-pv-story-img {
    height: 58px;
    flex: none;
    background-size: cover;
    background-position: center;
}

.scrollingWrap#popupBrandKit .bk-pv-story-img.is-empty {
    background: repeating-linear-gradient(135deg, #ececf3 0 8px, #f4f4f8 8px 16px);
}

.scrollingWrap#popupBrandKit .bk-pv-story-body {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scrollingWrap#popupBrandKit .bk-pv-story-h {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
}

.scrollingWrap#popupBrandKit .bk-pv-story-logo {
    align-self: flex-start;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .08);
}

.scrollingWrap#popupBrandKit .bk-pv-story-logo .bk-pv-logo-img {
    width: 24px;
    height: 24px;
}

.scrollingWrap#popupBrandKit .bk-pv-post {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scrollingWrap#popupBrandKit .bk-pv-post-k {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .7;
}

.scrollingWrap#popupBrandKit .bk-pv-post-h {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.scrollingWrap#popupBrandKit .bk-pv-post-btn {
    align-self: flex-start;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
}

.scrollingWrap#popupBrandKit .bk-pv-kit {
    background: #fff;
    box-shadow: none;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scrollingWrap#popupBrandKit .bk-pv-kit-k {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8a899c;
}

.scrollingWrap#popupBrandKit .bk-pv-dots {
    display: flex;
    gap: 4px;
}

.scrollingWrap#popupBrandKit .bk-pv-dots i {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(23, 23, 43, .08);
}

.scrollingWrap#popupBrandKit .bk-pv-dots i.is-empty {
    border: 1.5px dashed #c9c8d6;
}

.scrollingWrap#popupBrandKit .bk-pv-kit-font {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.scrollingWrap#popupBrandKit .bk-pv-kit-font span {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-pv-kit-font em {
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    color: #6b6a80;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── PIE · 76px ────────────────────────────────────────────── */

.scrollingWrap#popupBrandKit .bk-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 76px;
    flex: none;
    padding: 0 28px 0 32px;
    border-top: 1px solid #ececf2;
    background: #fff;
}

.scrollingWrap#popupBrandKit .bk-foot-left {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 8px;
}

.scrollingWrap#popupBrandKit .bk-foot-left > button {
    position: static !important;
    transform: none !important;
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    background: none;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.scrollingWrap#popupBrandKit .bk-foot-back {
    height: 44px;
    padding: 0 12px 0 6px !important;
    margin-left: -6px !important;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #2b2a3d;
}

.scrollingWrap#popupBrandKit .bk-foot-back:hover {
    background: #f3f3f6 !important;
}

.scrollingWrap#popupBrandKit .bk-foot-link {
    height: 44px;
    padding: 0 12px !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
}

.scrollingWrap#popupBrandKit .bk-foot-link:hover {
    background: #f3f3f6 !important;
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-btn-skip {
    height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #5e5d72;
    white-space: nowrap;
    flex: none;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.scrollingWrap#popupBrandKit .bk-btn-skip:hover {
    background: #f3f3f6;
    color: #17172b;
}

.scrollingWrap#popupBrandKit .bk-btn-ghost {
    height: 44px;
    padding: 0 16px;
    border: 1px solid #dcdbe6;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #3d3c52;
    cursor: pointer;
    white-space: nowrap;
    flex: none;
}

.scrollingWrap#popupBrandKit .bk-btn-diag {
    border-style: dashed !important;
    color: #8a899c !important;
    font-size: 12px !important;
}

.scrollingWrap#popupBrandKit .bk-btn-main {
    height: 48px;
    min-width: 148px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #E6007E, #5B2BB5);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
    flex: none;
    cursor: pointer;
    transition: filter .2s;
}

.scrollingWrap#popupBrandKit .bk-btn-main:hover {
    filter: brightness(1.08);
}

.scrollingWrap#popupBrandKit .bk-btn-main.is-disabled {
    background: #ececf2;
    color: #a3a2b4;
    cursor: not-allowed;
    filter: none;
}

/* El texto de las pestanas no hereda estilos de button del sitio */
.scrollingWrap#popupBrandKit .bk-head .bk-tab * {
    letter-spacing: 0;
    text-indent: 0;
}

/* Red de seguridad: si .bk-head-txt sigue en el HTML, que no apile en vertical */
.scrollingWrap#popupBrandKit .bk-head-txt {
    display: contents !important;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .scrollingWrap#popupBrandKit .bk-shell .col-redesign {
        grid-template-columns: minmax(0, 1fr) 380px;
    }
    .scrollingWrap#popupBrandKit .bk-shell .col-redesign .bloquer:first-of-type {
        padding: 32px 32px !important;
    }
    .scrollingWrap#popupBrandKit .bk-shell .col-redesign .bloquer:last-of-type {
        padding: 24px !important;
    }
    .scrollingWrap#popupBrandKit .bk-head {
        gap: 16px;
        padding: 0 72px 0 24px;
    }
}

@media (max-width: 860px) {
    .scrollingWrap#popupBrandKit .bk-shell {
        height: auto !important;
        max-height: none;
    }
    .scrollingWrap#popupBrandKit .bk-shell .col-redesign {
        display: block !important;
        flex: none;
        overflow: visible;
    }
    .scrollingWrap#popupBrandKit .bk-shell .col-redesign .bloquer:first-of-type {
        height: auto;
        overflow: visible;
    }
    .scrollingWrap#popupBrandKit .re-design-doubleBlock.bk-shell .col-redesign .bloquer:last-of-type {
        display: none !important;
    }
    .scrollingWrap#popupBrandKit .bk-head-title {
        display: none;
    }
}

@media (max-width: 580px) {
    .scrollingWrap#popupBrandKit .bk-shell {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 14px !important;
    }
    .scrollingWrap#popupBrandKit .bk-head {
        height: 64px;
        padding: 0 60px 0 16px;
    }
    .scrollingWrap#popupBrandKit .bk-tab-label {
        display: none;
    }
    .scrollingWrap#popupBrandKit .re-design-doubleBlock.bk-shell > .closeX {
        top: 12px;
        right: 12px;
    }
    .scrollingWrap#popupBrandKit .bk-shell .col-redesign .bloquer:first-of-type {
        padding: 24px 18px !important;
    }
    .scrollingWrap#popupBrandKit .bk-step-title {
        font-size: 22px;
    }
    .scrollingWrap#popupBrandKit .bk-img-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .scrollingWrap#popupBrandKit .bk-foot {
        height: auto;
        padding: 14px 18px;
        gap: 8px;
        position: sticky;
        bottom: 0;
        box-shadow: 0 -2px 15px rgba(0, 0, 0, .12);
    }
    .scrollingWrap#popupBrandKit .bk-foot-left {
        flex: none;
    }
    .scrollingWrap#popupBrandKit .bk-foot-back {
        font-size: 0;
        gap: 0;
    }
    .scrollingWrap#popupBrandKit .bk-foot-link,
    .scrollingWrap#popupBrandKit .bk-btn-diag {
        display: none !important;
    }
    .scrollingWrap#popupBrandKit .bk-btn-skip {
        padding: 0 10px;
        font-size: 14px;
    }
    .scrollingWrap#popupBrandKit .bk-btn-main {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 12px;
    }
    .scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color .containerColorChnageBrand > button,
    .scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign #colorsbrandkit .grid-color button.add-color {
        width: 64px !important;
        height: 64px !important;
    }
    .grid-color-admin .containerColorChnageBrand {
        width: 64px;
    }
}




#suscribete_div span.text-star p, #suscribete_div2 span.text-star p, #suscribete_div_mkt span.text-star p {
    line-height: 18px;
}


.folderTip {
    min-width: min(399px, 100%) !important;
}

@media (max-width: 640px) {
    header .leftSide .space-hamburguer {
        display: flex !important;
    }
}


.content-sub-cats .fieldTemplates .brand_template, .content-sub-cats .fieldTemplates .team-floater {
    position: absolute;
    z-index: 9 !important;
}



body .dropdownExample .dropbtn {

    z-index: 1 !important;
}

body .title-slider .flex-title p {
    width: calc(100% - 100px) !important;
}




.sidebar .sidePanel {
    background-color: #ffffff !important;
}

#replaceTheme_MSG.re-design-forma-popup #notificacion_img {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='60' viewBox='0 0 120 80' fill='none'%3E%3Crect x='10' y='22' width='30' height='36' rx='4' stroke='%237b6df0' stroke-width='2.4'%3E%3C/rect%3E%3Cpath d='M17 32h16M17 39h11' stroke='%23c8c2f2' stroke-width='2.2' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M48 40h16' stroke='%237b6df0' stroke-width='2.6' stroke-linecap='round'%3E%3C/path%3E%3Cpath d='M59 34.5 65.5 40 59 45.5' stroke='%237b6df0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M74 30a4 4 0 0 1 4-4h9l4 5h17a4 4 0 0 1 4 4v19a4 4 0 0 1-4 4H78a4 4 0 0 1-4-4z' stroke='%233f2fb8' stroke-width='2.6'%3E%3C/path%3E%3C/svg%3E") !important;
}

#NewPayments #suscriptionPremium2.payment_redesign .double-pages.pasarela .col:first-of-type.distribute-pay-info .top-popup-pay .new-plan-teams .grid-box .box .top-box .price-input-number .number-input {
display:none !important;
}








.btn-accept-invitation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 32px;
  margin: 0 0 24px;
  border: none;
  border-radius: 999px;
  background: #E5007E;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.btn-accept-invitation:hover,
.btn-accept-invitation:focus-visible {
  background: #3B2FA0;
  color: #fff;
  text-decoration: none;
}

.btn-accept-invitation:active {
  background: #1F1466;
}

.btn-accept-invitation[disabled],
.btn-accept-invitation.is-disabled {
  background: #C9C6E6;
  pointer-events: none;
}







.title-selector {
    justify-content: flex-start !important;
    gap: 10px !important;
}

.title-selector > .selector:first-of-type {
    margin-left: auto !important;
}


.title-selector .selector {
    position: relative;
    min-width: 207px !important;
}



.userBlock .content-userblock .userPadding.user-btns-block .newBtnStyle span.icon.icon-menu {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0zIDEwLjVMMTIgM2w5IDcuNVYyMGExIDEgMCAwIDEtMSAxaC01di02YTEgMSAwIDAgMC0xLTFoLTRhMSAxIDAgMCAwLTEgMXY2SDRhMSAxIDAgMCAxLTEtMVYxMC41eiIvPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}



.ai-categories2 .textarea-button {
    max-width: calc(600px - 2px) !important;
    width: calc(90% - 2px);
    height: 85px !important;
}

@media (max-width: 800px) {
    .ai-categories2 .textarea-button {
        height: 125px !important;
    }
}




.ai-categories2 {
        min-height: 205px !important;
}


@media (hover: none) {
    .item-brand-kit .dots-brand-hover,
    .item-brand-kit .dots-brand {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;   /* o flex, según tu layout */
    }
}



#brandKitCard .logo img
{

        display: block !important;
}


/* ── Efecto de error en el campo de nombre del brand kit ── */
.formfield.is-error {
    border: 1.5px solid #d63b3b !important;
    box-shadow: 0 0 0 3px rgba(214, 59, 59, .14) !important;
    animation: shake .64s ease !important;
    border-radius: 8px;
}

/* El input de dentro no debe tener borde propio (evita el doble marco) */
.formfield.is-error input {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .formfield.is-error { animation: none !important; }
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield + .error
{
    color: #c62525 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}





@keyframes chatToastFlashAnim {
	0%   { box-shadow: 0 0 0 3px rgba(53,51,173,.5); }
	100% { box-shadow: 0 0 0 0 rgba(53,51,173,0); }
}
.toast.chat-toast-flash {
	animation: chatToastFlashAnim 1.1s ease-out;
}

.pagination-container .pager-nav #notes_design
{
    height: 388px !important;
}

.pagination-container .pager-nav #notes_design .closeX, .pagination-container .pager-nav #layers_design .closeX
{
top: -15px;
right: -35px;

}





.redimension#redimension_menu2 .more-buttons .box-tooltip a#categoria_copy_upload_comment span {
	background-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%2029.338%2029.338'><path%20fill='%23000000'%20d='M27.184,1.605H2.156C0.967,1.605,0,2.572,0,3.76v17.572c0,1.188,0.967,2.155,2.156,2.155h13.543l5.057,3.777c0.414,0.31,0.842,0.468,1.268,0.468c0.789,0,1.639-0.602,1.637-1.923v-2.322h3.523c1.188,0,2.154-0.967,2.154-2.155V3.76C29.338,2.572,28.371,1.605,27.184,1.605z%20M27.34,21.332c0,0.085-0.068,0.155-0.154,0.155h-5.523v3.955l-5.297-3.956H2.156c-0.086,0-0.154-0.07-0.154-0.155V3.759c0-0.085,0.068-0.155,0.154-0.155v0.001h25.029c0.086,0,0.154,0.07,0.154,0.155L27.34,21.332L27.34,21.332z%20M5.505,10.792h4.334v4.333H5.505C5.505,15.125,5.505,10.792,5.505,10.792z%20M12.505,10.792h4.334v4.333h-4.334V10.792z%20M19.505,10.792h4.334v4.333h-4.334V10.792z'/></svg>");
}




.chat-layer-thumb {
	width: 120px;
	height: 60px;
	margin: 4px 0 8px;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: 6px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #f4f4f5;
	transition: border-color .15s;
}
.chat-layer-thumb:hover { border-color: rgba(53,51,173,.6); }
.chat-layer-thumb.missing {
	background-image: none;
	opacity: .5;
	cursor: default;
}

.chat-preview-capa {
	width: 120px;
	height: 60px;
	flex: 0 0 auto;
	align-self: flex-start;
	margin: 0 0 10px 0;
	border: 1px solid rgba(53,51,173,.4);
	border-radius: 6px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #f4f4f5;
	box-sizing: border-box;
}


.pagination-container .pager-nav #notes_design .module-chat .chat-comments .user .name-comments p {
	overflow-wrap: break-word;
	word-break: break-word;
	min-width: 0;
}


/* chat */
.pagination-container .pager-nav #notes_design .module-chat .chat-comments .user.deleted {
	opacity: .4;
}

/*  Compartir */
.select-invite-share .option-window { display: none; }
.select-invite-share.open .option-window { display: block !important; }


.select-invite-share .option-window { display: none !important; }
.select-invite-share.open .option-window { display: block !important; }

.select-invite-share.open .option-window {
    visibility: visible !important;
    opacity: 1 !important;
}


.pagination-container .pager-nav #notes_design .module-chat .chat-comments .user .name-comments p,.pagination-container .pager-nav #notes_design .module-chat .chat-comments .user .name-comments p,
.pagination-container .pager-nav #notes_design .module-chat .chat-comments .user .name {
	user-select: text;
	-webkit-user-select: text;
	cursor: text;
}   



.pagination-container .pager-nav #notes_design .module-chat .chat-comments .user .name button {
	background: #e0e0e3 !important;
    padding:3px !important;
	color: #333;
}



.select-invite-share > button { width: 100%; }

.box-fila-select .initial-mail { flex-shrink: 0; }

.box-fila-select .name-mail { min-width: 0; }
.box-fila-select .name-mail p,
.box-fila-select .name-mail span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


#groupFolder .scrollingBox .tooltipBox.folderTip:has(.share-system-folder) {
    max-width: 555px !important;
}

/*se cortaba Kit de marca en español */
.sidebar .sidebarMenu .sideBarNav button .name, .sidebar .sidebarMenu .sideBarNav .dots .name {

    text-overflow: ellipsis;
    overflow: visible !important;
}

/*popup de pagos 3 columnas*/



#suscriptionPremium3.plans-new-tooltip.scrollingWrap #NewPayments #suscriptionPremium2 .scrollingBox .simplebar-content .wrap-all.only-2-paymentsREAL .box.blue-gradient:not(#box_pro) .color-background
 {
    background: #ffffff !important;
}

/* boton de capas/layers de barra para que no se salte a 2 lineas */
.toolsWork #tooltip2 span.tooltip2_span {
    
    white-space: nowrap;
}
    

@media (min-width: 1096px)  {
    #NewPayments #suscriptionPremium2.payment_redesign .double-pages.pasarela .col:first-of-type.distribute-pay-info .top-popup-pay .new-plan-teams .grid-box {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px;
    }

    #suscriptionPremium3.plans-new-tooltip.scrollingWrap #NewPayments #suscriptionPremium2 .scrollingBox .simplebar-content .wrap-all.only-2-payments .grid-box .box .top-box .btns-select button
{

 margin-top: 0px !important;
}




#suscriptionPremium3.plans-new-tooltip.scrollingWrap #NewPayments #suscriptionPremium2 .scrollingBox .simplebar-content .wrap-all.only-2-paymentsREAL .grid-box .box .top-box .btns-select button,    
#NewPayments #suscriptionPremium2.payment_redesign .double-pages.pasarela .col:first-of-type.distribute-pay-info .top-popup-pay .new-plan-teams .grid-box .box:not(#box_pro) .top-box .btns-select .btn-ppal.fill {

    margin-top: 0px !important;
}


#NewPayments#NewPayments
#suscriptionPremium2#suscriptionPremium2.payment_redesign
.double-pages.pasarela
.col:first-of-type.distribute-pay-info
.top-popup-pay
.new-plan-teams
.grid-box
.box
.top-box h2 {
    min-height: 80px !important;
}


}



/* Popup de pagos lo ponermos en 3 columnas que se quedaba teams colgado y generaba un gap */
@media (min-width: 1001px)  {
    #NewPayments #suscriptionPremium2.payment_redesign .double-pages.pasarela .col:first-of-type.distribute-pay-info .top-popup-pay .new-plan-teams .grid-box {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px;
    }

    #suscriptionPremium3.plans-new-tooltip.scrollingWrap #NewPayments #suscriptionPremium2 .scrollingBox .simplebar-content .wrap-all.only-2-payments .grid-box .box .top-box .btns-select button
{

 margin-top: 0px !important;
}




#suscriptionPremium3.plans-new-tooltip.scrollingWrap #NewPayments #suscriptionPremium2 .scrollingBox .simplebar-content .wrap-all.only-2-paymentsREAL .grid-box .box .top-box .btns-select button,    
#NewPayments #suscriptionPremium2.payment_redesign .double-pages.pasarela .col:first-of-type.distribute-pay-info .top-popup-pay .new-plan-teams .grid-box .box:not(#box_pro) .top-box .btns-select .btn-ppal.fill {

    margin-top: 0px !important;
}



#NewPayments#NewPayments #suscriptionPremium2#suscriptionPremium2.payment_redesign .double-pages.pasarela .col:first-of-type.distribute-pay-info .top-popup-pay .new-plan-teams .grid-box .box .top-box h2 {
    min-height: 112px !important;
}


}








}
#NewPayments #suscriptionPremium2.payment_redesign .double-pages.pasarela .col:first-of-type.distribute-pay-info .top-popup-pay .new-plan-teams .grid-box .box .top-box .price-month .saving-text, #NewPayments #suscriptionPremium2.payment_redesign .double-pages.pasarela .col:first-of-type.distribute-pay-info .top-popup-pay .new-plan-teams .grid-box .box .top-box .price-year .saving-text {

    margin-top: 7px !important;
}




/* ===== Panel de capas — CSS definitivo ===== */

/* outer: wrapper posicional, NO scrollea (aquí vive el botón .closeX) */
#layers_design {
    position: relative;
    box-sizing: border-box;
}

/* inner: el scroller real y root del IntersectionObserver */
#layers_design_inside {
    height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    box-sizing: border-box;
}

.layers-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.layer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    height: 56px;
    margin-bottom: 8px;
    padding: 0 12px;
    background: #dcdfe4;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
    touch-action: pan-y;
}

.layer-row.is-selected  { border-color: #2196f3; }
.layer-row.layer-hidden { opacity: .45; }
.layer-row.layer-locked { cursor: pointer; }

.layer-handle {
    flex: 0 0 auto;
    display: flex;
    cursor: grab;
    fill: #8a8f98;
    touch-action: none;
}
.layer-handle:active { cursor: grabbing; }

/* candado/rayado del fondo: usa stroke (color), no fill */
.layer-handle-off {
    fill: none;
    color: #868e96;
    cursor: pointer;
}

/* distintivo rayado de la imagen de fondo (inerte al click) */
.layer-bg-badge {
    flex: 0 0 auto;
    display: flex;
    color: #868e96;
    fill: none;
    pointer-events: none;
}

.layer-row-text .layer-thumb { height: 28px; }


.layer-thumb {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: 50px;
    object-fit: contain;
    pointer-events: none;
}

.layer-row.is-dragging {
    position: fixed;
    z-index: 9999;
    margin: 0;
    pointer-events: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
    opacity: .95;
}

.layer-placeholder {
    margin-bottom: 8px;
    border-radius: 10px;
    background: rgba(0,0,0,.06);
    list-style: none;
}



@media (min-width: 1641px) {
    body .workspace #toolsWork.toolsWork {
        max-width: 1100px !important;
    }
}



@media (min-width: 1750px) {
    body .workspace #toolsWork.toolsWork {
        max-width: 1180px !important;
    }
}






/*codigo nuevo — máxima prioridad, gana a .pager-nav button:not(.closeX)*/
#layers_design .pager-nav button.layer-menu-btn,
#layers_design_inside button.layer-menu-btn:not(.closeX) {
    border: 0 !important;
    background: transparent !important;
    height: 28px !important;
    padding: 0 !important;
    width: 28px;
    border-radius: 6px;
    fill: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity .12s ease, background .12s ease;
    -webkit-appearance: none;
    appearance: none;
}

#layers_design_inside .layer-row:hover button.layer-menu-btn {
    opacity: 1 !important;
    pointer-events: auto;
}

#layers_design_inside button.layer-menu-btn:hover {
    background: rgba(0,0,0,.08) !important;
}

@media (hover: none), (pointer: coarse) {
    #layers_design_inside button.layer-menu-btn {
        opacity: 1 !important;
        pointer-events: auto;
    }
}

#layers_design_inside .layer-menu-btn svg {
    width: 20px;
    height: 20px;
}

/*codigo nuevo*/
#layers_design_inside .layer-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

#layers_design_inside .layer-menu-btn svg {
    width: 18px;
    height: 18px;
    display: block;
    margin: 0 auto;
    fill: #495057;
}


/*codigo nuevo*/
#layers_design_inside .layer-menu-btn {
    width: 32px !important;
    height: 32px !important;
}



/*codigo nuevo*/
#layers_design_inside .layer-row .layer-menu-btn {
    width: 32px !important;
    height: 32px !important;
}

#layers_design_inside .layer-row .layer-menu-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    display: block !important;
    flex: 0 0 auto !important;   /* que el flex del botón no lo estire */
    fill: #495057 !important;
}

/*codigo nuevo*/
#layers_design .pagination-container .pager-nav button.layer-menu-btn:not(.closeX),
#layers_design_inside button.layer-menu-btn {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
}

/*codigo nuevo — botón de 3 puntos: 32px, centrado, gana al height heredado*/
#layers_design .pager-nav button.layer-menu-btn:not(.closeX),
#layers_design_inside button.layer-menu-btn {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
}

#layers_design_inside button.layer-menu-btn svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    margin: auto !important;
    flex: 0 0 auto !important;
    fill: #495057 !important;
}

/* handle de arrastrar: 32px de alto, icono centrado */
#layers_design_inside .layer-row .layer-handle {
    align-self: center !important;
    height: 32px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px;
}


/*codigo nuevo*/
#layers_design_inside button.layer-menu-btn svg {
    width: 22px !important;
    height: 22px !important;
}



#layers_design_inside button.layer-menu-btn::before,
#layers_design_inside button.layer-menu-btn::after {
    content: none !important;
    display: none !important;
}


/*codigo nuevo*/
#layers_design_inside .layer-handle svg {
    width: 20px !important;
    height: 20px !important;
}


.errorBrandkit
{
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: left !important;
}



.filas.brandkitcolors-flex, .filas.brandkitlogo-flex {
    margin: 15px auto;
    padding: 6px 14px;
    box-sizing: border-box;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    height: 52px;
    width: 100%;
    background: #f4f4f7;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    font-weight: 600;
    color: #000;
    font-size: 14px;
    cursor: pointer;
}

.filas.brandkitcolors-flex span, .filas.brandkitlogo-flex span{
    margin:0;
}


.filas.brandkitcolors-flex:hover, .filas.brandkitlogo-flex:hover{
	background:#f6f5fe;
}


.filas.brandkit-flex {
    cursor: pointer;
    transition: color .15s ease;
}

.filas.brandkit-flex:hover {
    color: #000;
}


.filas.brandkitcolors-flex:before {
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    margin: 0 14px 0 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Outline' xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 23 23'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D .cls-2 %7B fill: %23fff; %7D %3C/style%3E%3C/defs%3E%3Cpath d='M11.51,3.94c2.82,0,5.32,1.27,6.85,3.48,1.62,2.34,1.95,5.32.88,8.17-.71,1.9-2.51,3.82-4.59,3.82-.5,0-1-.11-1.49-.33-.55-.24-1.06-.67-1.05-2.11,0-.16.02-.38.04-.61.09-.92.22-2.32-.8-3.37-.69-.7-1.43-1.03-2.33-1.03-.86,0-1.79.3-3.32.89-.19.07-.39.11-.58.11-.36,0-1.01-.12-1.26-.96-.57-1.89.37-4.13,1.48-5.41,1.3-1.49,3.52-2.53,5.64-2.65.18,0,.36-.01.53-.01M11.51,2.64c-.2,0-.4,0-.6.02-2.39.13-4.97,1.28-6.55,3.09-1.45,1.66-2.44,4.35-1.74,6.64.39,1.28,1.43,1.88,2.5,1.88.35,0,.71-.07,1.05-.2,1.33-.51,2.19-.8,2.86-.8.55,0,.97.2,1.4.64.79.81.39,2.13.39,3.06,0,1.26.3,2.63,1.83,3.3.69.3,1.36.44,2.02.44,2.62,0,4.88-2.2,5.8-4.67,2.48-6.64-1.93-13.41-8.95-13.41h0Z'/%3E%3Cg%3E%3Cpath d='M17.87,21.28c-.27,0-.51-.17-.6-.43-.4-1.19-.74-1.53-1.92-1.93-.26-.09-.43-.33-.43-.6s.17-.52.43-.6c1.19-.4,1.53-.74,1.92-1.92.09-.26.33-.43.6-.43s.51.17.6.43c.4,1.19.74,1.53,1.92,1.93.26.08.43.33.43.6s-.18.52-.44.6c-1.18.4-1.53.74-1.92,1.92-.09.26-.33.43-.6.43Z'/%3E%3Cpath class='cls-2' d='M17.87,15.86c.05,0,.11.03.13.09.45,1.34.9,1.79,2.24,2.24.12.04.12.21,0,.25-1.34.45-1.79.9-2.24,2.24-.02.06-.07.09-.13.09s-.11-.03-.13-.09c-.45-1.34-.9-1.79-2.24-2.24-.12-.04-.12-.21,0-.25,1.34-.45,1.79-.9,2.24-2.24.02-.06.07-.09.13-.09M17.87,14.86c-.49,0-.92.31-1.08.77-.35,1.04-.57,1.26-1.61,1.61-.46.15-.78.59-.78,1.08s.31.92.78,1.08c1.04.35,1.26.57,1.61,1.61.16.46.59.78,1.08.78s.92-.31,1.08-.78c.35-1.04.57-1.26,1.61-1.61.46-.15.78-.59.78-1.08s-.31-.92-.78-1.08c-1.04-.35-1.26-.57-1.61-1.61-.15-.46-.59-.78-1.08-.78h0Z'/%3E%3C/g%3E%3Cpath d='M16.23,16.59c-.81.27-1.09.55-1.36,1.36-.02.07-.13.07-.15,0-.27-.81-.55-1.09-1.36-1.36-.07-.02-.07-.13,0-.15.81-.27,1.09-.55,1.36-1.36.02-.07.13-.07.15,0,.27.81.55,1.09,1.36,1.36.07.02.07.13,0,.15Z'/%3E%3Cg%3E%3Cpath d='M3.53,4.31c-.15.01-.27.13-.29.29v.86c0,.16.13.29.29.29.16,0,.29-.13.29-.29v-.72c0-.29-.14-.43-.29-.43Z'/%3E%3Cpath d='M3.53,2.16c-.15.01-.27.13-.29.29v.86c0,.16.13.29.29.29.16,0,.29-.13.29-.29v-.86c-.01-.15-.13-.27-.29-.29Z'/%3E%3Cpath d='M5.11,3.74h-.86c-.16,0-.29.13-.29.29s.13.29.29.29h.86c.16,0,.29-.13.29-.29s-.13-.29-.29-.29h0Z'/%3E%3Cpath d='M2.81,3.74h-.88c-.16,0-.29.13-.29.29,0,.16.13.29.29.29h.86c.16,0,.29-.13.29-.29,0-.16-.13-.29-.29-.29h.01Z'/%3E%3C/g%3E%3Cg%3E%3Cpath d='M8.35,19.18c-.12.01-.22.11-.23.23v.69c0,.13.1.23.23.23.13,0,.23-.1.23-.23v-.57c0-.23-.11-.34-.23-.34Z'/%3E%3Cpath d='M8.35,17.46c-.12.01-.22.11-.23.23v.69c0,.13.1.23.23.23.13,0,.23-.1.23-.23v-.69c-.01-.12-.11-.22-.23-.23Z'/%3E%3Cpath d='M9.61,18.72h-.69c-.13,0-.23.1-.23.23s.1.23.23.23h.69c.13,0,.23-.1.23-.23s-.1-.23-.23-.23h0Z'/%3E%3Cpath d='M7.77,18.72h-.7c-.13,0-.23.1-.23.23,0,.13.1.23.23.23h.69c.13,0,.23-.1.23-.23,0-.13-.1-.23-.23-.23h.01Z'/%3E%3C/g%3E%3Ccircle cx='10.08' cy='6.5' r='1.4'/%3E%3Ccircle cx='13.9' cy='6.88' r='1.4'/%3E%3Ccircle cx='16.7' cy='9.43' r='1.4'/%3E%3Ccircle cx='17.29' cy='13.21' r='1.4'/%3E%3Crect class='cls-1' width='23' height='23'/%3E%3C/svg%3E");

}


.filas.brandkitlogo-flex:before {
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    margin: 0 14px 0 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Ctext x='0.8' y='15.8' font-family='Poppins, sans-serif' font-size='9.6' font-weight='700' fill='black'%3EL%3C/text%3E%3Ccircle cx='8.2' cy='12.6' r='2.9' stroke='black' stroke-width='1.6'/%3E%3Ctext x='11.2' y='15.8' font-family='Poppins, sans-serif' font-size='9' font-weight='700' fill='black'%3EG%3C/text%3E%3Ccircle cx='20.6' cy='12.6' r='3.1' fill='black'/%3E%3C/svg%3E");

}


.brandkit-colors-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.brandkit-color-single {
    width: 53px;
    height: 53px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform .12s ease;
}
.brandkit-color-single:hover {
    transform: scale(1.1);
}

#BrandKit .first-post .title.big-gradient {
    font-size: 17px !important;
}




//codigo nuevo
.containerColorChnage {
    position: relative;
    display: inline-block;
}

.containerColorChnage button {
    position: relative;
    overflow: visible;
    /* mantén aquí tu width/height/border-radius actuales del swatch */
}

/* El + como badge circular limpio, arriba a la derecha, sin tapar el centro */
.color-add-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    color: #444;
    border: 1px solid rgba(0,0,0,.18);
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

/* Desktop: el + aparece al pasar por encima (más limpio) */
@media (hover: hover) {
    .color-add-btn { opacity: 0; transition: opacity .12s ease; }
    .containerColorChnage:hover .color-add-btn { opacity: 1; }
}
/* Táctil: siempre visible (no hay hover) — el @media de arriba no aplica */




/*color de fondo y reeemplazar añadir color en ession de colors  >> MAS PEQUEÑOS */

	
	




#latest_colors_title {

    font-size: 15px !important;
    font-weight: 600 !important;
    color: #000 !important;
}

.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign p {
    font-size: 17px !important;
	}
	
	.scrollingWrap .re-design-doubleBlock .col-redesign .title span:last-of-type {
  
    font-size: 27px !important;
	}


/* menu botón derecho, opcion de borrar ponemos linea abajo */
.ventana-emergente ul li a#btnEliminar {
    border-top: 0px !important;
    border-bottom: 1px solid #efefef;
}

.ventana-emergente ul li.submenu {
    position: relative;
    border-top: 0px !important;
       border-bottom: 1px solid #efefef;
}

.ventana-emergente ul li.submenu .spanLI 
{
    width: 18px;
    height: 18px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    margin-right: 10px;
    position: absolute;
    left: 10px;
}



@media (min-height: 675px) 
{
.pagination-container .pager-nav #notes_design, .pagination-container .pager-nav #layers_design {

    height: 350px;
}

}

/*
//ocultamos boton 2 en logos de brand kit
*/
.scrollingWrap#popupBrandKit .re-design-doubleBlock .col-redesign .brand-info .formfield-logo .drag-zone2 {
    display: none !important;
}





  /* //estaba como elipsis y salian 3 puntitos y se cortaban los textos cuando realmente si que podian mostrarse(perdiamos 3 caracteres) */ 

.workspace #toolsWork.toolsWork .masktoolContent .button-click-tools span:last-of-type {
    text-overflow: clip !important;
}



.modalTextContainer .modalText {
        top: 4px !important;
}

.modalTextContainer .modalText textarea {

    font-size: 16px !important; 
    min-height: calc(120px - 26px) !important;
}
.modalTextContainer .modalText .head::before {
    content: none !important;
}




@media (min-width: 901px) {

    body .border-square-btn.share-icon span.icon {
        display: none !important;
    }

    body .border-square-btn.share-icon.share-icon span:last-of-type {
        color: #fff !important;
        display: block !important;
    }

    header.premiumHeader .rightSide a.botonUpdate#botonUpdate span.icon {
        display: none !important;
    }

    #personal-profile {
        display: none !important;
    }

    /*
      Bloque 1: título
      Actual Title -> Undo: 46px
      Lo dejamos parecido, visualmente está bien.
    */
    header .rightSide .name-design {
        margin-right: 46px !important;
    }

    /*
      Bloque 2: Undo / Redo / File / Resize
      Actual Redo -> File: 27px
      Actual File -> Resize: 10px
      Están bien.
    */
    header.premiumHeader .rightSide.flex-zoom .canvaZoom {
        margin-right: 17px !important;
    }

    /*
      Bloque 3: Share / Save / Download
      Actual Resize -> Share: 59px
      Lo bajo a unos 46px visuales.
      Como canvaZoom aporta 17px, Share necesita 36px aprox.
    */
    #share_button_header { 
        margin-left: 36px !important;
        margin-right: 12px !important;
    }

    /*
      Actual Share -> Save: 10px
      Lo dejamos en 12px para respirar un poco más.
    */
    #botonUpdate {
        margin-left: 0 !important;
        margin-right: 14px !important;
    }

    /*
      Download CTA final.
    */
    #botonFinalizar {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}



/*


@media (min-width: 700px) and (max-width: 1220px) {
    .button-click-tools span:last-of-type {
        display: block !important;
    }
}
/*
/*codigo nuevo scroll de Mis diseños fix(se quedaban como muchas filas y se perdia*/
.scrolleable {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.scrolleable .img-design {
    flex: 0 0 auto;
    min-width: 0;
    width: 120px;   /* ajusta al ancho previo */
}
.scrolleable .img-design figure {
    width: 100%;
}
.scrolleable .img-design figure img {
    width: 100%;
    height: auto;
    display: block;
}

/* codigo nuevo */
.scrolleable .img-design figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.scrolleable .img-design figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}


/* listado de subcategorias en bsuqueda central */
/*.tooltipSelectFormat .selectDesign .overflowSelect .new_categories.is_in_category .gridCat.filter-image {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    gap: 10px !important;
    flex-wrap: wrap;
}*/

.box-tooltip
{

overflow:scroll;

}

.fieldTemplates img {
    width: 100%;
    height: auto;
}





.edit-loader__dot {
    transform-box: fill-box;
    transform-origin: 50px 50px;
    /* el origin se referencia al viewBox, asi ambos puntos giran alrededor del centro */
    animation: edit-loader-spin 1.1s linear infinite;
    will-change: transform;
}

/* el segundo punto va medio ciclo desfasado -> queda opuesto al primero */
.edit-loader__dot--2 {
    animation-delay: -0.55s;
}

@keyframes edit-loader-spin {
    to { transform: rotate(360deg); }
}



/* ===========================
   COSAS DE COLOR PICKER
=========================== */

/*=======SELETOR DE OPACIDAD DE COLORES REDONDEAMOS============= */




.sp-alpha-handle {
    width: 11px !important;
    border-radius: 3px !important;
}

body .sp-picker-container .sp-input-container input {
    width: 187px !important;
}

.sp-palette-container {
    max-height: 300px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.sp-palette-container::-webkit-scrollbar {
    width: 12px;
}

.sp-palette-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .3);
    border-radius: 12px;
    border: 3px solid #fff;
}


.os-theme-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle, .os-theme-light>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle {
    min-height: 40px !important;
    min-width: 6px !important;
}

.sp-palette-container {
    max-height: 300px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}





/* Que el texto de los toast no se corte. */
.toast-content {
    flex: 1;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}


#searchPhotos,#searchGraphis {
    font-size: 15px !important;
}




.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates .container_template{
    width: calc(100% - 17px) !important;
}
.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates{margin-bottom:17px !important}



.tooltipSelectFormat .selectDesign .overflowSelect .new_categories.is_in_category .gridCat.filter-image a {
    width: auto !important;
    max-width: 180px !important;
}

.tooltipSelectFormat .selectDesign .overflowSelect .new_categories.is_in_category .gridCat.filter-image a .img-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: none !important;
    max-width: 180px;
    height: auto !important;
    background: #e1e1e1 !important;
    border: 1px solid rgba(57,76,96,0.2) !important;
    width:auto !important;
}

.tooltipSelectFormat .selectDesign .overflowSelect .new_categories.is_in_category .gridCat.filter-image a .img-frame img {
    object-fit: contain;
    height: 100%;
    max-width: 160px !important;
    max-height: 158px !important;
}










/*111111111111*/

.category-filters-search {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox - oculta scrollbar */
}

.category-filters-search::-webkit-scrollbar {
    display: none; /* Chrome - oculta scrollbar */
}

.category-filters-search button {
    flex-shrink: 0; /* evita que los botones se compriman */
}


/*drag buscador central listado de bsuquedas */
.category-filters-search {
    cursor: grab;
    user-select: none;
}
@media (min-width:2000px) {
    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
        width: calc(100% / 6);
    }
}

@media (min-width:1800px) and (max-width:1999px) {
    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
        width: 16.666%;
    }
}

@media (min-width:1500px) and (max-width:1799px) {
    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
        width: 20%;
    }
}

@media (min-width:1200px) and (max-width:1499px) {
    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
        width: 25%;
    }
}

@media (min-width:701px) and (max-width:1199px) {
    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
        width: 33.333%;
    }
}

@media (max-width:700px) {
    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
        width: 50%;
    }
}

@media (max-width:380px) {
    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
        width: 100%;
    }
}
#templates_list2 {
    visibility: hidden;
}

#templates_list2.masonry-ready {
    visibility: visible;
}


#teams .first-post .title.big-gradient {
    font-size: 28px !important;
}

/*

.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
    height: 175px !important;
    max-width: 355px !important;
}


@media (max-width: 1290px) {
  .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
    max-width: 304px !important;
  }
}


@media (max-width: 1140px) {

.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 {
    
    display: grid;
}

    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 {
        
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    }
}



@media (max-width: 999px) {
    .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 {
        
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    }
}


@media (max-width: 1140px) {
  .tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
    max-width: 375px !important;  
  }
}

*/


.new_categories.listModules .slider-container.categorias-slider-items .slide button figure {
    background: #f8f8f8;
}


.slider-container.categorias-slider-items .slide button .figure-date
 {
    background: #f8f8f8 !important;
}

.new_categories.listModules + .new_categories .slider-container.categorias-slider-items .slide button figure {
    background: #f8f8f8 !important;
}


.new_categories.listModules + .new_categories + .new_categories .slider-container.categorias-slider-items .slide button figure {
    background: #f8f8f8 !important;

}

/*

.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {
    width: auto;
    height: auto;
    max-width: 430px;
}

.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates .container_template .img-box img{object-fit:contain}

.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {background:#f8f8f8}
.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates:hover {background:#e1e1e1}


.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 {

    justify-content: space-between !important;
    gap: 12px !important;
}


.tooltipSelectFormat .selectDesign .overflowSelect .new_categories #templates_list2 .fieldTemplates {overflow: hidden; border-radius: 10px;
}

*/
.scrollingWrap .scrollingBox .tooltipBox.get-premium.newDownloadFile.boxShareDesign.share-group-system .double-share .colit .error {
    color: #bb3e6f;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: none;
    max-width: 100%;
    text-align: left !important;
} 


.sp-button-container a.sp-cancel {
    display: flow !important;
}



    .workspace #toolsWork.toolsWork .button-click-tools:not(.buttonReturnShadow)#reemplazarImagen span:last-of-type {
        display: block !important;
    }




.sp-cancel,.sp-choose
{
    width: 100% !important;
}


.sp-choose
{
    margin-top: 10px !important;
    width: 100% !important;
}


.sp-button-container.sp-cf
{
display:grid;

}

@media (max-width: 768px) {
#containerSelect.select-general {
    
    height: 152px !important;
}


.option-obj-resp.font-sprite-box .more-buttons-box .more-buttons {

    height: 222px !important;

}


}


}

/*popup de demasiado espacio al reeemplazar la imagen de ejemplo ponemos la imagen del diseño clicqueado. */
.scrollingWrap .re-design-doubleBlock .col-redesign .bloquer:last-of-type {
        min-height: 570px;
}


@media (max-width: 1000px) {
    .scrollingWrap .scrollingBox .tooltipBox.get-premium.newDownloadFile.boxShareDesign.share-group-system.create-team.invite-create-team .colit:last-of-type .vertical-align .topper + .double-btn {
        height: 171px !important;
    }


.scrollingWrap .scrollingBox .tooltipBox.get-premium.newDownloadFile.boxShareDesign.share-group-system.create-team .colit:first-of-type.white-version-team {
display:none;
}

    .scrollingWrap .scrollingBox .tooltipBox.get-premium.newDownloadFile.boxShareDesign.share-group-system.create-team .colit:last-of-type .btns.double-btn button
 {
        width: 76% !important;
        max-width: 324px;
        min-width: 331px;
 }
  }


.filters-box.redesign-filters .accordionBlock .accordion .item .acc-content.with-range .color-tint-img .img-input-color-box
 {
    height: 30px !important;
}


.scrollingWrap .scrollingBox .tooltipBox.get-premium.newDownloadFile.boxShareDesign.share-group-system.create-team .colit:last-of-type p:not(.error).user_modified_ok {
    color: #007473 !important;
    font-size: 13px !important;
        padding-left: 4px;
    padding-top: 3px;
}

/*Diseños de equipos los marcamos */
.content-sub-cats .fieldTemplates .team-floater {
  
  left: 6px !important;
  width: 24px;
  height: 24px;
}


/* Diseño bloqueado: PRO TEAMS no renovado */
.canvas-container.pro-locked {
    filter: blur(7px);
    pointer-events: none;
    user-select: none;
    transition: filter .25s ease;
}

#workspace-section #msgaccountType {
    max-width: 80%;
    box-sizing: border-box;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
}


#workspace-section .pro-lock-overlay {
    position: absolute;
    inset: 0;
   z-index: 9999;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17,17,26,.22);
}
#workspace-section .pro-lock-card {
    position: relative;
    max-width: 80%;
    box-sizing: border-box;
    padding: 32px 40px;
    border-radius: 18px;
    background: rgba(24,24,34,.93);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    text-align: center;
    color: #fff;
    
    overflow: hidden;
}
#workspace-section .pro-lock-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg,#d6207f,#1aa3a3);
}
#workspace-section .pro-lock-card .pro-tag {
    color: #ffce3a; font-weight: 700; font-size: 14px;
    letter-spacing: .08em; margin-bottom: 14px;
}
#workspace-section .pro-lock-card .pro-msg {
    font-weight: 600; font-size: 20px; line-height: 1.4;
}



/* menu inferior en responsive se cortaban textos. */
@media (max-width: 640px) {
    .sidebar .sidebarMenu .sideBarNav button, .sidebar .sidebarMenu .sideBarNav .dots {
        height: 36px;
        width: 65px !important;
    }

#cancelCropRestore
{

display:none;

}


}



/* Imagen que quitamos fonto ponemos trama de transparencia */
.preview11{
    display:inline-block;

    background-image:
        linear-gradient(45deg,#eee 25%,transparent 25%),
        linear-gradient(-45deg,#eee 25%,transparent 25%),
        linear-gradient(45deg,transparent 75%,#eee 75%),
        linear-gradient(-45deg,transparent 75%,#eee 75%);
        
    background-size:20px 20px;
    background-position:0 0,0 10px,10px -10px,-10px 0;
}

#img_replace{
    display:block;
    max-width:100%;
}

h1#registroLoginConEmailHeaderH12.header-smaller {
    font-size: 20px !important;
    line-height: 22px !important;
}




.newRegisterImage .newregistro-box {
    height: 575px;
}

    .newRegisterImage .newregistro-box .col.align-vertical-center {
        flex-direction: column;
        justify-content: flex-start !important;
    }

.newRegisterImage.testing-register-free .newregistro-box p.content {
    font-size: 20px !important;
    line-height: 28px !important;  
    margin-top: 16px;
    margin-bottom: 32px;

}



.dots-window {
    display: none;
}

.dots-window.open {
    display: block;
}



.sidebar .sidebarMenu .sideBarNav button.buttonMyTeams.active .name, .sidebar .sidebarMenu .sideBarNav .dots.buttonMyTeams.active .name, .sidebar .sidebarMenu .sideBarNav button.buttonMyTeams.active:hover .name, .sidebar .sidebarMenu .sideBarNav .dots.buttonMyTeams.active:hover .name {
    white-space: normal;
}

#toast-container { position: fixed;     top: 70px;
    right: 10px; z-index: 9999990; display: flex; flex-direction: column; gap: 10px; pointer-events: none; max-width: calc(100vw - 32px); }

.toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 12px;
  min-width: 280px; max-width: 420px; padding: 12px 12px 12px 16px;
  background: #fff; border: 1px solid #E6E6EA; border-radius: 12px;
  box-shadow: 0 6px 24px rgba(26,26,46,.14);
  font-family: Poppins, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.45; color: #1A1A2E;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1);
}
.toast.toast-show { opacity: 1; transform: none; }
.toast.toast-hide { opacity: 0; transform: translateY(-8px); }

.toast-icon { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.toast-info    .toast-icon { background: #3533AD; }
.toast-success .toast-icon { background: #17A06A; }
.toast-warning .toast-icon { background: #D99A0B; }
.toast-error   .toast-icon { background: #C0223C; }

.toast-content { flex: 1; overflow-wrap: anywhere; padding-top: 1px; }
.toast-content strong { font-weight: 600; }
.toast-action { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: #3533AD; cursor: pointer; }
.toast-action:hover { color: #2A288C; }

.toast-close { flex: none; width: 28px; height: 28px; margin: -2px -2px 0 0; border: 0; border-radius: 14px; background: transparent; color: #52556B; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.toast-close:hover { background: #F2F2F5; }

@media (max-width: 480px) {
  #toast-container { top: 12px; right: 12px; left: 12px; max-width: none; }
  .toast { min-width: 0; max-width: none; }
}


@media (max-width: 580px) {
    #registroUsuario2.scrollingWrap .scrollingBox .newRegisterImage .simplebar-content .newregistro-box #register_options_block .blockMin .fb-google {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 30px !important;
        margin-top: 9px;
    }
}

.scrollingWrap#designHistory .re-design-doubleBlock {
    max-width: 700px !important;
    max-width:95%;
}

.newRegisterImage.testing-register-free .newregistro-box p.content {
    font-size: 20px !important;
    line-height: 20px !important;
}

.newRegisterImage .newregistro-box .col p#errorEmail, .newRegisterImage .newregistro-box .col p#errorPassword, .newRegisterImage .newregistro-box .col p#errorTerminos {

    font-size: 14px !important;
}

/* THUMBS (logos e imágenes) */
.brandkit-thumb-wrap {
    position: relative;
    display: inline-block;
    margin: 4px;
}

.brandkit-thumb {
    height: 60px;
    max-width: 120px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #f5f5f5;
    padding: 4px;
    display: block;
}

.brandkit-thumb-delete {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #333;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.brandkit-thumb-wrap:hover .brandkit-thumb-delete {
    opacity: 1;
}

.brandkit-thumb-delete:hover {
    background: #c00;
}

/* COLORES */
.grid-color-admin .containerColorChnageBrand {
    position: relative !important;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.grid-color-admin .brandkit-color-hex {
    display: block;
    margin-top: 6px;
    font-family: monospace;
    font-size: 10px;
    color: #888;
    letter-spacing: 0.5px;
    user-select: text;
}

.grid-color-admin .containerColorChnageBrand .brandkit-color-delete {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 10;
    user-select: none;
    pointer-events: none;
}

.grid-color-admin .containerColorChnageBrand:hover .brandkit-color-delete {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.grid-color-admin .brandkit-color-delete:hover {
    background: #c00;
}


.grid-color-admin .add-color {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 2px dashed #ccc;
    background: #fafafa;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 4px;
    vertical-align: top;
    transition: all 0.15s ease;
}

.grid-color-admin .add-color::before {
    content: '+';
    font-size: 28px;
    color: #999;
    line-height: 1;
    font-weight: 300;
}

.grid-color-admin .add-color:hover {
    border-color: #999;
    background: #f0f0f0;
}

.grid-color-admin .add-color:hover::before {
    color: #555;
}



 .scrollingWrap.re-design-forma-popup#getPremiumRegister .redesign-welcome .title span, .scrollingWrap.re-design-forma-popup#helpVideos .redesign-welcome .title span {
    max-width: 622px !important;
}




@media (max-width:580px){.re-design-forma-popup#share_design2 .re-design-doubleBlock{height:calc(100vh - 90px)}}.re-design-forma-popup#share_design2 .re-design-doubleBlock .col-redesign{display:block}@media (max-width:680px){.re-design-forma-popup#share_design2 .re-design-doubleBlock .col-redesign{height:100%;justify-content:center}}@media (max-width:580px){.re-design-forma-popup#share_design2 .re-design-doubleBlock .col-redesign{display:flex}}@media (min-width:581px){.re-design-forma-popup#share_design2 .re-design-doubleBlock .col-redesign .bloquer{height:auto !important;width:384px !important}}@media (max-width:680px){.re-design-forma-popup#share_design2 .re-design-doubleBlock .col-redesign .bloquer:first-of-type .title{display:block !important}.re-design-forma-popup#share_design2 .re-design-doubleBlock .col-redesign .bloquer:first-of-type .title .get-premium-icon{display:block !important}.re-design-forma-popup#share_design2 .re-design-doubleBlock .col-redesign .bloquer:last-of-type{display:block !important}}




.scrollingWrap.re-design-forma-popup#selectordeFormatos #downloadfile #DownloadBTN + small {

    width: 87% !important;
        background-color: cornsilk !important;
        font-size: 12px !important;
}




/* BLUR PARA POPUPS COMO EL DE REDIMESIONADO MAGICO */
.scrollingWrap {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}




#resizeIMG_TO_REPLACE.skeleton-loading {
  width: 100%;
  min-height: 200px;
  object-fit: none;
  border-radius: 18px;

  background-image:
    linear-gradient(
      100deg,
      rgba(245,245,245,1) 0%,
      rgba(245,245,245,1) 38%,
      rgba(255,255,255,.98) 48%,
      rgba(235,235,235,.18) 54%,
      rgba(190,190,190,.06) 62%,
      rgba(245,245,245,1) 74%,
      rgba(245,245,245,1) 100%
    ),

    radial-gradient(circle at 30% 35%,
      rgba(255,255,255,.45) 0 10%,
      rgba(255,255,255,.04) 24%,
      transparent 42%
    ),

    radial-gradient(circle at 70% 65%,
      rgba(80,80,80,.04) 0 12%,
      transparent 36%
    ),

    linear-gradient(
      135deg,
      #f4f4f4 0%,
      #f8f8f8 45%,
      #ececec 100%
    );

  background-size:
    360% 100%,
    180% 180%,
    200% 200%,
    100% 100%;

  background-position:
    -340% 0,
    -20% -10%,
    120% 120%,
    center;

  animation: revealBehind 22s cubic-bezier(.22,.61,.36,1) infinite;
}

@keyframes revealBehind {

  /* Muy limpio/blanco al inicio */
  0% {
    background-position:
      -340% 0,
      -20% -10%,
      120% 120%,
      center;

    filter: brightness(1.02);
  }

  /* Apenas empieza a aparecer algo */
  35% {
    background-position:
      -220% 0,
      -10% 0%,
      110% 110%,
      center;

    filter: brightness(1.015);
  }

  /* Aquí empieza el reveal */
  60% {
    background-position:
      -40% 0,
      12% 14%,
      88% 88%,
      center;

    filter: brightness(1);
  }

  100% {
    background-position:
      320% 0,
      35% 35%,
      65% 65%,
      center;

    filter: brightness(.99);
  }
}

.not-valid .find-mail {

  margin-top: 12px;          /* pegado al bloque "Send again" */
  font-size: 14px !important;
  line-height: 1.5;
  color: #6b7280;

}



#selectDesign2.overflowSelect .new_categories.new_categories_sub,
.tooltipSelectFormat .selectDesign .overflowSelect .new_categories.new_categories_sub {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.ai-categories2 {
    margin: 0px auto;
}


.hide-before::before {
  display: none !important;
}


@media (max-width: 640px) {
    .pagination-container .pager-nav button:not(.closeX) p {
        display: block !important;
    }
}


.ai-categories {
    margin-bottom: -75px !important;
}



.ampling-button#shrink_button + .results-object-wrap {
    margin-bottom: 15px;
}


@media (max-width: 640px) {
    header .rightSide .name-design {
 display:none;
    }
}




#graphics .masonryGallery .content-collapsible #pixabayok #contenido_graphics.grid .grid-item-m{min-width: auto !important;}




/* ------------------------------------------------
   Bloque principal clickeable (los spans de color)
   height: 55px como el original
   ------------------------------------------------ */


/* Cada span ocupa su parte proporcional */


/* ------------------------------------------------
   square-sample (los cuadraditos debajo)
   ------------------------------------------------ */


/* ------------------------------------------------
   Tamaño del bloque .container-sample según N colores
   Para que todos los bloques tengan el mismo ancho visual
   ------------------------------------------------ */

/* 2 colores — ancho base */


/* 3 colores */


/* 4 colores */


/* 5 colores */


/* ------------------------------------------------
   Hover
   ------------------------------------------------ */


/* ------------------------------------------------
   Responsive: si el panel es estrecho, 
   ajustar contenedor para que quepan en fila
   ------------------------------------------------ */





.grid-item-m {
    position: relative;
}

.Icons8Star {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 1;
}

.star-premiumIcons8 {
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23.051' height='23.051' viewBox='0 0 23.051 23.051'%3E%3Cg id='Grupo_1274' data-name='Grupo 1274' transform='translate(-235 -483)'%3E%3Cg id='boton-menu-estado-1' transform='translate(235 483)'%3E%3Cg id='Grupo_931' data-name='Grupo 931'%3E%3Cg id='Grupo_632' data-name='Grupo 632' transform='translate(0)' opacity='0.5'%3E%3Cpath id='Trazado_580' data-name='Trazado 580' d='M11.526,0A11.526,11.526,0,1,1,0,11.526,11.526,11.526,0,0,1,11.526,0Z' opacity='0.8'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3Cpath id='Icon_awesome-star' data-name='Icon awesome-star' d='M5.67.315,4.514,2.659l-2.587.377A.567.567,0,0,0,1.613,4L3.485,5.827,3.042,8.4a.566.566,0,0,0,.822.6L6.179,7.784,8.493,9a.567.567,0,0,0,.822-.6L8.872,5.827,10.744,4a.567.567,0,0,0-.313-.967L7.843,2.659,6.687.315A.567.567,0,0,0,5.67.315Z' transform='translate(240.347 489.272)' fill='%23ffc94e'/%3E%3C/g%3E%3C/svg%3E");
}




#contenido_graphics .grid-item-m a.info-icon {
    display: block;
    height: 20px;
    width: 20px;
    -webkit-box-shadow: 0 0 20px 0 rgba(255,255,255,0.5);
    -moz-box-shadow: 0 0 20px 0 rgba(255,255,255,0.5);
    box-shadow: 0 0 20px 0 rgba(255,255,255,0.5);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-repeat: no-repeat !important;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='30px' height='30px' viewBox='0 0 30 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='download' fill-rule='nonzero'%3E%3Cpath d='M15,0 C17.9667,0 20.8668,0.879734 23.3335,2.52796 C25.8003,4.17618 27.7229,6.51886 28.8582,9.25975 C29.9935,12.0006 30.2905,15.0166 29.7118,17.9263 C29.133,20.8361 27.7044,23.5088 25.6066,25.6066 C23.5088,27.7044 20.8361,29.133 17.9263,29.7118 C15.0166,30.2905 12.0006,29.9935 9.25975,28.8582 C6.51886,27.7229 4.17618,25.8003 2.52796,23.3335 C0.879734,20.8668 0,17.9667 0,15 C0,11.0217 1.58035,7.20644 4.3934,4.3934 C7.20644,1.58035 11.0217,0 15,0 Z' id='Path' fill='%23000000' opacity='0.6'%3E%3C/path%3E%3Cg id='download-(1)' transform='translate(13.000000, 7.000000)' fill='%23FFFFFF'%3E%3Cg id='Group'%3E%3Cpath d='M1.6,15.136 C1.024,15.136 0.56,14.672 0.56,14.096 L0.56,5.488 C0.56,4.912 1.024,4.448 1.6,4.448 C2.176,4.448 2.64,4.912 2.64,5.488 L2.64,14.096 C2.64,14.672 2.176,15.136 1.6,15.136 Z' id='Path'%3E%3C/path%3E%3Cpath d='M1.6,2.944 C1.472,2.944 1.328,2.912 1.2,2.864 C1.072,2.8 0.96,2.72 0.864,2.64 C0.672,2.432 0.56,2.176 0.56,1.904 C0.56,1.616 0.672,1.36 0.864,1.152 C1.152,0.88 1.616,0.784 2,0.944 C2.128,0.992 2.24,1.072 2.336,1.152 C2.528,1.36 2.64,1.616 2.64,1.904 C2.64,2.176 2.528,2.432 2.336,2.64 C2.24,2.736 2.128,2.8 2,2.864 C1.872,2.912 1.744,2.944 1.6,2.944 Z' id='Path'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: absolute;
    top: 5px;
    left: 5px;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    z-index: 99999999;
    background-size: contain;
}


#contenido_graphics .grid-item-m:hover a.info-icon {
    -webkit-opacity: 0.7;
    -moz-opacity: 0.7;
    opacity: 0.7;
}


@media (max-width: 1220px) {


/* mostramos boton de crop en responsive */
#newCropButton span:last-of-type {
        display: block;
    }
/* crop with shape */
    .workspace #toolsWork.toolsWork .button-click-tools#selectorTippy span:last-of-type {
        display: block !important;
    }


}



/*
//icono de info en fotos de unsplash / pixabay
*/
.btn-upload-photo #cargarEfectossemoticonos1 .content-collapsible #pixabayok #contenido.grid .grid-item-m a.info-icon {
    height: 20px !important;
    width: 20px !important;
    top: 5px !important;
    left: 5px !important;
cursor: pointer !important;
}



/* ── Brand kit: avatares de personas con acceso ───────────────── */

.item-brand-kit {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.item-brand-kit .click-brand {
    flex: 1;
    min-width: 0;
}

/* los tres puntos ocupan siempre la ultima columna, esten o no en hover */
.item-brand-kit .dots-brand {
    flex: 0 0 auto;
    margin-left: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

.item-brand-kit .dots-brand-hover {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #ECEEF0;
    opacity: 1 !important;
    visibility: visible !important;
}

.bk-avatars {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding-right: 2px;
}

.bk-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 600;
    color: #fff;
    border: 2px solid #f2f3f5;   /* mismo color que el fondo de la fila */
    box-sizing: border-box;
    margin-left: -4px;
}

.bk-avatar:first-child {
    margin-left: 0;
}

.bk-avatar--more {
    background: #ECEEF0;
    color: #6b7280;
}

/* la fila activa tiene otro fondo: el borde del avatar debe seguirlo */
.item-brand-kit.active .bk-avatar {
    border-color: #efeefb;
}


/* ── Brand kit: fila con avatares + menu siempre a la derecha ── */

.item-brand-kit {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.item-brand-kit .click-brand {
    flex: 1;
    min-width: 0;
}

.item-brand-kit .home-mails {
    flex: 0 0 auto;
    margin-left: auto;
}

/* los tres puntos ocupan siempre la ultima columna, haya avatares o no.
   El CSS original los tenia en display:none + position:absolute y solo los
   mostraba en hover: los devolvemos al flujo flex para que se alineen con
   los avatares y no cambien de sitio segun el estado de la fila. */
.item-brand-kit .dots-brand {
    display: block !important;
    position: relative !important;
    /* el CSS original lo posicionaba absoluto con top: ~25px. Al pasarlo a
       relative ese top seguia aplicandose y descentraba el boton 12px. */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    align-self: center;
    flex: 0 0 auto;
    margin-left: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.item-brand-kit .home-mails {
    margin-right: 8px;
}

/* si no hay avatares, el margin-left:auto lo lleva el propio menu */
.item-brand-kit .click-brand + .dots-brand {
    margin-left: auto;
}

.item-brand-kit .dots-brand-hover {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #ECEEF0;
    opacity: 1 !important;
    visibility: visible !important;
}


.item-brand-kit .dots-brand {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    align-self: center;
    flex: 0 0 auto;
    margin-left: 0;
    /* el contenedor debe medir solo lo que el boton: el desplegable va
       absoluto para no inflar la altura y descentrar el icono */
    width: 26px;
    height: 26px;
    line-height: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.item-brand-kit .tooltip-box-brand {
    position: absolute !important;
    top: 100%;
    right: 0;
    line-height: normal;
}


.item-brand-kit {
    padding-right: 12px;
}

/* atenuado en reposo para que el hover se note */
.item-brand-kit .dots-brand-hover {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #ECEEF0;
    opacity: .5 !important;
    visibility: visible !important;
    transition: opacity .15s ease;
}

.item-brand-kit:hover .dots-brand-hover,
.item-brand-kit .dots-brand-hover:hover {
    opacity: 1 !important;
}



/* insignia de kit compartido conmigo (con tus medidas) */
.item-brand-kit .bk-shared-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #E8F1F2;
    color: #0F6D7A;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.item-brand-kit .bk-shared-badge::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    background-color: #0F6D7A;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm-8 0a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 2c-2.3 0-6 1.2-6 3.5V19h7v-2.5c0-.9.5-1.7 1.3-2.4A9.6 9.6 0 0 0 8 13zm8 0c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm-8 0a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 2c-2.3 0-6 1.2-6 3.5V19h7v-2.5c0-.9.5-1.7 1.3-2.4A9.6 9.6 0 0 0 8 13zm8 0c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z'/></svg>") center / contain no-repeat;
}



/* ── Tarjetas de plan y equipo (prefijo tplan-, no choca con tmp-/tseats-) ── */

.tplan-card {
    background: #F2F3F5;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.tplan-card--equipo {
    background: #FFFFFF;
    border: 1px solid #E6E8EB;
}

.tplan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tplan-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .07em;
    color: #6B7280;
    text-transform: uppercase;
}

.tplan-cta {
    font-size: 15px;
    font-weight: 600;
    color: #3B31A8;
    text-decoration: none;
}

.tplan-cta:hover { text-decoration: underline; }

.tplan-nombre {
    font-size: 21px;
    font-weight: 700;
    color: #16202A;
    margin: 6px 0 10px;
    word-break: break-word;
}

.tplan-estado {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* insignia */
.tplan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.tplan-badge--big { font-size: 13px; }

.tplan-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.tplan-badge--trial          { background: #FDF1DD; color: #8A5A00; }
.tplan-badge--trial::before  { background: #E08C00; }

.tplan-badge--pro            { background: #E8F1F2; color: #0F6D7A; }
.tplan-badge--pro::before    { background: #0F9D6E; }

.tplan-badge--free           { background: #ECEEF0; color: #3D4852; }
.tplan-badge--free::before   { background: #9AA1A9; }

/* fecha */
.tplan-fecha {
    font-size: 15px;
    color: #16202A;
}

.tplan-fecha--sm {
    font-size: 12px;
    color: #6B7280;
}

.tplan-fecha b,
.tplan-fecha strong { font-weight: 700; }

.tplan-dias--urgente { color: #C02020; font-weight: 600; }

.tplan-nota {
    font-size: 13px;
    line-height: 1.5;
    color: #9AA1A9;
    margin-top: 10px;
}

.tplan-rol {
    font-size: 15px;
    color: #16202A;
    margin-top: 8px;
}

.tplan-sep {
    height: 1px;
    background: #E6E8EB;
    margin: 14px 0;
}

/* acciones */
.tplan-accion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    font-size: 16px;
    color: #16202A;
    text-decoration: none;
}

.tplan-accion:hover { color: #3B31A8; }

.tplan-accion--danger        { color: #C02020; }
.tplan-accion--danger:hover  { color: #9a1a1a; }

.tplan-accion--exit          { color: #3D4852; }
.tplan-accion--exit:hover    { color: #16202A; }

.tplan-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.tplan-ico--team {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm-8 0a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 2c-2.3 0-6 1.2-6 3.5V19h7v-2.5c0-.9.5-1.7 1.3-2.4A9.6 9.6 0 0 0 8 13zm8 0c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm-8 0a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 2c-2.3 0-6 1.2-6 3.5V19h7v-2.5c0-.9.5-1.7 1.3-2.4A9.6 9.6 0 0 0 8 13zm8 0c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z'/></svg>");
}

.tplan-ico--card {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4H4V6h16zm0 10H4v-6h16z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4H4V6h16zm0 10H4v-6h16z'/></svg>");
}

.tplan-ico--trash {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z'/></svg>");
}

.tplan-ico--exit {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 17l1.4-1.4-2.6-2.6H20v-2H8.8l2.6-2.6L10 7l-5 5zM4 4h8V2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v-2H4z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 17l1.4-1.4-2.6-2.6H20v-2H8.8l2.6-2.6L10 7l-5 5zM4 4h8V2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v-2H4z'/></svg>");
}



.tplan-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    width: auto !important;
    vertical-align: middle;
}

/* el contenedor padre centra el texto: lo forzamos a la izquierda */
.tplan-card,
.tplan-card * {
    text-align: left;
}

/* la insignia se quedo en display:flex por herencia del contenedor flex;
   la queremos como pildora en linea */
.tplan-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    width: auto !important;
    flex: 0 0 auto;
    vertical-align: middle;
}






/* ═══════════════════════════════════════════════════════════════
   TARJETAS DE PLAN Y EQUIPO  (prefijo tplan-)
   Medidas tomadas del mockup "Indicador de plan".
   Los !important pisan el text-align y el display heredados de
   .boxAccount / .group-block-item.
   ═══════════════════════════════════════════════════════════════ */

/* el contenedor padre centra el texto */
.tplan-card,
.tplan-card * {
    text-align: left !important;
    box-sizing: border-box;
}

/* ── tarjeta PLAN: gris, dentro del panel ──────────────────── */
.tplan-card {
    padding: 16px 18px;
    border-radius: 11px;
    background: #f2f3f5;
    margin-bottom: 14px;
}

.tplan-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tplan-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin: 0;
}

.tplan-cta {
    font-size: 15px;
    font-weight: 600;
    color: #3b31a8;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.tplan-cta:hover { color: #2a2380; text-decoration: none; }

.tplan-estado {
    display: flex !important;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tplan-fecha {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    color: #16202a;
}

.tplan-fecha strong { font-weight: 600; }

.tplan-dias--urgente {
    color: #c02020;
    font-weight: 600;
}

.tplan-nota {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin-top: 9px;
}

/* ── tarjeta MI EQUIPO: blanca, con sombra ─────────────────── */
.tplan-card--equipo {
    background: #ffffff;
    border: 0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(20,25,35,0.08);
}

.tplan-card--equipo .tplan-label {
    font-size: 12px;
    margin-bottom: 10px;
}

.tplan-nombre {
    font-size: 17px;
    font-weight: 700;
    color: #16202a;
    margin: 0;
    word-break: break-word;
}

.tplan-card--equipo .tplan-estado {
    gap: 8px;
    margin-top: 8px;
}

.tplan-fecha--sm {
    flex: 0 0 auto;
    font-size: 12px;
    color: #6b7280;
}

.tplan-rol {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}

.tplan-sep {
    height: 1px;
    background: #ebedef;
    margin: 16px 0;
    border: 0;
}

/* ── insignia ──────────────────────────────────────────────── */
.tplan-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    width: auto !important;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
    border: 0;
}

/* en la tarjeta PLAN es un punto mas grande */
.tplan-badge--big {
    font-size: 13px;
    padding: 4px 11px;
}

.tplan-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.tplan-badge--trial         { background: #fdf1dd; color: #8a5a00; }
.tplan-badge--trial::before { background: #e08c00; }

.tplan-badge--pro           { background: #e8f1f2; color: #0f6d7a; }
.tplan-badge--pro::before   { background: #0f9d6e; }

.tplan-badge--free          { background: #eceef0; color: #3d4852; }
.tplan-badge--free::before  { background: #9aa1a9; }

/* ── acciones ──────────────────────────────────────────────── */
.tplan-accion {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 15px;
    color: #16202a;
    text-decoration: none;
    cursor: pointer;
    transition: background .12s ease;
}

.tplan-accion:hover {
    background: #f7f8f9;
    color: #16202a;
    text-decoration: none;
}

.tplan-accion--danger {
    font-size: 14px;
    color: #c02020;
}

.tplan-accion--danger:hover { background: #fdf0f0; color: #c02020; }

.tplan-accion--exit { color: #3d4852; }
.tplan-accion--exit:hover { background: #f7f8f9; color: #16202a; }

/* separador antes de la accion destructiva: mas ajustado */
.tplan-accion--danger,
.tplan-accion--exit { margin-top: 0; }

.tplan-card--equipo .tplan-sep + .tplan-accion--danger,
.tplan-card--equipo .tplan-sep + .tplan-accion--exit { margin-top: -2px; }

/* ── iconos ────────────────────────────────────────────────── */
.tplan-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    background-color: #3d4852;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.tplan-accion--danger .tplan-ico { background-color: #c02020; }

.tplan-ico--team {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm-8 0a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 2c-2.3 0-6 1.2-6 3.5V19h7v-2.5c0-.9.5-1.7 1.3-2.4A9.6 9.6 0 0 0 8 13zm8 0c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm-8 0a3 3 0 1 0-3-3 3 3 0 0 0 3 3zm0 2c-2.3 0-6 1.2-6 3.5V19h7v-2.5c0-.9.5-1.7 1.3-2.4A9.6 9.6 0 0 0 8 13zm8 0c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4z'/></svg>");
}

.tplan-ico--card {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4H4V6h16zm0 10H4v-6h16z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4H4V6h16zm0 10H4v-6h16z'/></svg>");
}

.tplan-ico--trash {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z'/></svg>");
}

.tplan-ico--exit {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 17l1.4-1.4-2.6-2.6H20v-2H8.8l2.6-2.6L10 7l-5 5zM4 4h8V2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v-2H4z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 17l1.4-1.4-2.6-2.6H20v-2H8.8l2.6-2.6L10 7l-5 5zM4 4h8V2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v-2H4z'/></svg>");
}   




/* ═══════════════════════════════════════════════════════════════
   DANGER ZONE (prefijo tdanger-)
   ═══════════════════════════════════════════════════════════════ */

.tdanger-block,
.tdanger-block * {
    text-align: left !important;
    box-sizing: border-box;
}

.tdanger-block {
    margin: 26px 0 18px;
}

.tdanger-title {
    font-size: 19px !important;
    font-weight: 700;
    color: #16202a;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
}

.tdanger-box {
    background: #fdf0f0;
    border-radius: 12px;
    overflow: hidden;
}

.tdanger-row {
    display: flex !important;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
}

.tdanger-row + .tdanger-row {
    border-top: 1px solid #f6dcdc;
}

.tdanger-txt {
    flex: 1;
    min-width: 0;
}

.tdanger-row-title {
    font-size: 16px;
    font-weight: 700;
    color: #c02020;
    margin-bottom: 3px;
}

.tdanger-row-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #8a4040;
}

.tdanger-btn {
    flex: 0 0 auto;
    padding: 12px 20px;
    border-radius: 9px;
    border: 1px solid #e5a5a5;
    background: #ffffff;
    color: #c02020;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .12s ease, border-color .12s ease;
}

.tdanger-btn:hover {
    background: #fdf6f6;
    border-color: #c02020;
}

/* salir del equipo: neutro, no destruye nada del resto */
.tdanger-row--neutral                  { background: #f7f8f9; }
.tdanger-row--neutral .tdanger-row-title { color: #16202a; }
.tdanger-row--neutral .tdanger-row-desc  { color: #6b7280; }

.tdanger-btn--neutral {
    border-color: #dfe1e5;
    color: #3d4852;
}

.tdanger-btn--neutral:hover {
    background: #f2f3f5;
    border-color: #9aa1a9;
}

@media (max-width: 560px) {
    .tdanger-row {
        flex-wrap: wrap;
        gap: 12px;
    }
    .tdanger-btn { width: 100%; }
}




/* ═══════════════ SECCIONES PLAN / MI EQUIPO ═══════════════ */

.tplan-seccion,
.tplan-seccion * {
    text-align: left !important;
    box-sizing: border-box;
}

.tplan-seccion { margin-bottom: 26px; }

.tplan-h3 {
    font-size: 21px !important;
    font-weight: 700;
    color: #16202a;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
}

.tplan-h3-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tplan-h3-row .tplan-h3 { margin-bottom: 0 !important; }

/* ── tarjeta del equipo ────────────────────────────────────── */
.tteam-card {
    background: #f2f3f5;
    border-radius: 12px;
    padding: 18px;
}

.tteam-head {
    display: flex !important;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.tteam-logo {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: #3f2fb8;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.tteam-info { flex: 1; min-width: 0; }

.tteam-nombre {
    font-size: 21px;
    font-weight: 700;
    color: #16202a;
    margin-bottom: 6px;
    word-break: break-word;
}

.tteam-meta {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tteam-meta-txt {
    font-size: 15px;
    color: #6b7280;
}

.tteam-meta-txt strong { font-weight: 600; color: #16202a; }

.tteam-avatars { flex: 0 0 auto; margin-left: auto; }

/* medidores dentro de la tarjeta */
.tteam-meter {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 10px;
}

.tteam-meter-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tteam-meter-row {
    display: flex !important;
    align-items: center;
    gap: 14px;
}

.tteam-meter-count {
    font-size: 16px;
    font-weight: 700;
    color: #16202a;
    flex: 0 0 auto;
    white-space: nowrap;
}

.tteam-bar {
    flex: 1;
    height: 8px;
    border-radius: 99px;
    background: #dfe1e5;
    overflow: hidden;
}

.tteam-bar-fill {
    height: 100%;
    background: #3b31a8;
    border-radius: 99px;
}

.tteam-meter-left {
    font-size: 15px;
    color: #6b7280;
    flex: 0 0 auto;
    text-align: right !important;
    white-space: nowrap;
}

.tteam-sep-dot { color: #9aa1a9; }

/* limite alcanzado */
.tteam-meter--full .tteam-meter-count,
.tteam-meter--full .tteam-meter-left { color: #c02020; font-weight: 700; }

.tteam-meter--full .tteam-bar-fill { background: #c02020; }

/* avatares dentro de la tarjeta */
.tteam-avatars.home-mails {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
}

.tteam-avatars.home-mails > div {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #f2f3f5;
    margin-left: -8px;
    flex: 0 0 auto;
    padding: 0 !important;
    line-height: 1;
}

.tteam-avatars.home-mails > div:first-child { margin-left: 0; }

.tteam-avatars.home-mails > div.number {
    background: #eceef0 !important;
    color: #6b7280 !important;
}

@media (max-width: 560px) {
    .tteam-head { flex-wrap: wrap; }
    .tteam-avatars { margin-left: 0; }
    .tteam-meter-row { flex-wrap: wrap; }
    .tteam-bar { order: 3; width: 100%; flex: 1 0 100%; }
}



/* ── lista de acciones de facturacion dentro de la tarjeta PLAN ── */

.tplan-billing {
    margin-top: 14px;
    border-top: 1px solid #e3e5e8;
}

.tplan-billing .payments-group {
    display: flex;
    flex-direction: column;
}

.tplan-billing button {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 2px;
    background: none;
    border: 0;
    border-bottom: 1px solid #e3e5e8;
    font-size: 15px;
    color: #16202a;
    text-align: left !important;
    cursor: pointer;
    transition: color .12s ease;
}

.tplan-billing button:last-child { border-bottom: 0; }

.tplan-billing button:hover { color: #3b31a8; }

/* flecha a la derecha */
.tplan-billing button::after {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    margin-left: 12px;
    border-right: 2px solid #9aa1a9;
    border-bottom: 2px solid #9aa1a9;
    transform: rotate(-45deg);
}

.tplan-billing button:hover::after {
    border-color: #3b31a8;
}

/* solo la cabecera (BILLING / Managed by Stripe): antes cogia todos los
   span del desplegable y metia padding 10px a titulo, descripcion e iconos */
.tplan-billing-head span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    padding: 10px 2px;
}



/* ═══════════ PLAN · bloque de facturacion (Stripe) ═══════════ */

.tplan-cta--toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

/* el chevron rotado se salia de su caja y quedaba recortado:
   le damos una caja de 14px y dibujamos la flecha con un ::before
   centrado dentro, asi la rotacion no desborda */
.tplan-chevron {
    position: relative;
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 auto;
    border: 0 !important;
    overflow: visible;
}

.tplan-chevron::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform .18s ease;
}

.tplan-cta--toggle.is-open .tplan-chevron::before {
    transform: translate(-50%, -30%) rotate(-135deg);
}

.tplan-billing {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e0e2e6;
}

.tplan-billing-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 11px;
}

.tplan-billing-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.tplan-billing-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #9aa1a9;
    white-space: nowrap;
}

.tplan-billing-note::before {
    content: "";
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    background-color: #9aa1a9;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 8h-1V6a5 5 0 0 0-10 0v2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zM9 6a3 3 0 0 1 6 0v2H9zm3 12a2 2 0 1 1 2-2 2 2 0 0 1-2 2z'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 8h-1V6a5 5 0 0 0-10 0v2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zM9 6a3 3 0 0 1 6 0v2H9zm3 12a2 2 0 1 1 2-2 2 2 0 0 1-2 2z'/></svg>") center / contain no-repeat;
}

.tplan-billing-list {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
}

.tplan-billing-row {
    display: flex !important;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border-radius: 10px;
    background: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow .12s ease;
}

.tplan-billing-row:hover {
    box-shadow: 0 2px 8px rgba(20,25,35,.08);
    text-decoration: none;
}

.tplan-billing-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background-color: #3d4852;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.tplan-billing-ico--card {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4H4V6h16zm0 10H4v-6h16z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4H4V6h16zm0 10H4v-6h16z'/></svg>");
}

.tplan-billing-ico--tax {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 2H8a2 2 0 0 0-2 2v16l3-2 3 2 3-2 3 2 3-2V4a2 2 0 0 0-2-2zm-2 6H10V6h7zm0 4H10v-2h7zm-3 4h-4v-2h4z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 2H8a2 2 0 0 0-2 2v16l3-2 3 2 3-2 3 2 3-2V4a2 2 0 0 0-2-2zm-2 6H10V6h7zm0 4H10v-2h7zm-3 4h-4v-2h4z'/></svg>");
}

.tplan-billing-ico--doc {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 7V3.5L18.5 9zM8 13h8v2H8zm0 4h8v2H8z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 7V3.5L18.5 9zM8 13h8v2H8zm0 4h8v2H8z'/></svg>");
}

.tplan-billing-ico--plan {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 4 6v6c0 5 3.4 9.4 8 10 4.6-.6 8-5 8-10V6zm0 4a2 2 0 1 1-2 2 2 2 0 0 1 2-2zm0 10a5 5 0 0 1-4-2c0-1.3 2.7-2 4-2s4 .7 4 2a5 5 0 0 1-4 2z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 4 6v6c0 5 3.4 9.4 8 10 4.6-.6 8-5 8-10V6zm0 4a2 2 0 1 1-2 2 2 2 0 0 1 2-2zm0 10a5 5 0 0 1-4-2c0-1.3 2.7-2 4-2s4 .7 4 2a5 5 0 0 1-4 2z'/></svg>");
}

.tplan-billing-txt {
    flex: 1;
    min-width: 0;
}

.tplan-billing-title {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #16202a;
    line-height: 1.35;
}

.tplan-billing-desc {
    display: block;
    font-size: 12.5px;
    color: #6b7280;
    margin-top: 2px;
    line-height: 1.4;
}

/* indicador de enlace externo */
.tplan-billing-ext {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    background-color: #9aa1a9;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 17 17 7M9 7h8v8'/></svg>") center / contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 17 17 7M9 7h8v8'/></svg>") center / contain no-repeat;
}

.tplan-billing-row:hover .tplan-billing-ext { background-color: #3b31a8; }

.tplan-billing-aviso {
    font-size: 12.5px;
    line-height: 1.5;
    color: #6b7280;
    margin-top: 12px;
}


.tplan-billing-ext {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 3v2h3.6l-9.8 9.8 1.4 1.4L19 6.4V10h2V3zM5 5h5V3H3v18h18v-7h-2v5H5z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 3v2h3.6l-9.8 9.8 1.4 1.4L19 6.4V10h2V3zM5 5h5V3H3v18h18v-7h-2v5H5z'/></svg>");
}


/* ═══ overrides: el panel de cuenta pisa tamaños y colores ═══ */

/* reset solo de lo que inflaba: alto minimo y line-height.
   Los paddings propios se respetan mas abajo. */
.tplan-card span,
.tplan-card a {
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.tplan-card .tplan-billing-txt,
.tplan-card .tplan-billing-title,
.tplan-card .tplan-billing-desc,
.tplan-card .tplan-label,
.tplan-card .tplan-fecha {
    margin: 0 !important;
    padding: 0 !important;
}

.tplan-billing-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
}

.tplan-billing-note {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    font-size: 11.5px !important;
    color: #9aa1a9 !important;
    line-height: 1.4 !important;
    white-space: nowrap;
}

.tplan-billing-row {
    padding: 13px 15px !important;
    align-items: center !important;
}

.tplan-billing-txt {
    display: block !important;
    flex: 1;
    min-width: 0;
}

.tplan-billing-title {
    display: block !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #16202a !important;
    line-height: 1.35 !important;
}

.tplan-billing-desc {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
    margin-top: 2px !important;
}

.tplan-billing-ico {
    width: 20px !important;
    height: 20px !important;
    align-self: center;
}

.tplan-billing-ext {
    width: 14px !important;
    height: 14px !important;
    align-self: center;
}

/* estado del plan */
.tplan-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
}

.tplan-fecha {
    font-size: 15px !important;
    color: #16202a !important;
    line-height: 1.4 !important;
}

.tplan-fecha strong { font-weight: 600 !important; }

.tplan-cta {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #3b31a8 !important;
    line-height: 1.4 !important;
}

.tplan-chevron {
    width: 8px !important;
    height: 8px !important;
}

.tplan-badge {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    padding: 3px 10px !important;
}

.tplan-badge--big {
    font-size: 13px !important;
    padding: 4px 11px !important;
}



.tplan-billing-row {
    padding: 13px 15px !important;
    margin: 0 !important;
}

.tplan-badge {
    padding: 3px 10px !important;
    margin: 0 !important;
}

.tplan-badge--big {
    padding: 4px 11px !important;
}

.tplan-billing-desc {
    margin-top: 2px !important;
}

.tplan-cta {
    padding: 0 !important;
    margin: 0 !important;
}



.tplan-billing-row--off {
    display: flex;
    align-items: flex-start;
    cursor: default;
    opacity: .75;
}
.tplan-billing-row--off:hover { background: transparent; }


.tplan-hint-pago {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #52556b;
}





.hist-modal {
    width: 620px !important;
    max-width: calc(100vw - 40px) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 24px 60px rgba(26, 26, 46, .2) !important;
    overflow: hidden !important;
}
.hist-modal .col-redesign,
.hist-modal .scrollbar {
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
.hist-modal .hist-head {
    padding: 26px 26px 14px !important;
}
.hist-modal .hist-head .title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -.02em !important;
    color: #1a1a2e !important;
}
.hist-modal .hist-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    padding: 0 14px 8px !important;
    max-height: min(56vh, 430px) !important;
    overflow-y: auto !important;
}
.hist-modal .historial-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    transition: background .15s ease;
}
.hist-modal .historial-item:hover {
    background: #f7f7f9 !important;
}
.hist-modal .historial-item.is-latest,
.hist-modal .historial-item.is-latest:hover {
    background: var(--eb-tinte, #F0EFFA) !important;
}
.hist-modal .historial-thumb {
    display: block !important;
    flex: none !important;
    width: 86px !important;
    height: 62px !important;
    padding: 2px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 46, .12) !important;
}
.hist-modal .historial-item.is-latest .historial-thumb {
    box-shadow: inset 0 0 0 1.5px var(--eb-indigo, #3533AD) !important;
}
.hist-modal .historial-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.hist-modal .historial-data {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}
.hist-modal .hist-when {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    line-height: 1.2 !important;
}
.hist-modal .historial-item.is-latest .hist-when {
    font-weight: 700 !important;
    color: var(--eb-tinte-texto, #241D63) !important;
}
.hist-modal .hist-badge {
    flex: none !important;
    height: 21px !important;
    padding: 0 8px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 11px !important;
    background: var(--eb-borde, #DDD9F4) !important;
    color: var(--eb-tinte-texto, #241D63) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}
.hist-modal .hist-who {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    font-size: 13px !important;
    color: #33344d !important;
    line-height: 1.3 !important;
}
.hist-modal .hist-avatar {
    flex: none !important;
    width: 20px !important;
    height: 20px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
}
.hist-modal .hist-mail {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.hist-modal .hist-you {
    flex: none !important;
    color: #52556b !important;
}
.hist-modal .hist-size {
    flex: none !important;
    height: 20px !important;
    padding: 0 7px !important;
    display: none !important;
    place-items: center !important;
    border-radius: 10px !important;
    background: #f0f0f4 !important;
    color: #52556b !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}
.hist-modal .btn-restaurar {
    flex: none !important;
    display: inline-grid !important;
    place-items: center !important;
    height: var(--eb-h-sm, 36px) !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: var(--eb-radio, 8px) !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px var(--eb-borde, #DDD9F4) !important;
    color: var(--eb-tinte-texto, #241D63) !important;
    font-size: 13.5px !important;
    font-weight: var(--eb-peso, 600) !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background .15s ease, box-shadow .15s ease, color .15s ease;
}
.hist-modal .btn-restaurar:hover {
    background: var(--eb-tinte, #F0EFFA) !important;
    box-shadow: inset 0 0 0 1px var(--eb-indigo, #3533AD) !important;
    color: var(--eb-indigo, #3533AD) !important;
}
.hist-modal .btn-restaurar:active {
    background: var(--eb-borde, #DDD9F4) !important;
}
.hist-modal .btn-restaurar:focus-visible {
    outline: none !important;
    box-shadow: var(--eb-focus, 0 0 0 2px #fff, 0 0 0 4px #A9A7E6) !important;
}
.hist-modal .hist-foot {
    padding: 12px 26px 20px !important;
    border-top: 1px solid #f0f0f4 !important;
    margin-top: 8px !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #52556b !important;
}
.hist-modal .hist-empty {
    padding: 8px 26px 30px !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #52556b !important;
}
.hist-modal .hist-list::-webkit-scrollbar {
    width: 8px;
}
.hist-modal .hist-list::-webkit-scrollbar-thumb {
    background: #ddddE3;
    border-radius: 4px;
}
@media (max-width: 560px) {
    .hist-modal .hist-head {
        padding: 20px 18px 12px !important;
    }
    .hist-modal .hist-list {
        padding: 0 8px 8px !important;
    }
    .hist-modal .historial-item {
        gap: 10px !important;
        padding: 10px !important;
    }
    .hist-modal .historial-thumb {
        width: 64px !important;
        height: 46px !important;
    }
    .hist-modal .btn-restaurar {
        padding: 0 12px !important;
    }
}


.hist-modal .hist-role {
    display: inline-block !important;
    margin-left: 6px !important;
    padding: 1px 7px !important;
    border-radius: 10px !important;
    background: #f0f0f4 !important;
    color: #52556b !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    vertical-align: 1px !important;
}


.hist-modal .hist-filters {
    display: flex !important;
    gap: 3px !important;
    margin: 0 26px 10px !important;
    padding: 3px !important;
    border-radius: 9px !important;
    background: #f0f0f4 !important;
}
.hist-modal .hist-filter {
    flex: 1 1 0 !important;
    height: 34px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #52556b !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
.hist-modal .hist-filter.is-on {
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(26, 26, 46, .1) !important;
    color: var(--eb-tinte-texto, #241D63) !important;
    font-weight: 600 !important;
}
.hist-modal .hist-day {
    padding: 12px 12px 6px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #6f7189 !important;
    line-height: 1.3 !important;
}
.hist-modal .hist-event {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 11px 12px !important;
}
.hist-modal .hist-dot {
    flex: none !important;
    width: 8px !important;
    height: 8px !important;
    margin-top: 6px !important;
    border-radius: 50% !important;
    background: #c9c7da !important;
}
.hist-modal .hist-event.is-access .hist-dot {
    background: #7aa7e0 !important;
}
.hist-modal .hist-event.is-ok .hist-dot {
    background: #7bcfa8 !important;
}
.hist-modal .hist-event.is-warn .hist-dot {
    background: #e8c98a !important;
}
.hist-modal .hist-event.is-danger .hist-dot {
    background: #e7b3bd !important;
}
.hist-modal .hist-event-body {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.hist-modal .hist-event-text {
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: #1a1a2e !important;
    text-align: left !important;
}
.hist-modal .hist-event-text b {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
}
.hist-modal .hist-quote {
    margin-top: 5px !important;
    padding-left: 10px !important;
    border-left: 2px solid var(--eb-borde, #DDD9F4) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #33344d !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.hist-modal .hist-time {
    flex: none !important;
    margin-top: 1px !important;
    font-size: 12.5px !important;
    color: #52556b !important;
}
.hist-modal .hist-role {
    display: inline-block !important;
    margin-left: 6px !important;
    padding: 1px 7px !important;
    border-radius: 10px !important;
    background: #f0f0f4 !important;
    color: #52556b !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    vertical-align: 1px !important;
}
.hist-modal .hist-list.only-versions .hist-event,
.hist-modal .hist-list.only-versions .hist-day--noversions {
    display: none !important;
}


.hist-modal .hist-list.only-versions .hist-event,
.hist-modal .hist-list.only-versions .hist-day--noversions {
    display: none !important;
}


/* ============================================================
   HISTORIAL DE VERSIONES — RESPONSIVE
   ------------------------------------------------------------
   Tres cambios por tramo: el modal pasa a ocupar la pantalla, la
   fila de version deja de ser horizontal y el boton de restaurar
   pasa a ancho completo, que es lo unico pulsable con el pulgar.
   ============================================================ */

@media (max-width: 740px) {

    .hist-modal {
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    /* cabecera fija: el titulo y el nombre del diseño no deben irse con el scroll */
    .hist-head { flex: 0 0 auto; }
    .hist-foot { flex: 0 0 auto; }

    .hist-list {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 0 14px 12px;
        -webkit-overflow-scrolling: touch;
    }

    .hist-day {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
        padding: 10px 0 6px;
    }

    /* --- fila de version: de horizontal a bloque --- */
    .historial-item {
        display: grid;
        grid-template-columns: 64px 1fr;
        grid-template-areas:
            "thumb datos"
            "boton boton";
        gap: 10px 12px;
        padding: 12px 0;
    }
    .historial-thumb { grid-area: thumb; width: 64px; height: 64px; }
    .historial-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .historial-data  { grid-area: datos; min-width: 0; }

    .btn-restaurar {
        grid-area: boton;
        display: grid;
        place-items: center;
        box-sizing: border-box;
        width: 100%;
        height: var(--eb-h-md, 44px);
        margin-top: 2px;
        border-radius: var(--eb-radio, 8px);
        box-shadow: inset 0 0 0 1px var(--eb-indigo-border, #DDD9F4);
        background: #fff;
        font-size: 15px;
        font-weight: var(--eb-peso, 600);
        color: var(--eb-indigo, #3533AD);
        text-decoration: none !important;
    }
    .btn-restaurar:active { background: var(--eb-indigo-soft, #F0EFFA); }

    /* el email largo no debe empujar la fila */
    .hist-mail {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .hist-who { flex-wrap: wrap; gap: 6px; }

    /* --- eventos --- */
    .hist-event {
        display: grid;
        grid-template-columns: 10px 1fr auto;
        gap: 8px;
        padding: 10px 0;
    }
    .hist-event-text { min-width: 0; overflow-wrap: anywhere; }
    .hist-time { font-variant-numeric: tabular-nums; white-space: nowrap; }

    /* los chips de filtro no deben partirse en dos lineas */
    .hist-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
    .hist-filter  { flex: none; }



    /* La X estaba en top: -36px, fuera de la pantalla, y ademas medía 0x0.
       En movil pasa a ir DENTRO del modal, arriba a la derecha. */
    .hist-modal { position: relative; }

    .hist-modal .closeX {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 10;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 2px 8px rgba(26,26,46,.18);
        cursor: pointer;
    }
    .hist-modal .closeX svg,
    .hist-modal .closeX img {
        width: 16px !important;
        height: 16px !important;
    }

    /* el titulo deja sitio para la X */
    .hist-modal .hist-head { padding-right: 52px !important; }

}

@media (max-width: 420px) {

    /* con la pantalla mas estrecha, la miniatura se encoge y el tamaño
       (hist-size) se oculta: es el dato menos util de la fila */
    .historial-item { grid-template-columns: 52px 1fr; }
    .historial-thumb { width: 52px; height: 52px; }

    .hist-size { display: none; }
    .hist-badge { font-size: 10.5px; padding: 2px 7px; }

    .hist-list { padding: 0 12px 12px; }
}


/* ============================================================
   HISTORIAL DE VERSIONES — RESPONSIVE
   ------------------------------------------------------------
   Clases reales del marcado: hist-head, hist-list, hist-day,
   historial-item, historial-thumb, historial-data, hist-when,
   hist-time, hist-badge, hist-who, hist-avatar, hist-mail,
   hist-you, btn-restaurar. No hay chips de filtro ni hist-foot.
   ============================================================ */

@media (max-width: 740px) {
   .hist-modal .hist-list { max-height: 70dvh; }
    /* height: auto y no 100dvh: con pocas versiones, forzar la altura completa
       dejaba huecos muertos arriba y abajo. Crece solo hasta donde haga falta
       y a partir de ahi scrollea la lista. */
    .hist-modal {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 92dvh !important;
        border-radius: 14px !important;
        display: flex;
        flex-direction: column;
    }

    .hist-modal .hist-head { flex: 0 0 auto; padding: 18px 16px 10px; }

    .hist-modal .hist-list {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0 16px 16px;
        -webkit-overflow-scrolling: touch;
    }

    .hist-modal .hist-day {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
        padding: 10px 0 6px;
    }

    /* Sin grid-template-areas: se posiciona por fila y columna explicitas, que
       no depende de que los nombres de area casen y es mas dificil de romper. */
    .hist-modal .historial-item {
        display: grid !important;
        grid-template-columns: 64px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        grid-template-areas: none !important;
        gap: 10px 12px;
        padding: 12px 0;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        align-items: start;
    }
    .hist-modal .historial-thumb {
        grid-area: auto !important;
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        width: 64px !important;
        height: 64px !important;
        max-width: 64px !important;
        flex: none;
        margin: 0 !important;
        overflow: hidden;
    }
    .hist-modal .historial-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    .hist-modal .historial-data {
        grid-area: auto !important;
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        min-width: 0;
    }
    .hist-modal .btn-restaurar {
        grid-area: auto !important;
        grid-column: 1 / -1 !important;
        grid-row: 2 / 3 !important;
    }
    .hist-modal .historial-thumb img { width: 100%; height: 100%; object-fit: cover; }

    .hist-modal .historial-data { grid-area: datos; min-width: 0; }

    .hist-modal .btn-restaurar {
        grid-area: boton;
        display: grid !important;
        place-items: center;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100%;
        height: var(--eb-h-md, 44px);
        margin: 2px 0 0 !important;
        padding: 0 12px;
        border-radius: var(--eb-radio, 8px);
        box-shadow: inset 0 0 0 1px var(--eb-indigo-border, #DDD9F4);
        background: #fff;
        font-size: 15px;
        font-weight: var(--eb-peso, 600);
        color: var(--eb-indigo, #3533AD);
        text-decoration: none !important;
        white-space: nowrap;
    }
    .hist-modal .btn-restaurar:active { background: var(--eb-indigo-soft, #F0EFFA); }

    /* el email largo desbordaba la fila y provocaba scroll horizontal */
    .hist-modal .hist-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
    .hist-modal .hist-mail {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hist-modal .hist-event { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: 8px; padding: 10px 0; }
    .hist-modal .hist-event-text { min-width: 0; overflow-wrap: anywhere; }
    .hist-modal .hist-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
}

@media (max-width: 420px) {
    .hist-modal .historial-item  { grid-template-columns: 52px minmax(0, 1fr); }
    .hist-modal .historial-thumb { width: 52px; height: 52px; }
    .hist-modal .hist-size  { display: none; }
    .hist-modal .hist-badge { font-size: 10.5px; padding: 2px 7px; }
    .hist-modal .hist-list  { padding: 0 12px 12px; }
}
    /* hist-who es HERMANO de historial-data, no hijo: sin asignarle area caia
       en el flujo automatico de la rejilla y se colocaba bajo la miniatura,
       invadiendo la columna del thumb. */
    .hist-modal .historial-item {
        grid-template-areas:
            "thumb datos"
            "boton boton";
        grid-template-rows: auto auto;
        align-items: start;
    }
    /* hist-when y hist-who NO son hijos de la rejilla: van dentro de
       historial-data. Asignarles grid-area no hacia nada y rompia su
       disposicion. Dentro de historial-data se apilan con flex. */
    .hist-modal .historial-data {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }
    .hist-modal .hist-when { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .hist-modal .hist-who  { display: flex; align-items: center; gap: 6px; min-width: 0; }
    .hist-modal .hist-avatar { flex: none; position: static !important; }

    /* el email cabe entero en movil: solo se recorta si de verdad no entra */
    .hist-modal .hist-mail { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }

    /* la cabecera dejaba 200px muertos sobre la lista */
    .hist-modal .hist-head { padding: 18px 16px 4px !important; margin-bottom: 0 !important; }
    .hist-modal .hist-head .title { margin: 0 !important; }


/* pantalla completa solo en moviles reales, no en una ventana estrecha de
   escritorio: ahi el modal flotante se lee mejor */
/* En movil se deja aire arriba y abajo en vez de ocupar la pantalla entera:
   asi se ve que es una capa sobre el editor y no otra pagina, y el gesto de
   cerrar tocando fuera sigue disponible. */
@media (max-width: 740px) and (pointer: coarse) {
    .hist-modal {
        height: auto !important;
        max-height: calc(100dvh - 48px) !important;
        margin: 24px auto !important;
        border-radius: 14px !important;
    }
    .hist-modal .hist-list { max-height: calc(100dvh - 240px); }
}


.storage-bar-in { min-width: 4px; }


/* Barra horizontal inutil: al poner overflow-y: auto el navegador convierte el
   overflow-x en auto y pinta la barra aunque no haya desbordamiento real. */
.hist-modal .hist-list {
	overflow-x: hidden !important;
}
.hist-modal {
	overflow-x: hidden;
}


/* ============================================================
   PANEL DE ELEMENTOS · fichas de "Add objects" y "Add tables"
   Un unico sistema (prefijo el-) para los dos paneles.
   Sin ids ni !important: la visibilidad plegado/desplegado la
   decide la clase .el-abierto del contenedor .el-panel.
   ============================================================ */

/* --- sprite de objetos: 24 iconos en una fila, valido a cualquier tamano.
   background-size en % y posicion = (indice / 23) * 100 %.
   Doble clase para ganar a cualquier .objIcon-x en px de otra hoja. --- */
.objIcon {
	display: block;
	width: 64px;
	height: 64px;
	background-image: url("/d/img/sprite-objetos.png");
	background-repeat: no-repeat;
	background-size: 2400% 100%;
	pointer-events: none;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.objIcon { background-image: url("/d/img/sprite-objetos@2x.webp"); }
}

.objIcon.objIcon-squareShape      { background-position: 0% 0; }
.objIcon.objIcon-square           { background-position: 4.3478% 0; }
.objIcon.objIcon-circleShape      { background-position: 8.6957% 0; }
.objIcon.objIcon-circle           { background-position: 13.0435% 0; }
.objIcon.objIcon-roundedRectShape { background-position: 17.3913% 0; }
.objIcon.objIcon-roundedRect      { background-position: 21.7391% 0; }
.objIcon.objIcon-triangleShape    { background-position: 26.087% 0; }
.objIcon.objIcon-triangle         { background-position: 30.4348% 0; }
.objIcon.objIcon-diamond          { background-position: 34.7826% 0; }
.objIcon.objIcon-pentagon         { background-position: 39.1304% 0; }
.objIcon.objIcon-hexagon          { background-position: 43.4783% 0; }
.objIcon.objIcon-hexagonShape     { background-position: 47.8261% 0; }
.objIcon.objIcon-octagon          { background-position: 52.1739% 0; }
.objIcon.objIcon-star             { background-position: 56.5217% 0; }
.objIcon.objIcon-starShape        { background-position: 60.8696% 0; }
.objIcon.objIcon-star4            { background-position: 65.2174% 0; }
.objIcon.objIcon-heart            { background-position: 69.5652% 0; }
.objIcon.objIcon-heartShape       { background-position: 73.913% 0; }
.objIcon.objIcon-arrow            { background-position: 78.2609% 0; }
.objIcon.objIcon-doubleArrow      { background-position: 82.6087% 0; }
.objIcon.objIcon-line             { background-position: 86.9565% 0; }
.objIcon.objIcon-lineDashed       { background-position: 91.3043% 0; }
.objIcon.objIcon-speechBubble     { background-position: 95.6522% 0; }
.objIcon.objIcon-cross            { background-position: 100% 0; }

.elGrupoCount { font-weight: 500; color: #6f7189; }

/* --- boton "View all / View less" ---
   El texto (color, tamano, peso) lo sigue marcando .header_cabeceras_graphics .filas .text button
   de style_editor_all.css, igual que el resto de "View all" del editor. Aqui solo van el chevron,
   la zona de clic y el texto, que sale de data-todas / data-menos (sin span: los span de
   .filas .text heredan el estilo del titulo). --- */
.el-toggle {
	height: 30px;
	margin-right: -4px;
	padding: 0 8px 0 12px;
	border: 0;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	cursor: pointer;
	transition: background .15s;
}
.el-toggle::before { content: attr(data-todas); }
.el-abierto .el-toggle::before { content: attr(data-menos); }
.el-toggle:hover { background: #e6e5f8; }
.el-toggle-chevron { flex: none; transition: transform .2s; }
.el-abierto .el-toggle-chevron { transform: rotate(-90deg); }

/* --- rejilla: 5 columnas --- */
.el-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

/* --- ficha: tarjeta cuadrada + etiqueta opcional debajo --- */
.el-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	min-width: 0;
	cursor: pointer;
}
.el-tile-drag { cursor: grab; }

.el-card {
	width: 100%;
	aspect-ratio: 1;
	box-sizing: border-box;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 0 0 1px #e4e4ec, 0 1px 2px rgba(23, 23, 43, .05);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1f2a37;
	transition: box-shadow .15s, transform .15s, background .15s;
}
.el-tile:hover .el-card {
	box-shadow: 0 0 0 1.5px #3533AD, 0 6px 14px rgba(53, 51, 173, .14);
	transform: translateY(-1px);
}

.el-card .objIcon { width: 52%; height: auto; aspect-ratio: 1; }
.el-icono { width: 54%; height: auto; display: block; }

.el-label {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: "PlusJakartaSans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	color: #5b5b70;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ficha "+N": tarjeta indigo con el contador */
.el-tile-more .el-card { background: #eeeefb; box-shadow: 0 0 0 1px #dcdaf7; }
.el-tile-more:hover .el-card { background: #e3e2fa; box-shadow: 0 0 0 1.5px #3533AD; transform: none; }
.el-tile-more .el-label { color: #3533AD; }
.el-count {
	font-family: "PlusJakartaSans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: #3533AD;
}

/* ficha "Custom": tarjeta hueca con marco gris */
.el-tile-custom .el-card { background: transparent; box-shadow: inset 0 0 0 1.5px #c9c8dc; }
.el-tile-custom:hover .el-card { background: #fff; box-shadow: inset 0 0 0 1.5px #3533AD; transform: none; }
.el-tile-custom .el-icono { width: 58%; }
.el-icono-mas { stroke: #3533AD; }

/* --- plegado: solo las 4 primeras + "+N"; desplegado: todas (y Custom) ---
   Van despues de .el-tile a proposito: misma especificidad, gana la ultima. */
.el-extra,
.el-tile-custom { display: none; }
.el-abierto .el-extra,
.el-abierto .el-tile-custom { display: flex; }
.el-abierto .el-tile-more { display: none; }

@media (hover: none) and (pointer: coarse) {

    #BrandKit .drop-brand-kit .box-drop-brand-kit:has(.dots-brand:hover) {
        display: block !important;
    }

    #BrandKit .drop-brand-kit .box-drop-brand-kit .item-brand-kit .dots-brand:hover .tooltip-box-brand {
        display: block !important;
    }

    #BrandKit .drop-brand-kit:has(.dots-brand:hover) .btn-active-drop-brand-kit {
        background: #f6f5fe;
    }

    #BrandKit .drop-brand-kit:has(.dots-brand:hover) .btn-active-drop-brand-kit::after {
        transform: translate(-50%, -50%);
    }

}


/* ============================================================
   BRAND KIT · sidebar: combinaciones y colores
   ============================================================ */

.bk-sb-colors {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0 0 28px;
}

.bk-sb-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bk-sb-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-sub-cats .bk-sb-colors p.bk-sb-title {
    flex: 1;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #17172b;
    cursor: pointer;
}

/* Aleatoria */
.content-sub-cats .bk-sb-colors .bk-sb-random {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    margin: 0 -6px 0 0;
    padding: 0 10px 0 8px;
    border: 0;
    border-radius: 8px;
    background: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #3533AD;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s;
}

.content-sub-cats .bk-sb-colors .bk-sb-random:hover {
    background: #eeeefb;
}

/* Combinaciones: pastillas en 2 columnas */
.bk-sb-combos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    padding: 4px;
}

.bk-sb-combo {
    position: relative;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(23, 23, 43, .1);
    cursor: pointer;
    transition: box-shadow .15s, transform .15s;
}

.bk-sb-combo:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(23, 23, 43, .12), 0 6px 14px rgba(23, 23, 43, .14);
}

.bk-sb-combo.is-active,
.bk-sb-combo.is-active:hover {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3533AD;
}

/* Check de la combinacion aplicada, dentro de la pastilla */
.bk-sb-combo.is-active::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 2px solid #fff;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(23, 23, 43, .25);
    background: #3533AD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
    pointer-events: none;
}

.bk-sb-strip {
    display: flex;
    width: 100%;
    height: 100%;
}

.bk-sb-strip span {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
}

.bk-sb-legacy {
    display: none !important;
}

/* Nueva combinacion */
.content-sub-cats .bk-sb-colors .bk-sb-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1.5px dashed #c9c8dc;
    border-radius: 999px;
    background: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.content-sub-cats .bk-sb-colors .bk-sb-new:hover {
    border-color: #3533AD;
    color: #3533AD;
}

/* Colores sueltos */
.bk-sb-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bk-sb-swatch,
.bk-sb-add {
    width: 44px;
    height: 44px;
    flex: none;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    cursor: pointer;
}

.bk-sb-swatch {
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .08);
    transition: transform .15s;
}

.bk-sb-swatch:hover {
    transform: translateY(-2px);
}

.bk-sb-add {
    position: relative;
    border: 1.5px dashed #c9c8dc;
    background: transparent;
    color: #6b6a80;
    transition: border-color .15s, color .15s;
}

.bk-sb-add::before {
    content: "+";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
}

.bk-sb-add:hover {
    border-color: #3533AD;
    color: #3533AD;
}


/* ############################################################
   COLORES · panel de colores del editor
   1) Reglas heredadas, movidas tal cual de style_editor_all.css
   2) Reglas que ya estaban en este fichero, sin duplicados
   3) Panel nuevo (diseño "Colors Panel")
   ############################################################ */

/* ── 1) Heredadas de style_editor_all.css ─────────────────── */

.color-percent {
    width:90%;
    margin:auto
}

.color-percent .name-percent {
    display:block;
    color:#fff;
    margin:15px 0 4px;
    font-size:10px
}

.color-percent .box-percent {
    height:52px;
    width:100%;
    display:block;
    margin-top:5px;
    overflow:hidden;
    padding:0;
    border:0
}

.color-percent .box-percent .color-percent-bar {
    height:52px;
    margin-bottom:8px;
    width:auto
}

.color-percent .box-percent .color-percent-bar span {
    height:52px;
    display:inline-block;
    margin-left:-5px;
    border-top:1px solid #51a6ea;
    border-bottom:1px solid #51a6ea;
    cursor:pointer
}

.color-percent .box-percent .color-percent-bar span:first-of-type {
    margin-left:0;
    border-left:1px solid #51a6ea
}

.color-percent .box-percent .color-percent-bar span:last-of-type {
    border-right:1px solid #51a6ea
}

.color-percent .box-percent.dosdos .color-percent-bar span {
    width:calc(100% / 2)
}

.color-percent .box-percent.trestres .color-percent-bar span {
    width:calc(100% / 3)
}

.color-percent .box-percent.cuatrocuatro .color-percent-bar span {
    width:calc(100% / 4)
}

.color-percent .box-percent.cincocinco .color-percent-bar span {
    width:calc(100% / 5)
}

.text-color-isntruction {
    color:#000;
    font-size:15px;
    font-weight:600;
    text-align:left;
    margin-top:30px
}

.palette-color {
    width:100%;
    padding-right:0
}

.palette-color .sample-color .col {
    display:inline-block;
    vertical-align:top;
    width:48%;
    margin:0;
    padding:0
}

.palette-color .sample-color .col:first-of-type {
    margin-right:2%
}

.palette-color .sample-color .col .color-tone {
    width:100%;
    height:140px;
    position:relative;
    border-radius:2px
}

.palette-color .sample-color .col .color-tone .input-tone {
    position:absolute;
    bottom:5px;
    right:5px;
    border:1px solid #e6e6e6;
    border-radius:2px;
    background:#fff;
    width:62px;
    padding:2px 6px;
    height:22px
}

.palette-color .sample-color .col .color-tone .input-tone input {
    width:100%;
    color:#4d4d4d;
    border:none;
    margin:0;
    padding:0;
    height:100%;
    display:block;
    font-size:12px
}

.palette-color .sample-color .col .row.similar-sample {
    margin-bottom:8px
}

.palette-color .sample-color .col .row.similar-sample .border-content-color div {
    height:30px
}

.palette-color .sample-color .col .row.similar-sample .border-content-color div:first-of-type {
    width:100%;
    cursor:pointer
}

.palette-color .sample-color .col .row.similar-sample .border-content-color div:last-of-type span {
    width:calc(100% / 2);
    float:left;
    height:100%;
    cursor:pointer
}

.palette-color .sample-color .col .row.suggest-color div {
    height:30px
}

.palette-color .sample-color .col .row.suggest-color div span {
    width:calc(100% / 4);
    float:left;
    height:100%
}

.palette-color .sample-color .row.color-row {
    margin:15px 23px 0 18px
}

.palette-color .sample-color .row.color-row div {
    height:30px
}

.palette-color .sample-color .row.color-row div span {
    width:calc(100% / 12);
    float:left;
    height:100%;
    cursor:pointer;
    box-shadow:inset 1px 1px 0 rgba(0,0,0,0.05)
}

.palette-color .sample-color-tabs {
    margin:11px 0 0;
    position:relative
}

.palette-color .sample-color-tabs:before {
    width:calc(100% + 117px);
    content:'';
    height:55px;
    position:absolute;
    top:-24px;
    left:50%;
    transform:translateX(-50%);
    z-index:-1;
    background:#efefef;
    background:-moz-linear-gradient(top,#efefef 0%,#c3c7c9 100%);
    background:-webkit-linear-gradient(top,#efefef 0%,#c3c7c9 100%);
    background:linear-gradient(to bottom,#efefef 0%,#c3c7c9 100%)
}

.palette-color .sample-color-tabs.no-shadow:before {
    display:none
}

.palette-color .sample-color-tabs .flexline {
    display:flex;
    justify-content:space-between;
    position:relative;
    margin:0 -30px
}

.palette-color .sample-color-tabs .flexline .sample-tabs {
    text-align:center;
    position:relative;
    z-index:9;
    cursor:pointer;
    height:32px;
    display:flex;
    flex:auto;
    align-items:center;
    justify-content:center;
    z-index:2;
    position:relative
}

.palette-color .sample-color-tabs .flexline .sample-tabs span {
    color:#000;
    font-weight:600;
    font-size:15px
}

@media (max-width:475px) {
    .palette-color .sample-color-tabs .flexline .sample-tabs span {
        margin-top:1px
    }

}

.palette-color .sample-color-tabs .flexline.three-tabs {
    margin:0
}

.palette-color .sample-color-tabs .flexline.three-tabs .hover-green {
    position:absolute;
    bottom:0;
    height:2px;
    z-index:9999;
    width:100%
}

.palette-color .sample-color-tabs .flexline.three-tabs .hover-green:before {
    content:'';
    height:100%;
    display:block;
    width:50%;
    position:absolute;
    top:0;
    background:#3533ad;
    transition:.25s
}

.palette-color .sample-color-tabs .flexline.three-tabs .sample-tabs {
    width:50%;
    height:38px
}

.palette-color .sample-color-tabs .flexline.three-tabs .sample-tabs span {
    color:#b0b8be;
    font-size:13px;
    line-height:13px
}

.palette-color .sample-color-tabs .flexline.three-tabs .sample-tabs span:hover {
    color:#8b99a3
}

.palette-color .sample-color-tabs .flexline.three-tabs .sample-tabs.colors-tab.active span {
    color:#000
}

.palette-color .sample-color-tabs .flexline.three-tabs .sample-tabs.colors-tab.active + .sample-tabs + .hover-green:before {
    left:0
}

.palette-color .sample-color-tabs .flexline.three-tabs .sample-tabs.grad-tab.active span {
    color:#000
}

.palette-color .sample-color-tabs .flexline.three-tabs .sample-tabs.grad-tab.active + .hover-green:before {
    left:50%
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs {
    width:50%;
    background:#000
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs img,
.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs svg {
    height:18px;
    object-fit:cover;
    margin:0 4px 0 0 !important;
    width:18px !important;
    fill:#efefef
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs span {
    color:#efefef
}

@media (max-width:475px) {
    .palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs span {
        margin-top:1px
    }

}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs:hover {
    background:#41545b
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.active {
    background:#efefef;
    z-index:4
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.active span {
    color:#000
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.active svg {
    fill:#000 !important
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.comb-tab:after {
    content:'';
    position:absolute;
    top:0;
    height:100%;
    width:20px;
    right:-20px;
    background:#000
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.comb-tab svg:first-of-type {
    display:none !important
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.comb-tab svg:nth-of-type(2) {
    display:block !important
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.comb-tab:hover:after {
    background:#41545b
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.comb-tab.active {
    border-radius:0 15px 0 0
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.comb-tab.active:after {
    display:none
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.comb-tab.active svg:first-of-type {
    display:block !important
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.comb-tab.active svg:nth-of-type(2) {
    display:none !important
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.grad-tab:before,
.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.grad-tab:after {
    content:'';
    position:absolute;
    top:0;
    height:100%;
    width:20px;
    left:-20px;
    background:#000
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.grad-tab:after {
    left:auto;
    right:0;
    background:#000;
    background:-moz-linear-gradient(left,#000 0%,#41545b 100%);
    background:-webkit-linear-gradient(left,#000 0%,#41545b 100%);
    background:linear-gradient(to right,#000 0%,#41545b 100%)
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.grad-tab:hover:before,
.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.grad-tab:hover:after {
    background:#41545b
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.grad-tab.active {
    border-radius:15px 0 0 0
}

.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.grad-tab.active:before,
.palette-color .sample-color-tabs .flexline:not(.three-tabs) .sample-tabs.grad-tab.active:after {
    display:none
}

.palette-color .sample-color-tabs .sample-tab-combination {
    display:block;
    padding-top:25px
}

@media (max-width:540px) {
    .palette-color .sample-color-tabs .sample-tab-combination {
        padding-top:10px
    }

}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample {
    position:relative;
    text-align:center
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .combinations-row {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(90px,1fr));
    gap:20px 10px
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination {
    height:55px;
    width:100%
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination .container-sample {
    position:relative;
    height:calc(55px - 2px);
    width:calc(100% - 2px);
    border-radius:6px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.3);
    cursor:pointer;
    box-shadow:0 0 5px rgba(0,0,0,0.3)
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination .container-sample img {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:2;
    width:34px !important;
    object-fit:cover;
    display:none !important
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination .container-sample:before {
    content:'';
    width:34px;
    height:28px;
    display:block;
    opacity:0;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-40%,-50%);
    z-index:999;
    background-size:contain;
    background-repeat:no-repeat;
    background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_1845_9367)'%3E%3Cpath d='M14.19 6.17997L13.36 7.00997C13.11 7.25997 13.11 7.67997 13.36 7.92997C13.49 8.05997 13.65 8.11997 13.82 8.11997C13.99 8.11997 14.15 8.05997 14.28 7.92997L16.08 6.12997C16.33 5.87997 16.33 5.45997 16.08 5.20997L14.21 3.33997C13.96 3.08997 13.54 3.08997 13.29 3.33997C13.04 3.58997 13.04 4.00997 13.29 4.25997L13.93 4.89997C12.57 4.93997 10.01 5.48997 7.83997 8.66997C5.24997 12.45 2.49997 12.55 2.36997 12.55C2.00997 12.55 1.71997 12.84 1.71997 13.2C1.71997 13.56 2.00997 13.85 2.36997 13.85C2.50997 13.85 5.90997 13.8 8.90997 9.40997C10.92 6.46997 13.23 6.17997 14.18 6.19997L14.19 6.17997Z' fill='white'/%3E%3Cpath d='M14.28 10.08C14.03 9.83 13.61 9.83 13.36 10.08C13.11 10.33 13.11 10.75 13.36 11L14.19 11.83C13.39 11.84 11.65 11.64 9.93001 9.87C9.89001 9.92 9.86001 9.96 9.82001 10.01C9.60001 10.34 9.37001 10.64 9.14001 10.93C10.97 12.73 12.83 13.09 13.93 13.12L13.29 13.76C13.04 14.01 13.04 14.43 13.29 14.68C13.42 14.81 13.58 14.87 13.75 14.87C13.92 14.87 14.08 14.81 14.21 14.68L16.08 12.81C16.33 12.56 16.33 12.14 16.08 11.89L14.28 10.09V10.08Z' fill='white'/%3E%3Cpath d='M2.36998 5.47004C2.46998 5.47004 4.60998 5.54004 6.87998 8.10004C6.89998 8.07004 6.91998 8.05004 6.93998 8.02004C7.17998 7.67004 7.42998 7.35004 7.67998 7.05004C5.04998 4.21004 2.49998 4.17004 2.37998 4.17004C2.01998 4.17004 1.73998 4.46004 1.72998 4.82004C1.71998 5.18004 2.01998 5.47004 2.36998 5.47004Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_1845_9367' x='1.11997' y='3.15247' width='15.7475' height='13.3175' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='1'/%3E%3CfeGaussianBlur stdDeviation='0.3'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_1845_9367'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_1845_9367' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A")
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination .container-sample span {
    width:calc(100% / 2);
    height:100%;
    float:left;
    cursor:pointer
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination .container-sample:hover:before {
    opacity:1
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination .container-sample .square-sample {
    display:none !important
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination:hover .container-sample {
    border:1px solid #fff
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination.sampleTres {
    width:135px
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination.sampleTres .container-sample span {
    width:calc(100% / 3)
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination.sampleCuatro {
    width:180px
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination.sampleCuatro .container-sample span {
    width:calc(100% / 4)
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination.sampleCinco {
    width:225px
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination.sampleCinco .container-sample span {
    width:calc(100% / 5)
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination.sampleSeis {
    width:270px
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample .container-combination.sampleSeis .container-sample span {
    width:calc(100% / 6)
}

.palette-color .sample-color-tabs .sample-tab-combination .combination-sample#sugenrenciascolores + .combination-sample {
    margin:20px 0 0 0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(90px,1fr));
    gap:20px 10px
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample {
    text-align:center
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .title input {
    background:#c3c7c9 !important
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .title input:before {
    border-color:#15b7b5
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .grid-gradient {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr));
    gap:15px
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .container-gradient {
    position:relative;
    text-align:center;
    width:62px;
    height:122px;
    display:inline-block;
    margin:0;
    border-radius:2px;
    cursor:pointer;
    border:1px solid #fff;
    box-shadow:0 0 5px rgba(0,0,0,0.3);
    border-radius:6px
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .container-gradient:before,
.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .container-gradient:after {
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%)
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .container-gradient:after {
    display:none;
    height:16px;
    width:16px;
    z-index:2;
    background-repeat:no-repeat;
    background-size:contain;
    background-image:url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 20.13 21.13'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;%7D.cls-2%7Bopacity:0.25;%7D.cls-3%7Bclip-path:url(%23clip-path);%7D.cls-4%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='clip-path'%3E%3Crect class='cls-1' x='0.7' y='1.72' width='18.85' height='18.84'/%3E%3C/clipPath%3E%3C/defs%3E%3Ctitle%3Ereload0%3C/title%3E%3Cg class='cls-2'%3E%3Cg class='cls-3'%3E%3Cpath d='M10.12,20.56A9.44,9.44,0,0,1,.7,11.14,9.44,9.44,0,0,1,14.51,2.79a9.93,9.93,0,0,1,2.1,1.51v-1a.7.7,0,0,1,.7-.7.7.7,0,0,1,.71.7V6.2a.7.7,0,0,1-.71.71H14.4a.7.7,0,0,1,0-1.4h1.42a7.92,7.92,0,0,0-2-1.47,8.16,8.16,0,0,0-3.73-.91,8,8,0,0,0-8,8,8,8,0,0,0,16,0,.7.7,0,0,1,.7-.71.71.71,0,0,1,.71.71,9.42,9.42,0,0,1-9.43,9.42'/%3E%3C/g%3E%3C/g%3E%3Cpath class='cls-4' d='M10.12,19.56A9.44,9.44,0,0,1,.7,10.14,9.44,9.44,0,0,1,14.51,1.79a9.93,9.93,0,0,1,2.1,1.51v-1a.7.7,0,0,1,.7-.7.7.7,0,0,1,.71.7V5.2a.7.7,0,0,1-.71.71H14.4a.7.7,0,0,1,0-1.4h1.42a7.92,7.92,0,0,0-2-1.47,8.16,8.16,0,0,0-3.73-.91,8,8,0,0,0-8,8,8,8,0,0,0,16,0,.7.7,0,0,1,.7-.71.71.71,0,0,1,.71.71,9.42,9.42,0,0,1-9.43,9.42'/%3E%3C/svg%3E")
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .container-gradient:before {
    width:117%;
    height:107%;
    border-radius:10px;
    z-index:0;
    border:2px solid #00a4a6;
    display:none
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .container-gradient img {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:2;
    width:30% !important;
    object-fit:cover;
    display:none
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .container-gradient:hover:after {
    display:block
}

.palette-color .sample-color-tabs .sample-tab-combination .gradient-sample .container-gradient.active:before {
    display:none
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .title + .box-backround {
    padding:0
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .box-backround .row #document_colors_pal {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(48px,1fr));
    gap:20px 10px;
    overflow:visible
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .box-backround .row #document_colors_pal div {
    margin:0;
    overflow:visible;
    width:55px
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .box-backround .row #document_colors_pal div button {
    float:none;
    height:calc(55px - 2px);
    width:calc(55px - 2px);
    border:1px solid #fff;
    padding:0;
    margin:0;
    border-radius:5px;
    box-shadow:0 0 6px rgba(0,0,0,0.3)
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .box-backround .row #document_colors_pal div.title-section-colors {
    grid-column:1/-1;
    font-size:13px;
    color:rgba(0,0,0,0.6);
    font-weight:600;
    width:100%
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .box-backround .row #document_colors_pal div.color-group:empty {
    display:none
}

.palette-color .sample-color-tabs .video-gif {
    width:100%;
    max-width:379px;
    aspect-ratio:298/170;
    margin:25px auto;
    position:relative;
    overflow:hidden;
    border-radius:5px
}

.palette-color .sample-color-tabs .video-gif video {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}

.palette-color .sample-color,
.palette-color .sample-color-tabs,
.palette-color .row {
    display:block
}

.palette-color .sample-color .title,
.palette-color .sample-color-tabs .title,
.palette-color .row .title {
    color:#000;
    font-size:16px;
    text-align:left;
    display:block;
    margin-bottom:25px;
    font-weight:500
}

.palette-color .sample-color .border-content-color,
.palette-color .sample-color-tabs .border-content-color,
.palette-color .row .border-content-color {
    border-radius:2px;
    overflow:hidden
}

.box-backround {
    padding-top:20px
}

.box-backround .row {
    padding:0;
    margin:0 0 25px
}

.box-backround .row span {
    font-size:12px;
    text-transform:uppercase;
    color:#000;
    margin-bottom:10px;
    margin-left:17px
}

.box-backround .row div {
    overflow:hidden;
    margin-bottom:15px;
    margin-left:6px
}

.box-backround .row div:last-of-type {
    margin:0
}

.box-backround .row div button {
    height:44px;
    width:44px;
    margin:5px;
    float:left;
    box-shadow:inset 1px 1px 0 rgba(0,0,0,0.05);
    -moz-box-shadow:inset 1px 1px 0 rgba(0,0,0,0.05),inset -1px -1px 0 rgba(0,0,0,0.05);
    -webkit-box-shadow:inset 1px 1px 0 rgba(0,0,0,0.05),inset -1px -1px 0 rgba(0,0,0,0.05)
}

.box-backround .row div button.more {
    background:#a1a1a1;
    font-size:20px;
    font-weight:300;
    text-align:center;
    color:#000
}

.box-backround .row div button:first-of-type,
.box-backround .row div button:last-of-type {
    border-radius:0;
    -moz-border-radius:0;
    -webbkit-border-radius:0
}

.box-backround .row.textureBox button {
    width:32.33%;
    height:120px;
    margin:0 .5% 1%;
    float:left
}

.box-backround .row.textureBox button img {
    width:100% !important;
    margin:0;
    height:100%
}

.box-backround .row span,
.box-backround .row div {
    display:block;
    width:100%
}

@media (max-width:980px) {
    .content-sub-cats .combination-sample.image-font img {
        margin-right:1% !important
    }

    .content-sub-cats .combination-sample.image-font img:nth-child(even) {
        margin-right:0 !important
    }

}

.gradient-sample .title-section {
    margin-top:20px;
    display:block
}

.gradient-sample #button_select_categories {
    margin:15px auto 5px
}

.gradient-sample .selectField-myDesigns:before {
    border-color:#fff
}

.gradient-sample .instruction {
    font-size:12px;
    line-height:15px;
    display:block;
    margin:10px 0
}

.gradient-sample label {
    font-size:12px;
    color:#000;
    display:flex;
    alig-items:center;
    margin-bottom:10px;
    width:100%;
    cursor:pointer
}

.gradient-sample label input {
    margin-left:0
}

.filas.aicolors-flex {
    margin:15px auto;
    padding:6px 14px;
    box-sizing:border-box;
    display:flex;
    border-radius:12px;
    display:flex;
    align-items:center;
    box-sizing:border-box;
    justify-content:flex-start;
    position:relative;
    font-weight:600;
    color:#000;
    font-size:14px;
    cursor:pointer;
    background:#f4f4f7;
    height:52px
}

.filas.aicolors-flex:before {
    content:'';
    display:block;
    height:20px;
    width:20px;
    margin:0 14px 0 0;
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    background-image:url("data:image/svg+xml,%3Csvg width='39' height='39' viewBox='0 0 39 39' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M37.7113 8.68175C33.9978 9.91958 32.7261 11.1913 31.4883 14.9048C31.3696 15.2439 30.8948 15.2439 30.7761 14.9048C29.5383 11.1913 28.2665 9.91958 24.5531 8.68175C24.2139 8.56306 24.2139 8.08827 24.5531 7.96958C28.2665 6.73175 29.5383 5.46001 30.7761 1.74654C30.8948 1.4074 31.3696 1.4074 31.4883 1.74654C32.7261 5.46001 33.9978 6.73175 37.7113 7.96958C38.0504 8.08827 38.0504 8.56306 37.7113 8.68175Z' fill='black'/%3E%3Cpath d='M26.4352 36.0157H12.5648C7.27437 36.0157 2.98438 31.7257 2.98438 26.4352V12.5648C2.98438 7.27437 7.27437 2.98438 12.5648 2.98438H25.9265C26.537 2.98438 27.0287 3.47611 27.0287 4.08655C27.0287 4.69698 26.537 5.18872 25.9265 5.18872H12.5648C8.49524 5.18872 5.18872 8.49524 5.18872 12.5648V26.4352C5.18872 30.5048 8.49524 33.8113 12.5648 33.8113H26.4352C30.5048 33.8113 33.8113 30.5048 33.8113 26.4352V15.0405C33.8113 14.43 34.3031 13.9383 34.9135 13.9383C35.5239 13.9383 36.0157 14.43 36.0157 15.0405V26.4352C36.0157 31.7257 31.7087 36.0157 26.4352 36.0157Z' fill='black'/%3E%3Cpath d='M15.0574 27.9611C13.0056 28.6394 12.3274 29.3176 11.6491 31.3694C11.5982 31.522 11.3778 31.522 11.3269 31.3694C10.6487 29.3176 9.97039 28.6394 7.91866 27.9611C7.76605 27.9102 7.76605 27.6898 7.91866 27.6389C9.97039 26.9607 10.6487 26.2824 11.3269 24.2307C11.3778 24.0781 11.5982 24.0781 11.6491 24.2307C12.3274 26.2824 13.0056 26.9607 15.0574 27.6389C15.21 27.6898 15.21 27.9102 15.0574 27.9611Z' fill='black'/%3E%3Cpath d='M19.1948 11.1912C22.247 11.1912 24.9431 12.5646 26.5878 14.9386C28.3513 17.4651 28.6905 20.7038 27.5374 23.8068C26.7913 25.7907 24.96 27.7916 22.8574 27.7916C22.3826 27.7916 21.8909 27.6899 21.3991 27.4694C21.06 27.3168 20.5852 27.1133 20.5852 25.6551C20.5852 25.4516 20.6022 25.2481 20.6361 25.0107C20.7378 23.8746 20.9244 21.9925 19.517 20.5342C18.5844 19.5846 17.55 19.1268 16.3122 19.1268C15.21 19.1268 14.057 19.4829 12.1918 20.212C12.0561 20.2629 11.9035 20.2968 11.7678 20.2968C11.1574 20.2968 11.0218 19.839 10.9709 19.6694C10.4113 17.8042 11.3439 15.4303 12.5478 14.0399C13.9213 12.4629 16.3631 11.3268 18.6183 11.1912C18.8218 11.1912 19.0083 11.1912 19.1948 11.1912ZM19.1948 8.98682C18.9574 8.98682 18.737 8.98682 18.4996 9.00377C15.7187 9.15638 12.7174 10.4959 10.8861 12.5986C9.19045 14.5316 8.05437 17.6516 8.85132 20.3138C9.29219 21.8059 10.5131 22.5012 11.7678 22.5012C12.1748 22.5012 12.5987 22.4164 12.9887 22.2807C14.5318 21.6873 15.5322 21.3481 16.3122 21.3481C16.9565 21.3481 17.4313 21.5855 17.94 22.0942C18.8557 23.0438 18.3978 24.5699 18.3978 25.6551C18.3978 27.1133 18.7539 28.7072 20.5174 29.4872C21.3144 29.8433 22.0944 29.9959 22.8574 29.9959C25.9096 29.9959 28.5378 27.4355 29.6061 24.5699C32.4887 16.8546 27.3678 8.98682 19.1948 8.98682Z' fill='black'/%3E%3Cpath d='M17.5331 15.1082C18.4321 15.1082 19.1609 14.3794 19.1609 13.4804C19.1609 12.5813 18.4321 11.8525 17.5331 11.8525C16.6341 11.8525 15.9053 12.5813 15.9053 13.4804C15.9053 14.3794 16.6341 15.1082 17.5331 15.1082Z' fill='black'/%3E%3Cpath d='M21.9757 15.5491C22.8748 15.5491 23.6036 14.8203 23.6036 13.9213C23.6036 13.0223 22.8748 12.2935 21.9757 12.2935C21.0767 12.2935 20.3479 13.0223 20.3479 13.9213C20.3479 14.8203 21.0767 15.5491 21.9757 15.5491Z' fill='black'/%3E%3Cpath d='M25.2313 18.5164C26.1304 18.5164 26.8592 17.7876 26.8592 16.8886C26.8592 15.9895 26.1304 15.2607 25.2313 15.2607C24.3323 15.2607 23.6035 15.9895 23.6035 16.8886C23.6035 17.7876 24.3323 18.5164 25.2313 18.5164Z' fill='black'/%3E%3Cpath d='M25.9096 22.908C26.8086 22.908 27.5374 22.1792 27.5374 21.2802C27.5374 20.3811 26.8086 19.6523 25.9096 19.6523C25.0105 19.6523 24.2817 20.3811 24.2817 21.2802C24.2817 22.1792 25.0105 22.908 25.9096 22.908Z' fill='black'/%3E%3C/svg%3E%0A")
}

.filas.aicolors-flex:hover {
    background:#f6f5fe
}

.colors-sample .aicolors-flex {
    margin-bottom:0
}

.sampleText .filas.aicolors-flex:before {
    background-image:url("data:image/svg+xml,%3Csvg width='39' height='39' viewBox='0 0 39 39' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M37.7113 8.68175C33.9978 9.91958 32.7261 11.1913 31.4883 14.9048C31.3696 15.2439 30.8948 15.2439 30.7761 14.9048C29.5383 11.1913 28.2665 9.91958 24.5531 8.68175C24.2139 8.56306 24.2139 8.08827 24.5531 7.96958C28.2665 6.73175 29.5383 5.46001 30.7761 1.74654C30.8948 1.4074 31.3696 1.4074 31.4883 1.74654C32.7261 5.46001 33.9978 6.73175 37.7113 7.96958C38.0504 8.08827 38.0504 8.56306 37.7113 8.68175Z' fill='black'/%3E%3Cpath d='M26.4352 36.0157H12.5648C7.27437 36.0157 2.98438 31.7257 2.98438 26.4352V12.5648C2.98438 7.27437 7.27437 2.98438 12.5648 2.98438H25.9265C26.537 2.98438 27.0287 3.47611 27.0287 4.08655C27.0287 4.69698 26.537 5.18872 25.9265 5.18872H12.5648C8.49524 5.18872 5.18872 8.49524 5.18872 12.5648V26.4352C5.18872 30.5048 8.49524 33.8113 12.5648 33.8113H26.4352C30.5048 33.8113 33.8113 30.5048 33.8113 26.4352V15.0405C33.8113 14.43 34.3031 13.9383 34.9135 13.9383C35.5239 13.9383 36.0157 14.43 36.0157 15.0405V26.4352C36.0157 31.7257 31.7087 36.0157 26.4352 36.0157Z' fill='black'/%3E%3Cpath d='M15.0574 27.9611C13.0056 28.6394 12.3274 29.3176 11.6491 31.3694C11.5982 31.522 11.3778 31.522 11.3269 31.3694C10.6487 29.3176 9.97039 28.6394 7.91866 27.9611C7.76605 27.9102 7.76605 27.6898 7.91866 27.6389C9.97039 26.9607 10.6487 26.2824 11.3269 24.2307C11.3778 24.0781 11.5982 24.0781 11.6491 24.2307C12.3274 26.2824 13.0056 26.9607 15.0574 27.6389C15.21 27.6898 15.21 27.9102 15.0574 27.9611Z' fill='black'/%3E%3Cpath d='M25.9943 11.9033H13.0056C12.3952 11.9033 11.9034 12.3951 11.9034 13.0055V14.6164C11.9034 15.2268 12.3952 15.7185 13.0056 15.7185C13.6161 15.7185 14.1078 15.2268 14.1078 14.6164V14.1077H18.3978V24.892H16.8547C16.2443 24.892 15.7526 25.3838 15.7526 25.9942C15.7526 26.6046 16.2443 27.0964 16.8547 27.0964H22.1452C22.7556 27.0964 23.2474 26.6046 23.2474 25.9942C23.2474 25.3838 22.7556 24.892 22.1452 24.892H20.6021V14.1077H24.8921V14.6164C24.8921 15.2268 25.3839 15.7185 25.9943 15.7185C26.6047 15.7185 27.0965 15.2268 27.0965 14.6164V13.0055C27.0965 12.3951 26.6047 11.9033 25.9943 11.9033Z' fill='black'/%3E%3C/svg%3E%0A")
}

#teams .filas.aicolors-flex:before {
    height:26px;
    width:26px;
    margin:0 10px 0 5px;
    background-image:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Outline' xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 23 23'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Cg%3E%3Cpath d='M14.75,20.15h-6.5c-.36,0-.65-.29-.65-.65s.29-.65.65-.65h6.5c.36,0,.65.29.65.65s-.29.65-.65.65Z'/%3E%3Cpath d='M11.5,19.9c-.36,0-.65-.29-.65-.65V3.5c0-.36.29-.65.65-.65s.65.29.65.65v15.75c0,.36-.29.65-.65.65Z'/%3E%3Cpath d='M19.5,6.13c-.36,0-.65-.29-.65-.65v-1.33H4.15v1.33c0,.36-.29.65-.65.65s-.65-.29-.65-.65v-1.98c0-.36.29-.65.65-.65h16c.36,0,.65.29.65.65v1.98c0,.36-.29.65-.65.65Z'/%3E%3C/g%3E%3Crect class='cls-1' x='0' width='23' height='23'/%3E%3C/svg%3E")
}

#teams .filas.aicolors-flex span {
    font-size:15px;
    text-transform:capitalize
}

.square-sample {
    display:none !important
}

.wrapHeight #BrandKit .combination-sample:after {
    content:'';
    clear:both;
    width:100%;
    display:block;
    height:1px
}

.wrapHeight #BrandKit .container-combination {
    display:flex;
    justify-content:flex-start
}

.wrapHeight #BrandKit .container-combination .cambioColorPar {
    width:fit-content;
    width:-moz-fit-content;
    height:53px;
    box-sizing:border-box;
    margin:0 0 15px
}

.wrapHeight #BrandKit .container-combination .cambioColorPar span {
    flex:none;
    width:53px;
    height:53px
}

/* ── 2) Heredadas de brandkit-varios.css ──────────────────── */

.filas.aicolors-flex {
    cursor: pointer;
    transition: color .15s ease;
}

.filas.aicolors-flex:hover {
    color: #000;
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .box-backround .row #document_colors_pal div button {
    float: none;
    height: calc(43px - 2px)!important;
    width: calc(43px - 2px)!important;
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .box-backround .row #document_colors_pal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
    gap: 9px 2px !important;
    overflow: visible;
}

.palette-color .sample-color-tabs .sample-tab-combination .colors-sample .box-backround .row #document_colors_pal div.title-section-colors {

    font-size: 15px !important;
    font-weight: 600 !important;
    color: #000 !important;
}

.container-sample {
    position: relative;
    height: calc(55px - 2px);
    width: calc(100% - 2px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: flex;       /* ← clave: flex para repartir spans */
    flex-direction: row;
}

.container-sample span {
    display: block;
    height: 100%;
    flex: 1;             /* todos iguales por defecto */
    cursor: pointer;
}

.square-sample {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.15);
    display: inline-block;
    flex-shrink: 0;
}

.container-combination .container-sample {
    width: 55px;
}

.container-combination--3 .container-sample {
    width: 66px;
}

.container-combination--4 .container-sample {
    width: 77px;
}

.container-combination--5 .container-sample {
    width: 88px;
}

.container-sample:hover {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,0.4);
    transform: scale(1.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.combinations-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
}

/* ============================================================
   COLORES · panel nuevo (diseño "Colors Panel")
   Fondo, Colores del diseño y Combinaciones. Los ids #edcpRoot y
   #document_colors_pal dan la especificidad para ganar a las reglas
   heredadas de arriba sin tocarlas.
   ============================================================ */

.palette-color .edcp-panel-title {
    margin: 0 0 14px;
    padding-top: 20px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: #17172b;
    text-align: left;
}

/* ── Pestañas Sólidos / Degradados: control segmentado ─────── */

.palette-color .sample-color-tabs .flexline.three-tabs.edcp-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    height: 36px;
    margin: 0 0 20px;
    padding: 3px;
    border-radius: 10px;
    background: #f1f1f6;
}

.palette-color .sample-color-tabs .flexline.three-tabs.edcp-tabs .hover-green {
    display: none;
}

.palette-color .sample-color-tabs .flexline.three-tabs.edcp-tabs .sample-tabs {
    width: auto;
    height: auto;
    border-radius: 8px;
    background: transparent;
    transition: background .15s, box-shadow .15s;
}

.palette-color .sample-color-tabs .flexline.three-tabs.edcp-tabs .sample-tabs span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
}

.palette-color .sample-color-tabs .flexline.three-tabs.edcp-tabs .sample-tabs:hover span {
    color: #17172b;
}

.palette-color .sample-color-tabs .flexline.three-tabs.edcp-tabs .sample-tabs.active {
    background: #fff;
    box-shadow: 0 1px 2px rgba(23, 23, 43, .1);
}

.palette-color .sample-color-tabs .flexline.three-tabs.edcp-tabs .sample-tabs.active span {
    font-weight: 700;
    color: #17172b;
}

/* ── Raiz ──────────────────────────────────────────────────── */

#edcpRoot,
#edcpRoot * {
    box-sizing: border-box;
}

#edcpRoot {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 0 0 28px;
    text-align: left;
}

#edcpRoot #document_colors_pal,
#edcpRoot .edcp-wrap {
    display: flex;
    flex-direction: column;
    gap: 26px;
    width: 100%;
    margin: 0;
    padding: 0;
}

#edcpRoot .edcp-divider {
    height: 1px;
    flex: none;
    background: #f0eff5;
}

#edcpRoot .edcp-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#edcpRoot .edcp-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

#edcpRoot .edcp-head--center {
    align-items: center;
}

#edcpRoot .edcp-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #17172b;
}

#edcpRoot .edcp-meta {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #8a899c;
    font-variant-numeric: tabular-nums;
}

#edcpRoot .edcp-sub {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    color: #6b6a80;
}

/* Botones: el editor tiene reglas globales de button con mucho peso */
#edcpRoot button {
    float: none !important;
    margin: 0 !important;
    padding: 0;
    border: 0;
    min-width: 0 !important;
    font-family: inherit;
    cursor: pointer;
}

/* ── Colores rapidos (Fondo y editor) ──────────────────────── */

#edcpRoot .edcp-quick {
    display: grid;
    grid-template-columns: repeat(7, 36px);
    gap: 8px 6px;
    padding: 2px;
}

#edcpRoot .edcp-q,
#edcpRoot .edcp-plus {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}

#edcpRoot .edcp-q {
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
    transition: transform .12s;
}

#edcpRoot .edcp-q:hover {
    transform: scale(1.08);
}

#edcpRoot .edcp-q.is-on {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3533AD, inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
}

#edcpRoot .edcp-plus {
    position: relative;
    border: 1.5px dashed #c9c8dc !important;
    background: #fff !important;
    transition: border-color .15s;
}

#edcpRoot .edcp-plus::before {
    content: "+";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: #3533AD;
}

#edcpRoot .edcp-plus:hover {
    border-color: #3533AD !important;
}

/* ── Colores del diseño ────────────────────────────────────── */

#edcpRoot .edcp-grid {
    display: grid;
    grid-template-columns: repeat(7, 36px);
    gap: 10px 6px;
    padding: 6px 2px 2px;
}

#edcpRoot .edcp-swatch {
    position: relative;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
    transition: transform .12s;
}

#edcpRoot .edcp-swatch:hover {
    transform: translateY(-1px);
}

#edcpRoot .edcp-swatch.edcp-is-selected {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3533AD, inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
}

#edcpRoot .edcp-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 0 0 1px #e3e2ec, 0 1px 3px rgba(23, 23, 43, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #17172b;
}

/* ── Editor de un color ────────────────────────────────────── */

#edcpRoot #edcpPanel:empty {
    display: none;
}

#edcpRoot .edcp-editor {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #ececf2;
    box-shadow: 0 6px 18px rgba(23, 23, 43, .06);
    background: #fff;
}

#edcpRoot .edcp-editor-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

#edcpRoot .edcp-editor-from {
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .12);
}

#edcpRoot .edcp-editor-txt {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#edcpRoot .edcp-editor-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    color: #17172b;
}

#edcpRoot .edcp-editor-sub {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    color: #8a899c;
}

#edcpRoot .edcp-close {
    position: relative;
    width: 28px !important;
    height: 28px !important;
    flex: none;
    border-radius: 7px;
    background: transparent;
}

#edcpRoot .edcp-close::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%236b6a80' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='m4 4 8 8M12 4l-8 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

#edcpRoot .edcp-close:hover {
    background: #f1f1f6;
}

/* Alcance: Todo el diseño / Objeto (pastillas con el color de cada uno,
   mismo estilo que "Aplicar a" de Degradados) */
#edcpRoot .edcp-scope {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

#edcpRoot .edcp-scope-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px !important;
    padding: 0 10px 0 5px !important;
    border-radius: 999px !important;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e3e2ec;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #353350;
    white-space: nowrap;
    transition: background .15s, box-shadow .15s, color .15s;
}

#edcpRoot .edcp-scope-btn:hover {
    box-shadow: inset 0 0 0 1.5px #3533AD;
}

#edcpRoot .edcp-scope-btn.is-on {
    background: #eeeefb;
    box-shadow: inset 0 0 0 1.5px #3533AD;
    color: #3533AD;
}

#edcpRoot .edcp-scope-dot {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .15);
}

/* ── Combinaciones ─────────────────────────────────────────── */

#edcpRoot .edcp-surprise {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    margin: 0 -6px 0 0 !important;
    padding: 0 10px 0 8px;
    border-radius: 8px;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #3533AD;
    white-space: nowrap;
    transition: background .15s;
}

#edcpRoot .edcp-surprise:hover {
    background: #eeeefb;
}

/* Filtros: Todas, 2, 3, 4, 5 */
#edcpRoot .edcp-filters {
    display: grid;
    grid-template-columns: auto repeat(4, minmax(0, 1fr));
    gap: 6px;
}

#edcpRoot .edcp-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 34px;
    padding: 0 10px;
    border-radius: 9px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e3e2ec;
    transition: background .12s;
}

#edcpRoot .edcp-filter:hover {
    background: #f4f4f8;
}

#edcpRoot .edcp-filter.is-active {
    background: #eeeefb;
    box-shadow: inset 0 0 0 1.5px #3533AD;
}

#edcpRoot .edcp-filter-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: #353350;
}

#edcpRoot .edcp-filter.is-active .edcp-filter-label {
    font-weight: 700;
    color: #3533AD;
}

/* Mini barra con tantas franjas como colores */
#edcpRoot .edcp-filter-bar {
    display: flex;
    flex: none;
    width: 22px;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(23, 23, 43, .08);
}

#edcpRoot .edcp-filter-bar i {
    flex: 1 1 0;
    display: block;
}

#edcpRoot .edcp-filter-bar i:nth-child(1) { background: #6b6a80; }
#edcpRoot .edcp-filter-bar i:nth-child(2) { background: #9a99ad; }
#edcpRoot .edcp-filter-bar i:nth-child(3) { background: #c4c3d2; }
#edcpRoot .edcp-filter-bar i:nth-child(4) { background: #dddce6; }
#edcpRoot .edcp-filter-bar i:nth-child(5) { background: #ececf2; }

#edcpRoot .edcp-filter.is-active .edcp-filter-bar {
    box-shadow: 0 0 0 1px rgba(53, 51, 173, .25);
}

#edcpRoot .edcp-filter.is-active .edcp-filter-bar i:nth-child(1) { background: #3533AD; }
#edcpRoot .edcp-filter.is-active .edcp-filter-bar i:nth-child(2) { background: #6f6ce0; }
#edcpRoot .edcp-filter.is-active .edcp-filter-bar i:nth-child(3) { background: #a5a2ff; }
#edcpRoot .edcp-filter.is-active .edcp-filter-bar i:nth-child(4) { background: #cfcdff; }
#edcpRoot .edcp-filter.is-active .edcp-filter-bar i:nth-child(5) { background: #e6e5ff; }

/* Grupos */
#edcpRoot .edcp-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#edcpRoot .edcp-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#edcpRoot .edcp-group.is-hidden,
#edcpRoot .edcp-group.is-empty,
#edcpRoot .edcp-group:empty {
    display: none;
}

#edcpRoot .edcp-group-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

#edcpRoot .edcp-group-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
}

#edcpRoot .edcp-group-line {
    flex: 1;
    height: 1px;
    background: #f0eff5;
}

#edcpRoot .edcp-group-count {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    color: #a3a2b5;
}

/* Pastillas */
#edcpRoot .edcp-combo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    padding: 2px 4px;
}

#edcpRoot .edcp-combo {
    position: relative;
    display: flex;
    width: 100% !important;
    height: 36px !important;
    border-radius: 999px !important;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(23, 23, 43, .1) !important;
    transition: transform .12s;
}

#edcpRoot .edcp-combo:hover {
    transform: translateY(-1px);
}

#edcpRoot .edcp-combo i {
    flex: 1 1 0;
    min-width: 0;
    display: block;
}

#edcpRoot .edcp-combo.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3533AD !important;
}

/* Check blanco con trazo indigo */
#edcpRoot .edcp-combo.is-active::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%233533AD' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
    box-shadow: 0 1px 4px rgba(23, 23, 43, .25);
}

#edcpRoot .edcp-combo-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100% !important;
    height: 36px !important;
    border-radius: 999px !important;
    border: 1.5px dashed #c9c8dc !important;
    background: transparent !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
    transition: border-color .15s, color .15s;
}

#edcpRoot .edcp-combo-new:hover {
    border-color: #3533AD !important;
    color: #3533AD;
}

/* ── Degradados ────────────────────────────────────────────── */

#edcpGradRoot,
#edcpGradRoot * {
    box-sizing: border-box;
}

#edcpGradRoot {
    padding: 0 0 28px;
    text-align: left;
}

#edcpGradRoot button {
    float: none !important;
    margin: 0 !important;
    padding: 0;
    border: 0;
    min-width: 0 !important;
    font-family: inherit;
    cursor: pointer;
}

#edcpGradRoot .edcp-gwrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#edcpGradRoot .edcp-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#edcpGradRoot .edcp-sub {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    color: #6b6a80;
}

/* Fondo / Selección (mismo control segmentado que el editor de color) */
#edcpGradRoot .edcp-scope {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    height: 34px;
    padding: 3px;
    border-radius: 9px;
    background: #f1f1f6;
}

#edcpGradRoot .edcp-scope-btn {
    border-radius: 7px;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
    transition: background .15s, box-shadow .15s;
}

#edcpGradRoot .edcp-scope-btn.is-on {
    background: #fff;
    box-shadow: 0 1px 2px rgba(23, 23, 43, .1);
    color: #17172b;
}

#edcpGradRoot .edcp-scope-btn:disabled {
    color: #b4b3c4;
    cursor: not-allowed;
}

/* Tarjeta */
#edcpGradRoot .edcp-gcard {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #ececf2;
    background: #fff;
}

#edcpGradRoot .edcp-gpreview {
    height: 64px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .08);
    cursor: pointer;
    transition: box-shadow .15s;
}

#edcpGradRoot .edcp-gpreview:hover {
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .08), 0 0 0 2px #fff, 0 0 0 4px #3533AD;
}

#edcpGradRoot .edcp-gstops {
    display: flex;
    align-items: center;
    gap: 8px;
}

#edcpGradRoot .edcp-gstop {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 10px 0 6px;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e3e2ec;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .15s;
}

#edcpGradRoot .edcp-gstop:hover {
    background: #f7f7fa;
}

#edcpGradRoot .edcp-gstop.is-on {
    box-shadow: inset 0 0 0 1.5px #3533AD;
}

#edcpGradRoot .edcp-gstop-dot {
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .12);
}

#edcpGradRoot .edcp-gstop-hex {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #17172b;
    font-variant-numeric: tabular-nums;
}

#edcpGradRoot .edcp-gswap {
    width: 32px !important;
    height: 32px !important;
    flex: none;
    border-radius: 8px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 18 18' fill='none' stroke='%23353350' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11l-3-3M15 12H4l3 3'/%3E%3C/svg%3E") center / 16px no-repeat;
}

#edcpGradRoot .edcp-gswap:hover {
    background-color: #f1f1f6;
}

/* Colores rapidos del extremo abierto */
#edcpGradRoot .edcp-quick {
    display: grid;
    grid-template-columns: repeat(7, 36px);
    gap: 8px 6px;
    padding: 2px;
}

#edcpGradRoot .edcp-q,
#edcpGradRoot .edcp-plus {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}

#edcpGradRoot .edcp-q {
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
    transition: transform .12s;
}

#edcpGradRoot .edcp-q:hover {
    transform: scale(1.08);
}

#edcpGradRoot .edcp-q.is-on {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3533AD, inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
}

#edcpGradRoot .edcp-plus {
    position: relative;
    border: 1.5px dashed #c9c8dc !important;
    background: #fff !important;
}

#edcpGradRoot .edcp-plus::before {
    content: "+";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    color: #3533AD;
}

#edcpGradRoot .edcp-plus:hover {
    border-color: #3533AD !important;
}

/* Direcciones */
#edcpGradRoot .edcp-gdirs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

#edcpGradRoot .edcp-gdir {
    height: 34px;
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e3e2ec;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s;
}

#edcpGradRoot .edcp-gdir:hover {
    background: #f4f4f8;
}

#edcpGradRoot .edcp-gdir.is-on {
    background: #eeeefb;
    box-shadow: inset 0 0 0 1.5px #3533AD;
}

#edcpGradRoot .edcp-gdir:disabled {
    opacity: .4;
    cursor: not-allowed;
}

#edcpGradRoot .edcp-gdir i {
    display: block;
    width: 16px;
    height: 16px;
    background-color: #353350;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v12M3.5 9.5 8 14l4.5-4.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v12M3.5 9.5 8 14l4.5-4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

#edcpGradRoot .edcp-gdir--radial i {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Ccircle cx='8' cy='8' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Ccircle cx='8' cy='8' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

#edcpGradRoot .edcp-gdir.is-on i {
    background-color: #3533AD;
}

#edcpGradRoot .edcp-gremove {
    align-self: flex-start;
    padding: 4px 0 !important;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
    transition: color .15s;
}

#edcpGradRoot .edcp-gremove:hover {
    color: #d0342c;
}

/* Grupos de degradados */
#edcpGradRoot .edcp-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#edcpGradRoot .edcp-group-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

#edcpGradRoot .edcp-group-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
}

#edcpGradRoot .edcp-group-line {
    flex: 1;
    height: 1px;
    background: #f0eff5;
}

#edcpGradRoot .edcp-gpresets {
    display: grid;
    /* tantas columnas como quepan, repartidas hasta el final de la fila */
    grid-template-columns: repeat(auto-fill, 36px);
    justify-content: space-between;
    gap: 8px 6px;
    padding: 5px;   /* sitio para el anillo del seleccionado */
}

#edcpGradRoot .edcp-gpreset {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
    transition: transform .12s;
}

#edcpGradRoot .edcp-gpreset:hover {
    transform: scale(1.08);
}

#edcpGradRoot .edcp-gpreset.is-on {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3533AD, inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
}

/* "Aplicar a" Fondo / Objeto: pastillas con el color actual de cada destino.
   Sin seleccion solo se ve Fondo y una linea de ayuda debajo */
#edcpGradRoot .edcp-gtarget {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

#edcpGradRoot .edcp-gtarget-label {
    flex: none;
    margin-right: 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
}

#edcpGradRoot .edcp-gt-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 30px !important;
    padding: 0 12px 0 6px !important;
    border-radius: 999px !important;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e3e2ec;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #353350;
    white-space: nowrap;
    transition: background .15s, box-shadow .15s, color .15s;
}

#edcpGradRoot .edcp-gt-btn:hover {
    box-shadow: inset 0 0 0 1.5px #3533AD;
}

#edcpGradRoot .edcp-gt-btn.is-on {
    background: #eeeefb;
    box-shadow: inset 0 0 0 1.5px #3533AD;
    color: #3533AD;
}

#edcpGradRoot .edcp-gt-dot {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .15);
}

#edcpGradRoot .edcp-gt-hint {
    flex-basis: 100%;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #8a899c;
}

/* ============================================================
   SELECTOR DE COLOR (Spectrum) — mismo lenguaje que el panel:
   círculos de 36px, 7 por fila, grupos con título
   (Colores del diseño · Kit de marca · Colores) y botón
   "Color personalizado". Afecta a todos los Spectrum del editor.
   ============================================================ */

body .sp-container .sp-palette {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: auto !important;
    max-width: none !important;
}

body .sp-container .sp-palette .sp-palette-row {
    display: grid !important;
    grid-template-columns: repeat(7, 36px);
    gap: 8px 6px;
    padding: 5px;   /* sitio para el anillo del color elegido (4px) */
}

/* "Recientes" de Spectrum: fuera, el diseño no los lleva */
body .sp-container .sp-palette .sp-palette-row-selection {
    display: none !important;
}

body .sp-container .sp-palette .sp-thumb-el {
    display: block !important;
    float: none !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
    cursor: pointer;
    transition: transform .12s;
}

body .sp-container .sp-palette .sp-thumb-el:hover {
    transform: scale(1.08);
}

body .sp-container .sp-palette .sp-thumb-el .sp-thumb-inner {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* El borde fino va en el interior: el color lo tapaba en el contenedor
       y los colores claros se perdían sobre el blanco */
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .14);
}

body .sp-container .sp-palette .sp-thumb-el.sp-thumb-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3533AD, inset 0 0 0 1px rgba(23, 23, 43, .12) !important;
    overflow: visible;
}

/* Sin check: la seleccion se marca con el anillo */
body .sp-container .sp-palette .sp-thumb-el.sp-thumb-active .sp-thumb-inner {
    background-image: none !important;
}

/* Titulos de grupo (los pone edcpSpDecorar) */
body .sp-container .sp-palette .edcp-sp-lbl {
    margin: 8px 0 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #6b6a80;
}

body .sp-container .sp-palette .edcp-sp-lbl:first-child {
    margin-top: 0;
}

/* Boton "Color personalizado" (lo añade addActivatePickerButton con estilos en linea) */
body .sp-container .sp-custom-toolbar {
    margin: 14px 0 0 !important;
}

body .sp-container #activatePicker {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    height: 40px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1.5px #3533AD;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #3533AD;
    cursor: pointer;
    transition: background .15s;
}

body .sp-container #activatePicker::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    background: conic-gradient(#f33, #fd3, #3d6, #3cf, #44f, #d3f, #f33);
}

body .sp-container #activatePicker:hover {
    background: #f5f5fd !important;
}

/* Botones de color de la barra de herramientas: circulos */
#div_color.swatch,
#div_color .swatch-fill,
.containerColorChnage > button {
    border-radius: 50% !important;
}

/* Círculo de color de la barra: mismo alto que el resto de botones
   (la fila mide 40px en escritorio y 32px en responsive) */
#div_color.swatch {
    flex: none;
    width: 36px !important;
    height: 36px !important;
    border: 0 !important;
    box-sizing: border-box;
    cursor: pointer;
}

#div_color .swatch-fill {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 43, .15);
}

@media (max-width: 699px) {
    #div_color.swatch {
        width: 30px !important;
        height: 30px !important;
    }
}

/* Botones Cancelar / Aplicar del color personalizado (como el diseño:
   Cancelar gris, Aplicar índigo) */
body .sp-container .sp-button-container .sp-cancel,
body .sp-container .sp-button-container .sp-choose {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: none;
    text-shadow: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

body .sp-container .sp-button-container .sp-cancel {
    background: #f1f1f6 !important;
    color: #17172b !important;
}

body .sp-container .sp-button-container .sp-cancel:hover {
    background: #e8e8f0 !important;
}

body .sp-container .sp-button-container .sp-choose {
    background: #3533AD !important;
    color: #fff !important;
}

body .sp-container .sp-button-container .sp-choose:hover {
    background: #2B2992 !important;
}

/* Botón "+" de la vista compacta (solo responsive) */
body .sp-container .edcp-sp-mas {
    display: none;
}

/* Responsive: vista compacta de 2 filas x 8 (15 colores + "+").
   display:contents saca los círculos de sus filas para que compartan
   una sola rejilla. El "+" despliega todos los colores con sus grupos
   y el botón "Color personalizado" (clase .edcp-sp-todo). */
@media (max-width: 699px) {
    /* En móvil el selector ocupa el ancho de la pantalla (10px a cada lado),
       crece con su contenido y la paleta se adapta a él: así nunca se sale */
    body .sp-container {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        box-sizing: border-box;
    }

    body .sp-container .sp-palette-container {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box;
    }

    body .sp-container .sp-palette {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 36px));
        justify-content: space-between;
        gap: 10px 6px;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        /* otra regla del editor le mete 60px abajo: era el hueco en blanco.
           5px alrededor: sitio para el anillo del color elegido */
        padding: 5px !important;
    }

    body .sp-container .sp-palette .sp-palette-row:not(.sp-palette-row-selection) {
        display: contents !important;
    }

    body .sp-container .sp-palette .sp-thumb-el {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1;
    }

    body .sp-container .sp-palette .edcp-sp-lbl,
    body .sp-container .sp-palette .edcp-sp-extra,
    body .sp-container .sp-custom-toolbar {
        display: none !important;
    }

    body .sp-container .edcp-sp-mas {
        position: relative;
        display: block;
        width: 100%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: conic-gradient(#f33, #fd3, #3d6, #3cf, #44f, #d3f, #f33);
        cursor: pointer;
    }

    body .sp-container .edcp-sp-mas::before {
        content: "+";
        position: absolute;
        inset: 22%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff;
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        color: #17172b;
    }

    /* Vista completa tras pulsar "+" */
    /* El scroll lo hace el contenedor de la paleta; el selector crece
       hasta 60vh y no se sale. El botón va en flujo (otra regla del
       editor lo pone en absolute y se montaba encima de los colores). */
    body .sp-container.edcp-sp-todo {
        height: auto !important;
        max-height: none !important;
    }

    body .sp-container.edcp-sp-todo .sp-palette-container {
        display: flex !important;
        flex-direction: column;
    }

    body .sp-container.edcp-sp-todo .sp-palette {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        height: auto !important;
        max-height: min(50vh, 360px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 0 !important;
    }

    body .sp-container.edcp-sp-todo .sp-custom-toolbar {
        position: sticky !important;
        top: 0;
        z-index: 2;
        order: -1;
        width: 100% !important;
        padding: 0 0 4px !important;
        background: #fff;
    }

    body .sp-container.edcp-sp-todo .sp-palette .sp-palette-row:not(.sp-palette-row-selection) {
        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 36px));
        justify-content: space-between;
        gap: 8px 6px;
        padding: 5px;
    }

    body .sp-container.edcp-sp-todo .sp-palette .edcp-sp-lbl,
    body .sp-container.edcp-sp-todo .sp-custom-toolbar {
        display: block !important;
    }

    body .sp-container.edcp-sp-todo .sp-palette .edcp-sp-extra {
        display: block !important;
    }

    body .sp-container.edcp-sp-todo .edcp-sp-mas {
        display: none;
    }

    body .sp-container.edcp-sp-todo .sp-custom-toolbar {
        margin: 0 0 12px !important;
    }

    /* Color personalizado en móvil: solo el selector, a todo el ancho
       (la paleta se oculta; el editor marca este modo con
       body.spectrum-picker-activo). Antes iban lado a lado y no cabían. */
    body.spectrum-picker-activo .sp-container {
        flex-direction: column !important;
    }

    body.spectrum-picker-activo .sp-container .sp-palette-container {
        display: none !important;
    }

    body.spectrum-picker-activo .sp-container .sp-picker-container {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 4px !important;      /* el editor le mete 300px abajo */
        border: 0 !important;
        box-sizing: border-box;
    }

    body.spectrum-picker-activo .sp-container .sp-input-container {
        float: none !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    body.spectrum-picker-activo .sp-container .sp-input-container input,
    body.spectrum-picker-activo .sp-container .sp-picker-container .sp-input-container input {
        width: 100% !important;
        box-sizing: border-box;
    }

    body.spectrum-picker-activo .sp-container .sp-button-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100% !important;
        float: none !important;
    }

    /* Texto más grande en móvil */
    body .sp-container .sp-button-container .sp-cancel,
    body .sp-container .sp-button-container .sp-choose {
        height: 44px !important;
        font-size: 15px !important;
    }
}



/* Botón "Paletas y degradados" del selector de color (Spectrum) */
.sp-container .edcp-sp-paletas { cursor: pointer; user-select: none; }

.sp-container .edcp-sp-paletas-mini {
    width: 28px; height: 16px; flex: none; border-radius: 999px; overflow: hidden;
    display: flex; box-shadow: 0 0 0 1.5px #fff;
}
.sp-container .edcp-sp-paletas-mini i { flex: 1; display: block; }
.sp-container .edcp-sp-paletas-mini i:nth-child(1) { background: #EF4444; }
.sp-container .edcp-sp-paletas-mini i:nth-child(2) { background: #FACC15; }
.sp-container .edcp-sp-paletas-mini i:nth-child(3) { background: #22C55E; }
.sp-container .edcp-sp-paletas-mini i:nth-child(4) { background: linear-gradient(#3B82F6, #A855F7); }

/* Desktop: fila bajo "Color personalizado" */
.sp-container .edcp-sp-paletas--fila {
    height: 40px; margin-top: 8px; padding: 0 10px 0 12px; border-radius: 10px;
    background: #f4f4f8; color: #17172b;
    display: flex; align-items: center; gap: 10px;
    font: 700 13px/1 'Plus Jakarta Sans', system-ui, sans-serif;
    transition: background .15s;
}
.sp-container .edcp-sp-paletas--fila:hover { background: #eeeefb; }
/* "Custom color" y "Paletas y degradados" en la misma fila, mismo tamaño y alineación */
.sp-container .sp-custom-toolbar {
    display: flex; align-items: stretch; gap: 4px;
    width: 100%; box-sizing: border-box;
    margin: 10px 0 0; padding: 0 2px !important;
}
/* Más alto para que quepan los botones de 40px (gana a .sp-container.sp-container) */
.sp-container.sp-container.sp-container .sp-palette-container { max-height: 296px !important; }
.sp-container .sp-custom-toolbar #activatePicker,
.sp-container .sp-custom-toolbar .edcp-sp-paletas--fila {
    box-sizing: border-box; height: 40px; margin: 0 !important;
    border-radius: 10px; border: 0;
    box-shadow: inset 0 0 0 1px #dcdbe6;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font: 700 13px/1 'Plus Jakarta Sans', system-ui, sans-serif;
    white-space: nowrap; overflow: hidden;
}
.sp-container .sp-custom-toolbar #activatePicker {
    width: auto !important; flex: 0 0 auto; padding: 0 8px !important; gap: 6px !important;
    font-size: 12px;
    background: #fff; color: #17172b;
}
.sp-container .sp-custom-toolbar #activatePicker:hover {
    background: #f5f5fd; color: #3533AD; box-shadow: inset 0 0 0 1.5px #3533AD;
}
.sp-container .sp-custom-toolbar .edcp-sp-paletas--fila {
    flex: 1 1 auto; min-width: 0; padding: 0 8px !important; gap: 6px !important;
    font-size: 12px;
    background: #fff; color: #17172b;
}
.sp-container .sp-custom-toolbar .edcp-sp-paletas-mini { width: 18px; height: 11px; }
.sp-container .sp-custom-toolbar .edcp-sp-paletas--fila:hover {
    background: #f5f5fd; color: #3533AD; box-shadow: inset 0 0 0 1.5px #3533AD;
}
.sp-container .sp-custom-toolbar .edcp-sp-paletas-mini { width: 22px; height: 13px; }
.sp-container .sp-custom-toolbar .edcp-sp-paletas--fila .edcp-sp-paletas-txt {
    flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sp-container .sp-custom-toolbar .edcp-sp-paletas--fila svg { display: none; }
.sp-container .edcp-sp-paletas--fila .edcp-sp-paletas-txt { flex: 1; text-align: left; }
.sp-container .edcp-sp-paletas--fila svg { color: #6b6a80; flex: none; }

/* El icono redondo solo en responsive */
.sp-container .edcp-sp-paletas--icono { display: none; }

@media (max-width: 768px) {
    .sp-container .edcp-sp-paletas--fila { display: none; }
    .sp-container .edcp-sp-paletas--icono {
        display: inline-flex; align-items: center; justify-content: center;
        width: 36px; height: 36px; border-radius: 50%; flex: none; vertical-align: middle;
        background: #f1f1f6; box-shadow: inset 0 0 0 1.5px #dcdbe6;
    }
    /* Con todos los colores desplegados ya se ve la fila completa */
    .sp-container.edcp-sp-todo .edcp-sp-paletas--icono { display: none; }
    .sp-container.edcp-sp-todo .edcp-sp-paletas--fila { display: flex; }
}