/* Wayside Bill Extractor Web Portal Styles */

:root {
    /* Wayside Purple Theme */
    --primary: #6b21a8;
    --primary-dark: #581c87;
    --primary-light: #9333ea;
    --primary-bg: #faf5ff;
    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;

    /* Light mode defaults */
    --bg-body: var(--gray-100);
    --bg-card: white;
    --bg-nav: #2d1b4e;
    --bg-footer: #2d1b4e;
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-700);
    --text-muted: var(--gray-500);
    --border-color: var(--gray-200);
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary: #a855f7;
    --primary-dark: #9333ea;
    --primary-light: #c084fc;
    --primary-bg: #1a0a2e;
    --gray-50: #1f2937;
    --gray-100: #111827;
    --gray-200: #374151;
    --gray-300: #4b5563;
    --gray-500: #9ca3af;
    --gray-700: #d1d5db;
    --gray-900: #f9fafb;

    --bg-body: #0f0a1a;
    --bg-card: #1a1025;
    --bg-nav: #1a0a2e;
    --bg-footer: #1a0a2e;
    --text-primary: #f9fafb;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
}

[data-theme="dark"] .card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .info-card,
[data-theme="dark"] .filter-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] th {
    background: var(--gray-200);
}

[data-theme="dark"] tr:hover {
    background: var(--gray-200);
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: var(--gray-100);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-secondary {
    background: var(--gray-200);
    color: var(--text-primary);
}

[data-theme="dark"] .detail-item {
    background: var(--gray-200);
}

[data-theme="dark"] .issue-card,
[data-theme="dark"] .knowledge-card {
    background: var(--bg-card);
}

[data-theme="dark"] .knowledge-rule {
    background: var(--gray-200);
}

[data-theme="dark"] .issue-type-box {
    background: var(--gray-200);
}

[data-theme="dark"] .issue-item {
    background: var(--bg-card);
}

[data-theme="dark"] .info-row.highlight {
    background: transparent;
}

[data-theme="dark"] .trend-box {
    color: var(--text-primary);
}

[data-theme="dark"] .trend-up {
    background: #1c1111;
    border: 2px solid #dc2626;
    color: #fca5a5;
}

[data-theme="dark"] .trend-down {
    background: #0d1f17;
    border: 2px solid #16a34a;
    color: #86efac;
}

[data-theme="dark"] .trend-stable {
    background: #1a1a1a;
    border: 2px solid #6b7280;
    color: #e5e7eb;
}

[data-theme="dark"] .trend-new {
    background: #1a1625;
    border: 2px solid #7c3aed;
    color: #e9d5ff;
}

/* Dark theme for confidence badges */
[data-theme="dark"] .confidence-high {
    background: #1a2e1a;
    color: #86efac;
    border: 1px solid #22c55e;
}

[data-theme="dark"] .confidence-medium {
    background: #2d2410;
    color: #fcd34d;
    border: 1px solid #eab308;
}

[data-theme="dark"] .confidence-low {
    background: #2d1a1a;
    color: #fca5a5;
    border: 1px solid #ef4444;
}

[data-theme="dark"] .note-item,
[data-theme="dark"] .hardware-item {
    background: #1e1b2e;
    border-color: #3d3654;
    color: #e9d5ff;
}

[data-theme="dark"] .note-text,
[data-theme="dark"] .hardware-details,
[data-theme="dark"] .hardware-notes {
    color: #d4d4d8;
}

[data-theme="dark"] .note-date {
    color: #a1a1aa;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s, color 0.3s;
}

/* Navigation */
.navbar {
    background: var(--bg-nav);
    color: white;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-links {
    margin-left: 2rem;
    display: flex;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: var(--gray-700);
    color: white;
}

.nav-links a.active {
    background: var(--primary);
    color: white;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-left: 0.25rem;
}

.badge-warning {
    background: var(--warning);
    color: white;
}

.badge-success {
    background: var(--success);
    color: white;
}

.badge-danger {
    background: var(--danger);
    color: white;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem;
    flex: 1;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

[data-theme="dark"] .alert-info {
    background: #1e3a5f;
    color: #93c5fd;
    border-color: #3b82f6;
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.card-body,
.card-content {
    padding: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Stats Row - Forces single row */
.stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stats-row .stat-card {
    flex: 1;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-card.warning {
    border-left: 4px solid var(--warning);
}

.stat-card.success {
    border-left: 4px solid var(--success);
}

.stat-card.danger {
    border-left: 4px solid var(--danger);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

tr:hover {
    background: var(--gray-50);
}

/* Status Pills */
.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending {
    background: var(--gray-200);
    color: var(--gray-700);
}

.status-needs_review {
    background: #fef3c7;
    color: #92400e;
}

.status-reviewed {
    background: #dcfce7;
    color: #166534;
}

.status-pushed_to_fe {
    background: #dbeafe;
    color: #1e40af;
}

.status-skipped {
    background: #fef3c7;
    color: #78350f;
}

.status-open {
    background: #fee2e2;
    color: #991b1b;
}

.status-resolved {
    background: #dcfce7;
    color: #166534;
}

/* Confidence */
.confidence {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.confidence-high {
    background: #dcfce7;
    color: #166534;
}

.confidence-medium {
    background: #fef3c7;
    color: #92400e;
}

.confidence-low {
    background: #fee2e2;
    color: #991b1b;
}

/* Amount Change */
.change-up {
    color: var(--danger);
}

.change-down {
    color: var(--success);
}

.change-stable {
    color: var(--gray-500);
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

input[type="text"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #15803d;
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Filter Form */
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-form .form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 150px;
}

.filter-form label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Bill Detail */
.bill-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.bill-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.bill-meta {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-item {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 6px;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1.125rem;
    font-weight: 500;
}

.detail-value.large {
    font-size: 1.5rem;
}

/* Trend Display */
.trend-box {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.trend-up {
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.trend-down {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.trend-stable {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.trend-new {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

/* History Table */
.history-table {
    font-size: 0.875rem;
}

.history-table td {
    padding: 0.5rem;
}

/* Issues */
.issue-type-header {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-700);
}

.issue-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--warning);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.issue-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Knowledge */
.knowledge-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.knowledge-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.knowledge-rule {
    font-family: monospace;
    background: var(--gray-100);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.knowledge-stats {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

/* Footer */
.footer {
    background: var(--bg-footer);
    color: var(--gray-500);
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
    margin-top: auto;
}

.version-link {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.version-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Settings Button */
.settings-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}

.settings-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.settings-btn.active {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
}

.settings-btn .icon {
    font-size: 1.1rem;
}

/* Nav Brand Styling */
.nav-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-brand a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.nav-brand .brand-org {
    font-size: 0.625rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-light);
    opacity: 0.9;
}

.nav-brand .brand-app {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

/* Nav Right Section */
.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-right .nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.9;
}

.nav-right .nav-link:hover,
.nav-right .nav-link.active {
    opacity: 1;
}

.user-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.logout-btn {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Utility */
.text-muted {
    color: var(--gray-500);
}

.text-small {
    font-size: 0.875rem;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.gap-1 {
    gap: 0.5rem;
}

/* Dashboard Section */
.dashboard-section {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.info-grid.info-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .info-grid.info-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .info-grid.info-grid-4 {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.info-card-header {
    background: var(--gray-50);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.info-title {
    font-weight: 600;
    color: var(--gray-700);
}

.info-card-body {
    padding: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row.highlight {
    background: var(--gray-50);
    margin: 0.5rem -1rem -1rem -1rem;
    padding: 0.75rem 1rem;
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

.info-row.highlight + .info-row.highlight {
    margin-top: 0;
    border-radius: 0;
}

.info-row.highlight:last-child {
    border-radius: 0 0 8px 8px;
}

.info-row.sub-row {
    padding-left: 1rem;
    font-size: 0.85rem;
}

.info-row.sub-row .info-label {
    font-size: 0.8rem;
}

.info-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.info-value {
    font-weight: 600;
    color: var(--gray-900);
}

/* Stat card improvements */
.stat-card.primary {
    border-left: 4px solid var(--primary);
}

/* Dashboard Issues Grid */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.issue-type-box {
    background: var(--gray-50);
    border-radius: 6px;
    padding: 1rem;
}

.issue-type-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

.issue-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.issue-link {
    text-decoration: none;
    color: inherit;
}

.issue-item {
    background: white;
    padding: 0.75rem;
    border-radius: 4px;
    border-left: 3px solid var(--warning);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: box-shadow 0.2s;
}

.issue-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.issue-item strong {
    font-size: 0.875rem;
}

.issue-item .text-muted {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Top navbar - simplified for mobile */
    .navbar {
        flex-direction: row;
        height: 50px;
        padding: 0 1rem;
        justify-content: space-between;
    }

    .nav-brand {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-brand .brand-org {
        display: none;
    }

    .nav-brand .brand-app {
        font-size: 1rem;
    }

    /* Hide main nav links in top bar - moved to bottom */
    .nav-links {
        display: none;
    }

    /* Nav right - just show logout */
    .nav-right {
        gap: 0.5rem;
    }

    .nav-right .user-info,
    .nav-right .nav-link {
        display: none;
    }

    .nav-right .settings-btn {
        padding: 0.25rem 0.5rem;
    }

    .logout-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Top tab bar for mobile - simple 3 buttons */
    .mobile-nav {
        display: flex !important;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background: var(--bg-nav);
        padding: 0;
        justify-content: stretch;
        z-index: 99;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    .mobile-nav a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        color: var(--gray-300);
        text-decoration: none;
        padding: 0.875rem 0.5rem;
        font-size: 0.9375rem;
        font-weight: 500;
        flex: 1;
        border-bottom: 3px solid transparent;
        gap: 0.375rem;
    }

    .mobile-nav a .nav-icon {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .mobile-nav a.active {
        color: white;
        background: rgba(255,255,255,0.1);
        border-bottom-color: var(--primary-light);
    }

    .mobile-nav a:hover {
        color: white;
    }

    /* Add padding to body to account for top nav bars */
    body {
        padding-top: 45px;
        padding-bottom: 0;
    }

    /* Hide footer on mobile */
    .footer {
        display: none;
    }

    /* Container - full width on mobile */
    .container {
        padding: 1rem;
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-form {
        flex-direction: column;
    }

    .bill-header {
        flex-direction: column;
        gap: 1rem;
    }

    /* Cards - tighter on mobile */
    .card {
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .card-header {
        padding: 0.875rem 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    /* Stat cards - smaller on mobile */
    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Tables - horizontal scroll */
    .table-container {
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    th, td {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Hide mobile nav on desktop */
.mobile-nav {
    display: none;
}

/* Home code badge - small version for tables */
.home-code-badge-sm {
    display: inline-block;
    padding: 0.1rem 0.35rem;
    background: var(--gray-200);
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--gray-700);
}

/* Stacked GL codes for tables */
.gl-code-stacked {
    display: block;
    padding: 0.1rem 0.35rem;
    background: var(--gray-100);
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.75rem;
    margin-bottom: 2px;
}
.gl-code-stacked:last-child {
    margin-bottom: 0;
}
