.ai-examples-carousel {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    --dark-0: var(--bg-dark);
    --dark-1: color-mix(in srgb, var(--bg-dark) 93%, white);
    --dark-2: color-mix(in srgb, var(--bg-dark) 95%, white);
    --dark-3: color-mix(in srgb, var(--bg-dark) 85%, white);
    --dark-border: color-mix(in srgb, var(--bg-dark) 75%, white);
    --dark-border-strong: color-mix(in srgb, var(--bg-dark) 60%, white);
    --dark-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 6px 14px rgba(0, 0, 0, 0.3);
}

.ai-examples-carousel__chevron {
    color: #7c7a70;
}

.ai-examples-carousel__eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0d8ecf;
    margin-bottom: 0.9rem;
}

.ai-examples-carousel__intro {
    width: 60ch;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.ai-examples-carousel__intro h2 {
    color: #555859;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.ai-examples-carousel__intro p {
    font-size: 1.12rem;
}

.ai-examples-carousel__label-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 6%;
    margin-bottom: 1.5rem;
}

.ai-examples-carousel__label-tab {
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid #e6edf2;
    background: var(--white);
    color: var(--body-text);
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    transition: all 0.18s ease;
}

.ai-examples-carousel__label-tab:hover {
    transform: translateY(-1px);
}

.ai-examples-carousel__label-tab_active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 10px 30px -12px rgba(31, 182, 255, 0.35);
    cursor: default;
}

.ai-examples-carousel__controls {
    position: sticky;
    bottom: 1rem;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 6%;
    margin-top: 2rem;
}

.ai-examples-carousel__control-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ai-examples-carousel__dotnav {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    background: var(--dark-1);
    border-radius: 999px;
    padding: 0 20px;
    box-shadow: var(--dark-box-shadow);
}

.ai-examples-carousel__dot {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    border: none;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    overflow: hidden;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.ai-examples-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.ai-examples-carousel__dot_active {
    width: 42px;
    background: rgba(255, 255, 255, 0.22);
    cursor: default;
}

.ai-examples-carousel__dot-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: #fff;
    border-radius: inherit;
}

.ai-examples-carousel__dot-fill_filling {
    animation: ai-examples-carousel-dot-fill 6s linear forwards;
}

.ai-examples-carousel_paused .ai-examples-carousel__dot-fill_filling,
.ai-examples-carousel_offscreen .ai-examples-carousel__dot-fill_filling {
    animation-play-state: paused;
}

@keyframes ai-examples-carousel-dot-fill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.ai-examples-carousel__autoplay-toggle {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--dark-1);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--dark-box-shadow);
    transition: background-color 0.18s ease;
}

.ai-examples-carousel__autoplay-toggle:hover {
    background: var(--dark-3);
}

.ai-examples-carousel__autoplay-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-examples-carousel__autoplay-toggle .ai-examples-carousel__autoplay-icon-pause {
    opacity: 1;
}

.ai-examples-carousel_paused .ai-examples-carousel__autoplay-icon-pause {
    opacity: 0;
}

.ai-examples-carousel_paused .ai-examples-carousel__autoplay-icon-play {
    opacity: 1;
}

.ai-examples-carousel_ended .ai-examples-carousel__autoplay-icon-pause,
.ai-examples-carousel_ended .ai-examples-carousel__autoplay-icon-play {
    opacity: 0;
}

.ai-examples-carousel_ended .ai-examples-carousel__autoplay-icon-reset {
    opacity: 1;
}

.ai-examples-carousel__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.ai-examples-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.ai-examples-carousel__panels {
    display: flex;
}

/* Peek spacers sized against the viewport's true width, so panel flex-basis percentages
   aren't nested inside an already-reduced width (which throws off centering math). Derived
   from the same min() expression as the panel width so the two never drift apart. */
.ai-examples-carousel__panels::before,
.ai-examples-carousel__panels::after {
    content: "";
    flex: 0 0 calc((100% - min(84%, 1200px)) / 2);
}

.ai-examples-carousel__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 min(84%, 1200px);
    min-width: 0;
    margin-right: 1.5rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    opacity: 0.45;
    filter: grayscale(1);
    cursor: pointer;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.ai-examples-carousel__panel:last-of-type {
    margin-right: 0;
}

.ai-examples-carousel__panel_active {
    opacity: 1;
    filter: grayscale(0);
    cursor: default;
    animation: ai-examples-carousel-panel-in 0.7s cubic-bezier(0.86, 0, 0.07, 1);
}

.ai-examples-carousel:has(.ai-examples-carousel__panel_active:hover) .ai-examples-carousel__dot-fill_filling {
    animation-play-state: paused;
}

@keyframes ai-examples-carousel-panel-in {
    from {
        transform: translateY(6px);
    }
    to {
        transform: none;
    }
}

.ai-examples-carousel__stage {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    flex: 1;
    background: var(--dark-1);
    border-radius: var(--rounded-lg);
    box-shadow: 0 30px 70px -24px rgba(17, 24, 39, 0.45);
    overflow: hidden;

    @media (min-width: 900px) {
        grid-template-columns: 1fr 1.06fr;
        max-height: 80vh;
        overflow-y: hidden;
    }
}

/* Chat pane */

.ai-examples-carousel__chat {
    position: relative;
    background: var(--dark-1);
    display: flex;
    flex-direction: column;
    min-height: 480px;
    overflow: hidden;
}

.ai-examples-carousel__intro-blur {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
    -webkit-backdrop-filter: blur(14px) brightness(0.7);
    backdrop-filter: blur(14px) brightness(0.7);
    -webkit-mask-image: linear-gradient(45deg, black 0%, black 30%, transparent 70%);
    mask-image: linear-gradient(45deg, black 0%, black 30%, transparent 70%);
}

.ai-examples-carousel_in-view .ai-examples-carousel__panel_active .ai-examples-carousel__intro-blur {
    opacity: 1;
}

.ai-examples-carousel__intro-overlay {
    position: absolute;
    left: 1.5em;
    bottom: 1.5em;
    right: 1.5em;
    z-index: 3;
    display: flex;
    justify-content: flex-start;
    transform: translateZ(0);

    @media (min-width: 900px) {
        right: calc(51.5% + 1.5em);
    }
}

@property --ai-examples-intro-border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.ai-examples-carousel__intro-card {
    position: relative;
    max-width: 42ch;
    text-align: left;
    background-image:
        linear-gradient(224deg, #fff 59.7%, rgba(255, 255, 255, 0.86) 80.5%, rgba(255, 255, 255, 0) 98.98%),
        url('/images/patterns/hexagons.svg');
    background-color: #fff;
    background-repeat: no-repeat, repeat;
    background-position: bottom left, bottom left;
    background-size: auto, 20px 35px;
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: var(--rounded-lg);
    padding: 1.5em;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.4) inset, 0 24px 48px -12px rgba(0, 0, 0, 0.55), 0 8px 20px -6px rgba(0, 0, 0, 0.35);
    opacity: 0;
}

.ai-examples-carousel__intro-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--ai-examples-intro-border-angle), var(--blue) 0deg, var(--green) 90deg, var(--blue) 180deg, var(--green) 270deg, var(--blue) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes ai-examples-intro-border-spin {
    to {
        --ai-examples-intro-border-angle: 360deg;
    }
}

@keyframes ai-examples-carousel-intro-in {
    from {
        opacity: 0;
        transform: translate(-40px, 28px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.ai-examples-carousel_in-view .ai-examples-carousel__panel_active .ai-examples-carousel__intro-card {
    animation: ai-examples-carousel-intro-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ai-examples-carousel_in-view .ai-examples-carousel__panel_active .ai-examples-carousel__intro-card::before {
    animation: ai-examples-intro-border-spin 6s linear infinite;
}

.ai-examples-carousel__intro-badge {
    position: absolute;
    left: -14px;
    bottom: -14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--dark-box-shadow);
    opacity: 0;
    transform-origin: center;
}

.ai-examples-carousel__intro-badge svg {
    display: block;
    width: 20px;
    height: 20px;
}

@keyframes ai-examples-carousel-badge-in {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.4);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.ai-examples-carousel_in-view .ai-examples-carousel__panel_active .ai-examples-carousel__intro-badge {
    animation: ai-examples-carousel-badge-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.15s;
}

.ai-examples-carousel__intro-card h2,
.ai-examples-carousel__intro-card h3 {
    color: var(--blue);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.75rem;
    text-wrap: balance;
}

.ai-examples-carousel__intro-card p {
    color: var(--body-text);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    text-wrap: balance;
}

.ai-chat__title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.5rem 0.4rem;
    color: #b8b5aa;
    font-size: 0.86rem;
    font-weight: 500;
}

.ai-examples-carousel__chat-body {
    padding: 0.9rem 1.6rem 0;
    display: flex;
    flex-direction: column;
}

@keyframes ai-examples-carousel-chat-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-examples-carousel__chat-body[data-animate] > * {
    opacity: 0;
    animation: ai-examples-carousel-chat-in 0.45s ease both;
}

.ai-examples-carousel__chat-body[data-animate] > *:nth-child(1) { animation-delay: 0.1s; }
.ai-examples-carousel__chat-body[data-animate] > *:nth-child(2) { animation-delay: 0.4s; }
.ai-examples-carousel__chat-body[data-animate] > *:nth-child(3) { animation-delay: 0.7s; }
.ai-examples-carousel__chat-body[data-animate] > *:nth-child(4) { animation-delay: 1s; }
.ai-examples-carousel__chat-body[data-animate] > *:nth-child(5) { animation-delay: 1.3s; }
.ai-examples-carousel__chat-body[data-animate] > *:nth-child(n+6) { animation-delay: 1.6s; }

.ai-chat__message {
    max-width: 88%;
}

.ai-chat__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ai-chat__message_user .ai-chat__meta {
    justify-content: flex-end;
}

.ai-chat__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: var(--rounded-full);
}

.ai-chat__avatar svg {
    width: 13px;
    height: 13px;
}

.ai-chat__avatar_user {
    background: rgba(31, 182, 255, 0.16);
    color: #6cc9ff;
}

.ai-chat__avatar_assistant {
    background: var(--blue);
    color: #08222e;
}

.ai-chat__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b8b5aa;
}

.ai-chat__message_user {
    align-self: flex-end;
    background: var(--dark-0);
    color: #eeece2;
    padding: 0.9rem 1.1rem;
    border-radius: var(--rounded-md);
    font-size: 1.05rem;
    line-height: 1.55;
}

.ai-chat__message_assistant {
    margin-top: 1.6rem;
    color: #e8e6da;
    font-size: 1.04rem;
    line-height: 1.6;
    font-weight: 400;
}

.ai-chat__tool-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.84rem;
    color: #b8b5aa;
    font-weight: 500;
}

.ai-chat__artifact-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1rem;
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-radius: var(--rounded);
    padding: 0.8rem 0.9rem;
    cursor: pointer;
    transition: border-color 0.15s ease;
    box-shadow: var(--dark-box-shadow);
}

.ai-chat__artifact-card:hover {
    border-color: var(--dark-border-strong);
}

.ai-chat__artifact-card-body {
    flex: 1;
}

.ai-chat__artifact-card-title {
    font-weight: 600;
    color: #eeece2;
    font-size: 0.9rem;
}

.ai-chat__artifact-card-subtitle {
    font-size: 0.78rem;
    color: #b8b5aa;
    margin-top: 0.1rem;
}

.ai-chat__artifact-card-icon {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: var(--rounded-sm);
    background: var(--dark-1);
    border: 1px solid var(--dark-border);
    color: #b8b5aa;
    display: grid;
    place-items: center;
}

.ai-chat__artifact-card-icon svg {
    width: 17px;
    height: 17px;
}

/* Composer chrome (static) */

.ai-examples-carousel__composer {
    margin-top: auto;
    padding: 1.3rem 1.3rem 0.5rem;
}

.ai-examples-carousel__composer-box {
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-radius: var(--rounded-lg);
    padding: 0.9rem 1rem 0.7rem;
    box-shadow: var(--dark-box-shadow);
}

.ai-examples-carousel__composer-placeholder {
    color: #b8b5aa;
    font-size: 0.92rem;
}

.ai-examples-carousel__composer-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.ai-examples-carousel__composer-plus {
    color: #b8b5aa;
    font-size: 1.25rem;
    line-height: 1;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
}

.ai-examples-carousel__composer-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--rounded-sm);
    border: 1px solid var(--dark-border);
    display: grid;
    place-items: center;
    color: #8fb8c9;
}

.ai-examples-carousel__composer-icon svg {
    width: 15px;
    height: 15px;
}

.ai-examples-carousel__composer-model {
    margin-left: auto;
    font-size: 0.84rem;
    font-weight: 500;
    color: #b8b5aa;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ai-examples-carousel__composer-submit {
    width: 32px;
    height: 32px;
    border-radius: var(--rounded-sm);
    background: var(--blue);
    color: #08222e;
    display: grid;
    place-items: center;
}

.ai-examples-carousel__composer-submit svg {
    width: 15px;
    height: 15px;
}

.ai-examples-carousel__composer-disclaimer {
    text-align: center;
    font-size: 0.72rem;
    color: #b8b5aa;
    padding: 0.6rem 0 0.25rem;
}

/* Output pane */

.ai-examples-carousel__output {
    background: var(--dark-0);
    display: flex;
    flex-direction: column;
}

.ai-examples-carousel__output-toolbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: var(--dark-0);
    border-bottom: 1px solid var(--dark-border);
}

.ai-examples-carousel__output-toggle {
    display: inline-flex;
    background: var(--dark-0);
    border-radius: var(--rounded-sm);
    padding: 3px;
    gap: 2px;
}

.ai-examples-carousel__output-toggle-btn {
    width: 30px;
    height: 26px;
    border-radius: 7px;
    color: #b8b5aa;
    display: grid;
    place-items: center;
}

.ai-examples-carousel__output-toggle-btn svg {
    width: 14px;
    height: 14px;
}

.ai-examples-carousel__output-toggle-btn_active {
    background: var(--dark-3);
    color: #e8e6da;
}

.ai-examples-carousel__output-refresh {
    margin-left: auto;
    color: #b8b5aa;
    display: grid;
    place-items: center;
}

.ai-examples-carousel__output-refresh svg {
    width: 15px;
    height: 15px;
}

.ai-examples-carousel__output-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-radius: var(--rounded-sm);
    padding: 0.4rem 0.75rem;
    color: #d6d4c9;
    font-size: 0.8rem;
    font-weight: 600;
}

.ai-examples-carousel__output-share {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #faf9f5;
    border-radius: var(--rounded-sm);
    padding: 0.4rem 0.8rem;
    color: #1c1b1a;
    font-size: 0.8rem;
    font-weight: 600;
}

.ai-examples-carousel__output-share svg {
    width: 13px;
    height: 13px;
}

.ai-examples-carousel__output-close {
    color: #b8b5aa;
    font-size: 1rem;
    padding-left: 0.15rem;
}

.ai-examples-carousel__output-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ai-output__header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}

.ai-output__site {
    font-weight: 900;
    color: #fff;
    font-size: 1.28rem;
    letter-spacing: -0.01em;
}

.ai-output__subtitle {
    font-size: 0.78rem;
    color: #b8b5aa;
    font-weight: 600;
}

.ai-output__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.1rem;

    @media (min-width: 500px) {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ai-output__stat-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-radius: var(--rounded);
    padding: 0.75rem 0.85rem;
    box-shadow: var(--dark-box-shadow);
}

.ai-output__stat-label {
    font-size: 0.7rem;
    color: #b8b5aa;
    font-weight: 700;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-output__stat-value {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--stat-color, #fff);
}

.ai-output__stat-delta {
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
    color: var(--stat-delta-color, #13ce66);
}

.ai-output__filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0 0 0.85rem;
}

.ai-output__filter {
    background: var(--dark-2);
    color: #b8b5aa;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
    border-radius: var(--rounded-sm);
}

.ai-output__filter_active {
    background: var(--blue);
    color: #08222e;
    font-weight: 800;
}

.ai-output__ticket {
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-left: 3px solid var(--finding-color, #55534b);
    border-radius: var(--rounded-md);
    padding: 1rem 1.1rem;
    margin-top: 1rem;
    box-shadow: var(--dark-box-shadow);
}

.ai-output__ticket-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.ai-output__ticket-id {
    font-family: Consolas, Menlo, monospace;
    font-size: 0.75rem;
    color: #b8b5aa;
}

.ai-output__ticket-title {
    color: #eeece2;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.ai-output__ticket-body {
    color: #b8b5aa;
    font-size: 0.86rem;
    line-height: 1.55;
}

.ai-output__chart {
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-radius: var(--rounded-md);
    padding: 1rem 0.9rem 0.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--dark-box-shadow);
}

.ai-output__chart svg {
    width: 100%;
    display: block;
}

.ai-output__rows {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1rem;
}

.ai-output__row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.86rem;
    color: #d6d4c9;
    font-weight: 600;
}

.ai-output__row-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: none;
    background: var(--dot-color, #55534b);
}

.ai-output__row-tag {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dot-color, #b8b5aa);
}

.ai-output__findings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ai-output__finding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-left: 3px solid var(--finding-color, #55534b);
    border-radius: var(--rounded-sm);
    font-size: 0.88rem;
    color: #eeece2;
    font-weight: 600;
    box-shadow: var(--dark-box-shadow);
}

.ai-output__finding-badge {
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    flex: none;
    background: var(--finding-badge-bg, rgba(255, 255, 255, 0.1));
    color: var(--finding-color, #d6d4c9);
}

.ai-output__finding_high {
    --finding-color: #ff6250;
    --finding-badge-bg: rgba(255, 98, 80, 0.14);
    --finding-badge-color: #ff8674;
}

.ai-output__finding_high .ai-output__finding-badge {
    color: #ff8674;
}

.ai-output__finding_medium {
    --finding-color: #ff9a02;
    --finding-badge-bg: rgba(255, 154, 2, 0.14);
}

.ai-output__finding_medium .ai-output__finding-badge {
    color: #ffb84d;
}

.ai-output__finding_low {
    --finding-color: #1fb6ff;
    --finding-badge-bg: rgba(31, 182, 255, 0.14);
}

.ai-output__finding_low .ai-output__finding-badge {
    color: #7dd3fc;
}

.ai-output__finding_good {
    --finding-color: #13ce66;
    --finding-badge-bg: rgba(19, 206, 102, 0.14);
}

.ai-output__finding_good .ai-output__finding-badge {
    color: #5eeba0;
}

.ai-output__donut-wrap {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    border-radius: var(--rounded-md);
    padding: 1.1rem 1.3rem;
    flex-wrap: wrap;
    box-shadow: var(--dark-box-shadow);
}

.ai-output__donut {
    position: relative;
    flex: none;
    width: 132px;
    height: 132px;
}

.ai-output__donut svg {
    width: 100%;
    height: 100%;
}

.ai-output__donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ai-output__donut-center strong {
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ai-output__donut-center span {
    font-size: 0.7rem;
    color: #b8b5aa;
    font-weight: 700;
    margin-top: 0.15rem;
}

.ai-output__legend {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.ai-output__legend-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #d6d4c9;
    font-weight: 600;
}

.ai-output__legend-swatch {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    flex: none;
    background: var(--legend-color, #8f8d82);
}

.ai-output__legend-count {
    margin-left: auto;
    font-weight: 900;
    color: var(--legend-color, #d6d4c9);
}

/* Jira-style ticket mockup (In-House example) */

.ai-jira {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    border-radius: var(--rounded-md);
    overflow: hidden;
    min-height: 420px;
    background: #f4f5f7;
}

.ai-jira__board {
    position: absolute;
    inset: 0;
    padding: 1.1rem 1.25rem;
    filter: blur(4px);
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
}

.ai-jira__board-topbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}

.ai-jira__board-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #0052cc;
    flex: none;
}

.ai-jira__board-crumb {
    width: 140px;
    height: 10px;
    border-radius: 5px;
    background: #dfe1e6;
}

.ai-jira__board-avatar {
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #6554c0;
    flex: none;
}

.ai-jira__board-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.ai-jira__board-col-title {
    width: 60%;
    height: 8px;
    border-radius: 4px;
    background: #b3bac5;
    margin-bottom: 0.6rem;
}

.ai-jira__board-card {
    height: 42px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dfe1e6;
    margin-bottom: 0.6rem;
    box-shadow: 0 1px 2px rgba(9, 30, 66, 0.08);
}

.ai-jira__ticket {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    margin: 0 1.5rem;
    background: #fff;
    border-radius: var(--rounded-md);
    border: 1px solid #dfe1e6;
    box-shadow: 0 14px 34px rgba(9, 30, 66, 0.22), 0 0 0 1px rgba(9, 30, 66, 0.04);
    padding: 1.5rem 1.6rem;
}

.ai-jira__ticket-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.ai-jira__ticket-type {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #ff5630;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ai-jira__ticket-type svg {
    width: 12px;
    height: 12px;
}

.ai-jira__ticket-key {
    font-family: Consolas, Menlo, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: #626f86;
}

.ai-jira__ticket-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #172b4d;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.ai-jira__ticket-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.ai-jira__ticket-status {
    display: inline-flex;
    align-items: center;
    background: #dfe1e6;
    color: #44546f;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.ai-jira__ticket-priority {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ff5630;
}

.ai-jira__ticket-priority svg {
    width: 13px;
    height: 13px;
}

.ai-jira__ticket-assignee {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    font-size: 0.78rem;
    color: #44546f;
}

.ai-jira__ticket-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #6554c0;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ai-jira__ticket-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #44546f;
    padding-top: 0.9rem;
    border-top: 1px solid #ebecf0;
}

.ai-jira__ticket-footer {
    margin-top: 0.8rem;
    font-size: 0.72rem;
    color: #8993a4;
}
