/* Highlight appearance is intentionally scoped to the whole highlight card only. */
.highlight[data-highlight-card]{position:relative;isolation:isolate;overflow:hidden}
.highlight[data-highlight-card][data-card-colors="true"]{background:var(--highlight-card-bg)!important;color:var(--highlight-card-text)!important;border-color:var(--highlight-card-border)!important}
.highlight[data-highlight-card][data-card-colors="true"] .highlight-copy>*,.highlight[data-highlight-card][data-card-colors="true"] .highlight-arrow{color:inherit!important}
.highlight-card-editor{padding:20px;border:1px solid #dfe7eb;border-radius:12px;background:#fff;margin-top:22px}.highlight-card-editor h3{font-size:16px;margin:0 0 10px}.highlight-card-preview-wrap{margin-top:20px}.highlight-card-preview{display:grid;grid-template-columns:34% minmax(0,1fr);position:relative;overflow:hidden;min-height:150px;border:1px solid #e6e6e6;border-radius:14px;background:var(--surface,#fff);color:var(--card-ink,#171717)}.highlight-card-preview>img{width:100%;height:100%;object-fit:cover;min-height:150px}.highlight-card-preview .highlight-copy{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0;padding:18px 35px 18px 16px}.highlight-card-preview .label{font-size:10px;letter-spacing:.1em;color:var(--orange,#f36b35)}.highlight-card-preview strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.highlight-card-preview .highlight-preview-description{font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:var(--card-muted,#686868)}.highlight-card-preview .highlight-arrow{position:absolute;right:12px;bottom:12px;color:var(--orange,#f36b35)}.highlight-preview-placeholder{display:grid;place-items:center;background:#f1f4f3;font-size:12px;color:#647b72}@media(max-width:540px){.highlight-card-editor{padding:14px}.highlight-card-preview .highlight-copy{padding:13px 25px 13px 12px}.highlight-card-preview strong{font-size:13px}.highlight-card-preview .highlight-preview-description{font-size:11px}}
.highlight[data-highlight-card][data-card-effect="shine"]::after{content:"";position:absolute;pointer-events:none;z-index:2;inset:-50% auto -50% 0;width:38%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.28),transparent);transform:translateX(-180%) skewX(-15deg);animation:highlight-card-shine var(--highlight-card-duration,5s) ease-in-out infinite}
.highlight[data-highlight-card][data-card-effect="pulse"]{animation:highlight-card-pulse var(--highlight-card-duration,5s) ease-in-out infinite}
@keyframes highlight-card-shine{0%,65%{transform:translateX(-180%) skewX(-15deg)}100%{transform:translateX(450%) skewX(-15deg)}}
@keyframes highlight-card-pulse{0%,100%{box-shadow:0 0 0 0 transparent}50%{box-shadow:0 0 0 5px var(--highlight-card-glow,#f36b3535)}}
@media(prefers-reduced-motion:reduce){.highlight[data-highlight-card][data-card-effect]{animation:none!important}.highlight[data-highlight-card][data-card-effect="shine"]::after{animation:none!important;display:none}}
