body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #007bff;
}

header h1 {
    color: #0056b3;
    margin-bottom: 5px;
}

header p {
    font-style: italic;
    color: #555;
}

#graph-container {
    position: relative;
    width: 100%;
    min-height: 800px; /* Adjust as needed */
    overflow: auto; /* Allows scrolling if graph is larger */
}

.card {
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    border-left: 5px solid #007bff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: grab;
    z-index: 10;
    width: 250px; /* Default width, can be adjusted */
    font-size: 0.9em;
}

.card h3 {
    margin-top: 0;
    color: #0056b3;
    font-size: 1.1em;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.card ul {
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.card li {
    margin-bottom: 3px;
}

.fact { /* For highlighting facts */
    font-weight: bold;
    color: #28a745; /* Green for facts */
}

.opinion { /* For highlighting opinions/emphasis from authors */
    font-style: italic;
    color: #dc3545; /* Red for opinions/emphasis */
}

.emphasis { /* For general emphasis or key terms not strictly fact/opinion */
    font-weight: 500;
    color: #17a2b8; /* Cyan for general emphasis */
}


#lines-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows interaction with cards underneath */
    z-index: 1;
}

/* Different card types might have different border colors */
.card-dimension { border-left-color: #28a745; }
.card-process { border-left-color: #ffc107; }
.card-knowledge { border-left-color: #17a2b8; }
.card-application { border-left-color: #6f42c1; }
.card-change { border-left-color: #fd7e14; }