:root {
    /* Fonts */
    --font-serif: 'Libre Baskerville', 'Times New Roman', serif;
    --font-sans: 'Source Sans 3', 'Helvetica Neue', sans-serif;

    /* Color Palette - Modern Dark Academic */
    --color-bg: #121214; /* Slightly lighter than pure black for softness */
    --color-paper: #1c1c1f; /* Card background */
    --color-text: #ececf1; /* High contrast text */
    --color-text-secondary: #a1a1aa; /* Muted text */
    --color-text-muted: #71717a; /* Very muted text */
    
    /* Accents */
    --color-accent: #f87171; /* Softer Red/Coral */
    --color-accent-dark: #b91c1c;
    --color-accent-glow: rgba(248, 113, 113, 0.15);
    
    /* Functional Colors */
    --color-link: #60a5fa; /* Blue-400 */
    --color-link-hover: #93c5fd; /* Blue-300 */
    --color-border: #27272a; /* Zinc-800 */
    --color-sidebar: #18181b; /* Zinc-900 */
    
    /* Layout */
    --max-width: 1200px;
    --column-gap: 60px;
    --header-height: 60px;
    --border-radius-lg: 12px;
    --border-radius-md: 8px;
    --border-radius-sm: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    font-size: 17px; /* Increased base size for readability */
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Bar */
.journal-header {
    background: #18181b; /* Slightly lighter background for better visibility */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    height: var(--header-height);
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    font-family: var(--font-sans);
    font-size: 14px; /* Increased font size */
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05); /* Added subtle highlight */
}

.journal-header span {
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.journal-header nav {
    display: flex;
    gap: 24px;
}

.journal-header a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.journal-header a:hover {
    color: var(--color-text);
    text-decoration: none;
}

.journal-header a:hover::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
}

/* Article Header */
.article-header {
    max-width: 900px; /* Constrain width for better reading line-length */
    margin: 0 auto;
    padding: 80px 20px 60px;
    text-align: center;
}

.article-type {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-accent-glow);
    border-radius: 100px;
}

.article-title {
    font-size: 48px; /* Larger title */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.article-subtitle {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.author-info {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-text);
}

.article-meta {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* Main Layout */
.main-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px; /* Slightly wider sidebar */
    gap: var(--column-gap);
    padding: 0 40px 80px;
}

.content-column {
    min-width: 0;
}

/* Typography & Content */
p {
    margin-bottom: 24px;
    color: var(--color-text-secondary); /* Softer text color */
}

h2.section-title {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 60px 0 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    letter-spacing: -0.01em;
    text-transform: none; /* Removed uppercase for better readability */
    display: flex;
    align-items: center;
}

h2.section-title::before {
    content: '#';
    color: var(--color-accent);
    margin-right: 12px;
    font-weight: 400;
    opacity: 0.8;
}

h3 {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin: 40px 0 16px;
}

h4 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 24px 0 12px;
}

h5 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

/* Abstract Box */
.abstract-box {
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.abstract-box h2 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.abstract-box p {
    font-size: 18px; /* Larger abstract text */
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 0;
}

/* Boxes & Cards */
.sidebar-box {
    background: var(--color-paper);
    padding: 24px;
    margin-bottom: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
}

.key-points {
    background: linear-gradient(145deg, var(--color-paper), #222226);
    padding: 24px;
    margin-bottom: 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.key-points h4, .sidebar-box h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.key-points li, .sidebar-box li {
    font-size: 14px;
    line-height: 1.6;
    padding: 8px 0;
    border-bottom: 1px dashed var(--color-border);
    color: var(--color-text-secondary);
}

.key-points li:last-child, .sidebar-box li:last-child {
    border-bottom: none;
}

/* Tags */
.tag-list {
    margin-top: 16px;
}

.tag {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.tag:hover {
    background: var(--color-accent-glow);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Figures */
.figure-box {
    background: var(--color-bg);
    padding: 0;
    margin: 40px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.figure-content {
    background: #000;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.figure-label {
    padding: 16px 20px 0;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
}

.figure-caption {
    padding: 8px 20px 20px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Timeline (Figure 1) */
.timeline-visual {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 20px;
}

/* Connecting Line */
.timeline-visual::before {
    content: '';
    position: absolute;
    top: 26px; /* align with dot center */
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    text-align: center;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    margin-bottom: 12px;
    transition: all 0.3s;
    position: relative;
}

.timeline-dot.done {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-bg); /* gap effect */
}

.timeline-dot.current {
    background: var(--color-bg);
    border-color: var(--color-accent);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px var(--color-bg); /* gap effect */
}

.timeline-label {
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text-secondary);
    background: var(--color-bg); /* prevent line overlap issues visually */
    padding: 4px;
}

.timeline-label strong {
    color: var(--color-text);
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

/* Flow Visual (Figure 2) */
.flow-visual {
    width: 100%;
    max-width: 900px;
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.flow-step {
    flex: 1;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 18px 16px;
    position: relative;
}

.flow-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--color-border);
    opacity: 0.8;
}

.flow-step:last-child::after {
    display: none;
}

.flow-title {
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}

.flow-sub {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

@media (max-width: 800px) {
    .flow-visual {
        flex-direction: column;
    }

    .flow-step::after {
        display: none;
    }
}

@media (max-width: 720px) {
    .figure-content {
        padding: 28px 20px;
    }

    .timeline-visual {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-top: 0;
        padding-left: 20px;
    }

    .timeline-visual::before {
        top: 0;
        bottom: 0;
        left: 10px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline-item {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .timeline-dot {
        margin: 2px 0 0;
    }

    .timeline-label {
        background: transparent;
        padding: 0;
    }

    .timeline-label strong {
        display: inline;
        margin-top: 0;
        margin-left: 6px;
    }
}

/* Stage List (Technical Framework Visual) */
.stage-list {
    margin: 40px 0;
    position: relative;
}

/* Vertical line for stage list */
.stage-list::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    background: var(--color-border);
    z-index: 1;
}

.stage-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
    z-index: 2;
}

.stage-item:last-child {
    margin-bottom: 0;
}

.stage-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--color-paper);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--color-accent);
    box-shadow: 0 0 0 8px var(--color-bg); /* Mask line behind */
}

/* Auto-numbering for stages */
.stage-list { counter-reset: stage-counter; }
.stage-number::after {
    counter-increment: stage-counter;
    content: counter(stage-counter);
}

.stage-body h4 {
    margin-top: 0;
    font-size: 18px;
    color: var(--color-accent);
}

.stage-body p {
    font-size: 15px;
    margin-bottom: 12px;
}

/* Special Boxes (Question/Note/Resolution) */
.note-box {
    background: rgba(255, 193, 7, 0.05);
    border-left: 3px solid #ffc107;
    padding: 20px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin: 24px 0;
}

.question-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: var(--border-radius-md);
    margin: 32px 0;
}

.resolution-box {
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-left: 3px solid #4caf50;
    padding: 20px;
    margin-top: 16px;
    border-radius: var(--border-radius-sm);
}

.resolution-box h5 {
    color: #81c784;
}

.resolution-box p {
    color: #c8e6c9;
}

/* Tables */
.data-table {
    width: 100%;
    margin: 32px 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.data-table th {
    background: var(--color-paper);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
    font-size: 15px;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Links & References */
a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

.references {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.references ol {
    padding-left: 0;
    list-style-position: inside;
}

.references li {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
    text-indent: -24px;
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    padding: 32px;
    text-align: center;
    border-radius: var(--border-radius-lg);
    margin: 40px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(248, 113, 113, 0.3);
}

.cta-box h4 {
    color: white;
    font-size: 18px;
    margin-top: 0;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
}

.cta-box a {
    background: white;
    color: var(--color-accent-dark);
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    display: inline-block;
}

.cta-box a:hover {
    background: #f9fafb;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    border-top: 1px solid var(--color-border);
    padding: 60px 20px;
    text-align: center;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 0 20px 60px;
    }
    
    .journal-header {
        padding: 0 20px;
    }
    
    .article-header {
        padding-top: 40px;
    }
    
    .article-title {
        font-size: 32px;
    }
}

/* --- Papers Page Specific Styles --- */

.papers-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.papers-count {
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-align: right;
}

.year-heading {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-text);
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.paper-entry {
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.paper-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--color-text-secondary);
}

.paper-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 12px;
}

.paper-meta {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.paper-meta a {
    color: var(--color-accent);
    font-weight: 600;
}

.paper-abstract {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-border);
}

/* Translation Container (for restored content) */
.translation-container {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.jp-title {
    font-weight: 700;
    color: var(--color-text);
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 16px;
}

.jp-summary {
    padding: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.grid-5points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.point-card {
    background: var(--color-bg);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
}

.point-card label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.point-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.raw-abstract {
    margin-top: 20px;
    padding: 20px;
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: italic;
    border-top: 1px dashed var(--color-border);
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 8px 16px;
    background: var(--color-border);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-action:hover {
    background: var(--color-accent);
    color: white;
    text-decoration: none;
}

.icon {
    width: 14px;
    height: 14px;
}

/* Sidebar Navigation */
.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-box ul li {
    border-bottom: 1px solid var(--color-border);
}

.sidebar-box ul li:last-child {
    border-bottom: none;
}

.sidebar-box ul li a {
    display: block;
    padding: 10px 0;
    color: var(--color-text-secondary);
    font-family: var(--font-sans);
    font-size: 14px;
    transition: color 0.2s, padding-left 0.2s;
}

.sidebar-box ul li a:hover {
    color: var(--color-accent);
    padding-left: 8px;
    text-decoration: none;
}

/* Papers Page Layout */
.papers-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px;
}

.papers-sidebar {
    position: sticky;
    top: 100px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 20px;
    border-right: 1px solid var(--color-border);
}

.sidebar-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-text);
}

.sidebar-nav-header {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 12px;
}

.sidebar-nav a {
    color: var(--color-text-secondary);
    font-size: 14px;
    display: block;
    padding: 6px 0;
    transition: color 0.2s;
}

.sidebar-nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.sub-nav {
    list-style: none;
    padding-left: 16px;
    margin-top: 8px;
    border-left: 1px solid var(--color-border);
}

/* Stats Grid (The "Bar" at the top) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 40px 0 60px;
    padding: 24px;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-card span {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.stat-card div {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
}

/* Responsive adjustments for Papers Page */
@media (max-width: 900px) {
    .papers-page {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .papers-sidebar {
        display: none; /* Hide sidebar on mobile or move to bottom/menu */
    }
}

/* Visual Diagrams */
.visual-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
}

.diagram-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.diagram-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.arrow-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 4px;
    margin: 10px 0;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    position: relative;
    width: 100%;
    max-width: 140px;
}

.arrow-box::after {
    content: '↓';
    display: block;
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    font-weight: 400;
}

.arrow-box.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

.diagram-caption {
    margin-top: 24px !important;
    font-size: 13px !important;
    color: var(--color-text-secondary) !important;
    margin-bottom: 0 !important;
}

.diagram-divider {
    font-weight: 900;
    color: var(--color-text-muted);
    font-size: 14px;
}
