        :root {
            --primary-blue: #002b49;
            --accent-blue: #0066cc;
            --accent-color: #EE7103; /* Veco Orange */
            --bg-color: #f4f7f9;
            --card-bg: #ffffff;
            --text-dark: #333333;
            --text-muted: #666666;
            --border-color: #e2e8f0;
            --success: #10b981;
            --hover-bg: #f8fafc;
        }
		
		/* Dark Theme Variables */
		body.dark-theme {
			--primary-blue: #93c5fd;
			--accent-blue: #60a5fa;
			--bg-color: #0f172a;
			--card-bg: #1e293b;
			--text-dark: #f1f5f9;
			--text-muted: #94a3b8;
			--border-color: #334155;
			--hover-bg: #0f172a;
            background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
            background-size: 25px 25px;
		}

		/* Schedule Timeline Grid */
		.timeline-grid {
			display: grid;
			gap: 0;
			border: 1px solid var(--border-color);
			border-radius: 8px;
			overflow: auto; /* Grid acts as the scroll container */
			max-height: 600px;
			position: relative;
			background: var(--card-bg);
		}
		.timeline-cell {
			padding: 6px 4px;
			text-align: center;
			border-bottom: 1px solid var(--border-color);
			border-right: 1px solid var(--border-color);
			position: relative;
			min-height: 48px;
			display: flex;
			flex-direction: column;
			justify-content: center;
		}
		/* Weekend Shading */
		.weekend-cell {
			background-color: rgba(0, 0, 0, 0.04);
			border-right: 1px solid rgba(0,0,0,0.08);
		}
		body.dark-theme .weekend-cell {
			background-color: rgba(255, 255, 255, 0.03);
			border-right-color: #334155;
		}

		/* Sticky Client Column */
		.timeline-client-name {
			position: sticky;
			left: 0;
			background: var(--card-bg);
			padding: 8px 16px;
			font-weight: 600;
			font-size: 0.85rem;
			border-bottom: 1px solid var(--border-color);
			border-right: 2px solid var(--border-color);
			display: flex;
			align-items: center;
			box-shadow: 3px 0 6px -2px rgba(0,0,0,0.05); /* Drop shadow indicates it sits above cells */
		}

		/* Event Blocks */
		.timeline-event {
			position: relative;
			margin: 6px 2px;
			border-radius: 4px;
			cursor: pointer;
			display: flex;
			align-items: center;
			font-size: 0.75rem;
			font-weight: 600;
			color: white;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis; /* NEW: Keeps long names from breaking layout */
			padding: 0 8px; /* NEW: General padding for all events */
			transition: opacity 0.2s, transform 0.2s, filter 0.2s, box-shadow 0.2s;
			box-shadow: 0 1px 3px rgba(0,0,0,0.1);
			z-index: 5;
		}
		.past-event {
			opacity: 0.45 !important;
			filter: grayscale(0.6); /* Desaturates the bright colors slightly */
		}
		.past-event:hover {
			opacity: 1 !important; /* Bring it back to full visibility on hover */
			filter: grayscale(0);
		}
		.timeline-event:hover {
			opacity: 0.95;
			z-index: 25; /* Pops above headers when hovering */
			transform: translateY(-1px);
			box-shadow: 0 4px 6px rgba(0,0,0,0.15);
		}
		.event-start { 
			background-color: var(--accent-blue); 
			justify-content: center;
		}
		.event-golive {
			background: linear-gradient(to right, var(--accent-color) 75%, var(--success) 25%);
			padding: 0 10px; /* NEW: Adds breathing room to the edges */
		}
		.event-test {
			background: linear-gradient(to right, #f43f5e, #e11d48); /* Vibrant rose/pink */
			padding: 0 10px;
		}

		/* Today Vertical Line */
		.today-marker {
			border-left: 2px dashed #ef4444; /* A noticeable red dashed line */
			pointer-events: none; /* Allows hovering over events beneath it */
			z-index: 15; /* Sits above the grid background but below events (z-index: 25) */
			position: relative;
			margin-left: -1px; /* Centers the border on the grid line */
		}

		/* Highlight today's header column */
		.today-header {
			background-color: rgba(239, 68, 68, 0.05) !important;
			border-bottom: 2px solid #ef4444 !important;
			color: #ef4444 !important;
		}
		body.dark-theme .today-header {
			background-color: rgba(239, 68, 68, 0.15) !important;
		}

		body.dark-theme th { background-color: #1e293b; }
		body.dark-theme .tabs-container { background-color: #334155; }
		body.dark-theme input[type="search"] { background-color: var(--bg-color); color: var(--text-dark); }
		body.dark-theme input[type="search"]:focus { background-color: #0f172a; }
		body.dark-theme .tenant-id { background: #0f172a; border-color: var(--border-color); }
		body.dark-theme tbody tr:hover .tenant-id { background: #1e293b; }
		body.dark-theme .code-container { background-color: #020617; }
		body.dark-theme .logo-container { background-color: #e2e8f0; }
        body.dark-theme .history-item { background: var(--bg-color); }
        body.dark-theme .history-item:hover { background: var(--hover-bg); border-color: #475569; }
        body.dark-theme .history-item-icon { background: rgba(255,255,255,0.9); }
        body.dark-theme .history-item-value { background: rgba(0,0,0,0.2); }
        body.dark-theme .ext-link-btn { background: #0f172a; border-color: #334155; color: #94a3b8; }
        body.dark-theme .ext-link-btn:hover { background: var(--accent-blue); color: #fff; border-color: var(--accent-blue); }
        body.dark-theme .enum-badge { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #93c5fd; }
        body.dark-theme .script-btn.active-nav { background-color: var(--accent-blue); color: #ffffff; }
        
        body.dark-theme .nested-table { background: #0f172a; box-shadow: inset 0 0 4px rgba(0,0,0,0.2); }
        body.dark-theme .form-group input[type="date"] { color: var(--text-muted); }
        body.dark-theme .nested-table th { background: rgba(255,255,255,0.05); color: #cbd5e1; border-bottom-color: #334155;}
        body.dark-theme .nested-table td { border-bottom-color: #1e293b; }
        body.dark-theme .child-row { background-color: #020617; }
        body.dark-theme .child-row td { background-color: #0f172a; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-dark);
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.04) 1px, transparent 0); /* Moved from body.dark-theme */
            background-size: 25px 25px;
        }

        /* Top Navigation Bar */
        .top-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: var(--card-bg);
            padding: 15px 30px;
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
            z-index: 20;
            position: relative;
        }

        .branding { display: flex; align-items: center; gap: 20px; }
        .branding a { display: block; transition: transform 0.2s; }
        .branding a:hover { transform: scale(1.05); }
        .branding img { height: 32px; display: block; }
        
        /* Dropdown Navigation */
        .dropdown { position: relative; display: inline-block; border-left: 2px solid var(--border-color); padding-left: 20px; }
        .dropdown-btn { margin: 0; font-size: 1.25rem; color: var(--primary-blue); font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; transition: opacity 0.2s; }
        .dropdown-btn:hover { opacity: 0.8; }
        .dropdown-content { display: none; position: absolute; background-color: var(--card-bg); min-width: 260px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); z-index: 100; border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; top: calc(100% + 5px); left: 20px; transform-origin: top left; animation: popIn 0.2s ease-out; }
        .dropdown-content a { color: var(--text-dark); padding: 14px 20px; text-decoration: none; display: block; font-size: 0.95rem; font-weight: 600; border-bottom: 1px solid var(--border-color); transition: all 0.2s; }
        .dropdown-content a:last-child { border-bottom: none; }
        .dropdown-content a:hover { background-color: var(--hover-bg); color: var(--accent-blue); padding-left: 24px; }
        .dropdown-content.show { display: block; }
        
        body.dark-theme .dropdown-content { background-color: #1e293b; border-color: #334155; }
        body.dark-theme .dropdown-content a { color: #f1f5f9; border-color: #334155; }
        body.dark-theme .dropdown-content a:hover { background-color: #0f172a; color: var(--accent-blue); }

        .script-btn {
            background-color: transparent; border: 1px solid var(--border-color); color: var(--text-muted);
            padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
            letter-spacing: 0.5px; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center;
            text-decoration: none;
        }

        .script-btn:hover { border-color: var(--accent-blue); color: var(--accent-blue); background-color: rgba(0, 102, 204, 0.05); }

		.event-trainer {
			background: linear-gradient(to right, #8b5cf6, #6d28d9); /* A nice vibrant purple */
			padding: 0 10px;
		}

        .script-btn--primary {
            background-color: var(--accent-color);
            color: white !important;
            border-color: var(--accent-color);
            padding: 8px 16px;
            gap: 8px;
            text-transform: none;
            font-size: 0.875rem;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        .script-btn--primary:hover {
            background-color: #d96603; /* A darker orange */
            border-color: #d96603;
            color: white !important;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .script-btn--primary:disabled {
            background-color: #f3a06a;
            border-color: #f3a06a;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* UI Animations */
        @keyframes spinIcon { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(0.7); } to { transform: rotate(360deg) scale(1); } }
        .spin-anim { animation: spinIcon 0.4s ease-in-out; }
        @keyframes flashTable { 0% { opacity: 1; } 50% { opacity: 0.5; background: var(--hover-bg); } 100% { opacity: 1; } }
        .flash-anim { animation: flashTable 0.5s ease-out; }

        /* Hidden Clients Toggle Icon State */
        body.hide-internal .hide-icon-on { display: none; } body.hide-internal .hide-icon-off { display: block; }
        body:not(.hide-internal) .hide-icon-on { display: block; } body:not(.hide-internal) .hide-icon-off { display: none; }

        /* Tabs with Sliding Pill */
        .tabs-container {
            display: flex; gap: 4px; background-color: #e2e8f0; padding: 4px; border-radius: 8px;
            position: absolute; left: 50%; transform: translateX(-50%); z-index: 10;
        }

        .tab-slider { position: absolute; top: 4px; bottom: 4px; background: var(--card-bg); border-radius: 6px; z-index: 1; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
        .tab-btn { background-color: transparent; border: none; color: var(--text-muted); padding: 8px 20px; border-radius: 6px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: color 0.2s; display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
        .tab-btn:hover:not(.active) { color: var(--text-dark); }
        .tab-btn.active { color: var(--primary-blue); }
        .tab-badge { background-color: rgba(0,0,0,0.08); color: inherit; padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: 700; }
        .tab-btn.active .tab-badge { background-color: rgba(0, 43, 73, 0.1); color: var(--primary-blue); }

        .top-actions { display: flex; align-items: center; gap: 12px; }

        .search-container { min-width: 300px; max-width: 400px; position: relative; }
        input[type="search"] { width: 100%; padding: 10px 16px; padding-right: 35px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.95rem; box-sizing: border-box; transition: all 0.2s; background-color: var(--bg-color); }
        input[type="search"]:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1); background-color: #ffffff; transform: scale(1.02); }
        .search-hint { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.05); padding: 2px 6px; border-radius: 4px; font-size: 0.7rem; color: var(--text-muted); pointer-events: none; font-family: monospace; border: 1px solid rgba(0,0,0,0.1); transition: opacity 0.2s; }
        input[type="search"]:focus + .search-hint { opacity: 0; }

        /* Main Content Layout */
        .main-content { flex-grow: 1; padding: 25px 30px; display: flex; gap: 20px; overflow: hidden; }
        .view-section { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
        
        /* Styles specific to index.html */
        .index-main-content {
            padding-top: 2rem;
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }
        .index-header-text {
            text-align: left;
            margin-bottom: 40px;
        }
        .tool-card {
            display: flex; /* Changed to flex */
            flex-direction: column; /* Stack content vertically */
            height: 100%; /* Ensure card fills grid cell height */
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1.5rem;
            text-decoration: none;
            color: var(--text-dark);
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03), 0 2px 4px -2px rgba(0,0,0,0.03);
            transition: all 0.2s ease-in-out;
        }
        .tool-card-content {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            flex-grow: 1; /* Allow this section to grow and fill space */
        }
        .tool-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -4px rgba(0,0,0,0.07);
            border-color: var(--accent-blue); /* Changed to accent-blue for consistency */
        }
        .tool-card-icon {
            flex-shrink: 0; width: 48px; height: 48px;
            background-color: rgba(238, 113, 3, 0.08); /* Using a fixed orange for icon background */
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            color: var(--accent-color); 
            transition: all 0.2s ease;
        }
        .tool-card:hover .tool-card-icon { background-color: var(--accent-color); color: white; transform: scale(1.1); }
        .tool-card-icon svg { width: 24px; height: 24px; }
        .tool-card-text { flex-grow: 1; }
        .tool-card-text h2 { 
			margin: 0 0 0.5rem 0; 
			font-size: 1.125rem; 
			font-weight: 600; 
			color: var(--text-dark); 

			/* 1. Standardize line height */
			line-height: 1.3; 

			/* 2. Force the header to always be exactly 2 lines tall */
			min-height: calc(1.3em * 2); 

			/* 3. Truncate text with an ellipsis if it exceeds 2 lines */
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			overflow: hidden;
			text-overflow: ellipsis;
		}
        .tool-card-text p { margin: 0; font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
        .tool-card-arrow { 
            color: var(--border-color); 
            transition: transform 0.2s ease, color 0.2s ease; 
            align-self: flex-end; /* Align arrow to the right edge */
        }
		.tool-card-text p {
			margin: 0;
			font-size: 0.875rem;
			color: var(--text-muted);

			/* 1. Standardize line height */
			line-height: 1.5; 

			/* 2. Force the paragraph to always be exactly 3 lines tall */
			min-height: calc(1.5em * 3); 

			/* 3. Truncate text with an ellipsis if it exceeds 3 lines */
			display: -webkit-box;
			-webkit-line-clamp: 3;
			-webkit-box-orient: vertical;
			overflow: hidden;
			text-overflow: ellipsis;
		}
        .tool-card:hover .tool-card-arrow { transform: translateX(5px); color: var(--accent-color); }
        body.dark-theme .tool-card { background: #1f2937; }
        body.dark-theme .tool-card:hover { border-color: var(--accent-color); }
        body.dark-theme .tool-card-icon { background-color: rgba(238, 113, 3, 0.15); }
        body.dark-theme .tool-card:hover .tool-card-icon { background-color: var(--accent-color); }
        body.dark-theme .tool-card-text h2 { color: var(--text-dark); }

        .results-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; padding: 0 5px; flex-shrink: 0; }
        
        /* NEW: Grid Column Layout for Index Page */
        .tool-grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; }
        .tool-grid-title { grid-column: 1 / -1; margin: 1.5rem 0 0.5rem 0; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-color); font-size: 1.1rem; font-weight: 600; color: var(--primary-blue); text-transform: uppercase; letter-spacing: 0.05em; }
        .tool-grid-title:first-of-type { margin-top: 0; }
        body.dark-theme .tool-grid-title { color: var(--text-dark); }

        .meta-actions { display: flex; align-items: center; gap: 15px; }

        .export-btn { background: transparent; border: none; color: var(--accent-blue); font-size: 0.85rem; font-weight: 600; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: background 0.2s; display: flex; align-items: center; gap: 4px; }
        .export-btn:hover { background: rgba(0, 102, 204, 0.1); }

        .table-wrapper { flex-grow: 1; overflow-y: auto; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
        table { width: 100%; border-collapse: collapse; }
        th, td { text-align: left; padding: 14px 24px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
        th { background-color: #f1f5f9; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 var(--border-color); user-select: none; }
        th.sortable { cursor: pointer; transition: background-color 0.2s, color 0.2s; }
        th.sortable:hover { background-color: #e2e8f0; color: var(--primary-blue); }
        th.sortable::after { content: ' ↕'; opacity: 0.3; font-size: 0.9rem; }

        #tenantTable th:nth-child(3), #tenantTable td:nth-child(3) { width: 400px; }
        
        /* Enum Roll-up Styles */
        .parent-row { font-weight: 600; cursor: pointer; transition: background-color 0.2s ease; animation: fadeIn 0.2s ease-out forwards; }
        .parent-row:hover { background-color: var(--hover-bg); }
        .parent-row.just-clicked { animation: clickPulse 0.4s ease-out; }
        
        .expand-cell { cursor: pointer; transition: background-color 0.2s; }
        .expand-cell:hover { background-color: rgba(0, 102, 204, 0.05); }
        .expand-icon { transition: transform 0.2s ease-in-out; display: inline-block; width: 24px; text-align: center; color: var(--text-muted); font-size: 0.8rem;}
        .parent-row.expanded .expand-icon { transform: rotate(90deg); color: var(--accent-blue); }
        
        .child-row { display: none; background-color: rgba(0,0,0,0.015); }
        .child-row.expanded { display: table-row; }
        .child-row > td { padding: 0 !important; border-bottom: none; }
        
        .nested-table-wrapper { padding: 12px 24px 16px 64px; }
        .nested-table { width: 100%; border-collapse: collapse; background: var(--card-bg); box-shadow: 0 2px 6px rgba(0,0,0,0.08); border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
        .nested-table th, .nested-table td { padding: 10px 20px; border-bottom: 1px solid var(--border-color); font-size: 0.9em; font-weight: normal; }
        .nested-table th { background: #f8fafc; color: var(--text-muted); position: static; box-shadow: none; font-size: 0.75rem;}
        .nested-table tr:last-child td { border-bottom: none; }
        .nested-table tbody tr { transition: background-color 0.15s; cursor: pointer; }
        .nested-table tbody tr:hover { background-color: rgba(16, 185, 129, 0.05); transform: none; box-shadow: none; }
        
        .enum-badge { background: rgba(0,0,0,0.05); padding: 4px 8px; border-radius: 6px; font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 0.9em; color: var(--primary-blue); border: 1px solid rgba(0,0,0,0.05); }
        .enum-int { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-weight: bold; font-size: 1.05em; color: var(--text-dark); background: rgba(0,0,0,0.04); padding: 2px 8px; border-radius: 4px;}

        /* Logos & Formatting */
        .logo-col { width: 85px; padding-right: 0; }
		.chk-logo-wrapper { display: flex; align-items: center; gap: 8px; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes clickPulse { 0% { background-color: var(--p-bg, var(--card-bg)); } 50% { background-color: rgba(16, 185, 129, 0.15); } 100% { background-color: var(--p-bg, var(--card-bg)); } }

        #tenantTable tbody tr { cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease; border-left: 5px solid var(--p-col, var(--border-color)); background-color: var(--card-bg); animation: fadeIn 0.2s ease-out forwards; }
        #tenantTable tbody tr:hover { background-color: var(--p-bg, var(--hover-bg)); transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
        #tenantTable tbody tr.just-clicked { animation: clickPulse 0.4s ease-out; }
        #tenantTable tbody tr.keyboard-selected { background-color: var(--p-bg, var(--hover-bg)); border-left-color: var(--accent-blue); outline: 2px solid var(--accent-blue); outline-offset: -2px; }
		
		@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
		.pop-anim { animation: popIn 0.3s ease-out; }

        .client-name-container { display: flex; align-items: center; gap: 10px; }
        .swatches { display: flex; gap: 4px; }
        .color-swatch { width: 14px; height: 14px; border-radius: 50%; cursor: pointer; border: 1px solid rgba(0,0,0,0.15); transition: transform 0.2s, box-shadow 0.2s; background-color: var(--swatch-color); }
        .color-swatch:hover { transform: scale(1.2); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
        
        .client-links { display: flex; gap: 6px; margin-left: 4px; }
        .ext-link-btn { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; background: var(--bg-color); color: var(--text-muted); border: 1px solid var(--border-color); transition: all 0.2s; text-decoration: none; }
        .ext-link-btn:hover { background: var(--accent-blue); color: white; border-color: var(--accent-blue); transform: translateY(-2px); }
        .ext-link-btn svg { width: 12px; height: 12px; stroke-width: 2.2; }

        .logo-container { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background-color: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
        .tenant-logo { width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; }
        .logo-fallback { width: 100%; height: 100%; background-color: var(--p-col, var(--primary-blue)); color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; text-transform: uppercase; }
        .client-name { font-weight: 600; color: var(--primary-blue); font-size: 1.05rem; }
        .tenant-id { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; background: #f8fafc; border: 1px solid rgba(0,0,0,0.08); padding: 6px 10px; border-radius: 6px; color: var(--primary-blue); font-size: 0.95rem; white-space: nowrap; letter-spacing: 0.5px; display: inline-block; transition: background-color 0.2s; }
        tbody tr:hover .tenant-id { background: rgba(255,255,255,0.8); }

        .copy-btn { background-color: transparent; color: var(--accent-blue); border: 1px solid var(--accent-blue); padding: 6px 12px; border-radius: 6px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
        .copy-btn svg { width: 18px; height: 18px; fill: currentColor; }
        #tenantTable tbody tr:hover .copy-btn, #tenantTable tbody tr.keyboard-selected .copy-btn { background-color: var(--accent-blue); color: white; }
        .nested-table tbody tr:hover .copy-btn { background-color: var(--success); color: white; border-color: var(--success);}
        .copy-btn.copied { background-color: var(--success) !important; border-color: var(--success) !important; color: white !important; }

        /* Compact Mode */
        body.compact-mode th, body.compact-mode td { padding: 6px 16px; }
        body.compact-mode .logo-container { width: 28px; height: 28px; }
        body.compact-mode .logo-fallback { font-size: 0.9rem; }
        body.compact-mode .copy-btn { width: 32px; height: 32px; }
        body.compact-mode .client-name { font-size: 0.95rem; }
        body.compact-mode .tenant-id { font-size: 0.85rem; padding: 4px 8px; }

        /* Empty State */
        .empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); display: none; }
        .empty-state h3 { margin-bottom: 10px; color: var(--primary-blue); }
        .clear-search-btn { margin-top: 15px; background-color: var(--bg-color); border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 6px; cursor: pointer; font-weight: 600; color: var(--primary-blue); transition: all 0.2s; }
        .clear-search-btn:hover { background-color: var(--border-color); }

        /* Scrollbars */
        .table-wrapper::-webkit-scrollbar, .history-panel::-webkit-scrollbar { width: 8px; }
        .table-wrapper::-webkit-scrollbar-track, .history-panel::-webkit-scrollbar-track { background: var(--card-bg); border-radius: 0 8px 8px 0; }
        .table-wrapper::-webkit-scrollbar-thumb, .history-panel::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
        .table-wrapper::-webkit-scrollbar-thumb:hover, .history-panel::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

        /* History Panel */
        .history-panel { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; height: 100%; overflow-y: auto; width: 300px; flex-shrink: 0; opacity: 1; box-sizing: border-box; transform-origin: right center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .history-panel.collapsed { width: 0; padding-left: 0; padding-right: 0; border-width: 0; opacity: 0; margin-left: -20px; transform: scaleX(0.95); pointer-events: none; }
        .history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
        .history-panel h3 { margin: 0; font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; }
        .history-header-actions { display: flex; align-items: center; gap: 12px; }
        .clear-history-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; cursor: pointer; transition: all 0.2s; }
        .clear-history-btn:hover { color: #ef4444; border-color: #ef4444; }
        .close-history-btn { background: transparent; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; padding: 0 4px; line-height: 1; transition: color 0.2s; }
        .close-history-btn:hover { color: var(--text-dark); }
        
        .history-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--bg-color); border: 1px solid var(--border-color); border-left: 4px solid var(--item-color, var(--accent-blue)); margin-bottom: 10px; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
        .history-item:hover { transform: translateX(4px); box-shadow: 0 4px 6px rgba(0,0,0,0.04); border-color: #cbd5e1; background: var(--card-bg); }
        .history-item-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #ffffff; border: 1px solid rgba(0,0,0,0.05); border-radius: 6px; color: var(--text-muted); flex-shrink: 0; overflow: hidden; }
        .history-item-icon .tenant-logo { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
        .history-item-icon .logo-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.95rem; }
        .history-item-content { display: flex; flex-direction: column; gap: 4px; overflow: hidden; width: 100%; }
        .history-item-title { font-size: 0.85rem; font-weight: 600; color: var(--primary-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .history-item-value { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 0.75rem; color: var(--text-muted); background: rgba(0,0,0,0.03); padding: 4px 6px; border-radius: 4px; display: inline-block; width: 100%; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        #historyList { transition: opacity 0.2s ease; }
        #historyList.fading { opacity: 0; }

        /* Script Modal */
        .modal {
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.2s ease-in-out, visibility 0.2s;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.6);
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 5vh;
            overflow-y: auto;
        }
        .modal.is-open {
            visibility: visible;
            opacity: 1;
        }
        .modal-content {
            background-color: var(--card-bg);
            border-radius: 8px;
            width: 90%;
            max-width: 800px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
            max-height: 90vh;
            transform: scale(0.95);
            transition: transform 0.2s ease-in-out;
        }
        .modal.is-open .modal-content {
            transform: scale(1);
        }
        .modal-header { padding: 16px 24px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .modal-header h2 { margin: 0; font-size: 1.1rem; color: var(--primary-blue); }
        .close-modal { color: var(--text-muted); font-size: 1.5rem; font-weight: bold; cursor: pointer; line-height: 1; transition: color 0.2s; }
        .close-modal:hover { color: var(--text-dark); }
        .modal-body { 
            padding: 24px; 
            overflow-y: auto; /* This tells the body to add a scrollbar when content gets too long */
            flex-grow: 1; /* This ensures the body fills the available space between the header and footer */
        }
        .modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end; gap: 10px; background-color: var(--hover-bg); }
        body.dark-theme .modal-footer { background-color: #1f2937; }

        /* NEW: Improved Modal Form Styles */
        .modal-body input[type="text"],
        .modal-body input[type="email"],
        .modal-body input[type="password"],
        .modal-body select,
        .modal-body textarea {
            width: 100%;
            box-sizing: border-box;
            padding: 0.65rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: var(--bg-color);
            color: var(--text-dark);
            font-size: 0.95rem;
            transition: all 0.2s ease-in-out;
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
        }
        .modal-body textarea {
            resize: none;
        }
        .modal-body input[type="text"]:focus,
        .modal-body input[type="email"]:focus,
        .modal-body input[type="password"]:focus,
        .modal-body select:focus,
        .modal-body textarea:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
            background-color: var(--card-bg);
        }
        body.dark-theme .modal-body input[type="text"],
        body.dark-theme .modal-body input[type="email"],
        body.dark-theme .modal-body input[type="password"],
        body.dark-theme .modal-body select,
        body.dark-theme .modal-body textarea {
            background-color: #1f293b; /* gray-800 */
            border-color: #4b5563; /* gray-600 */
        }

        .code-container { position: relative; background-color: #1e293b; border-radius: 8px; padding: 20px; overflow-x: auto; }
        .code-container pre { margin: 0; color: #e2e8f0; font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 0.9rem; line-height: 1.5; tab-size: 4; }
        .copy-script-btn { position: absolute; top: 12px; right: 12px; background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: white; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: all 0.2s; }
        .copy-script-btn:hover { background-color: rgba(255, 255, 255, 0.2); }
        .copy-script-btn.copied { background-color: var(--success); border-color: var(--success); }

        /* Toast */
		.toast { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--primary-blue); color: white; padding: 16px 32px; border-radius: 12px; font-size: 1rem; font-weight: 500; box-shadow: 0 8px 16px rgba(0,0,0,0.15); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s; z-index: 1000; opacity: 0; pointer-events: none; overflow: hidden; display: flex; align-items: center; gap: 8px; min-width: 200px; }
		.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
		.toast span { color: #60a5fa; font-weight: 700; }
		.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: #60a5fa; width: 100%; }

		.script-btn:active, .tab-btn:active, .copy-btn:active { transform: scale(0.95); }
		.bulk-btn { background: var(--success); color: white; border: none; }

        @media (max-width: 1024px) {
            .main-content { grid-template-columns: 1fr; grid-template-rows: 1fr auto; overflow-y: auto; }
            .table-wrapper { min-height: 400px; }
            .history-panel { width: auto; height: auto; max-height: 250px; }
        }

         /* Landing Page Styles */
        .landing-page {
            justify-content: center;
            align-items: stretch; /* Changed from flex-start to make cards equal height */
            flex-wrap: wrap;
            gap: 40px;
            padding-top: 5%;
        }
        .landing-card {
            display: flex;
            flex-direction: column;
            background: linear-gradient(145deg, var(--card-bg), var(--hover-bg));
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 40px;
            width: 300px;
            text-align: left;
            text-decoration: none;
            color: var(--text-dark);
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            transition: all 0.3s ease-in-out;
            position: relative;
            overflow: hidden;
        }
        .landing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            border-color: var(--accent-blue);
        }
        .landing-card-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 24px;
            background-color: rgba(0, 102, 204, 0.08);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent-blue);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .landing-card:hover .landing-card-icon {
            background-color: var(--accent-blue);
            color: white;
            transform: rotate(-10deg) scale(1.1);
            box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
        }
        .landing-card-icon svg {
            width: 24px;
            height: 24px;
        }
        .landing-card h2 { 
            margin-top: 0; 
            margin-bottom: 10px;
            color: var(--primary-blue); 
        }
        .landing-card p { 
            color: var(--text-muted); 
            line-height: 1.6; 
            font-size: 0.9rem;
            flex-grow: 1;
        }
        body.dark-theme .client-group-card {
            background: linear-gradient(145deg, #1e293b, #0f172a);
        }
        body.dark-theme .client-group-header {
            border-bottom-color: #334155;
        }
        body.dark-theme .client-group-header:hover {
            background-color: #334155;
        }
        body.dark-theme .client-group-card.expanded .client-group-header {
            background-color: #334155;
        }
        body.dark-theme .client-group-body {
            background-color: #0f172a;
        }
        .client-group-header .report-type {
            padding: 2px 8px;
            font-size: 0.7rem;
        }
        .client-group-header .font-mono {
            color: var(--text-muted);
        }
        body.dark-theme .client-group-header .font-mono {
            color: #94a3b8;
        }

        .client-group-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            overflow: hidden;
            transition: all 0.3s ease-in-out;
        }
        .client-group-card:focus-within {
            box-shadow: 0 4px 12px rgba(0,0,0,0.03), inset 0 0 0 2px var(--accent-blue);
        }
        .client-group-header:focus-visible {
            outline: none;
        }
        .client-group-header {
            padding: 6px 15px; /* Reduced vertical padding */
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.2s;
        }
        .client-group-header:hover { background-color: var(--hover-bg); }
        .client-group-card.expanded .client-group-header { background-color: var(--hover-bg); border-bottom: 1px solid var(--border-color); }
        .client-group-body {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.3s ease-out;
        }
        .client-group-card.expanded .client-group-body {
            grid-template-rows: 1fr;
        }
        .client-group-title { font-size: 1rem; /* Reduced font size */ }
        .client-group-body > div {
            overflow: hidden;
            min-height: 0;
        }
        .client-group-body .report-list {
            padding: 25px;
        }

        /* NEW: Chevron icon for collapsible cards */
        .client-group-header .chevron {
            width: 1.5rem; /* 24px */
            height: 1.5rem; /* 24px */
            transition: transform 0.3s ease-in-out;
            color: var(--text-muted);
        }
        .client-group-card.expanded .client-group-header .chevron {
            transform: rotate(180deg);
        }

        /* NEW: Consistent column widths for client tickets tables */
        #attentionTicketsContainer table th:nth-child(1),
        #withVecoTicketsContainer table th:nth-child(1),
        #signedOffTicketsContainer table th:nth-child(1) { width: 10%; } /* Ticket ID */
        #attentionTicketsContainer table td:nth-child(1),
        #withVecoTicketsContainer table td:nth-child(1),
        #signedOffTicketsContainer table td:nth-child(1) { width: 10%; }

        #attentionTicketsContainer table th:nth-child(2),
        #withVecoTicketsContainer table th:nth-child(2),
        #signedOffTicketsContainer table th:nth-child(2) { width: 30%; } /* Title */
        #attentionTicketsContainer table td:nth-child(2),
        #withVecoTicketsContainer table td:nth-child(2),
        #signedOffTicketsContainer table td:nth-child(2) { width: 30%; white-space: normal; } /* Allow title to wrap */

        #attentionTicketsContainer table th:nth-child(3),
        #withVecoTicketsContainer table th:nth-child(3),
        #signedOffTicketsContainer table th:nth-child(3) { width: 15%; } /* Status */
        #attentionTicketsContainer table td:nth-child(3),
        #withVecoTicketsContainer table td:nth-child(3),
        #signedOffTicketsContainer table td:nth-child(3) { width: 15%; }

        #attentionTicketsContainer table th:nth-child(4),
        #withVecoTicketsContainer table th:nth-child(4),
        #signedOffTicketsContainer table th:nth-child(4) { width: 15%; } /* Date Created (NEW) */
        #attentionTicketsContainer table td:nth-child(4),
        #withVecoTicketsContainer table td:nth-child(4),
        #signedOffTicketsContainer table td:nth-child(4) { width: 15%; }

        #attentionTicketsContainer table th:nth-child(5),
        #withVecoTicketsContainer table th:nth-child(5),
        #signedOffTicketsContainer table th:nth-child(5) { width: 15%; } /* Last Updated */
        #attentionTicketsContainer table td:nth-child(5),
        #withVecoTicketsContainer table td:nth-child(5),
        #signedOffTicketsContainer table td:nth-child(5) { width: 15%; }

        #attentionTicketsContainer table th:nth-child(6),
        #withVecoTicketsContainer table th:nth-child(6),
        #signedOffTicketsContainer table th:nth-child(6) { width: 15%; } /* Actions */
        #attentionTicketsContainer table td:nth-child(6),
        #withVecoTicketsContainer table td:nth-child(6),
        #signedOffTicketsContainer table td:nth-child(6) { width: 15%; }
        
        /* Ticket Statuses */
        .status-badge { padding: 3px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
        .status-new { background-color: #dbeafe; color: #1e40af; }
        .status-triage { background-color: #fef3c7; color: #92400e; }
        .status-in-progress { background-color: #e0e7ff; color: #3730a3; }
        .status-answered { background-color: #d1fae5; color: #065f46; }
        .status-awaiting-client-response { background-color: #ffedd5; color: #9a3412; } /* NEW */
        .status-complete { background-color: #d1fae5; color: #065f46; }
        .status-signed-off { background-color: #e5e7eb; color: #4b5563; }

        /* Ticket Reply Timeline */
        .reply-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
        .reply-avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--border-color); display: flex; align-items: center; justify-content: center; font-weight: bold; }
        .reply-content { flex-grow: 1; border: 1px solid var(--border-color); border-radius: 8px; background: var(--hover-bg); }
        .reply-header { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-color); font-size: 0.875rem; color: var(--text-muted); }
        .reply-body { padding: 1rem; font-size: 0.95rem; line-height: 1.6; }
        .reply-body p { margin-top: 0; }
        .reply-attachments { padding: 0 1rem 1rem 1rem; font-size: 0.875rem; }
        .reply-attachments a { display: inline-block; margin-right: 1rem; }
        
        .reply-item.admin-reply .reply-avatar { background: var(--primary-blue); color: white; }
        .reply-item.admin-reply .reply-content { background: #f0f9ff; }
        body.dark-theme .reply-item.admin-reply .reply-content { background: #1e293b; }
        .drag-over { border-color: var(--accent-blue) !important; background-color: rgba(238, 113, 3, 0.05) !important; }

        /* Filter Button Group Styles (from automatescriptdirectory.html) */
        .filter-btn-group {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .filter-btn {
            padding: 6px 14px;
            border-radius: 6px;
            border: 1px solid var(--border-color);
            background-color: var(--card-bg);
            color: var(--text-muted);
            cursor: pointer;
            font-weight: 600;
            font-size: 0.8rem;
            transition: all 0.2s ease;
        }
        .filter-btn.active, .filter-btn:hover {
            background-color: var(--accent-color);
            color: white;
            border-color: var(--accent-color);
        }
        body.dark-theme .filter-btn {
            background-color: var(--bg-color);
            border-color: var(--border-color);
        }

        /* NEW: Filter Dropdown Styles */
        #filterControls select {
            width: 100%;
            padding: 0.65rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: var(--card-bg); /* Use card-bg for consistency with other inputs */
            color: var(--text-dark);
            font-size: 0.95rem;
            transition: all 0.2s ease-in-out;
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
            -webkit-appearance: none; /* Remove default browser styling for dropdowns */
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); /* Custom arrow */
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 1.25em 1.25em;
        }

        #filterControls select:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
            background-color: var(--card-bg);
        }
        body.dark-theme #filterControls select {
            background-color: #1f293b; /* gray-800 */
            border-color: #4b5563; /* gray-600 */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); /* Dark mode arrow */
        }

        /* Migration Test Outputs Page Styles */
        #report-list-container {
            width: 100%;
        }
        .client-report-group {
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        .client-report-group:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }
        .client-report-group .client-group-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 0;
        }
        .report-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            width: 100%;
        }
        @media (min-width: 1024px) {
            .report-list {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .report-card {
            display: flex;
            flex-direction: column;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
            box-shadow: 0 2px 4px rgba(0,0,0,0.04);
        }
        .report-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.08);
            border-color: var(--accent-blue);
        }
        .report-card-header {
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 12px;
            margin-bottom: 12px;
        }
        .report-type { 
            font-size: 0.8rem; 
            font-weight: 700; 
            padding: 4px 10px;
            border-radius: 6px;
            text-transform: uppercase; 
            white-space: nowrap;
            display: inline-block;
        }
        .report-type-test { 
            background-color: #fffbeb; /* amber-50 */
            color: #b45309; /* amber-700 */
            border: 1px solid #fcd34d; /* amber-300 */
        }
        .report-type-live { 
            background-color: #ecfdf5; /* emerald-50 */
            color: #047857; /* emerald-700 */
            border: 1px solid #6ee7b7; /* emerald-300 */
        }
        .report-card-body { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
        .report-date { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
        .report-filename {
            font-size: 0.8rem;
            color: var(--text-muted);
            font-family: monospace;
            word-break: break-all;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.4;
        }