
/* Rota Generator image and dashboard refinement patch */

/* Homepage artwork supplied by the site owner is transparent. Keep it visually clean. */
.home-page-public .home-image-card-v4,
.home-page-public figure.home-image-card-v4 {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
}
.home-page-public .home-image-card-v4 img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.home-page-public .home-image-card-v4 figcaption { display: none !important; }

/* Dashboard quick actions: custom PNG artwork must stay inside the icon tile. */
.dashboard-quick-actions-v2 > a {
    grid-template-columns: 46px minmax(0, 1fr) 24px !important;
    overflow: hidden;
}
.dashboard-quick-actions-v2 > a > span:first-child {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}
.dashboard-quick-actions-v2 > a > span:first-child .rg-png-icon {
    width: 27px !important;
    height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
    object-fit: contain !important;
}
.dashboard-quick-actions-v2 .quick-action-arrow {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    justify-self: end;
    color: #6f879d;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
}

/* Participation rows and other step arrows use small controls, not full PNG artwork. */
.setup-step .step-number {
    overflow: hidden;
}
.setup-step .step-number .rg-png-icon {
    width: 21px !important;
    height: 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
}
.setup-step .step-arrow {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}
.setup-step .step-arrow .rg-png-icon {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
}

/* General safeguards for icon tiles used on dashboard cards. */
.metric-icon-v2,
.action-icon,
.attention-icon,
.nav-icon,
.workspace-icon,
.feature-icon-v4 {
    overflow: hidden;
}
.metric-icon-v2 .rg-png-icon { width: 34px !important; height: 34px !important; max-width: 34px !important; max-height: 34px !important; }
.action-icon .rg-png-icon { width: 21px !important; height: 21px !important; max-width: 21px !important; max-height: 21px !important; }
.attention-icon .rg-png-icon { width: 18px !important; height: 18px !important; max-width: 18px !important; max-height: 18px !important; }

/* Find Cover uses the owner's illustration, while Cover Invites keeps a compact menu icon. */
.dashboard-feature-visual-v2 {
    min-height: 0 !important;
    margin-bottom: 20px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 18px;
    overflow: hidden;
}
.dashboard-cover-visual-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: contain;
    object-position: center;
    border: 0;
}

/* Notification control: plain bell when empty, numeric red badge only when unread items exist. */
.notification-bell {
    overflow: visible !important;
}
.notification-bell .rg-png-icon {
    width: 21px !important;
    height: 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
}
.notification-bell strong {
    top: -6px !important;
    right: -6px !important;
    min-width: 19px !important;
    height: 19px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #dc3447 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    font-size: .62rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

@media (max-width: 720px) {
    .dashboard-quick-actions-v2 > a { grid-template-columns: 42px minmax(0, 1fr) 22px !important; }
    .dashboard-quick-actions-v2 > a > span:first-child { width: 42px !important; height: 42px !important; min-width: 42px !important; }
    .dashboard-quick-actions-v2 > a > span:first-child .rg-png-icon { width: 24px !important; height: 24px !important; }
}
