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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #0d1117;
    color: #c9d1d9;
    line-height: 1.5;
}

.app-shell {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

.app-sidebar {
    width: 50px;
    background-color: #161b22;
    border-right: 1px solid #30363d;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    flex-shrink: 0;
}

.app-sidebar .nav-item {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8b949e;
    cursor: pointer;
    transition: color 0.2s, border-left 0.2s;
}

.app-sidebar .nav-item:hover {
    color: #f0f6fc;
    background-color: #21262d;
}

.app-sidebar .nav-item.active {
    color: #f0f6fc;
    border-left: 2px solid #f78166;
}

.main-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.app-header {
    background-color: #161b22;
    color: #f0f6fc;
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #30363d;
    z-index: 10;
}

.app-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
    -webkit-overflow-scrolling: touch;
    background-color: #0d1117;
    text-align: left;
}

.app-content h1, .app-content h2 {
    font-weight: 600;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #30363d;
    margin-top: 24px;
    margin-bottom: 16px;
    color: #f0f6fc;
}

.app-content h1 { font-size: 2em; }
.app-content h2 { font-size: 1.5em; }

.app-content p, .app-content ul {
    margin-bottom: 16px;
}

.app-content ul {
    padding-left: 2em;
}

.app-content code {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    background-color: rgba(110, 118, 129, 0.4);
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
}
