.ia-jump {
    display:inline-flex;
    align-items:center;
    gap:12px;
    margin-top:24px;
    color:#1800e1;
    font-weight:750
}
.ia-studio {
    padding-top:110px;
    padding-bottom:110px
}
.ia-section-intro {
    max-width:600px
}
.ia-workbench {
    margin-top:40px;
    border:1px solid #dcdce9;
    border-radius:24px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 24px 70px #0b0a520d
}
.ia-workbench-head {
    display:flex;
    align-items:center;
    gap:12px;
    padding:22px 28px;
    background:#0b0a52;
    color:#fff
}
.ia-spark svg,.sa-avatar svg {
    width:24px;
    height:24px
}
.ia-demo-label,.sa-demo-label {
    font-size:11px;
    letter-spacing:.05em;
    text-transform:uppercase
}
.ia-demo-label {
    margin-left:auto;
    color:#d6d2ff
}
.ia-workbench-body {
    display:grid;
    grid-template-columns:1fr 1fr
}
.ia-input-side,.ia-output-side {
    padding:32px;
    min-width:0
}
.ia-input-side {
    border-right:1px solid #e9e8ef;
    background:#f8f8fc
}
.ia-input-side>label,.ia-feature-picker legend {
    font-weight:700;
    font-size:13px;
    display:block;
    margin-bottom:10px
}
.ia-input-side>input {
    width:100%;
    padding:13px;
    border:1px solid #cccbdc;
    border-radius:9px;
    font:inherit
}
.ia-feature-picker {
    border:0;
    padding:0;
    margin:24px 0;
    display:flex;
    gap:7px;
    flex-wrap:wrap
}
.ia-feature-picker legend {
    float:left;
    width:100%
}
.ia-feature-picker button,.ia-apply-row button {
    border:1px solid #d8d6e8;
    border-radius:8px;
    min-height:44px;
    padding:8px 12px;
    background:white;
    color:#0b0a52;
    font:inherit;
    font-size:12px;
    cursor:pointer
}
.ia-feature-picker button[aria-pressed=true] {
    background:#1800e1;
    color:#fff;
    border-color:#1800e1
}
.ia-prompt {
    padding:18px;
    background:#fff;
    border-left:3px solid #ff7a00;
    margin:24px 0
}
.ia-prompt span,.ia-result-field>span {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:#626078
}
.ia-prompt p {
    margin:8px 0 0;
    line-height:1.6
}
.ia-run {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    width:100%;
    border:0;
    border-radius:9px;
    background:#ff7a00;
    color:#0b0a52;
    padding:15px;
    font:inherit;
    font-weight:750;
    cursor:pointer
}
.ia-run svg,.ia-apply-row svg {
    width:18px;
    height:18px
}
.ia-simulation-note,.sa-scenario-note {
    font-size:12px;
    line-height:1.7;
    color:#69667c
}
.ia-output-toolbar {
    display:flex;
    justify-content:space-between;
    gap:12px;
    font-size:11px;
    color:#6d6981
}
.ia-output-toolbar i {
    display:inline-block;
    width:6px;
    height:6px;
    background:#1800e1;
    border-radius:50%;
    margin-right:7px
}
.ia-process {
    display:flex;
    gap:8px;
    margin:24px 0
}
.ia-process span {
    flex:1;
    border-top:3px solid #e8e7ef;
    padding-top:8px;
    font-size:10px;
    color:#777
}
.ia-process .is-done {
    border-color:#1800e1;
    color:#1800e1
}
.ia-result {
    min-height:270px;
    padding:24px;
    border:1px solid #eceaf4;
    border-radius:12px;
    transition:box-shadow .3s
}
.ia-result[data-applied=true] {
    box-shadow:0 0 0 3px #1800e1
}
.ia-result-shop {
    font-size:12px;
    color:#1800e1
}
.ia-result h3 {
    font-size:28px;
    line-height:1.15;
    margin:12px 0 22px;
    color:#0b0a52
}
.ia-result-field {
    margin-top:15px
}
.ia-result-field p {
    font-size:14px;
    line-height:1.7;
    margin:5px 0
}
.ia-result-image {
    position:relative;
    height:190px;
    overflow:hidden;
    border-radius:8px;
    margin-bottom:20px
}
.ia-result-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 40%
}
.ia-image-design img {
    object-position:top
}
.ia-focus-crosshair {
    position:absolute;
    left:50%;
    top:40%;
    font-size:40px;
    color:#fff;
    text-shadow:0 0 5px #000
}
.ia-search-preview {
    display:grid;
    gap:6px
}
.ia-search-preview strong {
    color:#1800e1
}
.ia-apply-row {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:20px
}
.ia-apply-row button {
    display:flex;
    gap:8px;
    align-items:center
}
.ia-apply-row span {
    font-size:12px;
    color:#1800e1
}
.ia-apply-row [hidden] {
    display:none
}
button:disabled {
    opacity:.55;
    cursor:default
}
.sa-section {
    background:#0b0a52;
    color:#fff;
    padding:100px 0;
    overflow:hidden
}
.sa-shell {
    max-width:1320px;
    width:calc(100% - 80px);
    margin:auto
}
.sa-intro {
    max-width:850px
}
.sa-intro .ip-eyebrow {
    color:#ff9d43
}
.sa-intro h2 {
    font-size:clamp(38px,4.5vw,66px);
    line-height:1.06;
    letter-spacing:-.045em;
    margin:20px 0
}
.sa-intro h2 span {
    color:#ff8b24
}
.sa-intro>p:last-child {
    max-width:650px;
    color:#c8c5e8;
    line-height:1.7
}
.sa-simulation-label {
    display:flex;
    gap:10px;
    align-items:center;
    color:#c8c5e8;
    font-size:11px;
    margin:32px 0 24px
}
.sa-simulation-label>span {
    color:#ff7a00
}
.sa-layout {
    display:grid;
    grid-template-columns:240px minmax(0,1fr);
    gap:24px
}
.sa-scenarios h3 {
    font-size:14px;
    margin:0 0 18px
}
.sa-scenario-list {
    display:grid;
    gap:5px
}
.sa-scenario-list button {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:48px;
    border:1px solid transparent;
    background:transparent;
    color:#c8c5e8;
    text-align:left;
    padding:10px;
    border-radius:8px;
    font:inherit;
    font-size:12px;
    cursor:pointer
}
.sa-scenario-list button>span {
    width:6px;
    height:6px;
    border-radius:50%;
    background:#827ab6;
    flex-shrink:0
}
.sa-scenario-list svg {
    width:15px;
    height:15px;
    margin-left:auto;
    flex-shrink:0
}
.sa-scenario-list button[aria-pressed=true] {
    color:#fff;
    background:#ffffff12;
    border-color:#ffffff25
}
.sa-scenario-list button[aria-pressed=true]>span {
    background:#ff7a00;
    box-shadow:0 0 14px #ff7a00
}
.sa-scenario-note {
    color:#aca6cf
}
.sa-playground {
    display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    align-items:start;
    background:#201773;
    border:1px solid #ffffff25;
    border-radius:18px;
    padding:18px;
    gap:18px;
    min-width:0
}
.sa-store-preview {
    background:#fff7ed;
    color:#3d2321;
    border-radius:10px;
    overflow:hidden;
    margin-top:32px;
    transform:rotate(-2deg)
}
.sa-store-nav {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px;
    font-size:10px;
    border-bottom:1px solid #ead9d0
}
.sa-store-nav>strong {
    font-family:Georgia,serif;
    font-size:32px;
    line-height:.7
}
.sa-store-nav strong>span {
    display:block;
    font:8px sans-serif;
    letter-spacing:.2em;
    margin-top:8px
}
.sa-cart-badge b {
    background:#ed734b;
    color:white;
    padding:4px 7px;
    border-radius:20px
}
.sa-store-hero {
    position:relative;
    padding:24px 18px 0;
    overflow:hidden
}
.sa-store-hero>span {
    font-size:8px;
    letter-spacing:.1em
}
.sa-store-hero h3 {
    font-family:Georgia,serif;
    font-size:30px;
    line-height:1.1;
    margin:12px 0
}
.sa-store-hero img {
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:50% 50% 0 0
}
.sa-store-products {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    padding:12px
}
.sa-store-products button {
    border:0;
    background:transparent;
    text-align:left;
    color:inherit;
    padding:0;
    cursor:pointer;
    min-width:0
}
.sa-store-products img {
    width:100%;
    height:65px;
    object-fit:cover;
    border-radius:5px
}
.sa-store-products span {
    font-size:9px;
    display:block
}
.sa-store-products b {
    display:block;
    margin-top:5px
}
.sa-store-caption {
    text-align:center;
    font-size:9px;
    color:#896a62
}
.sa-live-context {
    background:#f5e8dc;
    padding:14px;
    font-size:10px
}
.sa-live-context span {
    font-weight:700
}
.sa-live-context p {
    line-height:1.5;
    margin:5px 0
}
.sa-chat {
    background:#fff;
    color:#0b0a52;
    border-radius:12px;
    overflow:hidden;
    min-width:0;
    box-shadow:0 18px 50px #05002140
}
.sa-chat-head {
    display:flex;
    align-items:center;
    gap:9px;
    padding:16px;
    background:#1800e1;
    color:#fff
}
.sa-avatar {
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    flex-shrink:0;
    border:1px solid #ffffff55;
    border-radius:50%
}
.sa-chat-head>div {
    flex:1;
    min-width:0
}
.sa-chat-head strong {
    font-size:12px;
    display:block
}
.sa-chat-head div>span {
    display:block;
    font-size:10px;
    margin-top:4px;
    color:#dbd6ff
}
.sa-chat-head>button {
    background:transparent;
    color:white;
    border:0;
    min-width:44px;
    min-height:44px;
    font-size:25px;
    cursor:pointer
}
.sa-chat-tools {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:9px 14px;
    background:#f5f4fc;
    font-size:10px
}
.sa-chat-tools button {
    min-width:44px;
    min-height:44px;
    border:0;
    background:transparent;
    color:#68617f;
    cursor:pointer
}
.sa-chat-tools button[aria-pressed=true] {
    color:#1800e1;
    font-weight:800
}
.sa-messages {
    height:330px;
    overflow:auto;
    overscroll-behavior:contain;
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:13px;
    scrollbar-width:thin
}
.sa-bubble {
    padding:12px 14px;
    font-size:12px;
    line-height:1.65;
    max-width:94%;
    flex-shrink:0;
    overflow-wrap:anywhere
}
.sa-assistant {
    background:#f0eff8;
    border-radius:0 12px 12px
}
.sa-user {
    align-self:flex-end;
    background:#1800e1;
    color:white;
    border-radius:12px 0 12px 12px
}
.sa-new {
    animation:sa-arrive .35s ease-out
}
.sa-progress {
    padding:10px 16px;
    font-size:11px;
    color:#1800e1;
    animation:sa-pulse 1s ease-in-out infinite
}
.sa-actions {
    padding:0 14px;
    max-height:330px;
    overflow:auto;
    scrollbar-width:thin
}
.sa-actions:empty {
    display:none
}
.sa-action {
    font:inherit;
    font-size:11px;
    border:1px solid #d9d5ec;
    border-radius:7px;
    color:#1800e1;
    background:#fff;
    padding:10px;
    min-height:44px;
    cursor:pointer
}
.sa-action-primary {
    background:#1800e1;
    color:white;
    border-color:#1800e1
}
.sa-quick-replies,.sa-basket-buttons {
    display:flex;
    gap:7px;
    flex-wrap:wrap
}
.sa-result-products {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    flex-shrink:0
}
.sa-result-product {
    display:flex;
    flex-direction:column;
    gap:7px;
    border:1px solid #e1dfed;
    border-radius:8px;
    padding:8px;
    font-size:11px;
    min-width:0
}
.sa-result-product img {
    width:100%;
    height:85px;
    object-fit:cover;
    border-radius:5px
}
.sa-result-product .sa-action {
    margin-top:auto;
    font-size:10px
}
.sa-query-photo {
    width:120px;
    height:90px;
    object-fit:cover;
    align-self:flex-end;
    border-radius:8px;
    flex-shrink:0
}
.sa-cart-form {
    display:grid;
    gap:12px;
    padding:12px 0
}
.sa-cart-form label {
    display:grid;
    gap:6px;
    font-size:11px;
    font-weight:650
}
.sa-cart-form input,.sa-cart-form select {
    width:100%;
    min-width:0;
    border:1px solid #cbc6de;
    border-radius:6px;
    min-height:44px;
    padding:10px;
    font:inherit;
    color:#0b0a52;
    background:#fff
}
.sa-cart-form .sa-consent {
    display:flex;
    align-items:center;
    font-weight:400;
    line-height:1.5
}
.sa-consent input {
    width:20px;
    min-height:20px;
    flex-shrink:0
}
.sa-form-note {
    font-size:10px;
    line-height:1.6;
    color:#6e6681
}
.sa-form-error {
    font-size:11px;
    color:#ad1740;
    margin:0
}
.sa-basket,.sa-checkout-preview {
    padding:12px 0;
    font-size:12px
}
.sa-basket-line {
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    padding:12px 0;
    border-bottom:1px solid #e8e5ef
}
.sa-basket-line>span {
    flex:1;
    min-width:110px
}
.sa-total {
    display:block;
    font-size:16px;
    margin:14px 0
}
.sa-checkout-preview p {
    line-height:1.7
}
.sa-composer {
    display:flex;
    gap:6px;
    padding:14px;
    border-top:1px solid #eee;
    margin-top:12px
}
.sa-composer input {
    width:100%;
    min-width:0;
    border:1px solid #ddd8ec;
    border-radius:7px;
    padding:10px;
    font:inherit;
    font-size:11px
}
.sa-composer button {
    width:44px;
    min-height:44px;
    flex-shrink:0;
    border:0;
    background:#ff7a00;
    color:#0b0a52;
    border-radius:7px;
    cursor:pointer
}
.sa-composer svg {
    width:18px;
    height:18px
}
.sa-feedback {
    display:flex;
    align-items:center;
    gap:5px;
    padding:0 14px 12px;
    flex-wrap:wrap;
    font-size:9px;
    color:#777084
}
.sa-feedback button {
    min-width:44px;
    min-height:44px;
    border:1px solid #e1dced;
    background:white;
    color:#1800e1;
    border-radius:6px;
    cursor:pointer
}
.sa-feedback button[aria-pressed=true] {
    background:#1800e1;
    color:white
}
.sa-section button:focus-visible,.ia-studio button:focus-visible,.sa-section input:focus-visible,.ia-studio input:focus-visible,.sa-section select:focus-visible {
    outline:3px solid #ff9d43;
    outline-offset:3px
}
@keyframes sa-arrive {
    from {
        opacity:0;
        transform:translateY(12px)
    }
    to {
        opacity:1;
        transform:translateY(0)
    }
}
@keyframes sa-pulse {
    50% {
        opacity:.45
    }
}
@media(min-width:1400px) {
    .sa-messages {
        height:370px
    }
}
@media(max-width:1100px) {
    .sa-layout {
        grid-template-columns:190px minmax(0,1fr);
        gap:16px
    }
    .sa-playground {
        grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
        padding:12px;
        gap:12px
    }
    .sa-store-hero h3 {
        font-size:24px
    }
    .sa-store-products {
        grid-template-columns:1fr
    }
    .sa-store-products button {
        display:flex;
        align-items:center;
        gap:8px
    }
    .sa-store-products img {
        width:45px;
        height:45px
    }
    .sa-store-nav {
        padding:12px
    }
    .sa-cart-badge {
        font-size:8px
    }
}
@media(max-width:800px) {
    .ia-workbench-body {
        grid-template-columns:1fr
    }
    .ia-input-side {
        border-right:0;
        border-bottom:1px solid #e9e8ef
    }
    .sa-shell {
        width:calc(100% - 40px)
    }
    .sa-layout {
        grid-template-columns:1fr
    }
    .sa-scenario-list {
        display:flex;
        overflow:auto;
        padding-bottom:10px
    }
    .sa-scenario-list button {
        white-space:nowrap;
        flex-shrink:0
    }
    .sa-scenario-note {
        max-width:600px
    }
    .sa-playground {
        grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
        padding:18px;
        gap:18px
    }
    .sa-store-products {
        grid-template-columns:repeat(3,minmax(0,1fr))
    }
    .sa-store-products button {
        display:block
    }
    .sa-store-products img {
        width:100%;
        height:55px
    }
}
@media(max-width:540px) {
    .ia-studio {
        padding-top:70px;
        padding-bottom:70px
    }
    .ia-input-side,.ia-output-side {
        padding:20px
    }
    .ia-workbench-head {
        padding:18px;
        flex-wrap:wrap
    }
    .ia-demo-label {
        width:100%;
        margin-left:36px
    }
    .ia-result {
        padding:18px
    }
    .ia-result h3 {
        font-size:25px
    }
    .sa-section {
        padding:70px 0
    }
    .sa-shell {
        width:calc(100% - 32px)
    }
    .sa-intro h2 {
        font-size:38px
    }
    .sa-playground {
        grid-template-columns:1fr;
        padding:12px
    }
    .sa-store-preview {
        margin:5px 8px 14px;
        transform:rotate(-1deg)
    }
    .sa-store-hero {
        min-height:130px;
        padding:18px
    }
    .sa-store-hero h3 {
        position:relative;
        z-index:1;
        font-size:28px;
        max-width:55%;
        margin-bottom:0
    }
    .sa-store-hero img {
        position:absolute;
        right:0;
        top:0;
        width:45%;
        height:100%;
        border-radius:0;
        object-fit:cover
    }
    .sa-store-products {
        padding:10px
    }
    .sa-store-products img {
        height:60px
    }
    .sa-store-caption {
        display:none
    }
    .sa-live-context {
        padding:10px
    }
    .sa-messages {
        height:320px
    }
    .sa-intro>p:last-child {
        font-size:14px
    }
    .sa-simulation-label {
        line-height:1.7
    }
    .ia-process span {
        font-size:9px
    }
}
.ip-paused .sa-new,.ip-paused .sa-progress {
    animation:none
}
@media(prefers-reduced-motion:reduce) {
    .sa-new,.sa-progress {
        animation:none
    }
    .ia-result {
        transition:none
    }
}
.sa-scenarios {
    min-width:0
}
.ia-feature-picker {
    min-width:0
}
.sa-chat .sa-assistant {
    color:#302951
}
.sa-chat .sa-user {
    color:#fff
}
/* The orange stage connects the sample storefront and its assistant. */
.sa-section {
    background: radial-gradient(ellipse at 85% 8%, #27158c 0, transparent 48%), #0b0a52;
}
.sa-intro h2 {
    max-width: 1000px;
    font-size: clamp(42px, 5.6vw, 78px);
    letter-spacing: -.055em;
}
.sa-layout {
    gap: 28px;
}
.sa-playground {
    position: relative;
    isolation: isolate;
    padding: 28px;
    gap: 24px;
    background: #ff7a00;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 30px 90px #02001d50;
}
.sa-playground::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: repeating-radial-gradient(circle at 8% 90%, transparent 0 55px, #fff3 56px 57px, transparent 58px 105px);
    pointer-events: none;
}
.sa-stage-heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0b0a52;
    min-height: 64px;
    border-bottom: 1px solid #0b0a5225;
    padding-bottom: 20px;
}
.sa-stage-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: #0b0a52;
    color: #fff;
    border-radius: 14px;
    flex-shrink: 0;
}
.sa-stage-icon svg {
    width: 24px;
    height: 24px;
}
.sa-stage-heading>div>span {
    font-size: 10px;
    font-weight: 650;
    opacity: .75;
}
.sa-stage-heading h3 {
    font-size: 20px;
    letter-spacing: -.03em;
    line-height: 1.3;
}
.sa-stage-state {
    margin-left: auto;
    max-width: 130px;
    font-size: 10px;
    text-align: right;
    line-height: 1.5;
}
.sa-stage-state::before {
    content: '';
    width: 6px;
    height: 6px;
    display: inline-block;
    background: #0b0a52;
    border-radius: 50%;
    margin-right: 5px;
}
.sa-playground.is-thinking .sa-stage-icon {
    animation: sa-orbit 1.5s ease-in-out infinite;
}
.sa-playground.is-thinking .sa-stage-state::before {
    animation: sa-pulse .8s ease-in-out infinite;
}
.sa-store-preview {
    margin-top: 38px;
    transform: rotate(-3deg);
    box-shadow: 0 18px 35px #7a300033;
    transition: transform .65s cubic-bezier(.16, 1, .3, 1);
}
.sa-playground[data-sa-stage=cart] .sa-store-preview {
    transform: rotate(0);
}
.sa-playground[data-sa-stage=photo] .sa-store-hero img {
    transform: scale(1.08);
}
.sa-store-hero img {
    transition: transform .8s ease;
}
.sa-cart-badge {
    border: 0;
    padding: 5px;
    min-height: 44px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.sa-cart-badge b {
    display: inline-block;
}
.sa-chat {
    position: relative;
    box-shadow: 0 22px 45px #57280040;
    border: 4px solid #fff;
    border-radius: 18px;
}
.sa-chat-head {
    padding: 18px 12px;
    border-radius: 11px 11px 0 0;
}
.sa-chat-head strong {
    font-size: 13px;
}
.sa-chat .sa-messages {
    background: radial-gradient(#1800e10c 1px, transparent 1px) 0 0 / 16px 16px, #fff;
    height: 365px;
}
.sa-chat .sa-assistant {
    background: #f0effa;
    box-shadow: 0 2px 0 #1800e108;
    color: #302951;
}
.sa-result-product {
    background: #fff;
    box-shadow: 0 4px 12px #0b0a5208;
    transition: transform .2s, box-shadow .2s;
}
.sa-result-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #0b0a5218;
}
.sa-result-product img {
    height: 100px;
}
.sa-result-product .sa-action {
    border-color: #1800e1;
    font-weight: 650;
}
.sa-scenario-list button {
    transition: background .2s, transform .2s, color .2s;
}
.sa-scenario-list button:hover {
    background: #ffffff12;
    color: #fff;
    transform: translateX(3px);
}
.sa-scenario-list button[aria-pressed=true] {
    background: #ff7a00;
    color: #0b0a52;
    border-color: #ff7a00;
    font-weight: 750;
}
.sa-scenario-list button[aria-pressed=true]>span {
    background: #0b0a52;
    box-shadow: none;
}
.sa-flying-product {
    position: fixed;
    left: 0;
    top: 0;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px #0b0a5240;
    z-index: 100;
    pointer-events: none;
}
.ia-workbench {
    border: 1px solid #1800e125;
    box-shadow: 0 20px 70px #1800e10d;
}
.ia-result {
    background: linear-gradient(145deg, #fff, #f8f7ff);
}
.ia-run:hover {
    background: #ff922e;
}
@keyframes sa-orbit {
    50% { transform: rotate(18deg) scale(1.08); }
}
@media (max-width: 1100px) {
    .sa-playground { padding: 18px; gap: 16px; }
    .sa-stage-state { max-width: 95px; }
    .sa-stage-heading h3 { font-size: 17px; }
}
@media (max-width: 800px) {
    .sa-scenario-list button:hover { transform: none; }
    .sa-intro h2 { font-size: clamp(40px, 7vw, 64px); }
}
@media (max-width: 540px) {
    .sa-playground { padding: 14px; gap: 18px; border-radius: 18px; }
    .sa-stage-heading { gap: 9px; padding-bottom: 16px; }
    .sa-stage-heading h3 { font-size: 17px; }
    .sa-stage-state { display: none; }
    .sa-store-preview { margin: 5px 8px 0; }
    .sa-store-hero { min-height: 150px; }
    .sa-store-hero h3 { font-size: 27px; max-width: 58%; }
    .sa-chat .sa-messages { height: 340px; }
    .sa-chat { border-width: 3px; }
    .sa-chat-head strong { font-size: 12px; }
    .sa-intro h2 { font-size: 43px; }
}
.ip-paused .sa-playground .sa-stage-icon,
.ip-paused .sa-playground .sa-stage-state::before {
    animation: none;
}
.ip-paused .sa-store-preview,
.ip-paused .sa-store-hero img,
.ip-paused .sa-result-product,
.ip-paused .sa-scenario-list button {
    transition: none;
}
@media (prefers-reduced-motion: reduce) {
    .sa-playground .sa-stage-icon, .sa-playground .sa-stage-state::before { animation: none; }
    .sa-store-preview, .sa-store-hero img, .sa-result-product, .sa-scenario-list button { transition: none; }
}
.ia-studio>.ia-feature-picker {
    margin: 36px 0 20px;
    gap: 8px;
}
.ia-studio>.ia-feature-picker legend {
    margin-bottom: 12px;
}
.ia-impact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 42px;
    border-radius: 24px;
    background: #0b0a52;
    color: #fff;
    overflow: hidden;
}
.ia-impact-story>.ip-eyebrow {
    color: #ff9d43;
    margin-bottom: 18px;
}
.ia-impact-story h3 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.13;
    letter-spacing: -.04em;
    margin-bottom: 18px;
}
.ia-impact-story>p[data-impact-description] {
    font-size: 14px;
    line-height: 1.8;
    color: #cfcaec;
    margin-bottom: 26px;
}
.ia-benefit {
    display: flex;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid #ffffff25;
}
.ia-benefit>span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ff7a00;
    color: #0b0a52;
}
.ia-benefit svg {
    width: 15px;
    height: 15px;
}
.ia-benefit strong {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
}
.ia-benefit p {
    color: #cfcaec;
    font-size: 13px;
    line-height: 1.7;
}
.ia-impact-story>.ia-impact-disclosure {
    font-size: 10px;
    line-height: 1.7;
    color: #a8a1d1;
    margin-top: 18px;
}
.ia-impact-preview {
    min-width: 0;
    background: #ff7a00;
    padding: 22px;
    border-radius: 18px;
    color: #0b0a52;
}
.ia-impact-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.ia-impact-controls>span {
    font-size: 11px;
    font-weight: 750;
}
.ia-impact-controls>div {
    display: flex;
    padding: 3px;
    background: #0b0a5214;
    border-radius: 8px;
}
.ia-impact-controls button {
    font: inherit;
    font-size: 11px;
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    color: #0b0a52;
    border-radius: 6px;
    cursor: pointer;
}
.ia-impact-controls button[aria-pressed=true] {
    background: #fff;
    box-shadow: 0 3px 8px #0001;
    font-weight: 750;
}
.ia-impact-screen {
    min-height: 350px;
    background: #fff9f2;
    color: #422b29;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 30px #6a230030;
}
.ia-impact-shop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-bottom: 1px solid #432b2918;
    font-family: Georgia, serif;
    font-size: 19px;
    overflow-wrap: anywhere;
}
.ia-impact-shop span {
    font: 9px sans-serif;
    color: #816d68;
    flex-shrink: 0;
}
.ia-impact-photo {
    display: block;
    width: 100%;
    height: 155px;
    object-fit: cover;
    object-position: 50% 40%;
}
.ia-impact-copy {
    padding: 22px;
    animation: sa-arrive .4s ease-out;
}
.ia-impact-state {
    display: block;
    font-size: 9px;
    color: #7a655d;
    margin-bottom: 10px;
}
.ia-impact-copy h4 {
    font: 28px/1.15 Georgia, serif;
    margin: 0 0 12px;
    text-wrap: balance;
}
.ia-impact-copy p {
    font-size: 12px;
    line-height: 1.8;
}
.ia-impact-cta {
    display: inline-block;
    background: #422b29;
    color: #fff9f2;
    padding: 10px 15px;
    font-size: 11px;
    border-radius: 5px;
    margin-top: 18px;
}
.ia-impact-price {
    display: block;
    margin-top: 15px;
    font-size: 18px;
}
.ia-impact-change {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.6;
}
.ia-impact-change>span {
    font-size: 30px;
    line-height: 1;
}
.ia-impact[data-view=before] .ia-impact-screen {
    background: #f7f7f7;
    color: #595959;
}
.ia-impact[data-feature=focus] .ia-impact-photo {
    height: 240px;
    object-fit: cover;
    object-position: 50% 40%;
}
.ia-impact[data-feature=focus][data-view=before] .ia-impact-photo {
    object-position: 0 100%;
    object-fit: none;
}
.ia-impact[data-feature=design][data-view=after] .ia-impact-photo {
    height: 240px;
    object-position: top;
}
.ia-impact[data-feature=seo] .ia-impact-screen {
    background: #fff;
    color: #202124;
}
.ia-impact[data-feature=seo] .ia-impact-copy h4 {
    font: 22px/1.4 Arial, sans-serif;
    color: #1800e1;
}
.ia-impact-bars {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}
.ia-impact-bars span {
    background: #1800e1;
    color: #fff;
    padding: 10px;
    font-size: 10px;
    width: 100%;
    border-radius: 4px;
}
.ia-impact-bars span:last-child {
    width: 49%;
    background: #ff7a00;
    color: #0b0a52;
}
.ia-impact[data-applied=true] .ia-impact-screen {
    outline: 3px solid #fff;
    outline-offset: 5px;
}
@media(max-width: 1000px) {
    .ia-impact { padding: 28px; gap: 26px; }
}
@media(max-width: 750px) {
    .ia-impact { grid-template-columns: 1fr; padding: 24px; }
    .ia-impact-story h3 { font-size: 32px; }
    .ia-impact-preview { padding: 16px; }
    .ia-impact-screen { min-height: 300px; }
}
@media(max-width: 380px) {
    .ia-impact { padding: 18px; }
    .ia-impact-shop { flex-wrap: wrap; }
    .ia-impact-copy { padding: 18px; }
    .ia-impact-copy h4 { font-size: 25px; }
}
.ip-paused .ia-impact-copy { animation: none; }
@media(prefers-reduced-motion: reduce) {
    .ia-impact-copy { animation: none; }
}
.ia-present-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.ia-present-bar>strong { font-size: 13px; }
.ia-present-bar button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #1800e1;
    background: #fff;
    color: #1800e1;
    border-radius: 9px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.sa-section .ia-present-bar button { border-color: #fff; }
.ia-motion-source {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #0b0a52;
    color: #fff;
    border-radius: 10px;
}
.ia-motion-source>span { flex-shrink: 0; }
.ia-motion-source svg { width: 20px; height: 20px; }
.ia-motion-source p { font-size: 11px; line-height: 1.5; flex: 1; }
.ia-motion-source button {
    width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    border: 1px solid #ffffff50;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
}
.ia-motion-track {
    position: relative;
    height: 24px;
    width: 2px;
    margin: 0 auto;
    background: #0b0a5230;
}
.ia-motion-track span {
    position: absolute;
    top: 0;
    left: -2px;
    width: 6px;
    height: 6px;
    background: #0b0a52;
    border-radius: 50%;
    opacity: 0;
}
.ia-motion-status {
    min-height: 18px;
    font-size: 10px;
    font-weight: 650;
    text-align: center;
    margin-bottom: 12px !important;
}
.ia-impact-screen { position: relative; }
.ia-impact-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(180deg, transparent, #1800e125 80%, #1800e160);
}
.ia-impact[data-phase=source] .ia-motion-source {
    animation: ia-source-in .6s cubic-bezier(.16,1,.3,1) both;
}
.ia-impact[data-phase=building] .ia-motion-track span {
    animation: ia-transfer .8s linear infinite;
}
.ia-impact[data-phase=building] .ia-motion-track span:nth-child(2) { animation-delay: .2s; }
.ia-impact[data-phase=building] .ia-motion-track span:nth-child(3) { animation-delay: .4s; }
.ia-impact[data-phase=building] .ia-impact-screen::after {
    opacity: 1;
    animation: ia-scan .95s ease-in-out both;
}
.ia-impact[data-phase=result] .ia-impact-copy>* {
    animation: ia-write-in .65s cubic-bezier(.16,1,.3,1) both;
}
.ia-impact[data-phase=result] .ia-impact-copy h4 { animation-delay: .12s; }
.ia-impact[data-phase=result] .ia-impact-copy p { animation-delay: .28s; }
.ia-impact[data-phase=result] .ia-impact-copy strong,
.ia-impact[data-phase=result] .ia-impact-cta { animation-delay: .44s; }
.ia-impact[data-phase=result] .ia-impact-change {
    animation: ia-source-in .7s .5s both;
}
.ia-impact[data-phase=result] .ia-benefit>span {
    animation: ia-tick .6s .5s both;
}
.ia-impact[data-phase=result] .ia-benefit:nth-of-type(2)>span { animation-delay: .7s; }
.ia-impact[data-feature=focus][data-phase=result] .ia-impact-photo {
    animation: ia-reframe 1.2s cubic-bezier(.16,1,.3,1) both;
}
.ia-impact[data-feature=design][data-phase=result] .ia-impact-photo {
    animation: ia-design-unfold 1s cubic-bezier(.16,1,.3,1) both;
}
.ia-impact[data-feature=insights][data-phase=result] .ia-impact-bars span {
    transform-origin: left;
    animation: ia-chart-grow 1s .45s cubic-bezier(.16,1,.3,1) both;
}
.ia-impact[data-feature=insights][data-phase=result] .ia-impact-bars span:last-child { animation-delay: .65s; }
@keyframes ia-source-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ia-transfer {
    0% { opacity: 0; transform: translateY(0); }
    25%,75% { opacity: 1; }
    100% { opacity: 0; transform: translateY(24px); }
}
@keyframes ia-scan {
    from { clip-path: inset(0 0 100%); }
    to { clip-path: inset(0); }
}
@keyframes ia-write-in {
    from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(8px); }
    to { opacity: 1; clip-path: inset(0); transform: translateY(0); }
}
@keyframes ia-tick {
    0% { transform: scale(.5); opacity: 0; }
    70% { transform: scale(1.18); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes ia-reframe {
    from { object-position: 0 100%; transform: scale(1.3); }
    to { object-position: 50% 40%; transform: scale(1); }
}
@keyframes ia-design-unfold {
    from { clip-path: inset(0 0 100%); }
    to { clip-path: inset(0); }
}
@keyframes ia-chart-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
body.ip-demo-open { overflow: hidden; }
.ip-page .ia-presenting {
    position: fixed;
    inset: 0;
    z-index: 200;
    width: 100%;
    height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 20px 28px;
    overflow: hidden;
    border-radius: 0;
    background: #f5f5fc;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ia-presenting>.ia-present-bar,
.ia-presenting>.ia-feature-picker { flex-shrink: 0; margin: 0; }
.ia-presenting>.ip-section-heading,
.ia-presenting>.ia-workbench,
.ia-presenting>.ia-feature-picker legend { display: none; }
.ia-presenting>.ia-impact {
    flex: 1;
    min-height: 0;
    padding: 26px;
    gap: 32px;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
}
.ia-presenting .ia-impact-story { min-height: 0; }
.ia-presenting .ia-impact-story h3 { font-size: clamp(26px,3vw,42px); }
.ia-presenting .ia-impact-preview {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 18px;
}
.ia-presenting .ia-impact-controls { margin-bottom: 10px; flex-shrink: 0; }
.ia-presenting .ia-motion-source { padding: 8px 12px; flex-shrink: 0; }
.ia-presenting .ia-motion-track { height: 18px; flex-shrink: 0; }
.ia-presenting .ia-impact-screen { flex: 1; min-height: 0; }
.ia-presenting .ia-impact-photo { height: clamp(70px,16vh,150px); }
.ia-presenting .ia-impact-copy { padding: 14px 20px; }
.ia-presenting .ia-impact-copy h4 { font-size: clamp(22px,2.3vw,30px); }
.ia-presenting .ia-impact-copy p { font-size: 12px; line-height: 1.6; }
.ia-presenting .ia-impact-change { margin-top: 12px; flex-shrink: 0; }
.ia-presenting .ia-impact[data-feature=focus] .ia-impact-photo,
.ia-presenting .ia-impact[data-feature=design] .ia-impact-photo { height: clamp(90px,20vh,210px); }
.ip-page .sa-section.ia-presenting { background: #0b0a52; }
.sa-section.ia-presenting .sa-shell {
    width: 100%;
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sa-section.ia-presenting .ia-present-bar { margin: 0; flex-shrink: 0; }
.sa-section.ia-presenting .sa-intro,
.sa-section.ia-presenting .sa-simulation-label,
.sa-section.ia-presenting .sa-scenario-note { display: none; }
.sa-section.ia-presenting .sa-layout { flex: 1; min-height: 0; }
.sa-section.ia-presenting .sa-playground { min-height: 0; height: 100%; grid-template-rows: auto minmax(0,1fr); }
.sa-section.ia-presenting .sa-stage-heading { min-height: 0; padding-bottom: 10px; }
.sa-section.ia-presenting .sa-store-preview { max-height: 100%; margin-top: 10px; }
.sa-section.ia-presenting .sa-store-hero img { height: 125px; }
.sa-section.ia-presenting .sa-chat {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.sa-section.ia-presenting .sa-chat .sa-messages { flex: 1; min-height: 90px; height: auto; }
.sa-section.ia-presenting .sa-actions { max-height: 34vh; flex-shrink: 0; }
.sa-section.ia-presenting .sa-chat-head { padding: 6px 12px; flex-shrink: 0; }
.sa-section.ia-presenting .sa-chat-tools { padding: 0 12px; flex-shrink: 0; }
.sa-section.ia-presenting .sa-composer { padding: 8px 12px; margin-top: 6px; flex-shrink: 0; }
.sa-section.ia-presenting .sa-feedback { padding-bottom: 6px; flex-shrink: 0; }
@media(max-height: 850px) and (min-width: 751px) {
    .ia-presenting .ia-impact-story>p[data-impact-description] { margin-bottom: 12px; }
    .ia-presenting .ia-benefit { padding: 12px 0; }
    .ia-presenting .ia-impact-disclosure { margin-top: 8px; }
    .ia-presenting .ia-impact-photo { height: 75px; }
    .ia-presenting .ia-impact-copy h4 { font-size: 22px; margin-bottom: 7px; }
    .ia-presenting .ia-impact-shop { padding: 9px 16px; }
    .ia-presenting .ia-impact-cta { margin-top: 8px; }
    .ia-presenting .ia-impact-change { font-size: 10px; }
}
@media(max-width: 800px) {
    .sa-section.ia-presenting .sa-layout { display: flex; flex-direction: column; gap: 10px; }
    .sa-section.ia-presenting .sa-scenarios { flex-shrink: 0; }
    .sa-section.ia-presenting .sa-scenarios h3 { display: none; }
    .sa-section.ia-presenting .sa-playground { flex: 1; }
}
@media(max-width: 750px) {
    .ip-page .ia-presenting { padding: 12px; gap: 10px; }
    .ia-presenting>.ia-feature-picker { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
    .ia-presenting>.ia-feature-picker button { flex-shrink: 0; }
    .ia-presenting>.ia-impact { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
    .ia-presenting .ia-impact-story { width: 100%; flex-shrink: 0; }
    .ia-presenting .ia-impact-story>.ip-eyebrow,
    .ia-presenting .ia-impact-story>p[data-impact-description],
    .ia-presenting .ia-impact-story>.ia-impact-disclosure,
    .ia-presenting .ia-benefit { display: none; }
    .ia-presenting .ia-impact-story h3 { font-size: 24px; margin: 0; }
    .ia-presenting .ia-impact-preview { width: 100%; flex: 1; padding: 12px; }
    .ia-presenting .ia-impact-controls>span { display: none; }
    .ia-presenting .ia-impact-controls { margin-bottom: 8px; }
    .ia-presenting .ia-impact-photo { height: 80px; }
    .ia-presenting .ia-impact-copy h4 { font-size: 23px; }
    .ia-presenting .ia-impact-copy { padding: 12px; }
    .ia-presenting .ia-impact-shop { padding: 10px 12px; font-size: 15px; }
    .ia-presenting .ia-impact-change { font-size: 10px; margin-top: 8px; }
    .ia-presenting .ia-motion-source p { font-size: 10px; }
    .sa-section.ia-presenting .sa-store-preview { display: none; }
    .sa-section.ia-presenting .sa-playground { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
    .sa-section.ia-presenting .sa-stage-heading { flex-shrink: 0; }
    .sa-section.ia-presenting .sa-chat { flex: 1; width: 100%; }
}
.ip-paused .ia-impact[data-phase] *,
.ip-paused .ia-impact-screen::after { animation: none !important; }
@media(prefers-reduced-motion: reduce) {
    .ia-impact[data-phase] *, .ia-impact-screen::after { animation: none !important; }
}

.ia-impact-page { display: flow-root; }
.ia-swarm { margin-top: 12px; }
.ia-swarm-label { font-size: 9px; text-align: center; font-weight: 650; margin-bottom: 10px; }
.ia-swarm-agents { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.ia-agent {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    padding: 12px 6px 8px;
    background: #fff8ed;
    border: 1px solid #0b0a5220;
    border-radius: 10px;
    min-width: 0;
    overflow: hidden;
}
.ia-agent-avatar {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #1800e1;
    color: #fff;
}
.ia-agent-avatar svg { width: 15px; height: 15px; }
.ia-agent strong { font-size: 10px; line-height: 1.3; }
.ia-agent-task { font-size: 8px; line-height: 1.4; color: #6e6376; }
.ia-agent-status { font-size: 8px; color: #1800e1; font-weight: 750; }
.ia-agent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #1800e1;
    transform: scaleX(0);
    transform-origin: left;
}
.ia-swarm-join { position: relative; width: 68%; height: 16px; margin: auto; border: 1px solid #0b0a5250; border-top: 0; border-radius: 0 0 10px 10px; }
.ia-swarm-join::after { content: ''; position: absolute; left: 50%; top: 0; height: 100%; border-left: 1px solid #0b0a5250; }
.ia-swarm-join i { position: absolute; width: 5px; height: 5px; background: #1800e1; border-radius: 50%; top: 0; opacity: 0; }
.ia-swarm-join i:first-child { left: -3px; }
.ia-swarm-join i:nth-child(2) { left: calc(50% - 2px); }
.ia-swarm-join i:last-child { right: -3px; }
.ia-impact[data-phase=building] .ia-agent-avatar { animation: ia-agent-think 1s ease-in-out infinite; }
.ia-impact[data-phase=building] .ia-agent:nth-child(2) .ia-agent-avatar { animation-delay: .2s; }
.ia-impact[data-phase=building] .ia-agent:nth-child(3) .ia-agent-avatar { animation-delay: .4s; }
.ia-impact[data-phase=building] .ia-agent::after { animation: ia-agent-progress .95s ease-in-out both; }
.ia-impact[data-phase=building] .ia-swarm-join i { animation: ia-transfer .8s linear infinite; }
.ia-impact[data-phase=building] .ia-swarm-join i:nth-child(2) { animation-delay: .15s; }
.ia-impact[data-phase=building] .ia-swarm-join i:nth-child(3) { animation-delay: .3s; }
.ia-impact[data-phase=result] .ia-agent::after { transform: scaleX(1); }
.ia-impact[data-phase=result] .ia-agent-avatar { background: #0b0a52; animation: ia-tick .5s both; }
.ia-impact[data-phase=result] .ia-agent:nth-child(2) .ia-agent-avatar { animation-delay: .1s; }
.ia-impact[data-phase=result] .ia-agent:nth-child(3) .ia-agent-avatar { animation-delay: .2s; }
@keyframes ia-agent-think { 50% { box-shadow: 0 0 0 6px #1800e118; transform: translateY(-3px); } }
@keyframes ia-agent-progress { to { transform: scaleX(1); } }
.ia-presenting .ia-swarm { margin-top: 8px; flex-shrink: 0; }
.ia-presenting .ia-swarm-label { margin-bottom: 5px; }
.ia-presenting .ia-agent { padding: 6px; gap: 3px; }
.ia-presenting .ia-agent-avatar { width: 21px; height: 21px; }
.ia-presenting .ia-agent-avatar svg { width: 12px; height: 12px; }
.ia-presenting .ia-agent-task { display: none; }
.ia-presenting .ia-swarm-join { height: 10px; }
.ia-presenting .ia-motion-track { height: 10px; }
@media(max-height: 760px) {
    .ia-presenting .ia-agent { display: grid; grid-template-columns: 20px 1fr; text-align: left; align-items: center; }
    .ia-presenting .ia-agent-avatar { grid-row: span 2; }
    .ia-presenting .ia-agent strong { font-size: 9px; }
    .ia-presenting .ia-swarm-label { font-size: 8px; }
}
.ip-paused .ia-impact .ia-agent::after { animation: none; }
@media(prefers-reduced-motion: reduce) { .ia-impact .ia-agent::after { animation: none; } }
.sa-section.ia-presenting .sa-layout { grid-template-rows: minmax(0,1fr); }
.sa-section.ia-presenting .sa-scenarios { min-height: 0; overflow: auto; scrollbar-width: thin; }
.sa-section.ia-presenting .sa-scenario-list button { min-height: 44px; padding: 7px 10px; }
.sa-section.ia-presenting .sa-store-preview { min-height: 0; }
.ia-impact-screen>.sw-root { z-index: 5; }
.ia-impact-screen .sw-bar { left: 6px; right: 6px; bottom: 6px; padding: 6px 8px; gap: 8px; }
.ia-impact-screen .sw-status { font-size: 10px; white-space: normal; flex: 1; }
.ia-impact-screen .sw-meter { min-width: 20px; max-width: 60px; }
.ia-impact-screen .sw-skip { min-height: 32px; padding: 5px 8px; font-size: 10px; }
.ia-impact-screen .sw-cursor>span { font-size: 9px; left: 12px; top: 16px; padding: 3px 5px; }
.ip-paused .ia-impact-screen .sw-root { display: none; }
.ia-impact-screen .sw-progress-indicator {
    flex-shrink: 0;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ffffff1f;
    color: #fff;
    font-size: 10px;
    white-space: nowrap;
}
/* Three independent streams merge directly into the shop canvas. */
.ia-impact .ia-motion-status { margin: 8px 0 0 !important; }
.ia-impact .ia-motion-track { display: none; }
.ia-impact .ia-swarm { margin-top: 8px; }
.ia-impact .ia-swarm-join {
    width: 100%;
    height: 34px;
    margin: 0 0 14px;
    border: 0;
    border-radius: 0;
}
.ia-impact .ia-swarm-join i {
    top: 0;
    left: auto;
    right: auto;
    width: calc(100% / 3);
    height: 20px;
    border-radius: 0;
    background: transparent;
    opacity: 1;
    animation: none;
    border-bottom: 1px solid #0b0a5235;
}
.ia-impact .ia-swarm-join i:first-child {
    left: calc(100% / 6);
    border-left: 1px solid #0b0a5235;
    border-bottom-left-radius: 12px;
}
.ia-impact .ia-swarm-join i:nth-child(2) {
    left: 50%;
    width: 0;
    border-left: 1px solid #0b0a5235;
    border-bottom: 0;
}
.ia-impact .ia-swarm-join i:last-child {
    left: 50%;
    border-right: 1px solid #0b0a5235;
    border-bottom-right-radius: 12px;
}
.ia-impact .ia-swarm-join::after {
    top: 20px;
    height: 14px;
    border-left-color: #0b0a5235;
}
.ia-impact .ia-swarm-join i::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    top: -2px;
    left: -2px;
    border-radius: 50%;
    background: #1800e1;
    box-shadow: 0 0 0 3px #1800e114, 0 0 9px #1800e160;
    opacity: 0;
}
.ia-impact[data-phase=building] .ia-swarm-join i:first-child::after {
    animation: ia-merge-left 1.8s linear infinite;
}
.ia-impact[data-phase=building] .ia-swarm-join i:nth-child(2)::after {
    animation: ia-merge-center 1.8s .18s linear infinite;
}
.ia-impact[data-phase=building] .ia-swarm-join i:last-child::after {
    animation: ia-merge-right 1.8s .36s linear infinite;
}
.ia-impact[data-phase=result] .ia-swarm-join {
    animation: ia-flow-complete .8s ease-out both;
}
.ia-impact[data-phase=building] .ia-agent::after {
    animation: ia-agent-progress 2.4s ease-out both;
}
@keyframes ia-merge-left {
    0% { left: -2px; top: -2px; opacity: 0; }
    10% { left: -2px; top: 5px; opacity: 1; }
    25% { left: -2px; top: 10px; }
    40% { left: 10px; top: 18px; }
    80% { left: calc(100% - 2px); top: 18px; opacity: 1; }
    100% { left: calc(100% - 2px); top: 32px; opacity: 0; }
}
@keyframes ia-merge-right {
    0% { left: calc(100% - 2px); top: -2px; opacity: 0; }
    10% { left: calc(100% - 2px); top: 5px; opacity: 1; }
    25% { left: calc(100% - 2px); top: 10px; }
    40% { left: calc(100% - 14px); top: 18px; }
    80% { left: -2px; top: 18px; opacity: 1; }
    100% { left: -2px; top: 32px; opacity: 0; }
}
@keyframes ia-merge-center {
    0%,35% { top: -2px; opacity: 0; }
    45% { opacity: 1; }
    80% { top: 18px; opacity: 1; }
    100% { top: 32px; opacity: 0; }
}
@keyframes ia-flow-complete {
    50% { filter: brightness(1.3); }
}
.sa-composer.is-customer-typing {
    background: #fff6ec;
    border-top-color: #ff7a00;
}
.sa-composer.is-customer-typing input {
    border-color: #ff7a00;
    color: #0b0a52;
    box-shadow: 0 0 0 3px #ff7a0015;
}
.sa-composer.is-customer-typing button { opacity: .55; }
.sa-composer.is-sending button {
    animation: ia-tick .28s ease-out;
    background: #1800e1;
    color: #fff;
}
.sa-bubble.is-replying::after {
    content: '';
    display: inline-block;
    height: 12px;
    width: 2px;
    margin-left: 3px;
    vertical-align: -2px;
    background: #1800e1;
    animation: sw-blink .65s steps(1) infinite;
}
.sa-progress::before {
    content: '•••';
    display: inline-block;
    letter-spacing: 2px;
    margin-right: 8px;
}
.ip-paused .ia-impact .ia-swarm-join i::after { animation: none; opacity: 0; }
.ip-paused .sa-bubble.is-replying::after { animation: none; }
@media(prefers-reduced-motion:reduce) {
    .ia-impact .ia-swarm-join i::after { animation: none !important; opacity: 0; }
    .sa-bubble.is-replying::after, .sa-composer.is-sending button { animation: none; }
}
.ia-impact[data-phase=building] .ia-swarm-join i {
    animation: none;
    opacity: 1;
    transform: none;
}
