#preview {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
    color: #24292f;
    line-height: 1.6;
    font-size: 16px;
    padding: 1em;
}
#preview img { max-width: 100%; }
#preview h1, #preview h2, #preview h3, #preview h4, #preview h5, #preview h6 {
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}
#preview h1 { font-size: 2em; }
#preview h2 { font-size: 1.5em; }
#preview h3 { font-size: 1.25em; }
#preview h4 { font-size: 1.1em; }
#preview h5 { font-size: 1em; }
#preview h6 { font-size: 0.9em; }
#preview p {
    margin: 1em 0;
}
#preview code {
    background: #f6f8fa;
    border-radius: 6px;
    padding: 0.2em 0.4em;
    font-size: 85%;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
#preview pre {
    background: #f6f8fa;
    border-radius: 6px;
    padding: 1em;
    overflow: auto;
    font-size: 85%;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
#preview blockquote {
    color: #6a737d;
    border-left: 0.25em solid #dfe2e5;
    padding: 0 1em;
    margin: 0.8em 0;
    background: #f6f8fa;
}
#preview ul, #preview ol {
    margin: 1em 0 1em 2em;
}

@media (max-width: 600px) {
    #preview {
        max-width: 90%;
        max-height: 90%;
        border-radius: 0;
    }
    #preview ul, #preview ol {
        margin-left: 0;
        padding-left: 1em;
    }
}
#preview li {
    margin: 0.3em 0;
}
#preview a {
    color: #0366d6;
    text-decoration: none;
}
#preview a:hover {
    text-decoration: underline;
}
#preview table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}
#preview th, #preview td {
    border: 1px solid #dfe2e5;
    padding: 0.6em 1em;
}
#preview th {
    background: #f6f8fa;
    font-weight: 600;
}

#preview {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #24292f;
    line-height: 1.6;
    font-size: 16px;
    padding: 1em;
}
#preview img { max-width: 100%; }
#preview h1, #preview h2, #preview h3, #preview h4, #preview h5, #preview h6 {
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}
#preview h1 { font-size: 2em; }
#preview h2 { font-size: 1.5em; }
#preview h3 { font-size: 1.25em; }
#preview h4 { font-size: 1.1em; }
#preview h5 { font-size: 1em; }
#preview h6 { font-size: 0.9em; }
#preview p { margin: 1em 0; }
#preview code, #preview pre {
    background: #f6f8fa;
    border-radius: 6px;
    font-size: 85%;
    font-family: 'SFMono-Regular', Consolas, monospace;
}
#preview code {
    padding: 0.2em 0.4em;
}
#preview pre {
    padding: 1em;
    overflow: auto;
}
#preview blockquote {
    color: #6a737d;
    border-left: 0.25em solid #dfe2e5;
    padding: 0 1em;
    margin: 0.8em 0;
    background: #f6f8fa;
}
#preview ul, #preview ol {
    margin: 1em 0 1em 2em;
}
#preview li { margin: 0.3em 0; }
#preview a {
    color: #0366d6;
    text-decoration: none;
}
#preview a:hover { text-decoration: underline; }
#preview table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}
#preview th, #preview td {
    border: 1px solid #dfe2e5;
    padding: 0.6em 1em;
}
#preview th {
    background: #f6f8fa;
    font-weight: 600;
}

@media (max-width: 600px) {
    #preview {
        max-width: 90% !important;
        max-height: 90% !important;
        border-radius: 0 !important;
    }
    #preview ul, #preview ol {
        margin-left: 0;
        padding-left: 1em;
    }
}
