/* Reasonable docs — minimal overrides only */

/* Top navigation bar — matches .related container, indented to body text */
nav#topnav {
    width: 100%;
    max-width: 60rem;
    margin: auto;
    padding: 0.4rem 0 0.4rem 0;
    box-sizing: border-box;
}

nav#topnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.2rem;
    flex-wrap: wrap;
}

nav#topnav li {
    margin: 0;
    padding: 0;
}

nav#topnav a {
    display: inline-block;
    padding: 0.25rem 0.75rem 0.25rem 0;
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 3px;
    color: #444;
}

nav#topnav a:hover {
    background: #f0f0f0;
    color: #111;
}

/* Header subtitle de-emphasis */
.header-subtitle {
    font-size: 0.65em;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0;
}

hr.nav-rule {
    border: none;
    border-top: 1px solid #aaa;
    margin: 0;
}

body {
    font-size: 15px;
}

.rstjinja code, tt {
    font-size: 0.9em;
}

/* Keep rule-status tables readable */
table.rules-table {
    font-size: 0.88em;
    border-collapse: collapse;
    width: 100%;
}

table.rules-table th,
table.rules-table td {
    padding: 0.35rem 0.6rem;
    border: 1px solid #e1e4e5;
    vertical-align: top;
}

table.rules-table th {
    background: #f3f6f6;
    font-weight: 600;
}

/* OWL rule support status badges */
.supported {
    color: #1a7f3c;
    font-weight: 600;
}

.unsupported {
    color: #c0392b;
    font-weight: 600;
}

.partial {
    color: #b45309;
    font-weight: 600;
}
