


.impulse-unfold {
    width: var(--unf-width, 100%);
    margin: 0 auto;
    align-self: center;
}
@media (max-width: 1024px) {
    .impulse-unfold { width: var(--unf-width-tab, var(--unf-width, 100%)); }
}
@media (max-width: 767px) {
    .impulse-unfold { width: var(--unf-width-mob, var(--unf-width-tab, var(--unf-width, 100%))); }
}




.impulse-acc-tiles {
    display: grid;
    grid-template-columns: repeat(var(--unf-cols, 3), 1fr);
    gap: var(--unf-gap, 16px);
}
@media (max-width: 1024px) {
    .impulse-acc-tiles {
        grid-template-columns: repeat(var(--unf-cols-tab, var(--unf-cols, 3)), 1fr);
    }
}
@media (max-width: 767px) {
    .impulse-acc-tiles {
        grid-template-columns: repeat(var(--unf-cols-mob, var(--unf-cols-tab, var(--unf-cols, 3))), 1fr);
    }
}

.impulse-acc-tile {
    position: relative;
    min-height: var(--unf-tile-h, 80px);
    background: var(--unf-content-bg, #fff);
    border: 1px solid var(--unf-border, #e0e0e0);
    border-radius: var(--unf-radius, 8px);
    overflow: hidden;
    display: grid;
    grid-template: 1fr / 1fr;
}

.impulse-acc-tile-front {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    box-sizing: border-box;
    text-align: center;
}

.impulse-acc-tiles[data-align-a="left"]  .impulse-acc-tile-front { align-items: flex-start !important; text-align: left  !important; }
.impulse-acc-tiles[data-align-a="right"] .impulse-acc-tile-front { align-items: flex-end   !important; text-align: right !important; }
.impulse-acc-tiles[data-align-b="left"]  .impulse-acc-tile-back,
.impulse-acc-tiles[data-align-b="left"]  .impulse-acc-tile-slide { align-items: flex-start !important; text-align: left  !important; }
.impulse-acc-tiles[data-align-b="right"] .impulse-acc-tile-back,
.impulse-acc-tiles[data-align-b="right"] .impulse-acc-tile-slide { align-items: flex-end   !important; text-align: right !important; }
.impulse-acc-tile-title {
    font-weight: 600;
    color: var(--unf-title, #1d2327);
    margin-bottom: 4px;
}
.impulse-acc-tile-num {
    font-size: 11px;
    opacity: 0.35;
    margin-bottom: 8px;
    color: var(--unf-title, #1d2327);
}

.impulse-acc-tiles[data-show-num="0"] .impulse-acc-tile-num { display: none !important; }


.impulse-acc-tiles[data-expand="zoom"] .impulse-acc-tiles-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.impulse-acc-tiles[data-expand="zoom"] .impulse-acc-tiles-overlay.active {
    display: block;
    opacity: 1;
}
.impulse-acc-tiles[data-expand="zoom"] .impulse-acc-tile-expanded {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(600px, 85vw);
    max-height: 80vh;
    background: var(--unf-content-bg, #fff);
    border-radius: var(--unf-radius, 8px);
    z-index: 9999;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease-in-out;
}
.impulse-acc-tiles[data-expand="zoom"] .impulse-acc-tile-expanded.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.impulse-acc-tile-expanded-header {
    padding: 24px 24px 12px;
    font-weight: 600;
    color: var(--unf-accent, #1d2327);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.impulse-acc-tile-expanded-body {
    padding: 0 24px 24px;
    color: var(--unf-content, #555);
    line-height: 1.7;
}
.impulse-acc-tile-close {
    width: 28px; height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--unf-title, #1d2327);
    opacity: 0.5;
    transition: opacity 0.2s;
}
.impulse-acc-tile-close:hover { opacity: 1; }


.impulse-acc-tiles[data-expand="flip"] .impulse-acc-tile {
    perspective: 800px;
    overflow: visible;
}
.impulse-acc-tiles[data-expand="flip"] .impulse-acc-tile-flipper {
    grid-area: 1 / 1;
    display: grid;
    grid-template: 1fr / 1fr;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.impulse-acc-tiles[data-expand="flip"] .impulse-acc-tile:hover .impulse-acc-tile-flipper {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}
.impulse-acc-tiles[data-expand="flip"] .impulse-acc-tile-front,
.impulse-acc-tiles[data-expand="flip"] .impulse-acc-tile-back {
    grid-area: 1 / 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-sizing: border-box;
    border-radius: var(--unf-radius, 8px);
    background: var(--unf-content-bg, #fff);
    border: 1px solid var(--unf-border, #e0e0e0);
}
.impulse-acc-tiles[data-expand="flip"] .impulse-acc-tile-front {
    transform: rotateY(0deg) translateZ(0);
    -webkit-transform: rotateY(0deg) translateZ(0);
}
.impulse-acc-tiles[data-expand="flip"] .impulse-acc-tile-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    padding: 20px;
    color: var(--unf-content, #555);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start;
    text-align: center;
    overflow-y: auto;
}
.impulse-acc-tile-back-title {
    font-weight: 600;
    color: var(--unf-accent, #1d2327);
    margin-bottom: 8px;
}


.impulse-acc-tiles[data-expand="slide"] .impulse-acc-tile-slide {
    grid-area: 1 / 1;
    background: var(--unf-content-bg, #fff);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    box-sizing: border-box;
    color: var(--unf-content, #555);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start;
    text-align: center;
    border-radius: var(--unf-radius, 8px);
    overflow-y: auto;
}

.impulse-acc-tiles[data-expand="slide"] .impulse-acc-tile:hover .impulse-acc-tile-slide {
    transform: translateY(0);
}
.impulse-acc-tile-slide-title {
    font-weight: 600;
    color: var(--unf-accent, #1d2327);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.impulse-acc-tiles[data-expand="fade"] .impulse-acc-tile-front,
.impulse-acc-tiles[data-expand="fade"] .impulse-acc-tile-back {
    grid-area: 1 / 1;
    border-radius: var(--unf-radius, 8px);
    background: var(--unf-content-bg, #fff);
    transition: opacity 0.8s ease-in-out;
}
.impulse-acc-tiles[data-expand="fade"] .impulse-acc-tile-back {
    opacity: 0;
    padding: 20px;
    box-sizing: border-box;
    color: var(--unf-content, #555);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start;
    text-align: center;
    line-height: 1.7;
    overflow-y: auto;
}
.impulse-acc-tiles[data-expand="fade"] .impulse-acc-tile:hover .impulse-acc-tile-front { opacity: 0; }
.impulse-acc-tiles[data-expand="fade"] .impulse-acc-tile:hover .impulse-acc-tile-back  { opacity: 1; }


.impulse-acc-tiles[data-expand="push"] .impulse-acc-tile-front {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.impulse-acc-tiles[data-expand="push"] .impulse-acc-tile-back {
    grid-area: 1 / 1;
    background: var(--unf-content-bg, #fff);
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    box-sizing: border-box;
    color: var(--unf-content, #555);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start;
    text-align: center;
    line-height: 1.7;
    border-radius: var(--unf-radius, 8px);
    overflow-y: auto;
}
.impulse-acc-tiles[data-expand="push"] .impulse-acc-tile:hover .impulse-acc-tile-front { transform: translateX(-100%); }
.impulse-acc-tiles[data-expand="push"] .impulse-acc-tile:hover .impulse-acc-tile-back  { transform: translateX(0); }




.impulse-acc-spotlight .impulse-acc-spot-item {
    opacity: 0.35;
    transform: scale(0.98);
    background: transparent;
    filter: blur(var(--unf-blur, 1px));
}
.impulse-acc-spotlight .impulse-acc-spot-item.active {
    opacity: 1 !important;
    transform: scale(1) !important;
    background: var(--unf-content-bg, #fff) !important;
    filter: none !important;
}
.impulse-acc-spotlight .impulse-acc-spot-header { color: var(--unf-title, #1d2327); }
.impulse-acc-spotlight .impulse-acc-spot-item.active .impulse-acc-spot-header {
    color: var(--unf-accent, #1d2327) !important;
}




.impulse-acc-spot-header span:first-child,
.impulse-unfold-card-title          { font-size: var(--unf-t-size, 15px); }

.impulse-acc-spot-body,
.impulse-unfold-card > div:last-child { font-size: var(--unf-c-size, 14px); }

.impulse-acc-stack-num {
    font-size: var(--unf-n-size, 11px);
    color: var(--unf-content, #666);
}
.impulse-acc-stack-num.active        { color: var(--unf-title, #1d2327); }
.impulse-acc-stack-nav button        { color: var(--unf-content, #666); }










.impulse-acc-reveal {
    width: var(--unf-width, 100%);
    margin: 0 auto;
    
    display: grid;
    grid-template-columns: repeat(var(--unf-rev-cols, 1), minmax(0, 1fr));
    column-gap: 48px;
    align-items: start;
}
@media (max-width: 767px) {
    .impulse-acc-reveal { grid-template-columns: 1fr; }
    
    .impulse-acc-reveal-title { padding: calc(var(--unf-row-pad, 11px) * 0.5) 0; }
}
.impulse-acc-reveal-item {
    border-bottom: 1px solid var(--unf-border, #e0e0e0);
}
.impulse-acc-reveal-title {
    display: block;
    width: 100%;
    padding: var(--unf-row-pad, 11px) 0;
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    cursor: pointer;
    text-align: left;
    color: var(--unf-title, #1d2327);
    font-size: var(--unf-t-size, 15px);
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-left-color 0.3s ease-in-out,
                color 0.2s ease-in-out;
}
.impulse-acc-reveal-title:hover {
    padding-left: 12px;
    border-left-color: var(--unf-accent, #1d2327);
}
.impulse-acc-reveal-item.open .impulse-acc-reveal-title {
    padding-left: 12px;
    border-left-color: var(--unf-accent, #1d2327);
}
.impulse-acc-reveal-body { display: none; }
.impulse-acc-reveal-item.open .impulse-acc-reveal-body { display: block; }
.impulse-acc-reveal-inner {
    padding: 0 0 var(--unf-pad, 20px) 12px;
    color: var(--unf-content, #555);
    font-size: var(--unf-c-size, 14px);
    line-height: 1.7;
}



.impulse-unfold[data-align="left"]   { margin-left: 0 !important;    margin-right: auto !important; }
.impulse-unfold[data-align="center"] { margin-left: auto !important; margin-right: auto !important; }
.impulse-unfold[data-align="right"]  { margin-left: auto !important; margin-right: 0 !important; }
