/* ENTRA Gestión Condominal — Instrumentos legales (estilo formal denso) */
:root {
    --bg: #ffffff;
    --fg: #1a1a1a;
    --muted: #5a5a5a;
    --border: #b8b8b8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: "Times New Roman", "Liberation Serif", "Nimbus Roman", Georgia, serif;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.38;
    margin: 0;
    padding: 2.25rem 1.25rem 3rem;
    font-size: 13px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.container {
    max-width: 720px;
    margin: 0 auto;
}

header.doc-header {
    text-align: center;
    border-bottom: 2px solid var(--fg);
    padding-bottom: 0.65rem;
    margin-bottom: 1.5rem;
}

header.doc-header h1 {
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.2rem;
    line-height: 1.25;
}

header.doc-header .meta {
    font-size: 0.7rem;
    color: var(--muted);
    margin: 0;
    font-style: italic;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 0.82rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 1.4rem 0 0.35rem;
    text-align: left;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.15rem;
}

h3 {
    font-size: 0.78rem;
    font-weight: bold;
    margin: 0.9rem 0 0.25rem;
    text-align: left;
    text-transform: none;
}

p {
    font-size: 13px;
    color: var(--fg);
    text-align: justify;
    margin: 0 0 0.55rem;
    text-indent: 1.5rem;
}

ol, ul {
    padding-left: 1.8rem;
    margin: 0 0 0.55rem;
}

ol { list-style-type: lower-alpha; }
ol ol { list-style-type: lower-roman; padding-left: 1.4rem; margin: 0.15rem 0; }
ol ol ol { list-style-type: decimal; }

li {
    font-size: 13px;
    color: var(--fg);
    margin-bottom: 0.15rem;
    text-align: justify;
}

a { color: var(--fg); text-decoration: underline; }

.placeholder {
    background: #fffacd;
    font-family: ui-monospace, monospace;
    font-size: 0.88em;
    padding: 0 0.15rem;
}

footer.doc-footer {
    margin-top: 1.75rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border);
    font-size: 0.68rem;
    color: var(--muted);
    text-align: center;
    font-style: italic;
}

footer.doc-footer nav a { margin: 0 0.4rem; }
