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

body {
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.4;
    font-size: 12px;
    min-height: 100vh;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.title {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.attribution {
    margin-top: 10px;
}

.channel-link {
    color: #999;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1px;
    border: 1px solid #444;
    padding: 4px 8px;
    transition: all 0.2s;
}

.channel-link:hover {
    color: #fff;
    border-color: #666;
    background: rgba(255,255,255,0.05);
}

.controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    background: transparent;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn:hover {
    border-color: #666;
    background: #1a1a1a;
}

.btn.primary {
    border-color: #666;
    background: #1a1a1a;
}

#dashboard-container {
    border: 1px solid #333;
    background: #050505;
    position: relative;
    flex-grow: 1;
    min-height: 700px;
}

#dashboard {
    display: block;
    width: 100%;
    height: 100%;
}

/* Nodes styling */
.participant-node {
    cursor: pointer;
    transition: all 0.3s;
}

.participant-node circle {
    fill: none;
    stroke: #666;
    stroke-width: 1px;
    transition: all 0.3s;
}

.participant-node.industry circle {
    stroke: #999;
    fill: rgba(153, 153, 153, 0.1);
}

.participant-node.goal circle {
    stroke: #777;
    stroke-dasharray: 3,3;
    fill: rgba(119, 119, 119, 0.05);
}

.participant-node.tool circle {
    stroke: #555;
    fill: rgba(85, 85, 85, 0.1);
}

.participant-node.experience circle {
    stroke: #888;
    stroke-dasharray: 5,2;
    fill: rgba(136, 136, 136, 0.08);
}

.participant-node:hover circle {
    stroke: #fff;
    stroke-width: 2px;
    fill: rgba(255, 255, 255, 0.1);
}

.participant-node.selected circle {
    stroke: #fff;
    stroke-width: 2px;
    fill: rgba(255, 255, 255, 0.15);
}

.participant-node text {
    fill: #e0e0e0;
    font-family: inherit;
    font-size: 9px;
    text-anchor: middle;
    pointer-events: none;
    font-weight: normal;
}

.participant-node.highlighted text {
    fill: #fff;
    font-weight: bold;
}

/* Links */
.connection {
    stroke: #333;
    stroke-width: 1px;
    fill: none;
    opacity: 0.6;
}

.connection.strong {
    stroke: #555;
    stroke-width: 2px;
    opacity: 0.8;
}

.connection.highlighted {
    stroke: #888;
    stroke-width: 2px;
    opacity: 1;
}

/* Stats panel */
.stats {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.9);
    border: 1px solid #333;
    padding: 15px;
    font-size: 9px;
    line-height: 1.8;
    color: #aaa;
    min-width: 160px;
}

.stats div {
    margin: 2px 0;
    display: flex;
    justify-content: space-between;
}

.stats .stat-value {
    color: #fff;
    font-weight: bold;
}

/* Legend */
.legend {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.9);
    border: 1px solid #333;
    padding: 15px;
    font-size: 9px;
    line-height: 1.8;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 3px 0;
}

.legend-symbol {
    width: 12px;
    height: 12px;
    border: 1px solid;
    margin-right: 8px;
    flex-shrink: 0;
    background: transparent;
}

.legend-symbol.industry {
    border-color: #999;
    background: rgba(153, 153, 153, 0.1);
}

.legend-symbol.goal {
    border-color: #777;
    border-style: dashed;
    background: rgba(119, 119, 119, 0.05);
}

.legend-symbol.tool {
    border-color: #555;
    background: rgba(85, 85, 85, 0.1);
}

.legend-symbol.experience {
    border-color: #888;
    border-style: dashed;
    border-width: 1px;
    background: rgba(136, 136, 136, 0.08);
}

/* Info Panel */
.info-panel {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.9);
    border: 1px solid #333;
    padding: 15px;
    font-size: 9px;
    line-height: 1.6;
    color: #aaa;
    max-width: 280px;
    opacity: 0.8;
}

.info-title {
    font-size: 10px;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-content p {
    margin: 4px 0;
    color: #ccc;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: rgba(0,0,0,0.95);
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 12px 16px;
    font-size: 10px;
    max-width: 300px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 1000;
    line-height: 1.4;
}

.tooltip-title {
    font-size: 11px;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.tooltip-industry {
    color: #999;
    font-size: 9px;
    margin-bottom: 4px;
}

.tooltip-goal {
    color: #ccc;
    font-size: 9px;
    line-height: 1.3;
}

.tooltip-quotes {
    color: #aaa;
    font-size: 9px;
    line-height: 1.4;
    margin: 6px 0;
    font-style: italic;
    border-left: 1px solid #444;
    padding-left: 8px;
}

/* Footer */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    margin: 0 15px;
    color: #444;
}

.footer-description {
    font-size: 10px;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 10px;
    }
    
    .controls {
        justify-content: center;
        gap: 10px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 9px;
    }
    
    .stats, .legend, .info-panel {
        position: relative;
        margin: 10px;
        display: inline-block;
        max-width: 100%;
    }
    
    #dashboard-container {
        min-height: 500px;
    }
    
    .footer-links span {
        display: none;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 8px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .controls, .footer {
        display: none;
    }
    
    #dashboard-container {
        border: 1px solid black;
        background: white;
    }
    
    .participant-node circle {
        stroke: black;
    }
    
    .participant-node text {
        fill: black;
    }
    
    .connection {
        stroke: #666;
    }
    
    .stats, .legend, .info-panel {
        background: white;
        border: 1px solid black;
        color: black;
    }
}