/* ============================================================
   ENUMAPP · Reset y estilos base
   ============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: var(--line-height);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Contenedor principal de las herramientas y manuales */
.enumapp-container {
    max-width: 1100px;
    width: 100%;
    background: var(--color-bg-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 35px 40px 45px;
}

body.tool-page,
body.manual-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

/* Tipografía básica */
h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
h1 small {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 8px;
}

h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--color-border-dashed);
    margin-bottom: 18px;
}

h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

ul, ol {
    margin: 8px 0 14px 24px;
}

li {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

strong { color: var(--color-text); }

code {
    background: var(--color-bg);
    color: var(--color-primary-dark);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}
a:hover { text-decoration: underline; }

.subtitle {
    color: var(--color-text-muted);
    font-size: 15px;
    border-left: 4px solid var(--color-primary);
    padding-left: 16px;
    margin-bottom: 30px;
    background: var(--color-bg-card);
    border-radius: 0 12px 12px 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 700px) {
    .enumapp-container { padding: 20px; }
    h1 { font-size: 22px; }
    h2 { font-size: 18px; }
}