/**
 * AI Help 전용 비차단 토스트 (업무 화면 dim 없음)
 * - common-modal 카드 톤·버튼 계열과 정렬
 */
.aics-ui-toast-host {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 10040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

/* 로그인 화면의 플로팅 운영톡(panel: 2147483002) 위에서 메뉴 안내를 표시한다. */
body.login-page > .aics-ui-toast-host {
    z-index: 2147483003;
}

.aics-ui-toast {
    pointer-events: auto;
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 14px 40px 14px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    font-size: 14px;
    color: #333;
    animation: aics-ui-toast-in 0.2s ease-out;
}

.aics-ui-toast--warning {
    border-left: 4px solid #f59e0b;
}

.aics-ui-toast--error {
    border-left: 4px solid #e74c3c;
}

.aics-ui-toast-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
}

.aics-ui-toast-message {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    white-space: pre-wrap;
    word-break: break-word;
}

.aics-ui-toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #666;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.aics-ui-toast-close:hover {
    background: #f0f0f0;
    color: #333;
}

@keyframes aics-ui-toast-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .aics-ui-toast-host {
        right: 12px;
        left: 12px;
        bottom: 80px;
        align-items: stretch;
    }

    .aics-ui-toast {
        max-width: none;
    }
}
