/* Clean Page — Clean theme + warm grey background with white content card */
@import url('clean.css');

:root {
    --bg-page: #f5f3f0;
    --footer-bg: #f5f3f0;
}

/* Force page background — Tailwind resets can override CSS variables */
body.page-bg {
    background-color: #f5f3f0 !important;
}

/* Thin border separating nav from the grey background */
.nav {
    border-bottom: 1px solid #e0e0e0;
}

/* Content area as a white card floating on the grey background */
.main-content {
    background: #ffffff;
    border-radius: 0.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* E2: title visually joins the white content card; shadow on container, not main-content */
body.ts-e2 .page-container {
    margin-top: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border-radius: 0.25rem;
}
body.ts-e2 .main-content {
    box-shadow: none;
}
body.ts-e2 .page-title-outer {
    background: #ffffff;
    border-radius: 0.25rem 0.25rem 0 0;
}
body.ts-e2 .page-title-outer .page-title-area {
    padding: 1.5rem 2.5rem 0.75rem 2.5rem;
}
body.ts-e2 .main-content {
    margin-top: 0;
    border-radius: 0 0 0.25rem 0.25rem;
}

/* No data cards on clean-page — CH1/CH3 fall back to CH2 label style */
body.ch-ch1 .card-header,
body.ch-ch3 .card-header {
    display: block;
    background: none;
    border-radius: 0;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0 0 0.4rem 0;
    border-bottom: 1px solid #e0ddd8;
    margin-bottom: 0.5rem;
}
