.inst-accordion-inner {
    padding: 0 16px 16px 16px;
}

/* Main container - limits overall page width */
.client-page-container {
    max-width: 1100px !important;
}

.border-primary {
    border: 2px solid var(--mud-palette-primary);
    border-radius: 6px;
}

.fade-in-section {
    /* Entrance animation handled by bot-theme.css via IntersectionObserver + .is-visible */
}

.gradient-progress .mud-progress-linear-bar {
    /* overridden by bot-theme.css gradient – kept for fallback only */
    transition: background 0.3s ease;
}

/* Trigger cards */
.trigger-card {
    border-radius: 12px;
    transition: box-shadow 0.2s ease;
}

.trigger-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Flex wrap helper */
.flex-wrap {
    flex-wrap: wrap;
}

.inst-accordion {
    border-radius: 16px;
    overflow: hidden;
}

/* Header */
.inst-acc-head {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 14px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .15s ease, transform .15s ease;
}

.inst-acc-head:hover {
    background: rgba(0, 0, 0, 0.03);
}

.mud-theme-dark .inst-acc-head:hover {
    background: rgba(255, 255, 255, 0.06);
}

.inst-acc-left {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.inst-acc-icon {
    margin-top: 2px;
}

.inst-acc-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inst-acc-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Chevron rotate */
.inst-acc-chevron {
    transition: transform .18s ease;
    opacity: .75;
}

.inst-acc-chevron.open {
    transform: rotate(180deg);
}

/* Body */
.inst-acc-body {
    padding: 0 14px 14px 14px;
}

/* Steps */
.inst-steps {
    display: grid;
    gap: 10px;
}

.inst-step-card {
    display: flex;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.03);
}

.mud-theme-dark .inst-step-card {
    background: rgba(255, 255, 255, 0.06);
}

.inst-step-num {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.mud-theme-dark .inst-step-num {
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.inst-step-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.carousel-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.triggers-collapse .mud-collapse-wrapper {
    overflow: visible;
}

/* Drag and drop zone styles */
.files-dropzone-wrap {
    position: relative;
}

.files-dropzone {
    transition: all 0.3s ease;
    padding: 24px;
    border-radius: 12px;
}

.files-dropzone.dropzone-active {
    border-color: var(--syn-primary, #3155ff) !important;
    border-width: 2px !important;
    background-color: rgba(49, 85, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(49, 85, 255, 0.12);
}

.mud-theme-dark .files-dropzone.dropzone-active {
    background-color: rgba(49, 85, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(49, 85, 255, 0.2);
}

.sub-card {
    border-radius: 18px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sub-card--current {
    border: 2px solid var(--syn-primary, #3155ff);
    background: radial-gradient(600px 300px at 20% 10%, rgba(49, 85, 255, .07), transparent 60%);
}

.sub-card--highlight {
    border: 1px solid rgba(49, 85, 255, .35);
    box-shadow: 0 14px 40px rgba(17, 19, 23, .12);
}

.sub-card--highlight::before {
    content: "\2605";
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: .8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--syn-primary, #3155ff), var(--syn-accent, #c7ff48));
    color: var(--syn-ink, #111317);
    box-shadow: 0 4px 12px rgba(49, 85, 255, .22);
}

.sub-period {
    font-size: .85rem;
    opacity: .7;
    margin-left: 2px;
}

.sub-feature-list .sub-feature-item {
    cursor: default;
    padding-left: 0;
}

.sub-feature-list .sub-feature-item:hover {
    background-color: transparent !important;
}

.sub-feature-list .sub-feature-item .mud-list-item-icon {
    margin-right: 6px;
}
