.kcf_frontend_dashboard {
    display: grid;
    gap: 18px;
}

.kcf_frontend_dashboard_summary {
    display: grid;
    grid-template-columns: minmax(320px, 1.55fr) repeat(3, minmax(160px, .7fr));
    gap: 14px;
}

.kcf_frontend_welcome_panel,
.kcf_frontend_stat_panel,
.kcf_frontend_panel {
    border: 1px solid var(--kcf-color-border);
    border-radius: var(--kcf-radius);
    background: #fff;
}

.kcf_frontend_welcome_panel {
    min-height: 112px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.kcf_frontend_welcome_icon,
.kcf_frontend_stat-icon,
.kcf_frontend_stat_icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--kcf-radius);
    color: var(--kcf-color-purple);
    background: var(--kcf-color-purple-soft);
    font-size: 27px;
}

.kcf_frontend_welcome_panel h1 {
    margin: 0 0 5px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}

.kcf_frontend_welcome_panel h1 span {
    color: var(--kcf-color-purple);
}

.kcf_frontend_welcome_panel p {
    max-width: 650px;
    margin: 0;
    color: var(--kcf-color-muted);
}

.kcf_frontend_stat_panel {
    min-height: 112px;
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.kcf_frontend_stat_panel:nth-child(3) .kcf_frontend_stat_icon {
    color: var(--kcf-color-blue);
    background: var(--kcf-color-blue-soft);
}

.kcf_frontend_stat_panel:nth-child(4) .kcf_frontend_stat_icon {
    color: var(--kcf-color-green);
    background: var(--kcf-color-green-soft);
}

.kcf_frontend_stat_panel > div:last-child {
    min-width: 0;
    display: grid;
}

.kcf_frontend_stat_panel span {
    color: var(--kcf-color-muted);
    font-size: 12px;
}

.kcf_frontend_stat_panel strong {
    margin: 1px 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

.kcf_frontend_stat_panel small {
    color: var(--kcf-color-muted);
    font-size: 11px;
}

.kcf_frontend_dashboard_grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 14px;
}

.kcf_frontend_panel {
    overflow: hidden;
}

.kcf_frontend_panel_header {
    min-height: 43px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--kcf-color-border);
}

.kcf_frontend_panel_header h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.kcf_frontend_system_rows {
    padding: 0 16px;
}

.kcf_frontend_system_row {
    min-height: 60px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid var(--kcf-color-border);
}

.kcf_frontend_system_row:last-child {
    border-bottom: 0;
}

.kcf_frontend_system_icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--kcf-radius);
    color: var(--kcf-color-purple);
    background: var(--kcf-color-purple-soft);
}

.kcf_frontend_system_row > div {
    min-width: 0;
    display: grid;
}

.kcf_frontend_system_row strong {
    font-size: 13px;
    font-weight: 600;
}

.kcf_frontend_system_row small {
    color: var(--kcf-color-muted);
    font-size: 11px;
}

.kcf_frontend_quicklinks {
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.kcf_frontend_quicklinks a {
    min-height: 92px;
    padding: 14px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    color: var(--kcf-color-text);
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--kcf-color-border);
    border-radius: var(--kcf-radius);
    background: var(--kcf-color-surface-soft);
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.kcf_frontend_quicklinks a:hover {
    border-color: #cfc1f5;
    background: var(--kcf-color-purple-soft);
    color: #5935a6;
}

.kcf_frontend_quicklinks i {
    font-size: 20px;
    color: var(--kcf-color-purple);
}

.kcf_frontend_quicklinks span {
    font-size: 12px;
    font-weight: 600;
}

.kcf_badge {
    min-height: 25px;
    padding: 3px 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.kcf_badge_success {
    color: #34703d;
    background: var(--kcf-color-green-soft);
}
