/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    --bg-primary: #070b09;
    --bg-secondary: #0c1411;
    --accent-violet: #48b478;
    --accent-violet-rgb: 72, 180, 120;
    --accent-glow: rgba(72, 180, 120, 0.15);
    --accent-cyan: #148f77;
    --accent-cyan-rgb: 20, 143, 119;
    --accent-pink: #68c3b0;
    --text-main: #e2f3ee;
    --text-muted: #9ccdbd;
    --border-color: #173228;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(72, 180, 120, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(20, 143, 119, 0.05) 0%, transparent 40%),
        radial-gradient(2px 2px at 20px 30px, rgba(156, 205, 189, 0.3), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, rgba(72, 180, 120, 0.3), rgba(0,0,0,0)),
        radial-gradient(3px 3px at 50px 160px, rgba(20, 143, 119, 0.3), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 250px, rgba(72, 180, 120, 0.3), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 150px 330px, rgba(156, 205, 189, 0.3), rgba(0,0,0,0)),
        radial-gradient(3px 3px at 180px 420px, rgba(23, 50, 40, 0.5), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 250px 500px, rgba(72, 180, 120, 0.3), rgba(0,0,0,0)),
        radial-gradient(3px 3px at 300px 550px, rgba(104, 195, 176, 0.3), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 350px 650px, rgba(72, 180, 120, 0.3), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 450px 750px, rgba(20, 143, 119, 0.3), rgba(0,0,0,0));
    background-repeat: repeat;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Common Layouts & Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

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

.section-tag {
    font-family: monospace;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-violet);
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: #5cc78c;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(72, 180, 120, 0.6);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--border-color);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background-color: #2f2f3a;
    border-color: var(--text-muted);
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(7, 11, 9, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 28px;
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-container:hover .logo-img {
    filter: drop-shadow(0 0 8px var(--accent-violet));
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.logo:hover {
    color: var(--accent-violet);
    text-shadow: 0 0 10px var(--accent-glow);
}

nav a {
    margin-left: 28px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 24px 100px;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10,10,12,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.hero-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
    z-index: 2;
    text-align: left;
}

.hero-container {
    flex: 1.2;
    max-width: 650px;
}

.hero-image-container {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-poster-frame {
    position: relative;
    max-width: 380px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(72, 180, 120, 0.15);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-poster-frame::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(72, 180, 120, 0.3);
    pointer-events: none;
    z-index: 2;
}

.hero-poster-frame:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.35);
}

.hero-poster-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.95);
    transition: filter 0.5s ease;
}

.hero-poster-frame:hover .hero-poster-img {
    filter: brightness(1.1);
}

.hero-tagline {
    font-family: monospace;
    color: var(--accent-cyan);
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta a {
    margin: 0 10px 15px;
}

/* Soundwave Animation */
.soundwave-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.soundwave {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 50px;
}

.soundwave .bar {
    display: block;
    width: 3px;
    height: 10px;
    background-color: var(--accent-violet);
    border-radius: 2px;
    animation: soundwave-pulse 1.2s ease-in-out infinite alternate;
}

.soundwave .bar:nth-child(2n) {
    animation-delay: 0.15s;
    height: 18px;
}

.soundwave .bar:nth-child(3n) {
    animation-delay: 0.3s;
    height: 32px;
    background-color: var(--accent-cyan);
}

.soundwave .bar:nth-child(4n) {
    animation-delay: 0.45s;
    height: 45px;
}

@keyframes soundwave-pulse {
    0% {
        transform: scaleY(0.3);
    }
    100% {
        transform: scaleY(1.1);
    }
}

/* Releases Section */
.releases {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
    justify-content: center;
    gap: 32px;
}

.card {
    background-color: rgba(12, 20, 17, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-violet);
    box-shadow: 0 12px 30px rgba(72, 180, 120, 0.25);
}

.card-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background-color: #070b09;
    overflow: hidden;
    position: relative;
}

.placeholder-art {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #070b09 0%, #0c1411 100%);
    position: relative;
}

.placeholder-art::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(72, 180, 120, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.album-1 .art-icon { color: var(--accent-violet); }
.album-2 .art-icon { color: var(--accent-cyan); }
.album-3 .art-icon { color: #f3f3f6; }

.card-content {
    padding: 24px;
}

.card-meta {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.card-link:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, rgba(10,10,12,0) 70%);
    bottom: 10%;
    right: 5%;
    z-index: -1;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.manifesto-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-main) !important;
    border-left: 3px solid var(--accent-violet);
    padding-left: 20px;
    margin-top: 32px;
}

.spec-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 8px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.spec-box h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.spec-box li {
    list-style: none;
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--text-muted);
}

.spec-box li strong {
    color: var(--text-main);
}

/* Label Section */
.label {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.label-p {
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.label-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 8px;
}

.feature h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    border-top: 1px solid var(--border-color);
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 14px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-violet);
    box-shadow: 0 0 10px rgba(72, 180, 120, 0.2);
}

/* Footer */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.punycode {
    font-family: monospace;
    color: var(--accent-cyan);
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-container {
        max-width: 100%;
    }
    .soundwave-container {
        justify-content: center;
        margin-top: 30px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links a {
        margin: 0 10px;
    }
}

/* Space & Synth Animations */
.synth-svg {
    width: 100%;
    height: 100%;
    display: block;
    background-color: var(--bg-secondary);
}

.svg-text {
    font-family: monospace;
    font-size: 10px;
    fill: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Oscilloscope Wave Animation */
.oscilloscope-wave {
    stroke-dasharray: 600;
    animation: wave-move 8s linear infinite;
}

@keyframes wave-move {
    0% {
        stroke-dashoffset: 600;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Synth Knobs Rotation Animation */
.dial-rot-1 {
    animation: dial-rotate 4s ease-in-out infinite alternate;
}

.dial-rot-2 {
    animation: dial-rotate-rev 5s ease-in-out infinite alternate;
}

@keyframes dial-rotate {
    0% {
        transform: rotate(0deg);
        transform-origin: 45px 45px;
    }
    100% {
        transform: rotate(180deg);
        transform-origin: 45px 45px;
    }
}

@keyframes dial-rotate-rev {
    0% {
        transform: rotate(0deg);
        transform-origin: 255px 45px;
    }
    100% {
        transform: rotate(-140deg);
        transform-origin: 255px 45px;
    }
}

/* Sequencer Blinking LEDs */
.led-blink-1 { animation: led-flash 1s step-end infinite; }
.led-blink-2 { animation: led-flash 1.2s step-end infinite 0.2s; }
.led-blink-3 { animation: led-flash 0.8s step-end infinite 0.4s; }
.led-blink-4 { animation: led-flash 1.5s step-end infinite 0.1s; }

@keyframes led-flash {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Sequencer Step Sequence Row Scroller */
.seq-btn.active-cyan {
    animation: btn-glow-cyan 3s ease-in-out infinite alternate;
}

.seq-btn.active-pink {
    animation: btn-glow-pink 2.4s ease-in-out infinite alternate;
}

@keyframes btn-glow-cyan {
    0%, 100% { fill: rgba(20, 143, 119, 0.2); }
    50% { fill: rgba(20, 143, 119, 0.8); }
}

@keyframes btn-glow-pink {
    0%, 100% { fill: rgba(104, 195, 176, 0.2); }
    50% { fill: rgba(104, 195, 176, 0.8); }
}

/* Patch Cables Pulsing Glow */
.patch-cable-1 {
    stroke-dasharray: 400;
    animation: signal-pulse 6s linear infinite;
}

.patch-cable-2 {
    stroke-dasharray: 400;
    animation: signal-pulse 4s linear infinite reverse;
}

.patch-cable-3 {
    stroke-dasharray: 400;
    animation: signal-pulse 5s linear infinite;
}

@keyframes signal-pulse {
    0% {
        stroke-dashoffset: 400;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Floating Space Glow sphere animation */
.hero-glow {
    animation: float-glow 15s ease-in-out infinite;
}

@keyframes float-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-45%, -55%) scale(1.2);
        opacity: 1;
    }
}

/* Glowing Neon Elements */

.manifesto-quote {
    box-shadow: -8px 0 0 -5px var(--accent-violet);
    background: linear-gradient(90deg, rgba(var(--accent-violet-rgb), 0.05) 0%, transparent 100%);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}

/* Chronicles Section */
.chronicles {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.chronicles-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 48px;
}

.chronicle-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.chronicle-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.chronicle-img-frame {
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chronicle-img-frame::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 20px rgba(72, 180, 120, 0.25);
    pointer-events: none;
    z-index: 2;
}

.chronicle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chronicle-img-frame:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 40px rgba(20, 143, 119, 0.25);
}

.chronicle-img-frame:hover .chronicle-img {
    transform: scale(1.04);
}

.chronicle-meta {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 16px;
}

.chronicle-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-main) 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chronicle-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .chronicles-list {
        gap: 60px;
    }
    .chronicle-row, .chronicle-row.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .chronicle-row.reverse .chronicle-img-frame {
        order: -1;
    }
}

nav a.active-nav {
    color: var(--accent-violet);
    border-bottom: 2px solid var(--accent-violet);
    padding-bottom: 4px;
}

/* ==========================================================================
   Roster Page Styles
   ========================================================================== */
.roster-page {
    padding-top: 80px;
}

.roster-hero {
    position: relative;
    padding: 60px 0 100px;
}

.roster-hero-header {
    margin-bottom: 40px;
}

.roster-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 12px 0 20px;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.company-badge {
    font-family: monospace;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.primary-badge {
    background: rgba(72, 180, 120, 0.15);
    border: 1px solid var(--accent-violet);
    color: #5cc78c;
}

.secondary-badge {
    background: rgba(20, 143, 119, 0.15);
    border: 1px solid var(--accent-cyan);
    color: #68c3b0;
}

.legacy-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--text-muted);
    color: var(--text-muted);
}

.roster-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.7;
}

/* Audit Summary Card */
.audit-summary-card {
    background: rgba(12, 20, 17, 0.75);
    border: 1px solid rgba(72, 180, 120, 0.3);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 48px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.audit-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot.warning {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.audit-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.05em;
}

.audit-date {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

.audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.audit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(7, 11, 9, 0.6);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(23, 50, 40, 0.8);
}

.audit-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.audit-info h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.audit-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.audit-info code {
    font-family: 'Fira Code', monospace;
    color: var(--accent-cyan);
    background: rgba(20, 143, 119, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Roster Controls */
.roster-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 450px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-box input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-violet);
    box-shadow: 0 0 15px rgba(72, 180, 120, 0.2);
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.pill.active {
    background: var(--accent-violet);
    border-color: var(--accent-violet);
    color: #fff;
    box-shadow: 0 2px 10px rgba(72, 180, 120, 0.4);
}

/* Roster Table */
.roster-table-wrapper {
    overflow-x: auto;
    background: rgba(12, 20, 17, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 48px;
    backdrop-filter: blur(12px);
}

.roster-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.roster-table th {
    background: rgba(7, 11, 9, 0.9);
    padding: 16px 20px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--border-color);
}

.roster-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(23, 50, 40, 0.6);
    color: var(--text-muted);
}

.roster-table tbody tr {
    transition: background 0.2s ease;
}

.roster-table tbody tr:hover {
    background: rgba(72, 180, 120, 0.06);
}

.id-cell code {
    font-family: 'Fira Code', monospace;
    color: var(--accent-violet);
    font-weight: 600;
    background: rgba(72, 180, 120, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.name-cell strong {
    color: var(--text-main);
}

.raw-cell code {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #9ccdbd;
}

.note-cell {
    font-size: 0.85rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #34d399;
}

.badge-classified {
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid #a855f7;
    color: #c084fc;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.classified-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #e9d5ff;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.badge-provisional {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #fbbf24;
}

.badge-decommissioned {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #f87171;
}

.badge-vacant {
    background: rgba(156, 163, 175, 0.15);
    border: 1px solid #6b7280;
    color: #9ca3af;
}

/* Physical Ledger Transcript Box */
.physical-ledger-box {
    background: #050807;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.ledger-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.ledger-box-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.ledger-tag {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
}

.ledger-content {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #68c3b0;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre;
}

.ledger-content del {
    color: #ef4444;
    text-decoration: line-through;
}


