/* VIEW SWITCHER & SEARCH TOOLBAR */
        .controls-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            width: 100%;
            max-width: 100%;
        }

        @media (max-width: 768px) {
            .controls-toolbar {
                flex-direction: column;
                align-items: stretch;
                gap: 1rem;
            }
        }

        .view-tabs {
            display: flex;
            background: #FFFFFF;
            padding: 0.35rem;
            border-radius: 9999px;
            border: 1.5px solid var(--primary-border);
            box-shadow: 0 4px 15px var(--accent-glow);
            gap: 0.35rem;
            max-width: 100%;
        }

        @media (max-width: 768px) {
            .view-tabs {
                width: 100%;
            }
        }

        .view-tab-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 0.88rem;
            padding: 0.55rem 1.35rem;
            border-radius: 9999px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s;
        }

        @media (max-width: 768px) {
            .view-tab-btn {
                flex: 1;
                justify-content: center;
                padding: 0.5rem 0.5rem;
                font-size: 0.82rem;
            }
        }

        .view-tab-btn.active {
            background: linear-gradient(135deg, #BE185D, #F43F5E);
            color: #FFFFFF;
            box-shadow: 0 4px 15px var(--accent-glow);
        }

        .search-pill-box {
            display: flex;
            align-items: center;
            background: #FFFFFF;
            border: 1.5px solid var(--primary-border);
            border-radius: 9999px;
            padding: 0.6rem 1.35rem;
            gap: 0.75rem;
            min-width: 0;
            flex: 1;
            max-width: 480px;
            width: 100%;
            box-shadow: 0 4px 15px var(--accent-glow);
            transition: all 0.2s;
        }

        @media (max-width: 768px) {
            .search-pill-box {
                max-width: 100%;
            }
        }

        .search-pill-box:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 20px var(--accent-glow);
        }

        .search-pill-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            color: var(--text-heading);
            font-family: var(--font-body);
            font-size: 0.95rem;
            font-weight: 500;
            min-width: 0;
        }

        .search-pill-input::placeholder {
            color: var(--primary-light);
        }
