.hostillaAssistantLauncher,
.hostillaAssistantLauncher * {
    box-sizing: border-box;
}

.hostillaAssistantLauncherButton {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2147483000;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 5px 15px 5px 5px;
    border: 1px solid #397b17;
    border-radius: 8px;
    background: #4ca51b;
    box-shadow: 0 8px 24px rgba(24, 44, 18, .22);
    color: #ffffff;
    font: 700 14px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.hostillaAssistantLauncherButton:hover,
.hostillaAssistantLauncherButton:focus {
    background: #3f8e14;
    outline: 3px solid #eadb7d;
    outline-offset: 2px;
}

.hostillaAssistantLauncherAvatar {
    display: block;
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 6px;
    background: #f5f8f2;
}

.hostillaAssistantLauncherAvatar img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 42px;
    height: 42px;
    max-width: none;
    border: 0;
    object-fit: contain;
    transform: scale(2.35);
    transform-origin: 50% 18%;
}

.hostillaAssistantLauncherPanel {
    position: fixed;
    right: 18px;
    bottom: 82px;
    z-index: 2147483001;
    display: none;
    width: min(430px, calc(100vw - 24px));
    height: min(720px, calc(100vh - 105px));
    overflow: hidden;
    border: 1px solid #b8c8b0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 54px rgba(18, 31, 17, .3);
}

.hostillaAssistantLauncherPanel.is-open {
    display: flex;
    flex-direction: column;
}

.hostillaAssistantLauncherHead {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 8px 14px;
    border-bottom: 1px solid #d9e4d4;
    background: #f2f7ee;
    color: #263829;
    font: 700 14px/1.2 Arial, Helvetica, sans-serif;
}

.hostillaAssistantLauncherClose {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #263829;
    font-size: 26px;
    line-height: 34px;
    cursor: pointer;
}

.hostillaAssistantLauncherClose:hover,
.hostillaAssistantLauncherClose:focus {
    background: #e3eddc;
    outline: 2px solid #d5bd42;
}

.hostillaAssistantLauncherFrame {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    border: 0;
    background: #ffffff;
}

@media (max-width: 560px) {
    .hostillaAssistantLauncherButton {
        right: 10px;
        bottom: 10px;
        min-width: 54px;
        padding-right: 5px;
    }

    .hostillaAssistantLauncherButton span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .hostillaAssistantLauncherPanel {
        inset: 8px;
        width: auto;
        height: auto;
        max-width: none;
        max-height: none;
    }
}

@media print {
    .hostillaAssistantLauncherButton,
    .hostillaAssistantLauncherPanel { display: none !important; }
}
