/*
 * COM Lore — Content Typography
 * Document-like hierarchy. Readable. Not decorative.
 */

/* ═══════════════════════════════════════════
   HEADINGS — hierarchical, not dramatic
   ═══════════════════════════════════════════ */

.dokuwiki .page h1,
.dokuwiki .page h2,
.dokuwiki .page h3,
.dokuwiki .page h4,
.dokuwiki .page h5 {
    font-family: "Courier New", Courier, monospace;
    font-weight: normal;
    line-height: 1.25;
    margin: 1.5em 0 0.5em;
    color: #c8c8c4;
    letter-spacing: 0;
}

.dokuwiki .page h1 {
    font-size: 1.45em;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 0.3em;
    margin-top: 0.5em;
    color: #f0f0f0;
    text-transform: uppercase;
}

.dokuwiki .page h2 {
    font-size: 1.05em;
    border-bottom: 1px solid #242424;
    padding-bottom: 0.2em;
    color: #d6d6d6;
    text-transform: uppercase;
}

.dokuwiki .page h3 {
    font-size: 1.0em;
    font-weight: bold;
    color: #aeaeaa;
}

.dokuwiki .page h4 {
    font-size: 0.9em;
    font-weight: bold;
    color: #9e9e9a;
}

.dokuwiki .page h5 {
    font-size: 0.85em;
    font-weight: bold;
    font-style: italic;
    color: #8a8a86;
}

/* ═══════════════════════════════════════════
   BODY TEXT
   ═══════════════════════════════════════════ */

.dokuwiki .page p {
    margin: 0 0 0.9em;
    color: #bdbdbd;
}

/* ═══════════════════════════════════════════
   LINKS
   ═══════════════════════════════════════════ */

.dokuwiki .page a,
.dokuwiki .aside a {
    color: #5b8fc7;
    background: none;
    text-decoration: none;
    border-bottom: 1px solid #2a3a4a;
}

.dokuwiki .page a:hover,
.dokuwiki .aside a:hover {
    color: #7aaee0;
    background: none;
    border-bottom-color: #5b8fc7;
}

/* Internal wiki links */
.dokuwiki a.wikilink1 {
    color: #5b8fc7;
    background: none;
    border-bottom: 1px solid #2a3a4a;
    text-decoration: none;
}

.dokuwiki a.wikilink1:hover {
    color: #7aaee0;
    border-bottom-color: #5b8fc7;
    background: none;
}

/* Missing/not-yet-created links */
.dokuwiki a.wikilink2 {
    color: #7a5050;
    background: none;
    border-bottom: 1px dashed #5a3030;
    text-decoration: none;
}

.dokuwiki a.wikilink2:hover {
    color: #a07070;
    background: none;
}

/* External links */
.dokuwiki a.urlextern,
.dokuwiki a.url {
    color: #5b8fc7;
    background: none;
    border-bottom: 1px solid #2a3a4a;
}

/* ═══════════════════════════════════════════
   CODE — monospace, no decorative boxes
   ═══════════════════════════════════════════ */

.dokuwiki code,
.dokuwiki .page tt {
    font-family: "Courier New", "Courier", monospace;
    font-size: 0.85em;
    color: #909088;
    background: #181818;
    padding: 0.05em 0.3em;
    border: 1px solid #222;
}

.dokuwiki pre,
.dokuwiki pre.code,
.dokuwiki div.code {
    background: #0f0f0f;
    border: 1px solid #222;
    border-left: 2px solid #2a3a4a;
    padding: 0.9em 1.1em;
    margin: 1em 0;
    overflow-x: auto;
    font-family: "Courier New", "Courier", monospace;
    font-size: 0.82em;
    color: #909088;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   BLOCKQUOTE — document-style
   ═══════════════════════════════════════════ */

.dokuwiki .page blockquote {
    margin: 1em 0;
    padding: 0.6em 1em;
    border-left: 2px solid #2a3a4a;
    color: #7a7a76;
    font-style: italic;
    background: none;
}

/* ═══════════════════════════════════════════
   LISTS
   ═══════════════════════════════════════════ */

.dokuwiki .page ul,
.dokuwiki .page ol {
    margin: 0.4em 0 0.9em 1.4em;
    padding: 0;
}

.dokuwiki .page ul li,
.dokuwiki .page ol li {
    color: #b0b0ac;
    margin-bottom: 0.2em;
}

.dokuwiki .page ul li .li,
.dokuwiki .page ol li .li {
    color: #b0b0ac;
}

/* ═══════════════════════════════════════════
   TABLES — clean, no striping
   ═══════════════════════════════════════════ */

.dokuwiki .page table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
    font-size: 0.88em;
}

.dokuwiki .page table th {
    background: #111;
    color: #9a9a9a;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.82em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: left;
    padding: 0.5em 0.8em;
    border: 1px solid #242424;
}

.dokuwiki .page table td {
    padding: 0.45em 0.8em;
    border: 1px solid #202020;
    color: #c2c2c2;
    vertical-align: top;
}

.dokuwiki .page table tr:hover td {
    background: #101010;
}

/* ═══════════════════════════════════════════
   HORIZONTAL RULE
   ═══════════════════════════════════════════ */

.dokuwiki .page hr {
    border: none;
    border-top: 1px solid #202020;
    margin: 1.5em 0;
}

/* ═══════════════════════════════════════════
   FOOTNOTES
   ═══════════════════════════════════════════ */

.dokuwiki .page div.footnotes {
    margin-top: 2em;
    padding-top: 0.8em;
    border-top: 1px solid #1e1e1e;
    font-size: 0.8em;
    color: #6a6a66;
}

/* ═══════════════════════════════════════════
   EDIT MODE — functional, not styled
   ═══════════════════════════════════════════ */

.dokuwiki .toolbar {
    background: #181818;
    border: 1px solid #222;
    padding: 0.3em;
}

.dokuwiki textarea#wiki__text {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    color: #c8c8c4;
    font-family: "Courier New", "Courier", monospace;
    font-size: 0.88em;
    padding: 0.8em;
    width: 100%;
    line-height: 1.55;
}

/* ═══════════════════════════════════════════
   SEARCH RESULTS
   ═══════════════════════════════════════════ */

.dokuwiki div.search_result {
    border-bottom: 1px solid #1e1e1e;
    padding: 0.8em 0;
}

.dokuwiki div.search_result a {
    color: #5b8fc7;
    background: none;
    font-size: 1.05em;
}

.dokuwiki div.search_snippet {
    font-size: 0.85em;
    color: #7a7a76;
    margin-top: 0.3em;
}

.dokuwiki strong.search_hit {
    color: #c8c8c4;
    background: #2a3a2a;
    padding: 0 0.15em;
}

/* ═══════════════════════════════════════════
   DIFF / RECENT CHANGES
   ═══════════════════════════════════════════ */

.dokuwiki td.diff_del {
    background: #1a1010;
    color: #8a5050;
}

.dokuwiki td.diff_add {
    background: #101a10;
    color: #5a8a5a;
}

/* ═══════════════════════════════════════════
   INDEX PAGE
   ═══════════════════════════════════════════ */

.dokuwiki ul.idx {
    margin: 0;
    padding: 0;
}

.dokuwiki ul.idx li {
    list-style: none;
    padding: 0.1em 0;
    font-size: 0.88em;
}

.dokuwiki ul.idx li a {
    color: #5b8fc7;
    background: none;
    text-decoration: none;
}

.dokuwiki ul.idx li a:hover {
    color: #7aaee0;
    background: none;
}
