.arch-ai,
.arch-ai * {
    box-sizing: border-box;
}

.arch-ai {
    --arch-ai-green: #027778;
    --arch-ai-ink: #202827;
    --arch-ai-muted: #727a79;
    position: fixed;
    z-index: 2147482999;
    bottom: 20px;
    left: 20px;
    font-family: 'Avenir', Arial, sans-serif;
}

.arch-ai__launcher {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--arch-ai-green);
    color: #fff;
    box-shadow: 0 5px 18px rgb(2 119 120 / 30%);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.arch-ai__launcher:hover {
    transform: translateY(-2px);
    background: #025f60;
}

.arch-ai__launcher:focus-visible,
.arch-ai__close:focus-visible,
.arch-ai__send:focus-visible,
.arch-ai__suggestions button:focus-visible {
    outline: 3px solid #8cc9c5;
    outline-offset: 3px;
}

.arch-ai__launcher svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.arch-ai__launcher-icon {
    display: block;
}

.arch-ai__launcher-close {
    display: none;
}

.arch-ai.is-open .arch-ai__launcher-icon {
    display: none;
}

.arch-ai.is-open .arch-ai__launcher-close {
    display: block;
}

.arch-ai__panel {
    position: absolute;
    bottom: 72px;
    left: 0;
    display: flex;
    width: min(360px, calc(100vw - 32px));
    height: min(480px, calc(100dvh - 112px));
    min-height: 340px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8eeec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 48px rgb(23 43 40 / 18%);
    transform-origin: bottom left;
    animation: arch-ai-appear .18s ease-out;
}

.arch-ai__panel[hidden] {
    display: none;
}

.arch-ai__header {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(120deg, #026d6e, #078987);
    color: #fff;
}

.arch-ai__brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.arch-ai__brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 12px;
    background: rgb(255 255 255 / 12%);
    font-family: Georgia, serif;
    font-size: 23px;
}

.arch-ai__brand-copy {
    min-width: 0;
}

.arch-ai__brand-title {
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arch-ai__brand-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    color: rgb(255 255 255 / 78%);
    font-size: 11px;
    line-height: 1.2;
}

.arch-ai__brand-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a7e8c6;
    box-shadow: 0 0 0 3px rgb(167 232 198 / 16%);
}

.arch-ai__close {
    display: flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.arch-ai__close:hover {
    background: rgb(255 255 255 / 14%);
}

.arch-ai__close svg,
.arch-ai__send svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.arch-ai__messages {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding: 18px 16px;
    background: #fbfcfb;
}

.arch-ai__message {
    max-width: 88%;
    padding: 11px 13px;
    border-radius: 13px;
    color: var(--arch-ai-ink);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.arch-ai__message p {
    margin: 0;
    white-space: pre-wrap;
}

.arch-ai__message--assistant {
    align-self: flex-start;
    border: 1px solid #e8eeec;
    border-bottom-left-radius: 4px;
    background: #fff;
}

.arch-ai__message--user {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    background: var(--arch-ai-green);
    color: #fff;
}

.arch-ai__message--pending {
    color: var(--arch-ai-muted);
}

.arch-ai__recommendations {
    display: grid;
    gap: 8px;
}

.arch-ai__property {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #dfe9e6;
    border-radius: 10px;
    background: #fff;
    color: var(--arch-ai-ink);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}

.arch-ai__property:hover {
    border-color: var(--arch-ai-green);
    background: #f4faf8;
}

.arch-ai__property-media {
    display: flex;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #e9f2ef;
    color: var(--arch-ai-green);
    font-family: Georgia, serif;
    font-size: 25px;
}

.arch-ai__property-thumb {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.arch-ai__property-body {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 5px;
    overflow: hidden;
}

.arch-ai__property-title {
    overflow: hidden;
    color: var(--arch-ai-green);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arch-ai__property-details {
    overflow: hidden;
    color: var(--arch-ai-muted);
    font-size: 11px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arch-ai__property-tags {
    display: flex;
    min-width: 0;
    gap: 5px;
    overflow: hidden;
}

.arch-ai__tag {
    max-width: 100%;
    overflow: hidden;
    padding: 3px 7px;
    border-radius: 10px;
    background: #eef6f4;
    color: #37615b;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arch-ai__demo-note {
    align-self: center;
    margin: 0;
    color: var(--arch-ai-muted);
    font-size: 11px;
    text-align: center;
}

.arch-ai__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.arch-ai__suggestions[hidden] {
    display: none;
}

.arch-ai__suggestions button {
    padding: 8px 10px;
    border: 1px solid #cfe2df;
    border-radius: 16px;
    background: #fff;
    color: var(--arch-ai-green);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.arch-ai__suggestions button:hover {
    background: #eef7f5;
}

.arch-ai__form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 14px 8px;
    border-top: 1px solid #edf0ef;
    background: #fff;
}

.arch-ai__input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e2e8e6;
    border-radius: 10px;
    outline: none;
    background: #f9fbfa;
    color: var(--arch-ai-ink);
    font: inherit;
    font-size: 13px;
}

.arch-ai__input:focus {
    border-color: var(--arch-ai-green);
    box-shadow: 0 0 0 3px rgb(2 119 120 / 10%);
}

.arch-ai__input::placeholder {
    color: #8b9391;
}

.arch-ai__send {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--arch-ai-green);
    color: #fff;
    cursor: pointer;
}

.arch-ai__send:hover {
    background: #025f60;
}

.arch-ai__send:disabled {
    cursor: wait;
    opacity: .65;
}

.arch-ai__footnote {
    margin: 0;
    padding: 0 14px 10px;
    background: #fff;
    color: var(--arch-ai-muted);
    font-size: 10px;
    text-align: center;
}

.arch-ai__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@keyframes arch-ai-appear {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .arch-ai {
        bottom: 16px;
        left: 16px;
    }

    .arch-ai__panel {
        bottom: 70px;
        width: min(360px, calc(100vw - 32px));
        height: min(480px, calc(100dvh - 100px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .arch-ai__launcher,
    .arch-ai__panel {
        animation: none;
        transition: none;
    }
}



 .arch-ai__launcher {    display: none !important;} 