.bp-weekly-progress {
    --bp-weekly-ink: #10243d;
    --bp-weekly-muted: #5d7088;
    --bp-weekly-line: rgba(35, 123, 176, 0.16);
    --bp-weekly-cyan: #12b8d7;
    --bp-weekly-teal: #0eb5a4;
    width: 100%;
    padding: 28px;
    border: 1px solid var(--bp-weekly-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(20, 72, 120, 0.08);
}

.bp-weekly-progress,
.bp-weekly-progress * {
    box-sizing: border-box;
}

.bp-weekly-progress h2,
.bp-weekly-progress h3,
.bp-weekly-progress p {
    margin-top: 0;
    text-align: left;
}

.bp-weekly-progress h2,
.bp-weekly-progress h3 {
    color: var(--bp-weekly-ink);
    letter-spacing: 0;
}

.bp-weekly-progress h2 {
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.08;
}

.bp-weekly-progress > p:not(.bp-weekly-progress-eyebrow) {
    color: var(--bp-weekly-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.bp-weekly-progress a {
    text-decoration: none;
}

.bp-weekly-progress-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(18, 184, 215, 0.12);
    color: #087d95;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.bp-weekly-progress-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.bp-weekly-progress-recommended {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(18, 184, 215, 0.24);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(18, 184, 215, 0.12), rgba(55, 120, 246, 0.08)),
        #ffffff;
}

.bp-weekly-progress-recommended > span {
    grid-column: 1 / -1;
    color: #087d95;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bp-weekly-progress-recommended strong,
.bp-weekly-progress-recommended p {
    text-align: left;
}

.bp-weekly-progress-recommended strong {
    color: var(--bp-weekly-ink);
}

.bp-weekly-progress-recommended p {
    margin-bottom: 0;
    color: var(--bp-weekly-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.bp-weekly-progress-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    background: #f3faff;
}

.bp-weekly-progress-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.bp-weekly-progress-title h3 {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.bp-weekly-progress-main p {
    margin-bottom: 9px;
    color: var(--bp-weekly-muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.bp-weekly-progress-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e7faff;
    color: #087d95;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.bp-weekly-progress-status.is-new-best {
    background: #dcfbf4;
    color: #08796e;
}

.bp-weekly-progress-status.is-empty {
    background: #eef4fb;
    color: #6a7b8f;
}

.bp-weekly-progress-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #dceeff;
}

.bp-weekly-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--bp-weekly-teal), var(--bp-weekly-cyan));
}

.bp-weekly-progress-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid rgba(18, 184, 215, 0.32);
    border-radius: 999px;
    background: #ffffff;
    color: #0a6f86;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.bp-weekly-progress-action:hover,
.bp-weekly-progress-action:focus {
    border-color: rgba(18, 184, 215, 0.62);
    background: #e7faff;
    color: var(--bp-weekly-ink);
}

.bp-weekly-progress-note {
    margin: 14px 0 0;
    color: var(--bp-weekly-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.bp-weekly-progress.is-compact {
    padding: 24px;
    border-radius: 18px;
}

.bp-weekly-progress.is-compact h2 {
    font-size: 1.5rem;
}

.bp-weekly-progress.is-compact .bp-weekly-progress-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-weekly-progress.is-compact .bp-weekly-progress-row:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

@media (max-width: 767.98px) {
    .bp-weekly-progress {
        padding: 24px;
        border-radius: 22px;
    }

    .bp-weekly-progress-row {
        grid-template-columns: 1fr;
    }

    .bp-weekly-progress-row .bp-weekly-progress-action {
        grid-column: auto;
        grid-row: auto;
        justify-self: flex-start;
    }

    .bp-weekly-progress-recommended {
        grid-template-columns: 1fr;
    }

    .bp-weekly-progress-recommended .bp-weekly-progress-action {
        grid-column: auto;
        grid-row: auto;
        justify-self: flex-start;
    }

    .bp-weekly-progress-action {
        grid-column: 2 / 3;
        grid-row: 2;
        justify-self: flex-end;
    }

    .bp-weekly-progress.is-compact .bp-weekly-progress-list {
        grid-template-columns: 1fr;
    }

    .bp-weekly-progress.is-compact .bp-weekly-progress-row:last-child:nth-child(odd) {
        grid-column: auto;
    }
}
