body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge {
    font-weight: 500;
}

.card {
    border-radius: 0.5rem;
}

pre {
    font-size: 0.875rem;
}

/* Rendered markdown outputs (Strategy, Upload Map, Client Doc, Designer Brief).
   python-markdown emits bare <table>/<h*> with no Bootstrap classes, so give
   them lines + padding here to make review pages legible. */
.rendered-markdown table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
}

.rendered-markdown th,
.rendered-markdown td {
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.rendered-markdown thead th {
    background-color: #e9ecef;
    font-weight: 600;
}

/* Light alternating row shading — clearly visible on white, still soft. */
.rendered-markdown tbody tr:nth-child(even) {
    background-color: #f2f4f7;
}

.rendered-markdown tbody tr:hover {
    background-color: #e9eef4;
}

.rendered-markdown h1,
.rendered-markdown h2,
.rendered-markdown h3 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.rendered-markdown h2 {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.35rem;
}

.rendered-markdown hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 2px solid #e9ecef;
}
