:root {
    --askora-bg: #f7f8fb;
    --askora-surface: #ffffff;
    --askora-text: #151923;
    --askora-muted: #5d6472;
    --askora-border: #e5e8ef;
    --askora-primary: #334155;
    --askora-primary-dark: #1e293b;
    --askora-soft: #f1f5f9;
    --askora-radius: 22px;
    --askora-shadow: 0 18px 50px rgba(21, 25, 35, .08);
}

.askora-wrap {
    color: var(--askora-text);
    font-family: inherit;
    line-height: 1.65;
}

.askora-wrap * {
    box-sizing: border-box;
}

.askora-container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.askora-hero,
.askora-page-hero {
    padding: clamp(56px, 8vw, 104px) 0;
    background: radial-gradient(circle at top right, var(--askora-soft), transparent 42%), var(--askora-bg);
}

.askora-hero-grid,
.askora-split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 32px;
    align-items: center;
}

.askora-kicker {
    margin: 0 0 12px;
    color: var(--askora-primary);
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: .85rem;
}

.askora-wrap h1,
.askora-wrap h2,
.askora-wrap h3,
.askora-wrap p {
    margin-top: 0;
}

.askora-wrap h1 {
    max-width: 850px;
    margin-bottom: 18px;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.askora-wrap h2 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.askora-lead,
.askora-page-hero p {
    max-width: 780px;
    color: var(--askora-muted);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.askora-section {
    padding: clamp(44px, 7vw, 82px) 0;
}

.askora-soft {
    background: var(--askora-bg);
}

.askora-grid {
    display: grid;
    gap: 20px;
}

.askora-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.askora-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.askora-card,
.askora-tile {
    background: var(--askora-surface);
    border: 1px solid var(--askora-border);
    border-radius: var(--askora-radius);
    box-shadow: var(--askora-shadow);
}

.askora-card {
    padding: 26px;
}

.askora-hero-card ul {
    margin: 0;
    padding-left: 20px;
}

.askora-featured {
    border-color: rgba(51, 65, 85, .28);
}

.askora-tile {
    display: block;
    padding: 20px;
    color: var(--askora-text);
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.askora-tile:hover {
    transform: translateY(-2px);
    border-color: var(--askora-primary);
}

.askora-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.askora-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.askora-btn:hover {
    transform: translateY(-1px);
}

.askora-btn-primary {
    color: #fff;
    background: var(--askora-primary);
}

.askora-btn-primary:hover {
    color: #fff;
    background: var(--askora-primary-dark);
}

.askora-btn-secondary {
    color: var(--askora-text);
    background: #fff;
    border: 1px solid var(--askora-border);
}

.askora-link {
    color: var(--askora-primary);
    font-weight: 800;
}

.askora-muted,
.askora-note {
    color: var(--askora-muted);
}

.askora-steps {
    display: grid;
    gap: 18px;
}

.askora-steps article {
    position: relative;
    padding: 24px 24px 24px 76px;
    background: #fff;
    border: 1px solid var(--askora-border);
    border-radius: var(--askora-radius);
}

.askora-steps span {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--askora-primary);
    font-weight: 800;
}

.askora-cta {
    padding: 64px 0;
    text-align: center;
    background: var(--askora-text);
    color: #fff;
}

.askora-cta h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .askora-hero-grid,
    .askora-split,
    .askora-grid-3,
    .askora-grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .askora-container {
        width: min(100% - 24px, 1120px);
    }

    .askora-card,
    .askora-steps article {
        padding: 20px;
    }

    .askora-steps article {
        padding-left: 20px;
    }

    .askora-steps span {
        position: static;
        margin-bottom: 12px;
    }

    .askora-actions,
    .askora-btn {
        width: 100%;
    }
}

/* Home category image cards - WebP tiles */
.askora-home .askora-home-container {
    width: min(1480px, calc(100% - 36px));
}

.askora-home-hero {
    padding: clamp(52px, 7vw, 96px) 0;
}

.askora-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(620px, 1.18fr);
    gap: clamp(34px, 5vw, 76px);
    align-items: center;
}

.askora-home-copy h1 {
    max-width: 680px;
    font-size: clamp(2.8rem, 4.9vw, 5.4rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.askora-start-card {
    padding: clamp(24px, 3vw, 42px);
    border-radius: 34px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
}

.askora-start-head {
    max-width: 860px;
    margin: 0 auto clamp(22px, 3vw, 34px);
    text-align: center;
}

.askora-start-head h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 3.3vw, 4.1rem);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.askora-start-head p {
    margin-bottom: 22px;
    color: var(--askora-muted);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.askora-start-search {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid var(--askora-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(21, 25, 35, .06);
    color: #718096;
}

.askora-start-search span {
    font-size: 1.45rem;
    line-height: 1;
}

.askora-start-search input,
.askora-start-search textarea {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--askora-text);
    font: inherit;
}

.askora-start-search input::placeholder,
.askora-start-search textarea::placeholder {
    color: #687389;
    opacity: .92;
}

.askora-category-image-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.3vw, 18px);
}

.askora-category-image-card {
    display: block;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 0;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .075);
    text-decoration: none;
    transform: translateY(0);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.askora-category-image-card:hover,
.askora-category-image-card:focus-visible {
    transform: translateY(-4px);
    filter: saturate(1.03);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .13);
}

.askora-category-image-card:focus-visible {
    outline: 3px solid rgba(51, 65, 85, .22);
    outline-offset: 4px;
}

.askora-category-image-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
    object-position: center center;
    border-radius: inherit;
}

@media (max-width: 1280px) {
    .askora-home-hero-grid {
        grid-template-columns: 1fr;
    }

    .askora-home-copy {
        max-width: 860px;
        margin: 0 auto;
        text-align: center;
    }

    .askora-home-copy .askora-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .askora-home-copy .askora-actions {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .askora-category-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .askora-home .askora-home-container {
        width: min(100% - 24px, 1480px);
    }

    .askora-start-card {
        padding: 18px;
        border-radius: 26px;
    }

    .askora-start-search {
        min-height: 54px;
        padding: 0 14px;
        border-radius: 16px;
    }

    .askora-category-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Hotfix: Home hero only with category chooser, no extra marketing intro */
.askora-home-hero {
    padding: clamp(58px, 7vw, 112px) 0 clamp(54px, 6vw, 92px);
}

.askora-home .askora-home-container {
    width: min(1180px, calc(100% - 36px));
}

.askora-home-hero-single {
    display: flex;
    justify-content: center;
    align-items: center;
}

.askora-home-hero-single .askora-start-card {
    width: 100%;
    max-width: 1060px;
}

.askora-home-hero-single .askora-start-head {
    max-width: 880px;
}

.askora-home-hero-single .askora-start-head h2 {
    font-size: clamp(0.92rem, 2.16vw, 2.16rem);
    line-height: 1.12;
    white-space: nowrap;
}

.askora-home-hero-single .askora-category-image-grid {
    gap: clamp(14px, 1.8vw, 24px);
}

@media (max-width: 560px) {
    .askora-home-hero {
        padding: 26px 0 44px;
    }

    .askora-home .askora-home-container {
        width: min(100% - 22px, 1180px);
    }

    .askora-home-hero-single .askora-start-card {
        border-radius: 24px;
    }

    .askora-home-hero-single .askora-start-head h2 {
        font-size: clamp(0.84rem, 3.52vw, 1.04rem);
        letter-spacing: -.025em;
    }
}

/* Hotfix: more breathing room between Home heading and intro text */
.askora-home-hero-single .askora-start-head h2 {
    margin-bottom: clamp(20px, 2.2vw, 34px);
}

.askora-home-hero-single .askora-start-head p {
    margin-top: 0;
}

@media (max-width: 560px) {
    .askora-home-hero-single .askora-start-head h2 {
        margin-bottom: 18px;
    }
}

/* Hotfix: equal vertical rhythm between Home intro text and search field */
.askora-home-hero-single .askora-start-head p {
    margin-bottom: clamp(20px, 2.2vw, 34px);
}

@media (max-width: 560px) {
    .askora-home-hero-single .askora-start-head p {
        margin-bottom: 18px;
    }
}


/* Hotfix: cleaner Home chooser rhythm - no duplicate intro text */
.askora-home-hero-single .askora-start-head {
    --askora-home-rhythm: clamp(22px, 2.4vw, 36px);
    margin-bottom: var(--askora-home-rhythm);
}

.askora-home-hero-single .askora-start-head h2 {
    margin-bottom: var(--askora-home-rhythm);
}

.askora-home-hero-single .askora-start-head p {
    display: none;
}

.askora-home-hero-single .askora-start-search {
    margin: 0 auto;
}

@media (max-width: 560px) {
    .askora-home-hero-single .askora-start-head {
        --askora-home-rhythm: 18px;
    }
}


/* Askora Home chat form bridge */
.askora-home-chat-form {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.askora-home-chat-form .askora-start-search {
    width: 100%;
    box-sizing: border-box;
}

.askora-home-chat-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Askora front home chat icons: plus, microphone, send arrow */
.askora-home-chat-form .askora-start-search.askora-home-chat-input {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 34px 34px 40px;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 0 10px 0 20px;
    box-sizing: border-box;
}

.askora-home-chat-form .askora-start-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    line-height: 1;
}

.askora-home-chat-form .askora-start-search input,
.askora-start-search textarea {
    min-height: 40px;
    padding: 0;
}

.askora-home-chat-attach-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.askora-home-chat-tool,
.askora-home-chat-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.askora-home-chat-tool {
    background: #f1f5f9;
    color: #334155;
    box-shadow: none;
}

.askora-home-chat-tool:hover,
.askora-home-chat-tool:focus {
    background: #e8eef7;
    color: #0f172a;
}

.askora-home-chat-mic.is-listening,
.askora-home-chat-mic[aria-pressed="true"] {
    background: #5b687a;
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(91, 104, 122, .12), 0 10px 22px rgba(51, 65, 85, .16);
}

.askora-home-chat-send {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: #5b687a;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(51, 65, 85, .16);
}

.askora-home-chat-send:hover,
.askora-home-chat-send:focus {
    background: #475569;
    color: #ffffff;
    transform: translateY(-1px);
}

.askora-home-attach-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    left: auto;
    bottom: auto;
    z-index: 40;
    min-width: 230px;
    padding: 8px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, .98);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

.askora-home-voice-status {
    position: absolute;
    left: 52px;
    right: 96px;
    bottom: -24px;
    min-height: 16px;
    margin: 0;
    padding: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

@media (max-width: 640px) {
    .askora-home-chat-form .askora-start-search.askora-home-chat-input {
        grid-template-columns: auto minmax(0, 1fr) 32px 32px 38px;
        gap: 6px;
        padding: 0 8px 0 14px;
        border-radius: 18px;
    }

    .askora-home-chat-tool {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 16px;
    }

    .askora-home-chat-send {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    .askora-home-voice-status {
        left: 14px;
        right: 14px;
        bottom: -24px;
        text-align: center;
    }
}


/* Askora front home chat: textarea grows from 1 to 4 lines, then scrolls internally */
.askora-home-chat-form .askora-start-search.askora-home-chat-input {
    align-items: center;
    transition: min-height .16s ease, padding .16s ease;
}

.askora-home-chat-form .askora-start-search.askora-home-chat-input:has(textarea) {
    min-height: 58px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.askora-home-chat-form .askora-start-search textarea {
    width: 100%;
    min-width: 0;
    min-height: 22px;
    max-height: 96px;
    padding: 0;
    border: 0;
    outline: 0;
    resize: none;
    overflow-y: hidden;
    background: transparent;
    color: var(--askora-text);
    box-shadow: none;
    box-sizing: border-box;
    font: inherit;
    line-height: 1.45;
}

.askora-home-chat-form .askora-start-search textarea.askora-ai-textarea-scroll,
.askora-home-chat-form .askora-start-search textarea[data-askora-ai-has-scroll="1"] {
    overflow-y: auto;
}

@media (max-width: 640px) {
    .askora-home-chat-form .askora-start-search.askora-home-chat-input:has(textarea) {
        min-height: 56px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .askora-home-chat-form .askora-start-search textarea {
        max-height: 92px;
        line-height: 1.42;
    }
}

/* Hotfix: mobile-only home overall layout.
   Desktop stays unchanged. On mobile the text area sits on top,
   with the search icon on the lower left and action icons on the lower right. */
@media (max-width: 640px) {
    .askora-home-chat-form .askora-start-search.askora-home-chat-input {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 32px 32px 38px;
        grid-template-areas:
            "message message message message message"
            "search  space   attach  mic     send";
        grid-template-rows: minmax(24px, auto) 34px;
        align-items: center;
        gap: 4px 6px;
        min-height: 78px;
        padding: 9px 10px 8px 14px;
    }

    .askora-home-chat-form .askora-start-search-icon {
        grid-area: search;
        align-self: center;
        justify-self: center;
    }

    .askora-home-chat-form .askora-start-search textarea {
        grid-area: message;
        width: 100%;
        min-height: 24px;
        align-self: start;
    }

    .askora-home-chat-form .askora-home-chat-attach-wrap {
        grid-area: attach;
        align-self: center;
        justify-self: center;
    }

    .askora-home-chat-form .askora-home-chat-mic {
        grid-area: mic;
        align-self: center;
        justify-self: center;
    }

    .askora-home-chat-form .askora-home-chat-send {
        grid-area: send;
        align-self: center;
        justify-self: center;
    }
}

/* Hotfix: mobile-only centered prompt text without changing desktop placeholder. */
@media (max-width: 640px) {
    .askora-home-chat-form .askora-start-search.askora-home-chat-input::before {
        content: "Od czego zaczynamy?";
        grid-area: message;
        display: block;
        align-self: start;
        justify-self: stretch;
        text-align: left;
        white-space: pre-line;
        line-height: 1.42;
        color: #65718a;
        pointer-events: none;
        z-index: 1;
        padding-top: 6px;
        font: inherit;
    }

    .askora-home-chat-form .askora-start-search textarea {
        position: relative;
        z-index: 2;
        background: transparent;
    }

    .askora-home-chat-form .askora-start-search textarea::placeholder {
        color: transparent;
        opacity: 0;
    }

    .askora-home-chat-form .askora-start-search.askora-home-chat-input:has(textarea:focus)::before,
    .askora-home-chat-form .askora-start-search.askora-home-chat-input:has(textarea:not(:placeholder-shown))::before {
        display: none;
        content: "";
    }
}

/* Hotfix: Home first screen as chat start with topic overall opened from the search icon */
.askora-home-hero-single .askora-start-card {
    max-width: 780px;
    padding: clamp(24px, 3vw, 40px);
}

.askora-home-hero-single .askora-start-head {
    margin-bottom: 0;
}

.askora-home-chat-form {
    position: relative;
}

.askora-topic-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    outline: none;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    box-shadow: inset 0 0 0 1px rgba(203, 213, 225, .8);
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.askora-topic-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}

.askora-topic-toggle:hover,
.askora-topic-toggle:focus-visible,
.askora-topic-toggle[aria-expanded="true"] {
    background: #f1f5f9;
    color: #334155;
    box-shadow: inset 0 0 0 1px rgba(51, 65, 85, .18), 0 8px 18px rgba(30, 41, 59, .10);
    transform: translateY(-1px);
}

.askora-topic-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    z-index: 35;
    width: 100%;
    padding: 16px 16px 14px;
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
    text-align: left;
    opacity: 0;
    transform: translateY(-8px) scale(.985);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.askora-topic-panel::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 24px;
    width: 14px;
    height: 14px;
    border-top: 1px solid rgba(226, 232, 240, .96);
    border-left: 1px solid rgba(226, 232, 240, .96);
    background: rgba(255, 255, 255, .98);
    transform: rotate(45deg);
}

.askora-topic-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.askora-topic-panel-title {
    display: block !important;
    margin: 0 0 12px !important;
    color: #0f172a !important;
    font-size: .92rem !important;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.askora-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.askora-topic-chip {
    --chip-bg: #f8fafc;
    --chip-border: #e2e8f0;
    --chip-text: #172033;
    --chip-hover-bg: #f1f5f9;
    --chip-hover-border: rgba(51, 65, 85, .28);
    --chip-hover-text: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid var(--chip-border);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.68)), var(--chip-bg);
    color: var(--chip-text);
    font: inherit;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 0 rgba(255,255,255,.6) inset;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.askora-topic-chip:hover,
.askora-topic-chip:focus-visible {
    border-color: var(--chip-hover-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.78)), var(--chip-hover-bg);
    color: var(--chip-hover-text);
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, .08);
}

.askora-topic-chip:nth-child(6n + 1) { --chip-bg: #f8fafc; --chip-border: #e2e8f0; }
.askora-topic-chip:nth-child(6n + 2) { --chip-bg: #f1f5f9; --chip-border: #cbd5e1; }
.askora-topic-chip:nth-child(6n + 3) { --chip-bg: #f8fafc; --chip-border: #e2e8f0; }
.askora-topic-chip:nth-child(6n + 4) { --chip-bg: #f3f4f6; --chip-border: #d1d5db; }
.askora-topic-chip:nth-child(6n + 5) { --chip-bg: #f1f5f9; --chip-border: #cbd5e1; }
.askora-topic-chip:nth-child(6n + 6) { --chip-bg: #f8fafc; --chip-border: #e2e8f0; }

@media (max-width: 640px) {
    .askora-home-hero-single .askora-start-card {
        max-width: 100%;
    }

    .askora-topic-toggle {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }

    .askora-topic-panel {
        top: calc(100% + 10px);
        padding: 14px;
        border-radius: 18px;
    }

    .askora-topic-panel::before {
        left: 20px;
    }

    .askora-topic-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        justify-content: stretch;
    }

    .askora-topic-chip {
        width: 100%;
        min-height: 38px;
        padding: 9px 10px;
        font-size: .88rem;
        white-space: normal;
        text-align: center;
    }
}

/* Hotfix: place the first Askora chat area on a higher visual focus line.
   A perfect 50/50 vertical center feels too low for a hero. This keeps the chat
   safely above the fold while staying responsive across desktop, tablet and mobile. */
.askora-home-hero {
    min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 86px);
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    padding-top: clamp(44px, 13svh, 132px);
    padding-bottom: clamp(96px, 16svh, 168px);
}

.askora-home-hero > .askora-container,
.askora-home-hero > .askora-home-container {
    width: 100%;
}

@media (max-width: 782px) {
    .askora-home-hero {
        min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 76px);
        padding-top: clamp(34px, 10svh, 86px);
        padding-bottom: clamp(76px, 14svh, 132px);
    }
}

@media (max-width: 560px) {
    .askora-home-hero {
        min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 68px);
        padding-top: clamp(26px, 8svh, 58px);
        padding-bottom: 72px;
    }
}

/* Hotfix V7: keep the v4 upper-focus layout, but move the actual chat card down visibly.
   Padding alone was not reliable enough because earlier hero rules can visually mask the shift.
   This transform moves the visible chat block itself, together with the topic overall. */
.askora-home-hero-single {
    transform: translateY(clamp(50px, 12svh, 132px));
}

@media (max-width: 782px) {
    .askora-home-hero-single {
        transform: translateY(clamp(38px, 11svh, 104px));
    }
}

@media (max-width: 560px) {
    .askora-home-hero-single {
        transform: translateY(clamp(28px, 10svh, 76px));
    }
}


/* Hotfix V3: remove the outer home overall/card and keep only the inner chat bar overall. */
.askora-home-hero-single .askora-start-card.askora-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.askora-home-hero-single .askora-start-head {
    max-width: 900px;
    margin: 0 auto;
}

.askora-home-hero-single .askora-start-head h2 {
    font-size: clamp(1.28rem, 1.72vw, 1.72rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: clamp(12px, 1.5vw, 18px);
}

.askora-home-chat-form {
    max-width: 920px;
}

@media (max-width: 560px) {
    .askora-home-hero-single .askora-start-head h2 {
        font-size: clamp(1.16rem, 5.2vw, 1.34rem);
        margin-bottom: 14px;
    }
}


/* Hotfix V4: soften home heading weight */
.askora-home-hero-single .askora-start-head h2 {
    font-weight: 600;
}


/* Hotfix V5: make the home heading visibly lighter by using regular weight and a slightly smaller size. */
.askora-home-hero-single .askora-start-head h2 {
    font-weight: 400;
    font-size: clamp(1.18rem, 1.58vw, 1.56rem);
    letter-spacing: -0.02em;
}

@media (max-width: 560px) {
    .askora-home-hero-single .askora-start-head h2 {
        font-size: clamp(1.08rem, 4.7vw, 1.22rem);
    }
}

/* Askora Home chat mode: front stays front, conversation remains on the Home screen. */
.askora-home-chat-thread {
    width: min(860px, calc(100% - 32px));
    max-width: 860px;
    margin: 24px auto 0;
    padding: 4px 2px;
    box-sizing: border-box;
}

.askora-home-chat-thread[hidden] {
    display: none !important;
}

.askora-home-chat-thread .askora-ai-chat-row {
    display: flex;
    width: 100%;
    margin: 0 0 14px;
}

.askora-home-chat-thread .askora-ai-chat-row-user {
    justify-content: flex-end;
}

.askora-home-chat-thread .askora-ai-chat-row-assistant {
    justify-content: flex-start;
}

.askora-home-chat-thread .askora-ai-chat-bubble {
    max-width: min(72%, 620px);
    padding: 14px 16px;
    border-radius: 22px;
    border: 1px solid rgba(203, 213, 225, .92);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
    text-align: left;
}

.askora-home-chat-thread .askora-ai-chat-bubble-user {
    border-top-right-radius: 10px;
    background: #f8fafc;
}

.askora-home-chat-thread .askora-ai-chat-bubble-assistant {
    border-top-left-radius: 10px;
}

.askora-home-chat-thread .askora-ai-chat-label {
    display: block;
    margin: 0 0 6px;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.askora-home-chat-thread .askora-ai-chat-text p,
.askora-home-chat-thread .askora-ai-answer p,
.askora-home-chat-thread .askora-ai-ready-answer p,
.askora-home-chat-thread .askora-ai-message-content p {
    margin: 0 0 10px;
}

.askora-home-chat-thread .askora-ai-chat-text p:last-child,
.askora-home-chat-thread .askora-ai-answer p:last-child,
.askora-home-chat-thread .askora-ai-ready-answer p:last-child,
.askora-home-chat-thread .askora-ai-message-content p:last-child {
    margin-bottom: 0;
}

.askora-home.is-home-chat-active {
    min-height: 100vh;
    padding-bottom: 150px;
}

.askora-home.is-home-chat-active .askora-start-card {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.askora-home.is-home-chat-active .askora-start-head h2 {
    opacity: 0;
    pointer-events: none;
}

.askora-home.is-home-chat-active .askora-home-chat-form {
    position: fixed;
    left: 50%;
    top: auto !important;
    bottom: 50px;
    z-index: 120;
    width: min(860px, calc(100% - 32px));
    max-width: 860px;
    margin: 0;
    transform: translateX(-50%);
}

.askora-home.is-home-chat-active .askora-home-chat-thread {
    position: fixed;
    left: 50%;
    top: auto;
    bottom: 140px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(860px, calc(100% - 32px));
    max-width: 860px;
    max-height: calc(100vh - 250px);
    margin: 0;
    padding: 8px 4px 10px;
    overflow-y: auto;
    transform: translateX(-50%);
    scrollbar-width: thin;
}

.askora-home.is-home-chat-active .askora-section,
.askora-home.is-home-chat-active .askora-cta {
    display: none;
}

@media (max-width: 640px) {
    .askora-home-chat-thread .askora-ai-chat-bubble {
        max-width: 86%;
        padding: 13px 14px;
        border-radius: 18px;
    }

    .askora-home.is-home-chat-active .askora-home-chat-form {
        top: auto !important;
        bottom: 18px;
        width: calc(100% - 22px);
    }

    .askora-home.is-home-chat-active .askora-home-chat-thread {
        top: auto;
        bottom: 112px;
        width: calc(100% - 22px);
        max-height: calc(100vh - 190px);
        padding-bottom: 12px;
    }
}

/* Hotfix V3: force the Home chat input to move DOWN after the first message.
   This targets the body class added by the AI AJAX script, so it still works
   even when the root-level active class is missed or overwritten by theme CSS. */
body.askora-home-chat-active .askora-home {
    min-height: 100vh !important;
    padding-bottom: 170px !important;
}

body.askora-home-chat-active .askora-home .askora-start-card {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body.askora-home-chat-active .askora-home .askora-start-head h2 {
    opacity: 0 !important;
    pointer-events: none !important;
}

body.askora-home-chat-active .askora-home-chat-form,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 50px !important;
    z-index: 9999 !important;
    width: min(860px, calc(100% - 32px)) !important;
    max-width: 860px !important;
    margin: 0 !important;
    transform: translate3d(-50%, 0, 0) !important;
}

body.askora-home-chat-active .askora-home-chat-thread,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 136px !important;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    width: min(860px, calc(100% - 32px)) !important;
    max-width: 860px !important;
    max-height: calc(100vh - 230px) !important;
    margin: 0 !important;
    padding: 8px 4px 10px !important;
    overflow-y: auto !important;
    transform: translate3d(-50%, 0, 0) !important;
    box-sizing: border-box !important;
    scrollbar-width: thin;
}

body.askora-home-chat-active .askora-home .askora-section,
body.askora-home-chat-active .askora-home .askora-cta {
    display: none !important;
}

/* Home front conversation: user's messages on the left, Askora on the opposite side. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-row-user {
    justify-content: flex-start !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-row-assistant {
    justify-content: flex-end !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 22px !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant {
    border-top-left-radius: 22px !important;
    border-top-right-radius: 10px !important;
}

@media (max-width: 640px) {
    body.askora-home-chat-active .askora-home-chat-form,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form {
        bottom: 18px !important;
        width: calc(100% - 22px) !important;
    }

    body.askora-home-chat-active .askora-home-chat-thread,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
        bottom: 112px !important;
        width: calc(100% - 22px) !important;
        max-height: calc(100vh - 190px) !important;
        padding-bottom: 12px !important;
    }
}

/* Hotfix V4: when Home chat starts, the input must attach to the viewport bottom.
   Important: earlier .askora-home-hero-single uses transform, and transformed parents
   change how position: fixed is calculated. We remove that transform only in active chat mode. */
body.askora-home-chat-active .askora-home-hero,
body.askora-home-chat-active .askora-home .askora-home-hero {
    min-height: 100svh !important;
    padding: 0 !important;
    display: block !important;
    align-items: initial !important;
}

body.askora-home-chat-active .askora-home-hero-single,
body.askora-home-chat-active .askora-home .askora-home-hero-single,
body.askora-home-chat-active .askora-home-hero-single.askora-home-hero-single {
    transform: none !important;
    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;
}

body.askora-home-chat-active .askora-home-hero-single .askora-start-card,
body.askora-home-chat-active .askora-home-hero-single .askora-start-head {
    transform: none !important;
}

body.askora-home-chat-active .askora-home-chat-form,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 50px !important;
    z-index: 99999 !important;
    width: min(860px, calc(100vw - 32px)) !important;
    max-width: 860px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
}

body.askora-home-chat-active .askora-home-chat-thread,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 136px !important;
    z-index: 99998 !important;
    width: min(860px, calc(100vw - 32px)) !important;
    max-width: 860px !important;
    max-height: calc(100svh - 230px) !important;
    margin: 0 !important;
    padding: 8px 4px 10px !important;
    overflow-y: auto !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    body.askora-home-chat-active .askora-home-chat-form,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form {
        bottom: 18px !important;
        width: calc(100vw - 22px) !important;
    }

    body.askora-home-chat-active .askora-home-chat-thread,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
        bottom: 112px !important;
        width: calc(100vw - 22px) !important;
        max-height: calc(100svh - 190px) !important;
    }
}

/* Hotfix V5: front chat message layout only.
   The input stays at the bottom; messages stack above it.
   User messages are on the right, Askora messages are on the left. */
body.askora-home-chat-active .askora-home-chat-thread,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    justify-content: flex-end !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-row,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-row {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-row-user,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-row-user {
    justify-content: flex-end !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-row-assistant,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-row-assistant {
    justify-content: flex-start !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble {
    width: auto !important;
    min-width: 0 !important;
    max-width: min(72%, 620px) !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(203, 213, 225, .96) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07) !important;
    color: #0f172a !important;
    text-align: left !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user {
    border-top-right-radius: 10px !important;
    background: #ffffff !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant {
    border-top-left-radius: 10px !important;
    background: #f8fbff !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-text,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-text-assistant,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-message-content,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-answer-intro,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-answer-tips {
    display: block !important;
    color: #0f172a !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-text p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-text-assistant p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-message-content p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-answer-intro p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-answer-tips p {
    display: block !important;
    margin: 0 0 10px !important;
    color: #0f172a !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-text p:last-child,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-text-assistant p:last-child,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-message-content p:last-child,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-answer-intro p:last-child,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-answer-tips p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 640px) {
    body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble {
        max-width: 86% !important;
        padding: 13px 14px !important;
    }
}


/* Hotfix V6: front chat labels.
   User bubbles have no label; assistant label is subtle gray text. */
.askora-home-chat-thread .askora-ai-chat-bubble-user .askora-ai-chat-label,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user .askora-ai-chat-label {
    display: none !important;
}

.askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-chat-label,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-chat-label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Hotfix V7: front chat bubble widths.
   Askora answers use the full conversation width; user messages stay narrower on the right. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user {
    width: auto !important;
    max-width: min(75%, 640px) !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 640px) {
    body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user {
        max-width: 82% !important;
    }

    body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Hotfix V8: front chat scroll area must stay below the top navigation.
   The home conversation is fixed between the header and the bottom input, so older messages remain scrollable
   without bubbles sliding under the site menu. */
:root {
    --askora-home-chat-top-safe: 132px;
    --askora-home-chat-bottom-safe: 136px;
}

body.admin-bar {
    --askora-home-chat-top-safe: 164px;
}

body.askora-home-chat-active .askora-home-chat-thread,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: var(--askora-home-chat-top-safe) !important;
    bottom: var(--askora-home-chat-bottom-safe) !important;
    z-index: 90 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: min(860px, calc(100vw - 32px)) !important;
    max-width: 860px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 8px 8px 14px !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-gutter: stable !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar {
    width: 8px;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.34);
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-track,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-track {
    background: transparent;
}

body.askora-home-chat-active .askora-home-chat-form,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form {
    z-index: 100 !important;
}

@media (max-width: 782px) {
    :root {
        --askora-home-chat-top-safe: 104px;
        --askora-home-chat-bottom-safe: 112px;
    }

    body.admin-bar {
        --askora-home-chat-top-safe: 150px;
    }
}

@media (max-width: 640px) {
    :root {
        --askora-home-chat-top-safe: 86px;
        --askora-home-chat-bottom-safe: 112px;
    }

    body.admin-bar {
        --askora-home-chat-top-safe: 132px;
    }

    body.askora-home-chat-active .askora-home-chat-thread,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
        width: calc(100vw - 22px) !important;
        padding: 6px 6px 12px !important;
    }
}

/* Hotfix V9: soften the home chat scrollbar.
   Keep the vertical scrolling and browser arrow buttons, but remove the heavy white rail. */
body.askora-home-chat-active .askora-home-chat-thread,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
    scrollbar-color: rgba(100, 116, 139, 0.28) transparent !important;
    scrollbar-width: thin !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar {
    width: 10px !important;
    background: transparent !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-track,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-track,
body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-track-piece,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-track-piece {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb {
    min-height: 44px !important;
    border-radius: 999px !important;
    background: rgba(100, 116, 139, 0.18) !important;
    border: 3px solid transparent !important;
    background-clip: content-box !important;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.18) !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb:hover,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.28) !important;
    background-clip: content-box !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-button,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-button {
    display: block !important;
    height: 16px !important;
    width: 10px !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 7px 7px !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-button:vertical:decrement,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-button:vertical:decrement {
    background-image: linear-gradient(45deg, transparent 50%, rgba(100, 116, 139, 0.70) 50%), linear-gradient(135deg, rgba(100, 116, 139, 0.70) 50%, transparent 50%) !important;
    background-size: 5px 5px, 5px 5px !important;
    background-position: center 7px, calc(50% + 3px) 7px !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-button:vertical:increment,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-button:vertical:increment {
    background-image: linear-gradient(135deg, transparent 50%, rgba(100, 116, 139, 0.70) 50%), linear-gradient(45deg, rgba(100, 116, 139, 0.70) 50%, transparent 50%) !important;
    background-size: 5px 5px, 5px 5px !important;
    background-position: center 5px, calc(50% + 3px) 5px !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-corner,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-corner {
    background: transparent !important;
}


/* Hotfix V10: replace the long native scrollbar thumb with a short subtle position marker.
   The native rail/thumb stay visually transparent, while the browser arrow buttons remain available. */
body.askora-home-chat-active .askora-home-chat-thread,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
    scrollbar-color: transparent transparent !important;
}

body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb,
body.askora-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb:hover,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread::-webkit-scrollbar-thumb:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.askora-home-chat-scroll-indicator {
    position: fixed !important;
    z-index: 104 !important;
    width: 4px !important;
    height: 42px !important;
    border-radius: 999px !important;
    background: rgba(100, 116, 139, 0.18) !important;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.14) !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transform: translateX(-50%) !important;
    transition: opacity 0.16s ease, background 0.16s ease !important;
}

.askora-home-chat-scroll-indicator.is-visible {
    opacity: 1 !important;
}

body.askora-home-chat-active .askora-home-chat-thread:hover ~ .askora-home-chat-scroll-indicator,
.askora-home-chat-scroll-indicator.is-visible {
    background: rgba(100, 116, 139, 0.22) !important;
}

@media (max-width: 640px) {
    .askora-home-chat-scroll-indicator {
        width: 3px !important;
        height: 36px !important;
    }
}

/* Hotfix V11: keep a safe visual landing zone under the newest answer.
   This gives the chat enough blank scrollable space so a new AI answer can land around eye level, not glued to the input. */
body.askora-home-chat-active .askora-home-chat-thread,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
    padding-bottom: clamp(190px, 30vh, 330px) !important;
    scroll-padding-bottom: clamp(190px, 30vh, 330px) !important;
}

@media (max-width: 640px) {
    body.askora-home-chat-active .askora-home-chat-thread,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread {
        padding-bottom: clamp(150px, 26vh, 250px) !important;
        scroll-padding-bottom: clamp(150px, 26vh, 250px) !important;
    }
}

/* Hotfix 0.1.1: only swap active home chat bubble colors.
   User bubble = light blue, Askora bubble = white. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-stack-user .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-stack-user .askora-ai-chat-bubble-user {
    background: #f8fbff !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-stack-assistant .askora-ai-chat-bubble-assistant,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-stack-assistant .askora-ai-chat-bubble-assistant {
    background: #ffffff !important;
}

/* Hotfix 0.1.2: mobile-only Home start input side breathing room.
   Applies before the conversation starts only; active chat bottom input keeps its existing rules. */
@media (max-width: 640px) {
    body:not(.askora-home-chat-active) .askora-home-hero-single .askora-home-chat-form,
    .askora-home:not(.is-home-chat-active) .askora-home-hero-single .askora-home-chat-form {
        width: calc(100% - 22px);
        max-width: calc(100% - 22px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}


/* Hotfix 0.1.3: center the mobile Home start input after adding side breathing room.
   Only applies before the conversation starts; active chat bottom input keeps its own layout. */
@media (max-width: 640px) {
    body:not(.askora-home-chat-active) .askora-home-hero-single .askora-home-chat-form,
    .askora-home:not(.is-home-chat-active) .askora-home-hero-single .askora-home-chat-form {
        width: auto !important;
        max-width: none !important;
        margin-left: 11px !important;
        margin-right: 11px !important;
        box-sizing: border-box !important;
    }
}

/* Hotfix 0.1.4: mobile-only Home start vertical centering.
   Before the first message, place the start overall around the visual center of the mobile screen.
   Active chat keeps its fixed bottom input and existing conversation layout. */
@media (max-width: 640px) {
    body:not(.askora-home-chat-active) .askora-home .askora-home-hero,
    .askora-home:not(.is-home-chat-active) .askora-home-hero {
        min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 68px) !important;
        display: flex !important;
        align-items: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    body:not(.askora-home-chat-active) .askora-home .askora-home-hero-single,
    .askora-home:not(.is-home-chat-active) .askora-home-hero-single {
        width: 100% !important;
        transform: translateY(-18px) !important;
    }
}


/* Hotfix 0.1.6: mobile-only Home start heading lift.
   Move only the heading text 70px up in total; keep the start overall/input in the same centered position.
   Active chat after the first message is untouched. */
@media (max-width: 640px) {
    body:not(.askora-home-chat-active) .askora-home .askora-home-hero-single .askora-start-head h2,
    .askora-home:not(.is-home-chat-active) .askora-home-hero-single .askora-start-head h2 {
        transform: translateY(-70px) !important;
    }
}

/* Hotfix 0.1.7: open the Home topic overall upward when the chat input is fixed at the bottom.
   Before conversation start the topic overall still opens below the start input. */
body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel {
    top: auto !important;
    bottom: calc(100% + 12px) !important;
    z-index: 100001 !important;
    max-height: calc(100svh - 160px) !important;
    overflow-y: auto !important;
    transform: translateY(8px) scale(.985) !important;
}

body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel.is-open,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel.is-open {
    transform: translateY(0) scale(1) !important;
}

body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel::before,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel::before {
    top: auto !important;
    bottom: -8px !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 1px solid rgba(226, 232, 240, .96) !important;
    border-bottom: 1px solid rgba(226, 232, 240, .96) !important;
}

@media (max-width: 640px) {
    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel {
        bottom: calc(100% + 10px) !important;
        max-height: calc(100svh - 118px) !important;
    }
}

/* Hotfix 0.1.8: mobile Home start topic overall scroll.
   When the start overall opens below the input on shorter mobile screens,
   keep it inside the viewport and allow the topic list to scroll. */
@media (max-width: 640px) {
    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel {
        max-height: min(360px, 42svh) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-right: 12px !important;
    }

    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar {
        width: 6px;
    }

    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar-thumb,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(100, 116, 139, .38);
    }
}

/* Hotfix 0.1.9: mobile-only Home start topic overall opens upward.
   Desktop start stays unchanged. Active bottom chat stays handled by Hotfix 0.1.7. */
@media (max-width: 640px) {
    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel {
        top: auto !important;
        bottom: calc(100% + 10px) !important;
        max-height: min(360px, 52svh) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateY(8px) scale(.985) !important;
    }

    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel.is-open,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel.is-open {
        transform: translateY(0) scale(1) !important;
    }

    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel::before,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel::before {
        top: auto !important;
        bottom: -8px !important;
        left: 20px !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 1px solid rgba(226, 232, 240, .96) !important;
        border-bottom: 1px solid rgba(226, 232, 240, .96) !important;
    }
}

/* Hotfix 0.1.10: mobile Home start topic overall - compact upward panel.
   Show the title plus about four topic rows, keep the top rounded edge visible,
   and leave future extra topics accessible by touch scrolling. */
@media (max-width: 640px) {
    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel {
        top: auto !important;
        bottom: calc(100% + 12px) !important;
        max-height: min(246px, calc(100svh - 190px)) !important;
        padding: 14px 14px 14px !important;
        padding-right: 18px !important;
        border-radius: 18px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
        scrollbar-color: transparent transparent !important;
        scrollbar-gutter: auto !important;
    }

    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
    }

    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-panel::after,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-panel::after {
        content: "";
        position: absolute;
        right: 6px;
        top: 50%;
        width: 3px;
        height: 30px;
        border-radius: 999px;
        background: rgba(100, 116, 139, .34);
        transform: translateY(-50%);
        pointer-events: none;
    }

    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-list,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-list {
        gap: 8px !important;
    }

    body:not(.askora-home-chat-active) .askora-home:not(.is-home-chat-active) .askora-home-chat-form .askora-topic-chip,
    body:not(.askora-home-chat-active) .askora-home-chat-form .askora-topic-chip {
        min-height: 38px !important;
    }
}

/* Hotfix 0.1.11: mobile active bottom chat topic overall - same compact rule as start.
   When the Home chat input is fixed at the bottom, show the title plus about four topic rows,
   keep future extra topics available by touch scrolling, and use only a short subtle marker. */
@media (max-width: 640px) {
    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel {
        top: auto !important;
        bottom: calc(100% + 12px) !important;
        max-height: min(246px, calc(100svh - 190px)) !important;
        padding: 14px 14px 14px !important;
        padding-right: 18px !important;
        border-radius: 18px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
        scrollbar-color: transparent transparent !important;
        scrollbar-gutter: auto !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel::after,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel::after {
        content: "";
        position: absolute;
        right: 6px;
        top: 50%;
        width: 3px;
        height: 30px;
        border-radius: 999px;
        background: rgba(100, 116, 139, .34);
        transform: translateY(-50%);
        pointer-events: none;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-list,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-list {
        gap: 8px !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-chip,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-chip {
        min-height: 38px !important;
    }
}

/* Hotfix 0.1.12: desktop active bottom chat topic panel.
   On desktop, when the chat input is fixed at the bottom, show up to about three topic rows normally.
   Only if future topics create a fourth row should the panel start scrolling, with a very subtle scrollbar. */
@media (min-width: 641px) {
    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel {
        max-height: 226px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(100, 116, 139, .20) transparent !important;
        scrollbar-gutter: auto !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar {
        width: 4px !important;
        height: 4px !important;
        background: transparent !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar-track,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar-track {
        background: transparent !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar-thumb,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar-thumb {
        border-radius: 999px !important;
        background: rgba(100, 116, 139, .20) !important;
        border: 0 !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel::after,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel::after {
        content: none !important;
    }
}

/* Hotfix 0.1.13: desktop bottom topic panel - no visible panel scrollbar until a fourth chip row exists.
   The panel itself stays clean. Only the chip list can scroll, and only after about three full rows. */
@media (min-width: 641px) {
    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel {
        max-height: none !important;
        overflow: visible !important;
        scrollbar-width: none !important;
        scrollbar-color: transparent transparent !important;
        scrollbar-gutter: auto !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-panel::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-list,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-list {
        max-height: 150px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(100, 116, 139, .18) transparent !important;
        padding-right: 4px !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-list::-webkit-scrollbar,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-list::-webkit-scrollbar {
        width: 3px !important;
        height: 3px !important;
        background: transparent !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-list::-webkit-scrollbar-track,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-list::-webkit-scrollbar-track {
        background: transparent !important;
    }

    body.askora-home-chat-active .askora-home-chat-form .askora-topic-list::-webkit-scrollbar-thumb,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-form .askora-topic-list::-webkit-scrollbar-thumb {
        border-radius: 999px !important;
        background: rgba(100, 116, 139, .18) !important;
        border: 0 !important;
    }
}

/* Hotfix 0.1.14: restore subtle varied topic chip borders and use calmer gray text globally. */
.askora-topic-chip {
    --chip-text: #475569;
    --chip-hover-text: #334155;
    color: var(--chip-text) !important;
}

.askora-topic-chip:nth-child(6n + 1) {
    --chip-bg: #f8fbff;
    --chip-border: #bfdbfe;
    --chip-hover-bg: #eff6ff;
    --chip-hover-border: #93c5fd;
}

.askora-topic-chip:nth-child(6n + 2) {
    --chip-bg: #f7fdf9;
    --chip-border: #bbf7d0;
    --chip-hover-bg: #f0fdf4;
    --chip-hover-border: #86efac;
}

.askora-topic-chip:nth-child(6n + 3) {
    --chip-bg: #fbfaff;
    --chip-border: #ddd6fe;
    --chip-hover-bg: #f5f3ff;
    --chip-hover-border: #c4b5fd;
}

.askora-topic-chip:nth-child(6n + 4) {
    --chip-bg: #fffdf7;
    --chip-border: #fde68a;
    --chip-hover-bg: #fffbeb;
    --chip-hover-border: #fcd34d;
}

.askora-topic-chip:nth-child(6n + 5) {
    --chip-bg: #fff8fa;
    --chip-border: #fecdd3;
    --chip-hover-bg: #fff1f2;
    --chip-hover-border: #fda4af;
}

.askora-topic-chip:nth-child(6n + 6) {
    --chip-bg: #f8fdff;
    --chip-border: #bae6fd;
    --chip-hover-bg: #f0f9ff;
    --chip-hover-border: #7dd3fc;
}


/* Hotfix 0.1.15: topic chips are category links, not textarea-fill buttons. */
.askora-topic-chip {
    text-decoration: none !important;
}

.askora-topic-chip:visited {
    color: var(--chip-text) !important;
}


/* Home-only shell: the landing page now contains only the top menu and the Askora chat window. */
body.askora-art-pl-home-page footer,
body.askora-art-pl-home-page .site-footer,
body.askora-art-pl-home-page #colophon,
body.askora-art-pl-home-page .wp-site-blocks > footer,
body.askora-art-pl-home-page .wp-block-template-part[area="footer"] {
    display: none !important;
}


/* Hotfix 0.1.16: the Home page is now a single-screen chat landing.
   Any document-level scrollbar here is accidental and comes from tiny height overflow
   caused by the viewport/admin-bar/header math. Keep page scroll off and let the chat
   use its own internal scrolling when needed. */
body.askora-art-pl-home-page {
    overflow-y: hidden !important;
}

body.askora-art-pl-home-page .askora-main--public,
body.askora-art-pl-home-page .askora-home,
body.askora-art-pl-home-page .askora-home-hero {
    overflow: hidden !important;
}

/* Askora ART bridge: pozwala skryptowi czatu pokazywac menu plusika nad overallem przy dolnej krawedzi ekranu */
.askora-home-attach-menu.askora-ai-attach-menu-open-up,
.askora-ai-attach-menu.askora-ai-attach-menu-open-up {
    top: auto !important;
    bottom: calc(100% + 10px) !important;
    z-index: 1000 !important;
}

.askora-home-attach-menu.askora-ai-attach-menu-open-down,
.askora-ai-attach-menu.askora-ai-attach-menu-open-down {
    top: calc(100% + 10px) !important;
    bottom: auto !important;
    z-index: 1000 !important;
}

/* Askora AI hotfix: popup plusika na waskim ekranie nie wychodzi poza prawa krawedz */
.askora-ai-attach-menu {
    max-width: calc(100vw - 28px);
    overflow: visible;
}

.askora-ai-attach-menu .askora-ai-attach-option {
    max-width: 100%;
}

@media (max-width: 640px) {
    .askora-ai-attach-menu {
        min-width: min(230px, calc(100vw - 28px)) !important;
        z-index: 1200 !important;
    }
}


/* Askora ART hotfix: na mobile menu plusika jest nieco mniejsze i bardziej zwarte */
@media (max-width: 640px) {
    .askora-home-attach-menu,
    .askora-ai-attach-menu {
        min-width: 184px !important;
        max-width: min(190px, calc(100vw - 24px)) !important;
        padding: 6px !important;
        border-radius: 14px !important;
    }

    .askora-home-attach-menu .askora-ai-attach-option,
    .askora-ai-attach-menu .askora-ai-attach-option {
        padding: 8px 10px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }
}

/* Stage 2: Home category form overlay. */
html.askora-form-overlay-open,
body.askora-form-overlay-open {
    overflow: hidden !important;
}

.askora-form-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.askora-form-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.askora-form-overlay[hidden] {
    display: none !important;
}

.askora-form-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .42);
    backdrop-filter: blur(8px);
}

.askora-form-overlay-panel {
    position: relative;
    width: min(760px, calc(100vw - 48px));
    max-height: min(86vh, 820px);
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .24);
    outline: none;
    transform: translateY(10px) scale(.985);
    transition: transform .18s ease;
}

.askora-form-overlay.is-open .askora-form-overlay-panel {
    transform: translateY(0) scale(1);
}

.askora-form-overlay-close {
    position: absolute;
    top: 14px;
    right: 22px;
    z-index: 4;
    width: 38px;
    height: 38px;
    margin: 0;
    border: 1px solid rgba(148, 163, 184, .45);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #334155;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}

.askora-form-overlay-close:hover,
.askora-form-overlay-close:focus-visible {
    background: #f8fafc;
    border-color: rgba(100, 116, 139, .65);
}

.askora-form-overlay-content {
    max-height: calc(min(86vh, 820px) - 10px);
    margin: 5px 10px 5px 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .38) rgba(241, 245, 249, .45);
    -webkit-overflow-scrolling: touch;
}

.askora-form-overlay-content::-webkit-scrollbar {
    width: 6px;
}

.askora-form-overlay-content::-webkit-scrollbar-track {
    margin: 0;
    border-radius: 999px;
    background: rgba(241, 245, 249, .42);
}

.askora-form-overlay-content::-webkit-scrollbar-thumb {
    min-height: 44px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .36);
}

.askora-form-overlay-content::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, .44);
}

.askora-form-overlay-content::-webkit-scrollbar-button {
    display: block;
    height: 8px;
    background: transparent;
}

.askora-form-overlay-loading {
    margin: 0;
    padding: 42px 32px;
    color: #475569;
    font-size: 16px;
    text-align: center;
}

.askora-form-overlay .askora-form-wrap {
    padding: 0 !important;
    background: transparent !important;
}

.askora-form-overlay .askora-form-card {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

@media (max-width: 640px) {
    .askora-form-overlay {
        --askora-form-overlay-mobile-top: calc(var(--wp-admin--admin-bar--height, 0px) + 76px);
        align-items: flex-start;
        padding: var(--askora-form-overlay-mobile-top) 12px max(12px, env(safe-area-inset-bottom));
    }

    .askora-form-overlay-panel {
        width: calc(100vw - 24px);
        max-height: calc(100dvh - var(--askora-form-overlay-mobile-top) - max(12px, env(safe-area-inset-bottom)));
        border-radius: 22px;
    }

    .askora-form-overlay-close {
        top: 10px;
        right: 18px;
        width: 36px;
        height: 36px;
    }

    .askora-form-overlay-content {
        max-height: calc(100dvh - var(--askora-form-overlay-mobile-top) - max(12px, env(safe-area-inset-bottom)) - 10px);
        margin: 5px 8px 5px 0;
    }

    .askora-form-overlay-content::-webkit-scrollbar {
        width: 5px;
    }

    .askora-form-overlay-content::-webkit-scrollbar-track {
        margin: 0;
    }

    .askora-form-overlay-content::-webkit-scrollbar-button {
        height: 7px;
    }
}

/* Askora Art hotfix Etap 3: nie nadpisuj hierarchii kolorow odpowiedzi AI na /strona-glowna/. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-intro,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-intro *,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-intro,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-intro * {
    color: #7f8da3 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-tips,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-tips *,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-tips,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-tips * {
    color: #66748a !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content *,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content * {
    color: #0f172a !important;
}

/* Askora Art mikro-hotfix Etap 3: pomocnicze sekcje odpowiedzi AI maja kroj interfejsowy. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-intro,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-intro *,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-intro,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-intro * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Askora Art mikro-hotfix Etap 3: dolne wskazowki jako czcionka systemowa. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-tips,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-tips *,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-tips,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-tips * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif !important;
}


/* Askora Etap 3 hotfix: user/form message bubble uses system UI font only */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user *,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif !important;
}


/* Askora Etap 3 hotfix: user/form message bubble font size -2px */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user *,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user * {
    font-size: 16px !important;
    line-height: 1.45 !important;
}

/* Askora Etap 3 hotfix: wider user/form message bubble on desktop */
@media (min-width: 769px) {
    body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user,
    body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-user {
        max-width: min(520px, 72vw) !important;
    }
}

/* Askora Art bridge: keep Askora AI answer summary hierarchy inside Home chat only.
   Does not target category cards, overlay forms, or ready prompt buttons. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-label,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text p {
    color: #0f172a !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 700 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary {
    display: block !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-label {
    display: block !important;
    margin: 0 0 4px !important;
    font-weight: 800 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text p {
    display: block !important;
    margin: 0 0 10px !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text p:last-child {
    margin-bottom: 0 !important;
}

/* Askora Art bridge 2.1i: match Askora AI assistant answer hierarchy only inside Home chat.
   Category cards, overlay forms and ready prompts keep their own styles. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-chat-text-assistant,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-chat-text-assistant * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content li {
    color: #5f7189 !important;
    font-size: 16px !important;
    line-height: 1.68 !important;
    font-weight: 400 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content strong,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content .askora-ai-answer-heading {
    color: #51637a !important;
    font-weight: 700 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-label,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text strong {
    color: #24344d !important;
    font-size: 16px !important;
    line-height: 1.68 !important;
    font-weight: 700 !important;
}

/* Askora Art bridge 2.1k: cleaner Askora AI answer typography only inside Home chat.
   Does not target category cards, overlay forms or ready prompt buttons. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content li {
    color: #0f172a !important;
    font-size: 16px !important;
    line-height: 1.68 !important;
    font-weight: 400 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content strong:not(.askora-ai-answer-heading) {
    color: inherit !important;
    font-weight: 400 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-message-main-wrap .askora-ai-message-content .askora-ai-answer-heading {
    display: inline-block !important;
    color: #0f172a !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    margin: 10px 0 2px !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-label,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text strong {
    color: #0f172a !important;
    font-size: 17px !important;
    line-height: 1.68 !important;
    font-weight: 700 !important;
}

/* Askora Art bridge hotfix 2.1n: summary separator + local summary copy inside Home chat only. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary {
    margin: 24px 0 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid rgba(148, 163, 184, 0.35) !important;
    color: #0f172a !important;
    font-size: 17px !important;
    line-height: 1.68 !important;
    font-weight: 400 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #0f172a !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text p,
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-text strong {
    color: #0f172a !important;
    font-size: 17px !important;
    line-height: 1.68 !important;
    font-weight: 400 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-answer-summary-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
}

body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-bubble-assistant .askora-ai-summary-copy {
    opacity: 0.72 !important;
    transform: scale(0.92) !important;
    transform-origin: center right !important;
}


/* Askora Art bridge Etap 2.3q: techniczna czcionka statusu pracy Askory na /strona-glowna/. */
body.askora-home-chat-active .askora-home-chat-thread .askora-ai-chat-row-pending .askora-ai-thinking-text,
body.askora-home-chat-active .askora-home.is-home-chat-active .askora-home-chat-thread .askora-ai-chat-row-pending .askora-ai-thinking-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* Askora Art bridge Etap 2.3q: fallback dla stanu pracy, gdy dymek renderuje sie poza aktywnym body. */
.askora-home-chat-thread .askora-ai-chat-row-pending .askora-ai-thinking-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* Askora ART bridge hotfix: menu plusika spójne z Askora AI */
.askora-home-attach-menu,
.askora-ai-attach-menu {
    left: auto !important;
    right: 0 !important;
    min-width: 218px !important;
    z-index: 1300 !important;
}

.askora-home-attach-menu .askora-ai-attach-option,
.askora-ai-attach-menu .askora-ai-attach-option {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    font-weight: 400 !important;
    text-align: left !important;
    color: #64748b !important;
    background: #f8fafc !important;
}

.askora-ai-attach-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    color: #94a3b8 !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.askora-ai-attach-option-camera {
    display: none !important;
}

@media (max-width: 640px) {
    .askora-home-attach-menu,
    .askora-ai-attach-menu {
        min-width: 210px !important;
        max-width: min(224px, calc(100vw - 24px)) !important;
        right: 0 !important;
    }

    .askora-ai-attach-option-camera {
        display: flex !important;
    }

    .askora-home-attach-menu .askora-ai-attach-option,
    .askora-ai-attach-menu .askora-ai-attach-option {
        padding: 8px 10px !important;
        font-size: 15px !important;
        font-weight: 400 !important;
    }
}

/* Askora ART bridge hotfix: rysowane lekkie ikony menu plusika */
.askora-ai-attach-icon {
    position: relative !important;
    font-size: 0 !important;
}

.askora-ai-attach-icon::before,
.askora-ai-attach-icon::after {
    content: "" !important;
    position: absolute !important;
    box-sizing: border-box !important;
    border-color: currentColor !important;
}

.askora-ai-attach-icon-camera::before {
    left: 3px !important;
    top: 6px !important;
    width: 16px !important;
    height: 11px !important;
    border: 1.6px solid currentColor !important;
    border-radius: 4px !important;
}

.askora-ai-attach-icon-camera::after {
    left: 8px !important;
    top: 8.5px !important;
    width: 6px !important;
    height: 6px !important;
    border: 1.5px solid currentColor !important;
    border-radius: 999px !important;
}

.askora-ai-attach-icon-image::before {
    left: 3px !important;
    top: 5px !important;
    width: 16px !important;
    height: 13px !important;
    border: 1.6px solid currentColor !important;
    border-radius: 4px !important;
}

.askora-ai-attach-icon-image::after {
    left: 6px !important;
    top: 12px !important;
    width: 10px !important;
    height: 5px !important;
    border-left: 1.6px solid currentColor !important;
    border-bottom: 1.6px solid currentColor !important;
    transform: skewX(-28deg) !important;
}

.askora-ai-attach-icon-document::before {
    left: 5px !important;
    top: 3px !important;
    width: 13px !important;
    height: 16px !important;
    border: 1.6px solid currentColor !important;
    border-radius: 3px !important;
}

.askora-ai-attach-icon-document::after {
    right: 4px !important;
    top: 3px !important;
    width: 6px !important;
    height: 6px !important;
    border-left: 1.6px solid currentColor !important;
    border-bottom: 1.6px solid currentColor !important;
    background: #f8fafc !important;
}

.askora-ai-attach-icon-file::before {
    left: 6px !important;
    top: 3px !important;
    width: 10px !important;
    height: 16px !important;
    border: 1.6px solid currentColor !important;
    border-radius: 8px !important;
    transform: rotate(32deg) !important;
}

.askora-ai-attach-icon-file::after {
    left: 9px !important;
    top: 6px !important;
    width: 5px !important;
    height: 10px !important;
    border: 1.4px solid currentColor !important;
    border-radius: 6px !important;
    transform: rotate(32deg) !important;
}

/* Askora ART bridge hotfix korekta: mniejszy techniczny tekst, czarne ikony, aparat tylko mobile */
.askora-home-attach-menu,
.askora-ai-attach-menu {
    min-width: 176px !important;
    max-width: min(188px, calc(100vw - 24px)) !important;
}

.askora-home-attach-menu .askora-ai-attach-option,
.askora-ai-attach-menu .askora-ai-attach-option {
    min-height: 34px !important;
    padding: 7px 10px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.16 !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
    color: #64748b !important;
}

.askora-home-attach-menu .askora-ai-attach-option-camera,
.askora-ai-attach-menu .askora-ai-attach-option-camera {
    display: none !important;
}

.askora-home-attach-menu .askora-ai-attach-icon,
.askora-ai-attach-menu .askora-ai-attach-icon {
    flex-basis: 18px !important;
    width: 18px !important;
    height: 18px !important;
    color: #111827 !important;
}

@media (max-width: 640px) {
    .askora-home-attach-menu,
    .askora-ai-attach-menu {
        min-width: 176px !important;
        max-width: min(188px, calc(100vw - 24px)) !important;
    }

    .askora-home-attach-menu .askora-ai-attach-option-camera,
    .askora-ai-attach-menu .askora-ai-attach-option-camera {
        display: flex !important;
    }

    .askora-home-attach-menu .askora-ai-attach-option,
    .askora-ai-attach-menu .askora-ai-attach-option {
        min-height: 34px !important;
        padding: 7px 10px !important;
        font-size: 13px !important;
        line-height: 1.16 !important;
        font-weight: 400 !important;
    }
}

/* Askora ART bridge korekta 3: realny tekst menu plusika 14px bez zwezania overala */
body.askora-art-pl-home-page .askora-home-attach-menu,
body.askora-art-pl-home-page .askora-ai-attach-menu,
.askora-home .askora-home-attach-menu,
.askora-home .askora-ai-attach-menu,
.askora-home-attach-wrap .askora-home-attach-menu,
.askora-home-attach-wrap .askora-ai-attach-menu,
[data-askora-ai-attach-menu].askora-home-attach-menu,
[data-askora-ai-attach-menu].askora-ai-attach-menu {
    min-width: 176px !important;
    max-width: min(188px, calc(100vw - 24px)) !important;
    padding: 6px !important;
}

body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option,
body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option,
.askora-home .askora-home-attach-menu .askora-ai-attach-option,
.askora-home .askora-ai-attach-menu .askora-ai-attach-option,
.askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option,
.askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option,
[data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option {
    min-height: 24px !important;
    padding: 5px 9px !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option > span:first-child,
body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home .askora-home-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home .askora-ai-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option > span:first-child,
[data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option > span:first-child,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option > span:first-child {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    color: inherit !important;
}

body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-icon,
body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-icon,
.askora-home .askora-home-attach-menu .askora-ai-attach-icon,
.askora-home .askora-ai-attach-menu .askora-ai-attach-icon,
.askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-icon,
.askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-icon,
[data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-icon,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-icon {
    flex: 0 0 13px !important;
    width: 13px !important;
    height: 13px !important;
    color: #000000 !important;
}

body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option-camera,
body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option-camera,
.askora-home .askora-home-attach-menu .askora-ai-attach-option-camera,
.askora-home .askora-ai-attach-menu .askora-ai-attach-option-camera,
.askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option-camera,
.askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option-camera,
[data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option-camera,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option-camera {
    display: none !important;
}

@media (max-width: 640px) {
    body.askora-art-pl-home-page .askora-home-attach-menu,
    body.askora-art-pl-home-page .askora-ai-attach-menu,
    .askora-home .askora-home-attach-menu,
    .askora-home .askora-ai-attach-menu,
    .askora-home-attach-wrap .askora-home-attach-menu,
    .askora-home-attach-wrap .askora-ai-attach-menu,
    [data-askora-ai-attach-menu].askora-home-attach-menu,
    [data-askora-ai-attach-menu].askora-ai-attach-menu {
        min-width: 176px !important;
        max-width: min(188px, calc(100vw - 24px)) !important;
    }

    body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option-camera,
    body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option-camera,
    .askora-home .askora-home-attach-menu .askora-ai-attach-option-camera,
    .askora-home .askora-ai-attach-menu .askora-ai-attach-option-camera,
    .askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option-camera,
    .askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option-camera,
    [data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option-camera,
    [data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option-camera {
        display: flex !important;
    }
}

/* Askora ART bridge korekta 4: wiecej luzu miedzy pozycjami menu plusika */
.askora-home .askora-ai-attach-menu,
.askora-home-chat-input .askora-ai-attach-menu,
.askora-start-search .askora-ai-attach-menu,
[data-askora-ai-attach-menu].askora-ai-attach-menu {
    padding: 8px !important;
}

.askora-home .askora-ai-attach-menu .askora-ai-attach-option,
.askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option,
.askora-start-search .askora-ai-attach-menu .askora-ai-attach-option,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option {
    min-height: 32px !important;
    padding: 7px 10px !important;
    line-height: 1.2 !important;
}

.askora-home .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-start-search .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option {
    margin-top: 4px !important;
}

@media (max-width: 640px) {
    .askora-home .askora-ai-attach-menu,
    .askora-home-chat-input .askora-ai-attach-menu,
    .askora-start-search .askora-ai-attach-menu,
    [data-askora-ai-attach-menu].askora-ai-attach-menu {
        padding: 9px !important;
    }

    .askora-home .askora-ai-attach-menu .askora-ai-attach-option,
    .askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option,
    .askora-start-search .askora-ai-attach-menu .askora-ai-attach-option,
    [data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option {
        min-height: 38px !important;
        padding: 9px 11px !important;
        line-height: 1.2 !important;
    }

    .askora-home .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-start-search .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    [data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option {
        margin-top: 5px !important;
    }
}


/* Askora ART bridge korekta 5: mobile start - menu plusika otwiera sie do gory */
@media (max-width: 640px) {
    .askora-start-search .askora-home-attach-menu,
    .askora-home-chat-input .askora-home-attach-menu,
    .askora-home .askora-home-attach-menu,
    .askora-start-search .askora-ai-attach-menu,
    .askora-home-chat-input .askora-ai-attach-menu {
        top: auto !important;
        bottom: calc(100% + 10px) !important;
    }

    .askora-start-search .askora-home-attach-menu.askora-ai-attach-menu-open-down,
    .askora-home-chat-input .askora-home-attach-menu.askora-ai-attach-menu-open-down,
    .askora-home .askora-home-attach-menu.askora-ai-attach-menu-open-down,
    .askora-start-search .askora-ai-attach-menu.askora-ai-attach-menu-open-down,
    .askora-home-chat-input .askora-ai-attach-menu.askora-ai-attach-menu-open-down {
        top: auto !important;
        bottom: calc(100% + 10px) !important;
    }
}

/* Askora ART hotfix: menu plusika wieksze o ok. 12% na desktopie i mobile.
   Ten override jest w ART, bo strona startowa nadpisuje style z Askora AI. */
body.askora-art-pl-home-page .askora-home-attach-menu,
body.askora-art-pl-home-page .askora-ai-attach-menu,
.askora-home .askora-home-attach-menu,
.askora-home .askora-ai-attach-menu,
.askora-home-chat-input .askora-home-attach-menu,
.askora-home-chat-input .askora-ai-attach-menu,
.askora-start-search .askora-home-attach-menu,
.askora-start-search .askora-ai-attach-menu,
.askora-home-attach-wrap .askora-home-attach-menu,
.askora-home-attach-wrap .askora-ai-attach-menu,
[data-askora-ai-attach-menu].askora-home-attach-menu,
[data-askora-ai-attach-menu].askora-ai-attach-menu {
    min-width: 197px !important;
    max-width: min(211px, calc(100vw - 24px)) !important;
    padding: 9px !important;
}

body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option,
body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option,
.askora-home .askora-home-attach-menu .askora-ai-attach-option,
.askora-home .askora-ai-attach-menu .askora-ai-attach-option,
.askora-home-chat-input .askora-home-attach-menu .askora-ai-attach-option,
.askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option,
.askora-start-search .askora-home-attach-menu .askora-ai-attach-option,
.askora-start-search .askora-ai-attach-menu .askora-ai-attach-option,
.askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option,
.askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option,
[data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option {
    min-height: 36px !important;
    padding: 8px 11px !important;
    gap: 11px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}

body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option > span:first-child,
body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home .askora-home-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home .askora-ai-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home-chat-input .askora-home-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option > span:first-child,
.askora-start-search .askora-home-attach-menu .askora-ai-attach-option > span:first-child,
.askora-start-search .askora-ai-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option > span:first-child,
.askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option > span:first-child,
[data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option > span:first-child,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option > span:first-child {
    font-size: 16px !important;
    line-height: 1.2 !important;
}

body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-icon,
body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-icon,
.askora-home .askora-home-attach-menu .askora-ai-attach-icon,
.askora-home .askora-ai-attach-menu .askora-ai-attach-icon,
.askora-home-chat-input .askora-home-attach-menu .askora-ai-attach-icon,
.askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-icon,
.askora-start-search .askora-home-attach-menu .askora-ai-attach-icon,
.askora-start-search .askora-ai-attach-menu .askora-ai-attach-icon,
.askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-icon,
.askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-icon,
[data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-icon,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-icon {
    flex: 0 0 15px !important;
    width: 15px !important;
    height: 15px !important;
}

body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-home .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-home .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-home-chat-input .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-start-search .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-start-search .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
.askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
[data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
[data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option {
    margin-top: 5px !important;
}

@media (max-width: 640px) {
    body.askora-art-pl-home-page .askora-home-attach-menu,
    body.askora-art-pl-home-page .askora-ai-attach-menu,
    .askora-home .askora-home-attach-menu,
    .askora-home .askora-ai-attach-menu,
    .askora-home-chat-input .askora-home-attach-menu,
    .askora-home-chat-input .askora-ai-attach-menu,
    .askora-start-search .askora-home-attach-menu,
    .askora-start-search .askora-ai-attach-menu,
    .askora-home-attach-wrap .askora-home-attach-menu,
    .askora-home-attach-wrap .askora-ai-attach-menu,
    [data-askora-ai-attach-menu].askora-home-attach-menu,
    [data-askora-ai-attach-menu].askora-ai-attach-menu {
        min-width: 197px !important;
        max-width: min(211px, calc(100vw - 24px)) !important;
        padding: 10px !important;
    }

    body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option,
    body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option,
    .askora-home .askora-home-attach-menu .askora-ai-attach-option,
    .askora-home .askora-ai-attach-menu .askora-ai-attach-option,
    .askora-home-chat-input .askora-home-attach-menu .askora-ai-attach-option,
    .askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option,
    .askora-start-search .askora-home-attach-menu .askora-ai-attach-option,
    .askora-start-search .askora-ai-attach-menu .askora-ai-attach-option,
    .askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option,
    .askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option,
    [data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option,
    [data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option {
        min-height: 43px !important;
        padding: 10px 12px !important;
        gap: 12px !important;
        font-size: 16px !important;
        line-height: 1.2 !important;
    }

    body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option-camera,
    body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option-camera,
    .askora-home .askora-home-attach-menu .askora-ai-attach-option-camera,
    .askora-home .askora-ai-attach-menu .askora-ai-attach-option-camera,
    .askora-home-chat-input .askora-home-attach-menu .askora-ai-attach-option-camera,
    .askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option-camera,
    .askora-start-search .askora-home-attach-menu .askora-ai-attach-option-camera,
    .askora-start-search .askora-ai-attach-menu .askora-ai-attach-option-camera,
    .askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option-camera,
    .askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option-camera,
    [data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option-camera,
    [data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option-camera {
        display: flex !important;
    }

    body.askora-art-pl-home-page .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    body.askora-art-pl-home-page .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-home .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-home .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-home-chat-input .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-home-chat-input .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-start-search .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-start-search .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-home-attach-wrap .askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    .askora-home-attach-wrap .askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    [data-askora-ai-attach-menu].askora-home-attach-menu .askora-ai-attach-option + .askora-ai-attach-option,
    [data-askora-ai-attach-menu].askora-ai-attach-menu .askora-ai-attach-option + .askora-ai-attach-option {
        margin-top: 6px !important;
    }
}

/* Askora hotfix: spójne, eleganckie ikony menu plusika */
.askora-ai-attach-menu .askora-ai-attach-icon,
.askora-home-attach-menu .askora-ai-attach-icon,
[data-askora-ai-attach-menu] .askora-ai-attach-icon {
    position: relative !important;
    display: inline-block !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    color: #0f172a !important;
    background-color: currentColor !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 0.96 !important;
    -webkit-mask: var(--askora-attach-icon-svg) center / contain no-repeat !important;
    mask: var(--askora-attach-icon-svg) center / contain no-repeat !important;
}

.askora-ai-attach-menu .askora-ai-attach-icon::before,
.askora-ai-attach-menu .askora-ai-attach-icon::after,
.askora-home-attach-menu .askora-ai-attach-icon::before,
.askora-home-attach-menu .askora-ai-attach-icon::after,
[data-askora-ai-attach-menu] .askora-ai-attach-icon::before,
[data-askora-ai-attach-menu] .askora-ai-attach-icon::after {
    content: none !important;
    display: none !important;
}

.askora-ai-attach-icon-camera {
    --askora-attach-icon-svg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTQgOC41YTIuNSAyLjUgMCAwIDEgMi41LTIuNWgybDEuNC0xLjhoNC4yTDE1LjUgNmgyQTIuNSAyLjUgMCAwIDEgMjAgOC41djhBMi41IDIuNSAwIDAgMSAxNy41IDE5aC0xMUEyLjUgMi41IDAgMCAxIDQgMTYuNXoiLz48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyLjUiIHI9IjMuMiIvPjwvc3ZnPg==") !important;
}

.askora-ai-attach-icon-image {
    --askora-attach-icon-svg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHJlY3QgeD0iNCIgeT0iNSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE0IiByeD0iMyIvPjxjaXJjbGUgY3g9IjkiIGN5PSIxMCIgcj0iMS41Ii8+PHBhdGggZD0iTTcgMTdsNC4yLTQuMiAzIDNMMTYgMTRsMiAzIi8+PC9zdmc+") !important;
}

.askora-ai-attach-icon-document {
    --askora-attach-icon-svg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTcgMy44aDYuMkwxOCA4LjZWMjBhMS4yIDEuMiAwIDAgMS0xLjIgMS4ySDdBMS4yIDEuMiAwIDAgMSA1LjggMjBWNUExLjIgMS4yIDAgMCAxIDcgMy44eiIvPjxwYXRoIGQ9Ik0xMyA0djVoNSIvPjxwYXRoIGQ9Ik05IDEzaDYiLz48cGF0aCBkPSJNOSAxNi41aDUiLz48L3N2Zz4=") !important;
}

.askora-ai-attach-icon-file {
    --askora-attach-icon-svg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTE5IDExLjVsLTcuNyA3LjdhNSA1IDAgMCAxLTcuMS03LjFsOC41LTguNWEzLjUgMy41IDAgMCAxIDUgNWwtOC42IDguNmEyIDIgMCAxIDEtMi44LTIuOGw3LjgtNy44Ii8+PC9zdmc+") !important;
}

@media (max-width: 640px) {
    .askora-ai-attach-menu .askora-ai-attach-icon,
    .askora-home-attach-menu .askora-ai-attach-icon,
    [data-askora-ai-attach-menu] .askora-ai-attach-icon {
        flex-basis: 19px !important;
        width: 19px !important;
        height: 19px !important;
        min-width: 19px !important;
        min-height: 19px !important;
    }
}
