#wplcWidget, #colophon, #masthead {
    display: none;
}

:root {
    --blue-bg: #E6F1FB;
    --blue-txt: #185FA5;
    --blue-brd: #B5D4F4;
    --green-bg: #EAF3DE;
    --green-txt: #2d6a35;
    --green-brd: #c0dd97;
    --red-bg: #FCEAE9;
    --red-txt: #C0392B;
    --red-brd: rgba(192, 57, 43, .5);
    --gray-bg: #f0f0ee;
    --gray-txt: #555;
    --gray-brd: #ddd;
    --sblue-bg: #074a8c;
    --sred-bg: #C0392B;
    --radius: 8px;
    --card-bg: #fff;
    --card-brd: #e8e8e4;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --page-bg: #f5f4f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.est-wrap {
    font-family: 'Georgia', serif;
    background: var(--page-bg);
    min-height: 100vh;
    padding: 2.5rem 1rem 4rem;
    color: var(--text);
}

.est-inner {
    max-width: 860px;
    margin: 0 auto;
}

/* ─── Page title ─────────────────────────────────────── */
.est-title {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: -.5px;
    margin-bottom: .25rem;
    color: var(--text);
}

.est-subtitle {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* ─── Section heading ─────────────────────────────────── */
.est-section {
    margin-bottom: 2.5rem;
}

.est-section-head {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1.5px solid var(--card-brd);
}

.est-section-title {
    font-size: 1.1rem;
    font-weight: normal;
    letter-spacing: -.2px;
}

.est-section-badge {
    font-size: .72rem;
    font-family: monospace;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ─── TODAY grid ──────────────────────────────────────── */
.est-today-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.est-today-card {
    background: #d4f8e0;
    border: 1px solid #2ecc71;
    border-radius: var(--radius);
    padding: .9rem 1rem;
    position: relative;
    overflow: hidden;
}

.est-today-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.est-today-card.has-data::before {
    background: #2ecc71;
}

.est-today-card.no-data::before {
    background: var(--card-brd);
}

.est-today-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #0a4a1f;
    margin-bottom: .4rem;
    font-weight: 600;
}

.est-today-val {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
}

.est-today-val.zero {
    color: #bbb;
}

.est-today-unit {
    font-size: .72rem;
    color: var(--muted);
    margin-top: .25rem;
}

.est-today-bar-wrap {
    height: 7px;
    background: #FCEAE9;
    border-radius: 3px;
    margin-top: .6rem;
    overflow: hidden;
    border: 1px solid rgba(192, 57, 43, .5);
}

.est-today-bar {
    height: 100%;
    border-radius: 3px;
    background: #C0392B;
    transition: width .4s;
}

/* ─── Days table ──────────────────────────────────────── */
.est-table-wrap {
    overflow-x: auto;
}

.est-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}

.est-table th {
    text-align: left;
    padding: .5rem .75rem;
    font-weight: normal;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    border-bottom: 1px solid var(--card-brd);
    white-space: nowrap;
    background: var(--card-bg);
}

.est-table td {
    padding: .55rem .75rem;
    border-bottom: 1px solid #f0f0ee;
    color: var(--text);
    white-space: nowrap;
}

.est-table tr:last-child td {
    border-bottom: none;
}

.est-table tr:hover td {
    background: #fafaf8;
}

.est-table .td-date {
    font-family: monospace;
    font-size: .8rem;
    color: var(--muted);
}

.est-table .td-today {
    color: var(--blue-txt);
    font-weight: 500;
}

.est-table .td-num {
    text-align: right;
}

.est-table .td-zero {
    color: #ccc;
    text-align: right;
}

.est-table-bg {
    background: var(--card-bg);
    border: 1px solid var(--card-brd);
    border-radius: var(--radius);
    overflow: hidden;
}

/* ─── Month / Year blocks ─────────────────────────────── */
.est-period-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.est-period-card {
    background: var(--card-bg);
    border: 1px solid var(--card-brd);
    border-radius: var(--radius);
    overflow: hidden;
}

.est-period-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 1rem;
    background: #fafaf8;
    border-bottom: 1px solid var(--card-brd);
}

.est-period-name {
    font-size: .9rem;
    color: var(--text);
}

.est-period-body {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: .75rem 1rem;
}

.est-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid;
}

.est-pill-name {
    color: inherit;
    opacity: .75;
}

.est-pill-val {
    font-weight: 700;
    font-size: 15px;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
    .est-today-val {
        font-size: 1.3rem;
    }

    .est-table {
        font-size: .78rem;
    }

    .est-table th, .est-table td {
        padding: .4rem .5rem;
    }
}

.est-section-years .est-period-card {
    border: 1px solid rgba(192, 57, 43, .5);
}

.est-section-years .est-period-card .est-period-head {
    background: #FCEAE9;
    border-bottom: 1px solid rgba(192, 57, 43, .5);
}

.est-section-years .est-period-card .est-period-head .est-period-name {
    color: #C0392B;
    font-size: 16px;
    font-weight: 700;
}

.est-section-years .est-period-card .pill-solid-cred {
    background: #FCEAE9;
    border-bottom: 1px solid rgba(192, 57, 43, .5);
    color: #C0392B;
}
.est-section-years .est-period-card .pill-solid-cred .est-pill-val {
    color: #C0392B;
    font-size: 16px;
    font-weight: 700;
}

.td-num.full-day-bl {
    background: #FCEAE9;
    color: #C0392B;
    border: 1px solid rgba(192, 57, 43, .5);
}