.home-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.home-hero {
    align-items: flex-start;
    background: var(--background-highlight);
    border: 1px solid var(--background-highlight-light);
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.75rem;
}

.home-eyebrow {
    color: var(--link-color);
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.home-hero h1 {
    color: var(--text-background);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.home-hero p {
    color: var(--text-background);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0.75rem 0 0;
    max-width: 760px;
    opacity: 0.78;
}

.home-hero-status {
    align-items: center;
    background: var(--background);
    border: 1px solid var(--background-highlight-light);
    border-radius: 999px;
    color: var(--text-background);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    white-space: nowrap;
}

.home-status-dot {
    background: #16a085;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(22, 160, 133, 0.14);
    height: 0.6rem;
    width: 0.6rem;
}

.home-section-header {
    align-items: baseline;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.home-section-header h2 {
    color: var(--text-background);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.home-section-header span {
    color: var(--text-background);
    font-size: 0.82rem;
    opacity: 0.62;
}

.quick-access-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-access-card {
    align-items: center;
    background: var(--background-highlight);
    border: 1px solid var(--background-highlight-light);
    border-radius: 8px;
    color: var(--text-background);
    cursor: pointer;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 86px;
    padding: 1rem;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    width: 100%;
}

.quick-access-card:hover,
.quick-access-card:focus {
    border-color: var(--link-color);
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.quick-access-icon,
.kpi-icon,
.activity-icon {
    align-items: center;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.quick-access-icon {
    font-size: 1rem;
    height: 2.5rem;
    width: 2.5rem;
}

.quick-access-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.quick-access-content strong {
    color: var(--text-background);
    font-size: 0.95rem;
    line-height: 1.2;
}

.quick-access-content small {
    color: var(--text-background);
    font-size: 0.78rem;
    line-height: 1.35;
    opacity: 0.66;
}

.quick-access-arrow {
    color: var(--text-background);
    font-size: 0.8rem;
    opacity: 0.48;
}

.home-content-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.home-content-grid section {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.kpi-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kpi-card,
.activity-list {
    background: var(--background-highlight);
    border: 1px solid var(--background-highlight-light);
    border-radius: 8px;
}

.kpi-card {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    min-height: 92px;
    padding: 1rem;
}

.kpi-icon {
    font-size: 1rem;
    height: 2.65rem;
    width: 2.65rem;
}

.kpi-card strong {
    color: var(--text-background);
    display: block;
    font-size: 1.75rem;
    line-height: 1;
}

.kpi-card span {
    color: var(--text-background);
    display: block;
    font-size: 0.85rem;
    margin-top: 0.35rem;
    opacity: 0.68;
}

.activity-list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.activity-item {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    min-height: 72px;
    padding: 0.95rem 1rem;
}

.activity-item + .activity-item {
    border-top: 1px solid var(--background-highlight-light);
}

.activity-icon {
    font-size: 0.9rem;
    height: 2.25rem;
    width: 2.25rem;
}

.activity-item strong {
    color: var(--text-background);
    display: block;
    font-size: 0.92rem;
    line-height: 1.25;
}

.activity-item small {
    color: var(--text-background);
    display: block;
    font-size: 0.78rem;
    margin-top: 0.18rem;
    opacity: 0.62;
}

.accent-blue {
    background: #2473a6;
}

.accent-green {
    background: #138f77;
}

.accent-indigo {
    background: #34495e;
}

.accent-orange {
    background: #da8c10;
}

.accent-teal {
    background: #2c8f9e;
}

.accent-violet {
    background: #7f3d9b;
}

.accent-red {
    background: #cf4435;
}

@media (max-width: 1199.98px) {
    .quick-access-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .home-content-grid {
        grid-template-columns: 1fr;
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        flex-direction: column;
        padding: 1.25rem;
    }

    .home-hero h1 {
        font-size: 1.6rem;
    }

    .home-hero-status {
        white-space: normal;
    }

    .kpi-grid,
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
}
