/* sysadmin notes */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    background: #f7f7f5;
    color: #1c1c1c;
}

.wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    padding: 1.2rem 0 0.8rem;
    border-bottom: 2px solid #1c1c1c;
    margin-bottom: 2.5rem;
}

.site-title {
    font-family: monospace;
    font-size: 1.05rem;
    font-weight: bold;
}

.site-title a { color: inherit; text-decoration: none; }

nav {
    margin-top: 0.5rem;
    font-size: 0.87rem;
}

nav a {
    color: #444;
    text-decoration: none;
    margin-right: 1rem;
}

nav a:hover { text-decoration: underline; }

main { min-height: 55vh; }

article h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.meta {
    font-family: monospace;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 1.8rem;
}

h2 {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 2rem 0 0.55rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #ddd;
}

h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.4rem 0 0.35rem;
}

p { margin: 0 0 0.9rem; }

a { color: #0057cc; }

ul, ol {
    margin: 0.3rem 0 0.9rem 1.4rem;
    padding: 0;
}

li { margin-bottom: 0.3rem; }

code {
    font-family: monospace;
    font-size: 0.875em;
    background: #e6e6e3;
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

pre {
    background: #1c1c1c;
    color: #dcdccc;
    font-family: monospace;
    font-size: 0.875em;
    line-height: 1.55;
    padding: 1rem 1.2rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0.8rem 0 1.2rem;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 0.8rem 0 1.3rem;
}

thead th {
    background: #1c1c1c;
    color: #f0f0f0;
    text-align: left;
    padding: 0.4rem 0.75rem;
}

tbody td {
    padding: 0.35rem 0.75rem;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

tbody tr:nth-child(even) td { background: #efefec; }

.post-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.post-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #e4e4e1;
    margin: 0;
}

.post-list .date {
    display: inline-block;
    width: 6.5rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: #999;
}

.post-list a {
    font-weight: 600;
    color: #1c1c1c;
    text-decoration: none;
}

.post-list a:hover { text-decoration: underline; }

.post-list .desc {
    display: block;
    font-size: 0.87rem;
    color: #666;
    margin-top: 0.15rem;
    padding-left: 6.5rem;
}

.note {
    background: #fffbe6;
    border-left: 3px solid #d4a800;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    margin: 1rem 0;
}

footer {
    margin-top: 4rem;
    padding: 1.1rem 0;
    border-top: 1px solid #ddd;
    font-family: monospace;
    font-size: 0.78rem;
    color: #aaa;
}
