        /* ═══════════════════════════════════════════════════════════════ */
        /* MEVZUAT SEARCH — FLAGSHIP TOOL STYLES                       */
        /* ═══════════════════════════════════════════════════════════════ */
        .ms-hero {
            position: relative;
            border-radius: var(--radius-xl);
            overflow: hidden;
            margin-bottom: var(--space-xl);
            min-height: 200px;
            display: flex;
            align-items: flex-end;
            padding: var(--space-xl);
        }

        .ms-hero img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        .ms-hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(transparent 20%, rgba(10, 14, 26, 0.95) 100%);
            z-index: 1;
        }

        .ms-hero-content {
            position: relative;
            z-index: 2;
        }

        .ms-hero h1 {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin: 0 0 6px 0;
        }

        .ms-hero p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            margin: 0;
        }

        .ms-stats-row {
            display: flex;
            gap: var(--space-md);
            margin-top: var(--space-md);
        }

        .ms-stat {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 999px;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .ms-stat strong {
            color: #a78bfa;
            font-family: var(--font-mono);
        }

        /* Search Section */
        .ms-search-section {
            margin-bottom: var(--space-xl);
        }

        .ms-search-wrapper {
            position: relative;
        }

        .ms-search-input {
            width: 100%;
            padding: 18px 60px 18px 22px;
            border-radius: var(--radius-xl);
            border: 1px solid rgba(139, 92, 246, 0.2);
            background: rgba(255, 255, 255, 0.03);
            color: #fff;
            font-size: 1.1rem;
            font-family: var(--font-body);
            outline: none;
            transition: all 0.3s;
            box-sizing: border-box;
        }

        .ms-search-input:focus {
            border-color: rgba(139, 92, 246, 0.5);
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
        }

        .ms-search-input::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        .ms-search-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            border-radius: var(--radius-lg);
            border: none;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .ms-search-btn:hover {
            transform: translateY(-50%) scale(1.05);
        }

        .ms-search-spinner {
            display: none;
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            border: 2px solid rgba(139, 92, 246, 0.3);
            border-top: 2px solid #a78bfa;
            border-radius: 50%;
            animation: ms-spin 0.8s linear infinite;
        }

        @keyframes ms-spin {
            to {
                transform: translateY(-50%) rotate(360deg);
            }
        }

        /* Filters */
        .ms-filters {
            display: flex;
            gap: var(--space-sm);
            margin-top: var(--space-md);
            flex-wrap: wrap;
        }

        .ms-filter-btn {
            padding: 6px 16px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.03);
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
            font-family: var(--font-body);
        }

        .ms-filter-btn:hover {
            background: rgba(139, 92, 246, 0.1);
            border-color: rgba(139, 92, 246, 0.3);
        }

        .ms-filter-btn.active {
            background: rgba(139, 92, 246, 0.15);
            border-color: rgba(139, 92, 246, 0.4);
            color: #a78bfa;
            font-weight: 600;
        }

        /* Results */
        .ms-results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--space-md);
        }

        .ms-results-title {
            font-weight: 700;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .ms-results-count {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.4);
            font-family: var(--font-mono);
        }

        .ms-results-list {
            display: flex;
            flex-direction: column;
            gap: var(--space-md);
        }

        /* Result Card */
        .ms-result-card {
            padding: var(--space-lg);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.02);
            transition: all 0.3s;
            cursor: default;
        }

        .ms-result-card:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(139, 92, 246, 0.2);
            transform: translateY(-1px);
            cursor: pointer;
        }

        .ms-result-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--space-sm);
        }

        .ms-result-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            border-radius: 999px;
            font-size: 0.7rem;
            font-weight: 600;
        }

        .ms-badge-kanun {
            background: rgba(99, 102, 241, 0.15);
            color: #818cf8;
        }

        .ms-badge-yonetmelik {
            background: rgba(6, 182, 212, 0.15);
            color: #22d3ee;
        }

        .ms-badge-teblig,
        .ms-badge-tebligh {
            background: rgba(251, 146, 60, 0.15);
            color: #fb923c;
        }

        .ms-badge-mevzuat {
            background: rgba(139, 92, 246, 0.15);
            color: #a78bfa;
        }

        .ms-result-score {
            font-size: 0.7rem;
            font-family: var(--font-mono);
            color: rgba(52, 211, 153, 0.8);
        }

        .ms-result-title {
            font-weight: 700;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 6px;
            line-height: 1.4;
        }

        .ms-result-content {
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.6;
        }

        .ms-result-content mark {
            background: rgba(139, 92, 246, 0.25);
            color: #c4b5fd;
            border-radius: 2px;
            padding: 0 2px;
        }

        .ms-result-footer {
            display: flex;
            gap: var(--space-sm);
            margin-top: var(--space-sm);
            flex-wrap: wrap;
        }

        /* Accordion Expand */
        .ms-result-expand {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), padding 0.3s;
            padding: 0 var(--space-md);
            background: rgba(139, 92, 246, 0.03);
            border-radius: 0 0 var(--radius-lg) var(--radius-lg);
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.7;
        }

        .ms-result-card.expanded .ms-result-expand {
            max-height: 600px;
            padding: var(--space-md);
            border-top: 1px solid rgba(139, 92, 246, 0.1);
        }

        .ms-result-card.expanded {
            border-color: rgba(139, 92, 246, 0.3);
            box-shadow: 0 4px 30px rgba(139, 92, 246, 0.08);
        }

        .ms-expand-toggle {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.7rem;
            color: #a78bfa;
            cursor: pointer;
            padding: 2px 10px;
            border-radius: 999px;
            background: rgba(139, 92, 246, 0.08);
            border: 1px solid rgba(139, 92, 246, 0.15);
            transition: all 0.2s;
        }

        .ms-expand-toggle:hover {
            background: rgba(139, 92, 246, 0.15);
        }

        .ms-result-card.expanded .ms-expand-toggle {
            background: rgba(139, 92, 246, 0.2);
        }

        /* Ceza Badge */
        .ms-penalty-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            border-radius: 999px;
            font-size: 0.68rem;
            font-weight: 600;
            background: rgba(239, 68, 68, 0.1);
            color: #f87171;
            border: 1px solid rgba(239, 68, 68, 0.15);
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

        .ms-penalty-badge:hover {
            background: rgba(239, 68, 68, 0.2);
            transform: scale(1.03);
        }

        /* Favori */
        .ms-fav-btn {
            background: none;
            border: none;
            font-size: 1rem;
            cursor: pointer;
            padding: 0;
            transition: transform 0.2s;
            filter: grayscale(1) opacity(0.4);
        }

        .ms-fav-btn:hover {
            transform: scale(1.2);
            filter: none;
        }

        .ms-fav-btn.active {
            filter: none;
        }

        /* İlgili Araç Linki */
        .ms-tool-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            border-radius: 999px;
            font-size: 0.68rem;
            font-weight: 600;
            background: rgba(16, 185, 129, 0.1);
            color: #34d399;
            border: 1px solid rgba(16, 185, 129, 0.15);
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

        .ms-tool-link:hover {
            background: rgba(16, 185, 129, 0.2);
            transform: scale(1.03);
        }

        /* Favori Panel */
        .ms-fav-panel {
            margin-bottom: var(--space-lg);
            padding: var(--space-md);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(251, 191, 36, 0.15);
            background: rgba(251, 191, 36, 0.03);
            display: none;
        }

        .ms-fav-panel.has-items {
            display: block;
        }

        .ms-fav-panel-title {
            font-size: 0.8rem;
            font-weight: 700;
            color: #fbbf24;
            margin-bottom: 8px;
        }

        .ms-fav-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .ms-fav-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 12px;
            border-radius: 999px;
            font-size: 0.72rem;
            background: rgba(251, 191, 36, 0.08);
            border: 1px solid rgba(251, 191, 36, 0.15);
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.2s;
        }

        .ms-fav-chip:hover {
            background: rgba(251, 191, 36, 0.15);
        }

        .ms-fav-chip-remove {
            font-size: 0.6rem;
            opacity: 0.4;
            cursor: pointer;
        }

        .ms-fav-chip-remove:hover {
            opacity: 1;
        }

        .ms-result-tag {
            font-size: 0.65rem;
            padding: 2px 8px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.04);
            color: rgba(255, 255, 255, 0.4);
        }

        /* Empty State */
        .ms-empty {
            text-align: center;
            padding: var(--space-2xl);
            color: rgba(255, 255, 255, 0.3);
        }

        .ms-empty-icon {
            font-size: 3rem;
            margin-bottom: var(--space-md);
            opacity: 0.5;
        }

        .ms-empty h3 {
            margin: 0 0 8px 0;
            color: rgba(255, 255, 255, 0.5);
        }

        .ms-empty p {
            font-size: 0.85rem;
        }

        /* Quick links */
        .ms-quick-links {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: var(--space-md);
            margin-top: var(--space-xl);
        }

        .ms-quick-card {
            padding: var(--space-md);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.02);
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            color: inherit;
        }

        .ms-quick-card:hover {
            background: rgba(139, 92, 246, 0.08);
            border-color: rgba(139, 92, 246, 0.2);
        }

        .ms-quick-icon {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .ms-quick-title {
            font-weight: 700;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 4px;
        }

        .ms-quick-desc {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.4);
        }

        /* Responsive */
        @media(max-width:768px) {
            .ms-hero h1 {
                font-size: 1.3rem;
            }

            .ms-stats-row {
                flex-wrap: wrap;
            }

            .ms-search-input {
                font-size: 0.95rem;
                padding: 14px 50px 14px 16px;
            }
        }

.tool-back-inline {
    display: flex;
    align-items: center;
    gap: 6px;
}
