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

:root {
    --bg: #0d0d0d;
    --surface: #161616;
    --surface-2: #1e1e1e;
    --border: #2a2a2a;
    --text: #e8e8e8;
    --text-muted: #888;
    --accent: #FF7500;
    --accent-dim: rgba(255, 117, 0, 0.12);
    --radius: 10px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px 48px;
    margin-bottom: 48px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,117,0,0.08) 0%, transparent 60%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 300;
    margin-bottom: 12px;
}

.hero h1 .accent {
    color: var(--accent);
    font-weight: 700;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hero-sub strong {
    color: var(--text);
}

.hero-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Consolas', 'Courier New', monospace;
    color: var(--text-muted);
}

.tag-count {
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
}

/* TABLE SECTIONS */
.table-section {
    margin-bottom: 36px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}

.section-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
}

.row-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: 4px 12px;
    border-radius: 12px;
}

.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead {
    background: var(--surface-2);
}

th {
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(255, 117, 0, 0.04);
}

.id-cell {
    color: var(--text-muted);
    font-family: 'Consolas', monospace;
    font-size: 0.8rem;
}

.num {
    text-align: right;
    font-family: 'Consolas', monospace;
}

.dept-badge,
.cat-badge {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* FOOTER */
footer {
    text-align: center;
    padding-top: 40px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .container {
        padding: 20px 12px 40px;
    }
    th, td {
        padding: 10px 10px;
        font-size: 0.82rem;
    }
}
