        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #0d1117;
            color: #f0f6fc;
            padding: 24px;
        }
        .container { max-width: 1000px; margin: 0 auto; }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid #2d3548;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 12px;
        }
        .header h1 { font-size: 24px; font-weight: 800; }
        .header h1 span { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .header-sub { color: #8b949e; font-size: 14px; }
        .back-link { color: #60a5fa; text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
        .back-link:hover { text-decoration: underline; }

        .app-header {
            background: #1c2333;
            border: 1px solid #2d3548;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        .app-header .icon { font-size: 48px; }
        .app-header .info h2 { font-size: 24px; font-weight: 700; }
        .app-header .info p { color: #8b949e; font-size: 14px; }
        .app-header .status { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; }
        .app-header .status .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
        .app-header .status .dot.running { background: #3fb950; }
        .app-header .status .dot.stopped { background: #f85149; }

        .section {
            background: #1c2333;
            border: 1px solid #2d3548;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
        }
        .section h3 {
            font-size: 14px;
            font-weight: 700;
            color: #8b949e;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
        }
        .section .empty { color: #484f58; font-style: italic; }

        .concept-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
        }
        .concept-card {
            background: #0d1117;
            border: 1px solid #2d3548;
            border-radius: 8px;
            padding: 12px 16px;
        }
        .concept-card .cname { font-weight: 600; font-size: 14px; }
        .concept-card .cattrs { font-size: 12px; color: #8b949e; margin-top: 4px; }

        .endpoint-list { display: flex; flex-wrap: wrap; gap: 8px; }
        .endpoint-item {
            background: #0d1117;
            border: 1px solid #2d3548;
            border-radius: 40px;
            padding: 4px 14px;
            font-family: monospace;
            font-size: 12px;
            color: #60a5fa;
        }

        .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag {
            background: #0d1117;
            border: 1px solid #2d3548;
            padding: 4px 12px;
            border-radius: 40px;
            font-size: 12px;
            color: #8b949e;
        }
        .tag.rule { border-color: #f0883e; color: #f0883e; }
        .tag.workflow { border-color: #a5d6ff; color: #a5d6ff; }
        .tag.role { border-color: #d2a8ff; color: #d2a8ff; }

        .app-actions {
            display: flex;
            gap: 12px;
            margin-top: 12px;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 13px;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            font-family: inherit;
        }
        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(102,126,234,0.4);
        }
        .btn-outline {
            background: transparent;
            color: #8b949e;
            border: 1px solid #2d3548;
        }
        .btn-outline:hover {
            background: #1c2333;
            color: #f0f6fc;
        }

        .footer {
            margin-top: 32px;
            padding-top: 16px;
            border-top: 1px solid #2d3548;
            text-align: center;
            color: #8b949e;
            font-size: 13px;
        }

        @media (max-width: 640px) {
            .app-header { flex-direction: column; text-align: center; }
            .app-header .status { margin-left: 0; }
            .concept-grid { grid-template-columns: 1fr; }
            .app-actions { justify-content: center; }
        }

/* Dynamic content styles */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #8b949e;
}
.loading-state i {
    font-size: 32px;
    display: block;
    margin-bottom: 16px;
}
.error-state {
    text-align: center;
    padding: 60px 20px;
    color: #8b949e;
}
.error-state i {
    font-size: 32px;
    display: block;
    margin-bottom: 16px;
}
.error-state a {
    color: #60a5fa;
    display: inline-block;
    margin-top: 12px;
}
.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #161b22;
    border-radius: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.app-header .icon {
    font-size: 48px;
}
.app-header .info {
    flex: 1;
}
.app-header .info h2 {
    font-size: 24px;
    margin-bottom: 4px;
}
.app-header .info p {
    color: #8b949e;
}
.app-header .status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b949e;
}
.app-header .status .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.app-header .status .dot.running {
    background: #2ea043;
}
.app-header .status .dot.stopped {
    background: #da3633;
}
.app-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.app-actions .btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}
.app-actions .btn-outline {
    background: transparent;
    border: 1px solid #30363d;
    color: #f0f6fc;
}
.app-actions .btn-primary {
    background: #238636;
    color: #fff;
    border: none;
}
.section {
    background: #161b22;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
}
.section h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #f0f6fc;
}
.section h3 i {
    margin-right: 8px;
}
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.concept-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px 16px;
}
.concept-card .cname {
    font-weight: 600;
    color: #f0f6fc;
}
.concept-card .cattrs {
    font-size: 12px;
    color: #8b949e;
    margin-top: 4px;
}
.endpoint-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.endpoint-item {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 4px 12px;
    font-family: monospace;
    font-size: 12px;
    color: #58a6ff;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 12px;
}
.tag.rule { border-color: #f0883e; color: #f0883e; }
.tag.workflow { border-color: #58a6ff; color: #58a6ff; }
.tag.role { border-color: #2ea043; color: #2ea043; }
.empty {
    color: #8b949e;
    font-style: italic;
}
