.fcai-page,
    .fcai-page * {
        box-sizing: border-box;
    }

    body.page-template-full_width_AI-php .fc-chw { display: none !important; }


    .fcai-page {
        --fcai-accent: var(--fcai-page-accent, #3478f6);
        --fcai-accent-dark: #2367e8;
        --fcai-ink: #1d2129;
        --fcai-muted: #4e5969;
        --fcai-line: #e2e8f0;
        --fcai-soft: #f7f8fa;
        position: relative;
        width: 100%;
        min-height: 70vh;
        padding: clamp(22px, 4vw, 54px) clamp(14px, 4vw, 42px) clamp(50px, 7vw, 90px);
        overflow: hidden;
        background:
            radial-gradient(circle at 8% 18%, rgba(52, 120, 246, .07), transparent 26rem),
            radial-gradient(circle at 95% 65%, rgba(255, 103, 80, .06), transparent 30rem),
            #f6f8fb;
        color: var(--fcai-ink);
        font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
    }

    .fcai-page button,
    .fcai-page textarea {
        font: inherit;
    }

    .fcai-page button {
        -webkit-appearance: none;
        appearance: none;
    }

    .fcai-inner {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 3%;
    }

    .fcai-hero {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: center;
        min-height: 220px;
        margin-bottom: 22px;
        padding: clamp(26px, 4vw, 46px);
        overflow: hidden;
        border: 1px solid #dce6f2;
        border-radius: 28px;
        background:
            radial-gradient(circle at 92% 8%, rgba(52, 120, 246, .12), transparent 22rem),
            radial-gradient(circle at 5% 100%, rgba(255, 103, 80, .07), transparent 20rem),
            linear-gradient(128deg, #f2f7ff 0%, #ffffff 58%, #fff8f5 100%);
        box-shadow: 0 18px 46px rgba(36, 74, 124, .09);
        color: var(--fcai-ink);
    }

    .fcai-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .34;
        background-image:
            linear-gradient(rgba(52, 120, 246, .055) 1px, transparent 1px),
            linear-gradient(90deg, rgba(52, 120, 246, .055) 1px, transparent 1px);
        background-size: 36px 36px;
        mask-image: linear-gradient(90deg, transparent 10%, #000 72%);
        pointer-events: none;
    }

    .fcai-hero-copy {
        position: relative;
        z-index: 2;
        max-width: 720px;
    }

    .fcai-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 13px;
        padding: 6px 11px;
        border: 1px solid #c9dcf5;
        border-radius: 999px;
        background: #fff;
        color: #4e5969;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .04em;
    }

    .fcai-eyebrow-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--fcai-accent);
        box-shadow: 0 0 0 4px rgba(52, 120, 246, .09);
    }

    .fcai-hero h2 {
        margin: 0;
        color: var(--fcai-ink);
        font-size: clamp(32px, 5vw, 54px);
        font-weight: 650;
        letter-spacing: -.035em;
        line-height: 1.08;
    }

    .fcai-hero h2 span {
        display: block;
        margin-top: 8px;
        color: var(--fcai-muted);
        font-size: .52em;
        font-weight: 450;
        letter-spacing: -.015em;
    }

    .fcai-hero p {
        max-width: 650px;
        margin: 17px 0 0;
        color: var(--fcai-muted);
        font-size: 14px;
        line-height: 1.8;
    }

    .fcai-hero-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 20px;
    }

    .fcai-hero-tags span {
        padding: 7px 10px;
        border: 1px solid #dbe5f1;
        border-radius: 9px;
        background: rgba(255, 255, 255, .82);
        color: #5e6b7d;
        font-size: 12px;
    }

    .fcai-hero-art {
        position: relative;
        z-index: 1;
        display: grid;
        place-items: center;
        min-height: 160px;
    }

    .fcai-orbit {
        position: absolute;
        width: 196px;
        height: 196px;
        border: 1px solid rgba(52, 120, 246, .18);
        border-radius: 50%;
    }

    .fcai-orbit::before,
    .fcai-orbit::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(52, 120, 246, .12);
        border-radius: 50%;
    }

    .fcai-orbit::before {
        inset: 24px;
    }

    .fcai-orbit::after {
        inset: 52px;
        background: color-mix(in srgb, var(--fcai-accent) 8%, transparent);
    }

    .fcai-spark {
        position: relative;
        z-index: 2;
        display: grid;
        place-items: center;
        width: 84px;
        height: 84px;
        border: 1px solid rgba(255, 255, 255, .55);
        border-radius: 25px;
        background: linear-gradient(145deg, #3478f6 0%, #715de0 58%, #ff725b 100%);
        box-shadow: 0 20px 44px rgba(52, 120, 246, .22), 0 0 50px rgba(113, 93, 224, .15);
        transform: rotate(-7deg);
    }

    .fcai-spark svg {
        width: 42px;
        height: 42px;
        fill: #fff;
        transform: rotate(7deg);
    }

    .fcai-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 310px;
        align-items: stretch;
        gap: 20px;
    }

    .fcai-chat {
        display: flex;
        flex-direction: column;
        min-width: 0;
        height: min(690px, calc(100vh - 120px));
        min-height: 560px;
        overflow: hidden;
        border: 1px solid var(--fcai-line);
        border-radius: 24px;
        background: #fff;
        box-shadow: 0 20px 48px rgba(28, 57, 42, .09);
    }

    .fcai-chat-head {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: none;
        padding: 16px 18px;
        border-bottom: 1px solid #e6ebf2;
        background: rgba(255, 255, 255, .96);
    }

    .fcai-head-avatar,
    .fcai-avatar {
        display: grid;
        place-items: center;
        flex: none;
        width: 38px;
        height: 38px;
        border-radius: 13px;
        background: color-mix(in srgb, var(--fcai-accent) 13%, #fff);
        color: var(--fcai-accent-dark);
    }

    .fcai-head-avatar svg,
    .fcai-avatar svg {
        width: 21px;
        height: 21px;
        fill: currentColor;
    }

    .fcai-head-copy {
        min-width: 0;
        flex: 1;
    }

    .fcai-head-copy strong {
        display: block;
        color: #1d2939;
        font-size: 14px;
        font-weight: 650;
        line-height: 1.4;
    }

    .fcai-head-status {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 2px;
        color: #667085;
        font-size: 11.5px;
    }

    .fcai-status-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #a8b1ac;
    }

    .fcai-page.is-online .fcai-status-dot {
        background: var(--fcai-accent);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--fcai-accent) 14%, transparent);
    }

    .fcai-new {
        flex: none;
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid #dbe4f0;
        border-radius: 9px;
        background: #f7f9fc;
        color: #52627a;
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        cursor: pointer;
        transition: border-color .18s ease, background .18s ease, color .18s ease;
    }

    .fcai-new:hover {
        border-color: color-mix(in srgb, var(--fcai-accent) 38%, #dbe4f0);
        background: color-mix(in srgb, var(--fcai-accent) 7%, #fff);
        color: var(--fcai-accent-dark);
    }

    .fcai-lead-open {
        flex: none;
        min-height: 36px;
        padding: 0 14px;
        border: 1px solid #1d4ed8;
        border-radius: 9px;
        background: #2563eb;
        color: #fff;
        font-size: 11.5px;
        font-weight: 650;
        box-shadow: 0 6px 16px rgba(37, 99, 235, .2);
        cursor: pointer;
        transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
    }

    .fcai-lead-open:hover {
        border-color: #1e40af;
        background: #1d4ed8;
        color: #fff;
        box-shadow: 0 8px 20px rgba(37, 99, 235, .26);
        transform: translateY(-1px);
    }

    .fcai-messages {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 22px 20px 14px;
        background:
            radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--fcai-accent) 4%, transparent), transparent 24rem),
            #fbfcfe;
        overscroll-behavior: contain;
        touch-action: pan-y;
        scrollbar-gutter: stable;
    }

    .fcai-chat.is-lead-mode .fcai-messages,
    .fcai-chat.is-lead-mode .fcai-suggestions,
    .fcai-chat.is-lead-mode .fcai-composer {
        display: none;
    }

    .fcai-lead-panel {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        scrollbar-gutter: stable;
        padding: clamp(20px, 4vw, 34px);
        background:
            radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--fcai-accent) 6%, transparent), transparent 22rem),
            #f8fafc;
    }

    .fcai-lead-panel[hidden] {
        display: none;
    }

    .fcai-lead-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        max-width: 620px;
        margin: 0 auto 16px;
    }

    .fcai-lead-head h2 {
        margin: 0;
        color: #1d2939;
        font-size: 18px;
        font-weight: 650;
        letter-spacing: -.015em;
    }

    .fcai-lead-head p {
        margin: 5px 0 0;
        color: #667085;
        font-size: 12px;
        line-height: 1.7;
    }

    .fcai-lead-back {
        flex: none;
        min-height: 32px;
        padding: 0 9px;
        border: 1px solid #dce4ef;
        border-radius: 8px;
        background: #fff;
        color: #667085;
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
    }

    .fcai-lead-form {
        max-width: 620px;
        margin: 0 auto;
        padding: clamp(16px, 3vw, 24px);
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(36, 74, 124, .065);
    }

    .fcai-lead-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 13px;
    }

    .fcai-lead-grid label {
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
    }

    .fcai-lead-grid label > span {
        color: #475569;
        font-size: 12px;
        font-weight: 650;
    }

    .fcai-lead-grid input,
    .fcai-lead-grid textarea {
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        border: 1px solid #dce4ef;
        border-radius: 10px;
        outline: none;
        background: #fbfcfe;
        color: #1f2937;
        font: inherit;
        font-size: 13px;
        line-height: 1.55;
    }

    .fcai-lead-grid textarea {
        resize: vertical;
    }

    .fcai-lead-grid input:focus,
    .fcai-lead-grid textarea:focus {
        border-color: var(--fcai-accent);
        background: #fff;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--fcai-accent) 10%, transparent);
    }

    .fcai-lead-wide {
        grid-column: 1 / -1;
    }

    .fcai-lead-hp {
        position: absolute !important;
        left: -9999px !important;
        width: 1px !important;
        height: 1px !important;
        opacity: 0 !important;
    }

    .fcai-lead-consent {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-top: 13px;
        color: #667085;
        font-size: 11px;
        line-height: 1.7;
        cursor: pointer;
    }

    .fcai-lead-consent input {
        flex: none;
        margin-top: 2px;
        accent-color: var(--fcai-accent);
    }

    .fcai-lead-status {
        min-height: 18px;
        margin: 8px 0 0;
        color: #667085;
        font-size: 11.5px;
        line-height: 1.6;
    }

    .fcai-lead-status.is-error {
        color: #b42318;
    }

    .fcai-lead-status.is-success {
        color: #16794d;
    }

    .fcai-lead-submit {
        width: 100%;
        min-height: 42px;
        margin-top: 8px;
        border: 0;
        border-radius: 10px;
        background: var(--fcai-accent);
        color: #fff;
        font: inherit;
        font-size: 13px;
        font-weight: 650;
        cursor: pointer;
    }

    .fcai-lead-submit:disabled {
        opacity: .6;
        cursor: wait;
    }

    .fcai-message {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        margin-bottom: 15px;
        animation: fcai-message-in .2s ease both;
    }

    .fcai-message.is-user {
        justify-content: flex-end;
        padding-left: 54px;
    }

    .fcai-message.is-assistant {
        padding-right: 54px;
    }

    .fcai-avatar {
        width: 31px;
        height: 31px;
        border-radius: 10px;
    }

    .fcai-avatar svg {
        width: 17px;
        height: 17px;
    }

    .fcai-message-body {
        min-width: 0;
        max-width: 86%;
    }

    .fcai-message.is-user .fcai-message-body {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .fcai-bubble {
        padding: 11px 14px;
        border: 1px solid #e2e8f0;
        border-radius: 15px 15px 15px 5px;
        background: #fff;
        box-shadow: 0 4px 13px rgba(36, 74, 124, .05);
        color: #334155;
        font-size: 14px;
        line-height: 1.75;
        word-break: break-word;
    }

    .fcai-bubble p {
        margin: 0;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    .fcai-message.is-user .fcai-bubble {
        border-color: var(--fcai-accent);
        border-radius: 15px 15px 5px;
        background: var(--fcai-accent);
        box-shadow: none;
        color: #fff;
    }

    .fcai-message-time {
        display: block;
        margin-top: 5px;
        padding: 0 3px;
        color: #98a2b3;
        font-size: 10.5px;
    }

    .fcai-sources {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin-top: 8px;
    }

    .fcai-sources-label {
        color: #8a96a8;
        font-size: 11px;
    }

    .fcai-source {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        padding: 2px 8px;
        border: 1px solid #e1e7f0;
        border-radius: 999px;
        background: #f8fafc;
        color: #52627a;
        font-size: 11px;
        text-decoration: none;
    }

    .fcai-source:hover {
        border-color: color-mix(in srgb, var(--fcai-accent) 40%, #e1e7f0);
        color: var(--fcai-accent-dark);
    }

    .fcai-loading {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-width: 54px;
        min-height: 18px;
    }

    .fcai-loading i {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--fcai-accent-dark);
        animation: fcai-dot 1s ease-in-out infinite;
    }

    .fcai-loading i:nth-child(2) {
        animation-delay: .14s;
    }

    .fcai-loading i:nth-child(3) {
        animation-delay: .28s;
    }

    .fcai-error {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 9px 0 15px 40px;
        padding: 10px 12px;
        border: 1px solid #f0d3d3;
        border-radius: 11px;
        background: #fff7f7;
        color: #a33b3b;
        font-size: 12.5px;
        line-height: 1.6;
    }

    .fcai-retry {
        flex: none;
        min-height: 28px;
        padding: 0 9px;
        border: 1px solid currentColor;
        border-radius: 7px;
        background: transparent;
        color: inherit;
        font-size: 11.5px;
        cursor: pointer;
    }

    .fcai-suggestions {
        flex: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0 18px 14px;
        background: #fbfcfe;
    }

    .fcai-suggestions[hidden] {
        display: none;
    }

    .fcai-suggestion {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 40px;
        padding: 8px 11px;
        border: 1px solid #e1e7f0;
        border-radius: 10px;
        background: #fff;
        color: #475569;
        font-size: 12px;
        text-align: left;
        cursor: pointer;
        transition: transform .16s ease, border-color .16s ease, color .16s ease;
    }

    .fcai-suggestion::after {
        content: "↗";
        color: #98a2b3;
        font-size: 13px;
    }

    .fcai-suggestion:hover {
        border-color: color-mix(in srgb, var(--fcai-accent) 40%, #e1e7f0);
        color: var(--fcai-accent-dark);
        transform: translateY(-1px);
    }

    .fcai-suggestion:disabled {
        opacity: .5;
        cursor: default;
        transform: none;
    }

    .fcai-composer {
        flex: none;
        padding: 13px 14px 11px;
        border-top: 1px solid #e5eaf1;
        background: #fff;
        box-shadow: 0 -9px 26px rgba(24, 47, 35, .035);
    }

    .fcai-compose-row {
        display: flex;
        align-items: flex-end;
        gap: 9px;
    }

    .fcai-input {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        height: 48px;
        min-height: 48px;
        max-height: 136px;
        padding: 12px 14px;
        overflow-y: hidden;
        resize: none;
        border: 1px solid #dce4ef;
        border-radius: 12px;
        outline: 0;
        background: #fbfcfe;
        color: #1f2937;
        font-size: 14px;
        line-height: 22px;
        box-shadow: none;
        transition: border-color .17s ease, background .17s ease, box-shadow .17s ease;
    }

    .fcai-input::placeholder {
        color: #98a2b3;
    }

    .fcai-input:focus {
        border-color: color-mix(in srgb, var(--fcai-accent) 70%, #dce4ef);
        background: #fff;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--fcai-accent) 11%, transparent);
    }

    .fcai-send {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: var(--fcai-accent);
        color: #fff;
        cursor: pointer;
        box-shadow: 0 7px 18px color-mix(in srgb, var(--fcai-accent) 23%, transparent);
        transition: transform .16s ease, filter .16s ease, opacity .16s ease;
    }

    .fcai-send:hover {
        filter: brightness(.94);
        transform: translateY(-1px);
    }

    .fcai-send:disabled,
    .fcai-input:disabled {
        opacity: .55;
        cursor: not-allowed;
        transform: none;
    }

    .fcai-send svg {
        width: 19px;
        height: 19px;
        fill: currentColor;
    }

    .fcai-compose-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 7px;
        padding: 0 2px;
        color: #929e97;
        font-size: 10.5px;
    }

    .fcai-count.is-near {
        color: #b56c20;
    }

    .fcai-aside {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .fcai-side-card {
        padding: 19px;
        border: 1px solid var(--fcai-line);
        border-radius: 18px;
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 10px 28px rgba(24, 47, 35, .045);
    }

    .fcai-side-card h2 {
        margin: 0 0 15px;
        color: #1d2939;
        font-size: 14px;
        font-weight: 650;
        line-height: 1.4;
    }

    .fcai-capabilities {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .fcai-capability {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .fcai-capability .fcai-capability-icon {
        display: grid;
        place-items: center;
        align-items: center;
        justify-content: center;
        flex: none;
        width: 31px;
        height: 31px;
        border-radius: 9px;
        background: color-mix(in srgb, var(--fcai-accent) 9%, #fff);
        color: var(--fcai-accent-dark);
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        text-align: center;
    }

    .fcai-capability b {
        display: block;
        margin-bottom: 2px;
        color: #344054;
        font-size: 12.5px;
        font-weight: 650;
    }

    .fcai-capability span {
        display: block;
        color: #7a8798;
        font-size: 11.5px;
        line-height: 1.6;
    }

    .fcai-side-note {
        margin: 13px 0 0;
        padding-top: 13px;
        border-top: 1px dashed #e2e8f0;
        color: #7a8798;
        font-size: 11.5px;
        line-height: 1.7;
    }

    .fcai-promo {
        position: relative;
        overflow: hidden;
        border-color: color-mix(in srgb, var(--fcai-accent) 24%, var(--fcai-line));
        background:
            linear-gradient(145deg, color-mix(in srgb, var(--fcai-accent) 8%, #fff), #fff 72%);
    }

    .fcai-promo::after {
        content: "";
        position: absolute;
        right: -45px;
        top: -54px;
        width: 130px;
        height: 130px;
        border: 1px solid color-mix(in srgb, var(--fcai-accent) 13%, transparent);
        border-radius: 50%;
        box-shadow: inset 0 0 0 24px rgba(255, 255, 255, .26);
    }

    .fcai-promo > * {
        position: relative;
        z-index: 1;
    }

    .fcai-promo p {
        margin: 0;
        color: #5f6b7a;
        font-size: 12px;
        line-height: 1.75;
    }

    .fcai-promo-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 11px;
    }

    .fcai-promo-tags span {
        padding: 4px 7px;
        border: 1px solid color-mix(in srgb, var(--fcai-accent) 17%, #e2e8f0);
        border-radius: 6px;
        background: rgba(255, 255, 255, .68);
        color: #667085;
        font-size: 10px;
        line-height: 1.2;
    }

    .fcai-promo-link {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 34px;
        margin-top: 13px;
        padding: 0 11px;
        border: 1px solid color-mix(in srgb, var(--fcai-accent) 28%, #dbe4f0);
        border-radius: 8px;
        background: #fff;
        color: var(--fcai-accent-dark);
        font-size: 11.5px;
        font-weight: 650;
        text-decoration: none;
    }

    .fcai-promo-link:hover {
        border-color: var(--fcai-accent);
        background: color-mix(in srgb, var(--fcai-accent) 6%, #fff);
        color: var(--fcai-accent-dark);
    }

    .fcai-human {
        position: relative;
        overflow: hidden;
        background:
            linear-gradient(145deg, color-mix(in srgb, var(--fcai-accent) 13%, #fff), #fff 70%);
    }

    .fcai-human::after {
        content: "";
        position: absolute;
        right: -36px;
        bottom: -42px;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: color-mix(in srgb, var(--fcai-accent) 10%, transparent);
    }

    .fcai-human p {
        position: relative;
        z-index: 1;
        margin: 0;
        color: #667085;
        font-size: 12px;
        line-height: 1.7;
    }

    .fcai-human-link {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 35px;
        margin-top: 12px;
        padding: 0 12px;
        border-radius: 9px;
        background: var(--fcai-accent);
        color: #fff;
        font-size: 11.5px;
        font-weight: 650;
        text-decoration: none;
    }

    .fcai-human-link:hover {
        filter: brightness(.94);
        color: #fff;
    }

    .fcai-privacy {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        padding: 2px 5px;
        color: #8993a4;
        font-size: 10.5px;
        line-height: 1.7;
    }

    .fcai-privacy svg {
        flex: none;
        width: 14px;
        height: 14px;
        margin-top: 1px;
        fill: currentColor;
    }

    .fcai-noscript {
        margin: 12px 18px;
        padding: 10px 12px;
        border: 1px solid #efd9b9;
        border-radius: 9px;
        background: #fffaf1;
        color: #765622;
        font-size: 12px;
    }

    .fcai-upsell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin: 17px 0 15px 40px;
        padding: 13px 14px;
        border: 1px solid color-mix(in srgb, var(--fcai-accent) 22%, #e2e8f0);
        border-radius: 13px;
        background:
            linear-gradient(120deg, color-mix(in srgb, var(--fcai-accent) 8%, #fff), #fff);
    }

    .fcai-upsell-copy {
        min-width: 0;
    }

    .fcai-upsell-copy b {
        display: block;
        margin-bottom: 3px;
        color: #344054;
        font-size: 12.5px;
        font-weight: 650;
    }

    .fcai-upsell-copy p {
        margin: 0;
        color: #7a8798;
        font-size: 11px;
        line-height: 1.55;
    }

    .fcai-upsell-link {
        flex: none;
        display: inline-flex;
        align-items: center;
        min-height: 31px;
        padding: 0 10px;
        border-radius: 8px;
        background: var(--fcai-accent);
        color: #fff;
        font-size: 10.5px;
        font-weight: 650;
        text-decoration: none;
    }

    .fcai-upsell-link:hover {
        filter: brightness(.94);
        color: #fff;
    }

    .fcai-page button:focus-visible,
    .fcai-page a:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--fcai-accent) 72%, #1d4ed8);
        outline-offset: 2px;
    }

    @keyframes fcai-message-in {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: none; }
    }

    @keyframes fcai-dot {
        0%, 70%, 100% { opacity: .3; transform: translateY(0); }
        35% { opacity: 1; transform: translateY(-2px); }
    }

    @media (max-width: 980px) {
        .fcai-hero {
            grid-template-columns: minmax(0, 1fr) 210px;
        }

        .fcai-layout {
            grid-template-columns: minmax(0, 1fr) 270px;
        }
    }

    @media (max-width: 820px) {
        .fcai-page {
            padding: 16px 12px 44px;
        }

        .fcai-hero {
            grid-template-columns: minmax(0, 1fr);
            min-height: 0;
            padding: 26px 22px;
            border-radius: 22px;
        }

        .fcai-hero-art {
            display: none;
        }

        .fcai-hero h2 {
            font-size: clamp(30px, 9vw, 42px);
        }

        .fcai-layout {
            grid-template-columns: minmax(0, 1fr);
        }

        .fcai-chat {
            height: calc(100svh - 112px);
            min-height: 590px;
            border-radius: 20px;
        }

        .fcai-aside {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            align-items: start;
        }

        .fcai-privacy {
            grid-column: 1 / -1;
        }
    }

    @media (max-width: 560px) {
        .fcai-page {
            padding-right: 8px;
            padding-left: 8px;
        }

        .fcai-hero {
            margin-bottom: 12px;
            padding: 23px 18px;
            border-radius: 18px;
        }

        .fcai-hero-tags {
            gap: 6px;
        }

        .fcai-hero-tags span {
            padding: 6px 8px;
            font-size: 10.5px;
        }

        .fcai-chat {
            min-height: 560px;
            border-radius: 17px;
        }

        .fcai-chat-head {
            padding: 13px 14px;
            gap: 8px;
        }

        .fcai-messages {
            padding: 17px 12px 10px;
        }

        .fcai-message.is-user {
            padding-left: 30px;
        }

        .fcai-message.is-assistant {
            padding-right: 24px;
        }

        .fcai-message-body {
            max-width: 90%;
        }

        .fcai-bubble {
            font-size: 13.5px;
        }

        .fcai-suggestions {
            grid-template-columns: minmax(0, 1fr);
            padding: 0 12px 11px;
        }

        .fcai-suggestion {
            min-height: 37px;
        }

        .fcai-composer {
            padding: 10px;
        }

        .fcai-input {
            font-size: 16px;
        }

        .fcai-send {
            width: 46px;
            height: 46px;
            border-radius: 11px;
        }

        .fcai-input {
            height: 46px;
            min-height: 46px;
        }

        .fcai-upsell {
            align-items: flex-start;
            flex-direction: column;
            margin-left: 0;
            gap: 9px;
        }

        .fcai-lead-panel {
            padding: 16px 12px;
        }

        .fcai-lead-head {
            flex-direction: column;
            gap: 10px;
        }

        .fcai-lead-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .fcai-lead-wide {
            grid-column: auto;
        }

        .fcai-lead-open,
        .fcai-new {
            min-height: 32px;
            padding-right: 8px;
            padding-left: 8px;
            font-size: 10.5px;
        }

        .fcai-compose-meta span:first-child {
            display: none;
        }

        .fcai-compose-meta {
            justify-content: flex-end;
        }

        .fcai-aside {
            grid-template-columns: minmax(0, 1fr);
        }

        .fcai-privacy {
            grid-column: auto;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .fcai-page *,
        .fcai-page *::before,
        .fcai-page *::after {
            scroll-behavior: auto !important;
            animation-duration: .01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: .01ms !important;
        }
    }
