.daily-goal-alert {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    padding: 18px 20px;
    background: #fff8ed;
    border: 1px solid #f6c98e;
    border-left: 5px solid #f79009;
    border-radius: 16px;
    box-shadow: 0 7px 18px rgba(247, 144, 9, .08);
}

.daily-goal-alert-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fef0c7;
    color: #b54708;
    font-size: 21px;
    font-weight: 900;
}

.daily-goal-alert-copy {
    min-width: 0;
}

.daily-goal-alert-copy strong,
.daily-goal-alert-copy p {
    display: block;
    overflow-wrap: anywhere;
}

.daily-goal-alert-copy strong {
    margin: 5px 0;
    color: #1c1917;
    font-size: 16px;
    line-height: 1.35;
}

.daily-goal-alert-copy p {
    margin: 0;
    color: #7a4a12;
    font-size: 13px;
    line-height: 1.45;
}

/* The dashboard reminder is informational; reading is launched elsewhere. */
body[data-page="dashboard"] .daily-goal-alert > .button {
    display: none;
}

.daily-goal-alert .goal-deadline {
    flex: none;
    min-width: 142px;
    padding: 8px 12px;
    border: 1px solid rgba(246, 201, 142, .75);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    text-align: center;
}

.daily-goal-alert .goal-deadline > small {
    display: block;
    margin-bottom: 3px;
    color: #9b5b15;
    font-size: 10px;
    font-weight: 800;
}

.daily-goal-alert .goal-deadline .countdown-clock {
    justify-content: center;
    gap: 3px;
    color: #b54708;
}

.daily-goal-alert .goal-deadline .countdown-clock b {
    font-size: 21px;
}

.daily-goal-alert .goal-deadline .countdown-clock span {
    color: #b54708;
    font-weight: 800;
}

@media (max-width: 700px) {
    .daily-goal-alert {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px 12px;
        margin: 14px 0;
        padding: 14px;
        border-left-width: 4px;
        border-radius: 14px;
    }

    .daily-goal-alert-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 19px;
    }

    .daily-goal-alert-copy .eyebrow {
        font-size: 10px;
        letter-spacing: .08em;
    }

    .daily-goal-alert-copy strong {
        margin: 3px 0 4px;
        font-size: 14px;
    }

    .daily-goal-alert-copy p {
        font-size: 12px;
    }

    .daily-goal-alert .goal-deadline {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
        margin: 0;
        padding: 8px 11px;
        text-align: left;
    }

    .daily-goal-alert .goal-deadline > small {
        margin: 0;
        font-size: 11px;
    }

    .daily-goal-alert .goal-deadline .countdown-clock {
        justify-content: flex-end;
        flex: none;
    }

    .daily-goal-alert .goal-deadline .countdown-clock b {
        font-size: 19px;
    }
}
