.v2-search-field {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
    height: 48px;
    border: 1px solid var(--v2-border-strong, #d1d5db);
    border-radius: var(--v2-radius, 10px);
    background: var(--v2-surface, #fff);
    box-shadow: var(--v2-shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.05));
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.v2-search-field:focus-within {
    border-color: var(--v2-primary, #0369a1);
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.v2-search-field .v2-search-input {
    flex: 1;
    min-width: 0;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.v2-search-field .v2-search-input:focus {
    border-color: transparent;
    box-shadow: none;
}

.v2-ai-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    align-self: center;
    height: 100%;
    padding: 0 12px 0 14px;
    border-right: 1px solid var(--v2-border, #e5e7eb);
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.98), rgba(255, 255, 255, 0.72));
    color: var(--v2-primary, #0369a1);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap;
}

.v2-ai-live-badge__dot {
    position: relative;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    animation: v2-ai-live-pulse 2s ease-in-out infinite;
}

.v2-ai-live-badge__dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.35);
    animation: v2-ai-live-ring 2s ease-in-out infinite;
}

.v2-ai-live-badge__icon {
    flex-shrink: 0;
    opacity: 0.88;
}

@keyframes v2-ai-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
    50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

@keyframes v2-ai-live-ring {
    0%, 100% { transform: scale(0.85); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.2; }
}

@media (max-width: 520px) {
    .v2-ai-live-badge__text {
        display: none;
    }

    .v2-ai-live-badge {
        padding: 0 10px;
        gap: 0;
    }

    .v2-ai-live-badge__icon {
        display: none;
    }
}
