.card {
    border: 1px solid rgba(223, 217, 204, 0.95);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.hero.card,
.form-card,
.list-card,
.empty-state,
.filter-bar {
    padding: 1rem;
}

.link-card {
    display: block;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    background: #fff;
    box-shadow: 0 18px 44px rgba(38, 36, 25, 0.11);
    text-decoration: none;
}

.link-card h2,
.progress-card h2,
.log-group h2,
.empty-state h2,
.summary-box h2 {
    margin: 0 0 0.35rem;
    color: var(--accent-strong);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.link-card p,
.progress-card p,
.empty-state p {
    margin: 0.4rem 0 0;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(39, 51, 33, 0.08);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 850;
}

.log-group,
.progress-card {
    margin-bottom: 1rem;
}

.progress-card {
    padding: 1rem;
}

.progress-card.is-inactive {
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.72);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.card-header-row h2 {
    min-width: 0;
}

.progress-bar {
    width: 100%;
    height: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(39, 51, 33, 0.06);
    border-radius: 999px;
    background: var(--surface-strong);
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #506a43);
}

.summary-box {
    padding: 1rem;
    border: 1px solid rgba(39, 51, 33, 0.07);
    border-radius: 1rem;
    background: var(--surface-strong);
}

.summary-box h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.empty-state {
    text-align: center;
}

.empty-state .button {
    margin-top: 0.8rem;
}

@media (min-width: 720px) {
    .hero.card,
    .form-card,
    .list-card,
    .empty-state,
    .filter-bar,
    .progress-card,
    .link-card {
        padding: 1.25rem;
    }
}
