.congress-dashboard-widget {
    grid-column: 1 / -1;
}

.congress-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.congress-dashboard-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgb(76 123 101 / 0.12), rgb(59 130 246 / 0.08));
    border: 1px solid rgb(76 123 101 / 0.2);
}

.congress-dashboard-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgb(76 123 101);
}

.congress-dashboard-greeting {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.congress-dashboard-tagline {
    margin: 0.5rem 0 0;
    max-width: 42rem;
    font-size: 0.9375rem;
    color: rgb(100 116 139);
}

.congress-dashboard-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgb(255 255 255 / 0.85);
    border: 1px solid rgb(148 163 184 / 0.35);
    color: rgb(51 65 85);
}

.dark .congress-dashboard-role-badge {
    background: rgb(30 41 59 / 0.85);
    color: rgb(226 232 240);
}

.congress-dashboard-section-title {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgb(100 116 139);
}

.congress-dashboard-alert {
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(34 197 94 / 0.35);
    background: rgb(240 253 244);
    font-size: 0.875rem;
    color: rgb(21 128 61);
}

.dark .congress-dashboard-alert {
    background: rgb(20 83 45 / 0.25);
    color: rgb(187 247 208);
}

.congress-dashboard-mesas {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .congress-dashboard-mesas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .congress-dashboard-mesas {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.congress-dashboard-mesa {
    padding: 1rem 1.125rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(226 232 240);
    background: rgb(248 250 252);
}

.dark .congress-dashboard-mesa {
    border-color: rgb(51 65 85);
    background: rgb(15 23 42 / 0.5);
}

.congress-dashboard-mesa-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.congress-dashboard-mesa-name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

.congress-dashboard-mesa-phase {
    flex-shrink: 0;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.congress-dashboard-mesa.is-idle .congress-dashboard-mesa-phase {
    background: rgb(226 232 240);
    color: rgb(71 85 105);
}

.congress-dashboard-mesa.is-exposing .congress-dashboard-mesa-phase {
    background: rgb(254 226 226);
    color: rgb(185 28 28);
}

.congress-dashboard-mesa.is-mentoring .congress-dashboard-mesa-phase {
    background: rgb(254 243 199);
    color: rgb(180 83 9);
}

.congress-dashboard-mesa.is-finished .congress-dashboard-mesa-phase {
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.congress-dashboard-mesa-meta,
.congress-dashboard-mesa-theme {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: rgb(100 116 139);
}

.congress-dashboard-mesa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

/* Administradores — columna contraseña de acceso */
.staff-access-password {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    max-width: 15rem;
}

.staff-access-password__value-wrap {
    flex: 1;
    min-width: 0;
    padding: 0.3125rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgb(255 255 255 / 0.1);
    background: rgb(15 23 42 / 0.35);
}

.staff-access-password__value,
.staff-access-password__mask {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.staff-access-password__value {
    margin: 0;
    padding: 0;
    color: rgb(226 232 240);
    background: transparent;
    border: none;
}

.staff-access-password__mask {
    color: rgb(148 163 184);
}

.staff-access-password__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.125rem;
}

.staff-access-password__empty {
    font-size: 0.8125rem;
    font-style: italic;
    color: rgb(148 163 184);
}

html:not(.dark) .staff-access-password__value-wrap {
    border-color: rgb(226 232 240);
    background: rgb(248 250 252);
}

html:not(.dark) .staff-access-password__value {
    color: rgb(30 41 59);
}

html:not(.dark) .staff-access-password__mask {
    color: rgb(100 116 139);
}
