h1, h2, h3, h4, h5, h6 {
    margin: 1em 0 0.5em 0;
    font-weight: 600;
    line-height: 1.3;
}
h1 { font-size: 2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.25em; }
h5 { font-size: 1em; }
h6 { font-size: 0.9em; }
p {
    margin: 0.5em 0;
    line-height: 1.6;
}
b {
    font-weight: bold;
}
i {
    font-style: italic;
}
a, button {
    cursor: pointer;
}
a {
    color: #0366d6;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 4px;
}

blockquote {
    border-left: 3px solid #ccc;
    padding-left: 12px;
    margin: 10px 0;
    color: #555;
    background: #f9f9f9;
}

ul, ol {
    margin: 0.5em 0 0.5em 1.5em;
    padding-left: 0;
}
ul li, ol li {
    margin: 0.25em 0;
}
ul ul, ol ol, ul ol, ol ul {
    margin-left: 1.5em;
}
table {
    border-collapse: collapse;
    width: 100%;
    margin: 10px 0;
}
th, td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
}
th {
    background-color: #f3f3f3;
    font-weight: 600;
}
code {
    background: #f3f3f3;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95em;
}
pre {
    background: #f3f3f3;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: monospace;
    margin: 10px 0;
}
input[type="checkbox"] {
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: .9rem;
    aspect-ratio: 1/1;
    border-radius: .15rem;
    background-color: rgba(0,0,0,0);
    border: 1px solid rgba(128,128,128,.5);
    cursor: pointer;
    position: relative;
    top: .3rem;
}
input[type="checkbox"]:checked {
    background: #007bff;
    border-color: #007bff;
}
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: .25rem;
  top: .05rem;
  width: .2rem;
  height: .4rem;
  border: solid #007bff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  border-color: white;
}
input[type="checkbox"]:hover {
  background-color: #e6f0ff;
}
input[type="checkbox"]:hover:checked {
  background-color: #0366d6;
  border-color: #0366d6;
}
input[type="checkbox"]:disabled {
  opacity: 1;
}
input[type="checkbox"]:disabled:checked::after {
  border-color: white;
}
.emoji {
    display: inline-block;
    height: 1em;
    margin: 0;
    position: relative;
    top: .1em;
    padding: 0;
}
.footnote {
    position: relative;
    display: inline-block;
    font-weight: 600;
    font-size: .6em;
    top: -0.6em;
}
.footnote-ol {
    color: #666;
    font-size: .9em;
    margin-left: 1.1em;
}
.footnote-ol > li > a {
    padding-left: .2em;
    position: relative;
    display: inline-block;
    font-size: .8em;
    top: .1em;
    text-decoration: none;
}