.ae-trust {
    --ae-blue: #0075EB;
    --ae-blue-soft: #E8F2FE;
    --ae-blue-text: #0C447C;
    --ae-blue-hover-border: #BFDBFE;
    --ae-blue-hover-bg: #F8FAFF;
    --ae-green: #00B373;
    --ae-green-soft: #ECFDF5;
    --ae-green-text: #065F46;
    --ae-amber-bg: #FFFBEB;
    --ae-amber-border: #FDE68A;
    --ae-amber-text: #78350F;
    --ae-amber-icon: #B45309;
    --ae-ink: #161E26;
    --ae-body: #374151;
    --ae-mute: #6B7280;
    --ae-hint: #9CA3AF;
    --ae-line: #E5E7EB;
    --ae-line-soft: #F3F4F6;
    --ae-surface: #FFFFFF;
    --ae-surface-soft: #FAFBFC;
    --ae-track: #F3F4F6;

    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 720px;
    margin: 32px auto;
    background: var(--ae-surface);
    border: 1px solid var(--ae-line);
    border-radius: 16px;
    overflow: hidden;
    color: var(--ae-body);
    line-height: 1.55;
}

.ae-trust * { box-sizing: border-box; }

.ae-trust__accent {
    height: 4px;
    background: linear-gradient(90deg, var(--ae-blue) 0%, var(--ae-blue) 65%, var(--ae-green) 65%, var(--ae-green) 100%);
}

.ae-trust__header {
    padding: 20px 24px 14px;
    border-bottom: 1px solid var(--ae-line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.ae-trust__header-left { display: flex; align-items: center; gap: 14px; }
.ae-trust__seal {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: block;
}
.ae-trust__eyebrow {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ae-mute);
    font-weight: 500;
}
.ae-trust__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ae-ink);
}
.ae-trust__updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--ae-green-soft);
    border-radius: 999px;
    font-size: 12px;
    color: var(--ae-green-text);
    font-weight: 500;
}
.ae-trust__pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ae-green);
    display: inline-block;
    animation: ae-pulse 2s ease-in-out infinite;
}
@keyframes ae-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ae-trust__editor {
    padding: 20px 24px;
    background: var(--ae-surface-soft);
    border-bottom: 1px solid var(--ae-line-soft);
    display: flex;
    gap: 16px;
    align-items: center;
}
.ae-trust__avatar-wrap { position: relative; flex-shrink: 0; }
.ae-trust__avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ae-blue), var(--ae-green));
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    overflow: hidden;
    position: relative;
}
.ae-trust__avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}
.ae-trust__avatar-check {
    position: absolute;
    bottom: -2px; right: -2px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--ae-blue);
    border: 2px solid var(--ae-surface-soft);
    display: flex; align-items: center; justify-content: center;
}
.ae-trust__avatar-check .ae-trust__icon { width: 13px; height: 13px; color: white; }
.ae-trust__editor-meta { flex: 1; min-width: 0; }
.ae-trust__editor-name-row {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.ae-trust__name {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--ae-ink);
}
.ae-trust__name a { color: inherit; text-decoration: none; }
.ae-trust__badge {
    font-size: 11px;
    padding: 3px 10px;
    background: var(--ae-blue-soft);
    color: var(--ae-blue-text);
    border-radius: 999px;
    font-weight: 500;
}
.ae-trust__role {
    margin: 3px 0 0;
    font-size: 13px;
    color: var(--ae-mute);
}
.ae-trust__creds {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.ae-trust__cred {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px;
    color: var(--ae-body);
}
.ae-trust__cred .ae-trust__icon { width: 14px; height: 14px; color: var(--ae-blue); flex-shrink: 0; }
.ae-trust__cred strong { font-weight: 600; color: var(--ae-ink); }

.ae-trust__experts {
    padding: 18px 24px 16px;
    border-bottom: 1px solid var(--ae-line-soft);
}
.ae-trust__experts-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}
.ae-trust__experts-title {
    display: flex; align-items: center; gap: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--ae-ink);
}
.ae-trust__experts-title .ae-trust__icon { width: 16px; height: 16px; color: var(--ae-blue); transform: scaleX(-1); }
.ae-trust__experts-toggle {
    font-size: 11px;
    color: var(--ae-blue);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-weight: 500;
    font-family: inherit;
}
.ae-trust__experts-toggle:hover { text-decoration: underline; }
.ae-trust__expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.ae-trust__expert {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #F9FAFB;
    border-radius: 10px;
    border: 1px solid var(--ae-line-soft);
}
.ae-trust__expert-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.ae-trust__expert-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}
.ae-trust__expert--coral .ae-trust__expert-avatar { background: #FEE7DA; color: #993C1D; }
.ae-trust__expert--green .ae-trust__expert-avatar { background: #DCFCE7; color: #14532D; }
.ae-trust__expert--purple .ae-trust__expert-avatar { background: #EDE9FE; color: #4C1D95; }
.ae-trust__expert--pink .ae-trust__expert-avatar { background: #FCE7F3; color: #831843; }
.ae-trust__expert--blue .ae-trust__expert-avatar { background: var(--ae-blue-soft); color: var(--ae-blue-text); }
.ae-trust__expert-meta { flex: 1; min-width: 0; }
.ae-trust__expert-name {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ae-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ae-trust__expert-role {
    margin: 1px 0 6px;
    font-size: 11px;
    color: var(--ae-mute);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ae-trust__expert-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-bottom: 6px;
}
.ae-trust__expert-cred {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    color: var(--ae-body);
    line-height: 1.3;
}
.ae-trust__expert-cred .ae-trust__icon {
    width: 12px;
    height: 12px;
    color: var(--ae-blue);
    flex-shrink: 0;
}
.ae-trust__expert-cred strong {
    font-weight: 600;
    color: var(--ae-ink);
}
.ae-trust__expert-tag {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}
.ae-trust__expert-tag--quoted { background: var(--ae-blue-soft); color: var(--ae-blue-text); }
.ae-trust__expert-tag--data { background: #FEF3C7; color: #78350F; }
.ae-trust__expert-tag--reviewer { background: var(--ae-green-soft); color: var(--ae-green-text); }

.ae-trust__sources {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.ae-trust__sources.is-open { max-height: 600px; }
.ae-trust__sources-inner {
    margin-top: 14px;
    padding: 14px;
    background: #F9FAFB;
    border: 1px solid var(--ae-line-soft);
    border-radius: 10px;
}
.ae-trust__sources-label {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ae-mute);
    font-weight: 500;
}
.ae-trust__sources-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px;
}
.ae-trust__sources-list li {
    font-size: 12px;
    color: var(--ae-body);
    padding: 4px 0;
    display: flex; align-items: center; gap: 8px;
}
.ae-trust__sources-list li .ae-trust__icon { width: 14px; height: 14px; color: var(--ae-blue); flex-shrink: 0; }

.ae-trust__methodology { padding: 20px 24px 10px; }
.ae-trust__methodology-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
    flex-wrap: wrap;
}
.ae-trust__methodology-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ae-ink);
}
.ae-trust__hint {
    font-size: 11px;
    color: var(--ae-mute);
}
.ae-trust__criteria { display: flex; flex-direction: column; gap: 8px; }

.ae-trust__row {
    cursor: pointer;
    padding: 12px 14px;
    background: var(--ae-surface);
    border: 1px solid var(--ae-line);
    border-radius: 10px;
    transition: background 0.15s ease, border-color 0.15s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
    color: inherit;
}
.ae-trust__row:hover { border-color: var(--ae-blue-hover-border); }
.ae-trust__row.is-open {
    background: var(--ae-blue-hover-bg);
    border-color: var(--ae-blue-hover-border);
}
.ae-trust__row-main {
    display: flex; align-items: center; gap: 12px;
}
.ae-trust__row-icon {
    width: 18px;
    height: 18px;
    color: var(--ae-blue);
    flex-shrink: 0;
}
.ae-trust__row-body { flex: 1; min-width: 0; }
.ae-trust__row-label {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.ae-trust__row-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--ae-ink);
}
.ae-trust__row-weight {
    font-size: 12px;
    font-weight: 600;
    color: var(--ae-blue);
}
.ae-trust__bar {
    height: 6px;
    background: var(--ae-track);
    border-radius: 999px;
    overflow: hidden;
}
.ae-trust__bar-fill {
    height: 100%;
    background: var(--ae-blue);
    border-radius: 999px;
    transition: width 0.6s ease;
    width: 0;
}
.ae-trust__row-chevron {
    width: 16px;
    height: 16px;
    color: var(--ae-hint);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.ae-trust__row.is-open .ae-trust__row-chevron { transform: rotate(180deg); }
.ae-trust__row-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.ae-trust__row-detail-inner {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--ae-line-soft);
    font-size: 12px;
    color: var(--ae-body);
    line-height: 1.6;
}
.ae-trust__row.is-open .ae-trust__row-detail { max-height: 240px; }

.ae-trust__stats {
    padding: 16px 24px;
    background: var(--ae-surface-soft);
    border-top: 1px solid var(--ae-line-soft);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}
.ae-trust__stat {
    text-align: center;
    padding: 10px 8px;
    border-left: 1px solid var(--ae-line);
}
.ae-trust__stat:first-child { border-left: none; }
.ae-trust__stat-num {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--ae-blue);
}
.ae-trust__stat--accent .ae-trust__stat-num { color: var(--ae-green); }
.ae-trust__stat-label {
    margin: 3px 0 0;
    font-size: 11px;
    color: var(--ae-mute);
}

.ae-trust__disclosure {
    padding: 14px 24px;
    background: var(--ae-amber-bg);
    border-top: 1px solid var(--ae-amber-border);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.ae-trust__disclosure .ae-trust__icon {
    width: 16px;
    height: 16px;
    color: var(--ae-amber-icon);
    flex-shrink: 0;
    margin-top: 2px;
}
.ae-trust__disclosure p {
    margin: 0;
    font-size: 12px;
    color: var(--ae-amber-text);
    line-height: 1.6;
}
.ae-trust__disclosure strong { font-weight: 600; }

@media (max-width: 540px) {
    .ae-trust { margin: 16px; }
    .ae-trust__header,
    .ae-trust__editor,
    .ae-trust__methodology,
    .ae-trust__stats,
    .ae-trust__disclosure { padding-left: 18px; padding-right: 18px; }
    .ae-trust__stat { border-left: none; border-top: 1px solid var(--ae-line); }
    .ae-trust__stat:first-child { border-top: none; }
    .ae-trust__creds { gap: 10px 16px; }
}
