.ik-search {
    --ik-orange: #eb5428;
    --ik-ink: #242321;
    --ik-line: #ece8e3;
    position: fixed;
    right: 24px;
    bottom: 50px;
    z-index: 10000;
    font-family: "Segoe UI",Arial,sans-serif;
    color: var(--ik-ink);
    font-size: 14px;
    line-height: 1.5
}

.ik-search * {
    box-sizing: border-box
}

.ik-search [hidden] {
    display: none!important
}

.ik-search button,.ik-search input {
    font: inherit
}

.ik-search button {
    cursor: pointer
}

.ik-search button:focus-visible,.ik-search a:focus-visible,.ik-search input:focus-visible {
    outline: 3px solid #ff9e73;
    outline-offset: 3px
}

.ik-search-launcher {
    border: 1px solid #f4d9ca;
    background: #fffaf6;
    border-radius: 18px;
    padding: 12px 20px 12px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px #44211122;
    text-align: left;
    color: var(--ik-ink);
    transition: transform .2s,box-shadow .2s
}

.ik-search-launcher:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px #44211130
}

.ik-search-symbol {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--ik-orange);
    color: var(--ik-orange);
    font-size: 25px;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 5px #fff4ec
}

.ik-search-launcher strong {
    display: block;
    font-size: 14px;
    font-weight: 650
}

.ik-search-launcher small {
    display: block;
    font-size: 12px;
    color: #26304d;
    margin-top: 1px;
    font-weight: 700;
}

.ik-search-panel {
    width: 400px;
    max-width: calc(100vw - 32px);
    height: min(620px,calc(100dvh - 48px));
    background: #fffdfa;
    border: 1px solid #eee5dd;
    border-radius: 20px;
    box-shadow: 0 18px 70px #2b201b30;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.ik-search-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 19px 18px;
    background: white;
    border-bottom: 1px solid var(--ik-line);
    flex-shrink: 0
}

.ik-search-header h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -.3px;
    color: var(--ik-ink);
    line-height: 1.4
}

.ik-search-header p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #090909;
}

.ik-search-header p span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #36aa7e;
    border-radius: 50%;
    margin-right: 3px
}

.ik-search-header>div {
    flex: 1
}

.ik-search-header>button {
    background: transparent;
    border: 0;
    width: 30px;
    height: 32px;
    color: #8c8178;
    border-radius: 7px;
    font-size: 23px;
    padding: 0
}

.ik-search-header>button:hover {
    background: #f8f1ea;
    color: var(--ik-ink)
}

.ik-search-info {
    padding: 10px 18px;
    color: #1f1f1f;
    font-size: 12px;
    border-bottom: 1px solid #f4e9df;
    flex-shrink: 0;
    font-weight: 600;
}

.ik-search-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px 16px;
    background-image: radial-gradient(#e9e0d7 .7px,transparent .7px);
    background-size: 15px 15px;
    scroll-behavior: smooth
}

.ik-search-message {
    max-width: 90%;
    width: fit-content;
    padding: 13px 15px;
    margin: 0 0 15px;
    border: 1px solid #efe8e1;
    border-radius: 16px 16px 16px 4px;
    background: white;
    box-shadow: 0 2px 8px #392b1805;
    white-space: pre-line;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere
}

.ik-search-message.ik-user {
    margin-left: auto;
    border-radius: 16px 16px 4px 16px;
    background: #28231f;
    color: #fff;
    border-color: #28231f
}

.ik-search-message.ik-error {
    color: #a32d24;
    border-color: #edc4bd
}

.ik-search-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px
}

.ik-search-quick button,.ik-search-more {
    border: 1px solid #f1d7c8;
    background: #fff9f4;
    color: #b14e28;
    font-size: 11px;
    border-radius: 20px;
    padding: 7px 11px;
    font-weight: 600
}

.ik-search-quick button:hover,.ik-search-more:hover {
    background: #ffeadc
}

.ik-search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 12px
}

.ik-search-filters span {
    font-size: 10px;
    background: #f5eee7;
    color: #826c5a;
    padding: 4px 8px;
    border-radius: 6px
}

.ik-search-card {
    display: flex;
    gap: 11px;
    padding: 11px;
    background: white;
    border: 1px solid var(--ik-line);
    border-radius: 12px;
    margin-bottom: 8px;
    color: var(--ik-ink);
    text-decoration: none!important;
    transition: border-color .15s
}

.ik-search-card:hover {
    color: var(--ik-ink);
    border-color: var(--ik-orange)
}

.ik-search-card img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 7px;
    background: #f0eae4
}

.ik-search-card>div {
    min-width: 0;
    flex: 1
}

.ik-search-card strong {
    font-size: 12px;
    line-height: 1.45;
    display: block;
    color: #332e29;
    overflow-wrap: anywhere
}

.ik-search-card small {
    display: block;
    color: #928173;
    font-size: 10px;
    margin: 3px 0
}

.ik-search-card b {
    font-size: 13px;
    color: var(--ik-orange)
}

.ik-search-form {
    padding: 12px 14px 9px;
    background: #fff;
    border-top: 1px solid var(--ik-line);
    flex-shrink: 0
}

.ik-search-composer {
    display: flex;
    gap: 8px;
    align-items: center;
    border: 1px solid #f1b895;
    border-radius: 27px;
    padding: 6px 6px 6px 16px;
    background: white
}

.ik-search-composer:focus-within {
    box-shadow: 0 0 0 3px #fff0e4;
    border-color: var(--ik-orange)
}

.ik-search-composer input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none!important;
    background: transparent;
    color: var(--ik-ink);
    font-size: 12px;
    padding: 6px 0;
    box-shadow: none
}

.ik-search-composer button {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ik-orange);
    color: white;
    font-size: 23px;
    font-weight: 500;
    line-height: 1
}

.ik-search button:disabled {
    cursor: wait;
    opacity: .55
}

.ik-search-form>p {
    text-align: center;
    color: #a79a8f;
    font-size: 9px;
    margin: 7px 0 0
}

.ik-search-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

.ik-search-typing {
    font-size: 12px;
    color: #978477;
    margin: 0 0 14px;
    padding: 0 8px
}

@media(max-width: 520px) {
    .ik-search {
        right:12px;
        bottom: 94px;
    }

    .ik-search-panel {
        width: calc(100vw - 24px);
        max-width: none;
        height: min(480px,calc(100dvh - 32px));
        border-radius: 17px
    }

    .ik-search-launcher {
        padding: 10px 15px 10px 10px;
        border-radius: 15px
    }

    .ik-search-launcher strong {
        font-size: 12px
    }

    .ik-search-symbol {
        width: 36px;
        height: 36px;
        font-size: 22px
    }

    .ik-search-header {
        padding: 15px
    }

    .ik-search-message {
        font-size: 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    .ik-search * {
        transition: none!important;
        scroll-behavior: auto!important
    }
}
