@import url("/design-tokens.css");

/* The supplied transparent mascot is the shortcut's recognizable control. */
.pptn-bot-launcher {
    position: fixed;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 99;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 88px;
    max-width: calc(100vw - 48px);
    padding: 4px;
    border-radius: 16px;
    background: var(--color-bg-elevated);
    color: var(--color-text);
    box-shadow: 0 8px 24px rgba(0, 13, 42, .28);
    font-family: var(--font-sans);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 180ms ease-out, transform 180ms ease-out;
}
.pptn-bot-launcher__image {
    display: block;
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    object-fit: contain;
}
.pptn-bot-launcher:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 4px;
}
@media (hover: hover) {
    .pptn-bot-launcher:hover {
        color: var(--color-text);
        background: var(--brand-navy-900);
        transform: translateY(-3px);
    }
}
.pptn-bot-launcher:active { transform: translateY(0) scale(.97); }
@media (max-width: 768px) {
    .pptn-bot-launcher {
        right: calc(16px + env(safe-area-inset-right, 0px));
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 72px;
        height: 72px;
        min-width: 72px;
        min-height: 72px;
        padding: 4px;
        justify-content: center;
        border-radius: 14px;
    }
    .pptn-bot-launcher__image { width: 64px; height: 64px; flex-basis: 64px; }
    .pptn-dashboard .pptn-bot-launcher {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
}
@media (prefers-reduced-motion: reduce) {
    .pptn-bot-launcher { transition: none; }
    .pptn-bot-launcher:hover, .pptn-bot-launcher:active { transform: none; }
}
@media print {
    .pptn-bot-launcher { display: none; }
}
